/* Clients page: the roster, then the client log. The roster lists every client in the homepage's bracketed type;
   picking one shows, in the log below, its profile (dossier) with only its client wins, and brings it into view; the
   profile's All clients link shows every client's wins again (clients.js). The picked name keeps its brackets in the
   accent. Without the script every headline shows, and a client's link opens its profile. */

/* Ground: the client log sits on Electric blue (.page-body, data-tone="blue"); the hero above and the closing call to
   action and footer below stay black. Colors in this file come from these tokens: on blue, Chartreuse stays the accent
   and every text color meets WCAG AA. data-ground="blue" tells inner.js to keep the bar, margin rail and menu button
   legible over it. */
.page-body{--ink:var(--white);--ink-body:var(--body);--ink-muted:var(--muted);--ink-faint:#8a8a86;--ink-pending:#70706c;--rule:var(--line);--accent:var(--green);--icon:none;
 background:var(--ground,transparent);color:var(--ink)}
.page-body[data-tone="blue"]{--ground:#1a37d6;--ink:#f7f7f6;--ink-body:#dde1f6;--ink-muted:#c3c9f0;--ink-faint:#a3adea;--ink-pending:#c3c9f0;--rule:#4b61dd;--accent:#b6ee1a}
/* On a colored ground the log starts below its edge rather than against it. */
.page-body:not([data-tone="black"]){padding-top:clamp(96px,12vh,140px)}
.page-body :focus-visible{outline-color:var(--accent)}
/* Fade (data-fade): the ground runs edge to edge, rising out of the black over the end of the intro (--lead,
   its bottom padding) and the top of the log (--rise), and sinking back into the call to action's black over the end
   of the log (its bottom padding) and --sink below it. Eased both ways, so the black lets go slowly and the color
   settles softly, and in reverse on the way out; the log's text sits only where the color is full. Over Blue this is
   the brand's primary gradient, Electric to Black. */
.page-body[data-fade]:not([data-tone="black"]){--lead:clamp(96px,14vh,160px);--rise:clamp(160px,22vh,240px);--sink:clamp(160px,22vh,240px);--fade:calc(var(--lead) + var(--rise));--fall:calc(clamp(120px,16vh,200px) + var(--sink));position:relative;isolation:isolate;background:none;padding-block:var(--rise) var(--sink)}
.page-body[data-fade]:not([data-tone="black"])::before{content:"";position:absolute;z-index:-1;inset:calc(-1 * var(--lead)) 0 0;
 background:linear-gradient(transparent,
  color-mix(in srgb,var(--ground) 6%,transparent) calc(var(--fade) * .2),color-mix(in srgb,var(--ground) 25%,transparent) calc(var(--fade) * .4),
  color-mix(in srgb,var(--ground) 60%,transparent) calc(var(--fade) * .6),color-mix(in srgb,var(--ground) 88%,transparent) calc(var(--fade) * .8),
  var(--ground) var(--fade),var(--ground) calc(100% - var(--fall)),
  color-mix(in srgb,var(--ground) 88%,var(--deep)) calc(100% - var(--fall) * .8),color-mix(in srgb,var(--ground) 60%,var(--deep)) calc(100% - var(--fall) * .6),
  color-mix(in srgb,var(--ground) 25%,var(--deep)) calc(100% - var(--fall) * .4),color-mix(in srgb,var(--ground) 6%,var(--deep)) calc(100% - var(--fall) * .2),
  var(--deep) 100%)}
/* Where the log ends on the page's black rather than fading (Black, or a ground framed or full width), the closing
   section's deeper black eases in over its top third instead of starting at a line. */
.page-body:is([data-tone="black"],:not([data-fade])) + .dark-zone .contact-horizon{background:linear-gradient(var(--bg),var(--deep) 33%)}

/* Layout */
.client-log{padding-bottom:clamp(120px,16vh,200px)}
.client-log [hidden]{display:none!important}
.log-layout{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:16px;align-items:start}
.log-content{grid-column:1/-1;min-width:0}


/* Dossier: shown above its client's headlines */
.dossier{display:none}
.dossier.is-shown,.dossier:target{display:block}
/* With the script, its pick alone decides (a link opened earlier can leave another dossier as the :target). */
.client-log.is-collapsible .dossier:not(.is-shown){display:none}
.dossier-back{display:inline-block;font:500 14px/1.5 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--ink-muted)}
@media(hover:hover){.dossier-back:hover{color:var(--ink)}}
.dossier-name{margin-top:24px;font:400 clamp(44px,4.4vw,64px)/1 var(--sans);letter-spacing:-.035em;text-wrap:balance}
.dossier-sector{margin-top:16px;font:500 14px/1.5 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--ink-body)}
.dossier-about{max-width:640px;margin-top:24px;font-size:20px;line-height:1.45;color:var(--ink-body)}
.is-pending{color:var(--ink-pending)}
.dossier-site{display:inline-block;margin-top:24px;font:500 14px/1.5 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--ink)}
@media(hover:hover){a.dossier-site:hover{color:var(--accent)}}
.dossier.is-shown{animation:dossier-in .35s cubic-bezier(.22,1,.36,1)}
@keyframes dossier-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* Client wins. All clients: the label, then every headline with its client's tag. One client: its profile, then the
   same label, and no client tags, since every headline is theirs. */
