/* ===========================================================================
   TROY CLARK INSIGHT — V3
   A third direction, built to mimic the structure and devices of the supplied
   reference layout (the "Infotek" template): full-bleed photographic hero with
   a marked-up headline, scrolling capability marquees, notched image masks with
   floating badge cards, dot-grid and soft-glow backgrounds, pill CTAs with a
   circular arrow chip, one colour-block band, a photographic CTA band and a
   dark three-column footer.

   Structure is the brief; the palette is not. The reference's electric blue,
   lime and mint are replaced by the palette and type of the client's own
   archive/v3 design, which the client pointed at for "font and color style":
   burgundy #6E001F over warm neutrals with a warm near-black, Figtree over
   Inter, and NO gold anywhere. So the page mimics the reference's layout while
   staying inside the client's own system.

   Self-contained: no shared primitives, no framework. V1 and V2 are untouched.
   =========================================================================== */

/* ---------------------------------------------------------------- tokens --- */
:root{
  /* Colours, font families, base font size (--fs-base) and container width (--wrap)
     are NOT set here: they come from Theme Settings > Global Settings and are printed
     in <head> by tci_theme_option_vars_css() (inc/import-enqueues.php). */

  /* type anchors: 18px body, 14px small — same contract as V1/V2 */
  --fs-xs:.875rem; --fs-sm:1rem; 
  --fs-lg:clamp(1.0625rem,1.1vw,1.1875rem);
  --fs-h4:clamp(1.0625rem,1.2vw,1.1875rem);
  --fs-h3:clamp(1.25rem,1.7vw,1.5rem);
  --fs-h2:clamp(1.75rem,3.4vw,44px);   /* was 60px cap; every section h2 now 44px (client, 2026-10-06) */
  --fs-display:clamp(2.375rem,6.6vw,90px);
  --fs-quote:clamp(1.75rem,1rem + 3.9vw,4.5rem);
  --fs-btn:.875rem;
  --fs-marquee:clamp(.75rem,.9vw,.8125rem);

  /* Type copied from the client's archive/v3: Figtree is the Avenir-adjacent
     geometric humanist the brand asks for, Inter carries the reading. Display
     weight is 800 there, so it is 800 here. */

  --fw:400; --fw-med:500; --fw-semi:600; --fw-bold:800;
  --lh-tight:1.06; --lh-snug:1.18; --lh-body:1.65;
  --tr-tight:-.028em; --tr-label:.16em;

  /* ── COLOUR — copied wholesale from the client's archive/v3 token block.
     That palette carries NO gold: burgundy is the only accent, over warm
     neutrals, with a warm near-black for the dark bands. Ratios are the ones
     computed there, re-checked here.
     NEVER --muted on --accent (2.13:1). NEVER raw burgundy on --deep (1.51:1). */

  /* surfaces */

  /* ink */

  /* burgundy — the only accent */

  /* the dark bands */

  /* space + layout */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px;
  --s-6:32px; --s-7:48px; --s-8:64px; --s-9:88px; --s-10:120px;
  
  --gutter:clamp(1.25rem,4.4vw,3.5rem);
  --sec-y:clamp(4.5rem,8.4vw,120px);  /* exactly 120px from 1429px up, per the client */
  --header-h:80px;
  --r:12px;                /* cards, media, panels */
  --r-sm:6px;              /* controls — nearly square, as the reference shows */
  --r-lg:18px;             /* large media */
  --r-pill:999px;
  /* Two shadows, same geometry, different depth — a card only ever moves
     between these two, so a hover never changes the shape of the shadow. The
     spread is what --lift-room reserves in every clipping ancestor. */
  --sh:0 1px 2px color-mix(in srgb,var(--shadow-ink) 4%,transparent),0 14px 32px -8px color-mix(in srgb,var(--shadow-ink) 12%,transparent);
  --sh-lift:0 2px 4px color-mix(in srgb,var(--shadow-ink) 5%,transparent),0 26px 52px -12px color-mix(in srgb,var(--shadow-ink) 20%,transparent);
  --lift-room:40px;   /* shadow spread + the 4px travel, rounded up */
  --ease:cubic-bezier(.22,1,.36,1);
  --dur:220ms; --dur-slow:520ms;

}

/* ------------------------------------------------------------------ base --- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:var(--s-5);-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--ff-body);font-size:var(--fs-base);line-height:var(--lh-body);
  -webkit-font-smoothing:antialiased;overflow-x:hidden
}
h1,h2,h3,h4{
  font-family:var(--ff-display);margin:0;font-weight:var(--fw-bold);
  line-height:var(--lh-snug);letter-spacing:var(--tr-tight);
	
}
h2{font-size:var(--fs-h2)}
h3{font-size:var(--fs-h3);font-weight:var(--fw-semi)}
h4{font-size:var(--fs-h4);font-weight:var(--fw-semi)}
p{margin:0}
figure,blockquote{margin:0}   /* the UA gives these margin:1em 40px */
img,svg{display:block;max-width:100%}
/* 10px on every image, per the client. The three full-bleed backgrounds are the
   exception — a rounded corner inside an edge-to-edge band shows as a notch. */
img{border-radius:10px}
.hero__bg img,.hero__cut img,.band img,.cta-band__bg img{border-radius:0}
img{height:auto}
a{color:inherit}
ul{margin:0;padding:0;list-style:none}
::selection{background:var(--accent);color:var(--on-accent)}

.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.section{padding-block:var(--sec-y);position:relative;overflow:clip}
/* 120px top and bottom on every section, at the client's request (2026-09-01).
   The same-ground collapse asked for a round earlier is therefore off: two
   sections on one ground now show 240px between them. Say the word and the
   [data-bg] pair rule comes back. */
/* Every section carries --sec-y at BOTH ends. Three structural exceptions, and
   only three: the hero sets its own height, the topics grid merges into the
   photographic band above it, and the video section carries the 150px foot the
   client asked for. */
/* A section that holds cards which lift on hover cannot clip at its own edge —
   overflow:clip would shear the shadow of a card sitting near the boundary.
   These two get a clip padding instead of none, so the decorative glows are
   still contained. */
.pattern{overflow:clip;overflow-clip-margin:var(--lift-room)}
.pattern--drift-res{background:var(--surface-2)}
/* .sand is retired as a section surface (client, 2026-09-01). The token stays
   for card wells, pills and the discs that still use it. */
.deep{background:var(--deep);color:var(--on-deep)}

.lede{font-size:var(--fs-lg);color:var(--ink)}
.small{font-size:var(--fs-sm);color:var(--muted)}
.measure{max-width:60ch}

/* focus: surface-aware, since three of the bands are dark */
:where(a,button,input,summary,[tabindex]):focus-visible{
  outline:2px solid var(--accent);outline-offset:3px;border-radius:6px
}
.deep :focus-visible,.hero :focus-visible,.cta-band :focus-visible,
.marquee--accent :focus-visible{outline-color:var(--on-deep)}

.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip-path:inset(50%);white-space:nowrap;border:0
}
.skip-link{
  position:absolute;left:var(--s-4);top:-120px;z-index:100;
  padding:var(--s-3) var(--s-5);background:var(--accent);color:var(--on-accent);
  border-radius:var(--r-sm);font-weight:var(--fw-semi);text-decoration:none;
  transition:top var(--dur) var(--ease)
}
.skip-link:focus{top:var(--s-4)}

/* ---------------------------------------------------------------- eyebrow ---
   A hairline rule + label, taking currentColor so it works on any surface.  */
.eyebrow{
  display:flex;align-items:center;gap:var(--s-3);
  font-size:var(--fs-xs);letter-spacing:var(--tr-label);text-transform:uppercase;
  font-weight:var(--fw-semi);color:var(--accent);margin-block-end:var(--s-4)
}
/* The hairline is the controls' device now, so the eyebrow takes a diamond.
   currentColor keeps it working on every surface. */
.eyebrow::before{
  content:"";flex:0 0 auto;width:9px;height:9px;background:currentColor;
  transform:rotate(45deg)
}
.eyebrow--onDark{color:var(--on-accent-2)}
.eyebrow--center{justify-content:center}
.eyebrow--onDeep{color:var(--on-deep-2)}
/* On the CTA photograph the eyebrow is plain white, not the tinted
   on-accent (client, 2026-09-02). */
.eyebrow--onCta{color:var(--white)}
.eyebrow--onCta::before{background:var(--white)}
.deep .eyebrow,.cta-band .eyebrow{color:var(--on-deep-2)}
/* the CTA eyebrow is the one exception: plain white (client, 2026-09-02) */
.cta-band .eyebrow--onCta{color:var(--white);margin-block-end:var(--s-4)}
.cta-band .eyebrow--onCta::before{background:var(--white)}

/* --------------------------------------------------------------- buttons ---
   The reference's CTA is a pill with a circular arrow chip on its right.
   Gold fill carries --ink at 5.66:1, so the lime-pill look survives the
   palette swap without dropping below AA.                                  */
.btn{
  display:inline-flex;align-items:center;gap:var(--s-3);min-height:48px;
  padding:var(--s-3) var(--s-6);
  font-family:var(--ff-body);font-size:var(--fs-btn);font-weight:var(--fw-semi);
  line-height:1.2;letter-spacing:.04em;text-transform:uppercase;text-decoration:none;
  border:1px solid transparent;border-radius:var(--r-sm);cursor:pointer;
  transition:background var(--dur) var(--ease),color var(--dur) var(--ease),
             border-color var(--dur) var(--ease)
}
/* Client, 2026-09-03: the trailing rule read as an accordion control, so the
   device is now a small arrow (same device as .link::after and .card__more)
   that nudges right on hover instead of growing. */
.btn__rule{
  flex:0 0 auto;
  transition:transform var(--dur) var(--ease)
}
.btn__rule::before{content:"\2192"}
.btn:hover .btn__rule{transform:translateX(4px)}

.btn--solid{background:var(--accent);color:var(--on-accent)}
.btn--solid:hover{background:var(--accent-press)}
.btn--onDark{background:var(--paper);color:var(--accent)}
.btn--onDark:hover{background:var(--on-accent-2)}
.btn--line{background:transparent;color:var(--accent);border-color:var(--line-2)}
.btn--line:hover{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.btn--ghostDark{background:transparent;color:var(--on-deep);border-color:color-mix(in srgb,var(--sand) 42%,transparent)}
.btn--ghostDark:hover{background:var(--wash)}

/* text link with a rule that grows on hover */
.link{
  display:inline-flex;align-items:center;gap:var(--s-3);min-height:44px;
  font-size:var(--fs-xs);letter-spacing:var(--tr-label);text-transform:uppercase;
  font-weight:var(--fw-semi);color:var(--accent);text-decoration:none
}
.link::after{content:"\2192";transition:transform var(--dur) var(--ease)}
.link:hover::after{transform:translateX(4px)}
.deep .link{color:var(--on-deep)}

/* ---------------------------------------------------- site patterns ------
   Construction-drawing texture rather than flat tints: a fine measuring grid
   with a heavier module line, the way a drawing sheet is ruled. Both sit at
   very low contrast so nothing competes with the type, and both are painted on
   a ::before so no extra markup is needed.                                */
.pattern,.pattern-soft,.pattern-fine,.pattern-hatch,
.pattern--drift-engage,.pattern--drift-res{
  position:relative;isolation:isolate
}
.pattern::before,.pattern-soft::before,.pattern-fine::before,.pattern-hatch::before,
.pattern--drift-engage::before,.pattern--drift-res::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none
}
/* the measuring grid — 28px minor, 140px major */
.pattern::before{
  background:
    repeating-linear-gradient(to right,var(--line-2) 0 1px,transparent 1px 140px),
    repeating-linear-gradient(to bottom,var(--line-2) 0 1px,transparent 1px 140px),
    repeating-linear-gradient(to right,var(--line-2) 0 1px,transparent 1px 28px),
    repeating-linear-gradient(to bottom,var(--line-2) 0 1px,transparent 1px 28px);
  /* Measured: --line on --paper is 1.36:1, and at .20 the grid read as a
     1.4% luminance shift — invisible, which is why it looked "gone".
     --line-2 at .5 lands around a 35-point delta: a drawing sheet. */
  opacity:.225
}
/* An irregular grid: five soft ellipses at different strengths mask the sheet,
   so it reads full in one place, about half in another and gone in a third —
   the way a drawing fades where it has been rubbed out. */
.pattern--drift::before{
  opacity:.35;  /* halved twice 2026-09-01, then +5 points twice on 2026-09-02 */
  --m1:radial-gradient(ellipse 42% 52% at 8% 14%,var(--black) 0%,transparent 76%);
  --m2:radial-gradient(ellipse 34% 44% at 46% 84%,color-mix(in srgb,var(--black) 55%,transparent) 0%,transparent 74%);
  --m3:radial-gradient(ellipse 48% 64% at 90% 38%,color-mix(in srgb,var(--black) 90%,transparent) 0%,transparent 78%);
  --m4:radial-gradient(ellipse 30% 34% at 66% 6%,color-mix(in srgb,var(--black) 40%,transparent) 0%,transparent 72%);
  --m5:radial-gradient(ellipse 38% 38% at 22% 96%,color-mix(in srgb,var(--black) 75%,transparent) 0%,transparent 74%);
  -webkit-mask-image:var(--m1),var(--m2),var(--m3),var(--m4),var(--m5);
  mask-image:var(--m1),var(--m2),var(--m3),var(--m4),var(--m5);
  -webkit-mask-composite:source-over;
  mask-composite:add;
  /* one ellipse blooms while another dies away — see pattern-cycle */
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:8% 14%, 46% 84%, 90% 38%, 66% 6%, 22% 96%;mask-position:8% 14%, 46% 84%, 90% 38%, 66% 6%, 22% 96%;
  animation:pattern-cycle-5 12s linear infinite
}
/* the same grid, quieter, for a section that only needs separating */
.pattern-soft::before{
  background:
    repeating-linear-gradient(to right,var(--line-2) 0 1px,transparent 1px 140px),
    repeating-linear-gradient(to bottom,var(--line-2) 0 1px,transparent 1px 140px);
  opacity:.24
}
/* a full drawing sheet: grid plus the hatched edge a section detail carries */
/* Small and clean: a 14px graph grid and nothing else. --line is within 1.01 of
   --sand-2, so this surface needs the stronger rule to register at all. */
.pattern-fine::before{
  background:
    repeating-linear-gradient(to right,var(--line-2) 0 1px,transparent 1px 14px),
    repeating-linear-gradient(to bottom,var(--line-2) 0 1px,transparent 1px 14px);
  opacity:.125
}

/* Oversized line-art watermarks — a hard hat, a crane, a level — drawn from the
   subject's own world and held at 5% so they read as texture, not decoration. */
.watermark{
  position:absolute;z-index:-1;pointer-events:none;color:var(--accent);
  opacity:.05
}
.watermark svg{width:100%;height:auto}

/* ------------------------------------------------------------ decoration ---
   Soft glows and a dot grid, both purely decorative and both behind content. */
.glow{
  position:absolute;pointer-events:none;filter:blur(2px);z-index:0;
  max-width:min(88vw,720px);max-height:min(88vw,720px)
}
.glow--warm{
  background:radial-gradient(circle,color-mix(in srgb,var(--accent) 10%,transparent),color-mix(in srgb,var(--accent) 0%,transparent) 70%);
  filter:blur(26px)
}
.glow--accent{background:radial-gradient(circle,color-mix(in srgb,var(--accent) 10%,transparent),color-mix(in srgb,var(--accent) 0%,transparent) 72%)}
.dots{
  position:absolute;z-index:0;pointer-events:none;
  background-image:radial-gradient(var(--line-2) 1.2px,transparent 1.2px);
  background-size:14px 14px;opacity:.9
}
.spark{position:absolute;z-index:1;color:var(--on-accent-2);pointer-events:none;opacity:.5}
.section > .wrap{position:relative;z-index:1}

/* ---------------------------------------------------------------- header ---
   Dark bar sitting over the hero photograph, logo left, nav centred, CTA
   right — the reference's arrangement.                                     */
/* 100% transparent, overlaying the hero photograph. It is absolute rather than
   sticky on purpose: a transparent bar that stayed pinned would carry light
   type over the paper sections below it and become unreadable. */
/* Client, 2026-09-10: the nav sits on a white bar throughout, above the hero
   photograph rather than floating over it.
   sticky, NOT absolute-then-fixed: the bar has to keep its 80px in the flow, or
   the moment the scroll handler switched it to fixed the whole page would jump
   up by the height of the header. Sticky holds the space at every scroll
   position, so .is-hidden and .is-pinned only need to change transform and
   background. */
.site-header{
  position:sticky;inset-inline:0;top:0;z-index:60;
  background:var(--paper);border:0;
  border-bottom:1px solid var(--line)
}
/* Client, 2026-09-03: hide on scroll down, return pinned on scroll up.
   Both classes are set only by v3.js (initHeader), so no-JS keeps the plain
   absolute header above. While pinned the bar is solid --deep — a transparent
   pinned bar would carry light type over the paper sections (see note above).
   .is-hidden also runs the bar fixed, so the switch to fixed happens while it
   is off-screen and nothing visibly jumps. */
.site-header.is-hidden,
.site-header.is-pinned{transition:transform .32s var(--ease)}
.site-header.is-hidden{transform:translateY(-100%)}
/* The pinned bar keeps the glass the client likes but is now a LIGHT tint
   (client, 2026-09-10), to match the white bar it returns from. .82 rather than
   the old .62: over the darkest thing it can sit on (--deep #16100f) it still
   composites to about #d1cecc, which holds --ink at 12.5:1, so the dark nav type
   reads over every section on the page. */
.site-header.is-pinned{
  transform:none;
  background:color-mix(in srgb,var(--paper) 82%,transparent);
  -webkit-backdrop-filter:blur(16px) saturate(1.35);
  backdrop-filter:blur(16px) saturate(1.35);
  border-bottom:1px solid color-mix(in srgb,var(--deep) 10%,transparent);
  box-shadow:0 10px 30px color-mix(in srgb,var(--deep) 10%,transparent)
}
/* No backdrop-filter (older engines): fall back to the solid bar. */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .site-header.is-pinned{background:var(--paper)}
}
.site-header.is-pinned::before{display:none}
@media (prefers-reduced-motion:reduce){
  .site-header.is-hidden,.site-header.is-pinned{transition:none}
}
/* Client, 2026-09-02: a soft top-to-bottom scrim so the nav reads without the
   bar becoming a solid header. It runs 1.6x the header's own height and fades
   to nothing, so there is no edge where it ends — the bar still reads as part
   of the photograph, the type just sits on tone instead of on sky.
   Behind the content (z-index:-1) and pointer-events:none, so nothing about
   clicking or focus changes. */
/* The scrim existed only to hold white nav type over the photograph. The bar is
   white and the type is dark now, so it is gone (client, 2026-09-10). */
/* The scrim stays in the no-JS case at desktop widths, where the header is
   still absolute and transparent over the hero. It is dropped only inside the
   1180px block below, which is where no-JS turns the header into a solid
   --deep bar in the flow — there the scrim would just muddy a solid colour. */
/* The bar runs the full width with a 20px rail, not on the 1230 container. */
.site-header__inner{max-width:none;padding-inline:20px}
.site-header__inner{
  display:flex;align-items:center;gap:var(--s-5);min-height:var(--header-h)
}
.brand{display:inline-flex;align-items:center;flex:0 0 auto}
/* Client, 2026-09-03: enlarged twice at the client's request — the mark has to
   read clearly at a glance. 204px tall works out to ~67px, inside the 80px bar. */
.brand img{width:clamp(168px,16vw,204px)}
.nav{margin-inline:auto}
.nav__list{display:flex;align-items:center;gap:clamp(var(--s-3),1.5vw,var(--s-10))}
.nav__link{
  display:inline-flex;align-items:center;gap:6px;min-height:44px;
  font-size:var(--fs-sm);font-weight:var(--fw-med);letter-spacing:.01em;
  /* dark type on the white bar, and no text-shadow: that was legibility over
     the photograph and on white it only muddies the letterforms. */
  color:var(--ink);text-decoration:none;
  white-space:nowrap;position:relative;transition:opacity var(--dur) var(--ease)
}
.nav__link:hover{opacity:.72}
.nav__link[aria-current="page"]{font-weight:var(--fw-semi)}
.nav__caret{width:9px;height:9px;flex:0 0 auto;opacity:.7}
.nav__item{position:relative}
.nav__sub{
  position:absolute;top:100%;inset-inline-start:calc(var(--s-4) * -1);min-width:268px;
  padding:var(--s-3);background:var(--paper);border-radius:var(--r);
  box-shadow:var(--sh-lift);opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity var(--dur) var(--ease),transform var(--dur) var(--ease),
             visibility 0s linear var(--dur)
}
/* visibility transitions IN at 0s and OUT after the fade, or submenu links are
   unfocusable for the length of the fade and a keyboard user tabs past them. */
/* Keyboard focus keeps the menu open; mouse focus left behind by a click does
   not, so the menu closes as soon as the pointer leaves (client, 2026-10-07). */
.nav__item:hover > .nav__sub,.nav__item:has(:focus-visible) > .nav__sub{
  opacity:1;visibility:visible;transform:none;
  transition:opacity var(--dur) var(--ease),transform var(--dur) var(--ease),visibility 0s
}
.nav__sub a{
  display:flex;align-items:center;min-height:44px;   /* G-7, measured at 43px */
  padding:10px var(--s-4);font-size:var(--fs-xs);color:var(--ink);
  text-decoration:none;border-radius:var(--r-sm)
}
.nav__sub a:hover{background:var(--sand);color:var(--accent)}
.header__cta{display:flex;align-items:center;gap:var(--s-3);flex:0 0 auto}



.padding-top-zero {
    padding-top: 0;
}


/* No-JS fallback: html.nav-ready is set by v3.js and only by v3.js. Until it
   is, the toggle is display:none and the whole nav renders as a plain stacked
   list, so the page navigates fine if the script never loads. */
.nav-toggle{
  display:none;align-items:center;gap:var(--s-3);min-height:44px;
  padding:10px var(--s-4);background:transparent;color:var(--ink);
  border:1px solid var(--line-2);border-radius:var(--r-sm);
  font-family:var(--ff-body);font-size:var(--fs-xs);font-weight:var(--fw-semi);
  letter-spacing:var(--tr-label);text-transform:uppercase;cursor:pointer
}
.nav-toggle__bars{position:relative;display:block;width:16px;height:10px}
.nav-toggle__bars::before,.nav-toggle__bars::after{
  content:"";position:absolute;inset-inline:0;height:2px;background:currentColor
}
.nav-toggle__bars::before{top:0}.nav-toggle__bars::after{bottom:0}

.drawer{
  position:fixed;inset:var(--header-h) 0 0;z-index:55;overflow-y:auto;
  background:var(--deep);padding:var(--s-6) var(--gutter) var(--s-9)
}
.drawer__list > li{border-block-end:1px solid var(--line-deep)}
.drawer__list a{
  display:block;padding:var(--s-4) 0;color:var(--on-deep);text-decoration:none;
  font-family:var(--ff-display);font-size:var(--fs-h4);font-weight:var(--fw-semi)
}
.drawer__sub{padding-block-end:var(--s-4)}
.drawer__sub a{
  display:flex;align-items:center;min-height:44px;
  font-family:var(--ff-body);font-size:var(--fs-xs);font-weight:var(--fw-med);
  color:var(--on-deep-2);padding:8px 0 8px var(--s-5);
  border-inline-start:2px solid var(--line-deep);margin-inline-start:2px
}
.drawer__sub a:hover{color:var(--on-accent-2)}

@media (max-width:1180px){
  /* Without the script the nav is a tall stacked list. It already takes the
     flow, and its ground is already white — the --deep override this replaces
     would now put dark type on a dark bar. */
  html:not(.nav-ready) .site-header{position:relative}
  html:not(.nav-ready) .site-header__inner{flex-wrap:wrap;padding-block:var(--s-4)}
  html:not(.nav-ready) .nav{margin-inline:0;width:100%}
  html:not(.nav-ready) .nav__list{flex-wrap:wrap}
  html:not(.nav-ready) .nav__sub{
    position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;
    background:transparent;padding:0;min-width:0;display:flex;flex-wrap:wrap;gap:var(--s-2)
  }
  html:not(.nav-ready) .nav__sub a{color:var(--muted)}
  html.nav-ready .nav{display:none}
  html.nav-ready .nav-toggle{display:inline-flex}
  html.nav-ready .header__cta .btn{display:none}
  html.nav-ready .header__cta{margin-inline-start:auto}   /* menu toggle sits at the right edge once the nav is hidden */
}

/* ------------------------------------------------------------------ hero ---
   Full-bleed photograph, dark gradient from the left so the headline holds,
   oversized display type with one word marked — the reference sets its first
   word in a lighter weight with a hand-drawn underline; here the mark is a
   brush rule under "Byproduct" in --on-accent-2.                           */
.hero{
  position:relative;isolation:isolate;background:var(--deep);
  min-height:clamp(560px,76vh,800px);display:grid;align-items:center;
  /* The header is a bar in the flow above this section now (client,
     2026-09-10), so the extra --header-h that used to clear the overlay is
     gone. */
  padding-block:clamp(var(--s-8),7vw,var(--s-10))
                clamp(var(--s-9),9vw,var(--s-10))
}
.hero__bg{position:absolute;inset:0;z-index:-2;overflow:hidden}
/* The cut-out is Troy lifted out of this same frame, so the background crop is
   pushed off him — otherwise he appears twice — and given a shallow blur, which
   also puts the sharp cut-out clearly in front. The scale hides the blur's
   soft edge. */
/* hero.jpg and hero-top.png are the SAME 1920x930 frame — the cut-out is Troy
   lifted out of this photograph. Both layers therefore take the identical
   object-fit and object-position, which is what makes the cut-out land exactly
   over the background copy of him at every width. Change one and you must
   change the other, or he appears twice. */
/* The scene goes to black and white; the cut-out above it keeps its colour, and
   because both layers are the same frame on the same crop, Troy reads in colour
   exactly where he stands. */
.hero__bg img{
  width:100%;height:100%;object-fit:cover;object-position:center;
  filter:grayscale(100%)
}
.hero::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(100deg,
    color-mix(in srgb,var(--hero-shade-1) 59%,transparent) 0%,
    color-mix(in srgb,var(--hero-shade-2) 59%,transparent) 36%,
    color-mix(in srgb,var(--hero-shade-3) 59%,transparent) 58%,
    color-mix(in srgb,var(--hero-shade-4) 0%,transparent) 80%,
    color-mix(in srgb,var(--deep) 22%,transparent) 100%)
}
/* hero-top.png is a cut-out of Troy on transparent ground. It sits ABOVE the
   headline so the type runs underneath him — the background photograph, the
   wash, then the text, then the cut-out. Decorative: the background image
   already carries the alt text.
   Below 900px (client, 2026-09-03) the composition mirrors desktop instead of
   hiding the cut-out: both layers' crops slide toward Troy so he reads on the
   right and the projected slide text leaves the headline, and the cut-out
   drops beneath the copy so full-width type and buttons stay legible. Keep
   both layers' object-position identical or Troy doubles. */
.hero__cut{position:absolute;inset:0;z-index:2;pointer-events:none}
.hero__cut img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero__cut picture{display:block;height:100%}
@media (max-width:900px){
  /* 67% lands Troy's face at ~70% of the viewport width on both phone and
     tablet cover crops — the same right-of-center spot he holds on desktop —
     and the lede keeps to the left ~60% so the copy reads as a left column
     beside him rather than running under his face. */
  .hero__bg img,.hero__cut img{object-position:67% center}
  .hero__cut{z-index:0}
}


.hero__inner{max-width:44rem;position:relative;z-index:1}
.hero__title{
  font-size:var(--fs-display);line-height:var(--lh-tight);color:var(--on-deep);
  margin-block-end:var(--s-5)
}
/* Presentation only — the concatenated text of the h1 is byte-identical to the
   supplied headline. */
.hero__title .mark{position:relative;white-space:nowrap;color:var(--white)}
/* The closing band's travelling gradient, on "Byproduct" (client, 2026-09-02).
   It rides an inner span, not .mark itself: .mark also holds the brush SVG, and
   background-clip:text on the parent would have clipped the gradient to the
   glyphs while -webkit-text-fill-color:transparent bled onto everything else it
   contains. The white above stays as the fallback. */
@supports (background-clip:text) or (-webkit-background-clip:text){
  .hero__title .sheen{
    background:linear-gradient(100deg,
      var(--white) 0%,var(--on-accent-2) 18%,var(--sheen) 34%,var(--white) 50%,
      var(--on-accent-2) 66%,var(--sheen) 82%,var(--white) 100%);
    background-size:320% 100%;
    -webkit-background-clip:text;background-clip:text;
    -webkit-text-fill-color:transparent;color:transparent;
    animation:cta-sheen 11s linear infinite
  }
}
@media (prefers-reduced-motion:reduce){
  .hero__title .sheen{
    animation:none;-webkit-text-fill-color:var(--white);color:var(--white);background:none
  }
}
/* (Brush-underline SVG rule removed with its markup — client, 2026-09-03.) */
.hero__lede{color:var(--white);max-width:34rem;margin-block-end:var(--s-7)}
.hero__actions{display:flex;flex-wrap:wrap;gap:var(--s-4)}
/* (Hero spark rules removed with their markup — client, 2026-09-03.) */
@media (max-width:900px){
  /* Deeper on the left than the desktop wash so the projected slide text
     can't fight the headline; the colour cut-out sits above this wash, so
     Troy keeps his full contrast (client, 2026-09-03). The lede keeps to the
     left ~60% so the copy reads as a column beside Troy, not under his face
     — this rule lives here, after the base .hero__lede, so it wins. */
  .hero::after{background:linear-gradient(100deg,
    color-mix(in srgb,var(--hero-shade-5) 94%,transparent) 0%,
    color-mix(in srgb,var(--hero-shade-2) 84%,transparent) 40%,
    color-mix(in srgb,var(--hero-shade-3) 60%,transparent) 70%,
    color-mix(in srgb,var(--deep) 46%,transparent) 100%)}
  /* Reserve the top of the hero for Troy's face (client, 2026-09-03: no text
     may cross it). The copy starts below the face zone — the image covers by
     height, so his face always sits in the top ~35% — and a soft shadow keeps
     the lines legible where they cross his jacket. */
  .hero__inner{margin-block-start:clamp(230px,36vh,300px)}
  .hero__title,.hero__lede{text-shadow:0 2px 18px color-mix(in srgb,var(--overlay-deep) 60%,transparent)}
  /* The sheen's fill is transparent (background-clip:text), so an inherited
     text-shadow paints straight through the glyphs and greys the gold —
     keep the shadow off that word. */
  .hero__title .sheen{text-shadow:none}

}
@media (max-width:640px){
  .hero{min-height:0;padding-block:var(--s-9)}
  .hero__actions .btn{flex:1 1 100%;justify-content:space-between}
}

/* --------------------------------------------------------------- marquee ---
   The reference's scrolling capability strips. Two identical tracks slide
   -50% so the loop is seamless; the whole strip is aria-hidden=false but the
   duplicate track is aria-hidden, so a screen reader reads the list once.
   Reduced motion stops the animation and lets the strip scroll by hand.   */
.marquee{overflow:hidden;position:relative;display:flex}
.marquee--accent{background:var(--accent);color:var(--on-accent)}
.marquee--accent .marquee__track{padding-block:10px}
.marquee--accent .marquee__item{padding:10px 0}
.marquee--accent .marquee__sep{width:5px;height:5px}
.marquee__track{
  display:flex;flex:0 0 auto;align-items:center;gap:clamp(var(--s-5),2.6vw,var(--s-7));
  padding:var(--s-4) clamp(var(--s-5),2.6vw,var(--s-7)) var(--s-4) 0;
  animation:marquee 46s linear infinite;will-change:transform
}
.marquee:hover .marquee__track{animation-play-state:paused}
.marquee__item{
  display:flex;align-items:center;gap:clamp(var(--s-5),2.6vw,var(--s-7));
  font-size:var(--fs-marquee);letter-spacing:var(--tr-label);text-transform:uppercase;
  font-weight:var(--fw-semi);white-space:nowrap
}
/* Client, 2026-09-03: the star separator read as whimsical — now a plain
   bullet dot in the same muted tone. */
.marquee__sep{width:4px;height:4px;flex:0 0 auto;border-radius:50%;background:var(--on-accent-2);opacity:.7}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){
  .marquee{overflow-x:auto}
  .marquee__track{animation:none}
}

/* ------------------------------------------------- section head, two-up ---
   The reference opens most sections with a heading on the left and a small
   aside on the right, over a hairline.                                    */
.head{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(var(--s-5),3vw,var(--s-8));align-items:end;
  padding-block-end:var(--s-6);border-block-end:1px solid var(--line);
  margin-block-end:clamp(var(--s-6),3.4vw,var(--s-8))
}
.head--end{align-items:end}
.head__aside{display:flex;flex-direction:column;align-items:flex-start;gap:var(--s-4)}
.head--right .head__aside{align-items:flex-end;text-align:right}
.head--split{grid-template-columns:minmax(0,7fr) minmax(0,3fr)}
/* This heading runs long; at the shared h2 size it took three lines and swamped
   the cards under it. */
.head--stack h2{font-size:clamp(1.75rem,3.4vw,44px)}
.head--facts{grid-template-columns:minmax(0,11fr) minmax(0,9fr)}
/* One column, with the lede beneath the heading on the full measure. */
.head--stack{grid-template-columns:1fr;border-block-end:0;padding-block-end:0}
.head--stack .lede{max-width:none;margin-block-start:var(--s-5)}
.head--center{
  /* row-gap 0: the eyebrow's own 16px margin sets the distance to the heading,
     exactly as it does in every other section head. */
  grid-template-columns:1fr;justify-items:center;text-align:center;border:0;
  gap:0;padding-block-end:0;margin-block-end:clamp(var(--s-6),3.4vw,var(--s-8))
}
.head--center .measure{margin-inline:auto}
@media (max-width:820px){
  .head{grid-template-columns:1fr}
  .head--right .head__aside{align-items:flex-start;text-align:left}
}

/* ------------------------------------------------------------ meet troy ---
   The reference's collage block: a masked photograph with a floating badge
   card and a dot grid behind it, copy on the right.                       */
.split{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(var(--s-6),4.4vw,var(--s-9));align-items:stretch
}
.split--rev .split__media{order:2}
.split--top{align-items:start}
/* The books panel holds a masked image, so any placeholder ground shows
   through its rounded corners. */
.books-media{background:transparent}
.collage{position:relative;height:100%;padding:0}
.collage__dots{inset:0 auto auto -6%;width:52%;height:58%}
/* No aspect ratio: the grid row is sized by the text column, and the image
   fills whatever height that comes to. */
/* A square bite out of the bottom-left corner, its inner corner rounded — the
   shape in the client's reference. It is a plate of the section's own ground
   rather than a clip-path, because clip-path cannot round a corner. */
.collage__notch{
  position:absolute;z-index:2;left:0;bottom:0;
  width:clamp(88px,10vw,132px);height:clamp(76px,9vw,112px);
  /* inner corner rounded up from 14px to read clearly as round, matching the
     collage's 18px panel radius (client, 2026-09-03) */
  background:var(--paper);border-start-end-radius:var(--r-lg)
}
/* Concave fillets where the notch meets the photo's edges (client,
   2026-09-03): the two outer 90° junctions of the bite now curve — a paper
   square with a transparent quarter-circle lets the photo show through the
   curve. One rides the photo's left edge above the plate, the other the
   bottom edge to its right. */
.collage__notch::before,.collage__notch::after{
  content:"";position:absolute;width:var(--r-lg);height:var(--r-lg);
  background:radial-gradient(circle at 100% 0,
    color-mix(in srgb,var(--black) 0%,transparent) calc(var(--r-lg) - 0.5px),var(--paper) var(--r-lg))
}
.collage__notch::before{left:0;top:calc(-1 * var(--r-lg))}
.collage__notch::after{left:100%;bottom:0}
.collage__img{
  position:relative;z-index:1;overflow:hidden;height:100%;
  /* 10px read as square at this size — the panel radius, like the video
     frame's (client, 2026-09-03) */
  border-radius:var(--r-lg);
  background:var(--sand-2)
}
.collage__img img{width:100%;height:100%;object-fit:cover}
.collage__img img{width:100%;height:100%;object-fit:cover;object-position:center 24%}
.badge{
  position:absolute;z-index:2;right:-7%;bottom:6%;width:min(228px,56%);
  display:flex;flex-direction:column;gap:var(--s-3);
  padding:var(--s-5);border-radius:var(--r);
  background:var(--accent);color:var(--on-accent);box-shadow:var(--sh-lift)
}
.badge__mark{
  display:grid;place-items:center;width:40px;height:40px;border-radius:50%;
  background:var(--on-accent);color:var(--accent)
}
.badge__mark svg{width:20px;height:20px}
.badge__text{
  font-family:var(--ff-display);font-size:var(--fs-sm);font-weight:var(--fw-semi);
  line-height:1.25
}
.split__body{margin-block:var(--s-5) var(--s-6)}
/* Client, 2026-09-03: the platform statement now introduces the three points
   below it rather than being a bullet itself, so it takes the list's own top
   margin and the list tightens up underneath it. Same size and ink as the
   bullets, so lead-in and points read as one block. */
.split__lead{
  margin-block:clamp(var(--s-5),2.4vw,var(--s-6)) 0;
  font-size:var(--fs-sm);line-height:1.6;color:var(--ink)
}
.split__lead + .split__bullets{margin-block-start:var(--s-4)}
/* The second paragraph as bullets, at the client's request. Split on its own
   sentence boundaries, so the joined text is unchanged. */
.split__bullets{
  display:flex;flex-direction:column;gap:var(--s-3);
  margin-block:clamp(var(--s-5),2.4vw,var(--s-6)) 0;color:var(--ink)
}
/* Key points, as in the reference: a filled check disc against each line. */
.split__bullets{gap:var(--s-4)}
.split__bullets li{
  position:relative;padding-inline-start:calc(var(--s-6) + var(--s-2));
  font-size:var(--fs-sm);line-height:1.6
}
.split__bullets li::before{
  content:"";position:absolute;left:0;top:.15em;width:22px;height:22px;
  border-radius:50%;background:var(--accent);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbfaf8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-size:14px 14px;background-position:center;background-repeat:no-repeat
}

@media (max-width:900px){
  .split{grid-template-columns:1fr;gap:var(--s-7)}
  .split--rev .split__media{order:0}
  .badge{right:0}
}

/* -------------------------------------------------- the four points -----
   Under the video: one white box each, equal height, with the copy trimmed to
   three lines. Line-clamped as well as trimmed, so an edit that runs long
   cannot break the row.                                                   */
.points{
  /* No gap: the four boxes touch and share one hairline, so the shared borders
     are collapsed rather than doubled. */
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;
  /* Flush under the video frame, and the row is rounded like it — the two read
     as one stacked block. */
  margin-block-start:0;border-radius:0 0 var(--r-lg) var(--r-lg);overflow:hidden;
  border-block-start:0
}
/* A mark beside a label, as in the client's reference — no descriptions. */
.point{
  display:flex;align-items:center;gap:var(--s-4);
  padding:clamp(var(--s-5),2.4vw,var(--s-6));
  background:var(--paper);border:1px solid var(--line);border-radius:0
}
.point + .point{border-inline-start:0}

/* Outline marks, not filled discs — the reference draws them in line. */
.point__mark{
  display:grid;place-items:center;width:34px;height:34px;flex:0 0 auto;
  color:var(--accent)
}
.point__mark svg{width:100%;height:auto}
.point__title{font-size:var(--fs-h4);margin-block-start:0;line-height:1.25}
@media (max-width:1080px){.points{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.points{grid-template-columns:1fr}}

/* ---------------------------------------------------------- key facts ---
   Four divided columns, the reference's arrangement: a line icon, a title and
   two lines of copy, separated by hairlines that fade at both ends the way the
   topic grid's do.                                                        */
.facts{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  border-block-start:1px solid var(--line)
}
.fact{
  --fact-pad:clamp(var(--s-6),3.4vw,var(--s-8));
  position:relative;display:flex;flex-direction:column;gap:var(--s-3);
  padding:var(--fact-pad) clamp(var(--s-4),2vw,var(--s-6))
}
.fact:first-child{padding-inline-start:0}
.fact + .fact::before{
  content:"";position:absolute;inset-block:0;inset-inline-start:0;width:1px;
  background:linear-gradient(to bottom,
    transparent 0,var(--line) var(--fact-pad),
    var(--line) calc(100% - var(--fact-pad)),transparent 100%)
}
.fact__mark{
  display:grid;place-items:center;width:46px;height:46px;border-radius:12px;
  background:var(--paper);border:1px solid var(--line);color:var(--accent)
}
.fact__mark svg{width:23px;height:23px}
.fact__title{font-size:var(--fs-h4);margin-block-start:var(--s-3)}
.fact__body{font-size:var(--fs-sm);color:var(--muted)}
@media (max-width:940px){
  .facts{grid-template-columns:1fr 1fr}
  .fact:nth-child(2n+1){padding-inline-start:0}
  .fact:nth-child(3)::before,.fact:nth-child(3){border-block-start:1px solid var(--line)}
}
@media (max-width:560px){
  .facts{grid-template-columns:1fr}
  .fact{padding-inline:0}
  .fact + .fact::before{content:none}
  .fact + .fact{border-block-start:1px solid var(--line)}
}
/* Two-column variant: used when only two pillars are shown. */
.facts--2col{grid-template-columns:repeat(2,minmax(0,1fr))}
.facts--2col .fact:first-child{padding-inline-start:0}
@media (max-width:640px){.facts--2col{grid-template-columns:1fr}}

/* ------------------------------------------------------------ video ------
   The reference's arrangement: centred heading, then a wide rounded frame with
   a circular play control, and the next surface picking up behind its lower
   half.                                                                   */
/* The four points now follow the frame inside this section, so it no longer
   straddles the next surface. 150px at the foot, at the client's request. */
/* The sand ground starts halfway down the frame and runs on under the four
   boxes — the reference's colour block. 55% of the section measures out at the
   frame's midline; on a phone the frame is shorter against stacked boxes, so it
   takes its own figure. */
.video-sec{padding-block:clamp(32px,3.5vw,50px) clamp(64px,10.4vw,150px)}   /* 50/150 at 1440, eases to 32/64 on phones */
.video-sec::after{
  content:"";position:absolute;inset:auto 0 0 0;height:55%;
  background:var(--sand);z-index:-2
}
@media (max-width:1080px){.video-sec::after{height:calc(100% - 80px);}}
@media (max-width:395px){.video-sec::after{height:calc(100% - 110px);}}
.video-sec__head{text-align:center}
.video-sec__head .lede{margin-block-start:var(--s-5);margin-inline:auto;max-width: 880px;}
/* Client, 2026-09-03: the video lede is hand-set on two lines, broken at its
   own clause boundary. Same device as the statement quote's .ln — blocks, not
   a <br>, so each half still wraps naturally on a narrow screen instead of
   overflowing. */
.lede--split .ln{display:block}

/* MEDIA RADIUS, one system:
     full-bleed bands   0        (.band)
     panels             --r-lg   (video frame, books cut-out box, engage panel)
     media inside cards --r - 1  (the card's radius less its 1px border)
     the collage keeps its one oversized corner, which is the section's signature */
/* The frame and the points below it are one shape: the frame rounds its top
   corners, the points row rounds the bottom pair, and they meet flush. */
/* The same 1px hairline the points carry, so the stacked pair reads as one
   bordered block; the shared edge is not doubled because the points drop their
   own top border. */
.video-frame{
  /* All four corners round since 2026-09-03: the points row that used to
     complete the frame's bottom edge was removed at the client's request. */
  position:relative;overflow:hidden;border:1px solid var(--line);
  border-radius:var(--r-lg);
  aspect-ratio:16/9;background:var(--sand-2);
  margin-block-start:clamp(var(--s-5),2vw,var(--s-7));box-shadow:var(--sh)
}
.video-frame img{width:100%;height:100%;object-fit:cover;border-radius:0}
/* full-bleed bands carry no radius */
.hero__media,.band{border-radius:0}
.video-play{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  display:grid;place-items:center;width:clamp(96px,10vw,132px);aspect-ratio:1;
  border-radius:50%;background:var(--accent);color:var(--on-accent);
  text-decoration:none;transition:transform var(--dur-slow) var(--ease)
}
.video-play:hover{transform:translate(-50%,-50%) scale(1.06)}
.video-play__ring{position:absolute;inset:0;animation:spin 18s linear infinite}
.video-play__ring svg{width:100%;height:100%}
.video-play__ring text{
  font-family:var(--ff-body);font-size:9.5px;font-weight:var(--fw-semi);
  letter-spacing:.22em;text-transform:uppercase;fill:var(--on-accent-2)
}
.video-play__tri{
  width:0;height:0;margin-inline-start:4px;
  border-block:11px solid transparent;border-inline-start:17px solid currentColor
}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.video-play__ring{animation:none}}

/* ------------------------------------------------------- insight cards ---
   The reference's card language: image top, small burgundy meta label,
   title, excerpt, and the whole card as the hit area.                     */
.cards{display:grid;gap:clamp(var(--s-4),2.2vw,var(--s-6));grid-template-columns:repeat(3,minmax(0,1fr))}

/* The Insights row runs the full width and scrolls sideways. Native overflow
   does the work, so touch and trackpad already swipe it and it needs no script;
   v3.js only adds pointer-drag on top. The rail matches the header's 20px. */
.cards--rail{
  display:flex;gap:clamp(var(--s-4),1.8vw,var(--s-5));
  overflow-x:auto;overflow-y:hidden;
  /* The first card lines up with the section heading; the row runs off the
     right edge so it reads as continuing. */
  --rail-inset:max(20px,calc((100% - var(--wrap)) / 2 + var(--gutter)));
  padding-inline:var(--rail-inset) 20px;
  /* Snap positions have to respect that inset, or the browser scrolls the rail
     to sit the first card on the scroll-port edge and the inset disappears. */
  scroll-padding-inline:var(--rail-inset) 20px;
  /* overflow-y:hidden is forced on a horizontal scroller, so the block padding
     is what stops it shearing the cards' hover shadow and their 4px lift.
     the client asked for it to go (2026-09-01), so the cards in this rail must
     not need it: their hover drops the 4px lift and moves the border, the media
     and the title instead. Nothing in the rail casts a shadow that a horizontal
     scroller would shear. */
  padding-block:0;
  scroll-snap-type:x proximity;scrollbar-width:thin;
  -webkit-overflow-scrolling:touch
}
.cards--rail > .card{
  flex:0 0 clamp(268px,25vw,352px);scroll-snap-align:start
}
/* The rail carries its own cursor (client, 2026-09-02): a grainy dark disc with
   a chevron pair, drawn by _ai/gate/make_cursor.py. 64px is the largest a custom
   cursor renders reliably, the hotspot is its centre, and `grab`/`grabbing` stay
   as the fallback for anything that will not load it. The cards inherit it, so
   the icon holds across the whole rail instead of flicking back to a pointer
   over every title link — the links still click and still take focus. */
html.drag-ready .cards--rail{
  cursor:url("../img/drag-cursor.png") 32 32,grab;scrollbar-width:none
}
html.drag-ready .cards--rail::-webkit-scrollbar{display:none}
html.drag-ready .cards--rail *{cursor:inherit}
/* Over a card the pointer is the normal clickable hand (the card opens its
   Insight); the drag cursor stays on the rail around the cards and takes over
   again the moment a drag starts (client, 2026-10-07). */
html.drag-ready .cards--rail:not(.is-dragging) .card,
html.drag-ready .cards--rail:not(.is-dragging) .card *{cursor:pointer}
html.drag-ready .cards--rail.is-dragging{
  cursor:url("../img/drag-cursor.png") 32 32,grabbing;scroll-snap-type:none
}
html.drag-ready .cards--rail.is-dragging *{pointer-events:none}
.cards--rail::-webkit-scrollbar{height:6px}
.cards--rail::-webkit-scrollbar-thumb{background:var(--line-2);border-radius:99px}
.card{
  position:relative;display:flex;flex-direction:column;gap:var(--s-4);
  background:var(--paper);border:1px solid var(--line);border-radius:var(--r);
  /* The image is flush to the card's edges and the text rows carry their own
     padding. overflow:hidden is safe here now: these cards no longer lift or
     cast a shadow on hover, so there is nothing outside the box to shear — and
     it is what makes the card's own radius clip the square-cornered media. */
  padding:0 0 var(--s-6);overflow:hidden;
  transition:transform var(--dur-slow) var(--ease),box-shadow var(--dur-slow) var(--ease),
             border-color var(--dur) var(--ease)
}
/* No lift and no shadow inside the rail — a horizontal scroller is forced to
   overflow-y:hidden, so anything leaving the card's box would be cut. */
.card:hover{border-color:var(--line-fn)}
.card:hover .card__title a{color:var(--accent)}
.card__media{
  position:relative;overflow:hidden;aspect-ratio:16/10;background:var(--sand-2);
  margin:0;border-radius:0
}
.card__media img{border-radius:0}
/* The topic tag rides on the image; the date stays down in the body. */
.card__tag{
  position:absolute;z-index:1;left:24px;top:24px;
  padding:5px 10px;border-radius:var(--r-sm);
  background:var(--paper);color:var(--accent);
  font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;
  font-weight:var(--fw-semi);line-height:1.2;white-space:nowrap;
  max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis
}
.card__media img{width:100%;height:100%;object-fit:cover;transition:transform var(--dur-slow) var(--ease)}
.card:hover .card__media img{transform:scale(1.04)}
.card__meta{
  display:flex;align-items:center;gap:var(--s-3);flex-wrap:wrap;
  font-size:var(--fs-xs);letter-spacing:.1em;text-transform:uppercase;
  font-weight:var(--fw-semi);color:var(--accent);padding-inline:var(--s-5)
}
.card__meta time{color:var(--muted);font-weight:var(--fw-med);letter-spacing:.05em}
.card__more{
  display:inline-flex;align-items:center;gap:var(--s-3);min-height:44px;
  margin-block-start:auto;padding-inline:var(--s-5);
  font-size:var(--fs-xs);letter-spacing:.1em;text-transform:uppercase;
  font-weight:var(--fw-semi);color:var(--accent)
}
.card__more::after{
  content:"\2192";
  transition:transform var(--dur) var(--ease)
}
.card:hover .card__more::after{transform:translateX(4px)}
.card__title{padding-inline:var(--s-5)}
.card__title a{text-decoration:none;transition:color var(--dur) var(--ease)}
.card:hover .card__title a{color:var(--accent)}
.card__title a::after{content:"";position:absolute;inset:0;border-radius:var(--r)}
/* Three lines, then it stops. The full excerpt stays in the DOM — this is a
   display limit, not an edit to the copy. */
.card__excerpt{
  font-size:var(--fs-sm);color:var(--muted);padding-inline:var(--s-5);
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;
  overflow:hidden
}
@media (max-width:940px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){.cards{grid-template-columns:1fr}}

/* ------------------------------------------------------------- statement ---
   The one burgundy screen on the page, copied from the client's archive/v3:
   eyebrow, three hard-set lines of display type, a hairline, then the body on
   the left and one paper button on the right. A full-bleed photograph picks up
   immediately underneath it.                                               */
/* The band's own motif — diagonal hatch at two pitches, the way a section cut
   is filled on a drawing, plus a tick ruler along the top edge. Nothing else on
   the page is diagonal, so this reads as belonging only to the argument. */
/* The band's own motif — diagonal hatch at two pitches, a tick ruler along the
   top edge, a soft gradient and a real grain tile over the lot.
   NOTE: `.statement` and `.pattern-hatch` are the SAME element, so this ::before
   and the lights below cannot both own `background` — the lights live on ::after
   and on a span instead. An SVG feTurbulence data-URI was tried for the grain
   and did not rasterise; noise.png is a 21 KB tile that always does. */
.pattern-hatch::before{
  background:
    url("../img/noise.png"),
    linear-gradient(160deg,color-mix(in srgb,var(--paper) 12%,transparent) 0%,color-mix(in srgb,var(--paper) 0%,transparent) 44%,color-mix(in srgb,var(--black) 16%,transparent) 100%),
    /* Line strength, grey band and maroon alike - they share this declaration.
       Client, 2026-09-16: down another 40% from the 70% set earlier the same
       day, so .03/.025/.07 x .6. With the layer at opacity .7 below, that is
       42% of the lines' original strength. The grain is untouched. */
    repeating-linear-gradient(45deg,color-mix(in srgb,var(--paper) 1.8%,transparent) 0 1px,transparent 1px 12px),
    repeating-linear-gradient(45deg,color-mix(in srgb,var(--paper) 1.5%,transparent) 0 2px,transparent 2px 96px),
    repeating-linear-gradient(to right,color-mix(in srgb,var(--paper) 4.2%,transparent) 0 1px,transparent 1px 26px);
  background-size:160px 160px,auto,auto,auto,100% 14px;
  background-repeat:repeat,no-repeat,repeat,repeat,no-repeat;
  /* Client, 2026-09-16: the texture drops 30%. noise.png's alpha is baked into
     the tile, so the layer's own opacity is the only dial - which scales the
     whole ::before (grain, tonal wash and the already-reduced rules) together.
     Isolating the grain would mean re-rendering the tile at 70% alpha; say the
     word and that is a separate, cleaner change. */
  opacity:.7;
  /* Doubled twice on 2026-09-02 at the client's request: the hatch now covers
     the same 12px in a quarter of the original minute. */
  animation:hatch-drift 15s linear infinite
}
@keyframes hatch-drift{
  from{background-position:0 0,0 0,0 0,0 0,0 0}
  to{background-position:320px 320px,0 0,24px 24px,-28px 28px,0 0}
}
@media (prefers-reduced-motion:reduce){
  .pattern-hatch::before,.pattern--drift::before,
  .pattern--drift-engage::before,.pattern--drift-res::before{animation:none}
}

/* A safety frame in the top-right corner, washed into the band the same way the
   Work With Troy corner is washed into its ground. */
.phil-bg{
  position:absolute;z-index:-2;right:0;top:0;
  width:min(52%,720px);height:min(72%,520px);pointer-events:none;overflow:hidden
}
.phil-bg img{
  width:100%;height:100%;object-fit:cover;object-position:50% 42%;
  border-radius:0;opacity:.9;filter:grayscale(.35)
}
.phil-bg::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(to bottom,color-mix(in srgb,var(--accent) 34%,transparent) 0%,color-mix(in srgb,var(--accent) 80%,transparent) 54%,var(--accent) 88%),
    linear-gradient(to left,color-mix(in srgb,var(--accent) 10%,transparent) 0%,color-mix(in srgb,var(--accent) 72%,transparent) 58%,var(--accent) 90%)
}
/* Client, 2026-09-02, for this frame only: the statement's own line grid and
   grain should carry on above the photograph, so the corner reads as the band's
   surface rather than as an image dropped into it.

   Done by stacking order, not by a second texture layer. The frame drops to
   -2, which puts it under the section's hatch pseudo-element and under the
   drifting light, both at -1 — so the real hatch, the real grain and the real
   light all run straight across the photograph, continuous with the band
   either side of it. Duplicating the texture on the frame itself was tried
   first and had to go: laid on flat it drew a visible rectangle, because the
   grid stopped dead on the panel's edges; masked back off those edges it left
   the panel measurably flatter, and the frame was still covering the section's
   light. Sitting the frame under the section's own texture has neither
   problem. */
@media (max-width:900px){.phil-bg{width:min(88%,520px);height:min(52%,340px);opacity:.7}}

.statement{
  position:relative;isolation:isolate;overflow:clip;
  background:var(--accent);color:var(--on-accent);padding-block:var(--sec-y)
}
/* Two very soft lights drifting across the band — 5% and 4% white, so the
   quote's 11.96:1 is untouched. Decorative, aria-free, and stopped dead by
   prefers-reduced-motion. */
/* Two soft white lights at 10%, drifting. One rides ::after; the other is a real
   span, because ::before is carrying the hatch and grain. */
.statement::after,.statement__light{
  content:"";position:absolute;z-index:-1;border-radius:50%;pointer-events:none;
  will-change:transform;max-width:min(88vw,780px);max-height:min(88vw,780px)
}
.statement::after{
  width:min(64vw,780px);aspect-ratio:1;left:-14%;top:-32%;
  background:radial-gradient(circle,color-mix(in srgb,var(--white) 10%,transparent),color-mix(in srgb,var(--white) 0%,transparent) 68%);
  animation:drift-a 8.5s var(--ease) infinite alternate
}
.statement__light{
  width:min(56vw,660px);aspect-ratio:1;right:-12%;bottom:-30%;
  background:radial-gradient(circle,color-mix(in srgb,var(--white) 10%,transparent),color-mix(in srgb,var(--white) 0%,transparent) 68%);
  animation:drift-b 11s var(--ease) infinite alternate
}
@keyframes drift-a{
  from{transform:translate3d(0,0,0) scale(1)}
  to{transform:translate3d(18%,14%,0) scale(1.18)}
}
@keyframes drift-b{
  from{transform:translate3d(0,0,0) scale(1.1)}
  to{transform:translate3d(-16%,-12%,0) scale(1)}
}
@media (prefers-reduced-motion:reduce){
  .statement::after,.statement__light{animation:none}
}
/* Client, 2026-09-18: the homepage's Philosophy band stops moving. The two
   drifting lights go (::after here, the span is gone from the markup) and the
   hatch stops drifting - the ground, the grain and the rules all stay. */
.page-hero.pattern-hatch::before{animation:none}
.statement--calm::after{display:none}
.statement--calm.pattern-hatch::before{animation:none}
.statement__quote{margin:clamp(1.5rem,3vw,2.5rem) 0 0}
.statement__quote p{
  font-family:var(--ff-display);font-size:var(--fs-quote);font-weight:var(--fw-bold);
  line-height:1.05;letter-spacing:-.035em
}
/* The line breaks are set by hand, as in the reference. The concatenated text
   of the three spans — the separating spaces included — is byte-identical to
   the supplied quote (K-6). */
.statement__quote .ln{display:block}
/* The quote's own curly marks, in the band's lighter accent. Presentation only:
   the concatenated text of the blockquote is unchanged. */
.qmark{color:var(--on-accent-2);opacity:.8}
.statement__foot{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;
  gap:var(--s-6) clamp(2rem,5vw,5rem);
  margin-block-start:clamp(2.5rem,5vw,4.5rem);
  padding-block-start:clamp(1.75rem,3vw,2.5rem);
  border-block-start:1px solid var(--accent-line)
}
.statement__foot p{color:var(--on-accent-2)}
@media (max-width:760px){
  .statement__foot{grid-template-columns:1fr;align-items:start}
}

/* Full-bleed photographic band, straight after the statement. */
.band{position:relative;margin:0;background:var(--ink);line-height:0}
/* The mountain frame is held at 50% 30% (client, 2026-09-07, matching the
   framing they sent back). Cover scales 1774x887 to 1440x720 in the 300px
   band, so 420px of height is discarded and 30% shows rows 126..426: the
   sunlit ridge and snow up top, the sun on the right, and the valley floor
   left under the foot scrim. Centred (the initial 50% 50%) pushed the grass
   and the river into frame; 10% cut the sun. The control in ../../site 2
   keeps 55% 10%, which was framed for its Denver skyline. */
.band img{width:100%;height:300px;object-fit:cover;object-position:50% 30%}
/* The topic lead-in sits on the foot of the band, over a scrim, and the sand
   section beneath it opens with no top padding so the two read as one block. */
.band__foot{
  position:absolute;inset-inline:0;bottom:0;line-height:var(--lh-body);
  display:flex;align-items:flex-end;
  /* The overlay owns the bottom 40% of the band and runs about twice as deep as
     it did, so the heading sits on solid tone rather than on the photograph. */
  height:62%;min-height:190px;
  padding-block:0 clamp(var(--s-4),2vw,var(--s-5));
  background:linear-gradient(to top,
    color-mix(in srgb,var(--deep) 99%,transparent) 0%,
    color-mix(in srgb,var(--deep) 97%,transparent) 22%,
    color-mix(in srgb,var(--deep) 88%,transparent) 42%,
    color-mix(in srgb,var(--deep) 70%,transparent) 60%,
    color-mix(in srgb,var(--deep) 44%,transparent) 76%,
    color-mix(in srgb,var(--deep) 20%,transparent) 89%,
    color-mix(in srgb,var(--deep) 0%,transparent) 100%)
}
.band__title{
  display:block;text-align:center;color:var(--on-deep);
  font-family:var(--ff-display);font-size:clamp(1.25rem,2.4vw,2rem);
  font-weight:var(--fw-bold);letter-spacing:var(--tr-tight);line-height:1.15
}

/* Dark, so it reads as a continuation of the photographic band above it —
   that band's foot already fades to the same near-black. */
.topics-sec{
  padding-block:0;margin-block-start:0;
  background:var(--deep);color:var(--on-deep)
}
/* Three topics, running edge to edge again — the container was tried on
   2026-09-10 and the client asked for the full-width row back the same day.
   "Managing People in Dangerous Work" stays removed. The block padding is where
   the roominess reads; the inline padding is about half of it, and three
   full-width columns are 480px each at 1440, so the copy has more measure than
   the four columns ever had. */
.topics-sec .topics{border-inline:0}
.topics-sec{--topic-pad:clamp(2.5rem,6.9vw,100px)}
.topics-sec .topic{
  padding:var(--topic-pad) clamp(var(--s-5),3.4vw,52px);
  position:relative
}
/* The divider is a gradient, not a border: it starts at zero opacity, reaches
   full strength exactly where the cell's top padding ends, and fades out again
   over the same distance at the foot. */
.topics-sec .topic{border-inline-start:0}
.topics-sec .topic::before{
  content:"";position:absolute;inset-block:0;inset-inline-start:0;width:1px;
  background:linear-gradient(to bottom,
    color-mix(in srgb,var(--sand) 0%,transparent) 0,
    var(--line-deep) var(--topic-pad),
    var(--line-deep) calc(100% - var(--topic-pad)),
    color-mix(in srgb,var(--sand) 0%,transparent) 100%)
}
.topics-sec .topic:first-child::before{content:none}
.topics-sec .topics{border-block-start:0;margin-block-start:0}
.topics-sec .topic{border-inline-start-color:var(--line-deep)}
.topics-sec .topic__title{color:var(--on-deep)}
.topics-sec .topic__body{color:var(--on-deep-2)}
.topics-sec .topic__mark{
  background:transparent;border-color:color-mix(in srgb,var(--sand) 28%,transparent);color:var(--on-deep)
}
/* The hover wash fades out over the cell's padding at both ends, exactly like
   the divider beside it, so the two devices agree. */
.topics-sec .topic:hover{
  background:linear-gradient(to bottom,
    color-mix(in srgb,var(--paper) 0%,transparent) 0,
    var(--wash) var(--topic-pad),
    var(--wash) calc(100% - var(--topic-pad)),
    color-mix(in srgb,var(--paper) 0%,transparent) 100%)
}
.topics-sec .topic:hover .topic__mark{
  background:var(--paper);color:var(--accent);border-color:var(--paper)
}
/* the label above the title, in the band's accent — the reference's arrangement */
.topic__eyebrow{
  font-size:var(--fs-xs);letter-spacing:var(--tr-label);text-transform:uppercase;
  font-weight:var(--fw-semi);color:var(--gold-lite)
}
.topics-sec .topic__eyebrow{color:var(--on-accent-2)}
.topics-sec .topic__cta{color:var(--on-deep)}
@media (max-width:940px){
  .topics-sec .topic{border-block-start-color:var(--line-deep)}
}

/* The four topic areas as the reference's divided icon columns. */
.topics{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  border-block-start:1px solid var(--line);margin-block-start:clamp(var(--s-7),4vw,var(--s-9))
}
.topic{
  display:flex;flex-direction:column;gap:var(--s-3);
  padding:var(--s-6) clamp(var(--s-4),1.8vw,var(--s-5));
  border-inline-start:1px solid var(--line);text-decoration:none;color:inherit;
  transition:background var(--dur) var(--ease)
}
.topic:hover{
  background:linear-gradient(to bottom,
    color-mix(in srgb,var(--white) 0%,transparent) 0,color-mix(in srgb,var(--white) 60%,transparent) 22%,
    color-mix(in srgb,var(--white) 60%,transparent) 78%,color-mix(in srgb,var(--white) 0%,transparent) 100%)
}
.topic__mark{
  display:grid;place-items:center;width:64px;height:64px;border-radius:50%;
  background:transparent;border:1px solid var(--line-2);color:var(--accent);
  transition:background var(--dur) var(--ease),color var(--dur) var(--ease),
             transform var(--dur-slow) var(--ease),border-color var(--dur) var(--ease)
}
.topic__mark svg{width:28px;height:28px}
.topic:hover .topic__mark{
  background:var(--accent);color:var(--on-accent);border-color:var(--accent);
  transform:translateY(-4px) rotate(-6deg)
}
.topic__title{
  font-size:clamp(1.375rem,2.2vw,1.875rem);font-weight:var(--fw-bold);
  letter-spacing:var(--tr-tight);line-height:1.1;margin-block-start:var(--s-4)
}
.topic__body{font-size:var(--fs-sm);color:var(--muted)}
/* Each topic card carries its own control. The label is a supplied string
   reused verbatim — nothing was written for it. */
.topic__cta{
  display:inline-flex;align-items:center;gap:var(--s-2);min-height:44px;
  margin-block-start:auto;padding-block-start:var(--s-5);
  font-size:var(--fs-xs);font-weight:var(--fw-semi);
  letter-spacing:.1em;text-transform:uppercase;color:var(--accent)
}
.topic__cta svg{
  width:14px;height:14px;
  transition:transform var(--dur) var(--ease)
}
.topic:hover .topic__cta svg{transform:translate(4px,-4px)}
@media (max-width:940px){
  /* three cards over two columns leaves the third on its own row; the
     nth-child(n+3) rule below already draws its top edge. */
  .topics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .topic{border-inline-start:0;border-block-start:1px solid var(--line)}
  .topic:nth-child(2n+1){padding-inline-start:0}
  .topic:nth-child(2n){border-inline-start:1px solid var(--line);padding-inline-start:clamp(var(--s-4),3vw,var(--s-6))}
  .topic:first-child,.topic:nth-child(2){border-block-start:0}
}
@media (max-width:560px){
  .topics{grid-template-columns:1fr}
  .topic,.topic:nth-child(2n){border-inline-start:0;padding-inline:0}
  .topic:nth-child(2){border-block-start:1px solid var(--line)}
  /* the dark grid runs edge to edge, so its cells keep a rail */
  .topics-sec .topic,.topics-sec .topic:nth-child(2n){padding-inline:20px}
}

/* Stacked/2-col states of the DARK topics grid (client, 2026-09-03): the
   generic rules above were written for the light variant — they stripped the
   odd cells' inline padding, doubled the even cells' divider (solid border
   over the gradient), and let row-start cells draw a stray line at the screen
   edge. Every cell keeps its roomy padding here, and every separator speaks
   the same faded-hairline language as the desktop dividers. */
@media (max-width:940px){
  .topics-sec .topic,
  .topics-sec .topic:nth-child(2n),
  .topics-sec .topic:nth-child(2n+1){
    padding:var(--topic-pad) clamp(var(--s-5),3.4vw,52px);
    border-inline-start:0;border-block-start:0
  }
  .topics-sec .topic:nth-child(2n+1)::before{content:none}
  .topics-sec .topic:nth-child(n+3)::after{
    content:"";position:absolute;inset-inline:0;inset-block-start:0;height:1px;
    background:linear-gradient(to right,
      color-mix(in srgb,var(--sand) 0%,transparent) 0,
      var(--line-deep) clamp(var(--s-5),3.4vw,52px),
      var(--line-deep) calc(100% - clamp(var(--s-5),3.4vw,52px)),
      color-mix(in srgb,var(--sand) 0%,transparent) 100%)
  }
}
@media (max-width:560px){
  .topics-sec .topic,
  .topics-sec .topic:nth-child(2n),
  .topics-sec .topic:nth-child(2n+1){padding-inline:clamp(20px,6vw,32px)}
  .topics-sec .topic::before{content:none}
  .topics-sec .topic:nth-child(n+2)::after{
    content:"";position:absolute;inset-inline:0;inset-block-start:0;height:1px;
    background:linear-gradient(to right,
      color-mix(in srgb,var(--sand) 0%,transparent) 0,
      var(--line-deep) clamp(20px,6vw,32px),
      var(--line-deep) calc(100% - clamp(20px,6vw,32px)),
      color-mix(in srgb,var(--sand) 0%,transparent) 100%)
  }
}

/* --------------------------------------------------------- engagement list ---
   The reference's ruled rows: a large label on the left, a chevron on the
   right, one hairline per row. The client supplied no descriptions for these
   six, so the row carries the label and nothing invented.                 */
/* Its own surface, so it is not a third sand band in a row. */
.engage-sec{background:var(--surface-2);position:relative}
/* A photograph anchored in the bottom-left corner, with the section's own sand
   laid over it so it reads as part of the ground rather than as an image. */
.engage-bg{
  position:absolute;z-index:-1;left:0;bottom:0;
  width:min(60%,1000px);height:min(78%,560px);pointer-events:none;overflow:hidden
}
.engage-bg img{
  width:100%;height:100%;object-fit:cover;object-position:50% 62%;
  border-radius:0;opacity:1;filter:grayscale(.2)
}
.engage-bg::after{
  content:"";position:absolute;inset:0;
  /* The wash was doing half the dimming; with the image at full strength it is
     pulled back to match, so the photograph reads about twice as clearly and
     still merges into the sand at the top and right. */
  background:
    linear-gradient(to top,color-mix(in srgb,var(--surface-2) 28%,transparent) 0%,color-mix(in srgb,var(--surface-2) 72%,transparent) 58%,var(--surface-2) 100%),
    linear-gradient(to right,color-mix(in srgb,var(--surface-2) 6%,transparent) 0%,color-mix(in srgb,var(--surface-2) 74%,transparent) 72%,var(--surface-2) 100%)
}
@media (max-width:900px){.engage-bg{width:min(86%,520px);height:min(56%,340px);opacity:.7}}

.rows{border-block-start:1px solid var(--line-2)}
.rows li{border-block-end:1px solid var(--line-2)}
/* Client, 2026-09-21: Speaking & Keynotes is a link; the other five become links
   as those pages are built. So the hover is scoped to the row that actually has
   a destination - the other five no longer promise a click they cannot honour.
   (The mark hover used to fire on all six, which is what made them look
   clickable when none of them were.) */
.rows__row{
  display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;
  gap:clamp(var(--s-4),2vw,var(--s-5));
  padding:clamp(var(--s-5),2.2vw,var(--s-6)) var(--s-4)
}
.rows__mark{
  display:grid;place-items:center;width:34px;height:34px;flex:0 0 auto;
  border-radius:50%;border:1px solid var(--line-2);color:var(--accent);
  transition:background var(--dur) var(--ease),color var(--dur) var(--ease),
             border-color var(--dur) var(--ease),transform var(--dur) var(--ease)
}
.rows__mark svg{width:16px;height:16px}
a.rows__row{text-decoration:none;color:inherit}
.rows li:hover a.rows__row .rows__mark,
a.rows__row:focus-visible .rows__mark{
  background:var(--accent);color:var(--on-accent);border-color:var(--accent);
  transform:translateX(3px)
}
a.rows__row:hover .rows__name{color:var(--accent)}
.rows__name{
  font-family:var(--ff-display);font-size:var(--fs-h3);font-weight:var(--fw-semi);
  letter-spacing:-.015em;color:var(--ink)
}
@media (max-width:900px){.rows__row{padding-inline:0}}

/* -------------------------------------------------------------- testimonial ---
   A single paper card lifted off the sand, with a burgundy quote mark. */
/* Three across: the homepage testimonial in the middle at full strength, and
   the two from other pages flanking it at 20% opacity, running off both edges.
   At that opacity the flanking text is a visual device rather than something
   anyone can read, so the markup marks it aria-hidden and it is dropped below
   900px instead of being stacked as unreadable content. */
/* The bottom padding came off when Resources opened at 60px; Resources is
   back on the 120px rhythm and now paints its own #f2f2f2, so the two are
   different grounds and each owns its side of the gap (client, 2026-09-02). */
.testi-sec{padding-inline:0}
/* A snap carousel: the active quote holds the container width and the two
   neighbours sit either side of it, running off both edges. Native scroll
   snapping does the moving, so it swipes with no script at all; v3.js only
   tracks which card is centred and drives the dots. */
.testi-row{
  display:flex;align-items:center;gap:clamp(var(--s-4),2vw,var(--s-5));
  overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;
  /* 28px clears the half of the quote mark that sits above the card; the foot
     needs the shadow's 40px. */
  padding-block:calc(var(--s-6) + 28px) var(--lift-room);
  padding-inline:max(20px,calc((100% - var(--wrap)) / 2));
  scroll-padding-inline:max(20px,calc((100% - var(--wrap)) / 2));
  scrollbar-width:none
}
.testi-row::-webkit-scrollbar{display:none}
.testi-row > .quote-card{
  flex:0 0 min(var(--wrap),calc(100% - 40px));
  margin:0;max-width:none;scroll-snap-align:center;
  transition:opacity var(--dur-slow) var(--ease)
}
/* Without the script every quote is legible; with it, the two off-centre ones
   drop back to 20% and the dots become the control. */
html.testi-ready .testi-row > .quote-card{opacity:.2}
html.testi-ready .testi-row > .quote-card.is-active{opacity:1}
html.testi-ready .testi-row > .quote-card:not(.is-active) .quote-card__mark{opacity:0}

.testi-dots{
  display:none;justify-content:center;gap:0;
  /* The buttons keep their 44px target, so the visible dot already sits ~17px
     below the row; the margin is small on top of that (client, 2026-09-02). */
  margin-block-start:var(--s-2)
}
html.testi-ready .testi-dots{display:flex}
.testi-dot{
  width:30px;height:44px;display:grid;place-items:center;
  background:none;border:0;cursor:pointer;padding:0
}
.testi-dot::before{
  content:"";width:9px;height:9px;border-radius:50%;
  background:var(--line-2);transition:background var(--dur) var(--ease),transform var(--dur) var(--ease)
}
.testi-dot[aria-current="true"]::before{background:var(--accent);transform:scale(1.35)}
.testi-dot:hover::before{background:var(--muted)}
.testi-row .quote-card{max-width:none;margin:0}
.testi-row__aside{opacity:.2}
@media (max-width:900px){
  .testi-row{grid-template-columns:1fr;width:100%;margin-inline:0}
  .testi-row__aside{display:none}
}

/* Burgundy rules on the active quote, full strength at the centre and fading to
   nothing at both ends. */
.quote-card::before,.quote-card::after{
  content:"";position:absolute;inset-inline:0;height:1px;opacity:0;
  background:linear-gradient(90deg,
    color-mix(in srgb,var(--accent) 0%,transparent) 0%,color-mix(in srgb,var(--accent) 35%,transparent) 22%,var(--accent) 50%,
    color-mix(in srgb,var(--accent) 35%,transparent) 78%,color-mix(in srgb,var(--accent) 0%,transparent) 100%);
  transition:opacity var(--dur-slow) var(--ease)
}
.quote-card::before{top:0}
.quote-card::after{bottom:0}
.quote-card.is-active::before,.quote-card.is-active::after{opacity:1}
/* Without the script no slide is "active", so all three carry the rules. */
html:not(.testi-ready) .quote-card::before,
html:not(.testi-ready) .quote-card::after{opacity:1}

.quote-card{
  /* No overflow:hidden — the quote mark straddles this card's top edge and was
     being sheared by it. The gradient rules are inset:0 and need no clipping. */
  position:relative;background:var(--paper);border-radius:var(--r-lg);
  /* equal at top and bottom — the mark hangs outside the box, it does not need
     extra room inside it */
  padding-block:clamp(var(--s-8),5.4vw,var(--s-10));
  padding-inline:clamp(var(--s-6),5vw,var(--s-9));
  box-shadow:var(--sh);max-width:56rem;margin-inline:auto;text-align:center
}
.quote-card__mark{
  position:absolute;z-index:2;left:50%;top:0;transform:translate(-50%,-50%);
  display:grid;place-items:center;width:56px;height:56px;border-radius:50%;
  background:var(--accent);color:var(--on-accent);
  box-shadow:0 0 0 8px var(--paper)
}
.quote-card__mark svg{width:24px;height:24px}
.quote-card blockquote{
  font-family:var(--ff-display);font-size:clamp(1.125rem,1.8vw,1.5rem);
  line-height:1.45;font-weight:var(--fw-med);letter-spacing:-.01em;color:var(--ink)
}
.quote-card blockquote p{max-width:none;width:100%}
.quote-card__role{display:block;font-weight:var(--fw);letter-spacing:.04em;margin-block-start:4px}
.quote-card figcaption{
  margin-block-start:clamp(var(--s-5),2.4vw,var(--s-6));
  padding-block-start:var(--s-5);border-block-start:1px solid var(--line);
  font-size:var(--fs-xs);letter-spacing:.08em;font-weight:var(--fw-semi);
  color:var(--muted);display:inline-block
}

/* ---------------------------------------------------------------- resources ---
   Cards with the reference's pill tags. Gold as a pill fill carries --ink at
   5.66:1; as TEXT on light it measures 2.70 and is never used that way.   */
/* One card per row, image left and copy right, at the client's request. */
/* Two across, image left and copy right in each — the arrangement in the
   client's screenshot. A third card sits alone on the second row, aligned to the
   first column, which is what a two-track grid does and is intended. */
/* One card per row, and the row runs BEYOND the container out to a 20px rail —
   --res-bleed measures the gap between the container's content box and that rail,
   so the cards widen with the viewport and never overflow it. */
/* All three on one line, in a row that runs beyond the container to a 20px rail
   and then carries its own 20px of padding inside that, so the cards sit 40px
   clear of the viewport edge. */
/* Inside the container again (client, 2026-09-02) — no bleed. */
.res-list{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(var(--s-4),1.6vw,var(--s-5))
}
@media (max-width:1180px){.res-list{grid-template-columns:1fr;row-gap:var(--s-6)}}   /* stacked: room for the tag pills that sit on each card's top edge */
/* Roughly 450px tall at the client's request (2026-09-02), which the copy does
   not fill on its own — the CTA's auto top margin takes up the slack and sits
   at the foot. Only while the three are side by side: stacked, a 450px floor
   would be a screen of empty card. */
@media (min-width:1181px){.res{min-height:450px}}
.res{
  /* The cards carry no image any more (client, 2026-09-01), so this is a plain
     column and the card owns its block padding again. overflow stays visible so
     the hover shadow is never sheared. */
  --card-line:var(--line);
  position:relative;display:flex;flex-direction:column;
  background:var(--paper);border:1px solid var(--card-line);border-radius:var(--r);
  padding-block:clamp(var(--s-6),3vw,var(--s-7)) clamp(var(--s-5),2.4vw,var(--s-6));
  transition:transform var(--dur-slow) var(--ease),box-shadow var(--dur-slow) var(--ease)
}
.res:hover{transform:translateY(-4px);box-shadow:var(--sh-lift)}
/* A light sweeps across the card once on hover. It is a pseudo-element rather
   than a background layer so the card's own tint is untouched, it is clipped to
   the card's radius, and it sits under the text. transform runs on the
   compositor; nothing here triggers layout. */
.res::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  border-radius:inherit;overflow:hidden;
  background:linear-gradient(105deg,
    color-mix(in srgb,var(--white) 0%,transparent) 38%,
    color-mix(in srgb,var(--white) 72%,transparent) 50%,
    color-mix(in srgb,var(--white) 0%,transparent) 62%);
  background-size:260% 100%;background-position:130% 0;
  opacity:0;transition:opacity 240ms var(--ease)
}
.res:hover::after,.res:focus-within::after{
  opacity:1;animation:res-flash 760ms var(--ease) 1
}
@keyframes res-flash{
  from{background-position:130% 0}
  to{background-position:-130% 0}
}
/* Only the body needs lifting over the sheen; .res__pill is already
   position:absolute with z-index:2, and overwriting that would have
   dropped it off the card's top border. */
.res__body{position:relative;z-index:1}
@media (prefers-reduced-motion:reduce){
  .res::after{display:none}
}
/* Each of the three carries its own tint (client, 2026-09-02) — a warm blush
   off the burgundy, the sand already in the palette, and a cool grey off the
   #f2f2f2 ground. Measured on the darkest type they hold: --muted reads
   5.28 / 5.15 / 5.04:1 and --ink 16.9 / 16.5 / 16.2:1, so all three clear AA
   at the 14px caption size. */
/* Borders follow the same rule as the grounds. Each is set to land the same
   number of luminance points below its card as the shared --line did on paper
   (17.7 / 15.1 / 11.4 against 17.2 / 14.9 / 12.9), so the hairline weight is
   unchanged and only its hue moves. */
/* Deepened 2026-09-02 — the first set read almost white against the #f2f2f2
   ground. Each is now 5-7 luminance points lower, which is enough to name the
   colour without the card competing with its own type. Measured on the
   darkest thing each holds: --muted 4.84 / 4.85 / 4.75:1 and --ink 15.53 /
   15.53 / 15.23:1, so all three still clear AA at the 14px body size.
   --card-line is the card's own edge colour, reused by the two internal rules
   so a card's separators always match its border rather than all three
   defaulting to one grey. */
.res:nth-child(1){--card-line:var(--cat-1-line);background:var(--cat-1-bg);border-color:var(--card-line)}
.res:nth-child(2){--card-line:var(--cat-2-line);background:var(--cat-2-bg);border-color:var(--card-line)}
.res:nth-child(3){--card-line:var(--cat-3-line);background:var(--cat-3-bg);border-color:var(--card-line)}
/* The pill sits ON the card's top border, half in and half out, the way the
   quote mark straddles its card. */
.res__pill{
  position:absolute;z-index:2;top:0;left:clamp(var(--s-5),2.4vw,var(--s-6));
  transform:translateY(-50%)
}
/* Client, 2026-09-14: a paid resource says so in its own filled chip beside the
   type, here as well as on the Resources pages. When a card carries the badge
   ROW it is the row that straddles the border, and the pills inside go back to
   being ordinary inline boxes - otherwise two absolutely positioned pills land
   on the same spot. --on-accent on --accent = 12.63:1. */
.res__badges{
  position:absolute;z-index:2;top:0;left:clamp(var(--s-5),2.4vw,var(--s-6));
  transform:translateY(-50%);margin:0;
  display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-2)
}
.res__badges .res__pill{position:static;transform:none}
.res__pill--paid{
  background:var(--accent);color:var(--on-accent);box-shadow:none;
  text-transform:uppercase
}
.res__pill--paid svg,.res__pill--paid .pill__icon{color:var(--on-accent)}
/* The lock in the Paid chip is sized here rather than in pages.css, which the
   homepage does not load - without it the icon has no intrinsic size and the
   chip renders as the word alone. */
.res__pill svg{width:12px;height:12px;flex:0 0 auto;margin-inline-end:2px}
/* Home card price chip */
.res:not(.res--lib){container-type:inline-size}
.res:not(.res--lib) .res__price-sep{opacity:.55;margin-inline:.45em}
@container (max-width:389px){
  .res:not(.res--lib) .res__badges--priced{gap:6px}
  .res:not(.res--lib) .res__badges--priced .res__pill{padding-inline:10px;letter-spacing:.8px}
}
/* Smallest phones: tighter still */
@container (max-width:319px){
  .res:not(.res--lib) .res__badges--priced{gap:4px}
  .res:not(.res--lib) .res__badges--priced .res__pill{padding-inline:8px;letter-spacing:.4px}
}
@container (max-width:279px){
  .res:not(.res--lib) .res__badges--priced .res__pill{padding-inline:6px;letter-spacing:.2px;font-size:13px}
}
.res__body{
  display:flex;flex-direction:column;flex:1 1 auto;
  padding-inline:clamp(var(--s-5),2.4vw,var(--s-6))
}
.res__cat{
  font-size:var(--fs-xs);letter-spacing:.08em;text-transform:uppercase;
  font-weight:var(--fw-semi);color:var(--muted);
  /* Fenced off from the body above the title (client, 2026-09-02). */
  padding-block-end:var(--s-4);
  border-block-end:1px solid var(--card-line)
}
.res__title{margin-block-start:var(--s-4)}
.res__excerpt{margin-block-start:var(--s-3)}
.res__cta{
  display:inline-flex;align-items:center;gap:var(--s-3);min-height:44px;
  /* auto pushes it to the foot of the card, and the rule fences it off from
     the body the same way the category is fenced at the top. */
  margin-block-start:auto;padding-block-start:var(--s-5);
  border-block-start:1px solid var(--card-line);
  font-size:var(--fs-xs);letter-spacing:.1em;text-transform:uppercase;
  font-weight:var(--fw-semi);color:var(--accent)
}
/* The arrow replaces the trailing rule here, and it needs an explicit size:
   an unsized SVG in a flex row stretches to fill it. */
.res__cta svg{width:14px;height:14px;flex:0 0 auto;transition:transform var(--dur) var(--ease)}
.res:hover .res__cta svg{transform:translate(4px,-4px)}
.pill__icon{
  width:12px;height:12px;flex:0 0 auto;
  /* nudged up a hair: the cap-height of an 11px uppercase label sits above the
     optical centre of a 12px square glyph */
  margin-block-start:-1px
}
.pill{
  display:inline-flex;align-items:center;gap:.4em;padding:6px 20px;
  border-radius:var(--r-pill);font-size:var(--fs-xs);letter-spacing:.1em;
  text-transform:uppercase;font-weight:var(--fw-semi)
}
/* Black label and icon on the free pills at the client's request
   (2026-09-02): 13.46:1 and 13.89:1 on the two pill tints. */
.pill--free{background:var(--sand);color:var(--black);box-shadow:inset 0 0 0 1px var(--line-2)}
/* Each free pill is a deeper shade of the card it sits on (client,
   2026-09-02) — the blush card takes a blush pill, the sand card a sand
   pill, each about 16-18 points of luminance below its ground so it reads
   as the same colour, darker. Re-derived 2026-09-02 when the cards deepened;
   --accent on them measures 8.00:1 and 8.25:1, well clear of AA at 11px. The third card keeps the solid
   burgundy pill--paid: that contrast IS the free/paid signal. */
.res:nth-child(1) .pill--free{background:var(--cat-1-pill);box-shadow:inset 0 0 0 1px var(--cat-1-pill-line)}
.res:nth-child(2) .pill--free{background:var(--cat-2-pill);box-shadow:inset 0 0 0 1px var(--cat-2-pill-line)}
/* Card 3 was the dark pill--paid until 2026-09-10. With the word "Paid"
   gone the padlock icon is the only signal, so the pill now matches its
   own card like the other two: 16.9 points below #e3e8ec, and #000 on it
   measures 13.63:1. */
.res:nth-child(3) .pill--free{background:var(--cat-3-pill);box-shadow:inset 0 0 0 1px var(--cat-3-pill-line)}
/* The paid pill is the dark member of the same family (client, 2026-09-02):
   its card's own hue taken down to 20% lightness rather than to burgundy, so
   all three pills come off their cards and the paid one is still instantly
   the odd one out. --on-accent on it measures 12.28:1. */
.pill--paid{background:var(--accent);color:var(--on-accent)}
.res:nth-child(3) .pill--paid{background:var(--cat-3-paid);color:var(--on-accent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--paper) 14%,transparent)}

.res__title a{text-decoration:none}
.res__title a::after{content:"";position:absolute;inset:0;border-radius:var(--r)}
.res:hover .res__title a{color:var(--accent)}
.res__excerpt{font-size:var(--fs-sm);color:var(--muted)}
/* Rich excerpt: paragraphs and lists */
.res__excerpt--rich{margin-block-end:var(--s-4)}
.res__excerpt--rich > * + *{margin-block-start:var(--s-3)}
.res__excerpt--rich ul{display:grid;gap:var(--s-2)}
.res__excerpt--rich ul > li{position:relative;padding-inline-start:26px}
.res__excerpt--rich ul > li::before{
  content:"";position:absolute;inset-inline-start:0;top:.26em;width:16px;height:16px;border-radius:50%;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.6 8.2 2.3 2.3 4.5-4.6'/%3E%3C/svg%3E") center/16px no-repeat,var(--accent)
}
.res__excerpt--rich ol{margin:0;padding-inline-start:1.25em;display:grid;gap:var(--s-2)}


/* -------------------------------------------------------------------- books ---
   The reference's notched photograph with a floating card. */
.notch{
  position:relative;overflow:hidden;aspect-ratio:4/3;background:transparent;
  border-radius:var(--r-lg);box-shadow:var(--sh)
}
.notch img{width:100%;height:100%;object-fit:cover}
/* books.png is a cut-out on a transparent ground: no panel, no shadow, no crop —
   it stands on the section itself. */
.cutout{
  position:relative;overflow:visible;aspect-ratio:auto;
  background:transparent;border-radius:0;box-shadow:none
}
.cutout img{
  width:100%;height:auto;object-fit:contain;
  filter:drop-shadow(0 26px 34px color-mix(in srgb,var(--shadow-ink) 20%,transparent))
}
.float-card{
  text-decoration:none;position:absolute;z-index:2;right:-2%;bottom:6%;width:min(268px,64%);
  background:var(--paper);border-radius:var(--r);padding:var(--s-5);
  box-shadow:var(--sh-lift);display:flex;flex-direction:column;gap:var(--s-4)
}
.float-card__row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--s-3);align-items:center}
.float-card__disc{
  display:grid;place-items:center;width:34px;height:34px;border-radius:50%;
  background:var(--sand);color:var(--accent);font-family:var(--ff-display);
  font-size:.75rem;font-weight:var(--fw-bold);letter-spacing:.02em
}
.float-card__label{font-size:var(--fs-xs);font-weight:var(--fw-semi);color:var(--ink)}
.float-card__sub{font-size:.75rem;color:var(--muted)}
/* Both books in one section, side by side as cards: a burgundy jacket plate on
   top of each, then that book's own title and opening paragraph. */
.book-grid{
  display:grid;grid-template-columns:1fr 1fr;
  gap:clamp(var(--s-5),3vw,var(--s-7))
}
.book-card{
  display:flex;flex-direction:column;gap:clamp(var(--s-5),2.4vw,var(--s-6));
  padding:clamp(var(--s-5),2.4vw,var(--s-6));
  background:var(--paper);border:1px solid var(--line);border-radius:var(--r-lg);
  box-shadow:var(--sh)
}
.book-card__body{display:flex;flex-direction:column;gap:var(--s-4)}
.book-card__title{font-size:var(--fs-h3);letter-spacing:var(--tr-tight)}
@media (max-width:820px){.book-grid{grid-template-columns:1fr}}
.jacket{
  display:flex;flex-direction:column;gap:var(--s-5);aspect-ratio:16/9;
  padding:clamp(var(--s-5),2.6vw,var(--s-7));
  background:var(--accent);color:var(--on-accent);border-radius:var(--r);
  box-shadow:var(--sh)
}
.jacket__mark{width:clamp(96px,11vw,124px);opacity:.92}
.jacket__title{
  font-family:var(--ff-display);font-size:var(--fs-h3);font-weight:var(--fw-bold);
  line-height:1.1;letter-spacing:-.02em
}
.jacket__rule{margin-block-start:auto}
.jacket__rule{height:1px;background:var(--accent-line)}
.jacket__release{
  font-size:var(--fs-xs);font-weight:var(--fw-semi);letter-spacing:.06em;
  color:var(--on-accent-2)
}
.book-body{color:var(--ink)}
@media (max-width:820px){
  .jacket{aspect-ratio:auto;min-height:clamp(200px,42vw,280px)}
}
.inline-link{
  color:var(--accent);font-weight:var(--fw-semi);text-decoration:none;
  border-block-end:1px solid var(--line-2)
}
.inline-link:hover{color:var(--accent-press);border-block-end-color:var(--accent)}
@media (max-width:700px){.books__list{grid-template-columns:1fr}}

/* ----------------------------------------------------------------- CTA band ---
   The reference's photographic closer: full-bleed image, a saturated gradient
   over it, a small badge above a centred heading, one pill.               */
.cta-band{
  /* The copy sits left and the form right (client, 2026-09-02). z-index puts the
     band above the footer, because the form card hangs past the band's foot and
     the footer is a later sibling that would otherwise paint over it. */
  position:relative;isolation:isolate;color:var(--on-deep);text-align:start;
  z-index:2;padding-block:var(--sec-y)
}
.cta-band__bg{position:absolute;inset:0;z-index:-2;overflow:hidden}
/* Client, 2026-09-03: the closing photograph runs black and white, like the
   hero's background layer — the burgundy/near-black wash over it is what
   carries the colour on this band. */
.cta-band__bg img{width:100%;height:100%;object-fit:cover;object-position:center 40%;
  filter:grayscale(1)}
/* Client, 2026-09-03: one flat burgundy wash instead of the 120deg gradient
   that ran near-black -> burgundy -> near-black. Measured over the now
   greyscale photograph beneath it: white type clears 7.85:1 even where the
   frame goes to pure white, and --on-accent-2 clears 5.82:1, so both hold AA
   at every point of the image. */
.cta-band::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:color-mix(in srgb,var(--accent) 80%,transparent)
}
/* Five construction SVG icons scattered across the CTA band, white at 8%.
   aria-hidden, pointer-events:none — purely decorative texture. */
.cta-icon{
  position:absolute;z-index:0;pointer-events:none;color:var(--white);opacity:.08
}
.cta-icon svg{display:block;width:100%;height:auto}
.cta-icon--1{width:clamp(120px,14vw,200px);left:3%;top:10%}
.cta-icon--2{width:clamp(90px,10vw,150px);left:12%;bottom:8%}
.cta-icon--3{width:clamp(100px,12vw,170px);right:4%;top:8%}
.cta-icon--4{width:clamp(80px,9vw,130px);right:14%;bottom:12%}
.cta-icon--5{width:clamp(110px,13vw,190px);left:50%;top:50%;transform:translate(-50%,-50%);opacity:.04}
.cta-band .wrap{position:relative;z-index:1}
.cta-band__badge{
  display:grid;place-items:center;width:52px;height:52px;border-radius:50%;
  background:var(--paper);color:var(--accent);margin:0 auto var(--s-5)
}
.cta-band__badge svg{width:24px;height:24px}
.cta-band h2{max-width:34ch;margin-inline:0;color:var(--white)}
/* A gradient that travels through the heading. The fallback colour above stays,
   so a browser without background-clip:text still gets white type. */
@supports (background-clip:text) or (-webkit-background-clip:text){
  .cta-band h2 .cta-line{
    /* Five stops rather than a single highlight, so the colour changes as the
       gradient travels rather than just brightening. */
    background:linear-gradient(100deg,
      var(--white) 0%,var(--on-accent-2) 18%,var(--sheen) 34%,var(--white) 50%,
      var(--on-accent-2) 66%,var(--sheen) 82%,var(--white) 100%);
    background-size:320% 100%;
    -webkit-background-clip:text;background-clip:text;
    -webkit-text-fill-color:transparent;color:transparent;
    animation:cta-sheen 11s linear infinite
  }
}
@keyframes cta-sheen{
  from{background-position:0% 0}
  to{background-position:-220% 0}
}
@media (prefers-reduced-motion:reduce){
  .cta-band h2 .cta-line{
    animation:none;-webkit-text-fill-color:var(--white);color:var(--white);background:none
  }
}
/* The two lines rise in with a stagger when the band comes into view, and the
   rule under them draws itself. Nothing moves under prefers-reduced-motion. */
/* The lines are blocks, so the <br> between them would add a second break. It
   stays in the markup because the content gate flattens it to the space that
   makes the heading's text match, and it is hidden here. */
.cta-line{display:block}
.cta-band h2 br{display:none}
html.reveal-ready .cta-band h2 .cta-line{
  opacity:0;transform:translateY(14px)
}
html.reveal-ready .cta-band h2.is-in .cta-line{
  opacity:1;transform:none;
  transition:opacity 620ms var(--ease),transform 620ms var(--ease)
}
html.reveal-ready .cta-band h2.is-in .cta-line:nth-child(3){transition-delay:140ms}
@media (prefers-reduced-motion:reduce){
  html.reveal-ready .cta-band h2 .cta-line{opacity:1;transform:none}
}
.cta-band p{max-width:52ch;margin:var(--s-4) 0 0;color:var(--white)}
.cta-band .cta-band__actions{
  display:flex;flex-wrap:wrap;gap:var(--s-4);justify-content:flex-start;
  margin-block-start:clamp(var(--s-6),3vw,var(--s-7))
}

/* --------------------------------------------------------- closing form ---
   Copy left, form right. The card hangs --cta-hang past the bottom of the
   band's content box, which is more than the band's own bottom padding, so it
   finishes on the footer — one element bridging the two sections, which is why
   the footer's diamond mark had to come out of that corner.

   The hang is a negative bottom margin rather than a transform: a transform
   would leave the band's height unchanged and the card would overlap the
   footer's own content instead of the space the mark vacated. */
.cta-band__grid{
  position:relative;   /* the annotation arrow is positioned against this */
  /* Re-measured 2026-09-02, after the footer's top padding dropped to 60px and
     the logo grew to 250px: the old 360px cap put the card 0-2px INTO the
     footer's own columns at 1180-1280. At 20vw/264px the card's foot lands
     104-161px inside the footer — within the brand row, which is the space the
     diamond mark vacated — and clears the columns by 41-84px from 901px up.
     Measured in the resting state, with the reveal transforms off: measuring
     mid-reveal moves the card and reports a clearance that is not real. */
  --cta-hang:clamp(96px,20vw,264px);
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,clamp(360px,34vw,460px));
  gap:clamp(var(--s-6),4vw,var(--s-8));align-items:start
}
.cta-form{
  background:var(--paper);color:var(--ink);
  border-radius:var(--r-lg);box-shadow:var(--sh-lift);
  padding:clamp(var(--s-6),2.6vw,var(--s-7));
  margin-block-end:calc(-1 * var(--cta-hang))
}
/* .cta-form__title removed 2026-09-02 at the client's request — the annotation
   arrow from the closing headline is what introduces the form now.
   The rules below still need the .cta-band prefix to outrank `.cta-band p`,
   which paints the band's own copy white and sets a 52ch measure. */
.cform{display:grid;gap:var(--s-4)}
.cta-band .cform__field{display:grid;gap:6px;margin:0;max-width:none;color:var(--ink)}
/* The icon is positioned over the control rather than beside it, so the control
   still spans the full width of the card and the label above stays flush left. */
.cform__control{position:relative;display:block}
.cform__icon{
  position:absolute;left:14px;top:50%;transform:translateY(-50%);
  display:grid;place-items:center;width:16px;height:16px;
  color:var(--muted);pointer-events:none
}
.cform__field--area .cform__icon{top:16px;transform:none}
.cform__icon svg{width:16px;height:16px;display:block}
.cform__field label{
  font-size:var(--fs-xs);font-weight:var(--fw-semi);color:var(--muted);
  letter-spacing:.04em;text-transform:uppercase
}
.cform__field input,.cform__field textarea{
  width:100%;min-height:48px;padding:var(--s-3) var(--s-4) var(--s-3) 40px;
  font-family:var(--ff-body);font-size:var(--fs-sm);color:var(--ink);
  /* #dedede at the client's request (2026-09-02). It measures 1.29:1 on white,
     under WCAG 1.4.11's 3:1 for a control boundary; the 3:1 version was
     #948a80. Raised once, asked for again, so it stands as the client's call. */
  background:var(--white);border:1px solid var(--field-line);border-radius:var(--r-sm);
  transition:border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease)
}
.cform__field textarea{min-height:104px;resize:vertical;line-height:var(--lh-body)}
/* Lighter than the value, so a placeholder never reads as filled-in text —
   #6e6261 at 5.62:1 stays legible while --ink at 18.79:1 is the real value. */
.cform__field input::placeholder,.cform__field textarea::placeholder{
  color:var(--muted);opacity:1
}
.cform__field input:hover,.cform__field textarea:hover{border-color:var(--muted)}
.cform__field input:focus-visible,.cform__field textarea:focus-visible{
  outline:none;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)
}
.cform__submit{justify-content:center;width:100%}
/* --------------------------------------------------- annotation arrow ---
   A drawn arrow from the closing headline across to the form, in the gutter
   between the two columns. One drawn stroke and its head — the client removed
   the doubled ghost line on 2026-09-02. Decorative, so it is aria-hidden in the
   markup and gone the moment the grid stacks. */
.cta-annot{
  position:absolute;z-index:1;pointer-events:none;
  /* Repositioned 2026-09-03 for the single-line "Join the Community"
     heading — starts past the heading's tail and sweeps to the form. */
  left:calc(48% + 0.5vw);top:clamp(44px,5.5vw,72px);
  width:clamp(76px,7.5vw,92px);color:var(--white);opacity:.82;
  transform:rotate(-2deg)
}
.cta-annot svg{width:100%;height:auto;display:block}
@media (max-width:1080px){.cta-annot{display:none}}
/* One line under the button, with the padlock in the same outline family as the
   rest of the page's icons. */
.cta-band .cform__privacy{
  display:flex;align-items:flex-start;gap:8px;max-width:none;
  margin:0;font-size:var(--fs-xs);line-height:1.45;color:var(--muted)
}
.cform__privacy svg{width:14px;height:14px;flex:0 0 auto;margin-block-start:1px}
/* Stacked, the hang would drop the card onto the footer's own columns. */
@media (max-width:900px){
  .cta-band__grid{grid-template-columns:1fr;--cta-hang:0px}
  .cta-form{margin-block-end:0}
}

/* ------------------------------------------------------------------- footer ---
   Dark, three columns: newsletter, links, follow. The reference's third column
   is a phone/email/address block; the client supplied no NAP and none is
   invented, so that column is Follow instead.                            */
/* Dark grey rather than the near-black used elsewhere (client, 2026-09-02), with
   its own drifting sheet so the foot of the page is not a flat slab. */
.site-footer{
  /* Client, 2026-09-10: a light footer, so the colour logo can sit in it — the
     burgundy in that mark measures 1.26:1 on the old #232323 and all but
     disappears. --sand rather than --sand-2 or --surface-2: --sand-2 drops
     --muted to 4.43:1, under AA for the small print down here, and --surface-2
     is 1.07:1 against the white CTA card that hangs into this space, which
     would swallow the card's edge. On --sand: --ink 16.0:1, --muted 4.99:1,
     --accent 10.63:1, and the logo's grey wordmark 4.15:1. */
  background:var(--sand);color:var(--ink);position:relative;isolation:isolate;
  overflow:clip;overflow-clip-margin:32px;
  /* 60px rather than --sec-y at the client's request (2026-09-02); the
     closing form hangs into this space, so --cta-hang was re-measured
     against the shorter footer. */
  padding-block:60px 0             /* the bottom bar carries the foot */
}
.site-footer .spark--f{right:6%;top:14%;width:34px;opacity:.55}
.site-footer::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    /* One grid of 26px squares. The alpha lives in the hairlines because this
       sheet has no opacity of its own; they went from a light ink at .10 to a
       dark ink at .07 when the footer turned light (2026-09-10) — the same
       apparent weight, inverted. */
    repeating-linear-gradient(to right,color-mix(in srgb,var(--ink) 7%,transparent) 0 1px,transparent 1px 26px),
    repeating-linear-gradient(to bottom,color-mix(in srgb,var(--ink) 7%,transparent) 0 1px,transparent 1px 26px);
  --f1:radial-gradient(ellipse 44% 54% at 12% 18%,var(--black) 0%,transparent 74%);
  --f2:radial-gradient(ellipse 34% 44% at 62% 84%,color-mix(in srgb,var(--black) 60%,transparent) 0%,transparent 72%);
  --f3:radial-gradient(ellipse 40% 58% at 88% 34%,color-mix(in srgb,var(--black) 85%,transparent) 0%,transparent 76%);
  --f4:radial-gradient(ellipse 28% 32% at 38% 6%,color-mix(in srgb,var(--black) 40%,transparent) 0%,transparent 70%);
  -webkit-mask-image:var(--f1),var(--f2),var(--f3),var(--f4);
  mask-image:var(--f1),var(--f2),var(--f3),var(--f4);
  -webkit-mask-composite:source-over;mask-composite:add;
  /* one ellipse blooms while another dies away — see pattern-cycle */
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:12% 18%, 62% 84%, 88% 34%, 38% 6%;mask-position:12% 18%, 62% 84%, 88% 34%, 38% 6%;
  animation:pattern-cycle-4 18s linear infinite
}
@media (prefers-reduced-motion:reduce){.site-footer::before{animation:none}}
/* One row since 2026-09-03: brand beside the link columns — the signup left
   for the Next Step band, and the brand row + its hairline went with it. */
/* Under the hanging card, so the footer's own texture and links are never
   covered by it. The brand row's logo is on the left and unaffected. */
.site-footer{z-index:1}
/* .footer__mark removed 2026-09-02: the closing form now hangs into that
   corner, and the client asked for the diamond to make room for it. */

.footer__cols{
  /* Fixed 30/70 split — the brand sits in the 30, the nav + social block in the
     70. Refined 2026-09-03: the content group is a single left-anchored block so
     the three visible columns read as one unit rather than drifting apart. */
  display:grid;grid-template-columns:minmax(0,3fr) minmax(0,7fr);
  /* Tops aligned: the logo, QUICK LINKS and FOLLOW TROY all start on one line. */
  align-items:start;
  gap:clamp(var(--s-7),5vw,var(--s-9));
  /* Client, 2026-09-03: no top padding — the footer's own 60px block padding
     already sets the distance from the hanging CTA card, so a second inset
     here just read as dead space above the logo. */
  padding-block:0 clamp(var(--s-7),4vw,var(--s-8))
}
.footer__linkcols{
  /* Quick Links (its own two sub-columns) sits directly beside Follow, grouped
     as one editorial content block and anchored to the left of the 70% track.
     The Quick-Links -> Follow step is the wider gap; the two sub-columns inside
     Quick Links share the tight gap so they read as halves of one list. */
  display:flex;flex-wrap:wrap;align-items:start;
  /* Client, 2026-09-03, in three steps: the pair was right-anchored, then
     spread across the whole 70% (which pulled them too far apart), and now
     back to the right rail as ONE group — Follow Troy still closing on the
     rail so it lines up with "Terms + Conditions" below. What changed from
     the first version is the air between them: the gap is close to double,
     so the two columns read as grouped rather than jammed. */
  justify-content:flex-end;
  column-gap:clamp(var(--s-8),6.5vw,112px);
  row-gap:var(--s-6)
}
.footer__links,.footer__follow{min-width:0}
/* Two sub-columns, column-first so the source order fills A (Start Here / About /
   Insights / Speaking) then B (Resources / Books / Contact). Tight inner gap. */
.footer__links .footer__list{
  display:grid;grid-auto-flow:column;grid-template-rows:repeat(4,auto);
  column-gap:clamp(var(--s-6),3vw,var(--s-7));row-gap:12px
}
/* Tablet: keep the logo on the left and the nav/social grouped on the right,
   just with tighter air between them. */
@media (max-width:960px){
  .footer__cols{gap:clamp(var(--s-6),4vw,var(--s-7))}
}
/* Stack point: logo first, then the grouped nav/social block — left-aligned
   again once the two rows sit on top of each other. */
@media (max-width:760px){
  .footer__cols{grid-template-columns:1fr}
  .footer__linkcols{justify-content:flex-start}
}
/* Phones: Quick Links keeps its two tight sub-columns, Follow wraps beneath. */
@media (max-width:460px){
  .footer__links .footer__list{
    grid-auto-flow:row;grid-template-rows:none;grid-template-columns:1fr 1fr
  }
}

/* Footer typography — these were lost when the layout block was replaced and
   are restored here: the column headings are micro-labels, not display type. */
.footer__title{font-size:clamp(1.375rem,2.2vw,1.75rem);color:var(--ink)}
/* .footer__tagline removed 2026-09-02 at the client's request. */
.footer__heading{
  font-size:var(--fs-xs);letter-spacing:var(--tr-label);text-transform:uppercase;
  font-weight:var(--fw-semi);color:var(--muted);margin-block-end:var(--s-4);
  font-family:var(--ff-body)
}
.footer__list{display:flex;flex-direction:column;gap:12px}
/* Compact list: ~12px between links via the grid/flex row-gap, not tall 44px
   rows — the footer nav now reads as one tight group. Inline text links are
   exempt from the 24px target minimum, so the small padding is comfort only. */
.footer__list a{
  display:inline-flex;align-items:center;padding-block:1px;line-height:1.45;
  font-size:var(--fs-sm);color:var(--muted);text-decoration:none
}
.footer__list a:hover{color:var(--ink)}

/* the signup: field and button on one line, both on the footer's ground */
.signup{display:flex;flex-wrap:wrap;gap:var(--s-3);margin-block-start:var(--s-5)}
.signup input{
  flex:1 1 240px;min-height:50px;padding:var(--s-3) var(--s-5);
  background:color-mix(in srgb,var(--white) 6%,transparent);color:var(--on-deep);
  font-family:var(--ff-body);font-size:var(--fs-sm);
  border:1px solid color-mix(in srgb,var(--sand) 42%,transparent);border-radius:var(--r-sm)
}
.signup input::placeholder{color:var(--on-deep-2)}
.signup .btn{flex:0 0 auto}

.footer__bottom{
  display:flex;flex-wrap:wrap;gap:var(--s-4) var(--s-6);align-items:center;
  justify-content:space-between;padding-block:var(--s-5);
  /* the client's reference keeps one thin rule above the legal row */
  border-block-start:1px solid var(--line-2)
}
.footer__bottom p,.footer__legal a{font-size:var(--fs-xs);color:var(--muted)}
.footer__legal{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-5)}
/* The old Follow column, now three icon links at the end of the legal bar. The
   44px target is kept; only the label went from text to an accessible name. */
.footer__socials{
  display:flex;align-items:center;gap:var(--s-2);
  list-style:none;margin:0;padding:0
}
.footer__socials a{
  display:grid;place-items:center;width:44px;height:44px;
  color:var(--on-deep-2);border-radius:50%;
  transition:color var(--dur) var(--ease),background var(--dur) var(--ease)
}
.footer__socials svg{width:18px;height:18px}
.footer__socials a:hover{color:var(--on-deep);background:color-mix(in srgb,var(--sand) 10%,transparent)}
.footer__legal a{
  display:inline-flex;align-items:center;min-height:44px;text-decoration:none
}
.footer__legal a:hover{color:var(--ink)}
/* NOTE 2026-09-10: the rules from here to .footer__follow-list — .footer__nap,
   .footer__socials, .footer__title — have NO markup in this build; they are
   carry-over from the other line, and their colours are still written for the
   dark footer this one used to have. If any of that markup is re-added, its
   type needs re-grounding to --muted / --ink first or it will be light on
   light. Left in place rather than deleted because they belong to the other
   line's page. */
/* Contact rows: an icon and a value, aligned on the first line of the value so
   a two-line address still starts beside its pin. */
.footer__nap{list-style:none;margin:0;padding:0;display:grid;gap:var(--s-3)}
.footer__nap li{
  display:flex;align-items:flex-start;gap:10px;
  font-size:var(--fs-sm);line-height:1.5;color:var(--on-deep-2);
  /* An email address is one unbreakable token. At 390 its min-content width
     was pushing the footer's grid track 26px wider than the footer itself,
     which showed up as document overflow. */
  overflow-wrap:anywhere
}
.footer__nap svg{
  width:15px;height:15px;flex:0 0 auto;margin-block-start:4px;color:var(--on-accent-2)
}
/* Follow: stacked icon + label links, aligned to the same 12px rhythm as the
   Quick Links list so the whole 70% block shares one vertical grid. */
.footer__follow-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.footer__follow-list a{
  display:inline-flex;align-items:center;gap:10px;padding-block:1px;
  font-size:var(--fs-sm);line-height:1.45;color:var(--muted);text-decoration:none
}
.footer__follow-list a:hover{color:var(--ink)}
.footer__follow-list a span {display: block;line-height: 1;}
/* The client's own brand marks replace the drawn glyphs (2026-09-16). They are
   solid single-colour artwork, so they take the link's colour and only need
   sizing. Moved here from pages.css on 2026-09-21: the footer is shared markup
   lifted onto every page, but index.html does not load pages.css - so the
   homepage was rendering these two pixels smaller than every other page.
   ANYTHING styling the shared header, footer or CTA band belongs in THIS file. */
.footer__follow-list svg{
  width:18px;height:18px;flex:0 0 auto;color:var(--accent);fill:currentColor
}
/* The footer mark is a link, so it needs a focus target and a radius. Same
   reason as above: it lives here, not in pages.css. */
.footer__home{display:inline-block;text-decoration:none;border-radius:var(--r-sm)}
/* The same colour mark the header carries (client, 2026-09-10), nudged down a
   hair so its wordmark cap-line sits on the QUICK LINKS / FOLLOW TROY baseline.
   It is the tagline-free crop, so "SAFETY IS A BYPRODUCT" is no longer set
   anywhere on the page — logo-horizontal.png is the colour mark WITH the
   tagline if that should come back here. */
.footer__logo{width:clamp(240px,25vw,300px);margin-block-start:3px}

/* -------------------------------------------------------------------- motion ---
   One vocabulary, used everywhere: a 4px rise, a 1.03 media zoom, and a rule or
   arrow that extends. Nothing spins except the play ring and the marquees. All
   of it is switched off by the reduced-motion block at the foot of this file. */
.point{transition:transform var(--dur-slow) var(--ease),box-shadow var(--dur-slow) var(--ease)}
.point:hover{transform:translateY(-4px);box-shadow:var(--sh);z-index:1}


/* No hover transform on the pill: it is positioned with translateY(-50%) to sit
   on the card's border, and a hover transform replaces that outright — which
   dropped it by half its own height. */
.pill{transition:box-shadow var(--dur) var(--ease)}

.video-frame{transition:box-shadow var(--dur-slow) var(--ease)}
.video-frame:hover{box-shadow:var(--sh-lift)}
.video-frame img{transition:transform 900ms var(--ease)}
.video-frame:hover img{transform:scale(1.02)}

.collage__img img{transition:transform 900ms var(--ease)}
.collage:hover .collage__img img{transform:scale(1.03)}

.badge{transition:transform var(--dur-slow) var(--ease)}
.collage:hover .badge{transform:translateY(-4px)}


.footer__list a,.footer__legal a{transition:transform var(--dur) var(--ease),color var(--dur) var(--ease)}
.footer__list a:hover{transform:translateX(3px)}


/* -------------------------------------------------------------------- reveal ---
   Gated on html.reveal-ready, which v3.js sets and nothing else does: if the
   script never loads, nothing is ever hidden. */
html.reveal-ready [data-reveal]{opacity:0;transform:translateY(12px)}
html.reveal-ready [data-reveal].is-in{
  opacity:1;transform:none;
  transition:opacity var(--dur-slow) var(--ease),transform var(--dur-slow) var(--ease)
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important}
  html.reveal-ready [data-reveal]{opacity:1;transform:none}
  /* nothing moves on hover either */
  .point:hover,.collage:hover .badge,.footer__list a:hover,
  .res:hover .pill{transform:none}
  .video-frame:hover img,
  .collage:hover .collage__img img,.card:hover .card__media img{transform:none}
  .topic:hover .topic__mark{transform:none}
}

/* ------------------------------------------------- blurb — blurred burgundy corner glows ---
   Very light radial washes of the brand burgundy, pinned to corners of a few
   sections. Purely decorative; z-index:-1 keeps them behind all content.  */
.blurb{
  position:absolute;z-index:-1;pointer-events:none;
  width:clamp(280px,28vw,480px);aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,color-mix(in srgb,var(--accent) 13%,transparent) 0%,color-mix(in srgb,var(--accent) 7%,transparent) 40%,color-mix(in srgb,var(--accent) 0%,transparent) 72%);
  filter:blur(48px)
}
.blurb--tl{top:-12%;left:-8%}
.blurb--tr{top:-10%;right:-8%}
.blurb--bl{bottom:-10%;left:-6%}
.blurb--br{bottom:-12%;right:-8%}

/* ----------------------------------------------- combined intro section ---
   The merged "What Troy Does" + "Meet Troy" block. The four-ways columns run
   at the top, then a ruled divider, then the split portrait block below.
   Same pattern-facts texture carries across both sub-blocks.             */
.combined-intro{overflow:clip;overflow-clip-margin:var(--lift-room)}
.meet-split{
  margin-block-start:clamp(var(--s-8),6vw,var(--s-9));
  padding-block-start:clamp(var(--s-7),5vw,var(--s-8));
  border-block-start:1px solid var(--line)
}
/* Within the combined section the collage doesn't need extra bottom padding
   because the section already provides it. */
.combined-collage{padding:0}
.glow--gold{background:radial-gradient(circle,color-mix(in srgb,var(--accent) 7%,transparent),color-mix(in srgb,var(--accent) 0%,transparent) 72%);filter:blur(2px)}

/* ----------------------------------------------- Work With Troy drift mask ---
   A different set of ellipses to the Insights drift, rotated so the two
   sections never look the same. */
.pattern--drift-engage::before{
  opacity:.35;  /* halved twice 2026-09-01, then +5 points twice on 2026-09-02 */
  --m1:radial-gradient(ellipse 42% 50% at 92% 18%,color-mix(in srgb,var(--black) 90%,transparent) 0%,transparent 72%);
  --m2:radial-gradient(ellipse 32% 44% at 12% 72%,color-mix(in srgb,var(--black) 60%,transparent) 0%,transparent 70%);
  --m3:radial-gradient(ellipse 40% 56% at 56% 90%,color-mix(in srgb,var(--black) 75%,transparent) 0%,transparent 74%);
  --m4:radial-gradient(ellipse 28% 32% at 34% 6%,color-mix(in srgb,var(--black) 40%,transparent) 0%,transparent 68%);
  --m5:radial-gradient(ellipse 36% 38% at 78% 54%,color-mix(in srgb,var(--black) 65%,transparent) 0%,transparent 70%);
  -webkit-mask-image:var(--m1),var(--m2),var(--m3),var(--m4),var(--m5);
  mask-image:var(--m1),var(--m2),var(--m3),var(--m4),var(--m5);
  -webkit-mask-composite:source-over;
  mask-composite:add;
  /* one ellipse blooms while another dies away — see pattern-cycle */
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:92% 18%, 12% 72%, 56% 90%, 34% 6%, 78% 54%;mask-position:92% 18%, 12% 72%, 56% 90%, 34% 6%, 78% 54%;
  animation:pattern-cycle-5 14s linear infinite
}
/* ----------------------------------------------- Resources drift mask ---
   A third unique set of ellipses so Resources has its own randomised texture. */
.pattern--drift-res::before{
  opacity:.35;  /* halved twice 2026-09-01, then +5 points twice on 2026-09-02 */
  --m1:radial-gradient(ellipse 36% 48% at 18% 22%,color-mix(in srgb,var(--black) 88%,transparent) 0%,transparent 72%);
  --m2:radial-gradient(ellipse 44% 36% at 80% 78%,color-mix(in srgb,var(--black) 55%,transparent) 0%,transparent 70%);
  --m3:radial-gradient(ellipse 30% 52% at 62% 14%,color-mix(in srgb,var(--black) 80%,transparent) 0%,transparent 74%);
  --m4:radial-gradient(ellipse 24% 34% at 6% 88%,color-mix(in srgb,var(--black) 45%,transparent) 0%,transparent 68%);
  --m5:radial-gradient(ellipse 38% 30% at 90% 40%,color-mix(in srgb,var(--black) 70%,transparent) 0%,transparent 70%);
  -webkit-mask-image:var(--m1),var(--m2),var(--m3),var(--m4),var(--m5);
  mask-image:var(--m1),var(--m2),var(--m3),var(--m4),var(--m5);
  -webkit-mask-composite:source-over;
  mask-composite:add;
  /* one ellipse blooms while another dies away — see pattern-cycle */
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:18% 22%, 80% 78%, 62% 14%, 6% 88%, 90% 40%;mask-position:18% 22%, 80% 78%, 62% 14%, 6% 88%, 90% 40%;
  animation:pattern-cycle-5 10s linear infinite
}


/* ------------------------------------------------- pattern cycle ---
   The client asked for the pattern to "show and go away, then show some
   other place". Each ellipse of the density map now scales about its own
   centre from nothing to full and back, on its own phase of the cycle, so a
   patch of grid fades up in one corner, dies away, and another opens
   somewhere else. Positioning each layer at its own centre is what makes it
   bloom in place rather than grow out of the top-left corner, and the
   envelope wraps (0% == 100%) so the loop has no seam. */
@keyframes pattern-cycle-5{
  0%{-webkit-mask-size:96% 96%, 0% 0%, 0% 0%, 0% 0%, 96% 96%;mask-size:96% 96%, 0% 0%, 0% 0%, 0% 0%, 96% 96%}
  10%{-webkit-mask-size:160% 160%, 32% 32%, 0% 0%, 0% 0%, 32% 32%;mask-size:160% 160%, 32% 32%, 0% 0%, 0% 0%, 32% 32%}
  20%{-webkit-mask-size:96% 96%, 96% 96%, 0% 0%, 0% 0%, 0% 0%;mask-size:96% 96%, 96% 96%, 0% 0%, 0% 0%, 0% 0%}
  30%{-webkit-mask-size:32% 32%, 160% 160%, 32% 32%, 0% 0%, 0% 0%;mask-size:32% 32%, 160% 160%, 32% 32%, 0% 0%, 0% 0%}
  40%{-webkit-mask-size:0% 0%, 96% 96%, 96% 96%, 0% 0%, 0% 0%;mask-size:0% 0%, 96% 96%, 96% 96%, 0% 0%, 0% 0%}
  50%{-webkit-mask-size:0% 0%, 32% 32%, 160% 160%, 32% 32%, 0% 0%;mask-size:0% 0%, 32% 32%, 160% 160%, 32% 32%, 0% 0%}
  60%{-webkit-mask-size:0% 0%, 0% 0%, 96% 96%, 96% 96%, 0% 0%;mask-size:0% 0%, 0% 0%, 96% 96%, 96% 96%, 0% 0%}
  70%{-webkit-mask-size:0% 0%, 0% 0%, 32% 32%, 160% 160%, 32% 32%;mask-size:0% 0%, 0% 0%, 32% 32%, 160% 160%, 32% 32%}
  80%{-webkit-mask-size:0% 0%, 0% 0%, 0% 0%, 96% 96%, 96% 96%;mask-size:0% 0%, 0% 0%, 0% 0%, 96% 96%, 96% 96%}
  90%{-webkit-mask-size:32% 32%, 0% 0%, 0% 0%, 32% 32%, 160% 160%;mask-size:32% 32%, 0% 0%, 0% 0%, 32% 32%, 160% 160%}
  100%{-webkit-mask-size:96% 96%, 0% 0%, 0% 0%, 0% 0%, 96% 96%;mask-size:96% 96%, 0% 0%, 0% 0%, 0% 0%, 96% 96%}
}
@keyframes pattern-cycle-4{
  0%{-webkit-mask-size:83% 83%, 0% 0%, 0% 0%, 77% 77%;mask-size:83% 83%, 0% 0%, 0% 0%, 77% 77%}
  10%{-webkit-mask-size:147% 147%, 0% 0%, 0% 0%, 13% 13%;mask-size:147% 147%, 0% 0%, 0% 0%, 13% 13%}
  20%{-webkit-mask-size:109% 109%, 51% 51%, 0% 0%, 0% 0%;mask-size:109% 109%, 51% 51%, 0% 0%, 0% 0%}
  30%{-webkit-mask-size:45% 45%, 115% 115%, 0% 0%, 0% 0%;mask-size:45% 45%, 115% 115%, 0% 0%, 0% 0%}
  40%{-webkit-mask-size:0% 0%, 141% 141%, 19% 19%, 0% 0%;mask-size:0% 0%, 141% 141%, 19% 19%, 0% 0%}
  50%{-webkit-mask-size:0% 0%, 77% 77%, 83% 83%, 0% 0%;mask-size:0% 0%, 77% 77%, 83% 83%, 0% 0%}
  60%{-webkit-mask-size:0% 0%, 13% 13%, 147% 147%, 0% 0%;mask-size:0% 0%, 13% 13%, 147% 147%, 0% 0%}
  70%{-webkit-mask-size:0% 0%, 0% 0%, 109% 109%, 51% 51%;mask-size:0% 0%, 0% 0%, 109% 109%, 51% 51%}
  80%{-webkit-mask-size:0% 0%, 0% 0%, 45% 45%, 115% 115%;mask-size:0% 0%, 0% 0%, 45% 45%, 115% 115%}
  90%{-webkit-mask-size:19% 19%, 0% 0%, 0% 0%, 141% 141%;mask-size:19% 19%, 0% 0%, 0% 0%, 141% 141%}
  100%{-webkit-mask-size:83% 83%, 0% 0%, 0% 0%, 77% 77%;mask-size:83% 83%, 0% 0%, 0% 0%, 77% 77%}
}


/* Testimonial sections, site-wide (client, 2026-10-06): the "In Their Words"
   heading drops from the display h2 to the standard section-heading size. */
.testi-sec .head h2{font-size:clamp(1.75rem,3.4vw,44px)}

/* ============================ INSIGHT RAIL NAV (client, 2026-10-07) =====
   Side arrows over the rail and pill dots under it, in place of the slider
   bar. The native scrollbar stays hidden; touch and trackpad still swipe. */
.cards--rail{scrollbar-width:none}
.cards--rail::-webkit-scrollbar{display:none}
.rail-shell{position:relative}
.rail-arrow{
  position:absolute;z-index:3;top:50%;transform:translateY(-50%);
  display:grid;place-items:center;width:48px;height:48px;padding:0;
  border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);
  box-shadow:0 6px 18px color-mix(in srgb,var(--deep) 14%,transparent);cursor:pointer;
  transition:background var(--dur) var(--ease),color var(--dur) var(--ease),opacity var(--dur) var(--ease)
}
.rail-arrow svg{width:18px;height:18px}
.rail-arrow:hover{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.rail-arrow:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.rail-arrow[disabled]{opacity:0;pointer-events:none}
.rail-arrow--prev{left:max(4px,calc((100% - var(--wrap)) / 2 + var(--gutter) - 24px))}
.rail-arrow--next{right:max(4px,calc((100% - var(--wrap)) / 2 + var(--gutter) - 24px))}
.rail-dots{display:flex;justify-content:center;align-items:center;gap:10px;
  margin-block-start:clamp(var(--s-6),3vw,var(--s-7))}
.rail-dots[hidden]{display:none}
.rail-dot{
  width:10px;height:10px;padding:0;border:0;border-radius:99px;
  background:var(--line-fn);opacity:.45;cursor:pointer;
  transition:width var(--dur) var(--ease),background var(--dur) var(--ease),opacity var(--dur) var(--ease)
}
.rail-dot:hover{opacity:.8}
.rail-dot[aria-current="true"]{width:28px;background:var(--accent);opacity:1}
.rail-dot:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media (max-width:620px){.rail-arrow{width:40px;height:40px}}
