/* ============================================================================
   Relay Packaging — design tokens
   ----------------------------------------------------------------------------
   Client direction (see ../research_notes/client_decisions.md):
     • Site colour is BLACK / WHITE / GREY. The wireframe greyscale IS the design.
     • Interface stays greyscale; PHOTOGRAPHY KEEPS ITS COLOUR.
   So: never colour a UI surface. Colour enters this site only inside <img>,
   <video> and the .media slots below.

   Every value in :root is derived from GROUP-SOLUTIONS-SYSTEM-2024(1).pptx,
   measured at its native 1280x720 canvas. Conversion: 1pt = 1.3333px.
   Full measurements: ../research_notes/deck_layout_spec.md
   ========================================================================= */

:root {
  /* -- Greyscale ramp ------------------------------------------------------ */
  --ink:            #000000;   /* deck tx1 — all body copy, rules, input borders */
  --ink-70:         rgba(0,0,0,0.70);
  --ink-60:         rgba(0,0,0,0.60);  /* 5.7:1 on paper; 0.45 was 3.3:1, under AA */
  --ink-20:         rgba(0,0,0,0.20);
  --ink-10:         rgba(0,0,0,0.10);
  --paper:          #FFFFFF;   /* deck bg1 — page background */
  --placeholder:    #F2F2F2;   /* deck bg1 lumMod 95% — every image/video slot */
  /* Same value as --placeholder, deliberately NOT the same token. The deck
     uses this grey for two unrelated jobs: "an image goes here" and "a band
     sits behind this content" (slide 7's stat row). Kept separate so that
     restyling empty image slots — a likely change once real photography
     lands — cannot silently restyle a band that is finished design. */
  --band:           #F2F2F2;
  /* ⚠️ THE ONLY COLOUR IN THE UI THAT IS NOT THE LOGO ITSELF.
     The client's direction is black, white and grey with colour only in
     photography, which is why 网站素材/ASSET-MAP.md records "the logo is the only
     coloured element in the interface". The selected year on the timeline is
     blue, asked for 2026-10-02 ("make the current year colored in Blue as the
     logo color"), so this is a deliberate exception and a deck deviation.
     #2B6BB4 is sampled from the right half of the R device --- the brighter of
     the mark's two blues, picked over the #324A8E navy because it reads as a
     highlight rather than as near-black text. 4.9:1 on --paper, which clears AA
     for body text and is set here at 40pt. If a strictly monochrome interface is
     ever ratified, this token is the one place to change. */
  --brand-blue:     #2B6BB4;
  /* The logo's OTHER blue, and the darker of the two. Sampled from the mark
     itself (assets/logo.png): #324A8E is 3,362px of it, #2B6BB4 is 2,333px.
     Added 2026-10-05 for the hero CTA's hover state, which was asked to go
     from the light blue to the dark one. */
  --brand-navy:     #324A8E;
  --scrim:          rgba(0,0,0,0.45);  /* over hero video + tile hover dim */

  /* ⚠️ THE SECOND DELIBERATE COLOUR IN THE UI, AND THE FIRST THAT IS NOT THE
     LOGO. Asked for 2026-10-05: "label the countries with offices or
     factories in red", then "make the red color the same [as PDS]".

     A knowing exception to the client's own direction — black, white and
     grey, colour only inside photography, "the logo is the only coloured
     element in the interface" (HANDOFF item 12). Precedent: the timeline's
     selected year in logo blue (2026-10-02).

     ⚠️ THESE FOUR VALUES ARE SAMPLED FROM pdsltd.com'S OWN GLOBE CANVAS, not
     chosen. Read off its rendered pixels 2026-10-05:
       sphere / ocean   #F0F0F0   (91,786 px — the dominant colour)
       land             #DBDADA   (40,389 px — DARKER than the ocean)
       marked countries #FF3448   (16,850 px)
     Note the land is darker than the sea, which is the opposite of the first
     build here (white land on a light sea) and is most of why it did not read
     the same. PDS also draws NO strokes at all — the faint divisions between
     its countries are antialiasing seams between adjacent fills, not borders.

     --globe-mark-lit is ours: PDS shows no hover colour change, but without
     one the only feedback is the card and the country you are pointing at
     does not acknowledge the pointer. It is a modest darkening, close enough
     to keep the palette.

     ⚠️ SCOPED TO THE GLOBE AND NOWHERE ELSE. If a strictly monochrome
     interface is ever ratified these are the only place to change — do not
     let red spread to buttons, rules or type. */
  --globe-sea:      #F0F0F0;
  --globe-land:     #DBDADA;
  --globe-mark:     #FF3448;
  --globe-mark-lit: #E01F35;

  /* -- Type ---------------------------------------------------------------- */
  /* The deck specifies no typeface (Arial/微软雅黑 are PowerPoint defaults, not
     a choice). This is our pick — swap these two lines and the whole site
     follows. Keep it a neutral grotesque: the layout leans on 96–184px
     headlines and needs tight, even colour at size. */
  /* 2026-11-20: Inter was never loaded (brand.css re-points this token), so the
     name is gone from here too. The one family is declared in brand.css. */
  --font-body:    "Red Hat Text", "Relay Arrows", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Scale below is the deck's own pt sizes converted to px, then made fluid.
     Every min value is set so the longest real string in that role still fits
     on a 320px screen without breaking the word — see RESPONSIVE.md. */
  --t-caption:  clamp(12px, 1.0vw, 13px);   /* 10pt — captions, footnotes      */
  --t-ui:       clamp(13px, 1.25vw, 16px);  /* 12pt — nav, CTA chips, labels   */
  --t-body:     clamp(16px, 1.45vw, 19px);  /* 14pt — body copy                */
  --t-lead:     clamp(17px, 1.65vw, 21px);  /* 16pt — pull quotes, lead paras  */
  --t-lead-lg:  clamp(18px, 1.90vw, 24px);  /* 18pt — slide 7 quote + stat labels*/
  --t-h3:       clamp(20px, 2.4vw, 31px);   /* 23pt                            */
  --t-h2:       clamp(24px, 2.9vw, 37px);   /* 28pt — section headings         */
  --t-h2-lg:    clamp(27px, 3.7vw, 48px);   /* 36pt                            */
  --t-h1:       clamp(30px, 5.0vw, 64px);   /* 48pt — page headlines           */
  --t-h1-lg:    clamp(32px, 5.6vw, 72px);   /* 54pt — hero headlines           */
  --t-stat:     clamp(34px, 4.6vw, 59px);   /* 44pt — the 15 / 100+ / 500+ row */
  --t-year:     clamp(28px, 4.2vw, 53px);   /* 40pt — timeline years           */
  --t-display:  clamp(38px, 7.5vw, 96px);   /* 72pt — section covers           */
  --t-display-l:clamp(44px, 10vw, 128px);   /* 96pt — vertical NATURE          */
  --t-display-x:clamp(38px, 14vw, 184px);   /* 138pt — N.A.T.U.R.E             */

  --lh-tight: 1.05;   /* display sizes */
  --lh-snug:  1.25;   /* headings      */
  --lh-body:  1.55;   /* copy          */
  --tracking-display: -0.02em;
  --tracking-ui: 0.06em;   /* nav is set in caps and needs air */

  /* -- Layout -------------------------------------------------------------- */
  /* Two widths, deliberately.

     CONTENT (--container / --gutter) is a centred 1280 column. 73px on the
     deck's 1280 canvas = 5.7%, the single most repeated measurement in the
     file — every body column starts there.

     CHROME (--container-wide / --gutter-chrome) is for things that are
     edge-to-edge in the deck: the header (logo x=20, nav right edge x=1268),
     the footer (logo x=14, last column x=1253) and the hero, whose text sits
     at x=61 = 4.8%. Pinning those to the 1280 content column strands them in
     the middle of a wide screen — at 1920 the hero text would start 393px in,
     floating away from a full-bleed background. With the wide container it
     starts at 161px, which is what the deck actually depicts.

     Capped at 1720 rather than uncapped so an ultrawide doesn't fling the nav
     to the far corners. */
  --gutter:         clamp(20px, 5.7vw, 73px);
  --container:      1280px;      /* the deck's native canvas — body content */
  --gutter-chrome:  clamp(16px, 4.8vw, 61px);
  --container-wide: 1720px;      /* header, footer, hero */
  --nav-h:          clamp(56px, 6vw, 72px);

  /* Vertical rhythm. The deck has no consistent spacing scale, so this is ours. */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 40px;
  --sp-5: 64px;
  --sp-6: 96px;
  --sp-7: 140px;    /* between major page sections */

  /* -- Components ---------------------------------------------------------- */
  /* Gap between footer nav columns. The columns size to their own content,
     so this gap is what spreads them across the footer: it has to grow with
     the viewport or the seven columns bunch up on the left of a wide screen.
     Upper bound measured, not guessed: above ~1875px both --container-wide
     (1720) and --t-ui (16px) have stopped growing, so the nav block is a
     fixed 1055px holding 748px of columns. That leaves (1055-748)/6 = 51.1px
     per gap before the seven break to a second row. 48px keeps ~19px in
     hand, so the row holds at 1920 and at 2560 alike. Verified in Chrome
     across 320-2560. */
  --footer-col-gap: clamp(20px, 2.6vw, 48px);

  --cta-h: 40px;            /* deck: 143x29px chip at 12pt */
  --cta-px: 22px;
  --rule: 1px solid var(--ink);
  --rule-soft: 1px solid var(--ink-20);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* Travelling nav indicator: leaves quickly, lands softly. An in-out curve
     (--ease) makes a sliding line feel like it hesitates at both ends. */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-nav: 260ms;
  /* How long the line takes to reach its new LENGTH, as opposed to its new
     position. Deliberately less than half --dur-nav: see .nav__underline. */
  --dur-nav-len: 110ms;
  /* Second rebuild, 2026-10-01: explicitly slowed down on request ("too
     fast, difficult to see clear"). 16s for 5 scenes is more than 2x the
     per-scene time of the first rebuild (9s for 7 scenes). Linear, so the
     belt never surges or stalls. */
  --trace-dur: 16s;
  /* How tall one scene is as a share of the slot. Raised from 62% (first
     rebuild) to 88%: at 62%, roughly 1.5 scenes were visible at once, which
     added to the "too busy" complaint along with the speed. At 88% mostly
     ONE scene fills the frame, with just a sliver of its neighbour showing
     top and bottom — one subject to read at a time, continuity still visible
     at the edges. 100% was tried and rejected: at exactly 100% nothing of
     the next scene is ever visible and the cut between them is abrupt. */
  --trace-scene-h: 88%;
  /* Must equal TRACE_SCENES.length in page-home.jsx. The drift distance is
     derived from it below, so the seam cannot fall out of step; smoke.mjs
     asserts the two agree. */
  --trace-scenes: 5;
  /* Slide 8's concept->reality loop. 20s -> 15s -> 10s, all cuts on request
     (2026-10-01), then 10s -> 12.5s on 2026-10-02 to add a HOLD on the
     finished tag before the loop restarts ("stop for 2.5 seconds when the
     animation has ended").
     The drawing itself still takes 9.5s; the extra 2.5s is dead air at the
     end with the completed piece sitting on screen, which is the point --- the
     sequence spends nine seconds building a thing and used to throw it away
     the instant it was finished.
     Every keyframe in the sequence is a percentage, so this one number is
     still the whole tempo --- a retime is one value, not a rewrite, and the
     hold scales with it as a fixed share of the cycle:
       0-76%   the build, five stages of 15.2% (1.9s each)
       76-96%  the hold --- 2.5s, nothing moving
       96-100% everything fades out, and it wraps
     Those shares are a RATIO baked into the stops below, so there is
     deliberately no --ca-hold token: a lone 2.5s value could not change
     anything without every stop moving with it.
     At 1.9s a stage each caption is fully legible for only ~1.1s once its
     fades are counted. This comment used to argue from that for a hover pause;
     the pause was removed on request 2026-10-02 and the tempo is now the only
     thing deciding whether a stage can be read. If a caption is ever reported
     as too quick to follow, THIS number is the lever --- raise --ca-dur, do not
     re-add the pause.
     Linear like the belt: easing a continuous loop makes it pulse. */
  --ca-dur: 12.5s;
  --ca-stages: 5;
  /* The build only --- the cycle minus the hold. The caption delays divide
     THIS, not --ca-dur, or the five names would spread themselves across the
     pause as well and drift out of step with the artwork they label. */
  --ca-build: calc(var(--ca-dur) * 0.76);
  --dur: 240ms;
  /* Scroll-reveal. One block's fade, and the gap between consecutive blocks
     in the same section. --reveal-step is what turns a section arriving as
     one flat slab into its parts arriving in sequence; at 0 the whole thing
     snaps on together, which is what this looked like before.
     These three numbers are the reference site's own (solvana-energy.com,
     given 2026-10-01), read off its live GSAP ScrollTriggers rather than
     eyeballed: duration 0.8s, y 30, stagger 0.15, ease power2.out, firing at
     `top 90%`. power2.out IS cubic-out --- cubic-bezier(.215,.61,.355,1) ---
     which --ease-out already is to three decimals, so the curve needed no
     change. Worth knowing before "tidying" any of them: they are matched to
     something, not picked. */
  --reveal-dur: 800ms;
  --reveal-step: 150ms;
  --reveal-rise: 30px;
  --tap: 44px;              /* minimum touch target on coarse pointers         */
}

/* ----------------------------------------------------------------------------
   BREAKPOINTS — the only five allowed. Custom properties don't work inside
   @media, so they live here as a contract. Full rationale: RESPONSIVE.md.

     (none)            320–479   small phones — the floor we support
     min-width: 480    480–767   phones
     min-width: 768    768–1023  tablets portrait
     min-width: 1024  1024–1279  tablets landscape, small laptops
     min-width: 1280   1280+     desktop (the deck's native canvas)

   Two component breakpoints are allowed on top of those, each justified by a
   component's own intrinsic width rather than by a device class:
     min-width: 1120   the nav bar stops fitting below this
     max-height: 620   short viewport (landscape phone, split-screen window)

   Plus two capability queries, which are not sizes and must not be treated
   as such:  (hover: hover)  and  (pointer: coarse).

   `npm run check` fails the build if any other breakpoint appears here.
   ------------------------------------------------------------------------- */

/* ============================================================================
   Reset & base
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* Nothing may ever scroll the page sideways. `clip` rather than `hidden`
   deliberately: `hidden` would break position:sticky on the header. Anything
   that legitimately needs to exceed the viewport (the slide-11 timeline, wide
   tables) gets its own .scroll-x container below. */
html, body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* A long unbroken string (a URL, a product code) must wrap rather than
     push the layout wider than the screen. */
  overflow-wrap: break-word;
}

h1, h2, h3, h4 { overflow-wrap: break-word; }

/* Grid and flex children default to min-width:auto, which lets long content
   blow a track out past the viewport. This is the single most common cause of
   sideways scroll in a grid layout. */
.split > *, .footer-cols > *, .hero__inner > * { min-width: 0; }

/* The sanctioned escape hatch: anything genuinely wider than the screen
   scrolls inside its own box, never the page. */
.scroll-x {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============================================================================
   Layout primitives
   ========================================================================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  /* max() keeps content clear of the notch when a phone is held landscape. */
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}

/* Edge-to-edge variant for the header, footer and hero. See the note on
   --container-wide above for why these do not share the content column. */
.container--wide {
  max-width: var(--container-wide);
  padding-inline: max(var(--gutter-chrome), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}

.section { padding-block: var(--sp-7); }
.section--tight { padding-block: var(--sp-5); }
.section--flush { padding-block: 0; }

/* Scroll-reveal. Added 2026-10-01, reworked the same day to stagger.
   ----------------------------------------------------------------------------
   Two classes, and they do different jobs:

     .reveal        the TRIGGER. Marks a section as observed. It has no
                    appearance of its own --- it never fades or moves.
     .reveal-item   the MOTION. One block inside that section: opacity plus a
                    small rise, started when the section's trigger fires.

   They were one class to begin with, on the section, so a whole section
   faded as a single slab --- correct, but it reads as a flat switch rather
   than as content arriving. Splitting them lets the blocks inside a section
   come in one after another (--reveal-step apart, ordered by --reveal-i),
   which is the whole of the "smoother" difference.

   Because .reveal itself no longer hides anything, a section marked .reveal
   with NO .reveal-item inside it silently does not animate --- it just shows.
   That is a safe failure, but an invisible one, so smoke.mjs asserts every
   revealed section contains at least one item.

   If IntersectionObserver is unavailable, useInView() reports true
   immediately, so nothing here can get stuck invisible --- see the hook's own
   comment in page-home.jsx. Only opacity and transform, so none of this
   costs layout while it runs.
   Deliberately NOT on the hero: it is on screen at first paint, there is
   nothing to "scroll to", and fading in content already in view only delays
   it. Nor on the footer, which is furniture rather than a section you
   arrive at. */
.reveal-item {
  opacity: 0;
  transform: translateY(var(--reveal-rise));
  transition:
    opacity var(--reveal-dur) var(--ease-out) calc(var(--reveal-i, 0) * var(--reveal-step)),
    transform var(--reveal-dur) var(--ease-out) calc(var(--reveal-i, 0) * var(--reveal-step));
}
.reveal--visible .reveal-item { opacity: 1; transform: none; }

/* Reduced motion: still hidden until revealed, but it arrives instantly and
   with no travel --- the content must never be stuck invisible, so opacity
   still flips, it just does not animate. */
@media (prefers-reduced-motion: reduce) {
  .reveal-item { transition: none; transform: none; }
}

/* Two-column split. The deck uses this on slides 3, 5, 6, 8, 24, 26, 28 —
   text one side, media the other, ~50/43 with the gutter between. */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: center;
}
/* Stagger order while STACKED, where source order is what you read: text
   first, then the visual. The @media block BELOW reverses both the column
   order and these two values together.
   MUST stay above that block: `.split--media-first > .split__media` there
   has the same specificity as here, so whichever is written later wins.
   Placed after it the first time, which silently gave both columns the same
   delay at >=1024 --- the same cascade-order trap slide 6 hit, and just as
   invisible to the breakpoint lint.
   Set in CSS rather than inline on the elements, because an inline
   --reveal-i outranks BOTH rules --- which is what happened on slide 5,
   where the inline values governed at every width and the swap never ran. */
.split--media-first > .reveal-item { --reveal-i: 0; }
.split--media-first > .split__media { --reveal-i: 1; }

/* Stacks until 1024. A 50/50 split on a 768px tablet leaves ~340px per
   column, which is below a readable measure for the deck's body copy. */
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); }
  .split--media-first > .split__media { order: -1; }
  /* The visual is on the left here, so it must also lead the stagger ---
     otherwise the right-hand column arrives first and the eye is pulled
     backwards. Set in the same block that does the reordering so the two
     cannot drift apart, and it reverses the stacked order set above. */
  .split--media-first > .split__media { --reveal-i: 0; }
  .split--media-first > .reveal-item:not(.split__media) { --reveal-i: 1; }
  /* Deck slide 3: text column 681px, media 393px, 86px between → 1.73 : 1. */
  .split--wide-text { grid-template-columns: 1.73fr 1fr; }

  /* Deck slide 5: visual 505px, text column 587px, 64px between — 0.86 : 1.
     The gutter here is deliberately WIDER than the deck's 64px (asked for
     2026-10-01; the two columns were reading as crowded). Adopting the deck's
     own 0.86:1 ratio at the same time means the extra gutter comes out of the
     VISUAL, not the text — so the column gets wider as the gap grows instead
     of the measure being squeezed, which is the usual cost of pushing two
     columns apart. .container is 1280px, the deck's own canvas, so these
     numbers are the deck's at 1:1. */
  .split--trace {
    grid-template-columns: 0.86fr 1fr;
    gap: clamp(56px, 8vw, 128px);
  }

  /* Deck slide 8: panel 465px, text column 584px, 102px between --- 0.8 : 1.
     The deck's own gap is kept here (unlike slide 5's, which was widened on
     request): at 102px these two columns are already well apart. */
  .split--panel {
    grid-template-columns: 0.8fr 1fr;
    gap: clamp(48px, 7vw, 102px);
  }

  /* Deck slide 10: image 465px, text column 557px --- 0.835 : 1, and the two
     rows gap 137px (top) and 128px (bottom), so 132px is the pair's average.
     NOT .split--panel, which is the nearest thing already here: at 0.8 : 1
     with a 102px gap it would quietly pull 30px out of the widest gutter the
     deck draws anywhere, and slide 10's whole character is how far apart the
     two halves sit. One rule is cheaper than that compromise. */
  .split--offset {
    grid-template-columns: 0.835fr 1fr;
    gap: clamp(48px, 9vw, 132px);
  }
}

/* The deck top-aligns slide 3's two columns (text y=116, image y=125) and the
   image runs deeper than the text. Default .split centres instead. */
.split--top { align-items: start; }

/* ============================================================================
   Type helpers
   ========================================================================= */

.t-display   { font-size: var(--t-display);   line-height: var(--lh-tight); letter-spacing: var(--tracking-display); font-weight: 500; }
.t-display-l { font-size: var(--t-display-l); line-height: var(--lh-tight); letter-spacing: var(--tracking-display); font-weight: 500; }
.t-display-x { font-size: var(--t-display-x); line-height: var(--lh-tight); letter-spacing: var(--tracking-display); font-weight: 500; }
.t-h1        { font-size: var(--t-h1);        line-height: var(--lh-snug);  letter-spacing: var(--tracking-display); font-weight: 500; }
.t-h1-lg     { font-size: var(--t-h1-lg);     line-height: var(--lh-snug);  letter-spacing: var(--tracking-display); font-weight: 500; }
.t-h2        { font-size: var(--t-h2);        line-height: var(--lh-snug);  font-weight: 500; }
.t-h2-lg     { font-size: var(--t-h2-lg);     line-height: var(--lh-snug);  font-weight: 500; }
.t-h3        { font-size: var(--t-h3);        line-height: var(--lh-snug);  font-weight: 500; }
.t-lead      { font-size: var(--t-lead);      line-height: var(--lh-body); }
.t-body      { font-size: var(--t-body); }
.t-caption   { font-size: var(--t-caption); color: var(--ink-70); }

/* Body copy column. Deck body blocks run 550–587px — never full width. */
.measure { max-width: 60ch; }

/* ============================================================================
   Media slots
   ----------------------------------------------------------------------------
   Every grey block in the deck is one of these. Until an asset lands the slot
   renders as #F2F2F2 with its intended ratio held open, so page height never
   shifts when the real image arrives. Ratios come straight from the deck.
   ========================================================================= */

.media {
  position: relative;
  background: var(--placeholder);
  overflow: hidden;
  aspect-ratio: var(--ratio, 16 / 9);
}
.media > img,
.media > video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Named ratios, measured from the deck */
.media--portrait   { --ratio: 393 / 557; }  /* slides 3, 4  — tall tiles       */
.media--portrait-2 { --ratio: 505 / 557; }  /* slide 5      — traceability     */
.media--panel      { --ratio: 465 / 505; }  /* slides 8, 28 — animation panel  */
.media--wide       { --ratio: 465 / 223; }  /* slide 10     — offset landscape */
.media--quad       { --ratio: 235 / 300; }  /* slide 9      — framework 4-up    */
.media--band       { --ratio: 1282 / 377; } /* slide 11     — timeline band     */
.media--tile       { --ratio: 236 / 271; }  /* slide 24     — 2x2 grid         */
.media--tile-wide  { --ratio: 275 / 144; }  /* slide 26     — 2x3 grid         */
.media--feature    { --ratio: 298 / 375; }  /* slide 27     — insight feature  */
.media--strip      { --ratio: 298 / 140; }  /* slide 27     — insight list     */
.media--square     { --ratio: 1 / 1; }
/* 2026-10-20: the AI animation clips get slots in their own shape, so the
   video is shown whole, never zoomed or cropped. The tall one is capped at
   85% of the viewport height (narrowing, not cropping) so it never runs past
   the screen. */
.media--clip-wide  { --ratio: 16 / 9; }
.media--clip-tall  { --ratio: 9 / 16; width: min(100%, 85vh * 9 / 16); margin-inline: auto; }

/* On a phone a 393:557 portrait tile is fine, but a 465:223 landscape strip
   becomes a letterbox slit. Below 480px every slot relaxes to a workable
   minimum so photography still reads. */
@media (max-width: 479px) {
  .media--wide,
  .media--tile-wide,
  .media--strip { --ratio: 16 / 10; }
  .media--panel { --ratio: 4 / 5; }
  /* 1282:377 is 3.4:1. On a 320px screen that is a 94px-tall ribbon --- not a
     picture, a rule with a tint. 16:9 is the shallowest that still reads as an
     image, and this slot is a full-bleed band so it has the whole width. */
  .media--band { --ratio: 16 / 9; }
}

/* Empty-slot label, so an unfilled page reads as intentional in review.
   Add data-slot="…" to say what belongs there. Hidden once a child exists. */
/* `.is-empty` is set by CHROME.slotFallback when an <img> fails to load.
   `:empty` alone is not enough: a hidden <img> is still a child node, so the
   slot stops being `:empty` the moment an image is wired into it and the
   label silently stops working. See the note on slotFallback in chrome.jsx. */
.media[data-slot]:empty::after,
.media[data-slot].is-empty::after {
  content: attr(data-slot);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: var(--sp-2);
  font-size: var(--t-caption);
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  color: var(--ink-60);
  text-align: center;
}

/* ============================================================================
   CTA
   ========================================================================= */

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: var(--cta-h);
  padding-inline: var(--cta-px);
  border: var(--rule);
  font-size: var(--t-ui);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.cta:hover { background: var(--ink); color: var(--paper); }
.cta--solid { background: var(--ink); color: var(--paper); }
.cta--solid:hover { background: var(--paper); color: var(--ink); }
.cta--bare { border: 0; padding-inline: 0; }
.cta--bare:hover { background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
/* On a photo or the hero video */
.cta--onmedia { border-color: var(--paper); color: var(--paper); }
.cta--onmedia:hover { background: var(--paper); color: var(--ink); }

/* Header, footer and mega-menu moved to brand.css (2026-11-05 revision). */
/* ============================================================================
   Touch targets
   ----------------------------------------------------------------------------
   Anything tappable is at least 44x44 on a coarse pointer. Applied by pointer
   type rather than by width, because a 1366px iPad is still a finger.
   ========================================================================= */

@media (pointer: coarse) {
  .footer-col a,
  .nav__panel a,
  .mobile-nav__children a,
  .locale__opt {
    display: flex;
    align-items: center;
    min-height: var(--tap);
  }
  .cta { min-height: var(--tap); }
}

/* ============================================================================
   Hero — deck slide 2
   ----------------------------------------------------------------------------
   Deck geometry on its 1280x720 canvas, which sets the three vertical stops:
     • y=151 (21%)   the red "there is a video as a background" note.
                     Per Hao Yue that position now carries the tagline +
                     social links.
     • y=339 (47%)   headline "Escalate Your Brand's Potential:"
     • y=579 (80.5%) two CTAs — View Solutions (x=61), Talk to an Expert (x=255)
   All left-aligned to the deck's x=61 (4.8%), which --gutter covers.

   The deck draws a grey rect ON TOP of the video; read as "video plays here,
   under a scrim". Built that way: media slot + gradient scrim + white type, so
   swapping the placeholder for real footage changes nothing else.
   ========================================================================= */

.hero {
  position: relative;
  isolation: isolate;
  color: var(--paper);
  min-height: 100vh;    /* fallback for browsers without svh */
  min-height: 100svh;
}

.hero__media {
  position: absolute; inset: 0;
  z-index: -2;
  background: var(--placeholder);
  overflow: hidden;
}
.hero__media > video,
.hero__media > img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Legibility scrim. Heavier top and bottom where the type sits. Tune the
   middle stop once real footage is in — the placeholder grey is uniform,
   video will not be. */
.hero__scrim {
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.58) 0%,
    rgba(0,0,0,0.42) 45%,
    rgba(0,0,0,0.62) 100%
  );
}

/* min-height, never height: if the content is taller than the screen the hero
   grows instead of clipping. That is what keeps a landscape phone safe. */
.hero__inner {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  /* 2026-10-20: the headline sits just above the buttons, as deck v2 slide 2
     draws it (title y=388, buttons y=434), not pinned to the top. */
  justify-content: flex-end;
  gap: var(--sp-4);
  padding-block: clamp(120px, 21svh, 210px) clamp(56px, 16svh, 145px);
  padding-bottom: max(clamp(56px, 16svh, 145px), env(safe-area-inset-bottom, 0px));
}

/* -- the lead block: headline + sub -----------------------------------
   ⚠️ THE TAGLINE AND SOCIAL RULES THAT WERE HERE ARE GONE (2026-10-05).
   The hero no longer carries either — see the note in page-home.jsx for why
   (a duplicated tagline, and three social links that all pointed at "#").
   The headline now leads the hero, so .hero__inner's space-between puts the
   lead block where the tagline used to sit and the CTAs stay at the foot. */

.hero__lead { max-width: none; }


.hero__headline {
  /* 2026-10-20: the deck v2 line is twice the old one's length (58 vs 31
     chars). At 16ch "Identification." no longer fitted and broke mid-word,
     so the measure widens and the size steps down slightly at the top end. */
  /* 2026-10-21: two lines on desktop, at a smaller size, on request. */
  max-width: 32ch;
  font-size: clamp(30px, 4vw, 60px);
  text-wrap: balance;
  overflow-wrap: normal;
}

/* -- bottom: CTAs ------------------------------------------------------ */

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* A slot that holds a clip carries its own ground tone, so the clip does not
   sit on the grey placeholder fill meant for missing images. */
.media--flat { background: var(--paper); }

/* ============================================================================
   Sustainability teaser --- deck slide 6, reworked 2026-10-26
   ----------------------------------------------------------------------------
   NATURE runs horizontally across the top, oversized and pale. Under it, two
   columns: a material photo with circular sample buttons on the left, the
   unchanged copy on the right. Stacked below 1024. The sage palette is scoped
   to this section, What we make and Global Location (--sage-* tokens, at the
   end of this file); the rest of the site stays greyscale.
   ========================================================================= */

.sustain { background: var(--sage-paper); color: var(--sage-ink); }
.sustain__inner { display: grid; gap: var(--sp-5); }
.trace-anim {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

/* The scrolling part. Separate from .trace-anim so the closing statement
   below can sit still while this moves. */
.trace-anim__belt {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  /* Soften the two edges the belt passes through. Without this a scene is
     sliced flat by the slot border as it enters and leaves, which reads as
     clipping rather than as travel. The fade makes each scene arrive and
     depart, and it is what separates this from a div with overflow hidden.
     Masked rather than a gradient overlay so it works whatever sits behind. */
  -webkit-mask-image: linear-gradient(to bottom,
    transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom,
    transparent 0, #000 16%, #000 84%, transparent 100%);
}

/* A whisper of grain over the whole belt. The master style asks for
   "realistic paper, cotton, yarn textures"; vector linework has none, and
   this is what stops it reading as clip-art. One static turbulence tile,
   rendered once — not animated, which would be expensive and noisy. */
.trace-anim__belt::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.trace-anim__track {
  list-style: none;
  margin: 0; padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  will-change: transform;
  animation: trace-drift var(--trace-dur) linear infinite;
}

/* Scene height drives everything: the belt advances by exactly this much per
   stage, and the keyframe below multiplies it by the scene count, so the two
   can never disagree. */
.trace-anim__scene {
  position: relative;
  flex: 0 0 var(--trace-scene-h);
  height: var(--trace-scene-h);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  padding: clamp(14px, 5%, 28px);
  gap: var(--sp-1);
}

/* Second rebuild: the cross-scene data line is gone, on instruction — not
   recoloured, removed. No element replaces it; the belt motion itself is
   what carries continuity from one scene into the next now. */
.trace-anim__figure { position: relative; }
.trace-anim__label { position: relative; background: var(--paper); padding-inline: var(--sp-2); }

.trace-anim__figure {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  min-height: 0;
}
/* A wide frame, filling the panel. The square icon this replaced left big
   empty margins and read as a pictogram; the brief asks for macro cinematic
   framing, which needs the width. */
.trace-anim__art {
  width: 100%; height: auto;
  max-height: 100%;
  aspect-ratio: 320 / 180;
}
.trace-anim__figure { padding-inline: 0; }

/* Defs only — never rendered. */
.trace-anim__defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Pure ink. stroke-width is the baseline for the hand-drawn paths and for
   box.svg (the one pure-stroke icon) — the filled icons (cotton, paper,
   press, qr, rfid) ignore this entirely by default, since a solid shape has
   no stroke to widen — .trace-icon below is what actually reaches them. */
.trace-anim__art { stroke-width: 1.15; color: var(--ink); }

/* The real fix for "every icon the same thickness", after two narrower
   attempts (stroke-width alone — only ever reached box; feMorphology erode
   — only ever worked on press) both left some icons still reading heavy.
   See the long comment above TraceDefs in page-home.jsx for the full
   reasoning. The short version: every icon's <path> gets its fill forced to
   `none` here — a CSS rule beats a presentation attribute set directly on
   the element, which is why this works even on cotton/paper/qr/rfid, each
   of which hardcodes its own fill="..." in the markup. That turns every
   filled silhouette into genuine line art, matching box/warehouse's native
   style exactly. `vector-effect: non-scaling-stroke` is what then lets this
   ONE stroke-width apply as the same visual weight across icons whose
   native viewBoxes differ by more than 20x (24 units for box/qr/rfid, 512
   for press/warehouse) — tested side by side, not assumed: without it the
   same number renders wildly different thicknesses depending on each
   icon's own internal scale. Applied to every <Icon>, not a subset — unlike
   the erode filter, this mechanism does not care which icon it is. */
.trace-icon, .trace-icon * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Each scene now places its own icons and shapes at the size and position
   that scene needs — see the comment above TRACE_SCENES in page-home.jsx.
   There is no single uniform crop transform to replace .tr-subject with. */

/* SVG transforms resolve against the viewBox, so the per-element
   transform-origin values set in page-home.jsx (the vat's swirl, the
   rack's heat lines) are in user units. */
.trace-anim__art g[style] { transform-box: view-box; }

/* ---- motion ---------------------------------------------------------------
   Every scene moves on its own; the belt scrolling used to be the only
   motion, which is what made it read as a slideshow. All of it is transform
   or opacity so none of it costs layout, and all of it is slow — the brief
   asks for "calm and continuous", so nothing here is quick or eased sharply.
   -------------------------------------------------------------------------- */
@keyframes tr-drift   { 0%, 100% { transform: translateX(-6px); } 50% { transform: translateX(6px); } }
@keyframes tr-settle  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes tr-ink     { 0% { opacity: 0; transform: translateY(0); }
                        22% { opacity: 0.7; }
                        100% { opacity: 0; transform: translateY(12px); } }
/* Processing scene only: washing's water ripple, the pulping vat's swirl,
   the dried sheet swaying on its rack. */
@keyframes tr-wash    { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(2px); } }
@keyframes tr-swirl   { to { transform: rotate(360deg); } }
@keyframes tr-rise    { 0% { transform: translateY(6px); opacity: 0; }
                        25% { opacity: 0.6; }
                        100% { transform: translateY(-10px); opacity: 0; } }
@keyframes tr-sway    { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
/* Identification scene only: the RFID tag's two read-waves. A gentle
   opacity breathe, not the old tr-ring's scale-outward — these are fixed
   arcs drawn on the tag, not expanding rings, so growing them would read as
   the artwork itself pulsing rather than a signal being read. */
@keyframes tr-ring-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.95; } }

/* "The item is sent to the machine / to the warehouse" — added 2026-10-01 to
   replace two scenes that used to show a sheet or a box sitting statically
   beside its destination, bridged only by a drawn line. Both loops share one
   shape: travel forward, fade out as the item reaches (and is absorbed by)
   the destination, snap back to the start WHILE INVISIBLE, fade back in to
   repeat. The snap has to happen at 0 opacity or the reset itself would be
   the most visible motion in the scene.
   translateX here resolves in the SVG's own user-coordinate system (the
   320-wide viewBox), the same as every other transform in this file — not
   CSS pixels, despite the unit written. */
@keyframes tr-feed-machine {
  0%   { transform: translateX(0);    opacity: 1; }
  68%  { transform: translateX(78px); opacity: 1; }
  80%  { transform: translateX(92px); opacity: 0; }
  81%  { transform: translateX(-6px); opacity: 0; }
  100% { transform: translateX(0);    opacity: 1; }
}
@keyframes tr-feed-warehouse {
  0%   { transform: translateX(0);     opacity: 1; }
  66%  { transform: translateX(96px);  opacity: 1; }
  80%  { transform: translateX(114px); opacity: 0; }
  81%  { transform: translateX(-6px);  opacity: 0; }
  100% { transform: translateX(0);     opacity: 1; }
}

/* Every duration below was explicitly slowed from the first rebuild, on
   instruction that it read as too fast to follow. Nothing here is under 5s. */
.tr-drift        { animation: tr-drift 26s ease-in-out infinite; }
.tr-settle       { animation: tr-settle 11s ease-in-out infinite; }
.tr-ink          { animation: tr-ink 4.5s linear infinite; fill: currentColor; stroke: none; }
.tr-wash         { animation: tr-wash 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.tr-swirl        { animation: tr-swirl 14s linear infinite; }
.tr-rise         { animation: tr-rise 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.tr-sway         { animation: tr-sway 8s ease-in-out infinite; transform-box: fill-box; transform-origin: top center; }
.tr-ring-pulse   { animation: tr-ring-pulse 5s ease-in-out infinite; }
.tr-feed-machine   { animation: tr-feed-machine 7.5s ease-in-out infinite; }
.tr-feed-warehouse { animation: tr-feed-warehouse 8s ease-in-out infinite; }

/* Stagger, so nothing beats in unison. */
.tr-d1 { animation-delay: -0.7s; }
.tr-d2 { animation-delay: -1.4s; }
.tr-d4 { animation-delay: -2.8s; }

.trace-anim__label {
  font-size: var(--t-ui);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  color: var(--ink-70);
  text-align: center;
}

/* The brief's end card, held rather than scrolled. */
.trace-anim__claim {
  flex: 0 0 auto;
  padding: var(--sp-2) var(--sp-3) var(--sp-3);
  border-top: var(--rule-soft);
  background: var(--paper);
  text-align: center;
}
.trace-anim__claim-main {
  font-size: var(--t-ui);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  color: var(--ink);
}
.trace-anim__claim-support {
  margin-top: 5px;
  font-size: var(--t-caption);
  color: var(--ink-70);
}

/* On a phone the claim wraps to two lines and was taking 36% of the panel,
   which left the animation as the junior element in its own slot. Tightened
   so the belt keeps roughly three quarters of the height. The support line
   stays --- it is half the brief's message --- just quieter. */
@media (max-width: 479px) {
  .trace-anim__claim { padding: 10px var(--sp-2) 12px; }
  .trace-anim__claim-main {
    font-size: var(--t-caption);
    letter-spacing: 0.04em;
    line-height: 1.35;
  }
  .trace-anim__claim-support { margin-top: 3px; opacity: 0.85; }
}

/* One scene-count's worth of travel: the belt lands on the duplicate of scene
   1 at the exact instant it restarts on the real scene 1, so the wrap is
   invisible. Percentages in translate resolve against the track's own height,
   and a scene is --trace-scene-h of that, so N scenes is N x that share ---
   derived, never typed twice. */
@keyframes trace-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, calc(var(--trace-scenes) * var(--trace-scene-h) * -1), 0); }
}

/* Pause while the pointer or keyboard focus is inside it, so the stage names
   can actually be read. */
.trace-anim:hover .trace-anim__track,
.trace-anim:focus-within .trace-anim__track,
.trace-anim:hover .trace-anim__art *,
.trace-anim:focus-within .trace-anim__art * { animation-play-state: paused; }

/* Added 2026-10-01: do not animate at all until the section has been
   scrolled into view — otherwise the belt (and every per-scene motion
   inside it: tr-wash, tr-swirl, the feed loops, …) is already running the
   moment the page loads, while the visitor is still on the hero and has
   never seen it. `.is-visible` is added once by useInView() in
   page-home.jsx (TraceAnimation observes its own element, on a later line
   than the section around it) and never removed, so scrolling back up past the section
   does not re-pause it — once seen, it keeps running, same as a hover-pause
   releasing rather than a permanent state. Same compound-selector technique
   as the hover-pause above, just driven by a class instead of :hover. */
.trace-anim:not(.is-visible) .trace-anim__track,
.trace-anim:not(.is-visible) .trace-anim__art * { animation-play-state: paused; }

/* Reduced motion: hold on the first scene. The stage names are real text in
   an <ol>, so nothing is lost by stopping --- the information was never
   carried by the movement. */
@media (prefers-reduced-motion: reduce) {
  .trace-anim__track { animation: none; }
  /* The belt stopping is not enough now that every scene moves on its own. */
  .trace-anim__art *,
  .trace-anim__art { animation: none !important; }
}


@media (min-width: 1024px) {
  .sustain__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(48px, 6vw, 112px);
    align-items: start;
  }
}

/* The word: one text node, set in caps by CSS so its accessible name stays
   the ordinary word. Decorative in weight and colour; it is still the h2. */
.sustain__word {
  margin: 0 0 var(--sp-4) -0.04em;   /* optical: pull the N onto the column edge */
  text-transform: uppercase;
  font-size: min(13.5vw, 200px);
  line-height: 0.85;
  font-weight: 300;
  letter-spacing: -0.035em;
  color: var(--sage-word);
  white-space: nowrap;
}

