.tc-cover-portfolio { align-items:center; gap:clamp(38px,6vw,105px); padding-block:clamp(48px,6.5vw,112px); }
.tc-cover-portfolio .tc-lead { position:static; align-self:center; padding:0; }
.tc-cover-portfolio .tc-intro { max-width:38ch; color:#5d5144; }
.tc-cover-portfolio .tc-actions { margin-top:28px; }
.tc-arrow-down { display:inline-block; position:relative; width:10px; height:14px; margin-left:4px; }
.tc-arrow-down::before { content:''; position:absolute; width:1px; height:12px; background:currentColor; top:0; left:50%; }
.tc-arrow-down::after { content:''; position:absolute; left:2px; bottom:2px; width:6px; height:6px; border:solid currentColor; border-width:0 1px 1px 0; transform:rotate(45deg); }
.tc-portfolio {
  width:100%; max-width:720px; margin-inline:auto; color:#f3e8d7;
  background:#23241f; border:1px solid #3d3c33; border-radius:13px;
  box-shadow:0 2px 0 #c7bcaa, 0 6px 0 -2px #ebe5da, 0 7px 0 -2px #bcad97, 0 22px 44px -25px #4a3a27a0;
}
.tc-portfolio-cover { margin:0; position:relative; isolation:isolate; overflow:hidden; aspect-ratio:2.38; border-radius:12px 12px 0 0; }
.tc-portfolio-cover picture,.tc-portfolio-cover img { display:block; width:100%; height:100%; }
.tc-portfolio-cover img { object-fit:cover; object-position:center 47%; }
.tc-portfolio-cover::after { content:''; position:absolute; inset:0; background:linear-gradient(0deg,rgba(19,21,17,.92),rgba(19,21,17,.48) 27%,transparent 66%); }
.tc-portfolio-cover figcaption { position:absolute; z-index:1; inset:auto clamp(18px,2.2vw,37px) 17px; display:grid; gap:4px; color:#fff9ed; }
.tc-portfolio-cover figcaption span { color:#f2e8da; font:500 11px/1.5 Inter,Arial,sans-serif; letter-spacing:.045em; }
.tc-portfolio-cover figcaption strong { color:inherit; font:400 clamp(26px,2.5vw,44px)/1.1 Ivar,Georgia,serif; letter-spacing:-.025em; }
.tc-fileload { padding:clamp(18px,2.1vw,32px) clamp(18px,2.2vw,37px) 20px; }
.tc-folio-title { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:4px 18px; }
.tc-folio-title span { font:400 clamp(20px,1.7vw,28px)/1.25 Ivar,Georgia,serif; }
.tc-folio-title small { color:#e4d2b5; font:500 12px/1.5 Inter,Arial,sans-serif; }
.tc-fileload-track { display:grid; grid-template-columns:1fr 4fr 1fr; gap:3px; margin:15px 0 12px; }
.tc-fileload-track i { height:16px; background:linear-gradient(to right,var(--file-ink) 0 calc(100% - 1.6px),transparent calc(100% - 1.6px)); background-size:calc(100% / var(--files)) 100%; --files:12; --file-ink:#a8987c; }
.tc-fileload-track i:nth-child(2) { --files:48; --file-ink:#d9c8a9; }
.tc-fileload-track i:nth-child(3) { --file-ink:#98a990; }
.tc-stage-counts { display:flex; flex-wrap:wrap; gap:6px clamp(11px,1.7vw,28px); padding:0; margin:0; }
.tc-stage-counts div { display:flex; align-items:baseline; gap:5px; }
.tc-stage-counts dt,.tc-stage-counts dd { margin:0; font:400 12px/1.5 Inter,Arial,sans-serif; }
.tc-stage-counts dt { color:#d3cabb; }
.tc-stage-counts dd { color:#f7eddb; font-weight:600; font-variant-numeric:tabular-nums; }
.tc-stage-counts dt::before { content:''; display:inline-block; width:5px; height:5px; margin-right:5px; margin-bottom:1px; border-radius:50%; background:#a8987c; }
.tc-stage-counts div:nth-child(2) dt::before { background:#d9c8a9; }
.tc-stage-counts div:nth-child(3) dt::before { background:#98a990; }
.tc-opening-file { border-top:1px solid #4e4c40; }
.tc-opening-file > summary { cursor:pointer; display:flex; align-items:center; list-style:none; gap:12px; min-height:49px; padding:9px clamp(18px,2.2vw,37px); color:#f1e8d8; font:500 13px/1.5 Inter,Arial,sans-serif; }
.tc-opening-file > summary::-webkit-details-marker { display:none; }
.tc-opening-file > summary time { margin-left:auto; color:#cec3af; font-weight:400; }
.tc-opening-file > summary i { width:11px; height:11px; position:relative; flex:none; }
.tc-opening-file > summary i::before,.tc-opening-file > summary i::after { content:''; position:absolute; inset:5px 0 auto; height:1px; background:currentColor; }
.tc-opening-file > summary i::after { transform:rotate(90deg); }
.tc-opening-file[open] > summary i::after { transform:none; }
.tc-opening-file .tc-mail { width:calc(100% - 24px); max-width:none; border-radius:7px; }
.tc-opening-file .tc-intake-link { display:inline-flex; align-items:center; gap:5px; min-height:44px; margin:5px 16px; color:#f4e3c6; font-size:12px; text-underline-offset:3px; }
.tc-opening-file summary:focus-visible { outline-offset:-4px; outline-color:#f4d99b; }
html:has(.tc-story) { scroll-behavior:auto; }
.tc-story :is(#tc-desk,#tc-operations-title,#tc-accounting,#tc-calendar) { scroll-margin-top:8px; }
@media (min-width:921px) { .tc-cover-portfolio:has(.tc-opening-file[open]) { align-items:start; } .tc-cover-portfolio:has(.tc-opening-file[open]) .tc-lead { position:sticky; align-self:start; top:105px; } }
@media (max-width:920px) { .tc-cover-portfolio { gap:30px; } .tc-cover-portfolio .tc-intro { max-width:50ch; } }
@media (max-width:490px) { .tc-cover-portfolio { padding:35px 0 41px; gap:25px; } .tc-portfolio-cover { aspect-ratio:2.24; } .tc-cover-portfolio .tc-actions { margin-top:18px; } .tc-fileload { padding-block:14px; } .tc-fileload-track { margin:10px 0; } .tc-stage-counts { column-gap:12px; } }
@media (prefers-reduced-motion:no-preference) { .tc-fileload-track { animation:tc-file-arrival .52s cubic-bezier(.22,.6,.3,1) both; } @keyframes tc-file-arrival { from { clip-path:inset(0 100% 0 0); } to { clip-path:inset(0); } } }
