/* ===========================================================================
   zc-skin.css — editorial re-skin layer.

   Loaded AFTER the generated stylesheet. Nothing here changes copy or
   information architecture; it re-states the design system so the site reads
   the way the brief calls for:

     · a light base (white / pale grey) with deep-navy bands instead of an
       all-over dark, luxury treatment
     · one geometric sans at medium weight, sentence case, tight tracking —
       no uppercase display type, no mono eyebrows
     · square, full-bleed sections on a tall vertical rhythm (120–200px)
       instead of inset rounded panels
     · a solid white sticky header and a right-hand drawer menu
     · pill buttons with small, letter-spaced uppercase labels
     · ruled link rows with a trailing arrow

   ZUS's own steel blue carries the accent throughout.
   ========================================================================= */

/* --------------------------------------------------------------- fonts --- */
/* Figtree — an open geometric sans, chosen for its even, slightly squared
   shapes. Variable, so one file per unicode range covers every weight the
   page asks for. */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/fonts/figtree-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/fonts/figtree-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------- tokens --- */
:root {
  /* Palette. Near-black text on white, a deep navy for dark bands and the
     footer, and a pale grey for alternating sections. */
  --ink:          #0D1116;
  --ink-900:      #121820;
  --navy:         #121A2C;
  --navy-700:     #1E2A45;
  --graphite:     #222C38;
  --graphite-700: #2C3845;
  --graphite-600: #38445A;

  --paper:      #FFFFFF;
  --paper-alt:  #F6F7F8;
  --paper-warm: #F2F0EC;

  --muted:      #55606D;
  --silver:     #A9B4C0;
  --silver-300: #C6CED7;

  /* The accent, in navy. Two values because one tone cannot carry an accent
     on both grounds: --brass is the light steel used on the dark bands,
     --bronze the deep navy used on paper. The names come from the original
     stylesheet, whose own rules reference them, so they stay as they are. */
  --brass:     #93AAD9;
  --brass-dim: #6E88C0;
  --bronze:    #33497C;

  --rule:        rgba(13, 17, 22, .12);
  --rule-strong: rgba(13, 17, 22, .28);
  --d-fg:        #FFFFFF;
  --d-muted:     #A9B4C0;
  --d-rule:      rgba(255, 255, 255, .20);
  --d-rule-soft: rgba(255, 255, 255, .10);
  --focus:       var(--navy);

  /* The dark as bare rgb triples, for the scrims, shadows and
     translucent panels that need their own alpha. Kept as tokens so a
     palette change reaches all of them. */
  --shade:      18, 26, 44;
  --shade-deep: 9, 14, 26;

  --font-sans:   "Figtree", "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-figure: var(--font-sans);
  /* Everything — eyebrows, labels, figures — is set in the one family. Mono
     is kept only as a fallback for anything that asks for it by name. */
  --font-mono:   var(--font-sans);

  /* Type scale, measured at 1440px: h1 78/94, h2 54, body 15–16 with
     generous leading. */
  --fs-display: clamp(2.5rem, 5.2vw, 4.875rem);
  --fs-h1:      clamp(2.25rem, 4.6vw, 4.25rem);
  --fs-h2:      clamp(1.75rem, 3.4vw, 3.375rem);
  --fs-h3:      clamp(1.1875rem, 1.6vw, 1.5rem);
  --fs-h4:      clamp(1.0625rem, 1.2vw, 1.1875rem);
  --fs-lead:    clamp(1.0625rem, 1.05vw, 1.1875rem);
  --fs-body:    1rem;
  --fs-sm:      .9375rem;
  --fs-xs:      .8125rem;
  --fs-eyebrow: .75rem;
  --fs-figure:  clamp(2.75rem, 7.5vw, 6rem);

  /* Rhythm. Sections are padded 120px–200px and run full-bleed with square
     corners — no inset frame, no rounding. */
  --section-y: clamp(4.5rem, 8.6vw, 12.5rem);
  --gutter:    clamp(1.25rem, 4.6vw, 5rem);
  --maxw:      96rem;      /* 1536px — the content column on every page */
  --maxw-text: 46rem;

  --header-h:        4.625rem;
  --header-h-stuck:  4.625rem;

  --frame:        0px;
  --radius:       0px;
  --radius-panel: 0px;
  --radius-card:  0px;
  --radius-pill:  999px;
}

/* Dark bands are navy rather than near-black. */
.on-dark     { --bg: var(--navy);     --fg: var(--d-fg); --fg-muted: var(--d-muted); --accent: var(--brass); --rule: var(--d-rule); --rule-strong: var(--d-rule); --focus: var(--brass); }
.on-graphite { --bg: var(--navy-700); --fg: var(--d-fg); --fg-muted: var(--d-muted); --accent: var(--brass); --rule: var(--d-rule); --rule-strong: var(--d-rule); --focus: var(--brass); }

/* The hero's button bar sits on a photograph but is not .on-dark, so it never
   picked up the pale focus ring: keyboard focus on "Firm overview" drew a 2px
   #121A2C outline on a dark image, which is invisible. Only the ring colour
   changes here — the curtain already signalled focus on its own. */
.hero__bar   { --focus: var(--brass); }
.on-alt      { --bg: var(--paper-alt); }
.on-warm     { --bg: var(--paper-warm); }

/* ----------------------------------------------------------- base type --- */
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--ink);
  /* The header is solid and in-flow-adjacent now, so content clears it. */
  padding-top: var(--header-h);
}

h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-transform: none;
}
h3 { line-height: 1.3; letter-spacing: -.015em; }
h4 { line-height: 1.35; letter-spacing: -.01em; }

.display,
.hero-display,
.display-h {
  font-family: var(--font-sans);
  text-transform: none;
}

.display {
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.022em;
}

/* Eyebrows: small, bold, uppercase, lightly tracked — set in the body face,
   not a monospace. */