.client-log.is-filtered .log-head{display:none}
.log-subhead{display:none;margin-top:clamp(56px,8vh,88px);color:var(--ink-muted)}
.client-log.is-filtered .log-subhead{display:block}
.press-list{margin:16px 0 0;padding:0;list-style:none;border-top:1px solid var(--rule)}
.press-item{position:relative;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,6fr) minmax(0,2fr);column-gap:24px;padding:20px 0 24px}
.press-item+.press-item{border-top:1px solid var(--rule)}
.press-meta{grid-column:1;grid-row:1;display:flex;flex-direction:column;margin:0;font:500 14px/1.5 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--ink-muted)}
.press-meta time{color:var(--ink-body)}
.press-headline{grid-column:2;grid-row:1;margin:0;font:400 24px/1.25 var(--sans);letter-spacing:-.02em}
/* The headline's button covers the whole row, so the row is one large target; the links inside sit above it. */
.press-toggle{padding:0;border:0;background:none;color:var(--ink);font:inherit;letter-spacing:inherit;text-align:left;cursor:pointer}
.press-toggle::after{content:"";position:absolute;inset:0}
.press-side{grid-column:3;grid-row:1;display:flex;justify-content:flex-end;align-items:flex-start;gap:16px}
.press-client{position:relative;z-index:1;font:500 14px/1.5 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--ink-body)}
.press-client::before{content:"[";color:var(--ink-muted)}
.press-client::after{content:"]";color:var(--ink-muted)}
@media(hover:hover){.press-client:hover{color:var(--ink)}}
.client-log.is-filtered .press-client{display:none}
.press-plus{flex:none;margin-top:3px;opacity:.75;filter:var(--icon);transition:transform .25s,opacity .25s}
@media(hover:hover){.press-item:hover .press-plus{opacity:1}}
.press-item.is-open .press-plus{transform:rotate(45deg)}
.press-detail{grid-column:2;grid-row:2;display:grid;grid-template-rows:1fr}
.press-detail>div{overflow:hidden;min-height:0}
.press-detail p{max-width:640px;margin:14px 0 0;font-size:16px;line-height:1.5;color:var(--ink-body)}
.press-source{position:relative;z-index:1;display:inline-block;margin-top:14px;font:500 14px/1.5 var(--mono);letter-spacing:.05em;text-transform:uppercase;color:var(--ink)}
@media(hover:hover){.press-source:hover{color:var(--accent)}}
/* The summaries close at once when the script loads (.is-collapsible) and animate only after that (.is-animated), so the
   page doesn't shrink as it opens. */
.client-log.is-collapsible .press-detail{grid-template-rows:0fr;visibility:hidden}
.client-log.is-collapsible .press-item.is-open .press-detail{grid-template-rows:1fr;visibility:visible}
.client-log.is-animated .press-detail{transition:grid-template-rows .35s cubic-bezier(.22,1,.36,1),visibility 0s .35s}
.client-log.is-animated .press-item.is-open .press-detail{transition:grid-template-rows .35s cubic-bezier(.22,1,.36,1)}
.client-log.is-collapsible .press-item:not(.is-open) .press-plus{transform:none}
.client-log:not(.is-collapsible) .press-plus{display:none}
.press-empty{display:none;margin-top:16px;padding-top:20px;border-top:1px solid var(--rule);font-size:18px;color:var(--ink-pending)}
.client-log.is-empty .press-list{display:none}
.client-log.is-empty .press-empty{display:block}


@media(max-width:1100px) and (min-width:801px) and (min-height:501px){
 .press-item{grid-template-columns:minmax(0,2.4fr) minmax(0,6fr) minmax(0,2fr)}
 .press-headline{font-size:20px}
}
@media(max-width:800px),(max-height:500px){
 .log-layout{display:block}
 .press-item{grid-template-columns:minmax(0,1fr) auto;column-gap:16px;row-gap:8px}
 .press-meta{flex-direction:row;flex-wrap:wrap;gap:0 12px}
 .press-side{grid-column:2}
 .press-headline{grid-column:1/-1;grid-row:2;font-size:20px}
 .press-detail{grid-column:1/-1;grid-row:3}
 .dossier-about{font-size:18px}
 .page-body:not([data-tone="black"]){padding-top:80px}
 .page-body[data-fade]:not([data-tone="black"]){--lead:80px;--rise:140px;--sink:140px}
}
@media(prefers-reduced-motion:reduce){.client-log.is-animated .press-detail,.client-log.is-animated .press-item.is-open .press-detail{transition:none}.dossier.is-shown{animation:none}}

/* Roster: every client in the homepage's bracketed type, the full list behind its "Trusted by", opening the page under
   the masthead. The name pointed at (or focused) comes forward as the rest step back and its brackets take the accent;
   the readout under the list types its win, or its sector. Names with a profile are links that show it in the client
   log below (clients.js); the picked one keeps its brackets in the accent. */
.roster{padding:clamp(120px,18vh,200px) 0 clamp(96px,13vh,160px)}
.roster .client-names{margin-top:24px;font-size:clamp(32px,3.4vw,48px);color:var(--white)}
.roster .client-name{color:inherit;text-decoration:none;transition:color .25s}
.roster .client-bracket{transition:color .25s}
.roster-names:has(.client-name:focus-visible) .client-name{color:#5a5a56}@media(hover:hover){.roster-names:has(.client-name:hover) .client-name{color:#5a5a56}}
.roster-names .client-name:is(:focus-visible){color:var(--white);outline:none}@media(hover:hover){.roster-names .client-name:is(:hover){color:var(--white);outline:none}}
.roster .client-name:is(:focus-visible,[aria-current]) .client-bracket{color:var(--green)}@media(hover:hover){.roster .client-name:is(:hover) .client-bracket{color:var(--green)}}
.roster-readout{min-height:21px;margin-top:28px}
.roster-readout.is-typing{animation:roster-type .4s steps(24,end)}
@keyframes roster-type{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@media(max-width:800px),(max-height:500px){.roster{padding-top:96px}.roster .client-names{font-size:clamp(28px,7vw,40px)}}

@media(prefers-reduced-motion:reduce){.roster-readout.is-typing{animation:none}.roster .client-name,.roster .client-bracket{transition:none}}

/* Mobile pass (2026-11-11). A client's win heads its profile (clients.js), set like the roster's readout, in the
   profile's ink. */
.dossier-win{min-height:0;margin-top:16px;font-size:20px;font-weight:700;color:var(--ink);text-shadow:none}
/* Touch screens: nothing hovers to show which names open a profile, so the ones that don't sit back in grey. The lines
   open up, and every name and client-win tag gets a 44px tap area. */
@media(pointer:coarse){
 .roster .client-names{line-height:1.6}  /* 45px lines: each name's own 44px tap row, no overlap */
 .roster-names span.client-name{color:#8a8a86}
 .press-client{padding-block:11px;margin-block:-11px}
}

/* The press ticker (style.css), also here: under the wordmark, above the Client index, which moves up to make room. */
.ticker--page{margin:clamp(56px,9vh,96px) 0 0}
.ticker--page+.roster{padding-top:clamp(72px,11vh,120px)}
@media(max-width:800px),(max-height:500px){.ticker--page{margin-top:48px}.ticker--page+.roster{padding-top:64px}}