/* -- Material explorer: one large photo, crossfaded by the samples. ----- */
.sustain__explorer { min-width: 0; }
.sustain__stage { position: relative; overflow: hidden; }
.sustain__photo { --ratio: 1 / 1; }
.sustain__photo > img {
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.sustain__photo > img.is-active { opacity: 1; }
.sustain__samples {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}
/* 56px: clears the 44px touch minimum with the ring included. */
.sustain__sample {
  width: 56px; height: 56px;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: border-color var(--dur) var(--ease);
}
.sustain__sample img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.sustain__sample:hover { border-color: var(--sage-rule); }
.sustain__sample.is-active { border-color: var(--sage-ink); }
.sustain__sample:focus-visible { outline: 2px solid var(--sage-ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .sustain__photo > img { transition: none; }
}

.sustain__body > p { max-width: 60ch; }
.sustain__body > p + p { margin-top: var(--sp-3); }
.sustain__cta { margin-top: var(--sp-5); }

/* ============================================================================
   Section bar --- sticky chips under the header (SubNav in page-catalog.jsx)
   ========================================================================= */

/* The row the GROUP page carries at y=66. Title case, not the caps the main nav
   uses --- the deck sets it that way, and it keeps the two rows from reading as
   one bar.

   STICKY, under the site header (asked for 2026-10-02). `top` is --nav-h
   because that is the header's own min-height, and z-index sits one band below
   the header's 100 so the header always wins where they overlap.

   It needs an opaque background and a rule of its own now: it used to sit in
   the page flow where there was nothing to travel over. Without the background
   the page content reads straight through it as it scrolls past.

   NOT a flex row with space-between any more. The three labels used to be
   "this page, hard left" + "its two siblings, hard right"; there is one page
   now and the bar is a plain list of three, so they sit together on the left.
   See SubNav() in page-catalog.jsx. */
.subnav {
  position: sticky;
  /* +1px for the header's own border-bottom. .site-header__inner sets
     min-height: var(--nav-h) and the header adds a 1px rule under it, so the
     header occupies nav-h + 1 --- parking this bar at exactly nav-h hides that
     rule and the two bars read as one slab as content scrolls beneath. */
  top: calc(var(--nav-h) + 1px);
  z-index: 90;
  background: var(--paper);
  border-bottom: var(--rule-soft);
}
.subnav__inner {
  display: flex;
  /* ONE ROW (asked for 2026-10-20). The catalog pages carry up to seven links
     and wrapped to two lines; the gap narrows with the screen and anything
     that still does not fit scrolls sideways inside the bar, scrollbar
     hidden, rather than wrapping. */
  flex-wrap: nowrap;
  align-items: baseline;
  gap: clamp(14px, 1.3vw, 32px);
  padding-block: var(--sp-2);
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
/* Phones (2026-11-23, owner: "don't make the sub nav bar scrollable in phone
   view, make it displayed all in the screen"). The bar never scrolls sideways
   here: links that do not fit on one row go to the next. The catalogue bar
   lays its links out two to a row instead (catalog.css). */
@media (max-width: 767px) {
  .subnav__inner { flex-wrap: wrap; row-gap: 0; overflow-x: visible; }
}
/* The three section links. There is no <h1> here any more --- the page carries
   one stable hidden <h1> instead, because a heading whose text changed as the
   reader scrolled is worse than no visible heading at all. Reasoning in full
   above SubNav() in page-catalog.jsx. */
.subnav__link {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: var(--t-ui);
  font-weight: 400;
  color: var(--ink-60);
  text-decoration: none;
  /* Hover used to snap straight from grey to ink. This bar is the one piece of
     chrome that changes while you scroll, so it is the last place that should
     feel abrupt. The same transition carries the active state, which now
     arrives from the scroll position rather than from a click. */
  transition: color var(--dur) var(--ease), font-weight var(--dur) var(--ease);
}
.subnav__link:hover { color: var(--ink); }

/* ⚠️ BOLD IS NOT THE DECK. The deck distinguishes the active section by colour
   alone; bold was asked for on 2026-10-02. Deliberate deviation, in HANDOFF.
   font-weight cannot animate here --- Inter is loaded as discrete static weights
   (wght@300;400;500;600;700 in index.html, not a 300..700 variable axis) --- so
   the weight snaps and the colour carries the motion. Listed in the transition
   above anyway, so that adopting a variable Inter is the only change needed. */
.subnav__link.is-active,
.subnav__link[aria-current="true"] {
  font-weight: 700;
  color: var(--ink);
}

/* The row's enter animation is GONE, with the per-page bar it belonged to.
   It replayed on every navigation because SubNav keyed itself on the current
   page: there were three bars, one per page, and the keyed remount was the only
   way to animate a change that swapped which label was an <h1>.
   There is one bar now and it never remounts --- the active item changes while
   you scroll, which is a property change on a stable element, so the plain
   `transition` on .subnav__link above is the right tool and the animation would
   have fired once on load and never again. */

/* ============================================================================
   Intro — deck slide 3, "who we are"
   ----------------------------------------------------------------------------
   Deck geometry: heading 73/116 at 54pt over two lines; body 75/332 at 14pt,
   two paragraphs; CTA 73/544. Image 845/125, 393x557 portrait.
   Vertical gaps in the deck are 32px heading→body and 89px body→CTA; kept
   proportional here rather than literal, so they breathe at fluid type sizes.
   ========================================================================= */

.intro__heading {
  max-width: 18ch;        /* breaks after "Making", as the deck does */
  text-wrap: balance;
}
/* Pull quote. Deck: 1070 of the 1282 canvas = 83.5%, centred.
   That 83.5% is a DESKTOP inset and is only applied where there is room for
   it. Measured at 320px it left a 221px ribbon --- roughly four words a line
   for a 250-character quote --- because it insets a further 16.5% inside a
   column that is already gutter-padded. The deck has no phone layout, so
   there is nothing to be faithful to there; below 1024 the quote simply
   takes the column. */
.approach__quote {
  margin: 0 auto;
  font-size: var(--t-lead-lg);
  line-height: var(--lh-body);
  text-align: center;
  /* Centred text with a ragged last line reads as a mistake. Balance splits
     the three lines evenly (measured 948/1006/953 instead of 1041/1055/812)
     without changing how many there are — it redistributes within the line
     count the width already decided, so it cannot undo the rule below.
     Unsupported browsers simply get the ragged wrap, which is today's. */
  text-wrap: balance;
}
/* Asked 2026-10-05: three lines, not four.
   The deck insets this quote to 83.5% of the column (slide 7 geometry), which
   on a 1280 container wrapped it onto FOUR lines. Measured in Chrome rather
   than guessed: the fourth line disappears once the quote is ~1009px wide in
   English and ~1021px in Spanish — the Spanish translation is 11 characters
   longer — so the widths below clear BOTH tipping points by ~6 points rather
   than sitting on the edge, where a font swap or a rounding difference would
   silently put the fourth line back.

   ⚠️ The percentage GOES UP as the screen gets smaller, which looks
   backwards and is not a typo: past 1280 there is room to inset the quote and
   still hold three lines, below it there is not, so the quote takes the whole
   column.

   Swept in a real iframe at 768-1920 (the width-sweep technique used
   elsewhere in this project) rather than by scaling one window, because
   --t-lead-lg is FLUID: 24px down to an 18px floor. The type shrinking with
   the viewport is what carries the three lines much further down than a
   fixed-size calculation predicts — a first estimate from static widths said
   it would break around 1100px, and measurement put it at 890. Three lines
   hold from 890px upward in both locales (English alone survives to 870; the
   Spanish translation is 11 characters longer and gives out first). Below
   that it wraps to four, which is accepted rather than shrinking the type
   past the floor the rest of the page shares. */
@media (min-width: 1024px) {
  .approach__quote { max-width: 100%; }
}
@media (min-width: 1280px) {
  .approach__quote { max-width: 96%; }
}

/* The stat band. Full-bleed in the deck (x=-2 to 1280), so it breaks out of
   the page padding the way slide 6's section does. */
.stats {
  background: var(--band);
  padding-block: var(--sp-5);
}
.stats__row {
  display: grid;
  gap: var(--sp-4);
}
/* Three across, but not until 1024. The deck starts them at x=73 / 490 / 880
   --- near enough equal thirds of the 1280 column, and the 19px of vertical
   drift between the three is wireframe sloppiness that deck_layout_spec.md
   itself flags, so they are built on one row.
   This used to begin at 768, where three columns are only ~220px wide and the
   labels broke to three and four lines ("customers and / brands served" went
   to four). Holding until 1024 lets them stack full-width through the tablet
   range instead, where every label fits on one line. */
@media (min-width: 1024px) {
  .stats__row { grid-template-columns: repeat(3, 1fr); }
}

/* Number and label side by side --- the geometry in slide7.xml, not the
   "number over label" in the layout spec.

   CENTRED, not baseline-aligned. Baseline was the first guess and it is
   wrong: with a two-line label only its FIRST line meets the number's
   baseline, so the label block hung 29px below the number and read as
   sagging. The deck centres them. Its three label boxes each start 6.4px
   below their number box, and once the 44pt line box (70.4px) and the two
   18pt lines (57.6px) are drawn that puts the two blocks concentric to
   within 0.1px on all three stats --- too exact to be coincidence.
   Centring also survives a label wrapping to one line or three, which
   baseline alignment does not. */
.stat {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.stat__value {
  font-size: var(--t-stat);
  line-height: var(--lh-tight);
  font-weight: 700;
  letter-spacing: var(--tracking-display);
}
.stat__label {
  font-size: var(--t-lead-lg);
  line-height: var(--lh-snug);
  /* The deck leaves these at default black, not a muted grey. */
  color: var(--ink);
}

/* GROUP › From Concept to Reality --- deck slide 8 -------------------------
   Deck body is 14pt (--t-body, via .t-body on the element). It is a
   quotation, so it is a <blockquote>; this just removes the browser's
   default indent and keeps it in the text column's flow. */
.concept__body {
  margin: var(--sp-3) 0 0;
}

/* ============================================================================
   Slide 8 animation --- idea to finished piece
   ----------------------------------------------------------------------------
   One hang tag, drawn into existence over --ca-dur and then started again.
   It LOOPS: asked for explicitly (2026-10-01, "make the animation replay
   once its done"), so every keyframe here fades its subject back out by
   100% and the wrap is invisible. Built play-once at one point by
   misreading an earlier note; it is not that.

   The sequence and the reasoning are in the comment above ConceptAnimation()
   in page-group.jsx. Five stages of 15.2% each, then the hold:

     0-15.2     idea             30.4-45.6  specification
     15.2-30.4  sketch           45.6-60.8  production
                                 60.8-76    finished
     76-96      HOLD --- the finished piece, still, for 2.5s
     96-100     fade out, and wrap

   Every stop here is the old 10s stop x 0.8: the build is unchanged in real
   time (9.5s), the CYCLE got longer. The hold is not a keyframe of its own
   --- it is the gap left by ending the build at 76% and fading nothing until
   96%, so every stage that holds its subject holds it through the pause for
   free.
   Every stage overlaps its neighbour by a few percent so nothing ever cuts.
   Only opacity, transform and stroke-dashoffset are animated.
   ========================================================================= */

.ca {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.ca__art {
  /* Fills the panel, so the ARTWORK's centre is the panel's centre. With the
     caption row taking flex height instead, the drawing sat about half a line
     high --- which is visible the moment the panel is centred against the
     text column next to it. The caption is positioned over the empty band
     below the tag (the lowest mark in the viewBox is the dimension line at
     y=409, the caption sits past y=466), so nothing collides. */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Matches .trace-anim__art, so the two animations are the same hand. */
  stroke-width: 1.15;
}
.ca__art * {
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- stage 1: the spark ---- */
.ca__spark { animation: ca-spark var(--ca-dur) linear infinite; }
.ca__spark-dot { fill: currentColor; stroke: none; }
.ca__rays line { stroke-dasharray: 24; stroke-dashoffset: 24; animation: ca-rays var(--ca-dur) linear infinite; }

@keyframes ca-spark {
  0%          { opacity: 0; transform: scale(0.55); }
  3.2%        { opacity: 1; transform: scale(1); }
  12%         { opacity: 1; transform: scale(1); }
  16.8%, 100% { opacity: 0; transform: scale(1.3); }
}
@keyframes ca-rays {
  0%, 2.4%    { opacity: 0; stroke-dashoffset: 24; }
  7.2%        { opacity: 1; stroke-dashoffset: 0; }
  12%         { opacity: 1; stroke-dashoffset: 0; }
  16.8%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

/* ---- the construction grid, up while it is being worked out ---- */
.ca__grid line {
  stroke: var(--ink-10);
  animation: ca-grid var(--ca-dur) linear infinite;
}
@keyframes ca-grid {
  0%, 13.6%    { opacity: 0; }
  19.2%, 46.4% { opacity: 1; }
  52.8%, 100%  { opacity: 0; }
}

/* ---- stage 2: the sketch ----
   Drawn, then held, then dissolved into the exact outline. --ca-sketch-len
   only has to be at least the real path length for the draw to start fully
   hidden; the outline is ~880 units, so 1100 is comfortably over. */
.ca__sketch { animation: ca-sketch-fade var(--ca-dur) linear infinite; }
/* ONE continuous stroke for the whole sketch.
   It used to be five elements --- the outline, three corner overshoots and
   the hole --- each with its own dash animation and the short ones delayed,
   so the stage played as five separate draws landing on top of each other
   and read as the same shape being gone over again and again ("the sketch
   part is redrawing the same thing too many times"). The outline and the
   hole are now subpaths of a single <path>, so one dash offset runs through
   both and the stage is exactly one pass of the pencil. The overshoots are
   gone with it; the wobble in the outline is what carries the hand-drawn
   reading, not the stray marks. */
.ca__sketch > * {
  /* 850 against a measured path length of ~838. The dash only has to be at
     least the path for the draw to start hidden, but any SLACK is dead
     time: the line is fully out once the offset drops to (dash - length), so
     at 1100 the last 17.5% of the stage was the offset counting down with
     nothing changing on screen.
     ONE SUBPATH ONLY. SVG resets the dash pattern at every subpath, so a
     second subpath here would not continue this draw --- it would get its
     own dash and appear all at once. That is why the hole is not part of
     this path.
     Re-measure if the outline is ever reshaped:
       document.querySelector('.ca__sketch path').getTotalLength() */
  stroke-dasharray: 850;
  stroke-dashoffset: 850;
  animation: ca-draw var(--ca-dur) linear infinite;
}
@keyframes ca-draw {
  0%, 16%     { stroke-dashoffset: 850; }
  30.4%, 100% { stroke-dashoffset: 0; }
}
@keyframes ca-sketch-fade {
  0%, 15.2% { opacity: 0; }
  20%, 36%  { opacity: 1; }
  /* The cross-fade. This hand-off is the whole point of the animation, so
     it is the slowest transition in it. */
  44%, 100% { opacity: 0; }
}

/* ---- stage 3: the exact outline arrives as the sketch leaves ---- */
.ca__tag {
  animation: ca-tag var(--ca-dur) linear infinite;
}
/* 44% -> 96% is the long one: it spans the build's second half AND the whole
   hold, so the outline is simply still there when everything stops. */
@keyframes ca-tag {
  0%, 34.4% { opacity: 0; }
  44%, 96%  { opacity: 1; }
  100%      { opacity: 0; }
}
.ca__hole { animation: ca-tag var(--ca-dur) linear infinite; }

.ca__spec path { animation: ca-spec var(--ca-dur) linear infinite; }
@keyframes ca-spec {
  0%, 35.2%    { opacity: 0; }
  41.6%, 49.6% { opacity: 1; }
  55.2%, 100%  { opacity: 0; }
}

/* ---- stage 4: material, then the string ---- */
.ca__fill {
  fill: var(--placeholder);
  stroke: none;
  animation: ca-fill var(--ca-dur) linear infinite;
}
@keyframes ca-fill {
  0%, 49.6%  { opacity: 0; }
  58.4%, 96% { opacity: 1; }
  100%       { opacity: 0; }
}
.ca__string {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: ca-string var(--ca-dur) linear infinite;
}
@keyframes ca-string {
  0%, 48.8% { opacity: 0; stroke-dashoffset: 300; }
  52.8%     { opacity: 1; }
  62.4%     { opacity: 1; stroke-dashoffset: 0; }
  96%       { opacity: 1; stroke-dashoffset: 0; }
  100%      { opacity: 0; stroke-dashoffset: 0; }
}

/* ---- stage 5: the details, and the tag settles on its string ---- */
.ca__detail { animation: ca-detail var(--ca-dur) linear infinite; }
@keyframes ca-detail {
  0%, 61.6%  { opacity: 0; }
  68.8%, 96% { opacity: 1; }
  100%       { opacity: 0; }
}
.ca__bars line { stroke-width: 2.4; }

/* Rotates about the HOLE, not the middle of the tag --- it is hanging off a
   string. transform-box: view-box makes transform-origin read in viewBox
   units, which is what those two numbers are. */
.ca__piece {
  transform-box: view-box;
  transform-origin: 233px 150px;
  animation: ca-sway var(--ca-dur) linear infinite;
}
/* It swings as it drops onto the string, then settles.
   The ONE keyframe not a straight x0.8 of its old self. Scaled like the rest
   it would settle at 77.6%, which is 0.2s INSIDE the hold --- so the tag
   would still be righting itself after the pause had started and the actual
   stillness would be 2.3s, not the 2.5s asked for. The whole swing is
   compressed ~11% instead (same three sub-spans, same proportions) so the
   last motion in the sequence lands exactly on 76%, where the hold begins.
   Two tenths of a second off a 1.6s swing is imperceptible; a hold that is
   quietly short of its spec is the kind of thing nobody finds again. */
@keyframes ca-sway {
  0%, 63.2% { transform: rotate(0deg); }
  68.2%     { transform: rotate(1.7deg); }
  72.4%     { transform: rotate(-1.1deg); }
  76%, 100% { transform: rotate(0deg); }
}

/* ---- stage names ----
   One keyframe, five delays: caption i owns the cycle from i/5 to (i+1)/5.
   `both` matters --- without backwards fill the later captions would all be
   visible for the first part of the very first cycle. */
.ca__captions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.2em;
  margin: 0;
  text-align: center;
}
.ca__caption {
  position: absolute;
  inset: 0;
  opacity: 0;
  font-size: var(--t-ui);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  color: var(--ink-70);
  animation: ca-caption var(--ca-dur) linear infinite both;
  /* --ca-build, not --ca-dur: the five names divide the BUILD between them,
     so caption i owns i/5 to (i+1)/5 of the first 76% of the cycle. Dividing
     the full cycle instead would stretch every stage by 25% and leave the
     names lagging behind the artwork they label. */
  animation-delay: calc(var(--ca-build) * var(--i) / var(--ca-stages));
}
@keyframes ca-caption {
  0%          { opacity: 0; transform: translateY(5px); }
  3%          { opacity: 1; transform: none; }
  12.2%       { opacity: 1; transform: none; }
  15.2%, 100% { opacity: 0; transform: none; }
}

/* The last name stays up through the hold.
   On the shared keyframes above it would leave at 76% --- the instant the
   build ends --- so the pause would be two and a half seconds of finished tag
   with no label under it, and that is the one stage the viewer actually has
   time to read. Its own window instead: in at 3% of its iteration as usual,
   then held to 35.2% and gone by 39.2%. Against its 7.6s delay those land on
   12.0s and 12.5s --- exactly the 96% and 100% where the artwork fades and
   wraps, so the caption and the thing it names leave together. */
.ca__caption:last-child { animation-name: ca-caption-last; }
@keyframes ca-caption-last {
  0%          { opacity: 0; transform: translateY(5px); }
  3%          { opacity: 1; transform: none; }
  35.2%       { opacity: 1; transform: none; }
  39.2%, 100% { opacity: 0; transform: none; }
}

/* ⚠️ NO HOVER PAUSE. Asked for 2026-10-02: "make the concept to reality
   animation wont stop even if i hover on it, just make it always looping".
   The rule used to read

       .ca:hover *, .ca:focus-within *, .ca:not(.is-visible) *

   and the comment on --ca-dur argued hard for keeping the first two. That
   argument is overruled; the loop now runs continuously once it has been
   scrolled to. :focus-within went with :hover rather than being left behind as
   a half-measure --- nothing inside .ca is focusable (the artwork and the
   captions are both aria-hidden), so it could never have fired anyway.

   What REMAINS is the visibility gate, which is a different thing: it stops the
   sequence burning frames before the reader has reached the section, and
   releases permanently on first view. That is not a pause, and removing it
   would animate an off-screen panel on every page load.

   ⚠️ The accessibility cost is real and is written up in HANDOFF: WCAG 2.2.2
   wants a way to pause motion that runs longer than 5s, and this loop is 12.5s.
   `prefers-reduced-motion` still pins the whole thing to the finished piece, so
   a reader who has asked for less motion gets none --- that is now the only
   mechanism. */
.ca:not(.is-visible) * { animation-play-state: paused; }

/* Reduced motion: no sequence at all, just the finished piece. Everything
   that would have animated is pinned to its end state, so the panel shows
   the tag it was always building towards rather than an empty box. */
@media (prefers-reduced-motion: reduce) {
  .ca__art *, .ca__caption { animation: none; }
  .ca__grid, .ca__spark, .ca__sketch, .ca__spec { display: none; }
  .ca__tag, .ca__hole, .ca__fill, .ca__detail { opacity: 1; }
  .ca__string { opacity: 1; stroke-dashoffset: 0; }
  .ca__caption { opacity: 0; }
  .ca__caption:last-child { opacity: 1; }
}

/* ============================================================================
   Slide 9 --- the global framework, in four stages
   ----------------------------------------------------------------------------
   A centred pull quote over a row of four photographs.

   The deck draws the four tiles at y=342, h=300, x=101 (w=235) / 392 (236) /
   684 (226) / 966 (214): widths drift by 21px and gaps by 10px, which
   deck_layout_spec.md reads as an equal 4-up grid drawn by hand. Built equal.
   --ratio comes from the first tile, 235/300.

   Column counts are stepped rather than auto-fit: the row is a SEQUENCE
   (sourcing -> production -> finishing -> dispatch), so it has to break into
   2x2 and 1-up, never into an orphan 3+1 that reads as a different order.
     320-479   1 up
     480-1023  2 x 2
     1024+     4 across --- about 240px a tile at 1024, near the deck's 235
   ========================================================================= */

.framework__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.6vw, 20px);
}
/* Grid children default to min-width:auto, which lets a long caption blow a
   track past the viewport --- RESPONSIVE.md section 4. */
.framework__grid > * { min-width: 0; }
@media (min-width: 480px) {
  .framework__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .framework__grid { grid-template-columns: repeat(4, 1fr); }
}

.framework__step { margin: 0; }

/* Always visible, never a hover reveal. These four are the only thing telling
   the reader the row is a sequence, and RESPONSIVE.md section 5 bans
   hover-only affordances outright --- on a touch screen the captions would
   simply never appear. Below the image rather than over it: the photographs
   are busy at the bottom edge and a scrim dark enough to carry type over them
   would fight the greyscale UI. */
.framework__caption {
  margin-top: var(--sp-2);
  font-size: var(--t-ui);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  color: var(--ink-70);
}

/* The step number. A plain counter, so the order survives being read out and
   does not depend on the four captions being understood as a sequence. */
.framework__step-n {
  color: var(--ink-45);
  font-variant-numeric: tabular-nums;
}

/* ============================================================================
   Slide 10 --- innovation & research, the offset two-up
   ----------------------------------------------------------------------------
   Only the gap between the two rows lives here. The rows themselves are
   .split .split--offset, and the alternation is .split--media-first on the
   second one --- both already in the layout section above.

   The deck sets the two images at y=117 and y=419, h=223 each, so the gap
   between the rows is 79px. That falls between --sp-5 (64) and --sp-6 (96),
   which is why this is a rule and not a .stack modifier: --sp-4 (40px, what
   .stack--loose gives) is far too tight under a 223px-tall landscape, and
   --sp-6 overshoots the slide. Fluid so it closes up on a phone, where the
   rows have already stacked into four alternating blocks and the gap is doing
   much more work.
   ========================================================================= */

.innovation__rows > * + * { margin-top: clamp(48px, 6vw, 80px); }

/* ============================================================================
   GROUP > History --- deck slide 11, the timeline
   ----------------------------------------------------------------------------
   ONE VIEWPORT, no scrolling in either axis ("make the timeline in 1 page,
   dont make it longer than 1 page", 2026-10-02). The deck draws a track 1.7x
   the page width with prev/next arrows; that version shipped first and is gone,
   along with the two scroll bugs it carried (HANDOFF).

   What is left: the deck's band as a figure, the deck's rule with a tick and a
   year at each of four stops, and one line of text. Only the selected
   milestone's image and text are shown, so the section's height does not depend
   on how many milestones there are.

   HEIGHT BUDGET, which is the whole constraint. At 1280x800:
     section padding   64 + 64   (--sp-5, via .section--tight)
     figure            <= 38svh  = 304
     rail              ~72       (44px touch target + the tick above it)
     text              ~72       (3 lines reserved, see .tl__body)
     -------------------------------------------------------------
     ~640, against 800 - 72 header - 49 sub-nav = 679 of viewport.
   The figure cap is what keeps that true on a short screen: svh, so it tracks
   the real viewport rather than 100vh's lie about mobile browser chrome.
   ========================================================================= */

.tl__figure {
  margin: 0 0 var(--sp-4);
}
/* The deck's 1282:377 is held by .media--band; this caps the HEIGHT so the
   whole section still fits a short viewport. With both set the box keeps the
   full width and loses height, and object-fit: cover on .media > img crops
   rather than squashing. */
.tl__figure .media {
  /* 34svh, not 38. With all four descriptions visible the rail is ~200px tall on
     a desktop, and at 38svh a 1280x800 window came out at 675 against 675 of
     viewport --- exactly on the line, which is not a margin. 34 buys ~32px back
     where it is cheapest: the band is 3.4:1, so losing a little height costs
     almost no picture. */
  max-height: 34svh;
}
/* Cross-fade between years. The <img> is keyed on its src in page-history.jsx,
   so switching years mounts a NEW element --- which means this animates on
   arrival and there is no frame of the previous year's photograph. */
.tl__img { animation: tl-fade var(--dur-nav) var(--ease-out) both; }
@keyframes tl-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* The rail: the deck's rule at y=541 with its ticks, and now ALL FOUR
   milestones under it --- year over description, four columns, which is what
   slide 11 actually draws.

   COLUMN-GAP IS ZERO ON PURPOSE. The breathing room between columns is
   padding-right INSIDE each stop instead, which means each stop's rule segment
   can span its own full width and the four join into one continuous line with
   nothing to bridge. With a real gap the rule breaks at every column boundary,
   and bridging it (negative insets on a pseudo-element) makes the first and last
   segments hang outside the container.
   It also survives wrapping: at 2 columns each ROW gets its own continuous rule
   for free, which a single rule drawn once across the rail could never do.

   -- HEIGHT: THIS NO LONGER FITS ONE VIEWPORT EVERYWHERE, AND CANNOT ----
   While only the selected milestone's text was shown, the section fitted a
   single viewport at every supported size. Four descriptions plus the figure is
   simply more content, and on the shortest screens it does not fit however it is
   arranged. Measured:

     1280x800   fits      390x844  fits       768x1024  fits
     1920x1080  fits      320x568  OVER by ~200px
     844x390    OVER (a landscape phone cannot show four paragraphs and an image)

   Four paragraphs and a photograph do not go into 285px of viewport in any
   arrangement, so this is a consequence of the instruction rather than a layout
   fault. The section scrolls with the page there, which it always could --- the
   timeline is one section of a long page now, not a page of its own.
-------------------------------------------------------------------------- */
.tl__rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 0;
  row-gap: var(--sp-5);
}
/* Grid children default to min-width:auto, which lets a long word blow a track
   out past the viewport --- RESPONSIVE.md section 4. */
.tl__stop {
  position: relative;
  min-width: 0;
  /* The deck's 14px of air between a 439 description and the next tick, fluid. */
  padding-right: clamp(14px, 1.8vw, 28px);
}
/* One segment per stop; they abut into a single line across the row. */
.tl__stop::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-top: 1px solid var(--ink-20);
}

.tl__year {
  position: relative;
  /* 44px minimum, per RESPONSIVE.md --- these four are the whole interaction on
     this section. The tick lives in the top padding. */
  min-height: 44px;
  padding-block: var(--sp-2) 0;
  text-align: left;
  font-size: var(--t-year);
  line-height: var(--lh-tight);
  font-variant-numeric: tabular-nums;
  color: var(--ink-45);
  transition: color var(--dur) var(--ease);
}
.tl__year:hover { color: var(--ink); }

/* ⚠️ The one coloured thing in the UI that is not the logo. See --brand-blue.
   The ONLY thing that changes between years now: every description is on the
   page from the start, so the selected year's colour is the whole state. */
.tl__year.is-active { color: var(--brand-blue); }
.tl__year.is-active .tl__tick { background: var(--brand-blue); }

/* The tick, straddling the rule as the deck draws it (h=41 centred on y=541).
   Half above the stop's top edge, half below. */
.tl__tick {
  position: absolute;
  top: -20px;
  left: 0;
  width: 1px;
  height: 41px;
  background: var(--ink);
  transition: background var(--dur) var(--ease);
}

.tl__body {
  margin-top: var(--sp-2);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--ink-70);
}
/* min-height is GONE from .tl__body. It reserved three lines so the rail did not
   jump as you clicked between years --- there is nothing to jump now, because
   all four are always rendered, and reserving the height would only pad the
   section out. */

/* Four text columns do not work on a phone: at 320px that is 70px a column.
   Two, and the year steps down a notch so "2011" still fits its cell.
   row-gap already clears the tick, which hangs 20px above each stop. */
@media (max-width: 479px) {
  .tl__rail { grid-template-columns: repeat(2, 1fr); }
  .tl__year { font-size: var(--t-h3); }
}

/* ---- short viewports -----------------------------------------------------
   RESPONSIVE.md section 5 calls landscape phones the usual failure point, and
   it is right, but the one-viewport promise is no longer keepable here --- see
   the height note on .tl__rail. Four descriptions and a photograph do not fit
   285px of viewport in any arrangement.

   So this block no longer tries to make them fit. It takes back the space that
   is pure padding on a short screen, and lets the section scroll, which it
   always could: the timeline is one section of a long page now.

   A figure-beside-the-rail form used to live here, from when only the selected
   milestone's text was shown --- it turned the sum of the figure's and the
   rail's heights into the larger of the two and brought a landscape phone back
   inside one viewport. It is gone: with four text columns the rail is the tall
   part, and halving its width makes each column ~86px, so it would buy a little
   height at the cost of eight-line paragraphs.
-------------------------------------------------------------------------- */
@media (max-height: 620px) {
  .timeline { padding-block: var(--sp-3); }
  .tl__figure { margin-bottom: var(--sp-2); }
  .tl__figure .media { max-height: 30svh; }
  .tl__rail { row-gap: var(--sp-4); }
}

/* ============================================================================
   GROUP > Global Location --- deck slide 12
   ----------------------------------------------------------------------------
   A world map with the factories and offices pinned on it, and the same list
   underneath. Reference: pdsltd.com's footprint section, trimmed to the two
   categories asked for.

   THE PINS ARE PRESENTATIONAL AND THE LIST IS THE CONTROL. Measured separation
   on a map painted 820px wide: Shanghai to Changshu is 1.8px, Montreal to New
   York 12px. Two 44px touch targets cannot live 1.8px apart, and moving a pin
   to make room would put a factory in the wrong province to solve a layout
   problem. So the list rows are the focusable, hoverable things and they light
   their own pin --- which is also the touch equivalent RESPONSIVE.md section 5
   demands for the deck's hover interaction.
   ========================================================================= */

/* ============================================================================
   Slide 12's composition: the map does NOT fill the width
   ----------------------------------------------------------------------------
   The deck puts the map at x=17..830 of its 1282 canvas (64.7%) and stacks the
   region labels in a column at x=895..1152, each with a contact line beneath.
   The map left, the list right.

   ⚠️ NOT the deck's exact 813:257 ratio, and deliberately. That column is 20%
   of the canvas because it held four short continent names. This page lists
   THIRTEEN countries, several carrying a published address — at 20% that is a
   single 273px column running about twice the height of the map beside it.
   1.6fr:1fr keeps the deck's arrangement (map clearly dominant, list to its
   right) at a width the real content can use: ~430px, which is two columns of
   the list grid rather than one.

   Splits at 1120, not 1024, and the number is measured rather than picked.
   The right column is 1/2.6 of the inner width; the list inside it needs
   2x160px + a 40px gap = 360px to stay in two columns. At a 1024 viewport the
   gutters leave an inner of ~907, so the right column is ~349 — four pixels
   short, and the list collapses into one tall vertical stack, which is the
   thing the horizontal-list change was for. At 1120 it is ~382 and holds two.
   1120 is already on the breakpoint contract as a component breakpoint
   (RESPONSIVE.md §2); this is a second component with an intrinsic width of
   its own, which is exactly what that allowance is for.
   ========================================================================= */
.loc__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
/* Grid children default to min-width:auto, which lets a long address blow a
   track past the viewport — RESPONSIVE.md §4. */
.loc__layout > * { min-width: 0; }
@media (min-width: 1120px) {
  .loc__layout {
    grid-template-columns: 1.6fr 1fr;
    gap: clamp(32px, 4vw, 65px);   /* the deck's own 65px gutter at full size */
    align-items: start;
  }
}

.loc__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.loc__filter {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  /* 44px of target on touch, per RESPONSIVE.md --- the legend is the only other
     control in this section. */
  min-height: 44px;
  padding-right: var(--sp-2);
  font-size: var(--t-ui);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  color: var(--ink-45);
  transition: color var(--dur) var(--ease);
}
.loc__filter.is-on { color: var(--ink); }
.loc__filter:hover { color: var(--ink); }
/* A filter that is off must not read as merely "not hovered": the pin empties
   out so the state survives both greyscale and a colour-blind reader. */
.loc__filter:not(.is-on) .loc__pin { background: none; }

/* ⚠️ THE 813x390 BAND IS GONE (2026-10-05). That was the deck's flat map;
   a sphere in a letterbox wastes the short axis, and the globe sets its own
   square ratio. Height now comes from the globe. */
.loc__map {
  position: relative;
  margin-bottom: var(--sp-5);
}
/* The markers are EMOJI (asked for 2026-10-02): 📍 office, 🏭 factory. They are
   text, not artwork, so they take font-size rather than width/height and there
   is nothing to recolour --- which is also why they are the third deviation
   from the greyscale direction, after the logo and the timeline's blue year.
   The two glyphs differ in shape as well as colour, so the distinction survives
   for a colour-blind reader and in print. */
.loc__pin {
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  flex: 0 0 auto;
  /* Emoji carry their own colour; this only affects the fallback glyph on a
     platform without one. */
  color: var(--ink);
}
/* A filter that is off dims its glyph. There is no "empty" state available for
   an emoji, so opacity is the honest signal. */
.loc__filter:not(.is-on) .loc__pin { opacity: 0.3; }

/* Role badges on the card. */
/* A column, not a row: offices first and factories under them. */
.loc__roles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: var(--sp-2);
}
.loc__role {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--t-caption);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  color: var(--ink-70);
}
.loc__pending { color: var(--ink-45); font-style: italic; }

/* A country's own published detail, under its name in the list. */
.loc__detail { margin-top: var(--sp-2); }
.loc__detail-city {
  font-size: var(--t-caption);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  color: var(--ink-45);
}

/* The card. White, because it floats over the grey map and has to separate from
   it --- the one place on the site where a panel needs its own ground. */
/* ⚠️ THE HOVER CARD IS A TOOLTIP AT THE POINTER (2026-10-05).
   Third arrangement, and the first two were both wrong: anchored to
   CENTRE[cc] (flat-map percentages a sphere does not have), then pinned under
   the globe (which meant looking away from the country to read about it).

   It lives inside .globe__tip, which page-location.jsx moves with a transform
   on every pointermove. Width is fixed here rather than by content so the
   flip-at-the-edge maths in that handler has a stable number to work with. */
.globe__tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: min(340px, 72vw);
  /* The BOX is inert — it is only a positioning frame, and it is wider than
     the card it holds, so letting it catch the pointer would block the globe
     around the card. The card itself is reachable (see .loc__card). */
  pointer-events: none;
  will-change: transform;
}

/* ⚠️ REACHABLE ON PURPOSE. The card holds a phone number and an email
   address, and it used to vanish the moment you moved toward them: it was
   pointer-events: none, and the canvas's own pointerleave fired as soon as the
   cursor crossed onto it. Closing is now handled by the wrapper's
   pointerleave, so moving from the country onto the card keeps it open and
   those details can actually be selected. */
.loc__card {
  pointer-events: auto;
  padding: var(--sp-3);
  background: var(--paper);
  border: var(--rule-soft);
  /* Lifted off the globe, which it now sits directly on top of. */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  animation: loc-expand var(--dur-nav) var(--ease-out) both;
}
@keyframes loc-expand {
  from { opacity: 0; transform: translate(-50%, var(--sp-2)) scale(0.96); }
  to   { opacity: 1; transform: translate(-50%, var(--sp-3)) scale(1); }
}
.loc__card-head {
  font-size: var(--t-caption);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  color: var(--ink-45);
  padding-bottom: var(--sp-1);
  border-bottom: var(--rule-soft);
  margin-bottom: var(--sp-2);
}
.loc__card-item { display: flex; gap: var(--sp-2); }
.loc__card-item + .loc__card-item {
  margin-top: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: var(--rule-soft);
}
/* Fixed width, ratio held by .media --- so the card is the same size with a
   photograph or with the "to be supplied" slot, and does not resize as images
   decode under the pointer. */
/* A full-width strip across the top of the card, not the 80px thumbnail it was
   while the card listed several cities side by side. 2:1 rather than
   .media--strip's 298:140, so a ~330px card gets a ~165px picture and the whole
   panel still clears the bottom of the map. The 1/1 this briefly carried made a
   330px square and pushed the card off the map entirely. */
.loc__shot { --ratio: 2 / 1; margin-bottom: var(--sp-2); }
.loc__card-body { min-width: 0; }
/* Inline, not flex. As a flex row the country became its own flex item and
   wrapped onto a line of its own, leaving "China" stranded under "Shanghai".
   The glyph is inline-block inside the same line box instead, so the city and
   country wrap as ordinary text. */
.loc__card-city {
  /* --t-ui, not --t-body. The text column in the card is ~216px; at body size
     "New York — United States" is ~200px and wrapped onto three lines once the
     country is held together by nowrap. This is a compact overlay panel, so the
     smaller step is right anyway. */
  font-size: var(--t-ui);
  line-height: var(--lh-snug);
  color: var(--ink);
}
.loc__card-city .loc__pin { margin-right: 5px; }

/* ONE ROLE PER ROW. Each block is a full-width band --- its heading, then its
   countries running ACROSS it ("make the office and factory list horizontal,
   not vertical", 2026-10-02).

   This also retires a leftover: the block was repeat(3, 1fr) from when the list
   was grouped by continent, so since the switch to two roles it had been laying
   two groups into a three-column grid and leaving the third empty. */
.loc__regions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
.loc__regions > * { min-width: 0; }

.loc__region-name {
  font-size: var(--t-ui);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  color: var(--ink-45);
  padding-bottom: var(--sp-2);
  border-bottom: var(--rule-soft);
}
/* The countries flow across, not down. auto-fit rather than a fixed column
   count because the two lists are different lengths (7 offices, 8 factories)
   and the countries that carry a published address are much taller than the
   ones that do not --- an equal-track grid keeps the rows aligned without
   anyone choosing a number.

   160px is the floor: "United Kingdom" and "Bangladesh" both fit it at
   --t-body, and below that the grid drops to fewer columns rather than
   breaking a country name. */
.loc__list {
  margin-top: var(--sp-3);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-3) var(--sp-4);
  align-items: start;
}
/* Grid children default to min-width:auto, which lets a long address blow a
   track past the viewport --- RESPONSIVE.md section 4. */
.loc__list > * { min-width: 0; }

/* tabIndex=0 in the JSX makes these reachable; the padding is there so the
   global :focus-visible ring has somewhere to sit rather than clipping against
   the text. No flex row any more --- the pin moved to the role heading, so the
   item has a single child. */
.loc__item { padding: 2px; }
.loc__body { min-width: 0; }

.loc__city {
  font-size: var(--t-body);
  color: var(--ink);
}
.loc__addr {
  margin-top: var(--sp-1);
  font-size: var(--t-caption);
  color: var(--ink-70);
}
.loc__link {
  display: block;
  margin-top: 2px;
  font-size: var(--t-caption);
  color: var(--ink-70);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--ink-20);
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
  /* Addresses and emails are long strings in a narrow column --- RESPONSIVE.md
     section 4 names exactly this as the usual cause of sideways scroll. */
  overflow-wrap: break-word;
}
.loc__link:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* 2026-11-23 (owner: "the world model is not shown in phone view"). The globe
   used to be hidden under 480px, on the grounds that the list below carries
   every fact it shows. It is shown at every width now. */

.intro__body {
  margin-top: var(--sp-4);
  max-width: 62ch;        /* the deck's 684px column is ~72ch — too wide to read */
}
.intro__body > p + p { margin-top: var(--sp-2); }
.intro__cta { margin-top: var(--sp-5); }

/* Traceability teaser — deck slide 5. Same vertical rhythm as .intro so the
   two text columns on the homepage read as one system. */
.trace__body { margin-top: var(--sp-4); }
.trace__cta { margin-top: var(--sp-5); }

@media (max-width: 479px) {
  .intro__cta { margin-top: var(--sp-4); }
  .trace__cta { margin-top: var(--sp-4); }
  .intro__cta .cta { width: 100%; justify-content: center; }
}

/* ============================================================================
   Solution tiles — deck slide 4
   ----------------------------------------------------------------------------
   Deck: three 393x557 portrait tiles at x=18/431/845, y=125, ~20px apart, with
   a black caption band over the bottom edge of each.

   The red note on the slide defines the behaviour:
   "When you hover over it with the mouse, it dims slightly, and then a very
   short line of text appears."

   So the detail line is a HOVER state, not a resting one. The title stays
   visible at rest regardless — three unlabelled photographs would give a
   visitor nothing to aim at.

   Touch devices have no hover, so under (hover: none) both lines are shown
   permanently and the dim is baked in. Required by RESPONSIVE.md §5.

   Tiles sit on the wide chrome container, so they line up with the header,
   hero and footer. The deck's own 18px left / 42px right margins are
   asymmetric — that is wireframe drift, not a design intent.
   ========================================================================= */

.tiles__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.6vw, 20px);
}
@media (min-width: 768px) {
  .tiles__grid { grid-template-columns: repeat(3, 1fr); }
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--placeholder);
  isolation: isolate;
}
.tile .media { aspect-ratio: 393 / 557; }

/* The dim. Sits above the image, below the caption. */
.tile__scrim {
  position: absolute; inset: 0;
  background: var(--scrim);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}
.tile:hover .tile__scrim,
.tile:focus-visible .tile__scrim { opacity: 1; }

.tile__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  background: var(--ink);
  color: var(--paper);
  padding: var(--sp-2) clamp(14px, 1.6vw, 20px);
}
.tile__title {
  font-size: var(--t-lead);
  font-weight: 600;
  line-height: var(--lh-snug);
}

/* 0fr → 1fr animates a height the browser computes for us, so the detail
   line can be any length without a hardcoded max-height. */
.tile__detail-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.tile__detail-inner { overflow: hidden; }
.tile__detail {
  padding-top: 6px;
  font-size: var(--t-caption);
  color: rgba(255, 255, 255, 0.82);
}
.tile:hover .tile__detail-wrap,
.tile:focus-visible .tile__detail-wrap { grid-template-rows: 1fr; }

/* No hover available: show everything, always. */
@media (hover: none) {
  .tile__detail-wrap { grid-template-rows: 1fr; }
  .tile__scrim { opacity: 0.35; }
}

/* ============================================================================
   Page scaffolding — used by the "not built yet" stub
   ========================================================================= */

.page-stub { padding-block: var(--sp-7); }
.page-stub__meta {
  font-size: var(--t-caption);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  color: var(--ink-60);
}
.page-stub__title { margin-top: var(--sp-2); }
.page-stub__note { margin-top: var(--sp-3); color: var(--ink-70); }

.cta__arrow { line-height: 1; }

/* ============================================================================
   INSIGHT — deck slide 27
   ----------------------------------------------------------------------------
   Feature card 177/225/298x375 on the left, three 298x140 strips at x=654,
   y = 123 / 310 / 496 — pitch 187, so the gap between strips is 47.

   The two columns are 298 wide each but sit 654-475 = 179px apart, which is
   not a ratio any existing .split rule draws. It is also NOT a .split: the
   deck's composition here is two equal columns with a wide trough, so this is
   its own grid rather than a .split--* variant that would have to override
   both tracks and the gap anyway.
/* ============================================================================
   TRACEABILITY — deck slides 19–22
   ----------------------------------------------------------------------------
   One scrolling page, four sections: the cover (19), the chain (20), and two
   copy blocks (21, 22). See page-traceability.jsx for why it is one page and
   for the two open items (the chain captions are our copy; every stage photo
   is missing).
   ========================================================================= */

/* -- Section cover — slide 19 --------------------------------------------
   Full-bleed grey 0/0/1282x721 with the headline at 76/239. The deck's box
   is the whole slide, so this fills the viewport below the two sticky bars
   rather than taking a fixed height: 721/1282 of a 1280 canvas is 56vh, but
   a cover that is 56vh on a tall monitor and 56vh on a short laptop is two
   different compositions. min-height on the viewport unit, capped so an
   ultrawide does not get a 1200px-tall grey field, matches what the slide
   depicts at every size.
   100svh, not vh: on mobile Safari vh includes the collapsing toolbar, which
   makes the cover taller than the screen on first paint. */
.cover {
  display: grid;
  align-content: center;
  background: var(--placeholder);
  min-height: min(56svh, 620px);
  /* The section's own padding plus centred content; --sp-7 top and bottom
     would push the headline off a short screen. */
  padding-block: var(--sp-6);
}
/* The deck puts the headline at y=239 of 721 — above centre. The grid above
   centres it instead, which is the same composition once the two sticky bars
   are taking space off the top of the box: the optical centre of what is left
   is roughly where the deck draws it. */
/* ONE line now (2026-10-02), where the deck sets two. Nothing here forces
   that: the headline is a single string, it fits the 1134px content column at
   96px in both EN and ES, and on a narrow phone it wraps on its own space.
   The flex column and .cover__line that used to stack the deck's two halves
   are gone — a forced break is the one thing that would stop it being one
   line at the width it is meant to be one line at. */
.cover__title {
  margin: 0;
  /* Long single-word overflow guard; the phrase itself has spaces to break
     on, so this never fires in EN or ES — it is here for a future locale. */
  overflow-wrap: break-word;
}

/* -- The chain — slide 20 -------------------------------------------------
   TWO FORMS, one breakpoint, and the breakpoint is the point.

   This was first built with `repeat(auto-fit, minmax(188px, 1fr))`, on the
   reasoning that the column count could just follow the space. It cannot:
   seven is a FIXED number of links and auto-fit wrapped them 6 + 1, which
   reads as six stages and an orphan. Worse, the connector rule is drawn from
   each node toward the next, so the sixth stage — last on its row but not
   last in the list — drew a line off into empty space.

   So the count is stated rather than inferred:

     below 1280   one column, photo beside its caption, rule running DOWN
     1280 and up  seven columns, one row, rule running ACROSS

   1280 is the deck's own canvas width, and 1134px of content divided seven
   ways is 148px a stage — enough for a square photo and a three-line caption,
   and the reason those captions are written short. Below that, seven across
   would be 119px or less, which is a column too narrow to read, so the whole
   thing becomes a list instead of being squeezed.

   Because the row form is guaranteed to be ONE row, :last-child is reliably
   the end of the line, and the orphan rule above cannot come back. */

/* ONE line (2026-10-02). The 24ch cap that used to be here is what broke it
   over two; the phrase is 33 characters. No cap, and it is short enough that
   it never approaches the content column at --t-h2 — it only wraps on a
   phone, where it must. */
.chain__lead {
  margin: 0 0 var(--sp-5);
}

.chain__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* One column. The row form is opted into at 1280, not out of here. */
  gap: var(--sp-4);
}

/* -- Below 1280: a list. Photo left, caption right, rule down the gutter. */
.chain__stage {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}
.chain__figure {
  position: relative;
  /* Grows with the viewport so this form does not look starved on a tablet,
     where it has the whole content column to itself. */
  flex: 0 0 clamp(88px, 15vw, 190px);
}
.chain__text { flex: 1 1 auto; max-width: 54ch; }

/* The connector. One rule per stage, drawn from this stage toward the next,
   and removed on the last — a chain ends at its last link. Here it runs down
   the middle of the photo column, through the --sp-4 gap to the next photo. */
.chain__figure::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: var(--sp-4);
  transform: translateX(-50%);
  background: var(--ink-20);
}
.chain__stage:last-child .chain__figure::after { display: none; }

/* The node only exists in the row form, where it sits ON the horizontal rule.
   In the list form the vertical rule meets the photo edge-on and a dot there
   would just be a speck in the gutter. */
.chain__node { display: none; }

.chain__step {
  margin: 0;
  font-size: var(--t-caption);
  letter-spacing: var(--tracking-ui);
  color: var(--ink-45);
  font-variant-numeric: tabular-nums;
}
.chain__name {
  margin: var(--sp-1) 0 0;
  font-size: var(--t-ui);
  letter-spacing: var(--tracking-ui);
  text-transform: uppercase;
  font-weight: 600;
}
.chain__body {
  margin: var(--sp-1) 0 0;
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--ink-70);
}

/* -- 1280 and up: the chain proper. Seven columns, one row. ------------- */
@media (min-width: 1280px) {
  /* minmax(0, 1fr), NOT 1fr. A bare `1fr` is `minmax(auto, 1fr)`, so a
     column refuses to shrink below its longest unbreakable word: the single
     word MANUFACTURING forced its column to 154.9px against the 147.2px the
     other six got, which pushed that stage's photo 8px lower and lifted its
     node clean off the connector rule. The track looked broken in exactly
     one place, for a reason nothing in this rule hinted at. minmax(0, 1fr)
     makes all seven genuinely equal; the name size below is what then keeps
     MANUFACTURING inside its column instead of overflowing it. */
  .chain__track {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: var(--sp-2);
  }
  /* 1134px of content split seven ways is 147px, and MANUFACTURING at --t-ui
     (16px) measures 155px — it does not fit, and it is the longest stage name
     there is. 14px with slightly tighter tracking brings it to ~135px with
     room in hand. Small for a heading, but this is a diagram label sitting
     above its own sentence, not a section heading. */
  .chain__name {
    font-size: clamp(12px, 1.05vw, 14px);
    letter-spacing: 0.04em;
    /* Two lines' worth of space whether the name needs them or not, so all
       seven captions start on the same line. "RFID & IDENTIFICATION" is the
       only one that wraps, and without this it pushed its own caption ~18px
       below the other six --- one column visibly out of step in a row that is
       meant to read as a single chain.
       line-height is pinned here rather than inherited (body is 1.55, loose
       for a two-line uppercase label) so the min-height can be exact: 2 lines
       x 1.3 = 2.6em. */
    line-height: 1.3;
    min-height: 2.6em;
  }
  .chain__stage {
    display: block;
  }
  .chain__figure { flex: none; }
  .chain__text { margin-top: var(--sp-3); max-width: none; }

  /* The rule turns horizontal: from this node, across the gap, to the next.
     100% + the gap reaches the next node exactly. It sits behind the node,
     so the dot reads as sitting on the line rather than beside it. */
  .chain__figure::after {
    top: 100%;
    left: 50%;
    width: calc(100% + var(--sp-2));
    height: 1px;
    margin-top: calc(var(--sp-2) + 5px);
    transform: none;
  }

  .chain__node {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    width: 11px;
    height: 11px;
    margin-top: var(--sp-2);
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--paper);
    border: var(--rule);
    z-index: 1;
  }
}

/* -- Copy blocks — slides 21 and 22 -------------------------------------- */

/* The deck draws both as a single text block in the left two-thirds
   (748px of 1282 for PPWR, 964 for DPP). Capped at 68ch so the measure is a
   reading width rather than the deck's 90–110 character line. */
.copyblock__inner { max-width: 68ch; }

/* The regulation's full name, over the heading it introduces.

   SENTENCE CASE, which is a deliberate break from every other small label on
   this site (.trace-anim__label, .loc__card-head, .chain__step are all caps
   + tracking). Those are one or two words; this is seven, and the whole
   reason the line exists is that a reader takes it in at a glance. Fifty
   characters of tracked uppercase is measurably slower to read, which would
   defeat the point. Set in --t-ui so it still reads as a label rather than
   as a first paragraph, and muted so it never competes with the headline. */
.copyblock__eyebrow {
  margin: 0 0 var(--sp-1);
  font-size: var(--t-ui);
  line-height: var(--lh-snug);
  color: var(--ink-45);
}

.copyblock__heading { margin: 0 0 var(--sp-3); }

/* DPP's heading is two sentences and the break between them is deliberate
   (slide 22, asked for 2026-10-02), so each is its own block rather than
   landing wherever the measure runs out. PPWR passes a single key and gets
   one of these, which costs it nothing. Each half still wraps on its own
   when the screen is too narrow to hold it. */
.copyblock__line { display: block; }

.copyblock__body {
  margin: 0 0 var(--sp-2);
  font-size: var(--t-lead);
  line-height: var(--lh-body);
  color: var(--ink-70);
}
.copyblock__body:last-of-type { margin-bottom: 0; }

/* Slide 22's sub-head: 23pt bold, which is --t-h3 on this scale. */
.copyblock__subhead {
  margin: var(--sp-4) 0 0;
  font-size: var(--t-h3);
  line-height: var(--lh-snug);
  font-weight: 600;
}

/* The one line on each slide that is a claim rather than explanation. Set
   apart above a rule so it carries without being made bigger than the
   heading it sits under. */
.copyblock__kicker {
  margin: var(--sp-4) 0 0;
  padding-top: var(--sp-3);
  border-top: var(--rule);
  font-size: var(--t-lead-lg);
  line-height: var(--lh-snug);
  color: var(--ink);
  max-width: 34ch;
}

.copyblock__cta { margin-top: var(--sp-4); }

/* -- The inert "Explore TraceID" CTA -------------------------------------
   ⚠️ NOT A LINK, ON PURPOSE. There is no URL to point it at: the one the
   client gave (traceid.io) is a different company, and so are traceid.co and
   trace-id.com. It is a <span> with no href and no tabindex — see the note
   in page-traceability.jsx.
   It keeps the .cta box so the deck's composition is intact, but drops the
   affordances: no pointer, no hover inversion, muted border and text, so it
   does not read as a control that is failing to respond. */
.cta--pending {
  cursor: default;
  color: var(--ink-45);
  border-color: var(--ink-20);
  gap: var(--sp-1);
  /* .cta only transitions background and colour; the border moves here too. */
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

/* Hover response, asked for 2026-10-02 while the destination is still
   undecided. It deliberately does NOT do what a live .cta does --- a real one
   inverts to a solid black fill. This only lifts out of its muted state to full
   ink, text and border together, with no fill. So it acknowledges the pointer
   without claiming to be a link it is not: there is still no href, no tabindex
   and no pointer cursor, and `smoke.mjs` still fails if any of that changes.

   Behind (hover: hover) so a touch device does not latch the state on after a
   tap --- on a control that does nothing, a stuck "active-looking" button is
   worse than no feedback at all. */
@media (hover: hover) {
  .cta--pending:hover {
    background: none;
    color: var(--ink);
    border-color: var(--ink);
  }
}
   ========================================================================= */

/* ============================================================================
   SUSTAINABILITY — deck slides 23, 24 and 26
   ----------------------------------------------------------------------------
   Slide 25 is blank in the deck and is skipped deliberately.
   See page-sustainability.jsx for the two open items (ten empty image slots;
   five unverified targets).
   ========================================================================= */

/* -- Cover, slide 23 -----------------------------------------------------
   Reuses .cover from slide 19 and only changes the alignment. The deck draws
   the two covers differently on purpose: slide 19 sits at the content gutter,
   slide 23 is centred and spans 94% of the canvas. */
.cover--centre { text-align: center; }

/* N.A.T.U.R.E is 1208 of 1282 wide in the deck — it nearly touches both
   edges. --t-display-x already carries that role on the type scale, so the
   width comes from letter-spacing rather than a bigger size: the letters are
   pushed apart until the word spans the measure, which is what the slide
   depicts. Capped so it never forces a horizontal scrollbar at 320px, where
   the word is already 11 glyphs of 38px type.
   The trailing letter-space sits to the right of the final E and would push
   the optical centre left, so it is pulled back. */
.cover--nature .cover__title {
  /* ⚠️ TRACKING HERE IS TIGHTLY BUDGETED, not a free style choice.
     "N.A.T.U.R.E" is ELEVEN glyphs, so every 0.01em of letter-spacing costs
     eleven times its own width. The first build used clamp(0.02em, 1.2vw,
     0.18em) on the reasoning that the deck spreads the word across 94% of the
     canvas --- at 184px that added ~33px per glyph, 363px in total, and the
     word wrapped to "N.A.T.U.R." + "E". Measured, not guessed: see below.

     It needs none of it. At the top of the scale --t-display-x is capped at
     184px while --container is capped at 1280, so the word already fills
     ~93% of the content column on its own --- which is the deck's proportion
     arrived at by the type size rather than by spacing it out.

     The trailing letter-space sits to the right of the final E and would push
     the optical centre left, so it is pulled back. */
  /* Its own size, slightly under --t-display-x's 14vw/184px. Measured in
     Inter the word filled 95-98% of the column from 480px up; that is the
     deck's proportion, but it leaves 2-5% of headroom and the FALLBACK STACK
     (Helvetica Neue, Arial) sets wider than Inter by a few percent. Combined
     with `nowrap` and the global `overflow-x: clip`, overshoot does not wrap
     --- it silently loses the final letters. 13vw/176px lands at 89-93% fill,
     still the deck's look, with enough slack that a fallback render cannot
     clip it. */
  font-size: clamp(32px, 13vw, 176px);
  letter-spacing: clamp(0.005em, 0.3vw, 0.025em);
  margin-right: calc(-1 * clamp(0.005em, 0.3vw, 0.025em));
  /* One line at every width. The budget above is what makes this safe; if the
     string or the type scale ever changes, re-measure before trusting it. */
  white-space: nowrap;
}

/* At the 320px floor the word measured 268px into 268px of column --- a 100%
   fill with NOTHING in hand. It fits in Inter, but `white-space: nowrap` plus
   the global `overflow-x: clip` means the moment it does not fit it is
   silently CLIPPED rather than wrapped, and the fallback stack (Helvetica
   Neue, Arial) is wider than Inter. So the smallest screens get a slightly
   smaller word and ~11% of breathing room, which is invisible at that size
   and removes the only width where this could break. */
@media (max-width: 479px) {
  .cover--nature .cover__title { font-size: 12.5vw; }
}

/* -- The two-up sections, slides 24 and 26 -------------------------------
   Slide 24: tiles 90-598 (508), text 640-1202 (562) -> 0.90 : 1, 42px gap.
   Slide 26: tiles 78-636 (558), text 650-1223 (573) -> 0.97 : 1, 14px gap.
   One modifier for both. The deck's own two gaps are 42 and 14px, which is a
   3x difference for the same composition and reads as drawing slack rather
   than intent — normalised, the same call the unequal card pitch on slides
   13-18 got. */
@media (min-width: 1024px) {
  .split--tiles {
    grid-template-columns: 0.93fr 1fr;
    gap: clamp(40px, 4.5vw, 64px);
  }
}

/* -- The tile grids ------------------------------------------------------
   Two columns at every width from 480 up. NOT auto-fit: these are fixed sets
   of 4 and 6 drawn as 2x2 and 2x3 in the deck, and letting the count follow
   the space is exactly what broke the traceability chain (it wrapped 6 + 1).
   Below 480 they stack to one column — a 275x144 tile halved on a 320px
   screen is 140px wide, too small to read as a photograph. */
.tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.6vw, 20px);
}
/* Grid children default to min-width:auto, which lets content blow a track
   past the viewport — RESPONSIVE.md §4. */
.tiles > * { min-width: 0; }

@media (min-width: 480px) {
  .tiles--2 { grid-template-columns: repeat(2, 1fr); }
}

/* -- Invest in the Future, slide 24 -------------------------------------- */
.invest__heading,
.solution__heading { margin: 0; }

.invest__body,
.solution__body {
  margin: var(--sp-3) 0 0;
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--ink-70);
}

/* -- The 2027-2040 targets ----------------------------------------------
   ⚠️ Rebuilt from the deck's flattened PNG, and in GREYSCALE where that PNG
   uses olive-gold for the quantities. Deliberate: the client's rule is that
   the logo is the only colour in the UI. If the gold is ever wanted back it
   belongs in a token here, not sprinkled inline.

   A two-column grid rather than a flex row per item, so every claim starts on
   the same left edge however wide its year column renders — the deck draws a
   single wide year column and that alignment is the whole look. */
.targets {
  margin: var(--sp-4) 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-2) var(--sp-3);
  align-items: baseline;
  border-top: var(--rule-soft);
  padding-top: var(--sp-3);
}

/* The year, with the deck's trailing slash. The slash is decorative — it is
   a pseudo-element so a screen reader announces "2027", not "2027 slash". */
.targets__year {
  margin: 0;
  font-size: var(--t-lead);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.targets__year::after {
  content: "/";
  margin-left: 0.25em;
  color: var(--ink-45);
  font-weight: 400;
}

.targets__claim {
  margin: 0;
  font-size: var(--t-body);
  line-height: var(--lh-snug);
  color: var(--ink-70);
}

/* Below 480 the two columns put a long claim into a ~180px track. Stack
   instead: year on its own line, claim under it. */
@media (max-width: 479px) {
  .targets { grid-template-columns: 1fr; gap: var(--sp-1); }
  .targets__claim { margin-bottom: var(--sp-2); }
}

/* -- Always A Right Solution, slide 26 ----------------------------------
   The deck sets this heading over two lines. Block spans rather than a <br>,
   so each locale breaks where its own copy breaks. */
.solution__line { display: block; }

.insight__heading {
  text-align: center;
  margin-bottom: var(--sp-6);
}

.insight__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: start;
}

/* 1024, the site's standard stacking breakpoint. Below it the feature card
   and the three strips run as one column — a 298px track on a 768px tablet
   leaves the strips at under half their drawn width. */
@media (min-width: 1024px) {
  .insight__grid {
    /* Equal columns, as drawn. The trough is the deck's own 179px, which at
       this width is what separates the feature from the list rather than any
       ratio between them. */
    grid-template-columns: 1fr 1fr;
    gap: clamp(56px, 11vw, 179px);
  }
}

.insight__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* The deck's 47px between strips. */
  gap: var(--sp-4);
}

/* -- Feature card ------------------------------------------------------- */
/* The deck centres this caption (229/617/162x39, centred). It is the only
   centred caption on the site — everything else is left-aligned to the
   gutter — so it is set here rather than borrowed from a shared class. */
.insight-feature__title {
  margin: var(--sp-3) 0 0;
  text-align: center;
}
.insight-feature__meta {
  margin: var(--sp-1) 0 0;
  text-align: center;
}
.insight-feature__excerpt {
  margin: var(--sp-2) auto 0;
  font-size: var(--t-body);
  color: var(--ink-70);
}

/* -- List cards ---------------------------------------------------------
   The deck draws the strip and nothing else. Title and date beside it are
   ours — see the note in page-insight.jsx. */
.insight-item__text { margin-top: var(--sp-2); }

.insight-item__title {
  margin: 0;
  font-size: var(--t-lead);
  line-height: var(--lh-snug);
  font-weight: 600;
}
.insight-item__meta { margin: var(--sp-1) 0 0; }

.insight__empty {
  margin: var(--sp-5) auto 0;
  text-align: center;
  color: var(--ink-60);
}

/* ============================================================================
   FORMS — deck slides 28 and 29
   ----------------------------------------------------------------------------
   The first form controls in the design system. Nothing on slides 2-27
   contains an input, so there was no existing input, select, textarea or
   label styling to extend.

   GREYSCALE, INCLUDING THE ERROR STATE. The client's direction is black,
   white and grey with colour only inside photography, so an invalid field is
   marked by a thicker rule, a bold message and a glyph — never by red. That
   is also the accessible answer: WCAG 1.4.1 forbids colour as the ONLY
   carrier of meaning, so a red-only field would fail even if the palette
   allowed it.

   The deck draws "rounded rectangles, 1px black outline" (slide 28). The 1px
   black outline is --rule, already the site's border everywhere. The rounding
   is deliberately NOT reproduced: every other box on this site is square —
   media slots, CTAs, cards, the footer rules — and rounding only the inputs
   would make the form look pasted in from somewhere else. The slide's own red
   note says the format needs changing, so this is inside what is ours.
   ========================================================================= */

.form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

/* Slide 28's two field columns (264 and 261 wide inside a 528 block). Held at
   768 rather than the usual 1024: these are short single-line inputs, not
   prose, so they pair happily on a tablet where a body column would not. */
@media (min-width: 768px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
}

.field { margin: 0; display: flex; flex-direction: column; gap: var(--sp-1); }

.field__label {
  font-size: var(--t-ui);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
}

/* Lower case and muted, so it reads as an aside to the label rather than as
   part of the field name. */
.field__optional {
  margin-left: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--t-caption);
  color: var(--ink-60);
}

/* iOS zooms the page when a focused input's text is under 16px. --t-body is
   clamped with a 16px floor, so this is already safe — the note is here
   because it is the usual reason a form breaks on a phone, and that floor
   must not be lowered. */
.field__control {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: var(--rule);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: var(--lh-body);
  transition: box-shadow var(--dur) var(--ease);
}

.field__control::placeholder { color: var(--ink-60); }

/* Focus is an INSET shadow, not an outline, so the ring sits inside the 1px
   rule and the control does not grow by 2px and nudge its neighbour on focus.
   Visible against a greyscale palette because it doubles the apparent border
   weight rather than relying on a hue. */
.field__control:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--ink);
}

.field__control--area {
  min-height: 0;
  /* Slide 28's message box is 528x166. */
  resize: vertical;
}

/* Invalid. Weight, not colour. */
.field__control--bad { box-shadow: inset 0 0 0 2px var(--ink); }

.field__error {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: var(--t-caption);
  font-weight: 600;
  color: var(--ink);
}

/* The non-colour half of the error marking. A bordered glyph rather than a
   bare "!", so it survives at --t-caption and reads as a mark instead of as
   punctuation that wandered in. aria-hidden in the markup — the message
   beside it already says everything. */
.field__error-mark {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: var(--rule);
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
}

/* -- Select --------------------------------------------------------------
   A wrapper so the chevron can be drawn without a background-image on the
   <select> itself, which still renders natively on iOS. The arrow is a
   pseudo-element on the wrapper and sits above the control. */
.field__select { position: relative; display: block; }

.field__select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field__select .field__control {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
}

/* -- File ----------------------------------------------------------------
   The native control is kept rather than replaced with a styled label. A
   custom file button has to re-implement keyboard focus, the chosen file name
   and the drag target, and it usually loses one of them; the native one is
   already accessible everywhere. Only its box is brought into line. */
.field__file { display: flex; flex-direction: column; gap: 6px; }

.field__control--file {
  padding: 9px 12px;
  font-size: var(--t-caption);
  cursor: pointer;
}
.field__control--file::file-selector-button {
  margin-right: 12px;
  padding: 7px 14px;
  border: var(--rule);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-ui);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.field__control--file::file-selector-button:hover {
  background: var(--ink);
  color: var(--paper);
}

.field__hint {
  margin: 0;
  font-size: var(--t-caption);
  color: var(--ink-60);
  /* A chosen file name can be long and has no spaces to break on. */
  overflow-wrap: anywhere;
}

.form__filenote,
.form__privacy {
  margin: var(--sp-3) 0 0;
  color: var(--ink-60);
  max-width: 60ch;
}
.form__privacy-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -- Notice --------------------------------------------------------------
   Bordered rather than tinted: a filled panel would need a colour, and the
   band grey is already spoken for (see the --band token note). */
.form-notice {
  margin-top: var(--sp-4);
  padding: var(--sp-3);
  border: var(--rule);
}
/* The "not connected" state carries the heaviest rule on the page. It is the
   one message on this site a visitor must not skim past — it is the
   difference between their enquiry being sent and not. */
.form-notice--offline { border-width: 2px; }
.form-notice--sending { border-color: var(--ink-20); }

.form-notice__title {
  margin: 0;
  font-size: var(--t-body);
  font-weight: 600;
}
.form-notice__body {
  margin: var(--sp-1) 0 0;
  font-size: var(--t-body);
  color: var(--ink-70);
  max-width: 60ch;
}

/* -- Actions -------------------------------------------------------------
   Slide 28's button is 142x39 at x=278 — centred under the 528-wide form
   column (its centre is 349 against the column's 350). */
.form__actions {
  margin-top: var(--sp-4);
  display: flex;
  justify-content: center;
}

.form__submit {
  border: var(--rule);
  cursor: pointer;
  font-family: var(--font-body);
}
/* Disabled while a POST is in flight and after a successful one. Muted the
   same way .cta--pending is, so "not available right now" looks the same
   everywhere on the site. */
.form__submit:disabled {
  cursor: default;
  background: var(--paper);
  color: var(--ink-60);
  border-color: var(--ink-20);
}

/* ============================================================================
   CONTACT — deck slide 28
   ----------------------------------------------------------------------------
   Form x=86-614 (528 wide), panel x=692-1157 (465 wide), 78px between.
   528 : 465 is 1.14 : 1.
   ========================================================================= */

.contact__heading { margin: 0; }
.contact__intro {
  margin: var(--sp-3) 0 var(--sp-6);
  font-size: var(--t-lead);
  color: var(--ink-70);
}

@media (min-width: 1024px) {
  /* NOT .split--panel (0.8 : 1 with the visual on the left) — slide 28
     mirrors slide 8, so it needs its own tracks rather than a reversed
     borrow. */
  /* 2026-10-20: the video column is now the wider one (was form 1.14 : 1),
     asked for "enlarge the video". The form keeps a readable minimum, and the
     video stays in view, sticky under the header, while the form is filled. */
  .split--form {
    grid-template-columns: minmax(360px, 0.75fr) 1.25fr;
    gap: clamp(40px, 5vw, 72px);
  }
  .split--form > .split__media {
    position: sticky;
    top: calc(var(--nav-h) + var(--sp-3));
  }
}

/* ============================================================================
   CAREER — deck slide 29
   ----------------------------------------------------------------------------
   THE DECK DRAWS NOTHING FOR THIS SLIDE. No measurement below comes from it;
   the spacing follows the site's own scale instead. See the header of
   page-career.jsx.
   ========================================================================= */

.career-intro__heading { margin: 0; }
.career-intro__lead { margin: var(--sp-4) 0 0; }
.career-intro__body { margin: var(--sp-3) 0 0; color: var(--ink-70); }

/* The workplace intro runs straight into the openings, so the pair reads as
   one block rather than as two sections with a --sp-7 trough between them. */
.career-openings { padding-top: 0; }

.career-openings__note {
  margin: var(--sp-2) 0 0;
  color: var(--ink-60);
}

.job-grid {
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
.job-grid > * { min-width: 0; }

/* auto-fit rather than a fixed count, so five cards fill three tracks and
   then two without a rule per breakpoint — and a sixth vacancy the client
   adds needs no CSS change. 300px is the width at which a two-line job
   description stops breaking badly. */
@media (min-width: 768px) {
  .job-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

.job {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--sp-3);
  border: var(--rule);
}

.job__title { margin: 0; }
.job__body {
  margin: var(--sp-2) 0 0;
  font-size: var(--t-body);
  color: var(--ink-70);
}

/* Pushed to the bottom of the card by margin-top:auto, so the facts and the
   Apply control sit on one line across a row of cards whose descriptions are
   different lengths. */
.job__facts {
  margin: auto 0 0;
  padding-top: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-3);
}
.job__fact { display: flex; align-items: baseline; gap: 6px; }
.job__fact dt {
  font-size: var(--t-caption);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  color: var(--ink-60);
}
.job__fact dd {
  margin: 0;
  font-size: var(--t-caption);
  font-weight: 600;
}

.job__apply {
  margin-top: var(--sp-3);
  align-self: flex-start;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
}

/* -- Benefits ----------------------------------------------------------- */
.career-benefits { padding-top: 0; }

.benefits {
  list-style: none;
  margin: var(--sp-5) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 768px)  { .benefits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .benefits { grid-template-columns: repeat(3, 1fr); } }

/* A rule above each item rather than a box around it: six bordered cards
   under a row of bordered job cards turns the page into a grid of boxes. */
.benefits__item { border-top: var(--rule); padding-top: var(--sp-2); }

.benefits__title {
  margin: 0;
  font-size: var(--t-lead);
  line-height: var(--lh-snug);
  font-weight: 600;
}
.benefits__body {
  margin: var(--sp-1) 0 0;
  font-size: var(--t-body);
  color: var(--ink-70);
}

/* -- Resume Inbox ------------------------------------------------------- */
.resume-inbox__intro {
  margin: var(--sp-3) 0 var(--sp-5);
  font-size: var(--t-body);
  color: var(--ink-70);
}

/* The application form is longer than the contact one and has no panel beside
   it, so it is held to a column rather than running the full 1280 — a 1280px
   wide text input looks like a mistake. */
.form--career { max-width: 760px; }

/* ============================================================================
   LEGAL — /policy, /cookies, /cookies-setting
   ----------------------------------------------------------------------------
   NOT IN THE DECK. Slide 1 draws these three as a footer-only column and
   nothing else, so there is no geometry to follow — this is the site's own
   scale, set as a single reading column.
   ========================================================================= */

.legal__title { margin: 0; }
.legal__intro { margin: var(--sp-3) 0 0; color: var(--ink-70); }

/* The "not yet reviewed or dated" line. Muted but not hidden: it is the
   status of the document, and it sits where a date normally would. */
.legal__updated {
  margin: var(--sp-2) 0 0;
  color: var(--ink-60);
  font-style: italic;
}

.legal__doc { margin-top: var(--sp-6); }

/* A rule above each section rather than boxes, matching the benefits list on
   /career — a legal document is one continuous read, not a set of cards. */
.legal__section {
  border-top: var(--rule);
  padding-top: var(--sp-3);
  margin-top: var(--sp-5);
}
.legal__section:first-child { margin-top: 0; }

.legal__heading { margin: 0 0 var(--sp-2); }

.legal__body {
  margin: 0 0 var(--sp-2);
  font-size: var(--t-body);
  color: var(--ink-70);
}
.legal__body:last-child { margin-bottom: 0; }

/* The site-wide reset is `ul, ol { list-style: none }` — correct for the nav,
   card grids and tile rows, which are lists structurally but not visually.
   These are the exception and the markers are restored deliberately: a
   privacy notice enumerating data categories and statutory rights is a list a
   reader needs to COUNT, and without markers the items read as stray
   indented paragraphs. */
.legal__list {
  margin: 0 0 var(--sp-2);
  padding-left: 1.3em;
  list-style: disc;
  font-size: var(--t-body);
  color: var(--ink-70);
}
.legal__list li + li { margin-top: var(--sp-1); }

/* -- The pending marker --------------------------------------------------
   ⚠️ THIS HAS TO SURVIVE A SKIM. Its whole job is to stop someone deciding
   this page is ready to publish. So it is the one block on these pages with
   a filled ground and a heavy left rule — deliberately the most conspicuous
   thing in the document, not a tasteful aside.

   Greyscale like everything else: the client's direction allows no colour in
   the UI, so the weight does the work. */
.legal-pending {
  margin: var(--sp-3) 0 0;
  padding: var(--sp-2) var(--sp-3);
  background: var(--band);
  border-left: 4px solid var(--ink);
  max-width: 60ch;
}

.legal-pending__label {
  margin: 0;
  font-size: var(--t-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
}

.legal-pending__what {
  margin: var(--sp-1) 0 0;
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--ink-70);
}

/* ============================================================================
   Design audit fixes — 2026-10-05
   ----------------------------------------------------------------------------
   From a pass with the taste-skill redesign audit. MOST of that checklist was
   already satisfied by this codebase (smooth scroll, focus-visible, tabular
   figures, reduced-motion, skip link, semantic sectioning, a real 404, legal
   links, no z-index soup, no glassmorphism, no AI gradient). Three gaps were
   real and are fixed below.

   ⚠️ WHAT WAS DELIBERATELY NOT APPLIED, and why — so the next person does not
   "fix" it again from the same checklist:

     · Accent colour, tinted shadows, mesh gradients, noise overlays,
       glassmorphism. The client's direction is BLACK / WHITE / GREY with
       colour only inside photography (research_notes/client_decisions.md).
       The greyscale IS the design, not an unfinished state.
     · Background photography behind "flat" sections, from picsum or anywhere.
       The empty slots on this site are deliberate and labelled; filling them
       with stock placeholders would make an unfinished page review as
       finished, which is the exact failure the data-slot label exists to
       prevent.
     · Breaking up "three equal columns". Those grids are measured off the
       deck (2x3 at 275x144 on slide 26, the product grid on 13-18). They are
       the client's own layout, not a generic default.
     · Title Case headings and all-caps labels. The headings are the deck's
       own words and the caps are its type system.
     · A cookie consent banner. The site sets no cookies, so there is nothing
       to consent to — see page-legal.jsx and HANDOFF F7.
   ========================================================================= */

/* -- 1. Pressed feedback -------------------------------------------------
   THE WHOLE SITE HAD NO :active STATE. Every control felt identical held
   down and released, which is the single thing that makes an interface feel
   unresponsive even when it is fast.

   1px of travel, no scale: these are rectangular chips on a strict grid and
   scaling them makes the border crawl against its neighbours. Deliberately
   NOT transitioned — a press must register instantly; easing it in is the
   thing that feels laggy. Only `transform`, so it costs no layout. */
.cta:active,
.cat-link:active,
.cat-range__tile:active,
.cat-closing__cta:active,
.form__submit:not(:disabled):active,
.field__control--file::file-selector-button:active {
  transform: translateY(1px);
}


@media (prefers-reduced-motion: reduce) {
  .cta:active,
  .cat-link:active,
  .cat-range__tile:active,
  .cat-closing__cta:active,
  .form__submit:not(:disabled):active,
  .field__control--file::file-selector-button:active { transform: none; }
}

/* Not for a control that does nothing. .cta--pending has no destination, so
   a press response would claim an action it cannot perform — the same
   reasoning as its missing pointer cursor. */
.cta--pending:active { transform: none; }
/* -- 2. Orphaned words in headings ---------------------------------------
   `text-wrap: balance` was on exactly two headings (the hero and the slide-3
   intro) and nowhere else, so every other headline on the site could drop a
   single word onto its own last line — the most visible typographic tell
   there is, and it lands differently in EN and ES because the strings are
   different lengths.

   Set on the type-scale roles rather than per page, so it covers the pages
   built today and any built tomorrow. Browsers that do not support it ignore
   the declaration; there is no fallback to write.

   Capped at the display sizes and below. NOT applied to .t-display* — those
   are one or two words set at 96-184px where balancing has nothing to
   balance, and N.A.T.U.R.E must not be re-broken. */
.t-h1, .t-h1-lg, .t-h2, .t-h2-lg, .t-h3 { text-wrap: balance; }

/* Body copy gets `pretty` instead: it leaves the line breaks alone and only
   prevents the last line being a single word. `balance` on a paragraph
   evens every line and visibly narrows a long measure. */
p, .measure, .legal__body, .job__body, .benefits__body { text-wrap: pretty; }

/* ============================================================================
   HERO CTA BRAND COLOUR — 2026-10-05
   ----------------------------------------------------------------------------
   Asked for: View Solutions in the logo's LIGHT blue, going to the logo's DARK
   blue on hover. Both sampled from the mark itself (assets/logo.png):
     --brand-blue  #2B6BB4   the lighter, 2,333px of the logo
     --brand-navy  #324A8E   the darker, 3,362px

   ⚠️ THE HEADLINE WORD AND THE OUTLINED CTA'S BORDER WERE ALSO COLOURED AND
   HAVE BEEN REVERTED (2026-10-05). The reason is measured, not aesthetic:
   against the hero video with its 45% scrim the backdrop composites to about
   rgb(99,103,94), and #2B6BB4 has almost the same luminance — 1.06:1, where
   WCAG wants 3:1 for large text. The word went muddy on the lighter frames of
   a 3m19s film. Do not recolour hero TEXT in the brand blue without either
   lightening the tint or deepening the scrim.

   The filled button is unaffected by that problem: its label is white on the
   blue, which measures 5.4:1, and 8.4:1 on the navy hover. Both clear AA.

   ⚠️ SCOPED TO .hero__ctas. .cta--solid is also the submit button on both
   forms; colouring the bare class would turn those blue too.
   ========================================================================= */

.hero__ctas .cta--solid {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: var(--paper);
}
.hero__ctas .cta--solid:hover {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: var(--paper);
}

/* ---- hero foot: CTAs left, three figures right ------------------------
   Asked for 2026-10-05: three figures at the bottom right of the hero, on the
   same level as the buttons. They were picked from the six that the "Why Brands
   Choose Relay" row carried; that row was removed later the same day and these
   three are now the only place on the home page the footprint is stated.

   One flex row, so the two groups share a baseline without either being
   positioned absolutely. .hero__inner already does space-between on the
   column, which is what keeps this pinned to the foot of the viewport. */
.hero__foot {
  display: flex;
  /* Mobile-first, as the whole stylesheet is: stacked by default, a row only
     once there is width for two buttons AND three figures on one line. An
     earlier version did this with max-width: 767px and the breakpoint lint in
     smoke.mjs rejected it, correctly: the contract is min-width only. */
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) clamp(20px, 3vw, 44px);
  margin: 0;
}
.hero__stat { min-width: 0; }

.hero__stat-n {
  margin: 0;
  /* Deliberately small. These are a glance, not the evidence: the headline
     has to stay the largest thing in the hero. */
  font-size: var(--t-h3);
  line-height: var(--lh-tight);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.hero__stat-label {
  margin: 2px 0 0;
  font-size: var(--t-caption);
  line-height: var(--lh-snug);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  /* White at 72% rather than a grey token: this sits on video, where any ink
     value would disappear against a dark frame. */
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 768px) {
  .hero__foot {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--sp-4);
  }
  .hero__stats { text-align: right; }
}

/* ============================================================================
   PRODUCTS / SOLUTIONS catalog, 2026-10-20 (page-catalog.jsx)
   ----------------------------------------------------------------------------
   The client PDF's layout, with the "more design sense" pass they asked for
   (averydennison.com apparel as reference): alternating
   sides, a slow photo ease on hover, large editorial type. Greyscale UI, the
   colour stays in the photographs.
   ========================================================================= */
.media--catalog      { --ratio: 4 / 3; }
.media--catalog-tall { --ratio: 4 / 5; }
.media--band-wide    { --ratio: 1280 / 360; }

/* Full-bleed hero photo with a slow settle on load. */
/* Capped at one screen under the header, not 72vh: on a wide screen 72vh cut
   the bottom third off the Products photo (the logo on the bag). */
.cat-hero__media { --ratio: 2 / 1; max-height: calc(100vh - var(--nav-h)); width: 100%; }
/* The height cap crops a 2:1 photo on wide, short screens. Centre-cropping cut
   the faces off the Products hero, so the crop leans to the top: heads and
   the upper part of a product stay in frame. */
.cat-hero__media img { animation: cat-settle 1.6s var(--ease-out) both; object-position: 50% 25%; }
@keyframes cat-settle { from { transform: scale(1.06); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .cat-hero__media img { animation: none; } }

.cat-eyebrow {
  font-size: var(--t-ui);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-70);
  margin-bottom: var(--sp-2);
}
/* The PDF's "PACKAGING / - / heading" dash. */
.cat-eyebrow::after {
  content: ""; display: block;
  width: 32px; height: 1px; margin-top: var(--sp-2);
  background: currentColor;
}

.cat-intro__grid { display: grid; gap: var(--sp-4); }
@media (min-width: 1024px) {
  .cat-intro__grid { grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 8vw, 140px); align-items: start; }
}
.cat-intro__heading {
  /* --t-h2-lg, not --t-display: at 96px these ran to four lines (2026-10-21). */
  font-size: var(--t-h2-lg);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display);
  font-weight: 500;
  text-wrap: balance;
}
.cat-intro__body > p + p { margin-top: var(--sp-2); }
.cat-intro__body > .cat-link { margin-top: var(--sp-4); }
.cat-cue { display: inline-block; margin-top: var(--sp-4); font-size: var(--t-ui); text-decoration: underline; text-underline-offset: 6px; }

/* One section per category / item. */
.cat-feature { padding-block: var(--sp-6); }
.cat-feature + .cat-feature { padding-top: 0; }
.cat-feature + .cat-feature > .container { border-top: var(--rule-soft); padding-top: var(--sp-6); }
.cat-feature__head { text-align: right; margin-bottom: var(--sp-5); }
.cat-feature--flip .cat-feature__head { text-align: left; }
.cat-feature__title {
  font-size: var(--t-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display);
  font-weight: 500;
  margin-top: var(--sp-1);
  text-wrap: balance;
}
.cat-feature__tagline { font-size: var(--t-lead); margin-top: var(--sp-2); color: var(--ink-70); }
.cat-feature__grid { display: grid; gap: var(--sp-4); }
@media (min-width: 1024px) {
  .cat-feature__grid { grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .cat-feature--flip .cat-feature__grid { grid-template-columns: 1.2fr 0.8fr; }
  .cat-feature--flip .cat-feature__media { order: -1; }
}
.cat-feature__copy > * + * { margin-top: var(--sp-2); }
.cat-feature__copy > .cat-link { margin-top: var(--sp-4); }
.cat-feature__media .media img,
.cat-card .media img { transition: transform 1.2s var(--ease-out); }
.cat-feature__media:hover .media img,
.cat-card:hover .media img { transform: scale(1.04); }

/* /products, /solutions: the photo swaps as an item in the range is hovered.
   A plain crossfade, no zoom (client, 2026-10-21); the outgoing photo fades a
   little faster so the two never read as a double exposure. */
.cat-feature__media .cat-xfade > img,
.cat-feature__media:hover .cat-xfade > img { transform: none; opacity: 0; transition: opacity 0.45s var(--ease); }
.cat-feature__media .cat-xfade > img.is-active { opacity: 1; transition: opacity 0.7s var(--ease-out); }

/* Index sections (.cat-feature--inline): title sits in the copy column, and
   on desktop the photo is pinned under the sticky header at one screen high,
   so title, copy, range and photo are read together. 73px = .site-header. */
.cat-feature--inline .cat-feature__head { text-align: left; margin-bottom: var(--sp-3); }
/* One step under the page's own h1 (.cat-intro__heading, --t-h2-lg). */
.cat-feature--inline .cat-feature__title { font-size: var(--t-h2); margin-top: 0; }
@media (min-width: 1024px) {
  .cat-feature--inline .cat-feature__grid { grid-template-columns: 1.15fr 0.85fr; }
  .cat-feature--inline.cat-feature--flip .cat-feature__grid { grid-template-columns: 0.85fr 1.15fr; }
  .cat-feature--inline .cat-feature__media { position: sticky; top: calc(73px + var(--sp-3)); }
  .cat-feature--inline .cat-xfade { aspect-ratio: auto; height: min(calc(100svh - 73px - 2 * var(--sp-3)), 760px); }
}

/* The range: text tiles, two up where the column allows. The tile whose
   photo is showing inverts, the same black/white swap as .cta. */
.cat-range { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--sp-1); }
.cat-range__tile {
  display: flex; align-items: center; gap: 12px; height: 100%; min-height: 64px;
  padding: 12px 16px;
  border: var(--rule-soft);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.cat-range__name { flex: 1; font-size: var(--t-caption); line-height: var(--lh-snug); }
.cat-range__arrow { opacity: 0; transform: translateX(-4px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.cat-range__tile:hover, .cat-range__tile.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cat-range__tile:hover .cat-range__arrow, .cat-range__tile.is-active .cat-range__arrow { opacity: 1; transform: none; }
.cat-more { color: var(--ink-70); font-size: var(--t-caption); }

/* Text link with an arrow that travels on hover: "Explore ->". */
.cat-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--t-ui);
  text-transform: uppercase;
  letter-spacing: var(--tracking-ui);
  border-bottom: var(--rule);
  padding-bottom: 4px;
}
.cat-link__arrow { transition: transform var(--dur) var(--ease); }
.cat-link:hover .cat-link__arrow { transform: translateX(6px); }

/* Technology & Expertise / Approach band. */
.cat-expertise { background: var(--band); padding-block: var(--sp-6); }
.cat-expertise__media { margin-top: calc(-1 * var(--sp-6)); margin-bottom: var(--sp-6); width: 100%; }
.cat-expertise__grid { display: grid; gap: var(--sp-4); }
@media (min-width: 1024px) {
  .cat-expertise__grid { grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 140px); }
}
.cat-expertise__heading { font-size: var(--t-h1); line-height: var(--lh-snug); font-weight: 500; letter-spacing: var(--tracking-display); }
.cat-expertise__body > p + p { margin-top: var(--sp-2); }

/* Sibling category cards. */
.cat-siblings { border-top: var(--rule-soft); }
.cat-cards { list-style: none; padding: 0; display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.cat-card { display: grid; gap: 6px; }
.cat-card .media { margin-bottom: var(--sp-1); }
.cat-card__title { font-weight: 600; }
.cat-card__tagline { font-size: var(--t-caption); color: var(--ink-70); }

/* Closing statement + the PDF's huge "TALK TO AN EXPERT ->". */
.cat-closing { border-top: var(--rule-soft); text-align: center; }
.cat-closing__inner { max-width: 880px; }
.cat-closing__heading { font-size: var(--t-h2); line-height: var(--lh-snug); font-weight: 600; }
.cat-closing__body { margin-top: var(--sp-3); }
.cat-closing__body > p + p { margin-top: var(--sp-2); }
.cat-closing__cta {
  display: inline-block;
  margin-top: var(--sp-5);
  font-size: var(--t-h1);
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.cat-closing__cta:hover { border-bottom-color: currentColor; }
.cat-closing__cta-heading { font-size: var(--t-display); line-height: var(--lh-tight); font-weight: 500; text-transform: uppercase; letter-spacing: var(--tracking-display); }
.home-expert .cta { margin-top: var(--sp-5); }

.cat-soon { min-height: 60vh; }
.cat-soon__body { margin-block: var(--sp-3) var(--sp-5); max-width: 60ch; color: var(--ink-70); }

/* -- Homepage, 2026-10-20 (slides 2-9) ------------------------------------ */
.intro__since { margin-top: var(--sp-2); font-size: var(--t-lead); color: var(--ink-70); }
.trace__body > p + p { margin-top: var(--sp-2); }
.sustain__title { font-size: var(--t-h3); font-weight: 400; letter-spacing: -0.01em; line-height: var(--lh-snug); margin-bottom: var(--sp-2); }
.sustain__body > p + h3 { margin-top: var(--sp-5); }
/* Deck slide 4 note: the black caption box, lighter. */
.tile__caption { background: linear-gradient(to top, rgba(0,0,0,0.62), rgba(0,0,0,0)); padding-top: var(--sp-5); }
.tile__scrim { background: rgba(0,0,0,0.25); }
@media (min-width: 768px) { .tiles__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiles__grid { grid-template-columns: repeat(5, 1fr); } }
/* five tiles in two columns: the odd one out takes the full row */
@media (min-width: 768px) { .tiles__grid > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .tiles__grid > .tile:last-child:nth-child(odd) { grid-column: auto; } }
.home-insights .media { width: 100%; }

/* Pause / play on the looping animation clips (CHROME.LoopVideo), 2026-10-20.
   A small round button in the clip's corner; plays by default. */
.media__toggle {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 2;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--paper);
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.media__toggle:hover { background: rgba(0, 0, 0, 0.8); }
.media__toggle:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }

/* CHROME.ArrowLink with no destination (TRACEID_URL = null): not a link, so
   it takes no pointer and reads muted. */
.cat-link--pending { cursor: default; color: var(--ink-60); }

/* ============================================================================
   THE GLOBE — replaces the deck's flat map, 2026-10-05
   ----------------------------------------------------------------------------
   A deliberate deviation from slide 12, which draws a flat world map. Asked
   for an interactable world model like pdsltd.com's.

   The canvas paints itself entirely from the greyscale tokens (read off
   :root at runtime in page-location.jsx), so the globe follows the palette
   rather than carrying its own colours.
   ========================================================================= */

.globe {
  position: relative;
  width: 100%;
  /* Square: a sphere in a letterbox wastes the short axis. Capped so it does
     not dominate the section on a wide screen. */
  aspect-ratio: 1 / 1;
  max-width: 620px;
  margin-inline: auto;
}

/* ⚠️ ABSOLUTELY POSITIONED, AND IT HAS TO BE. page-location.jsx measures
   the WRAPPER and then sets this element's width/height in px. In flow, the
   wrapper then sizes to its content, which re-triggers the ResizeObserver,
   which measures again — a feedback loop that grew the canvas to 24,848px
   tall on the first attempt. Out of flow, the wrapper's size is independent
   of the canvas and the loop cannot form. */
.globe__cv {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  /* ⚠️ REQUIRED, not cosmetic. Without it a horizontal drag on a touch
     screen is swallowed by the browser's own scroll gesture and the globe
     cannot be spun with a finger at all. */
  touch-action: none;
  cursor: grab;
}
.globe__cv:active { cursor: grabbing; }
/* One column (2026-11-23): the globe is as wide as the screen here, so a
   canvas that swallowed every touch would trap the page under the thumb.
   pan-y hands a vertical swipe back to the page; a sideways drag still spins
   the globe. A mouse is not affected. */
@media (max-width: 1023px) {
  .globe__cv { touch-action: pan-y; }
}

.globe__loading {
  margin: var(--sp-2) 0 0;
  text-align: center;
  color: var(--ink-45);
}
.globe__loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
}

/* -- Explore [TraceID logo] -------------------------------------------------
   The client's own logo replaces the words "TraceID" in every Explore TraceID
   link (asked for 2026-10-22). The file is a navy tile with the wordmark, so it
   is shown as a chip, not recoloured. */
.cat-link--traceid, .cta[href*="traceid"] { gap: 12px; border-bottom: 0; padding-bottom: 0; }
.traceid-logo {
  display: block; height: 32px; width: auto;
  border-radius: 4px;
  transition: transform var(--dur) var(--ease);
}
.cat-link--traceid:hover .traceid-logo, .cta[href*="traceid"]:hover .traceid-logo { transform: translateY(-2px); }

/* -- Category items: pinned photo + scrolling copy (page-catalog.jsx ItemStage)
   Revision 2, 2026-10-22. Desktop: the photo is pinned under the header and the
   section bar (58px) and crossfades between items; the copy scrolls past it.
   Below 1024px each item carries its own photo and the pin is hidden. */
.cat-hero { overflow: hidden; }
.cat-hero__media > img { translate: 0 var(--par, 0px); will-change: translate; }
.cat-stage { padding-block: var(--sp-6); }
.cat-stage__pin { display: none; }
.cat-step { padding-block: var(--sp-5); border-top: var(--rule-soft); }
.cat-step:first-child { border-top: 0; }
.cat-step__photo { margin-bottom: var(--sp-4); }
.cat-step__index {
  font-size: clamp(64px, 9vw, 120px); line-height: 1; font-weight: 300;
  color: transparent; -webkit-text-stroke: 1px var(--ink-60);
  letter-spacing: -0.02em; margin-bottom: var(--sp-2);
  transition: color 0.6s var(--ease), -webkit-text-stroke-color 0.6s var(--ease);
}
.cat-step.is-active .cat-step__index { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
.cat-step__title { font-size: var(--t-h2); line-height: 1.05; letter-spacing: -0.01em; }
.cat-step__copy { margin-top: var(--sp-3); max-width: 52ch; }
.cat-step__copy > * + * { margin-top: var(--sp-2); }
.cat-step__copy > .cat-link, .cat-step__copy > .cat-link--traceid { margin-top: var(--sp-4); }
@media (min-width: 1024px) {
  .cat-stage { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .cat-stage__pin {
    display: block; position: sticky;
    top: calc(var(--nav-h) + 58px + var(--sp-3));
  }
  .cat-stage__photo { aspect-ratio: auto; height: min(calc(100svh - var(--nav-h) - 58px - 2 * var(--sp-3) - 40px), 720px); }
  .cat-stage__list .cat-step { min-height: 78svh; display: flex; flex-direction: column; justify-content: center; }
  .cat-step__photo { display: none; }
  .cat-stage__photo > img { opacity: 0; transition: opacity 0.45s var(--ease); }
  .cat-stage__photo > img.is-active { opacity: 1; transition: opacity 0.8s var(--ease-out); }
  .cat-stage__meta { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-2); height: 24px; }
  .cat-stage__count { font-size: var(--t-ui); letter-spacing: var(--tracking-ui); font-variant-numeric: tabular-nums; }
  .cat-stage__count i { font-style: normal; color: var(--ink-60); }
  .cat-stage__rail { flex: 1; height: 1px; background: var(--ink-20); }
  .cat-stage__bar { display: block; height: 3px; margin-top: -1px; background: var(--ink); transform-origin: left; transition: transform 0.6s var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) {
  .cat-hero__media > img { translate: none; }
  .cat-stage__bar, .cat-stage__photo > img { transition: none; }
}

/* -- Revision 2 (2026-10-22): index pages and homepage ----------------------
   /products and /solutions: a sticky category bar (58px, like the category
   pages) and an outlined numeral on every category. The pinned photo now parks
   below that bar. */
.cat-feature__index { margin-bottom: var(--sp-1); }
.cat-feature.reveal--visible .cat-feature__index { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
@media (min-width: 1024px) {
  .cat-feature--inline .cat-feature__media { top: calc(var(--nav-h) + 58px + var(--sp-3)); }
  .cat-feature--inline .cat-xfade { height: min(calc(100svh - var(--nav-h) - 58px - 2 * var(--sp-3)), 760px); }
}

/* Homepage product tiles: on desktop they become an accordion. The tile under
   the pointer (or keyboard focus) widens and the others give way. */
@media (min-width: 1024px) {
  .tiles__grid { display: flex; gap: var(--sp-2); }
  .tiles__grid > .tile { flex: 1 1 0; min-width: 0; transition: flex-grow 0.7s var(--ease-out); }
  .tiles__grid > .tile .media { aspect-ratio: auto; height: clamp(420px, 66vh, 680px); }
  .tiles__grid > .tile:hover, .tiles__grid > .tile:focus-visible { flex-grow: 2.1; }
}
@media (prefers-reduced-motion: reduce) { .tiles__grid > .tile { transition: none; } }

/* ============================================================================
   Showroom sections, 2026-10-26 --- What we make, Nature, Global Location
   ----------------------------------------------------------------------------
   ⚠️ A SCOPED EXCEPTION TO THE GREYSCALE DIRECTION, asked for: warm off-white
   surfaces, muted sage, green-black type. The tokens are declared on these
   three sections only, so nothing else on the site can pick them up.
   Photographs keep their own colour.
   ========================================================================= */
.wwm, .sustain, .location {
  --sage-paper: #F7F6F2;   /* warm off-white surface        */
  --sage-band:  #E9ECE4;   /* sage panel / selected fill     */
  --sage-ink:   #242B25;   /* main text, 13:1 on paper       */
  --sage-ink-2: #62695E;   /* secondary text, 5.3:1 on paper */
  --sage-rule:  #C3C9BC;   /* thin dividers                  */
  --sage-word:  #D0D5C6;   /* the oversized NATURE           */
}
.sustain .cat-link { color: var(--sage-ink); }

/* -- What we make: category tabs left, one large photo right -------------- */
.wwm { background: var(--sage-paper); color: var(--sage-ink); }
.wwm__heading {
  font-size: var(--t-h2-lg);
  font-weight: 400;
  line-height: var(--lh-snug);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}
.wwm__grid { display: grid; gap: var(--sp-4); }
.wwm__grid > * { min-width: 0; }
.wwm__list { display: flex; flex-direction: column; border-top: 1px solid var(--sage-rule); }
.wwm__tab {
  display: block;
  width: 100%;
  text-align: left;
  padding-block: var(--sp-3);
  border-bottom: 1px solid var(--sage-rule);
  color: var(--sage-ink-2);
  transition: color var(--dur) var(--ease);
}
.wwm__tab.is-active, .wwm__tab:hover { color: var(--sage-ink); }
.wwm__tab:focus-visible { outline: 2px solid var(--sage-ink); outline-offset: 2px; }
.wwm__row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.wwm__title {
  min-width: 0;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  transition: transform var(--dur) var(--ease-out);
}
.wwm__arrow { flex: 0 0 auto; opacity: 0.4; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease-out); }
.wwm__tab.is-active .wwm__arrow { opacity: 1; }
@media (hover: hover) {
  .wwm__tab:hover .wwm__title { transform: translateX(6px); }
  .wwm__tab:hover .wwm__arrow { opacity: 1; }
}
/* The selected tagline opens; the rest stay collapsed (0fr -> 1fr). */
.wwm__tagline-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}
.wwm__tagline {
  display: block;
  min-height: 0;
  overflow: hidden;
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--sage-ink-2);
  transition: padding-top 0.4s var(--ease-out);
}
.wwm__tab.is-active .wwm__tagline-wrap { grid-template-rows: 1fr; }
.wwm__tab.is-active .wwm__tagline { padding-top: var(--sp-1); }

.wwm__link { position: relative; display: block; }
.wwm__link:focus-visible { outline: 2px solid var(--sage-ink); outline-offset: 4px; }
.wwm__media { --ratio: 4 / 3; }
.wwm__media > img {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.55s var(--ease), transform 0.9s var(--ease-out);
}
.wwm__media > img.is-active { opacity: 1; transform: none; }
.wwm__go {
  position: absolute;
  right: var(--sp-2); bottom: var(--sp-2);
  z-index: 1;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sage-paper);
  color: var(--sage-ink);
  box-shadow: 0 2px 12px rgba(36, 43, 37, 0.12);
  transition: transform var(--dur) var(--ease-out);
}
@media (hover: hover) { .wwm__link:hover .wwm__go { transform: translateX(4px); } }
@media (min-width: 1024px) {
  .wwm__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(48px, 6vw, 112px);
    align-items: start;
  }
  /* Sticky only matters when the list outgrows the viewport; it never hurts. */
  .wwm__panel { position: sticky; top: calc(var(--nav-h) + 1px + var(--sp-4)); }
  .wwm__media { aspect-ratio: auto; height: clamp(420px, calc(100svh - var(--nav-h) - 2 * var(--sp-5)), 680px); }
  .wwm__go { right: var(--sp-3); bottom: var(--sp-3); }
}
@media (prefers-reduced-motion: reduce) {
  .wwm__media > img { transform: none; }
}

/* -- Global Location: the original design, plus a sage hover on each country.
   Negative margin pays back the padding, so the list keeps its layout. ---- */
.location .loc__item {
  padding: 6px 8px;
  margin: -6px -8px;
  transition: background var(--dur) var(--ease);
}
.location .loc__item:hover,
.location .loc__item:focus-within { background: var(--sage-band); }
@media (min-width: 1120px) {
  /* The globe stays put while the office and factory lists scroll past.
     Pinned under the header (nav-h + 1) and the 58px section bar; capped by
     viewport height so the whole globe stays on screen while pinned. */
  .location .loc__left { position: sticky; top: calc(var(--nav-h) + 1px + 58px + var(--sp-3)); }
  .location .globe { max-width: min(620px, max(320px, calc(100svh - var(--nav-h) - 58px - 140px))); }
}