.eyebrow,
.hero__aside-label,
.footer h2,
.disclaimer__label,
.fact__label,
.callout__label,
.criterion__label,
.row__label,
.row-n__label {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* Body copy: a flat 18px, not the --fs-lead ramp. That clamp's floor was
   17px and its vw term did not overtake it until ~1620px, so in practice
   every laptop and phone got the same 17px anyway — the fluidity was
   theatre. Set outright, and --fs-lead is left alone because .hero-sub
   still reads it.
   Full contrast on both grounds: --ink on paper, --d-fg on navy, rather
   than the muted greys these carried before.
   Leading drops to 1.5 with the move to 20px: larger type needs
   proportionally less of it, and at 1.6 the lines drifted apart. Same
   three lines as 1.6 gives, in 90px instead of 96px. */
.lead {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
}
.on-dark .lead,
.on-graphite .lead { color: var(--d-fg); }

/* The emphasis line that closes a pair of lead paragraphs. It used to earn
   its place by being brighter than the muted grey above it; now that every
   lead is full white that trick is gone, so it carries weight instead.
   Figtree is variable across 300-800, so 600 is a real weight, not a
   synthesised bold, and costs no extra font file. */
.lead--emph { font-weight: 600; }

.mono { font-family: var(--font-sans); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- sections --- */
/* Full-bleed, square. The generated sheet insets and rounds every themed
   band; here they butt edge to edge. */
.section.on-graphite,
.section.on-dark,
.section.on-warm,
.section.on-alt,
.hero,
.closing,
.footer {
  margin: 0;
  border-radius: 0;
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .58); }

/* --------------------------------------------------------------- header --- */
/* Solid white, always: the bar never floats over the hero. */
.header {
  position: fixed;
  height: var(--header-h);
  padding-inline: 0;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.header.is-stuck,
.header--solid {
  height: var(--header-h);
  background: var(--paper);
  border-bottom-color: var(--rule);
}

.brand__word { font-weight: 500; letter-spacing: .06em; }
.brand__word b { font-weight: 700; }
.brand__word i { opacity: .35; font-weight: 400; }

.navlink {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.navlink:after { background: var(--ink); }
.navlink:hover,
.navlink:focus-visible,
.navlink[aria-current="page"] { color: var(--navy); }

.menu-toggle { color: var(--ink); }
.menu-toggle__label {
  /* The bars stand alone. Keep the word for screen readers and for anyone
     who needs the affordance named. */
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .07em;
}
.menu-toggle__bars { width: 24px; gap: 5px; }
.menu-toggle__bars span { height: 2px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------- drawer menu --- */
/* A white panel that slides in from the right over a dimmed page, rather than
   a full-screen dark takeover. The dim is a very large box-shadow spread so
   no extra element is needed. */
.menu {
  inset: 0 0 0 auto;
  width: min(26rem, 88vw);
  justify-content: flex-start;
  gap: 0;
  padding: calc(var(--header-h) + var(--sp-5)) var(--sp-5) var(--sp-5);
  background: var(--paper);
  color: var(--ink);
  transform: translate3d(100%, 0, 0);
  transition: transform var(--t-mid) var(--ease-out), opacity var(--t-fast) linear, visibility var(--t-mid);
}
.menu.is-open {
  transform: none;
  box-shadow: 0 0 0 100vmax rgba(var(--shade), .45);
}
.menu nav a {
  gap: 0;
  padding-block: .7rem;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: 0;
  color: var(--ink);
}
.menu nav a[aria-current="page"] { color: var(--bronze); }
.menu .idx { display: none; }

/* -------------------------------------------------------------- buttons --- */
/* Pills with small, bold, letter-spaced uppercase labels. */
.btn {
  min-height: 3.25rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-pill);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* The per-variant button rules that stood here are gone: one filled
   treatment now covers every button, defined at the end of this file. */

/* The brass bar + uppercase label becomes a pill CTA. */
.bar-link {
  min-height: 3.25rem;
  padding: .85rem 2rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  gap: .75rem;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.bar-link:hover,
.bar-link:focus-visible { background: var(--navy); border-color: var(--navy); color: #fff; }
.bar-link__bar { display: none; }
.bar-link__label { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; }

.on-dark .bar-link,
.on-graphite .bar-link,
.closing .bar-link {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.on-dark .bar-link:hover,
.on-graphite .bar-link:hover,
.closing .bar-link:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Inside the bio sheet these are plain contact links, not calls to action. */
.sheet__links .bar-link {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bronze);
}
.sheet__links .bar-link:hover { background: none; color: var(--ink); }

/* Team card and sheet: the supporting type was running small against the
   portraits. Name, role and the email line all step up, and the LinkedIn
   link becomes the bare mark it is on Contact. */

.sheet__role { font-size: 18px; }   /* was --fs-sm, 15px — matches .pcard__role */
.sheet__bio p { font-size: 18px; }  /* was 16px — the bio was the smallest type on the page */
.sheet__links { align-items: center; gap: 0 var(--sp-5); margin-top: var(--sp-4); }
.sheet__links .bar-link__label,
/* the generated sheet uppercases whichever link lands last; with LinkedIn
   now a mark, that is the email address, which should stay lowercase */
.sheet__links .bar-link:last-child .bar-link__label {
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.sheet__links .social-mark { color: var(--muted); }
.sheet__links .social-mark:hover { color: var(--accent); }
.sheet__links .social-mark svg { width: 1.75rem; height: 1.75rem; }
.sheet__links .bar-link__label { letter-spacing: .07em; }

.link-arrow { color: var(--bronze); font-weight: 600; }

/* ----------------------------------------------------------------- hero --- */
.hero {
  /* The whole window. Same two faults as the interior heroes had: a 48rem cap
     that stopped it at 768px, and subtracting the header height, which the
     fixed header doesn't occupy. --frame is the panel inset, 0 here, kept in
     the sum so the hero still fits if the framed treatment is turned back on. */
  min-height: calc(100svh - var(--frame) * 2);
  /* Bottom inset cut from --sp-7 to --sp-6: the whole copy-and-bar mass
     drops 32px, leaving more sky above it. Watch this on a short laptop
     screen — it is the tightest part of the composition. */
  padding-block: var(--sp-6);
}
/* The picture carries its own colour: no desaturation, and only enough
   darkening to hold white type. */
/* The home headline is set in caps. The negative tracking that suits
   sentence case closes caps up too far, so it is released here. */
.hero .hero-display {
  text-transform: uppercase;
  letter-spacing: .005em;
  /* 64px at the top, and the home hero alone keeps it — the interior heroes
     cap at 62px, from the sitewide block at the end of this file, which
     deliberately leaves .hero out of its selector list. Left as a clamp
     rather than a flat 64px so the two clauses still fit a phone; the vw
     term reaches the cap at ~1230px and holds on every desktop width. */
  font-size: clamp(2.375rem, 5.2vw, 4rem);
}

.hero__media img,
.hero__media video { filter: brightness(.84) saturate(1.02) contrast(1.02); }

/* Neutral, not navy. --shade is 18,26,44, and at .88 over the footage it
   put a blue cast across the whole hero; the token stays as it is because
   the closing scrim and the drawer dim both rely on it. */
.hero__scrim {
  background:
    linear-gradient(to top, rgba(0, 0, 0, .58), rgba(0, 0, 0, .26) 45%, rgba(0, 0, 0, .06) 100%);
}

.hero-display {
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -.025em;
  text-transform: none;
  color: #fff;
}
/* One clause per line at every width: "Institutional analysis." always sits
   under "Field experience." rather than wherever the measure happens to
   break it. The markup already holds each clause in its own span. */
.hero .hero-display span { display: block; }

/* ------------------------------------------------------- hero kicker ---
   The strapline moved out of the foot bar and up above the headline, set
   in caps as a kicker. It is the eyebrow idiom at hero scale: body face,
   bold, lightly tracked — not the monospace the generated stylesheet uses
   for .eyebrow. The trailing full stop is dropped; a kicker is a label,
   not a sentence, and in caps the period reads as a stray mark. */
.hero .hero-kicker {
  margin: 0 0 var(--sp-4);
  /* No measure cap: the kicker reads as one line across the hero, the way
     the reference sets it, and wraps only when the viewport forces it. */
  max-width: none;
  font-family: var(--font-sans);
  /* 14px on a phone, ramping to a 17px cap on a wide desktop. */
  font-size: clamp(.875rem, 1.12vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
}

.hero__eyebrow,
.hero .eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
}

.hero-sub {
  margin-top: var(--sp-3);
  max-width: 50ch;
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: rgba(255, 255, 255, .8);
}

/* ---------------------------------------------------------- hero bar --- */
/* The foot of the home hero: the strapline on the left, the scroll cue
   centred, and the firm overview on the right, divided from the picture by
   a hairline. */
/* The bar now holds one thing. The hairline and the scroll chevron are gone,
   so the button moves to the left gutter and the whole hero hangs off a
   single edge: kicker, headline, button. The rule was doing the work of
   tying the two sides together; with nothing on the right there is nothing
   to tie. */
.hero__bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--sp-3);
  /* --sp-5, not --sp-6. The copy block is bottom-pinned, so closing this
     gap lowers the headline rather than raising the rule: kicker, headline,
     rule and button then read as one mass at the foot of the frame instead
     of two groups separated by dead air. */
  margin-top: var(--sp-5);
  padding-top: 0;
}

/* ------------------------------------------------ buttons on dark ground ---
   Over a photograph or a dark band the filled box is the loudest thing on
   the page. In those four contexts the button reads as an outline until you
   touch it — then the same curtain fills it, so it is still the one
   component rather than a second button style. */
.hero__bar .btn,
.on-dark .btn,
.on-graphite .btn,
.closing .btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
  transition: color .2s cubic-bezier(.4, 0, .2, 1) .06s,
              border-color .34s cubic-bezier(.4, 0, .2, 1),
              transform .13s cubic-bezier(.4, 0, .2, 1);
}
.hero__bar .btn__tile,
.on-dark .btn__tile,
.on-graphite .btn__tile,
.closing .btn__tile {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  transition: background-color .2s cubic-bezier(.4, 0, .2, 1) .06s,
              color .2s cubic-bezier(.4, 0, .2, 1) .06s;
}
.hero__bar .btn:focus-visible,
.on-dark .btn:focus-visible,
.on-graphite .btn:focus-visible,
.closing .btn:focus-visible { border-color: transparent; color: #fff; }

.hero__bar .btn:focus-visible .btn__tile,
.on-dark .btn:focus-visible .btn__tile,
.on-graphite .btn:focus-visible .btn__tile,
.closing .btn:focus-visible .btn__tile {
  background: #fff;
  color: var(--bronze);
}

@media (hover: hover) {
  .hero__bar .btn:hover,
  .on-dark .btn:hover,
  .on-graphite .btn:hover,
  .closing .btn:hover { border-color: transparent; color: #fff; }

  .hero__bar .btn:hover .btn__tile,
  .on-dark .btn:hover .btn__tile,
  .on-graphite .btn:hover .btn__tile,
  .closing .btn:hover .btn__tile {
    background: #fff;
    color: var(--bronze);
  }
}

/* ------------------------------------------- the hero button, box dropped ---
   The same treatment as the team cards' Read profile cue: no border, no tile
   ground, the label underlined, the arrow travelling on hover. This block
   sits after the dark-ground rules above on purpose -- it shares their
   specificity, so source order is what lets it win, and only .hero__bar is
   changed. .on-dark, .on-graphite and .closing keep their boxes.

   overflow has to go back to visible: .btn clips to keep its curtain inside
   the box, and with the box gone the button shrinks to fit its contents, so
   the clip would eat the arrow as it travels. */
.hero__bar .btn {
  width: auto;
  min-width: 0;
  /* The box is gone but the target is not. Without this the hit area fell to
     151x27 -- still past WCAG 2.2 AA's 24x24, but short of the 44x44 it met
     as a boxed button, on the control most likely to be tapped on a phone.
     The padding is invisible: there is no border or background left for it to
     show, and the label's underline sits on the label, not on this box. */
  min-height: 44px;
  padding: 0 6px 0 0;
  border: 0;
  border-radius: 0;
  background: none;
  gap: .6rem;
  overflow: visible;
  color: #fff;
  align-content: center;
}
.hero__bar .btn::before { display: none; }   /* no curtain left to fill */
.hero__bar .btn .btn__tile {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  color: inherit;
}
.hero__bar .btn .btn__label {
  border-bottom: 1px solid currentColor;
  padding-bottom: .25rem;
}
.hero__bar .btn .btn__tile svg { transition: transform .34s cubic-bezier(.4, 0, .2, 1); }
.hero__bar .btn:hover,
.hero__bar .btn:focus-visible { color: #fff; border-color: transparent; }
.hero__bar .btn:hover .btn__tile,
.hero__bar .btn:focus-visible .btn__tile { background: none; color: inherit; }
/* Down, not across. The team card's arrow points right and travels right;
   this one is a download glyph, so sideways movement says nothing. 3px, not
   5 -- vertical travel reads larger at the same distance. */
.hero__bar .btn:hover .btn__tile svg,
.hero__bar .btn:focus-visible .btn__tile svg { transform: translateY(3px); }


/* ------------------------------------------- navigation links, box dropped ---
   The six links that say "go read a related page": About and Meet the team on
   the home page, Industries we cover and Why direct buyers call on About, Why
   direct buyers call on the home page, How our process works on
   why-buyers-call. They used to carry the same weight as "Start a
   conversation", which appears 14 times and is the thing the site exists to
   produce. Now the box means conversion and the underline means navigation.

   Not a new pattern: .index has done label-plus-travelling-arrow on ten pages
   all along, in the "Understanding Your Objectives" rows.

   Every selector is .btn.btn--nav, not a bare .btn--nav. The base .btn block
   is declared near the foot of this file, so at equal specificity it wins the
   tie on source order -- a bare .btn--nav left the light-ground buttons boxed
   while the dark ones changed, which is exactly what happened on the first
   attempt. The dark grounds are listed too, since .on-dark .btn also sets a
   border.

   This treatment also lives on .pcard__cue and .hero__bar .btn. Three copies
   is a smell -- they want folding into one block -- but the cue sits at 26px
   by design and the hero's arrow travels down rather than across, so merging
   them would change both. Left apart deliberately; keep them in step. */
.btn.btn--nav,
.on-dark .btn.btn--nav,
.on-graphite .btn.btn--nav,
.closing .btn.btn--nav {
  width: auto;
  min-width: 0;
  min-height: 44px;          /* the box goes, the tap target does not */
  padding: 0 6px 0 0;
  border: 0;
  border-radius: 0;
  background: none;
  gap: .6rem;
  overflow: visible;         /* or the travelling arrow is clipped */
  align-content: center;
  color: var(--bronze);
}
.on-dark .btn.btn--nav,
.on-graphite .btn.btn--nav,
.closing .btn.btn--nav { color: #fff; }

.btn.btn--nav::before { display: none; }   /* no curtain left to fill */

.btn.btn--nav .btn__tile {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  color: inherit;
}
.btn.btn--nav .btn__label {
  border-bottom: 1px solid currentColor;
  padding-bottom: .25rem;
}
.btn.btn--nav .btn__tile svg { transition: transform .34s cubic-bezier(.4, 0, .2, 1); }

.btn.btn--nav:hover,
.btn.btn--nav:focus-visible { border-color: transparent; }
.btn.btn--nav:hover { color: var(--ink); }
.on-dark .btn.btn--nav:hover, .on-dark .btn.btn--nav:focus-visible,
.on-graphite .btn.btn--nav:hover, .on-graphite .btn.btn--nav:focus-visible,
.closing .btn.btn--nav:hover, .closing .btn.btn--nav:focus-visible { color: #fff; }
.btn.btn--nav:hover .btn__tile,
.btn.btn--nav:focus-visible .btn__tile { background: none; color: inherit; }
.btn.btn--nav:hover .btn__tile svg,
.btn.btn--nav:focus-visible .btn__tile svg { transform: translateX(5px); }

/* ------------------------------------------- the unboxed label stays 15px ---
   The three treatments with no box: the navigation links, the hero's download
   and the team cues. A boxed button has an outline and a filled tile doing
   half the work, so 13px sits comfortably inside it. These have neither -- the
   type is the whole affordance -- so they keep the larger size.
   Two classes deep to beat the base .btn__label without !important. None of
   them has a fixed width to overflow; they size to their own content. */
.btn.btn--nav .btn__label,
.pcard__cue.btn .btn__label { font-size: .9375rem; }

/* The hero's download is the exception: it keeps the base 13px. It sits over
   moving video under a headline that reaches 54px, where the navigation links
   and the team cues sit in quiet copy -- the same size reads differently in
   the two places. Nothing needs adding; it is left out of the rule above so
   the base applies. */

/* A mark rather than a label: the chevrons say "down" without the word, and
   they sink a few pixels on hover the way the thing they point at moves. */
.scroll-cue {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  color: #fff;
  opacity: .62;
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease-out);
}
.scroll-cue:hover,
.scroll-cue:focus-visible { opacity: 1; transform: translateY(3px); }
.scroll-cue svg { display: block; }

@media (prefers-reduced-motion: reduce) {
  .scroll-cue { transition: none; }
}



/* ------------------------------------------------------- interior heroes --- */
/* Interior pages open on pale grey with a large dark title, not on a
   dimmed photograph. */
.section.page-hero {
  background: var(--paper-alt);
  color: var(--ink);
  --bg: var(--paper-alt);
  --fg: var(--ink);
  --fg-muted: var(--muted);
  --accent: var(--bronze);
  --rule: rgba(34, 34, 40, .14);
  --focus: var(--navy);
  padding-top: calc(var(--section-y) * .72);
  padding-bottom: calc(var(--section-y) * .62);
}
.section.page-hero--bare {
  padding-top: calc(var(--section-y) * .72);
  padding-bottom: calc(var(--section-y) * .48);
}
.page-hero .hero-display {
  font-size: clamp(2rem, 3.9vw, 3.5rem);
  color: var(--ink);
}
.page-hero .eyebrow { color: var(--bronze); }
.page-hero .hero-sub { color: var(--muted); }
.hero__aside-label { color: var(--muted); }
.hero__aside-link {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.hero__aside-link:hover,
.hero__aside-link:focus-visible { color: var(--ink); }

.rule-brass { width: 3rem; background: var(--accent); }

/* ------------------------------------------------------ section headings --- */
.display-h {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.022em;
  text-transform: none;
}

.statement p {
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.022em;
  max-width: 26ch;
}

.statement-lead,
.lede__open { letter-spacing: -.012em; line-height: 1.55; }

/* ------------------------------------------------------------ link rows --- */
/* The services list: a ruled row, title left, arrow right, the arrow
   always visible. */
.index a { padding-block: var(--sp-3); }
.index .n { font-family: var(--font-sans); font-weight: 600; letter-spacing: .06em; }

/* The home page's index dropped its 01-04 column, so the row is two tracks
   rather than three. Scoped with :not(.index--compact) deliberately: the
   process pages keep their numbers, and there they are not decoration — each
   page lists its siblings and omits itself, so the sequence reads 01, 03, 04
   and the number is what tells you which stage you are on. */
.index:not(.index--compact) a { grid-template-columns: minmax(0, 1fr) auto; }
.index .t {
  font-size: clamp(1.0625rem, 1.4vw, 1.3125rem);
  font-weight: 500;
  letter-spacing: -.012em;
}
.index .arrow { opacity: .55; transform: none; }
.index a:hover .arrow,
.index a:focus-visible .arrow { opacity: 1; transform: translateX(4px); }
.index a:hover { color: var(--bronze); }
.on-dark .index a:hover,
.on-graphite .index a:hover { color: var(--brass); }

/* ---------------------------------------------------------------- stats --- */
.stat__v {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -.03em;
}
.stat__label {
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--muted);
}
.stats > * { border-top-color: var(--rule-strong); }
.stats__figure { border-top-color: var(--brass) !important; }

/* ---------------------------------------------------------------- cards --- */
.pcard__name {
  /* Flat 26px. The clamp this replaced ran 19 -> 23px and only reached its
     ceiling past 1353px, so most screens never saw the top of it. */
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.012em;
  text-transform: none;
}
.pcard__role {
  margin-top: .5rem;
  font-family: var(--font-sans);
  font-size: 20px;        /* was --fs-body, 16px, then 18px */
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
/* Read profile takes the same ruled row as Get directions on Contact, so
   the two secondary actions on the site read as one component. The bar the
   generated stylesheet draws is dropped: the rules do that job now. */
/* "Read profile" carries the button box like every other action on the site.
   It stays a <span> — the whole card is already the <button>, and a button
   inside a button is not valid — so the card drives its hover rather than
   the element itself. */
/* The cue spans its card rather than taking the button's fixed box. The
   min-width needs .btn in the selector to land: this rule sits at line ~690
   and `.btn { min-width: 20rem }` is declared near the foot of the file, so a
   bare `.pcard__cue` loses the tie on source order and the declaration does
   nothing. It is masked today — `width: 100%` governs, and the grid caps the
   card at 28rem so it never gets near 20rem — but it read as though it worked. */
.pcard__cue.btn {
  width: auto;
  min-width: 0;
  min-height: 0;
  margin-top: var(--sp-4);
  padding: 0 6px 0 0;
  border: 0;
  border-radius: 0;
  background: none;
  gap: .6rem;
  color: var(--bronze);
  /* .btn clips to keep its curtain inside the box. There is no curtain here
     any more, and with the box gone the cue shrinks to fit its contents, so
     the clip ate the arrow the moment it travelled -- it looked like the
     arrow hid under the cursor. The 6px of right padding gives it room. */
  overflow: visible;
}
.pcard__cue.btn::before { display: none; }   /* nothing left to fill */
.pcard__cue.btn .btn__tile {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  color: inherit;
}
.pcard__cue.btn .btn__label {
  border-bottom: 1px solid currentColor;
  padding-bottom: .2rem;
}
.pcard__cue.btn .btn__tile svg { transition: transform .34s cubic-bezier(.4, 0, .2, 1); }

/* Hover belongs to the card, not the cue -- the card is the button. The old
   rules turned the label white for a curtain that no longer exists, which on
   a white card would have been invisible. */
.pcard:hover .pcard__cue.btn,
.pcard:focus-visible .pcard__cue.btn { color: var(--ink); border-color: transparent; }
.pcard:hover .pcard__cue.btn .btn__tile,
.pcard:focus-visible .pcard__cue.btn .btn__tile { background: none; color: inherit; }
.pcard:hover .pcard__cue.btn .btn__tile svg,
.pcard:focus-visible .pcard__cue.btn .btn__tile svg { transform: translateX(5px); }
.media { border-radius: 0; background: var(--paper-alt); }

.prop__n,
.jumps .n,
.row-n__n,
.criterion__n,
.strategy__n {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: .07em;
}
.prop__t { font-weight: 600; letter-spacing: -.012em; }
/* 17px rather than the --fs-sm 15px: at the card's measure the body was
   reading small against its 22px heading. Five points of step still
   separates the two. */
.prop__x { font-size: 20px; line-height: 1.65; }   /* was 1.0625rem, 17px */

/* -------------------------------------------------------------- closing --- */
.closing { min-height: min(68svh, 38rem); }
.closing__media img { filter: brightness(.55) saturate(.9); }
.closing__scrim {
  background: linear-gradient(to right, rgba(var(--shade), .9), rgba(var(--shade), .66) 50%, rgba(var(--shade), .45));
}
.closing h2 {
  font-size: clamp(1.75rem, 3.4vw, 3.375rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.022em;
  max-width: 22ch;
}

/* ---------------------------------------------------------------- forms --- */
.field label { font-size: 18px; font-weight: 600; }   /* was --fs-sm, 15px */
.field input,
.field textarea,
.field select {
  min-height: 3.25rem;
  padding: .85rem 1rem;
  border-radius: 0;
  border-color: var(--rule-strong);
  font-size: var(--fs-sm);
}
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(var(--shade), .14);
}
.on-dark .field input,
.on-dark .field textarea,
.on-dark .field select,
.on-graphite .field input,
.on-graphite .field textarea,
.on-graphite .field select {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}

/* --------------------------------------------------------------- footer --- */
/* Deep navy, white mark, address column left, link columns right. */
.footer {
  padding-block: var(--sp-7) var(--sp-5);
  background: var(--navy);
  color: #fff;
}
.footer h2 { color: var(--d-muted); }
.footer li a { font-size: var(--fs-sm); color: rgba(255, 255, 255, .82); }
.footer li a:hover { color: #fff; }
.footer__bottom {
  border-top-color: var(--d-rule-soft);
  font-size: var(--fs-xs);
  color: var(--d-muted);
}
.footer .brand__word { color: #fff; }

.to-top { font-weight: 600; }

/* ------------------------------------------------------------- curtain ---- */
.curtain__panel--dark  { background: var(--navy); }
.curtain__panel--under { background: var(--navy-700); }
/* The wordmark is three pieces so the two halves can move independently:
   ZUS, the bar, and Capital. The bar is a wall they slide behind.

   Each half is a fixed window with the text moving inside it, the window
   clipped flush to the bar — negative insets on the far sides so ascenders
   and descenders are never cut, and -.45em on the side facing the bar to
   span the margin, putting the clip edge exactly on the bar's glyph. The
   clip sits on a static element and the transform on its child, so the
   window stays put while the text slides out of it. Letters vanish at the
   bar's edge rather than fading.

   translateX(100%) is each word's own width, so whichever way the type
   scales each one travels exactly far enough to be completely hidden —
   no magic number to keep in sync with the clamp. */
.curtain__word {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  letter-spacing: .12em;
  font-weight: 500;
  word-spacing: normal;        /* the .4em word-space is replaced by the bar */
  margin-right: 0;
}

.curtain__word b,
.curtain__word em { display: inline-block; font-style: normal; }

.curtain__word b  { font-weight: 700; clip-path: inset(-.6em -.45em -.6em -.6em); }
.curtain__word em { font-weight: 500; clip-path: inset(-.6em -.6em -.6em -.45em); }

.curtain__word b > span,
.curtain__word em > span { display: inline-block; will-change: transform; }

/* Matches the header brand's own bar, so the curtain and the header read as
   the same wordmark. */
.curtain__word i {
  display: inline-block;
  font-style: normal;
  font-weight: 300;
  margin-inline: .45em;
  opacity: .45;
  will-change: opacity;
}

/* 0.95s  the halves start sliding, alongside the brass rule
   1.50s  the last letter clears the bar — and the bar starts going with it
   1.50s  the curtain lifts, on an empty frame
   1.65s  the slide formally ends, behind the lifting curtain

   These were 2.10/2.65/2.74/2.80 against a 3.18s lift. When the lift came
   down to 1.50s these three did not follow, so the slide was scheduled for
   after the curtain had already gone — and since the curtain is removed from
   the DOM at that point, it never ran at all. Measured on the page: both
   halves reported transform: none for the whole of the curtain's life, and
   the wordmark was simply lifted away intact. That is what made it read as a
   pose rather than a gesture.

   The bar runs on the SAME animation as the halves — same .7s, same delay,
   same easing — and does its fade inside keyframe percentages rather than on
   a delay of its own. That is what keeps the two locked: retime or re-ease the
   slide and the bar follows automatically instead of drifting out of step.

   79% is not arbitrary. --ease is cubic-bezier(.16, .84, .44, 1), a strong
   ease-out, so the travel is 99% done at 78.8% of the duration — with 163px
   to cover that leaves under 2px of the "l" showing, which is to say it has
   already gone. Waiting for 100% would leave the bar standing on nothing for
   another 150ms, which is what made it look like it lingered. */
.curtain--go .curtain__word b > span  { animation: cw-hide-l .7s var(--ease) .95s forwards; }
.curtain--go .curtain__word em > span { animation: cw-hide-r .7s var(--ease) .95s forwards; }
.curtain--go .curtain__word i         { animation: cw-bar .7s var(--ease) .95s forwards; }

/* ------------------------------------------------- curtain: one gesture ---
   The intro used to introduce the brand three times over: the mark faded in
   and out, then the wordmark faded in, then the halves slid. Four beats end
   to end, 3.18s before the page was uncovered.

   Now the wordmark is there from the first frame, the rule draws beneath it,
   and the halves slide as the rule lands — one continuous movement. The mark
   is dropped from the sequence rather than from the markup, so putting it
   back is a CSS change.

   NOTE --curtain-hold no longer drives any of this. The generated stylesheet
   derived the lift from it with calc(var(--curtain-hold) + .58s), and the
   rule's duration with calc(var(--curtain-hold) - 1.72s) — which goes
   negative at the timings below. Every step is stated outright here instead.
   The inline --curtain-hold on the pages is now inert.

   0.10s  wordmark fades up
   0.35s  rule appears, 0.45s it starts drawing
   0.95s  the halves slide behind the bar, bar goes with the last letter
   1.50s  the curtain lifts
   ------------------------------------------------------------------------ */
.curtain--go .curtain__mark { animation: none; opacity: 0; }

.curtain--go .curtain__word { animation: curtain-word .5s var(--ease-out) .1s forwards; }

.curtain--go .curtain__rule        { animation: curtain-rule-in .25s var(--ease-out) .35s forwards; }
.curtain--go .curtain__rule:after  { animation: curtain-rule .75s var(--ease) .45s forwards; }

.curtain--go .curtain__inner        { animation: curtain-lift .7s var(--ease-out) 1.5s forwards; }
.curtain--go .curtain__panel--dark  { animation: curtain-wipe .7s var(--ease-out) 1.5s forwards; }
.curtain--go .curtain__panel--under { animation: curtain-wipe .7s var(--ease-out) 1.65s forwards; }

/* --------------------------------------------- curtain: the return visit ---
   The full intro plays once per session. After that the page still opens on
   the wordmark, but briefly — 0.44s rather than 1.6s — because a visitor
   reading three pages should not be shown the same introduction three times.
   The inline script on the home page sets .curtain-brief from sessionStorage;
   if storage is unavailable the class is never set and everyone gets the full
   intro, which is the behaviour this replaces.
   ------------------------------------------------------------------------ */
.curtain-brief .curtain--go .curtain__mark { animation: none; opacity: 0; }
.curtain-brief .curtain--go .curtain__rule { animation: none; opacity: 0; }
.curtain-brief .curtain--go .curtain__word { animation: curtain-word .3s var(--ease-out) 0s forwards; }
.curtain-brief .curtain--go .curtain__word b > span,
.curtain-brief .curtain--go .curtain__word em > span,
.curtain-brief .curtain--go .curtain__word i { animation: none; }
.curtain-brief .curtain--go .curtain__inner        { animation: curtain-lift .45s var(--ease-out) .35s forwards; }
.curtain-brief .curtain--go .curtain__panel--dark  { animation: curtain-wipe .45s var(--ease-out) .35s forwards; }
.curtain-brief .curtain--go .curtain__panel--under { animation: curtain-wipe .45s var(--ease-out) .45s forwards; }

@keyframes cw-hide-l { to { transform: translateX(calc(100% + .45em)); } }
@keyframes cw-hide-r { to { transform: translateX(calc(-100% - .45em)); } }
@keyframes cw-bar {
  0%, 79%   { opacity: .45; }
  92%, 100% { opacity: 0; }
}

/* ------------------------------------------------------------ skip link --- */
.skip-link { background: var(--navy); border-radius: 0; }

/* -------------------------------------------------------- accordion rows -- */
.row__title,
.criterion__t,
.strategy__t { font-weight: 500; letter-spacing: -.012em; }
.row__n { font-family: var(--font-sans); font-weight: 700; letter-spacing: .07em; }

/* ------------------------------------------------------------ small fix --- */
::selection { background: var(--brass-dim); color: #fff; }

@media (max-width: 61.99rem) {
  /* The drawer covers the bar; keep the toggle reachable above the dim. */
  .header { z-index: 120; }
}

/* ------------------------------------------------------- contact page ----- */
.connect__h,
.connect__card-h {
  font-size: clamp(1.5rem, 2.3vw, 2.125rem);
  font-weight: 500;
  letter-spacing: -.022em;
}
.connect__line strong,
.connect__sub,
.checks legend,
.field .hint,
.office__city {
  font-family: var(--font-sans);
}
.connect__line strong,
.connect__sub,
.checks legend {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .07em;
}
.office__city {
  font-weight: 500;
  letter-spacing: -.015em;
  text-transform: none;
}
.connect__card { border-radius: 0; box-shadow: none; }


.to-top { white-space: nowrap; }

/* ------------------------------------------------------- drawer detail ---- */
/* The dim sits to the left of the panel and travels with it, so no extra
   element is needed in the markup. main.js closes the menu when the click
   lands on this strip rather than on the panel's contents. */
.menu:before {
  content: "";
  position: absolute;
  inset-block: 0;
  right: 100%;
  width: 100vw;
  background: rgba(var(--shade), .45);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease);
}
.menu.is-open:before { opacity: 1; }
.menu.is-open { box-shadow: -24px 0 60px -30px rgba(var(--shade), .5); }

.menu {
  padding-top: calc(var(--header-h) + var(--sp-3));
  padding-inline: var(--sp-4);
}
.menu nav a { padding-block: .85rem; border-bottom: 1px solid var(--rule); }
.menu nav a:last-child { border-bottom: 0; }
.menu .btn { width: 100%; justify-content: center; }

/* ===========================================================================
   Live circuit field
   A section can carry an animated trace field behind its content: a faint dot
   grid, orthogonal routing cornered at 45°, pads, and signals running the
   traces. The palette lives here; js/circuit.js reads these five properties
   off the canvas and paints with them.
   ========================================================================= */
.has-circuit {
  position: relative;
  overflow: clip;
  isolation: isolate;
}
.has-circuit > .wrap { position: relative; z-index: 1; }

.circuit {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;

  /* Light board — the canvas palette reversed out for paper. The three line
     colours and the node are bare "r, g, b" triples: the script composes its
     own alpha as a line draws in and fades away. */
  --cf-grid:   rgba(36, 44, 77, .11);
  --cf-line-a: 36, 44, 77;
  --cf-line-b: 90, 96, 112;
  --cf-line-c: 69, 96, 158;
  --cf-node:   36, 44, 77;
  --cf-pulse:  69, 96, 158;
}

/* The same board reversed out on a navy band. */
.on-dark .circuit,
.on-graphite .circuit {
  --cf-grid:   rgba(255, 255, 255, .10);
  --cf-line-a: 140, 180, 222;
  --cf-line-b: 213, 218, 224;
  --cf-line-c: 255, 255, 255;
  --cf-node:   255, 255, 255;
  --cf-pulse:  140, 180, 222;
}

/* No left-edge fade any more: lines now arrive from the left as well, and the
   dot grid runs the full width of the band. The heading stays legible on the
   trace weight alone. */

@media (prefers-reduced-motion: reduce) {
  .circuit { opacity: .6; }
}

/* ===========================================================================
   Index rows — curtain highlight
   Pointing at a row draws a solid block down over it from the top, the way
   a services list fills in. Leaving lets the curtain carry on
   downwards and out rather than snapping back up, so the gesture reads as one
   movement in each direction.
   ========================================================================= */
.index a {
  position: relative;
  isolation: isolate;                 /* keeps the curtain inside the row */
  transition: color .26s var(--ease);
}

.index a:before {
  content: "";
  position: absolute;
  /* Bled out sideways so the text sits inside the block without the row
     itself gaining padding and shifting the columns. */
  inset: 0 calc(-1 * clamp(1rem, 2vw, 1.75rem));
  z-index: -1;
  background: var(--brass);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .42s cubic-bezier(.33, 0, .16, 1);
}

.index a:hover:before,
.index a:focus-visible:before {
  transform: scaleY(1);
  transform-origin: top;
}

/* The copy flips to ink once the curtain is most of the way down, so the two
   never cross over mid-wipe. */
.index a:hover,
.index a:focus-visible,
.on-dark .index a:hover,
.on-dark .index a:focus-visible,
.on-graphite .index a:hover,
.on-graphite .index a:focus-visible {
  color: var(--ink);
  transition-delay: .14s;
}

.index a:hover .n,
.index a:focus-visible .n {
  color: rgba(34, 34, 40, .6);
  transition-delay: .14s;
}

.index a:hover .arrow,
.index a:focus-visible .arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* The block replaces the rule under the row while it is lit, as in the
   ink. The outline still needs to read against the brass. */
.index a:focus-visible { outline-color: var(--ink); }

/* A section label sitting directly above its heading, the way SERVICES sits
   over a section title. Reusable: any eyebrow immediately before a
   section heading gets the gap. */
.eyebrow + .display-h,
.eyebrow + .display { margin-top: var(--sp-3); }

/* A section label is a bigger thing than the small eyebrows used for field
   labels and roles, so it gets its own size — scaled with the viewport like
   the heading beneath it, so the relationship between the two holds at every
   width. Scoped by adjacency, so only labels that actually head a section
   pick it up; everything else keeps the 12px eyebrow. */
.eyebrow:has(+ .display-h),
.eyebrow:has(+ .display) {
  font-size: clamp(.875rem, 1.1vw, 1.0625rem);
  letter-spacing: .08em;
}
.eyebrow:has(+ .display-h) + .display-h,
.eyebrow:has(+ .display) + .display {
  margin-top: clamp(1.25rem, 1.8vw, 1.75rem);
}

/* ===========================================================================
   Statement band
   A flat colour band carrying a label, one large statement and a call to
   action. Pair it with `has-circuit` and a canvas for the live trace field,
   as on the home page's team band.
   ========================================================================= */
.statement-band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(56svh, 28rem);
  padding-block: var(--section-y);
  overflow: clip;
  color: #fff;
}

.statement-band__inner { position: relative; z-index: 2; width: 100%; }
.statement-band .eyebrow { color: #fff; }

.statement-band__h {
  max-width: 34ch;
  font-size: clamp(1.375rem, 2.5vw, 2.25rem);
  font-weight: 500;
  line-height: 1.26;
  letter-spacing: -.018em;
  color: #fff;
}

/* The label sizes and spaces itself against this heading the same way it does
   against a section heading. */
.eyebrow:has(+ .statement-band__h) {
  font-size: clamp(.875rem, 1.1vw, 1.0625rem);
  letter-spacing: .08em;
}
.eyebrow:has(+ .statement-band__h) + .statement-band__h {
  margin-top: clamp(1.25rem, 1.8vw, 1.75rem);
}

/* ===========================================================================
   Process submenu
   The four stages hang off Process in both navigations. The desktop panel
   opens on hover and on :focus-within — focusing the Process link reveals it,
   which makes its own links focusable, so Tab walks straight through without
   any script.
   ========================================================================= */
.navitem { position: relative; display: inline-flex; align-items: center; }

.subnav {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 17.5rem;
  /* Padding, not margin: the gap below the bar belongs to the panel, so the
     pointer never crosses a dead strip on its way down. */
  padding-top: .9rem;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -.4rem);
  transition: opacity var(--t-mid) var(--ease),
              transform var(--t-mid) var(--ease),
              visibility var(--t-mid);
  z-index: 10;
}
.navitem:hover > .subnav,
.navitem:focus-within > .subnav {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.subnav__panel {
  padding: .5rem 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 20px 44px -22px rgba(var(--shade), .38);
}
.subnav__panel a {
  display: block;
  padding: .65rem 1.25rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.subnav__panel a:hover,
.subnav__panel a:focus-visible { background: var(--paper-alt); }
.subnav__panel a[aria-current="page"] { color: var(--bronze); }

/* ------------------------------------------------------------- drawer ---- */
/* Process keeps its rule for the group it opens; the stages sit indented
   beneath it without rules of their own, and the group closes with one. */
.menu nav a:has(+ .menu__sub) { border-bottom: 0; }

.menu nav .menu__sub {
  display: grid;
  padding: .15rem 0 .7rem;
  border-bottom: 1px solid var(--rule);
}
.menu nav .menu__sub a {
  padding: .5rem 0 .5rem 1.1rem;
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: 0;
  color: var(--muted);
}
.menu nav .menu__sub a:hover,
.menu nav .menu__sub a:focus-visible { color: var(--ink); }
.menu nav .menu__sub a[aria-current="page"] { color: var(--bronze); }

/* ===========================================================================
   Lede statement
   An opening paragraph set large and ranged left from the gutter, rather than
   a body-size column floating in the middle of an empty band. Sized against
   its own length: ten words would take display scale, this is a
   thirty-seven word paragraph, so it takes a step down and a wider measure to
   land the same weight on the page without becoming a wall.
   ========================================================================= */
.lede-statement {
  /* A wider measure than the bigger setting needed, so stepping the size
     down does not just buy extra lines. */
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1.8vw, 1.5625rem);
  font-weight: 400;
  /* Smaller type wants a little more leading and less negative tracking than
     a display setting does. */
  line-height: 1.42;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: pretty;
}

/* ===========================================================================
   Criteria grid
   The investment criteria as a grid of cells, each carrying a metric and its
   figure. A cell with a write-up behind it is a button and opens that write-up
   over the page; the affordance is the cell's own hover, not a marker.
   ========================================================================= */
.criteria-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 40rem) {
  .criteria-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 62rem) {
  .criteria-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.criteria-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  width: 100%;
  min-height: 5.5rem;
  padding: 1.125rem 1.5rem;
  border: 1px solid var(--cell-edge);
  border-radius: 12px;
  /* A resting gradient pooled at the base, so the cell reads as a surface and
     the figure has something to sit on. The glow layers over it. */
  background: var(--cell-rest);
  font: inherit;
  color: inherit;
  text-align: left;
}

:root {
  --cell-rest: linear-gradient(to top, rgba(13, 17, 22, .05), rgba(13, 17, 22, .006));
  --cell-edge: rgba(13, 17, 22, .08);
  /* The spotlight, as an rgb triple and its own alpha so each ground can
     carry it at the strength that suits. */
  --cell-glow:   86, 116, 178;
  --cell-glow-a: .16;
}
.on-dark, .on-graphite {
  --cell-rest: linear-gradient(to top, rgba(255, 255, 255, .07), rgba(255, 255, 255, .01));
  --cell-edge: rgba(255, 255, 255, .09);
  --cell-glow:   120, 152, 216;
  --cell-glow-a: .4;
}
button.criteria-cell {
  position: relative;
  isolation: isolate;
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--t-mid) var(--ease);
}

/* The highlight is a soft glow centred on the pointer. main.js writes the
   cursor position into --mx / --my; everything else is CSS, so the paint
   stays cheap. With no pointer — keyboard focus, or a touch device — the
   defaults put it in the middle of the cell. */
button.criteria-cell:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(14rem circle at var(--mx, 50%) var(--my, 50%),
    rgba(var(--cell-glow), var(--cell-glow-a)),
    rgba(var(--cell-glow), calc(var(--cell-glow-a) * .18)) 45%,
    transparent 72%);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}

button.criteria-cell:hover,
button.criteria-cell:focus-visible { border-color: var(--cell-edge-lit); }
button.criteria-cell:hover:before,
button.criteria-cell:focus-visible:before { opacity: 1; }

:root { --cell-edge-lit: rgba(86, 116, 178, .3); }
.on-dark, .on-graphite { --cell-edge-lit: rgba(146, 170, 220, .34); }

.criteria-cell__label {
  font-size: 20px;        /* was .6875rem, 11px */
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  /* text-align still matters for a label long enough to wrap. */
  text-align: center;
}
.criteria-cell__value {
  text-align: center;
  font-size: 24px;        /* was clamp(1.0625rem, 1.35vw, 1.1875rem), 17-19px, then 20, then 22 */
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.012em;
  color: var(--fg);
}
/* --------------------------------------------------------- the write-up -- */
.metric-sheet {
  width: min(40rem, calc(100vw - 2rem));
  max-width: none;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  /* Translucent rather than solid, so the page stays legible behind it. */
  background: rgba(var(--shade), .82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #fff;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .65);
}
.metric-sheet::backdrop { background: rgba(var(--shade-deep), .5); }

.metric-sheet__close {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}
.metric-sheet__close:hover { color: #fff; }

.metric-sheet__body { padding: clamp(1.75rem, 4vw, 2.75rem); }
.metric-sheet__label {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--brass);
}
.metric-sheet__value {
  margin-top: var(--sp-2);
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -.018em;
  color: #fff;
}
.metric-sheet__body p:not(.metric-sheet__label):not(.metric-sheet__value) {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
  max-width: 54ch;
}

/* Industries sits centred on its own row, as drawn — only once there are
   three columns to centre it in. */
@media (min-width: 62rem) {
  .criteria-cell--mid { grid-column: 2; }
}

/* A compact variant of the index rows: narrower column and smaller type than
   the home page's, so a list that is navigation rather than a headline act
   sits quietly in the page. */
.index--compact { max-width: 54rem; }
.index--compact a {
  grid-template-columns: 2.75rem minmax(0, 1fr) auto;
  padding-block: var(--sp-2);
}
.index--compact .t { font-size: clamp(1rem, 1.15vw, 1.125rem); }
.index--compact .n { font-size: var(--fs-xs); }

/* A label heading a list of links sizes itself like the other section
   labels, the same way one heading a section title does. */
.eyebrow:has(+ .index) {
  font-size: clamp(.875rem, 1.1vw, 1.0625rem);
  letter-spacing: .08em;
}

/* A grid that fits however many cells it is given — two on most stage pages,
   three on Valuation — rather than a fixed three-column track. */
.criteria-grid.criteria-grid--fit {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

/* ----------------------------------------------------- the pop-up rises -- */
/* Opening lifts the panel into place rather than snapping it on. The
   animation hangs off [open], which showModal() sets, so it replays every
   time instead of only on first paint. */
@keyframes metric-sheet-rise {
  from { opacity: 0; transform: translateY(2rem); }
  to   { opacity: 1; transform: none; }
}
@keyframes metric-sheet-dim {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.metric-sheet[open] { animation: metric-sheet-rise .4s var(--ease-out) both; }
.metric-sheet[open]::backdrop { animation: metric-sheet-dim .4s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  .metric-sheet[open],
  .metric-sheet[open]::backdrop { animation: none; }
}

/* On a stage page the write-up covers the width of the section it came from,
   rather than sitting in a small box in the middle of it. */
.metric-sheet--wide {
  width: min(var(--maxw), calc(100vw - 2rem));
}
.metric-sheet--wide .metric-sheet__body {
  padding: clamp(2rem, 4.5vw, 3.5rem);
}
.metric-sheet--wide .metric-sheet__body p:not(.metric-sheet__label):not(.metric-sheet__value) {
  max-width: 68ch;
  font-size: var(--fs-body);
}

/* A split whose left column is only a title: pulled in so the column that
   carries the reading gets the width. */
@media (min-width: 62rem) {
  .split--lead { grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr); }
}

/* ===========================================================================
   Notes
   Points that stay open: a tick, then the writing. No disclosure control —
   where the content is the substance of the section rather than detail held
   back, making the reader click for it only gets in the way.
   ========================================================================= */
.notes { display: grid; gap: .5rem; }

.note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--sp-2);
  align-items: start;
  padding: 1.125rem 1.25rem;
  background: var(--note-bg);
}

:root { --note-bg: rgba(13, 17, 22, .035); --note-mark-bg: rgba(255, 255, 255, .72); }
.on-dark, .on-graphite { --note-bg: rgba(255, 255, 255, .05); --note-mark-bg: rgba(255, 255, 255, .1); }

.note__mark {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--note-mark-bg);
  color: var(--accent);
}

.note__label {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent);
}
.note__body > p + p,
.note__body > ul { margin-top: var(--sp-3); }
.note__body > .note__label + p { margin-top: var(--sp-2); }
.note__body p:not(.note__label) {
  font-size: var(--fs-sm);
  line-height: 1.6;
  /* Capped, or a block that spans the column runs to ninety-odd characters
     a line and stops being readable. */
  max-width: 62ch;
  color: var(--fg-muted);
}
.note__body .ticks li { color: var(--fg-muted); }

/* ===========================================================================
   Topic
   A point of substance under a section: its name held in the left column, the
   writing stacked beside it as ticked blocks. Topics are separated by a rule
   rather than by a heading hierarchy.
   ========================================================================= */
.topic { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
@media (min-width: 62rem) {
  .topic {
    grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr);
    gap: var(--sp-5);
    align-items: start;
  }
}
.topic + .topic {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--rule);
}

.topic__h {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.018em;
}
.topic__intro {
  font-size: 22px;        /* was --fs-sm, 15px */
  font-weight: 500;       /* was 400 */
  line-height: 1.6;
  max-width: 62ch;
  color: var(--fg-muted);
}

/* A section heading set down a step: used where the section's own title is
   introducing named topics below it, and competing with them at full display
   size only pushes everything apart. */
.section-head--tight .display-h { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
.section-head--tight .eyebrow { font-size: clamp(.75rem, .9vw, .875rem); }
.section-head--tight .eyebrow + .display-h { margin-top: .75rem; }
.section-head--tight .rule-brass { margin-top: var(--sp-3); }


/* The generated stylesheet paints these with --brass, which was one mid tone
   that worked on any ground. A navy accent cannot be, so each follows
   --accent and flips with the section it sits in. */
.criterion__label,
.criterion__n,
.strategy__n,
.prop__n,
.callout__label,
.disclaimer__label { color: var(--accent); }

.ticks li:before,
.criterion__body .ticks li:before,
.scroll-cue .bar:after { background: var(--accent); }

.callout { border-left-color: var(--accent); }
.disclaimer { border-left-color: var(--accent); }
.strategy:hover { border-color: var(--accent); }

/* ===========================================================================
   Footer reveal
   The page is an opaque curtain drawn over the footer: as the closing section
   scrolls away, the footer — pinned to the bottom of the viewport behind it —
   is uncovered from its bottom edge upward. main.js sets two guards:

     .footer-reveal       the footer fits on screen, so pinning it cannot put
                          its own top permanently out of reach
     .footer-reveal-near  the end of the page is within one footer height

   Outside that final stretch the footer is a plain static element, so there is
   nothing to leak through the page or linger on the way back up. The switch
   point is chosen so the pinned and static positions coincide exactly there,
   which is why nothing jumps as it flips.
   ========================================================================= */
.footer-reveal main {
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.footer-reveal.footer-reveal-near .footer {
  position: sticky;
  bottom: 0;
  z-index: 0;
}

/* ===========================================================================
   Footer
   The shape the footer takes with our own content: the brand lockup set
   large enough to anchor the block, the two ways of reaching us large on the
   left, the offices to the right under muted labels with each address on its
   own lines, and a quiet two-tier bottom under a hairline.

   The spacing is deliberately tight. A footer taller
   than the window turns the reveal off (see "Footer reveal"), and the airier
   version measured 711px — enough to lose the effect on a 768px-tall laptop.
   This one lands near 575px, so the reveal survives everywhere.
   ========================================================================= */
.footer { padding-block: var(--sp-6) var(--sp-4); }

.footer__body {
  margin-top: clamp(1.75rem, 3.2vw, 2.5rem);
  display: grid;
  gap: var(--sp-5);
}
@media (min-width: 62rem) {
  .footer__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--sp-6); }
}

.footer__reach { display: grid; gap: .75rem; align-content: start; }
.footer__reach a {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -.01em;
  color: #fff;
  width: fit-content;
  padding-bottom: .15rem;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  transition: border-color var(--t-fast) var(--ease);
}
.footer__reach a:hover { border-bottom-color: var(--brass); }

.footer__offices { display: grid; gap: var(--sp-4); }
@media (min-width: 34rem) { .footer__offices { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .footer__offices { justify-items: start; } }

/* .footer h2 already carries the muted small-caps label treatment. */
.footer__addr {
  margin-top: .85rem;
  font-style: normal;
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.55;
  color: #fff;
}

.footer__rule {
  margin-top: clamp(1.75rem, 3.2vw, 2.75rem);
  border-top: 1px solid var(--d-rule-soft);
}

.footer__foot {
  margin-top: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  align-items: baseline;
  justify-content: space-between;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-4); }
.footer__nav a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, .86);
}
.footer__nav a:hover { color: #fff; }

.footer__legal {
  margin-top: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--d-muted);
}
.footer__legal-links { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* These three sat at 22px tall on a phone -- two pixels under WCAG 2.2 AA's
   24x24 minimum for a target (2.5.8), and the only thing on the site that
   failed it. inline-flex with a min-height rather than padding, so the number
   is exact rather than the sum of a line-height and a guess; the links do not
   move, the hit area just reaches the floor. */
.footer__legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
.footer__legal a { color: var(--d-muted); }
.footer__legal a:hover { color: #fff; }

.footer__note { margin-top: var(--sp-3); max-width: 72ch; }

/* ===========================================================================
   Lede block
   The opening statement of a page. It used to centre itself inside the wrap,
   which left it indented against every section above and below it, and its
   label sat at the small field-label size with no heading of its own.

   It now starts at the gutter like its neighbours, runs to a wider measure,
   and — where the markup gives it one — carries a real section heading, so a
   page's opening section reads as a sibling of the sections that follow it
   rather than an inset aside.
   ========================================================================= */
.lede {
  margin-inline: 0;
  max-width: 72ch;
}
.lede__open {
  font-size: clamp(1.1875rem, 1.9vw, 1.5rem);
  line-height: 1.45;
}
.lede .lede__open ~ p {
  font-size: var(--fs-body);
  line-height: 1.65;
}

/* The heading sits closer to its rule than a standalone .rule-brass does. */
.lede .display-h + .rule-brass { margin-top: var(--sp-3); }
.lede .display-h ~ .lede__open { margin-top: var(--sp-4); }

/* ===========================================================================
   Principle cards
   The six principles on the About page. They used to be plain blocks under a
   hairline; they now sit on the same lit surface as the Process criteria
   cells, with the spotlight following the cursor (main.js writes --mx/--my).

   They are not buttons. The writing is the substance of the section, so it
   stays on the page — the surface is there to make the grid feel handled, not
   to hide the argument behind a click.
   ========================================================================= */
.prop {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 1.375rem 1.5rem 1.5rem;
  border: 1px solid var(--cell-edge);
  border-radius: 12px;
  background: var(--cell-rest);
  transition: border-color var(--t-mid) var(--ease);
}

.prop:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(16rem circle at var(--mx, 50%) var(--my, 50%),
    rgba(var(--cell-glow), var(--cell-glow-a)),
    rgba(var(--cell-glow), calc(var(--cell-glow-a) * .18)) 45%,
    transparent 72%);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}

.prop:hover { border-color: var(--cell-edge-lit); }
.prop:hover:before { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .prop:before { transition: none; }
}

/* Tile, heading beside it, body indented to the heading's left edge. The
   numeral sits in the tile rather than running large beside a divider: the
   mark is the tile, so a display figure next to it was two marks competing.

   Two up rather than three. At three the text column is ~240px and every
   heading wraps, which defeats a layout built on heading-beside-tile. */
@media (min-width: 62rem) {
  .props { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.prop {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1.125rem;
  row-gap: .9rem;
  align-items: center;
  /* Auto rows stretch by default, so a card with short copy floats its
     heading down and the row reads ragged. Hold the rows at the top. */
  align-content: start;
  padding: 1.75rem;
  border-color: transparent;
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
}

.prop__head { display: contents; }

.prop__head .prop__n {
  align-self: center;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, .08);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--accent);
}

.prop__head .prop__t {
  align-self: center;
  margin-top: 0;
  padding-left: 0;
  border-left: 0;
  min-height: 0;
  font-size: clamp(1.1875rem, 1.5vw, 1.375rem);
  font-weight: 500;
}

.prop__x { grid-column: 2; margin-top: 0; }

/* ===========================================================================
   Tall page hero
   The content pages that open like the home page: the hero fills the window
   under the header and the title sits at its foot, as the home hero does.

   Opt-in rather than applied to every .page-hero, because the utility pages
   (404, privacy, terms, regulatory, thank-you) have no business opening with
   a full-screen title block.
   ========================================================================= */
.section.page-hero--tall {
  /* The whole window. Two things had the hero finishing short: a 48rem cap
     that stopped it at 768px, and subtracting the header height — which the
     header doesn't occupy, since it is fixed and the hero already starts at
     the top of the page beneath it. Either way the band ended above the fold
     and the next section showed through, so the hero read as cut off. */
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--section-y) * .72);
  padding-bottom: var(--sp-6);
}
.section.page-hero--tall > .wrap { width: 100%; }

/* A step up from the interior scale, still short of the home hero's — the
   landing page should stay the loudest thing on the site. */
.page-hero--tall .hero-display { font-size: clamp(2.25rem, 4.6vw, 4rem); }
.page-hero--tall .eyebrow {
  font-size: clamp(.8125rem, 1vw, .9375rem);
  letter-spacing: .1em;
}
.page-hero--tall .eyebrow + .hero-display { margin-top: clamp(1rem, 1.6vw, 1.5rem); }

/* ===========================================================================
   Drawer menu, pass two
   A full-height white panel that covers the header rather than sitting under
   it, with the navigation set large, a hairline under every row, the Process
   stages collapsed behind a chevron, and the call to action closing on how to
   reach us.
   ========================================================================= */
.menu {
  /* Above the header (100), which fades out while the panel is open. */
  z-index: 130;
  padding-top: var(--sp-6);
  background: var(--paper);
  color: var(--ink);
}
/* The panel covers the bar's control on the right; the brand stays put
   and dims with the page behind the scrim. */
body:has(.menu.is-open) .menu-toggle { visibility: hidden; }

.menu__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

.menu nav { border-top: 1px solid var(--rule); }
.menu nav a {
  padding-block: 1.05rem;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 400;
  letter-spacing: -.015em;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.menu nav a:last-of-type { border-bottom: 1px solid var(--rule); }
.menu nav a:hover,
.menu nav a:focus-visible { color: var(--muted); }
.menu nav a[aria-current="page"] { color: var(--bronze); }

/* The row is the link; the chevron beside it is its own control, so Process
   stays reachable as a page instead of becoming a toggle. */
.menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}
.menu__row > a { flex: 1; border-bottom: 0; }

.menu__expand {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
}
.menu__expand svg { transition: transform var(--t-mid) var(--ease); }
.menu__expand[aria-expanded="true"] svg { transform: rotate(180deg); }

/* 0fr -> 1fr animates to exactly the content's height, with no guessed
   max-height to retune if a stage is ever added. The padding lives on the
   links inside, so it collapses with them — on the container it would hold
   the closed group open and read as a second hairline under Process. */
.menu nav .menu__sub {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0;
  border-bottom: 0;
  transition: grid-template-rows var(--t-mid) var(--ease);
}
.menu nav .menu__sub > div { overflow: hidden; }
.menu nav .menu__sub.is-open {
  grid-template-rows: 1fr;
  border-bottom: 1px solid var(--rule);
}
.menu nav .menu__sub a {
  padding: .5rem 0 .5rem 1.25rem;
  font-size: var(--fs-body);
  color: var(--muted);
  border-bottom: 0;
}
.menu nav .menu__sub > div > a:first-child { padding-top: .85rem; }
.menu nav .menu__sub > div > a:last-child  { padding-bottom: .95rem; }
.menu nav .menu__sub a:hover { color: var(--ink); }
.menu nav .menu__sub a[aria-current="page"] { color: var(--bronze); }


.menu__foot { margin-top: var(--sp-4); display: grid; gap: .5rem; }
.menu__foot a { font-size: var(--fs-sm); color: var(--ink); }
.menu__foot span { font-size: var(--fs-sm); color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .menu nav .menu__sub,
  .menu__expand svg { transition: none; }
}

/* ===========================================================================
   Header, pass three
   Two changes that belong together.

   1. The bar blends into the top of the page and only turns solid once you
      scroll. Content no longer clears it with a padding on <body>; each hero
      clears it instead, so the hero's own ground runs up behind the bar.

   2. The drawer is the navigation at every width, so the bar carries the
      brand and the menu control and nothing else. MENU is set to the
      wordmark's ramp, weight and tracking, so the two ends read as one piece
      of type at any width rather than agreeing only at some.
   ========================================================================= */
body { padding-top: 0; }

/* The tall heroes bottom-align their content, so they clear the bar already;
   the short ones need the room adding to their top. */
.section.page-hero:not(.page-hero--tall) {
  padding-top: calc(var(--section-y) * .72 + var(--header-h));
}

.header { background: transparent; border-bottom-color: transparent; }
.header.is-stuck { background: var(--paper); border-bottom-color: var(--rule); }

/* The drawer is the only navigation now. The generated stylesheet made three
   swaps at 62rem for the desktop nav it no longer has — nav in, toggle out,
   and the drawer itself hidden outright. All three are undone here. The last
   one needs !important to answer theirs, and it is the one that matters: the
   toggle was visible on desktop while the panel it opens could never paint. */
.header__nav { display: none; }
.menu-toggle { display: inline-flex; }
@media (min-width: 62rem) {
  .menu { display: flex !important; }
}
.menu-toggle__label {
  font-size: clamp(.8125rem, 1.1vw, .9375rem);
  font-weight: 500;
  letter-spacing: .06em;
}

/* Only the home page opens on a dark photograph, so only there does the bar
   reverse out before it sticks. The marks are stacked and cross-faded rather
   than swapping src, which would flash on the first scroll. */
.header .brand { position: relative; }
.header .brand__mark { transition: opacity var(--t-mid) var(--ease); }
.brand__mark--white {
  position: absolute;
  inset-block-start: 50%;
  translate: 0 -50%;
  opacity: 0;
}
body:has(.hero) .header:not(.is-stuck) .brand__word,
body:has(.hero) .header:not(.is-stuck) .menu-toggle__label { color: #fff; }
body:has(.hero) .header:not(.is-stuck) .menu-toggle__bars span { background: #fff; }
body:has(.hero) .header:not(.is-stuck) .brand__mark { opacity: 0; }
body:has(.hero) .header:not(.is-stuck) .brand__mark--white { opacity: 1; }

/* ---- Professional background & credentials (About) ---------------------
   An icon grid: a large mono numeral stands in
   for the line icon, the cell is centred, and there are no rules — the
   numeral carries the division on its own. Three cells, so the grid steps
   1 -> 2 -> 3 rather than settling at a 2x2.
   ---------------------------------------------------------------------- */
.cred__lead { margin-top: var(--sp-4); max-width: 60ch; }

.creds {
  display: grid;
  gap: var(--sp-6) var(--sp-5);
  margin-top: var(--sp-7);
}
@media (min-width: 48rem) { .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .creds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cred { text-align: center; }

/* A drawn mark rather than a numeral: these three are a set, not a
   sequence, so a figure implied an order the content does not have.
   Near-colourless -- the accent is already carrying
   the rules and the card numerals, and a third use of it here was too
   much. The mark scales with the type, so the ratio between them holds. */
.cred__icon {
  display: block;
  margin-inline: auto;
  width: 64px;
  height: 64px;
  color: rgba(255, 255, 255, .62);
}

.cred__label {
  margin-top: var(--sp-3);
  font-family: var(--font-sans);
  font-size: 22px;        /* was .875rem, 14px */
  font-weight: 500;       /* was 700 */
  /* .1em reads as deliberate at 12px and merely loose at 14px. */
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
}

.cred__body {
  margin-top: var(--sp-2);
  margin-inline: auto;
  max-width: 38ch;
  font-size: clamp(1.0625rem, 1.05vw, 1.1875rem);
  line-height: 1.6;
  color: var(--d-muted);
}

/* A muted lead sitting above darker body copy inverts the hierarchy: the
   sentence that carries the point ends up the faintest thing in the block.
   Where a lead is actually followed by body copy, it takes the ink. Leads
   that stand alone under a heading keep their muted treatment. */
.on-warm .lead:has(+ p) { color: var(--ink); }

/* ===========================================================================
   Contact
   The form sits in a narrow column with the ways of reaching us beside it,
   set at display size so an address is as easy to lift off the page as a
   heading. Below 62rem the details come first and the form follows.
   ========================================================================= */
.connect__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-7); }
.connect__details { order: 2; }
.connect__col { order: 1; }
.connect__card .form-compact { max-width: 30rem; }

.connect-b__mail {
  display: inline-block;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--accent);
  text-decoration: none;
}
.connect-b__mail:hover { text-decoration: underline; }

/* A quiet label over the thing it names, matching the city labels below, so
   the email and the two offices read as one list rather than a lone link
   followed by two addresses. */
.cgroup__label {
  margin-top: 0;
  margin-bottom: var(--sp-3);
  font-family: var(--font-sans);
  font-size: 18px;        /* was --fs-eyebrow, 12px */
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.cgroup__label--spaced { margin-top: var(--sp-6); }
.offices-b { display: grid; gap: var(--sp-5); margin-top: 0; }


.office-b__addr {
  margin-top: var(--sp-3);
  font-style: normal;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--ink);
}


/* Get directions takes the ruled-row pattern the Process index uses: label
   left, arrow right, hairlines top and bottom, arrow sliding on hover. A
   house component rather than a small uppercase link. */
.dir-row {
  margin-top: var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  max-width: 18rem;
  padding: .85rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.dir-row .arrow { transition: transform var(--t-mid) var(--ease); }
.dir-row:hover { color: var(--accent); }
.dir-row:hover .arrow { transform: translateX(5px); }

@media (prefers-reduced-motion: reduce) {
  .dir-row .arrow { transition: none; }
  .dir-row:hover .arrow { transform: none; }
}

/* "Optional" beside a label, so a field nobody has to fill says so rather
   than leaving the asterisks to be counted. */
.opt {
  margin-left: .4rem;
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* The mark alone, under the offices: a pill button the width of its own
   label was competing with the form's own call to action a column away. */
.connect__social {
  /* The generated rule pushes this to the far right of a flex column; here it
     belongs on the same left edge as the addresses above it. */
  margin-top: var(--sp-6);
  padding-top: 0;
  justify-content: flex-start;
}
.social-mark {
  display: inline-flex;
  color: var(--muted);
  transition: color var(--t-fast) var(--ease);
}
.social-mark:hover { color: var(--accent); }
/* Sized here rather than on the svg's own width/height, so the mark scales
   with the addresses it sits under instead of with the icon set. */
.social-mark svg { width: 2rem; height: 2rem; }

@media (max-width: 61.99rem) {
  .connect__inner { grid-template-columns: minmax(0, 1fr); }
  .connect__details { order: 1; }
  .connect__col { order: 2; }
}

/* A hero carrying only an eyebrow and a line: both take more weight than on
   a page with a lede under them. Same ramp as the tall heroes, so the set
   reads as one family. Opt-in, so the other short heroes are untouched. */
.page-hero--lg .eyebrow { font-size: clamp(.8125rem, 1vw, .9375rem); letter-spacing: .1em; }
.page-hero--lg .hero-display { font-size: clamp(2.25rem, 4.6vw, 4rem); }
.page-hero--lg .hero-sub { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.5; }
/* The home hero takes the same ramp, so the two opening ledes match. */
.hero .hero-sub { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.5; }

/* Team intro: the three numbered rows that used to follow the grid, said
   once. Wider measure than body copy so it reads as a standing statement
   rather than the first paragraph of something longer. */
.team-intro {
  max-width: 80ch;
  margin-bottom: var(--sp-7);
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink);
}

/* ===========================================================================
   Ruled row link
   The treatment Get directions and Read profile use, available to any link
   that should read as a row rather than a pill. --fg and --rule already flip
   on the dark bands, so one rule covers light and dark sections.
   ========================================================================= */
.row-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  width: 100%;
  max-width: 20rem;
  min-height: 0;
  padding: .95rem 0;
  border: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: none;
  color: var(--fg);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.row-link,
.row-link .bar-link__label {
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.row-link .arrow { flex: none; transition: transform var(--t-mid) var(--ease); }

.row-link:hover,
.row-link:focus-visible {
  background: none;
  border-top-color: var(--rule);
  border-bottom-color: var(--rule);
  color: var(--accent);
}
.row-link:hover .arrow,
.row-link:focus-visible .arrow { transform: translateX(5px); }

/* .closing sits on a photograph but is not an .on-dark context, so --fg and
   --rule stay in light mode there. Without this a row inside it renders
   near-black on a dark image and disappears. */
.closing .row-link { color: #fff; border-color: rgba(255, 255, 255, .55); }
.closing .row-link:hover { color: #fff; border-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .row-link .arrow { transition: none; }
  .row-link:hover .arrow,
  .row-link:focus-visible .arrow { transform: none; }
}

/* Back to body size. At 17-20px this opening ran close to a full screen
   before the table it is introducing came into view. */
.compare__intro p {
  font-size: var(--fs-body);
  line-height: 1.65;
}

/* The section heading sits beside its body rather than over a whole band,
   so it takes a step down from the page's display scale. */
.compare-head .display-h { font-size: clamp(1.625rem, 2.6vw, 2.125rem); }

.compare__close {
  margin-top: var(--sp-6);
  max-width: 62ch;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--fg);
}

/* A lede that is the whole of its section rather than the opening of a
   longer column: it takes a wider measure and a step up in size, so it
   fills the band instead of stopping two thirds across. */
.lede--wide { max-width: 82ch; }
.lede--wide .lede__open { font-size: clamp(1.25rem, 2.1vw, 1.625rem); line-height: 1.45; }

/* The heading-beside-body split needs more room than the house breakpoint
   gives it. At 992px the heading column is 352px, which breaks "Same offer.
   Different outcome." across three lines and squeezes the body beside it.
   Hold the stack until there is width for both. */
@media (max-width: 74.99rem) {
  .compare-head { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
}


/* ===========================================================================
   Button
   Label left, arrow in its own tile at the right, one fixed box so several on
   a page line up. Filled, and identical on every ground: --accent is pale
   blue on dark sections and navy on light ones, so colours come from the
   fixed tokens instead, and the CTA keeps one character throughout.
   ========================================================================= */
.btn {
  position: relative;
  isolation: isolate;                /* keeps the curtain inside the box */
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  /* Fixed, not fluid: sized to hold the longest label on the site, RETURN TO
     THE HOMEPAGE, so two buttons side by side come out the same width. It went
     to 21rem while the label was 15px, because at that size that label needed
     330px and the 404 pair stopped matching. Back at 13px it needs 299px, so
     20rem holds it again. */
  min-width: 20rem;
  min-height: 3.5rem;
  padding: .5rem .5rem .5rem 1.5rem;
  border: 1px solid rgba(13, 17, 22, .28);
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  color: var(--bronze);
  /* The label used to be held back .18s and then take .34s, while the curtain
     passes it at about .16s — so it sat bronze-on-bronze for two tenths of a
     second and read as a flicker. The white now leaves at .06s and lands in
     .2s, arriving with the wipe instead of behind it. `transform` is in the
     list for the pressed state further down. */
  transition: color .2s cubic-bezier(.4, 0, .2, 1) .06s,
              border-color .34s cubic-bezier(.4, 0, .2, 1),
              transform .13s cubic-bezier(.4, 0, .2, 1);
}

/* One filled treatment replaces the old variants; the classes stay in the
   markup but no longer carry colour of their own. */
.btn--outline,
.btn--light,
.btn--ghost,
.btn--ink,
.btn--brass {
  background: transparent;
  border-color: rgba(13, 17, 22, .28);
  color: var(--bronze);
}

/* The base button lifted 1px on hover. The curtain carries the hover now, and
   the lift had nothing to animate on once this rule replaced the transition
   shorthand, so it snapped. :active is no longer listed here — it carries the
   pressed state at the foot of this section. */
.btn:hover { transform: none; }

.btn__label {
  /* 13px on a boxed button. It went 12 -> 13 -> 15 and back: 15 was set when
     half the buttons had just lost their boxes and the type was carrying the
     affordance alone, but inside an outline at 320x62 it reads forced. The
     unboxed treatments keep 15px further down, where no border is doing that
     work. Tracking stays .1em, which an earlier note put at the edge of
     looking loose by 14px -- at 13 it is comfortably inside that. */
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: left;
}

.btn__tile {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  background: rgba(13, 17, 22, .05);
  color: var(--bronze);
  transition: background-color .2s cubic-bezier(.4, 0, .2, 1) .06s,
              color .2s cubic-bezier(.4, 0, .2, 1) .06s;
}
.btn__tile svg { display: block; }

/* The curtain: one slow wipe, eased in and out. Down on the way in and on
   down again on the way out, so there is movement in each direction. */
.btn:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bronze);
  transform: scaleY(0);
  transform-origin: bottom;
  will-change: transform;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}
/* Keyboard focus is unconditional: a keyboard reaches a touch device too. */
.btn:focus-visible:before {
  transform: scaleY(1);
  transform-origin: top;
}
/* the copy crosses to white behind the curtain, not ahead of it, and the
   outline gives way to the fill the curtain brings */
.btn:focus-visible { color: #fff; border-color: transparent; }
.btn:focus-visible .btn__tile { background: #fff; color: var(--bronze); }

/* Hover, on the other hand, is guarded. Without this a tap on a phone applies
   :hover and the button can stay filled after the visitor navigates back. */
@media (hover: hover) {
  .btn:hover:before {
    transform: scaleY(1);
    transform-origin: top;
  }
  .btn:hover { color: #fff; border-color: transparent; }
  .btn:hover .btn__tile { background: #fff; color: var(--bronze); }
}

/* The one filled button on the site. Everything else is an outline, so the
   action the whole site exists to produce is the only thing promoted — and
   it takes the full --bronze (#33497C, the dark blue) rather than a tint of
   it, so it reads as primary rather than as a paler version of the rest. */
.btn[type="submit"] {
  background: var(--bronze);
  border-color: transparent;
  color: #fff;
}
.btn[type="submit"] .btn__tile { background: #fff; color: var(--bronze); }

/* Its curtain has to be darker than its own fill, or hovering the one filled
   button on the site would do nothing visible. */
.btn[type="submit"]:before { background: var(--navy); }
.btn[type="submit"]:focus-visible { color: #fff; }
.btn[type="submit"]:focus-visible .btn__tile { background: #fff; color: var(--navy); }
.btn[type="submit"]:active .btn__tile { background: #fff; color: var(--navy); }
@media (hover: hover) {
  .btn[type="submit"]:hover { color: #fff; }
  .btn[type="submit"]:hover .btn__tile { background: #fff; color: var(--navy); }
}

/* --------------------------------------------------------- pressed state ---
   :active used to carry nothing at all, so a click produced no feedback: the
   curtain takes .6s and a decisive click navigates before any of it shows.
   On a touch device, where hover is now guarded out, this is the only answer
   the button gives. It fills in .14s and eases down 1.5% — enough to register
   as a press without becoming a bounce. */
.btn:active {
  transform: scale(.985);
  color: #fff;
  border-color: transparent;
}
.btn:active:before {
  transform: scaleY(1);
  transform-origin: top;
  transition-duration: .14s;
}
.btn:active .btn__tile { background: #fff; color: var(--bronze); }

/* ------------------------------------------------------ a solo button ------
   The fixed 20rem box keeps buttons aligned where two sit side by side, and
   suits the 53 of 71 labels that run 15-20 characters. A lone short label
   does not need it: "About" left about 180px of nothing and started to read
   as a disabled input. Only buttons carrying this class shrink. */
.btn--auto { min-width: 0; }

/* -------------------------------------------------- an address, verbatim ---
   .btn__label uppercases every label, which is right for a call to action and
   wrong for an email address — the one string on a page a reader retypes.
   Dropping the caps left 13px looking undersized, so this sizes up and drops
   the wide tracking with it. */
.btn--plain .btn__label {
  text-transform: none;
  letter-spacing: .005em;
  font-size: .9375rem;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn:before { transition: none; }
  .btn:active { transform: none; }
}

@media (max-width: 30rem) {
  .btn { min-width: 0; width: 100%; }
}


/* ===========================================================================
   Hero headlines, interior pages
   One treatment for every interior hero line: caps at 62px. The home hero
   is deliberately not in this list — it stays a step larger at 64px, set
   in its own rule above, so the landing page keeps the loudest line.
   The interior heroes previously ran three different scales — 56px for the
   plain page hero, 64px for the tall and large variants, and 88px for the
   landing page's own page-local rule — none of which matched the home hero
   they sit under. The clamp is the home one, so all of them now ramp and
   cap together.

   Caps release the tracking: -.025em suits sentence case and closes capitals
   up too far, so it goes to .005em, the value the home headline already used.

   Note the markup side of this. Every hero h1 carried an inline
   style="max-width:18ch", which outranks any rule here, and 18ch of caps is
   narrower than 18ch of sentence case — the cap broke lines that otherwise
   fit. Those attributes are gone; if one comes back in a new page, that
   page's headline will wrap early and nothing in this stylesheet can stop it.
   ========================================================================= */
.page-hero .hero-display,
.page-hero--tall .hero-display,
.page-hero--lg .hero-display {
  font-size: clamp(2.375rem, 5.2vw, 3.875rem);
  line-height: 1.14;
  letter-spacing: .005em;
  text-transform: uppercase;
}

/* The kicker over it, matched the same way. */
.page-hero .eyebrow,
.page-hero--tall .eyebrow,
.page-hero--lg .eyebrow {
  font-size: clamp(.875rem, 1.12vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: .08em;
}
/* ------------------------------------------------------ drawer overflow ---
   The drawer is a fixed, full-height flex column with overflow visible, so
   anything taller than the viewport was simply unreachable — not scrolled
   off, gone. On a 375x667 phone with the Process group expanded that is 96px
   of it, which puts "Schedule a call" past the bottom edge with no way to
   get to it. The same happens on any short window once a group is open.

   overflow-y: auto gives it somewhere to go. justify-content was centring the
   column, which fights a scroll container once the content is taller than the
   box (the overflowing top becomes unreachable in some engines), so the
   content starts at the top instead.

   overscroll-behavior stops the scroll chaining to the page behind once the
   drawer hits its end — the page under it is already locked by
   .curtain-active-style body overflow, but the drawer is its own scroller. */
.menu {
  justify-content: flex-start;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* ------------------------------------------------- drawer sub-item size ---
   The sub-items sat at --fs-body (16px) under a 32px parent — exactly half,
   which read as a caption rather than as navigation one level in. 24px puts
   them at three quarters of the parent.

   24px only where there is room for it. The gate is width OR height, not
   width alone: a landscape phone is 844 wide and 390 tall, so a width-only
   rule would hand it the large size on the shortest screen there is. Below
   48rem wide or 44rem tall the sub-items stay at 18px, which is still a step
   up from 16px and costs nothing.

   Tested at 375x667 with the Process group open: 24px overflows the drawer by
   191px, 18px by nothing. The drawer scrolls now either way, so neither is
   unreachable — but 18px means a visitor on a small phone never has to. */
.menu nav .menu__sub a {
  font-size: 24px;
  line-height: 1.45;
}

@media (max-width: 48rem), (max-height: 44rem) {
  .menu nav .menu__sub a { font-size: 18px; line-height: 1.55; }
}

/* Third step, for the narrowest phones. At 375x667 with the Process group
   open the drawer still overflowed 183px at 18px, so the call button was a
   scroll away. 16px brings it back within reach without one.

   This sits after the 48rem rule deliberately: below 26rem both queries
   match, and equal specificity means the later one wins. Reordering these
   two would silently undo it. */
@media (max-width: 26rem) {
  .menu nav .menu__sub a { font-size: 16px; line-height: 1.7; }
}

/* -------------------------------------------------------- drawer width ---
   The panel was min(26rem, 88vw) — 416px at most, which on a 1440 screen is
   29% of the window and reads as a narrow strip. Widened to roughly 42% on
   desktop, in line with the reference, which gives the 24px sub-items room
   to sit on one line.

   Only above 62rem. Below that the panel is already most of the screen and
   88vw is the right answer; widening there would just push the page out of
   view behind it. The vw term means it keeps its proportion between 992px
   and about 1380px, and the rem cap stops it sprawling on a wide monitor. */
@media (min-width: 62rem) {
  .menu { width: min(38rem, 44vw); }
}

/* --------------------------------------------------- drawer foot + CTA ---
   The button was width:100%, which was fine in a 416px panel and wrong in a
   608px one — it stretched to 444px and stopped looking like the button it
   is everywhere else on the site. It keeps the component's own fixed box
   instead, the same 20rem the buttons use on every page, so widening the
   panel no longer changes it. justify-content goes back to the component's
   own value so the label stays left and the arrow tile stays right.

   The foot lines go to 18px, both in ink. "Vancouver · Miami" was --muted
   grey at --fs-sm; at this size that read as a caption under the email
   rather than as the second half of a pair. */
.menu .btn {
  width: auto;
  justify-content: normal;
}

.menu__foot a,
.menu__foot span {
  font-size: 18px;
  color: var(--ink);
}

/* ================================================== drawer: sliding panes ===
   The stages used to expand downward, which grew the drawer: that is what
   pushed the call button off a 667px screen and forced the scroll fix. They
   slide in from the side instead, so the panel never grows — the sub-list
   replaces the top level rather than adding to it.

   No markup change. The root "pane" is every child of nav except .menu__sub,
   moved as a group; .menu__sub is lifted out of flow and parked to the right.
   main.js sets nav's height to whichever pane is showing, so the panel is
   never taller than its content.

   Rows carry no permanent rule now. A 2px line draws under the label on
   hover instead — the old hover went from near-black to grey, so the row
   dimmed when you pointed at it. */
.menu nav {
  position: relative;
  overflow: hidden;
  border-top: 0;
  transition: height .42s cubic-bezier(.33, 0, .16, 1);
}

.menu nav > *:not(.menu__sub) {
  transition: transform .42s cubic-bezier(.33, 0, .16, 1), opacity .3s var(--ease);
}
.menu nav.is-sub > *:not(.menu__sub) {
  transform: translateX(-22%);
  opacity: 0;
  pointer-events: none;
}

/* the sub-list as the second pane */
.menu nav .menu__sub,
.menu nav .menu__sub.is-open {
  position: absolute;
  inset: 0 0 auto 0;
  display: block;
  grid-template-rows: none;
  padding: 0;
  border-bottom: 0;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .42s cubic-bezier(.33, 0, .16, 1), opacity .3s var(--ease);
}
.menu nav .menu__sub > div { overflow: visible; }
.menu nav .menu__sub.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* ---- rows: no rules, a line on hover ---- */
.menu nav a,
.menu nav a:last-of-type,
.menu__row {
  border-bottom: 0;
}
.menu nav > a,
.menu__row > a {
  position: relative;
  transition: color .2s var(--ease);
}
.menu nav > a:after,
.menu__row > a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: .55rem;
  height: 2px;
  width: 100%;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .34s var(--ease);
}
.menu nav > a:hover,
.menu nav > a:focus-visible,
.menu__row > a:hover,
.menu__row > a:focus-visible { color: var(--bronze); }
.menu nav > a:hover:after,
.menu nav > a:focus-visible:after,
.menu__row > a:hover:after,
.menu__row > a:focus-visible:after { transform: scaleX(1); }

/* ---- the control that opens the pane: the button's own arrow tile ---- */
.menu__expand {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  background: rgba(13, 17, 22, .05);
  color: var(--bronze);
  transition: background-color .24s var(--ease), color .24s var(--ease),
              transform .24s var(--ease);
}
.menu__expand:hover,
.menu__expand:focus-visible {
  background: var(--bronze);
  color: #fff;
  transform: translateX(3px);
}

/* ---- back out of the pane ---- */
.menu__back {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: .2rem 0 1.1rem;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.menu__back:hover { color: var(--bronze); }
.menu__back span {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  background: rgba(13, 17, 22, .05);
  color: var(--bronze);
  transition: background-color .24s var(--ease), color .24s var(--ease),
              transform .24s var(--ease);
}
.menu__back:hover span {
  background: var(--bronze);
  color: #fff;
  transform: translateX(-3px);
}

/* sub-items get the same hover rule */
.menu nav .menu__sub a { position: relative; }
.menu nav .menu__sub a:after {
  content: "";
  position: absolute;
  left: 1.25rem;
  right: 0;
  bottom: .3rem;
  height: 2px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .34s var(--ease);
}
.menu nav .menu__sub a:hover:after,
.menu nav .menu__sub a:focus-visible:after { transform: scaleX(1); }

/* ------------------------------------------------------------ fact label ---
   12px (--fs-eyebrow) read as metadata rather than as the thing naming the
   paragraph under it — the smallest type on the site after the mobile table
   pseudo-labels. 18px against the 16px paragraph is a 1.13 step, which is
   enough when caps and 700 are already carrying presence; 20px tipped it into
   competing with the section headings.

   Scoped to .fact__label alone, not to the grouped label rule above — that
   selector also covers .eyebrow, .person__role, .criterion__label and the
   rest, none of which are changing.

   The paragraph ended at 20px, matching the tick rows and .lead, so the label
   goes to 22px to keep a step above it — 1.10. Checked on valuation, which
   runs three columns and carries the longest label on the site, "WHY IT
   CHANGES THE OUTCOME": it still holds one line at 22px in the narrower
   column, which is the case that would break first.

   Only the four stage pages carry this block. The process overview has no
   .fact at all, so it needs no exclusion. */
.fact p.fact__label {
  /* Selector carries the element so it outranks the generated `.fact p`
     colour rule (0,0,1,1); a bare .fact__label loses to it and the title
     stayed muted grey instead of ink.
     Card title, matching .prop__t on About: sentence case, not the tracked
     caps the grouped eyebrow rule further up gives it. That rule is a bare
     .fact__label too, so this one has to sit after it to win. */
  margin: 0;
  font-size: clamp(1.1875rem, 1.5vw, 1.375rem);
  font-weight: 500;
  /* Caps need positive tracking; the -.012em that suits sentence case closes
     capitals up. .08em matches the hero kicker. */
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}

/* 20px, matching the tick rows further down these same pages and the site's
   .lead. Label and paragraph are the same size again as a result — caps and
   700 do the separating — but the page now reads at one body size throughout,
   which was the point. */
.fact p:not(.fact__label) {
  margin: 0;
  /* 20px, not 22: the label resolves to 21.6px, so 22 left the body larger
     than the title of its own card. 20 also matches the tick rows below, so
     the page carries one body size. */
  font-size: 20px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--muted);
}

/* ------------------------------------------------------------ tick rows ---
   The text inside the tick blocks ran at --fs-sm (15px) — the smallest body
   text on the site, and smaller than the fact paragraphs sitting directly
   above it on the same pages. 20px brings it to the size .lead and
   .lede__body use, so the substance of these sections reads as body copy
   rather than as fine print.

   Leading is unitless 1.6 on the existing rule, so it follows on its own:
   24px becomes 32px. That costs height — on business-strategy, ten rows add
   about 184px — which is the trade for legibility on pages that are already
   long.

   Only the four process stage pages use this component (10, 7, 10 and 12
   blocks). The process overview has none, so it needs no exclusion. */
.note__body p:not(.note__label),
.note__body li { font-size: 20px; }

/* ---------------------------------------------------------------------------
   Photo heroes on interior pages.

   The home hero already layers a photograph under a scrim with .hero__media /
   .hero__scrim, so this reuses those two layers rather than inventing a second
   mechanism. What it adds is the token flip: .page-hero ships the light set
   (paper-alt ground, ink type, bronze eyebrow), and a photograph underneath
   needs the dark set instead.
   ------------------------------------------------------------------------ */
.page-hero--media {
  background: var(--navy);
  color: #fff;
  --fg: #fff;
  --fg-muted: var(--d-muted);
  --rule: rgba(255, 255, 255, .18);
  --accent: var(--brass);
}
.page-hero--media > .wrap { width: 100%; }
.page-hero--media .hero-display { color: #fff; }
.page-hero--media .eyebrow { color: var(--brass); }
.page-hero--media .hero-sub { color: var(--d-muted); }

.page-hero--media .hero__media { position: absolute; inset: 0; z-index: 0; }
/* Contact reuses the closing band's harbour picture, which ships as a
   <picture> with avif/webp sources, so the wrapper has to fill the box too. */
.page-hero--media .hero__media picture { display: block; width: 100%; height: 100%; }
.page-hero--media .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.82) saturate(.88) contrast(1.04);
}
.page-hero--media .hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(13, 17, 22, .88), rgba(13, 17, 22, .55) 40%, rgba(13, 17, 22, .22) 100%),
    linear-gradient(to right, rgba(13, 17, 22, .55), rgba(13, 17, 22, 0) 62%);
}

/* The circuit field has nothing to draw over a photograph. The canvas is also
   removed from the markup on those pages, so this is the belt to that braces. */
.page-hero--media canvas.circuit { display: none; }

/* The header is transparent with ink type, which disappears against a dark
   hero. Home solves this with the body:has(.hero) block further up; a photo
   hero needs exactly the same treatment, so the selector list is the same one
   widened to cover it. The header flips back to ink the moment it sticks. */
body:has(.page-hero--media) .header:not(.is-stuck) .brand__word,
body:has(.page-hero--media) .header:not(.is-stuck) .menu-toggle__label { color: #fff; }
body:has(.page-hero--media) .header:not(.is-stuck) .menu-toggle__bars span { background: #fff; }
body:has(.page-hero--media) .header:not(.is-stuck) .navlink { color: #fff; }
body:has(.page-hero--media) .header:not(.is-stuck) .navlink:after { background: #fff; }
body:has(.page-hero--media) .header:not(.is-stuck) .brand__mark { opacity: 0; }
body:has(.page-hero--media) .header:not(.is-stuck) .brand__mark--white { opacity: 1; }

/* ---------------------------------------------------------------------------
   Home page lead copy.

   Sitewide .lead is a flat 20px. On the home page it sits beside the 49-54px
   .display-h in a two-column split, where 20px reads as a caption rather than
   an intro: the heading's clamp nearly doubles across the viewport range while
   .lead does not move, so the gap between them widens from 1.4x on a phone to
   2.7x at 1920. 22px/500 closes it to about 2.2x.

   Scoped with body:has(.hero) because .hero is the home hero and no other page
   carries it — the same hook the header's light-on-dark block above uses.

   The weight deliberately skips .lead--emph. This selector out-specifies that
   class (0,0,2,1 against 0,0,1,0), so setting font-weight on all .lead here
   would drop the emphasised paragraph from 600 to 500 and erase the
   distinction it exists to make.
   ------------------------------------------------------------------------ */
body:has(.hero) .lead { font-size: 22px; }
body:has(.hero) .lead:not(.lead--emph) { font-weight: 500; }

/* About page lead copy — all three of them, on all three grounds:
   "Why ZUS Capital" (dark), "Professional background & credentials"
   (graphite) and "Dedicated sell-side representation" (warm).

   Scoped with body:has(.props) — .props is the six-principle grid and exists
   only on this page — following the body:has(.hero) hook used for home above.

   This deliberately takes .lead--emph down from 600 to 500 as well. The
   selector out-specifies that class (0,0,2,1 against 0,0,1,0) so it wins
   without !important, and on this page the emphasis is no longer wanted. */
body:has(.props) .lead {
  font-size: 22px;
  font-weight: 500;
}

/* "Dedicated sell-side representation" also lifts the plain paragraph beneath
   its .lead, from 16px, so the pair reads as one block rather than an intro
   with a footnote. `.lead + p` is that second paragraph only — the third is
   .lead + p + p and just wraps the button, so it keeps its own size.
   .section.on-warm is not unique to this page (why-buyers-call has one too),
   hence the explicit .sellside class on the section. */
.sellside .lead + p {
  font-size: 22px;
  font-weight: 500;
}

/* Process overview -> "Investment criteria" lead.
   Hooked on .criteria-cell, the lit criteria grid, which only this page has.
   Takes .lead--emph 600 -> 500, as the About page's block does. */
body:has(.criteria-cell) .lead {
  font-size: 22px;
  font-weight: 500;
}

/* Stage-page fact panels as cards — the .prop card from About, reversed out
   for the light ground. Same grid, same 1.75rem padding, same 14px radius and
   the same pointer-glow tokens; only the surface values differ, and the
   numbered chip is left off because these facts have no natural number.

   No page scope needed: .fact and .facts-row exist only on the four stage
   pages (business-strategy, valuation, controlled-outreach,
   diligence-and-close). The process overview has none, so it is untouched. */
.facts-row { gap: var(--sp-3); }
.fact {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: .9rem;
  align-content: start;
  padding: 1.75rem;
  text-align: left;
  /* the generated rule gives these a top hairline and top padding; the card
     edge does that job now */
  padding-top: 1.75rem;
  border: 1px solid var(--cell-edge);
  border-radius: 14px;
  background: rgba(13, 17, 22, .025);
  transition: border-color .4s var(--ease-out);
}
.fact:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(16rem circle at var(--mx, 50%) var(--my, 50%),
    rgba(var(--cell-glow), var(--cell-glow-a)),
    rgba(var(--cell-glow), calc(var(--cell-glow-a) * .18)) 45%,
    transparent 72%);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}
.fact:hover { border-color: var(--cell-edge-lit); }
.fact:hover:before { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .fact:before { transition: none; }
}

/* Contact -> the Get directions button sat flush against the address: the
   <address> carries a margin-top but nothing below it, and the button is its
   next sibling with no margin of its own, so the measured gap was 0px.
   --sp-4 is what the rest of the site puts between body copy and a button.
   .office-b is only on the contact page. */
.office-b .btn { margin-top: var(--sp-4); }

/* The checkbox group's legend, on its own: it shares a rule further up with
   .connect__line strong and .connect__sub at --fs-eyebrow (12px), and those
   should stay where they are. */
.checks legend { font-size: 16px; }

/* ---------------------------------------------------------------------------
   Legal pages — column alignment.

   .legal is max-width: 44rem on a .wrap, and .wrap carries margin-inline: auto,
   so the clause column was being centred in the viewport while the page title
   above it sat at the left gutter. At 1440 that put the body 302px to the right
   of its own heading — the skew. margin-inline: 0 lines the column up with the
   title and with every other section on the site.

   Widened from 44rem to 56rem at the same time, and the body from 16px to 18px
   so the longer line still reads: a wider column at 16px would have pushed the
   measure past what anyone can track.
   ------------------------------------------------------------------------ */
/* The legal pages read as documents rather than as sections of the site, so
   title and body sit together in one centred column — option A of the mock.
   Both the hero's inner wrap and the clause column take the same 63rem, which
   holds the measure near 80 characters, and both centre, so the two share a
   left edge with equal air either side. Centring the body alone is what caused
   the original skew: the title stayed at the gutter while the text floated to
   the middle. Text stays left-aligned inside the column. */
/* The hero now matches every other page: title at the left gutter, not
   centred. The clause column follows it to the same edge — centring the body
   while the title sits at the gutter is what produced the original 302px
   skew. 63rem keeps the measure near 80 characters. */
.legal {
  max-width: 63rem;
  margin-inline: 0;
}
.legal p,
.legal li {
  font-size: 22px;
  font-weight: 500;
}
/* Clause headings at body size, per the reference. Size and weight now match
   the paragraphs exactly, so the ink/muted colour split is the only thing
   separating them — weight stays 600 to keep them findable when skimming. */
.legal h2 {
  font-size: 22px;
  font-weight: 600;
}

/* The generated stylesheet gives .legal li an em-dash marker in a left pad.
   Marker removed, and the padding with it — without the dash the indent reads
   as a stray offset, and the items now align with the paragraphs around them. */
.legal li:before { content: none; }
.legal li { padding-left: 0; }

/* Legal body copy, small screens.
   22px reads well in the 876px desktop column — about 80 characters — but on a
   375px phone the same size gives a 335px column and roughly 30 characters a
   line, which is too narrow to read comfortably. 18px takes that to about 37.
   Headings step with it so the pair keeps the relationship it has on desktop. */
@media (max-width: 48rem) {
  .legal p,
  .legal li { font-size: 18px; }
  .legal h2 { font-size: 18px; }
}

/* ===========================================================================
   Industries index cards
   The only component the Industries section needed that the site did not
   already have: a photo card with the label over the image. Built from the
   existing tokens — the 14px radius of the fact cards, the hero's own scrim
   gradient, and the tile that the buttons use for their arrow.
   ========================================================================= */
.ind-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
@media (min-width: 48rem) {
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ind-card {
  position: relative;
  display: block;
  overflow: clip;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
}
.ind-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.82) saturate(.88) contrast(1.04);
  transition: transform .6s var(--ease-out);
}
.ind-card:hover img,
.ind-card:focus-visible img { transform: scale(1.03); }
.ind-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(13, 17, 22, .86), rgba(13, 17, 22, .32) 52%, rgba(13, 17, 22, .1) 100%);
}
.ind-card__row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  align-content: end;
  justify-content: space-between;
  gap: var(--sp-3);
  height: 100%;
  padding: var(--sp-4);
  box-sizing: border-box;
}
.ind-card__name {
  align-self: flex-end;
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -.012em;
}
.ind-card__tile {
  align-self: flex-end;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.ind-card:hover .ind-card__tile,
.ind-card:focus-visible .ind-card__tile {
  background: rgba(255, 255, 255, .26);
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .ind-card img,
  .ind-card__tile { transition: none; }
  .ind-card:hover img { transform: none; }
}

/* Industries lead copy, index and the four subpages alike.
   Scoped to a class on <main> rather than to a hook that happens to be on the
   page: the subpages were picking up 22px from the About block only because
   they reuse its .props cards, and the index, having no .props, fell back to
   the sitewide 20px — two sizes in one section for an unrelated reason. */
.industries .lead {
  font-size: 22px;
  font-weight: 500;
}

/* .index--compact assumes three children — number, title, arrow — and lays out
   44px / 1fr / auto to match. The Industries rows have no number (the four
   trades are not a sequence), so the title was landing in the 44px number
   column and the arrow in the title column, leaving it stranded mid-row
   instead of at the right edge. Same fix as the home index when its numbers
   came off: drop to two columns when there is no .n to place. */
.index--compact a:not(:has(.n)) {
  grid-template-columns: minmax(0, 1fr) auto;
}


/* ===========================================================================
   Cookie / storage notice
   Informational, not a consent gate: the site sets no cookies and the only
   storage it uses is strictly necessary, so there is nothing to consent to.
   Sits bottom-RIGHT on purpose — the home hero's headline and button are
   bottom-left.
   =========================================================================== */
.cnote {
  position: fixed; z-index: 9000;
  right: var(--gutter); bottom: var(--gutter);
  width: min(26rem, calc(100vw - var(--gutter) * 2));
  display: grid; gap: var(--sp-2);
  padding: var(--sp-3);
  background: var(--ink); color: var(--d-fg);
  border: 1px solid rgba(255,255,255,.14);
  border-left: 2px solid var(--brass);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(13,17,22,.35);
  font-size: 15px; line-height: 1.55;
  opacity: 0; transform: translateY(10px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.cnote.is-in { opacity: 1; transform: none; }
.cnote[hidden] { display: none; }
.cnote__t {
  margin: 0;
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brass);
}
.cnote p { margin: 0; color: var(--d-muted); }
.cnote a { color: var(--d-fg); text-decoration: underline; text-underline-offset: 3px; }
.cnote__row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--sp-3); margin-top: .25rem;
}
.cnote__ok {
  appearance: none; cursor: pointer;
  min-height: 44px; padding: 0 1.25rem;
  background: var(--d-fg); color: var(--ink);
  border: 0; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  transition: background var(--t-fast) var(--ease);
}
.cnote__ok:hover { background: #fff; }
@media (max-width: 40rem) {
  .cnote { left: 1rem; right: 1rem; bottom: 1rem; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .cnote { transition: none; opacity: 1; transform: none; }
}


/* ===========================================================================
   Smooth scroll — Lenis's own stylesheet, inlined.
   Lenis does not fake the scroll: no transformed wrapper, no overflow
   container. It cancels the wheel gesture and animates the real scroll
   position each frame, so the scrollbar, window.scrollY, position:sticky,
   find-in-page and this site's own scroll listeners all keep working.
   =========================================================================== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }
