/* ==========================================================================
   Components

   Every measurement here is taken from the approved homepage design. Where a
   component is shared across pages, its values still come from that design so
   the whole site holds one rhythm. Do not introduce a local number.
   ========================================================================== */

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.hdr{
  position:sticky;top:0;z-index:100;
  background:rgba(3,7,18,.92);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--rule-on-dark);
  transition:background var(--dur),border-color var(--dur),box-shadow var(--dur);
}
.hdr.is-light{background:rgba(255,255,255,.95);border-bottom-color:var(--rule);}
/* site.js toggles is-scrolled past 12px. The header is translucent and blurred,
   so it needs a shadow once content is passing underneath it. */
.hdr.is-scrolled{box-shadow:0 14px 32px -22px rgba(3,7,18,.55);}
.hdr-in{
  max-width:calc(var(--maxw) + var(--gut) * 2);margin-inline:auto;padding:0 var(--gut);
  display:flex;align-items:center;justify-content:space-between;gap:2rem;min-height:76px;
}
.hdr-brand{display:flex;align-items:center;font-size:1.25rem;}
.hdr-brand:focus-visible{outline-offset:6px;}

.nav{display:flex;align-items:center;gap:1.9rem;}
.nav-item{position:relative;}
.nav-link{
  display:inline-flex;align-items:center;gap:.38rem;
  font-size:var(--fs-card);font-weight:var(--fw-body);letter-spacing:0;
  color:rgba(255,255,255,.86);padding:.5rem 0;
  transition:color var(--dur);
}
.nav-link:hover{color:#fff;}
.hdr.is-light .nav-link{color:var(--tone-muted);}
.hdr.is-light .nav-link:hover{color:var(--tone-strong);}
.nav-link[aria-current="page"]{color:#fff;}
.hdr.is-light .nav-link[aria-current="page"]{color:var(--blue);}
.nav-link .caret{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform var(--dur);}
.nav-item[data-open="true"] .nav-link .caret{transform:rotate(-135deg) translateY(-2px);}

.mega{
  --mega-gap:.9rem;
  position:absolute;top:calc(100% + var(--mega-gap));left:0;width:min(600px,84vw);
  background:#fff;border:1px solid var(--rule);border-radius:var(--radius);
  box-shadow:0 20px 48px -24px rgba(3,7,18,.35);
  padding:10px;display:grid;gap:2px;
}
/* Transparent bridge across the gap between the trigger and the panel. It lives on the
   panel, so it only exists while the panel is open, and being a descendant of .nav-item it
   keeps :hover true (no-JS path) and suppresses mouseleave (JS path) while crossing.
   position:absolute is required: .mega is a grid container, a static pseudo-element would
   become a grid item. top/height carry -1px/+1px because an absolutely positioned child is
   offset from .mega's padding box, which sits 1px inside its 1px var(--rule) border. */
.mega::before{
  content:"";position:absolute;left:0;right:0;
  top:calc(var(--mega-gap) * -1 - 1px);
  height:calc(var(--mega-gap) + 1px);
}
.mega[hidden]{display:none;}
/* No-JavaScript fallback for pointer devices: open on hover/focus. */
@media (min-width:1001px) and (hover:hover){
  .nav-item:hover .mega[hidden],
  .nav-item:focus-within .mega[hidden]{display:grid;}
}
.mega.cols-2{grid-template-columns:1fr 1fr;}
.mega-link{display:block;padding:15px 16px;border-radius:var(--radius);transition:background var(--dur);}
.mega-link:hover{background:var(--light);}
.mega-link .t{display:block;font-size:var(--fs-xs);font-weight:var(--fw-semibold);color:var(--tone-strong);}
.mega-link .d{display:block;font-size:var(--fs-note);color:var(--tone-muted);line-height:1.5;margin-top:4px;}
.mega-foot{grid-column:1/-1;margin-top:2px;padding:12px 16px 6px;border-top:1px solid var(--rule);}

.hdr-actions{display:flex;align-items:center;gap:1.2rem;}
.burger{
  display:none;background:transparent;border:1px solid rgba(255,255,255,.35);color:#fff;
  border-radius:var(--radius);padding:.5rem .6rem;cursor:pointer;line-height:0;
}
.hdr.is-light .burger{border-color:var(--rule);color:var(--tone-strong);}
.burger span{display:block;width:18px;height:1.5px;background:currentColor;}
.burger span+span{margin-top:4px;}

.mnav{display:none;}
.mnav[data-open="true"]{
  display:block;background:#fff;border-top:1px solid var(--rule);
  max-height:calc(100vh - 4rem);overflow-y:auto;
}
.mnav-in{padding:1rem var(--gut) 2rem;}
.mnav-group{border-bottom:1px solid var(--rule);}
.mnav-group>summary{
  cursor:pointer;list-style:none;padding:1rem 0;font-size:var(--fs-sm);font-weight:var(--fw-semibold);
  color:var(--tone-strong);display:flex;justify-content:space-between;align-items:center;
}
.mnav-group>summary::-webkit-details-marker{display:none;}
.mnav-group>summary::after{content:"";width:8px;height:8px;border-right:1.5px solid var(--tone-faint);border-bottom:1.5px solid var(--tone-faint);transform:rotate(45deg);}
.mnav-group[open]>summary::after{transform:rotate(-135deg);}
.mnav-sub{padding:.15rem 0 1rem;}
.mnav-sub a{display:block;font-size:var(--fs-sm);color:var(--tone-muted);padding:.55rem 0;}
.mnav-sub a:hover{color:var(--blue);}
.mnav-solo{display:block;padding:1rem 0;font-size:var(--fs-sm);font-weight:var(--fw-semibold);color:var(--tone-strong);border-bottom:1px solid var(--rule);}
.mnav-cta{margin-top:1.5rem;width:100%;}

@media(max-width:1000px){
  .nav{display:none;}
  .burger{display:block;}
  .hdr-actions .btn{display:none;}
}

/* ==========================================================================
   Hero
   --------------------------------------------------------------------------
   Two columns: the statement on the left, four fixed facts on the right. The
   side panel is vertically centred against the statement block, and stacks
   beneath it under 920px.
   ========================================================================== */
.hero{
  position:relative;background:var(--surface-dark);color:#fff;overflow:hidden;
  display:flex;align-items:center;
  min-height:min(88vh,860px);
  padding-block:var(--sec-hero-top) var(--sec-hero-bot);
}
.hero-img{position:absolute;inset:0;z-index:0;}
.hero-img img{width:100%;height:100%;object-fit:cover;opacity:.42;}
.hero-img::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(3,7,18,.72) 0%,rgba(3,7,18,.86) 55%,rgba(3,7,18,.96) 100%);
}
.hero>.wrap{position:relative;z-index:1;width:100%;}
.hero-in{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.72fr);gap:clamp(2.5rem,6vw,5.5rem);align-items:center;}
.hero h1{font-size:var(--fs-display);line-height:var(--lh-tight);letter-spacing:-.034em;color:#fff;max-width:19ch;}
.hero .lede{max-width:54ch;margin-top:1.9rem;color:var(--tone-on-dark-muted);}
.hero-cta{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:2.6rem;}
.hero-note{margin-top:1rem;font-size:var(--fs-xs);color:var(--tone-on-dark-faint);}

.hero-side{border-left:1px solid var(--rule-i);padding-left:clamp(1.5rem,3vw,2.5rem);}
.hero-side dl{display:grid;gap:1.75rem;}
/* dt carries the figure, dd the description beneath it. */
.hero-side dt{font-family:var(--font-ui);font-size:27px;font-weight:var(--fw-semibold);letter-spacing:-.02em;color:#fff;line-height:1.7;}
.hero-side dd{font-size:13px;line-height:1.55;color:var(--tone-on-dark-muted);margin-top:4px;}

/* ==========================================================================
   Page hero
   ========================================================================== */
.page-hero{
  background:var(--surface-dark);color:#fff;position:relative;overflow:hidden;
  padding-block:var(--sec-page-top) var(--sec-page-bot);
}
.page-hero .grid-bg{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:56px 56px;pointer-events:none;}
.page-hero-in{position:relative;z-index:1;max-width:54rem;}
.page-hero h1{color:#fff;max-width:24ch;}
.page-hero .lede{margin-top:1.1rem;max-width:58ch;}
.page-hero--img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.3;}
.page-hero--img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,7,18,.8),rgba(3,7,18,.94));}
.page-hero--img .page-hero-in{position:relative;z-index:2;}

.breadcrumbs{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;font-size:var(--fs-xs);color:var(--tone-on-dark-faint);margin-bottom:1.4rem;position:relative;z-index:2;}
.breadcrumbs a{color:var(--tone-on-dark-faint);}
.breadcrumbs a:hover{color:#fff;}
.breadcrumbs li{margin:0;}
.breadcrumbs ul{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;}
.breadcrumbs li+li::before{content:"/";margin-right:.5rem;opacity:.5;}

/* ==========================================================================
   Section head
   --------------------------------------------------------------------------
   .sec-head__lead  eyebrow + h2, sharing one left edge (see sec-head.njk)
   .sec-head__body  supporting copy, right column of a split head
   The body copy is scoped to its wrapper: as a bare `.sec-head p` rule it
   also matched the eyebrow sibling, blowing the label up to the lede size
   and greying it, because a class+element selector outweighs a lone class.
   ========================================================================== */
.sec-head{margin-bottom:var(--head-gap);}
.sec-head__lead h2{max-width:19ch;font-size:var(--fs-h2-ed);}
.sec-head__body p{max-width:52ch;color:var(--tone-muted);font-size:var(--fs-sec-body);line-height:1.65;}
.sec-head__body p+p{margin-top:1.1rem;}
.bg-dark .sec-head__body p,.bg-navy .sec-head__body p{color:var(--tone-on-dark-muted);}
.sec-head--split{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(1.5rem,4vw,4rem);align-items:end;
}
.sec-head--split .sec-head__body p{margin-top:0;}
.sec-head--wide .sec-head__lead h2{max-width:26ch;}
/* Section-level headings are all editorial (Source Serif 4), set here once
   instead of as a per-head `ed` opt-in. The previous build alternated Inter
   and serif between section heads - and 43.2px against 47.36px - which read
   as a mistake rather than a system, because it was one. Sizes stay
   contextual (band and form heads are legitimately smaller); the family does
   not. Card, step and list headings stay Inter: only section headings are
   editorial. */
.sec-head__lead h2,.media .body h2,.cta h2,.newsletter h2,.contact-side h2,
.careers-in h2,.prose h2{
  font-family:var(--font-editorial);font-weight:var(--fw-semibold);
  letter-spacing:-.015em;line-height:1.14;
}

/* ==========================================================================
   Stat rail
   ========================================================================== */
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--rule-on-dark);border:1px solid var(--rule-on-dark);}
/* Scoped to the rail wrapper. A bare `.stat` also matches the sector card's stat
   line, which inherited the rail's padding and a light-blue fill the approved
   design never had: the card stat is a hairline rule and ink only. */
.stats .stat{background:var(--surface-dark);padding:clamp(1.25rem,2.4vw,1.9rem);}
.stats .stat .v{font-size:clamp(1.5rem,2.6vw,2.1rem);font-weight:var(--fw-semibold);color:#fff;letter-spacing:-.03em;line-height:1;}
.stats .stat .l{font-size:var(--fs-xs);color:var(--tone-on-dark-faint);margin-top:.6rem;line-height:1.5;}
.bg-alt .stats,.sec:not(.bg-dark) .stats{background:var(--rule);border-color:var(--rule);}
.bg-alt .stats .stat,.sec:not(.bg-dark) .stats .stat{background:var(--surface-alt);}
.bg-alt .stats .stat .v,.sec:not(.bg-dark) .stats .stat .v{color:var(--tone-strong);}
.bg-alt .stats .stat .l,.sec:not(.bg-dark) .stats .stat .l{color:var(--tone-muted);}
/* The rail never collapsed, so on a phone it stayed four columns of ~87px and the
   33.6px figures inside them pushed the document 9px wider than the viewport.
   The live industry pages overflowed at 390px because of this. `.facts` already
   collapsed at these two widths; `.stats` did not. Same breakpoints as `.facts`. */
@media(max-width:900px){.stats{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:520px){.stats{grid-template-columns:minmax(0,1fr);}}

/* ==========================================================================
   Capability card
   ========================================================================== */
.card-service{
  display:flex;flex-direction:column;height:100%;background:#fff;
  border:1px solid var(--rule);border-radius:var(--radius);overflow:hidden;
  transition:border-color var(--dur),box-shadow var(--dur),transform var(--dur);
}
.card-service:hover{border-color:#c9cede;box-shadow:var(--shadow-card);transform:translateY(-2px);}
.card-service .thumb{position:relative;aspect-ratio:3/2;overflow:hidden;background:var(--light);}
.card-service .thumb img{width:100%;height:100%;object-fit:cover;filter:saturate(.72) contrast(1.02);transition:transform .5s ease;}
.card-service:hover .thumb img{transform:scale(1.03);}
.card-service .body{padding:clamp(1.35rem,2vw,1.8rem);display:flex;flex-direction:column;flex:1;}
.card-service .num{
  display:flex;align-items:center;gap:.7rem;font-family:var(--font-mono);
  font-size:var(--fs-meta);font-weight:var(--fw-medium);
  letter-spacing:.14em;text-transform:uppercase;color:var(--tone-faint);
}
.card-service .num::after{content:"";flex:1;height:1px;background:var(--rule);}
.card-service h3{margin-top:.9rem;font-size:var(--fs-h3-card);letter-spacing:-.02em;}
.card-service p:not(:where(.meta)):not(:where(.eyebrow)){margin-top:.8rem;font-size:var(--fs-card);line-height:1.7;color:var(--tone-muted);}
.card-service ul{margin-top:1.1rem;padding-left:0;list-style:none;}
.card-service ul li{position:relative;padding-left:17px;font-size:var(--fs-li);color:var(--tone-muted);margin-top:.5rem;line-height:1.6;}
.card-service ul li::before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;background:var(--blue);}
.card-service .foot{margin-top:auto;padding-top:1.5rem;}
.card-service--dark{background:var(--surface-dark);border-color:var(--surface-dark);color:var(--tone-on-dark-muted);}
.card-service--dark h3{color:#fff;}
.card-service--dark p:not(:where(.meta)):not(:where(.eyebrow)),.card-service--dark ul li{color:var(--tone-on-dark-muted);}
.card-service--dark .num{color:var(--tone-on-dark-faint);}
.card-service--dark .num::after{background:var(--rule-on-dark);}
.card-service--dark ul li::before{background:var(--accent);}
.card-service--dark .tlink{color:#fff;}

/* ==========================================================================
   Industry card
   Rebuilt to the approved design: a slim 5:2 duotone banner (the gradient is
   what makes unrelated stock read as one commissioned set), the sector number
   inline with the title, the "brought in for" line with its bold clause in
   ink, an inline stat and short service chips.

   Chip labels are deliberately SHORT service names. They previously carried
   full capability phrases ("Migration with audit trails", 198px wide), which
   in a 313px card put every chip on its own row and made each card 640px tall
   with 124px of stacked chips. Detail belongs on the sector page, not here.
   ========================================================================== */
.card-industry{
  display:flex;flex-direction:column;background:#fff;border:1px solid var(--rule);
  overflow:hidden;height:100%;
  transition:border-color var(--dur),box-shadow var(--dur),transform var(--dur);
}
.card-industry:hover{border-color:#c9cede;box-shadow:var(--shadow-card);transform:translateY(-3px);}
.card-industry .banner{position:relative;aspect-ratio:5/2;overflow:hidden;background:#0A0F1E;}
.card-industry .banner img{width:100%;height:100%;object-fit:cover;filter:grayscale(.45) saturate(.5) contrast(1.06) brightness(.94);transition:transform .6s cubic-bezier(.2,.7,.3,1);}
.card-industry .banner::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,rgba(0,17,77,.78),rgba(0,17,77,.22));}
.card-industry:hover .banner img{transform:scale(1.05);}
.card-industry .body{padding:clamp(1.35rem,2vw,1.7rem);display:flex;flex-direction:column;flex:1;}
.card-industry .head{display:flex;align-items:baseline;gap:.7rem;}
.card-industry .num{font-family:var(--font-mono);font-size:var(--fs-meta);font-weight:var(--fw-medium);letter-spacing:.13em;color:var(--blue);}
.card-industry h3{font-size:1.05rem;letter-spacing:-.015em;}
.card-industry h3 a{color:inherit;}
.card-industry h3 a:hover{color:var(--blue);}
.card-industry .for{margin-top:.7rem;font-size:var(--fs-sm);color:var(--tone-muted);line-height:1.6;}
.card-industry .for b{color:var(--tone-strong);font-weight:var(--fw-medium);}
/* One treatment, one size, stacked.
   The approved design used this slot for short figures ("2-4 wks", "100%"),
   which read as a value beside its caption. The sector data carries phrases
   ("Controls first", "Ship from week one"), so at the design's 1.3rem the value
   became a competing headline: 20.8px semibold against a 12px caption wrapping
   to three lines, all on one baseline. Manu: "2 different font sizes in 1 row
   looks very bad."
   Resolved by giving the value the site's existing label treatment (mono, blue,
   letterspaced - the same language as the card's own `num`) and setting both
   lines at one size. Hierarchy now comes from family, weight and colour rather
   than from a 1.74x size jump. */
.card-industry .stat{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--rule);}
.card-industry .stat .v{font-family:var(--font-mono);font-size:var(--fs-meta-xs);font-weight:var(--fw-medium);letter-spacing:.13em;text-transform:uppercase;color:var(--blue);line-height:1.4;}
.card-industry .stat .l{margin-top:.5rem;font-size:var(--fs-sm);color:var(--tone-muted);line-height:1.55;}
.chips{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:1.1rem;}
.chip{
  font-family:var(--font-mono);font-size:var(--fs-chip);font-weight:var(--fw-medium);letter-spacing:.1em;
  text-transform:uppercase;color:var(--tone-muted);
  border:1px solid var(--rule);padding:4px 8px;
}

/* ==========================================================================
   Article and case cards
   ========================================================================== */
.card-article{display:flex;flex-direction:column;height:100%;border-top:2px solid var(--blue);padding-top:1.35rem;}
.card-article .thumb{aspect-ratio:16/9;overflow:hidden;background:var(--light);margin-bottom:1.15rem;}
.card-article .thumb img{width:100%;height:100%;object-fit:cover;filter:saturate(.7);transition:transform .5s ease;}
.card-article:hover .thumb img{transform:scale(1.03);}
.card-article .kicker,.featured .kicker{font-family:var(--font-mono);font-size:var(--fs-meta-xs);font-weight:var(--fw-medium);letter-spacing:.12em;text-transform:uppercase;color:var(--blue);}
.card-article h3{margin-top:.6rem;font-family:var(--font-editorial);font-size:1.06rem;font-weight:var(--fw-semibold);letter-spacing:-.01em;line-height:1.35;}
.card-article:hover h3{color:var(--blue);}
.card-article p:not(:where(.meta)):not(:where(.eyebrow)){margin-top:.6rem;font-size:var(--fs-card);color:var(--tone-muted);line-height:1.7;}
.card-article .foot{margin-top:auto;padding-top:1rem;font-family:var(--font-mono);font-size:var(--fs-note);color:var(--tone-faint);}
.bg-dark .card-article .kicker,.bg-dark .featured .kicker{color:var(--accent);}
.bg-dark .card-article h3{color:#fff;}
.bg-dark .card-article p:not(:where(.meta)):not(:where(.eyebrow)){color:var(--tone-on-dark-muted);}
.bg-dark .card-article .foot{color:var(--tone-on-dark-faint);}
.bg-dark .card-article{border-top-color:var(--accent);}

.card-case{
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  border:1px solid var(--rule);border-radius:var(--radius);overflow:hidden;background:#fff;
  transition:border-color var(--dur),box-shadow var(--dur);
}
.card-case:hover{border-color:#c9cede;box-shadow:var(--shadow-card);}
.card-case .thumb{position:relative;min-height:15rem;background:var(--navy);overflow:hidden;}
.card-case .thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.66);}
.card-case .body{padding:clamp(1.35rem,2.4vw,2.1rem);display:flex;flex-direction:column;}
.card-case h3{font-size:var(--fs-h3-case);line-height:1.24;max-width:26ch;}
.card-case .lede{margin-top:1.1rem;font-size:var(--fs-case-body);line-height:1.7;max-width:52ch;}
.case-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.4rem;padding-top:1.2rem;border-top:1px solid var(--rule);}
.case-metrics .m .v{font-size:1.35rem;font-weight:var(--fw-semibold);color:var(--tone-strong);letter-spacing:-.03em;line-height:1;}
.case-metrics .m .l{font-size:var(--fs-note);color:var(--tone-muted);margin-top:.4rem;line-height:1.45;}
.card-case .foot{margin-top:auto;padding-top:1.5rem;}

/* ==========================================================================
   Client logo band
   --------------------------------------------------------------------------
   Label in a left column, logos to its right, rather than the label stacked
   above the row.
   ========================================================================== */
.trust-in{display:grid;grid-template-columns:auto 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:center;}
.trust-hd{
  font-family:var(--font-mono);font-size:var(--fs-meta);font-weight:var(--fw-medium);
  letter-spacing:.14em;text-transform:uppercase;color:var(--tone-faint);white-space:nowrap;
}
/* The label takes an on-dark tone where the band runs dark. The marks carry
   their tone in the files themselves (see scripts/build-logos.py), so nothing
   here filters or dims them. */
.bg-dark .trust-hd,.bg-navy .trust-hd,.logo-wall--dark .trust-hd{color:var(--tone-on-dark-faint);}
.logo-row{display:flex;flex-wrap:wrap;align-items:center;gap:clamp(1.75rem,3.6vw,3.2rem);}
.logo-row img{max-height:27px;width:auto;object-fit:contain;}
@media(max-width:920px){
  .trust-in{grid-template-columns:minmax(0,1fr);gap:1.75rem;}
  .trust-hd{white-space:normal;}
}

/* ==========================================================================
   Prose
   ========================================================================== */
.prose{max-width:var(--maxw-prose);}
.prose>*+*{margin-top:1.15rem;}
.prose h2{margin-top:2.75rem;font-size:var(--fs-h2);}
.prose h2:first-child{margin-top:0;}
.prose h3{margin-top:2rem;}
.prose p,.prose li{font-size:var(--fs-body);line-height:1.8;color:var(--tone-body);}
.prose ul,.prose ol{margin-top:1rem;padding-left:1.25rem;}
.prose li{margin-top:.6rem;}
.prose blockquote{
  margin-top:1.75rem;padding:1.25rem 1.5rem;border-left:2px solid var(--blue);
  background:var(--surface-alt);font-family:var(--font-editorial);
  font-size:1.15rem;line-height:1.55;color:var(--tone-strong);
}
.prose blockquote p{font-size:var(--fs-body);color:inherit;}
.prose figure{margin-top:2rem;}
.prose figure img{width:100%;border-radius:var(--radius);}
.prose figcaption,.prose .figcaption{margin-top:.6rem;font-size:var(--fs-xs);color:var(--tone-faint);}
.prose .lead{font-size:var(--fs-lede);color:var(--tone-strong);line-height:1.7;}
.prose hr{margin-block:2.5rem;}

.prose-wrap{display:grid;grid-template-columns:minmax(0,1fr) 15rem;gap:clamp(2rem,5vw,4.5rem);align-items:start;}
.prose-aside{position:sticky;top:6rem;border-top:2px solid var(--blue);padding-top:1.25rem;}
.prose-aside .hd{margin-bottom:.9rem;}
.prose-aside ul{list-style:none;padding:0;}
.prose-aside li{margin-top:.7rem;}
.prose-aside a{font-size:var(--fs-sm);color:var(--tone-muted);}
.prose-aside a:hover{color:var(--blue);}
@media(max-width:900px){
  .prose-wrap{grid-template-columns:minmax(0,1fr);}
  .prose-aside{position:static;}
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta{background:var(--blue);color:#fff;position:relative;overflow:hidden;}
.cta-in{position:relative;z-index:1;max-width:44rem;}
.cta h2{color:#fff;font-size:var(--fs-h2);}
/* Body copy is a class, not `.cta p`: as a descendant element rule it also
   captured the eyebrow and the fine print, resizing both to the lede. */
.cta .eyebrow{color:rgba(255,255,255,.87);}
.cta-body{margin-top:1.1rem;color:rgba(255,255,255,.9);font-size:var(--fs-lede);line-height:var(--lh-lede);}
.cta .btn-row{margin-top:2rem;}
.cta .cta-alt{margin-top:1.1rem;font-size:var(--fs-xs);color:rgba(255,255,255,.82);}
.cta-alt a{color:#fff;text-decoration:underline;text-underline-offset:2px;}

/* ==========================================================================
   Footer
   --------------------------------------------------------------------------
   Brand column plus four link columns, with the brand column taking the wider
   share. Vertical padding on the links keeps the touch targets usable.
   ========================================================================== */
.ftr{background:var(--surface-dark);color:var(--tone-on-dark-faint);padding-block:var(--ftr-top) var(--ftr-bot);}
.ftr-top{
  display:grid;grid-template-columns:minmax(0,1.4fr) repeat(4,minmax(0,1fr));
  gap:clamp(1.5rem,3vw,2.75rem);
  padding-bottom:clamp(2.75rem,5vw,3.75rem);
}
.ftr-desc{margin-top:1.35rem;max-width:34ch;font-size:var(--fs-card);line-height:var(--lh-lede);color:var(--tone-on-dark-faint);}
.offices{margin-top:2.25rem;}
.offices h4{
  font-family:var(--font-mono);font-size:var(--fs-meta);font-weight:var(--fw-medium);
  letter-spacing:.14em;text-transform:uppercase;color:var(--tone-on-dark-muted);margin-bottom:1.2rem;
}
.offices p{font-size:var(--fs-xs);line-height:1.7;}
.ftr-col h2,.ftr-col h3{
  font-family:var(--font-mono);font-size:var(--fs-meta);font-weight:var(--fw-medium);
  letter-spacing:.14em;text-transform:uppercase;color:var(--tone-on-dark-muted);margin-bottom:1.2rem;
}
.ftr-col ul{list-style:none;padding:0;}
.ftr-col li{margin-top:.35rem;}
.ftr-col a{display:inline-block;font-size:var(--fs-xs);color:var(--tone-on-dark-faint);padding:.36rem 0;}
.ftr-col a:hover{color:#fff;}
.ftr-bot{
  padding-top:1.9rem;border-top:1px solid var(--rule-on-dark);
  display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:space-between;align-items:center;
  font-size:var(--fs-bot);color:var(--tone-on-dark-faint);
}
.ftr-bot ul{display:flex;flex-wrap:wrap;gap:1.6rem;list-style:none;padding:0;}
.ftr-bot li{margin:0;}
.ftr-bot a{font-size:var(--fs-bot);color:var(--tone-on-dark-faint);}
.ftr-bot a:hover{color:#fff;text-decoration:underline;text-underline-offset:2px;}

@media(max-width:1080px){.ftr-top{grid-template-columns:1fr 1fr;}}
@media(max-width:640px){.ftr-top{grid-template-columns:minmax(0,1fr);}}

/* ==========================================================================
   Positions (point of view)
   ========================================================================== */
.positions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.5rem,3vw,2.75rem);}
.position{border-top:2px solid var(--accent);padding-top:1.6rem;}
.position .n{font-family:var(--font-mono);font-size:var(--fs-meta);font-weight:var(--fw-medium);letter-spacing:.14em;color:var(--tone-on-dark-faint);}
.position h3{margin-top:.85rem;color:#fff;font-family:var(--font-editorial);font-size:1.28rem;font-weight:var(--fw-semibold);letter-spacing:-.01em;line-height:1.3;}
.position p:not(:where(.meta)):not(:where(.eyebrow)){margin-top:.85rem;font-size:var(--fs-card);color:var(--tone-on-dark-muted);line-height:var(--lh-lede);}

/* ==========================================================================
   Filter chips
   ========================================================================== */
.filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:2.25rem;}
.filter{
  font-family:var(--font-ui);font-size:var(--fs-xs);font-weight:var(--fw-medium);
  color:var(--tone-muted);background:#fff;border:1px solid var(--rule);border-radius:100px;
  padding:.6rem 1.2rem;cursor:pointer;transition:all var(--dur);
}
.filter:hover{border-color:var(--tone-faint);color:var(--tone-strong);}
.filter[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff;}
[data-filter-item][hidden]{display:none;}

/* ==========================================================================
   Engagement steps

   Two variants, because the same model is used at two densities:
     .steps            vertical numbered list, where each step carries detail
     .steps--grid      four columns, where the copy is a single short line
   The homepage uses the grid form, matching the approved design. Both are
   always rendered on a dark band.
   ========================================================================== */
.steps{counter-reset:step;display:grid;gap:0;}
.step{
  counter-increment:step;display:grid;grid-template-columns:3.25rem minmax(0,1fr);
  gap:clamp(1rem,2vw,1.75rem);padding-block:clamp(1.35rem,2.6vw,2rem);
  border-top:1px solid var(--rule-on-dark);
}
.step:last-child{border-bottom:1px solid var(--rule-on-dark);}
.step::before{
  content:counter(step,decimal-leading-zero);font-family:var(--font-mono);
  font-size:var(--fs-xs);font-weight:var(--fw-medium);
  color:var(--blue-l);letter-spacing:.06em;padding-top:.2rem;
}
.step h3{font-size:1.12rem;letter-spacing:-.015em;}
.step p:not(:where(.meta)):not(:where(.eyebrow)){margin-top:.7rem;font-size:var(--fs-card);color:var(--tone-on-dark-muted);max-width:62ch;line-height:1.7;}
.step .out{margin-top:.9rem;font-size:var(--fs-li);color:var(--tone-on-dark-faint);}
.step .out b{color:#fff;font-weight:var(--fw-medium);}

/* Homepage grid variant: label instead of a counter, rule above each step. */
.steps--grid{counter-reset:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(1.5rem,2.6vw,2.25rem);}
.steps--grid .step{
  counter-increment:none;display:block;padding:1.6rem 0 0;
  border-top:1px solid var(--rule-on-dark);border-bottom:0;
}
.steps--grid .step::before{content:none;}
.steps--grid .n{
  font-family:var(--font-mono);font-size:var(--fs-meta);font-weight:var(--fw-medium);
  letter-spacing:.14em;color:var(--blue-l);
}
.steps--grid .step h3{margin-top:1rem;}
.steps--grid .step p:not(:where(.meta)):not(:where(.eyebrow)){max-width:none;}

/* Light-band corrections, so the same markup works on a light section. */
.sec:not(.bg-dark):not(.bg-navy) .step,.sec:not(.bg-dark):not(.bg-navy) .steps--grid .step{border-top-color:var(--rule);}
.sec:not(.bg-dark):not(.bg-navy) .step:last-child{border-bottom-color:var(--rule);}
.sec:not(.bg-dark):not(.bg-navy) .step::before,.sec:not(.bg-dark):not(.bg-navy) .steps--grid .n{color:var(--blue);}
.sec:not(.bg-dark):not(.bg-navy) .step p:not(:where(.meta)):not(:where(.eyebrow)){color:var(--tone-muted);}
.sec:not(.bg-dark):not(.bg-navy) .step .out{color:var(--tone-faint);}
.sec:not(.bg-dark):not(.bg-navy) .step .out b{color:var(--tone-strong);}

@media(max-width:1080px){.steps--grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.steps--grid{grid-template-columns:minmax(0,1fr);}}

/* ==========================================================================
   Quote
   ========================================================================== */
.quote-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1.5rem,2.8vw,2.5rem);}
.quote{border-top:1px solid var(--rule);padding-top:1.6rem;padding-left:1.35rem;border-left:0;position:relative;}
.quote::before{content:"";position:absolute;left:0;top:1.6rem;bottom:0;width:2px;background:var(--blue);}
.quote blockquote{font-family:var(--font-editorial);font-size:1.18rem;line-height:1.6;letter-spacing:-.005em;color:var(--tone-body);}
.quote .who,.quote cite{margin-top:1rem;font-family:var(--font-mono);font-size:var(--fs-note);letter-spacing:.02em;color:var(--tone-faint);font-style:normal;display:block;}
.quote .who b,.quote cite b{display:block;color:var(--tone-strong);font-weight:var(--fw-semibold);}
.bg-dark .quote{border-top-color:var(--rule-on-dark);}
.bg-dark .quote::before{background:var(--accent);}
.bg-dark .quote blockquote{color:var(--tone-on-dark-muted);}
.bg-dark .quote .who,.bg-dark .quote cite{color:var(--tone-on-dark-faint);}
.bg-dark .quote .who b,.bg-dark .quote cite b{color:#fff;}

/* ==========================================================================
   Newsletter band
   ========================================================================== */
.newsletter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:clamp(2rem,5vw,4.5rem);align-items:center;}
.newsletter h2{font-size:var(--fs-h2-band);line-height:1.16;}
/* Newsletter body copy. The :not(:where()) chain keeps this from also matching
   the eyebrow and resizing the label to body size - a class+element selector
   outweighs a lone class. */
.newsletter p:not(:where(.eyebrow)):not(:where(.meta)){margin-top:1rem;max-width:48ch;font-size:.96875rem;line-height:var(--lh-lede);}
.newsletter form{display:flex;gap:.6rem;flex-wrap:wrap;}
.newsletter input{
  flex:1;min-width:14rem;font-family:var(--font-ui);font-size:var(--fs-sm);
  padding:15px 17px;border:1px solid var(--rule-on-dark);background:rgba(255,255,255,.06);
  color:#fff;border-radius:var(--radius);
}
.newsletter input::placeholder{color:var(--tone-on-dark-faint);}
.newsletter input:focus{outline:2px solid #fff;outline-offset:1px;border-color:transparent;}
.nl-note{margin-top:1rem;font-size:var(--fs-note);color:var(--tone-on-dark-faint);}
@media(max-width:900px){.newsletter{grid-template-columns:minmax(0,1fr);}}

/* ==========================================================================
   Two-column media block
   ========================================================================== */
.media{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(2.5rem,5vw,4.5rem);align-items:center;}
.media--flip>*:first-child{order:2;}
.media img{width:100%;border-radius:var(--radius);filter:saturate(.72) contrast(1.02);}
.media .body h2{max-width:20ch;font-size:var(--fs-h2-ed);line-height:1.14;}
.media .body .lede{margin-top:1.6rem;max-width:58ch;}
.media .body p:not(:where(.meta)):not(:where(.eyebrow)){margin-top:1.15rem;max-width:58ch;font-size:var(--fs-case-body);}
.media .body .btn-row{margin-top:2rem;}

/* ==========================================================================
   Who we are - figure panel and at-a-glance list

   The lone photograph read as an isolated island beside the copy: a bright,
   busy, wide stock room in a plain rectangle with nothing tying it to the
   page. It is now a designed panel - navy surface, duotone image, hairline
   caption bar - using the same treatment as the industry banners, so it
   belongs to the design language rather than sitting beside it. The glance
   list gives the section real body underneath the prose.
   ========================================================================== */
.glance{list-style:none;padding:0;margin-top:2.4rem;}
.glance li{
  display:grid;grid-template-columns:minmax(0,150px) minmax(0,1fr);
  gap:1.15rem;align-items:baseline;border-top:1px solid var(--rule);
  padding:.95rem 0;margin:0;font-size:var(--fs-sm);
  color:var(--tone-muted);line-height:1.6;
}
.glance b{
  font-family:var(--font-mono);font-size:var(--fs-meta);font-weight:var(--fw-medium);
  letter-spacing:.13em;text-transform:uppercase;color:var(--tone-strong);
}
.fig-panel{margin:0;border:1px solid var(--rule);background:var(--surface-navy);overflow:hidden;}
.fig-panel__img{position:relative;aspect-ratio:4/3;overflow:hidden;}
.fig-panel__img img{width:100%;height:100%;object-fit:cover;filter:grayscale(.5) saturate(.5) contrast(1.06) brightness(.9);}
.fig-panel__img::after{content:"";position:absolute;inset:0;background:linear-gradient(150deg,rgba(0,17,77,.7),rgba(0,17,77,.26));}
.fig-panel__cap{display:grid;gap:.3rem;padding:1.1rem 1.35rem 1.25rem;border-top:1px solid var(--rule-on-dark);}
.fig-panel__k{font-family:var(--font-mono);font-size:var(--fs-meta);font-weight:var(--fw-medium);letter-spacing:.14em;text-transform:uppercase;color:var(--blue-l);}
.fig-panel__v{font-size:var(--fs-sm);color:var(--tone-on-dark-muted);line-height:1.55;}
@media (max-width:620px){.glance li{grid-template-columns:minmax(0,1fr);gap:.3rem;}}
@media(max-width:1080px){
  .media,.media--flip{grid-template-columns:minmax(0,1fr);}
  .media--flip>*:first-child{order:0;}
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(2.5rem,6vw,5rem);align-items:start;}
.contact-side h2{max-width:20ch;font-size:var(--fs-h2-form);line-height:1.14;}
.contact-side .lede{margin-top:1.4rem;max-width:46ch;}
.contact-meta{margin-top:2.5rem;padding-top:2.25rem;border-top:1px solid var(--rule);display:grid;gap:.4rem;}
.contact-meta b{
  display:block;font-family:var(--font-mono);font-size:var(--fs-meta);font-weight:var(--fw-medium);
  letter-spacing:.14em;text-transform:uppercase;color:var(--tone-faint);margin-top:1.4rem;
}
.contact-meta b:first-child{margin-top:0;}
.contact-meta span{font-size:var(--fs-sm);color:var(--tone-body);line-height:1.6;}
.form{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;}
.form .field{margin-bottom:0;}
.field.full{grid-column:1/-1;}
.form .btn{margin-top:.6rem;justify-self:start;}
.form-note{margin-top:1rem;font-size:var(--fs-note);color:var(--tone-faint);}
.form-note a{color:var(--blue);text-decoration:underline;text-underline-offset:2px;}
@media(max-width:900px){
  .contact-grid{grid-template-columns:minmax(0,1fr);}
}
@media(max-width:640px){.form{grid-template-columns:1fr;}}

/* ==========================================================================
   Notice
   ========================================================================== */
.notice{
  border-left:2px solid var(--blue);background:var(--surface-alt);
  padding:1.1rem 1.25rem;font-size:var(--fs-sm);color:var(--tone-muted);border-radius:var(--radius);
}
.notice b{color:var(--tone-strong);font-weight:var(--fw-semibold);}

/* ==========================================================================
   Dark-surface corrections
   .page-hero and .rowlist are dark in some compositions without carrying
   .bg-dark, so their copy needs the dark-surface tones explicitly.
   ========================================================================== */
.page-hero .eyebrow{color:var(--tone-on-dark-faint);}
.page-hero .meta{color:var(--tone-on-dark-faint);}
.page-hero .lede,.page-hero p{color:var(--tone-on-dark-muted);}
.page-hero a:not([class]){color:var(--tone-on-dark-muted);}
.page-hero a:not([class]):hover{color:#fff;}

.bg-dark .rowlist,.bg-navy .rowlist,.ftr .rowlist{border-top-color:var(--rule-on-dark);}
.bg-dark .rowlist li,.bg-navy .rowlist li,.ftr .rowlist li{border-bottom-color:var(--rule-on-dark);}
.bg-dark .rowlist .k,.bg-navy .rowlist .k,.ftr .rowlist .k{color:#fff;}
.bg-dark .rowlist .v,.bg-navy .rowlist .v,.ftr .rowlist .v{color:var(--tone-on-dark-muted);}
.bg-dark .rowlist a,.bg-navy .rowlist a{color:var(--tone-on-dark-muted);}
.bg-dark .rowlist a:hover,.bg-navy .rowlist a:hover{color:#fff;}
