/* ==========================================================================
   LeapHL Equity — Design System
   Palette: obsidian + ivory, with the LeapHL gold as the single accent.
   Type: Cormorant Garamond (display) + Inter (text).
   ========================================================================== */

:root {
  /* Colour tokens */
  /* Warm neutral ramp. Same L* values as the previous cool set (2.8 / 5.1 /
     8.4 / 13.9 / …) so contrast and the value ladder are unchanged — only the
     temperature moves, so the gold sits inside the family instead of clashing
     with a blue-biased black. */
  --ink: #0a0908;
  --obsidian: #12100d;
  --charcoal: #1a1713;
  --graphite: #262118;
  --slate: #3c362c;
  --mist: #8e887c;
  --fog: #bdb6a9;
  --ivory: #f6f2ea;      /* L* 95.6 */
  --parchment: #efe9dd;  /* L* 92.5 */
  --stone: #e2d9c7;      /* L* 87.0 — the missing middle register */
  --sand: #cdc2ab;       /* L* 79 — deepest warm neutral, for edges and rules */
  --white: #ffffff;

  --gold: #c9a24d;
  --gold-light: #e8d088;
  --gold-deep: #b07830;
  --gold-soft: rgba(201, 162, 77, 0.14);
  --gold-ink: #735a23;       /* AA on all three light surfaces: 5.85 / 5.40 / 4.66 */
  --gold-ink-deep: #6d5520;  /* extra headroom on the stone surface */
  --gold-line: rgba(201, 162, 77, 0.35);
  --gold-gradient: linear-gradient(105deg, #b07830 0%, #d8b060 45%, #e8d088 70%, #c9a24d 100%);

  /* Semantic */
  --bg: var(--ink);
  --bg-elev: var(--obsidian);
  --fg: var(--ivory);
  --fg-muted: var(--mist);
  --line: rgba(255, 255, 255, 0.09);

  /* Type */
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-eyebrow: 0.72rem;
  --fs-small: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --fs-h3: clamp(1.45rem, 1.3rem + 0.6vw, 1.78rem);   /* every card/step/post title */
  --fs-h3-lead: clamp(1.6rem, 1.35rem + 1vw, 2.15rem); /* the one tier that outranks it */

  /* Two tracking tokens instead of ten near-identical values on labels that all
     render between 9 and 14px, where the differences read as inconsistency. */
  --track-ui: 0.14em;
  --track-marker: 0.22em;
  --fs-h2: clamp(2.25rem, 1.6rem + 2.4vw, 4rem);
  --fs-h1: clamp(2.75rem, 1.4rem + 5vw, 6.25rem);
  --fs-stat: clamp(2.4rem, 1.4rem + 2.4vw, 3.9rem);

  /* Layout */
  --container: 1280px;
  --container-wide: 1440px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5rem, 8vw, 9rem);
  --radius: 0;   /* one corner language; 2px reads as a mushy corner at 2x DPR */

  /* Elevation — warm-tinted, never neutral grey, so it sits in the palette */
  --shadow-rest: 0 1px 2px rgba(42, 32, 14, 0.04), 0 12px 28px -20px rgba(42, 32, 14, 0.22);
  --shadow-lift: 0 2px 4px rgba(42, 32, 14, 0.05), 0 22px 46px -26px rgba(42, 32, 14, 0.32);
  --shadow-dark-rest: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 34px -24px rgba(0, 0, 0, 0.75);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 104px; }
:target { scroll-margin-top: 104px; }
@media (max-width: 899px) { html { scroll-padding-top: 88px; } :target { scroll-margin-top: 88px; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* `clip` contains horizontal overflow without creating a scroll container, so
   position:sticky keeps working. `hidden` on body silently killed every sticky
   element on the site. */
html { overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
.drawer { overflow: hidden; }   /* the only element that actually overflows */
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
figure, blockquote, dl, dd { margin: 0; }  /* UA defaults were showing grid backgrounds through figure's 40px margin */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.theme-light :focus-visible, .theme-parchment :focus-visible, .theme-stone :focus-visible { outline-color: var(--ink); }
::selection { background: var(--gold); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--wide { width: min(100% - 2 * var(--gutter), var(--container-wide)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; z-index: 1000; font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 1rem; }

.eyebrow {
  position: relative; display: inline-block;
  font-size: var(--fs-eyebrow); letter-spacing: var(--track-marker); text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  margin-right: calc(var(--track-marker) * -1);   /* absorb the trailing letterspace */
}
/* The rule hangs into the gutter so the eyebrow's cap-line and the headline's
   cap-line share one left edge, instead of the label being indented 44px off
   the thing it labels — which happened at every section head. */
@media (min-width: 1100px) {
  .eyebrow::before { position: absolute; left: -2.75rem; top: 0.52em; }
}
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 2rem; height: 1px; margin-right: 0.75rem; background: var(--gold); opacity: 0.8; }
.eyebrow--plain::before { display: none; }
@media (max-width: 1099px) { .eyebrow::before { width: 1.5rem; } }

.display {
  font-family: var(--font-display); font-weight: 500;
  line-height: 1.06; letter-spacing: -0.008em;
  /* Cormorant is a high-contrast Garalde: ask for the ligatures and old-style
     figures it actually ships with, and let the browser balance the rag. */
  font-feature-settings: "kern" 1, "liga" 1, "dlig" 1;
  font-variant-numeric: oldstyle-nums proportional-nums;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.h2, .h3, .card h3, .step h3, .post h3, .audience-item h3,
.pillar h3, .person h3, .path h3, .value h3, .acc-trigger { text-wrap: balance; }
p, .lead, .card p, .step p, .post p { text-wrap: pretty; }
/* Tabular figures only where numerals must line up in a column. */
.pc-meta dd, .criteria-row dd, .stat-value { font-variant-numeric: tabular-nums; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--fg-muted); font-weight: 300; }
.muted { color: var(--fg-muted); }
.gold { color: var(--gold); }
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.em { font-style: italic; font-weight: 400; }
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .gold-text { background: none; color: var(--gold); }
}
@media (forced-colors: active) {
  .gold-text { background: none; color: CanvasText; forced-color-adjust: none; }
  .btn { forced-color-adjust: auto; }
}
.small { font-size: var(--fs-small); }
.measure { max-width: 62ch; }
.measure-wide { max-width: 78ch; }
.center { text-align: center; margin-inline: auto; }

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(3rem, 5vw, 5rem); }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; }
  .section-head--split .lead { padding-bottom: 0.5rem; }
}

/* Light theme surfaces */
.theme-light,
.theme-parchment,
.theme-stone {
  --bg: var(--ivory);
  --bg-elev: var(--white);
  --fg: var(--ink);
  --fg-muted: #55504a;   /* warm body grey; AA on all three light surfaces */
  --line: rgba(10, 10, 11, 0.12);
  --accent: var(--gold-ink);
  background: var(--bg); color: var(--fg);
}
.theme-parchment { --bg: var(--parchment); --bg-elev: var(--ivory); }
.theme-stone {
  --bg: var(--stone); --bg-elev: var(--parchment);
  --accent: var(--gold-ink-deep);
  --line: rgba(10, 10, 11, 0.16);
}
.theme-dark { --accent: var(--gold); background: var(--ink); color: var(--ivory); }
.theme-charcoal { --bg: var(--charcoal); --bg-elev: var(--graphite); --accent: var(--gold); background: var(--charcoal); color: var(--ivory); }

/* Gold reads as gold on black but computes to 2.15:1 on cream, so every piece of
   small gold text on a light surface switches to the darker --accent. Decorative
   gold hairlines and icons are exempt from contrast rules and keep the brand hue. */
.theme-light, .theme-parchment, .theme-stone { }
.theme-light .eyebrow, .theme-parchment .eyebrow, .theme-stone .eyebrow,
.theme-light .gold, .theme-parchment .gold, .theme-stone .gold,
.theme-light .btn--text, .theme-parchment .btn--text, .theme-stone .btn--text,
.theme-light .card-index, .theme-parchment .card-index, .theme-stone .card-index,
.theme-light .stat-label, .theme-parchment .stat-label, .theme-stone .stat-label,
.theme-light .pillar-num, .theme-parchment .pillar-num, .theme-stone .pillar-num,
.theme-light .post-meta span, .theme-parchment .post-meta span, .theme-stone .post-meta span,
.theme-light .person-role, .theme-parchment .person-role, .theme-stone .person-role,
.theme-light .criteria-row dt, .theme-parchment .criteria-row dt, .theme-stone .criteria-row dt,
.theme-light .value-num, .theme-parchment .value-num, .theme-stone .value-num,
.theme-light .tl-when, .theme-parchment .tl-when, .theme-stone .tl-when,
.theme-light .pc-meta dt, .theme-parchment .pc-meta dt, .theme-stone .pc-meta dt,
.theme-light .step::before, .theme-parchment .step::before, .theme-stone .step::before,
.theme-light .acc-trigger .plus, .theme-parchment .acc-trigger .plus { color: var(--accent); }

/* Micro-caps on light surfaces were --mist #8d8d97 at 2.90:1. */
.theme-light .step-phase, .theme-parchment .step-phase, .theme-stone .step-phase,
.theme-light .breadcrumb, .theme-parchment .breadcrumb,
.theme-light .filters-label, .theme-parchment .filters-label { color: #55504a; }

/* Surface texture — reuses the grain data-URI that was previously hero-only.
   `overlay` is correct on dark grounds; on light grounds it blows out, so the
   light surfaces use `multiply` at a much lower opacity. */
.section { isolation: isolate; }
.theme-light::after, .theme-parchment::after, .theme-stone::after,
.theme-dark::after, .theme-charcoal::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.theme-light::after, .theme-parchment::after, .theme-stone::after { opacity: 0.032; mix-blend-mode: multiply; }
.theme-dark::after, .theme-charcoal::after { opacity: 0.055; mix-blend-mode: overlay; }
.section > .container, .section > .container--wide { position: relative; z-index: 1; }

/* Architectural line grid for the dark bands, so they differ by treatment
   rather than by eight points of lightness. */
.theme-dark.section::before, .theme-charcoal.section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(80% 70% at 70% 30%, #000 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000 10%, transparent 100%);
}

/* Hairline dividers */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule--gold { background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.6; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-border: currentColor;
  position: relative; display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.95rem 1.6rem; min-height: 48px;
  font-size: 0.8rem; letter-spacing: var(--track-ui); text-transform: uppercase; font-weight: 600;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-border); border-radius: var(--radius);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  isolation: isolate; overflow: hidden; cursor: pointer;
}
.btn .arrow { width: 1rem; height: 1rem; transition: transform 0.35s var(--ease); flex: none; }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-border: var(--gold); }
.btn--gold::before {
  content: ""; position: absolute; inset: 0; background: var(--gold-gradient);
  opacity: 0; transition: opacity 0.35s var(--ease); z-index: -1;
}
.btn--gold:hover::before { opacity: 1; }
.btn--gold:hover { box-shadow: 0 12px 32px -12px rgba(201, 162, 77, 0.55); }

.btn--outline { --btn-border: rgba(255, 255, 255, 0.35); }
.btn--outline:hover { --btn-border: var(--gold); color: var(--gold); }
.theme-light .btn--outline { --btn-border: rgba(10, 10, 11, 0.35); }
.theme-light .btn--outline:hover { --btn-border: var(--ink); background: var(--ink); color: var(--ivory); }

.btn--text {
  padding: 0; border: 0; min-height: 0; gap: 0.6rem;
  color: var(--gold);
}
.btn--text::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0.35); transform-origin: left; transition: transform 0.4s var(--ease);
}
.btn--text:hover::after { transform: scaleX(1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease), transform 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.site-header.is-hidden { transform: translateY(-100%); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  height: 88px;
}
.brand { display: inline-flex; align-items: center; gap: 0.85rem; color: var(--ivory); }
.brand svg { height: 34px; width: auto; }
.brand img { height: 40px; width: auto; }
.site-footer .brand img { height: 48px; }
.brand-word { font-family: var(--font-text); font-size: 0.95rem; letter-spacing: 0.34em; text-transform: uppercase; font-weight: 500; line-height: 1; margin-right: -0.34em; }
.brand-word b { font-weight: 600; color: var(--gold); }
.brand-sub { display: block; font-size: 0.58rem; letter-spacing: 0.42em; color: var(--fog); margin-top: 0.35rem; font-weight: 500; margin-right: -0.42em; }

.nav-links { display: none; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.5rem); }
.nav-links a {
  position: relative; font-size: 0.78rem; letter-spacing: var(--track-ui); text-transform: uppercase; font-weight: 500;
  color: var(--fog); padding: 0.5rem 0; transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ivory); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-actions .btn { padding: 0.7rem 1.15rem; min-height: 42px; font-size: 0.7rem; }
.nav-login { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 48px; height: 48px; padding: 10px; margin-right: -10px;
}
.nav-toggle span { display: block; height: 1.5px; width: 100%; background: var(--ivory); transition: transform 0.4s var(--ease), opacity 0.3s, width 0.4s var(--ease); transform-origin: center; }
.nav-toggle span:nth-child(2) { width: 70%; align-self: flex-end; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-login { display: inline-flex; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90; background: var(--ink);
  display: grid; align-content: center; padding: 6rem var(--gutter) 3rem;
  transform: translateY(-100%); transition: transform 0.6s var(--ease); visibility: hidden;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer ul { display: grid; gap: 0.25rem; }
.drawer ul a {
  display: block; padding: 0.9rem 0; font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3rem); line-height: 1.1;
  border-bottom: 1px solid var(--line); color: var(--ivory);
}
.drawer ul a[aria-current="page"] { color: var(--gold); }
.drawer .drawer-foot { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.drawer .drawer-foot p { color: var(--mist); font-size: var(--fs-small); }
.drawer-bg { position: absolute; right: -10%; bottom: -10%; width: 70vw; max-width: 600px; opacity: 0.08; pointer-events: none; }
@media (min-width: 1024px) { .drawer { display: none; } }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto;
  padding-top: 88px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(110% 70% at 85% 15%, rgba(201, 162, 77, 0.10), transparent 60%),
    radial-gradient(80% 60% at 0% 100%, rgba(176, 120, 48, 0.10), transparent 55%),
    linear-gradient(180deg, #100d0a 0%, #0a0908 55%, #0a0908 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.55; filter: saturate(0.6) contrast(1.05); }
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0) 22%, rgba(10,10,11,0) 70%, rgba(10,10,11,0.85) 100%),
    radial-gradient(120% 100% at 50% 50%, transparent 55%, rgba(10,10,11,0.55) 100%);
}
.hero .grain { display: none; }  /* baked into the hero canvas backdrop instead */
.hero-watermark {
  position: absolute; z-index: 1; right: -4%; top: 50%; width: clamp(360px, 44vw, 760px); height: auto;
  transform: translateY(-56%); opacity: 0.14; pointer-events: none;
  animation: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
}
@keyframes float { 0%, 100% { transform: translateY(-56%) rotate(0deg); } 50% { transform: translateY(-52%) rotate(-1deg); } }

.hero-inner { position: relative; z-index: 3; display: grid; align-items: center; padding-block: clamp(2rem, 4vh, 3.5rem) clamp(1.5rem, 3vh, 2.5rem); }
.hero-main { display: grid; gap: clamp(1.25rem, 2.6vh, 2rem); max-width: 68rem; }
.hero-title { max-width: 14ch; font-size: clamp(2.9rem, 1rem + 5.6vw, 6.6rem); letter-spacing: -0.012em; line-height: 1.0; }
.hero-title .line {
  display: block; overflow: hidden;
  /* The mask that makes the lines rise also clips whatever sits outside it.
     Cormorant's descender runs about 0.26em, so 0.06em of clearance was cutting
     the g in "great" and grazing the p in "leap." Open the box past the
     descender depth, and give the ascenders headroom too, then pull the extra
     space back with equal negative margins so the line rhythm is unchanged. */
  padding: 0.10em 0 0.30em; margin: -0.10em 0 -0.30em;
}
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.2s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes rise { to { transform: translateY(0); } }
.hero .lead { color: var(--fog); max-width: 36rem; font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); }
.hero .btn-row { gap: 1.25rem; }
.hero .btn--outline { --btn-border: rgba(255,255,255,0.28); background: rgba(255,255,255,0.045); }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) 0.5s forwards; }
.fade-up.delay-1 { animation-delay: 0.7s; }
.fade-up.delay-2 { animation-delay: 0.9s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Parameter bar along the bottom of the hero */
.hero-bar { position: relative; z-index: 3; border-top: 1px solid rgba(255,255,255,0.1); background: linear-gradient(180deg, rgba(10,10,11,0.72), rgba(10,10,11,0.94)); }
.hero-bar-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2rem; padding-block: 1.35rem; }
.hero-bar-item { display: grid; gap: 0.2rem; font-size: 0.78rem; color: var(--mist); position: relative; padding-left: 1rem; }
.hero-bar-item::before { content: ""; position: absolute; left: 0; top: 0.35rem; width: 1px; height: 2.2rem; background: linear-gradient(var(--gold), transparent); }
.hero-bar-item strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--ivory); letter-spacing: 0.01em; line-height: 1.1; }
.hero-bar-item strong .unit { font-size: 0.7em; color: var(--gold); }
.hero-bar-cue { display: none; align-items: center; justify-content: flex-end; gap: 0.9rem; font-size: 0.66rem; letter-spacing: var(--track-marker); text-transform: uppercase; color: var(--mist); }
.hero-bar-cue::after { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); animation: cueX 2.4s ease-in-out infinite; }
@keyframes cueX { 0%, 100% { transform: scaleX(0.4); transform-origin: left; opacity: 0.4; } 50% { transform: scaleX(1); opacity: 1; } }
@media (min-width: 900px) {
  .hero-bar-inner {
    grid-template-columns: repeat(4, 1fr) auto;
    /* two shared rows so a wrapping label can never push its own sub-label
       out of line with the other three */
    grid-template-rows: auto auto;
    align-items: start; padding-block: 1.6rem;
  }
  .hero-bar-item { grid-row: span 2; grid-template-rows: subgrid; row-gap: 0.2rem; }
  .hero-bar-cue { display: flex; grid-row: span 2; align-self: center; }
}
@supports not (grid-template-rows: subgrid) {
  @media (min-width: 900px) { .hero-bar-item strong { min-height: 2.4em; } }
}
@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero-inner { align-items: start; padding-block: 1.75rem 3rem; }
  .hero-watermark { right: -30%; top: 38%; width: 120vw; opacity: 0.06; }
  .hero-canvas { opacity: 0.75; }
}
.scroll-cue { display: none; }

/* Page hero (interior pages) */
.page-hero {
  position: relative; padding-top: calc(88px + clamp(4rem, 8vw, 8rem)); padding-bottom: clamp(3rem, 6vw, 6rem);
  background: radial-gradient(90% 70% at 90% 0%, rgba(201, 162, 77, 0.12), transparent 60%), var(--ink);
  overflow: hidden;
}
/* Decorative arc artwork (interior page heroes) and grain overlay */
.hero-art { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .arc { fill: none; stroke: url(#arcGrad); stroke-width: 1.2; stroke-linecap: round; opacity: 0.9; }
.hero-art .arc--thin { stroke-width: 0.6; opacity: 0.55; }
.hero-art .arc--glow { stroke-width: 6; opacity: 0.12; filter: blur(6px); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 96px 96px; mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 100%); -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 100%); opacity: 0.6; }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.page-hero .hero-art { opacity: 0.9; }
.page-hero-inner { position: relative; z-index: 2; display: grid; gap: 1.75rem; }
.page-hero .h1 { max-width: 18ch; }
.page-hero .lead { max-width: 48rem; color: var(--fog); }
.breadcrumb { display: flex; gap: 0.75rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span::before { content: "/"; margin-right: 0.75rem; opacity: 0.5; }

/* --------------------------------------------------------------------------
   Statement block
   -------------------------------------------------------------------------- */
.statement { display: grid; gap: 3rem; }
.statement .display { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.6rem); line-height: 1.15; letter-spacing: -0.01em; }
.statement .display em { font-style: italic; color: var(--gold-deep); font-weight: 500; }
.theme-dark .statement .display em, .theme-charcoal .statement .display em { color: var(--gold); }
.pillars { display: grid; gap: 2.25rem; }
.pillar { display: grid; gap: 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pillar-num { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); letter-spacing: 0.1em; }
.pillar h3 { font-size: 1.2rem; font-weight: 600; font-family: var(--font-text); letter-spacing: -0.005em; }
.pillar p { color: var(--fg-muted); font-size: 1rem; }
@media (min-width: 900px) {
  .statement { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 5rem; align-items: start; }
  .pillars { grid-template-columns: 1fr; }
}
@media (min-width: 1200px) { .pillars--3 { grid-template-columns: repeat(3, 1fr); } }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 2.25rem 1.5rem; display: grid; gap: 0.4rem; border-right: 1px solid var(--line); position: relative; }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stat-value { font-family: var(--font-display); font-size: var(--fs-stat); line-height: 1; color: var(--ivory); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.stat-value sup, .stat-value .unit { font-size: 0.45em; vertical-align: super; color: var(--gold); margin-left: 0.15em; font-weight: 500; }
.stat-label { font-size: 0.72rem; letter-spacing: var(--track-marker); text-transform: uppercase; color: var(--gold); font-weight: 500; }
.stat-desc { font-size: var(--fs-small); color: var(--mist); }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 0; }
  .stat { padding: 3rem 2.25rem; }
}
.theme-light .stat-value { color: var(--ink); }

/* --------------------------------------------------------------------------
   Sector cards
   -------------------------------------------------------------------------- */
.card-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card-grid--tiles { gap: 1.25rem; background: none; border: 0; }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; background: var(--bg-elev); padding: 2.5rem 2rem 2.25rem;
  display: grid; gap: 1.25rem;
  /* index · icon · heading · body(slack) · tags — the 1fr row absorbs uneven copy
     length so every card's tag row lands on one shared baseline. */
  grid-template-rows: auto auto auto 1fr auto;
  align-content: stretch; min-height: 340px; overflow: hidden;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.card-grid--tiles .card { border: 1px solid var(--line); box-shadow: var(--shadow-rest); }
.card-grid--tiles .card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.theme-dark .card-grid--tiles .card, .theme-charcoal .card-grid--tiles .card { box-shadow: var(--shadow-dark-rest); }
/* Reserve the tallest heading so all four body paragraphs share one baseline. */
@media (min-width: 700px) {
  /* Reserve the tallest title so every body paragraph starts on one baseline. */
  .card h3 { display: grid; align-content: end; min-height: calc(2 * 1.15em); }
}
.card-grid--4 .card { padding: clamp(2rem, 3vw, 2.75rem); }
.card-grid--4 .card p { max-width: 46ch; }
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold-gradient);
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.card:hover::after { transform: scaleX(1); }
.card-index { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.14em; color: var(--gold); }
.card-icon { width: 44px; height: 44px; color: var(--gold); }
.card-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.2; }
.card h3 { font-family: var(--font-display); font-size: var(--fs-h3-lead); line-height: 1.15; font-weight: 600; }
.card p { color: var(--fg-muted); font-size: 0.98rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-self: end; padding-top: 1.25rem; border-top: 1px solid var(--line); width: 100%; }
.tag { font-size: 0.66rem; letter-spacing: var(--track-marker); text-transform: uppercase; color: var(--fg-muted); padding: 0; border: 0; border-radius: 0; }
.card .btn--text { margin-top: 0.5rem; justify-self: start; }

/* --------------------------------------------------------------------------
   Screen rail — the published disqualifiers.
   A firm with no track record cannot prove what it has done, but it can prove
   what it refuses. A public "no" is costly and therefore credible, which is why
   this is the most load-bearing element on the page.
   -------------------------------------------------------------------------- */
.screen-rail {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  display: grid; gap: 1.5rem; padding-top: clamp(1.75rem, 3vw, 2.5rem);
}
@media (min-width: 1000px) {
  .screen-rail { grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
}
.screen-rail-label {
  font-size: var(--fs-eyebrow); letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; color: var(--fg-muted); white-space: nowrap; padding-top: 0.15rem;
}
.screen-rail-items { display: flex; flex-wrap: wrap; gap: 0.75rem 2.25rem; }
.screen-rail-items li {
  display: inline-flex; align-items: baseline; gap: 0.6rem;
  font-size: 1rem; color: var(--fg);
}
.screen-rail-items li::before {
  content: ""; width: 0.8rem; height: 0.8rem; flex: none; align-self: center;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23735a23' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M3.5 3.5l9 9M12.5 3.5l-9 9'/%3E%3C/svg%3E") no-repeat center / contain;
}
.theme-dark .screen-rail-items li::before, .theme-charcoal .screen-rail-items li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c9a24d' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M3.5 3.5l9 9M12.5 3.5l-9 9'/%3E%3C/svg%3E");
}
.screen-rail-flip {
  grid-column: 1 / -1; margin-top: 0.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.6rem); line-height: 1.35;
  text-wrap: balance; max-width: 54ch;
}
.screen-rail-flip strong { font-style: normal; font-weight: 500; color: var(--accent); }

/* --------------------------------------------------------------------------
   Split (text + visual)
   -------------------------------------------------------------------------- */
.split { display: grid; gap: 3rem; align-items: center; }
.split-visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; margin-inline: auto; }
.split-visual svg { width: 100%; height: 100%; }
.split-copy { display: grid; gap: 1.75rem; }
.split-copy .h2 { max-width: 16ch; }
@media (min-width: 1000px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; }
  .split--reverse .split-visual { order: 2; }
}

.orbit { animation: spin 60s linear infinite; transform-origin: 50% 50%; }
.orbit--reverse { animation-direction: reverse; animation-duration: 90s; }
@keyframes spin { to { transform: rotate(360deg); } }
.pulse { animation: pulse 3.2s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

.check-list { display: grid; gap: 1rem; }
.check-list li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 1rem; align-items: start; color: var(--fg); font-size: 1rem; }
.check-list li::before { content: ""; width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23c9a24d' stroke-width='1.5'%3E%3Cpath d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E") no-repeat center / contain; }
.check-list li span { color: var(--fg-muted); display: block; font-size: var(--fs-small); margin-top: 0.15rem; }
.check-list li strong { font-weight: 600; }
.check-list li span { grid-column: 2; }

/* --------------------------------------------------------------------------
   Framework / Process steps
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 0; counter-reset: step; position: relative; }
.step { position: relative; padding: 2rem 0 2rem 3.5rem; border-top: 1px solid var(--line); display: grid; gap: 0.6rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; left: 0; top: 2.1rem; font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); letter-spacing: 0.1em;
}
.step h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; line-height: 1.15; }
.step p { color: var(--fg-muted); font-size: 0.98rem; }
.step .step-phase { font-size: 0.68rem; letter-spacing: var(--track-marker); text-transform: uppercase; color: var(--mist); }
@media (min-width: 1200px) {
  .steps--row {
    grid-template-columns: repeat(5, 1fr);
    /* counter · phase · heading · body(slack) — shared tracks via subgrid below */
    grid-template-rows: auto auto auto 1fr;
    column-gap: 2.5rem; row-gap: 0.6rem;
  }
  .steps--row .step {
    padding: 2.5rem 0 0 0; border-top: 1px solid var(--line);
    grid-row: span 4; grid-template-rows: subgrid; row-gap: 0.6rem;
  }
  .steps--row .step::before { position: static; margin-bottom: 0; }
  .steps--row .step::after { content: ""; position: absolute; top: -1px; left: 0; width: 36px; height: 3px; background: var(--gold); }
}
/* Below 1200px five columns fall under ~195px and the measure collapses to 28
   characters, so use a 3-up then 2-up arrangement instead. */
@media (min-width: 760px) and (max-width: 1199px) {
  .steps--row { grid-template-columns: repeat(6, 1fr); column-gap: 2rem; row-gap: 2.5rem; }
  .steps--row .step { grid-column: span 2; padding: 2.25rem 0 0 0; border-top: 1px solid var(--line); }
  .steps--row .step:nth-child(4) { grid-column: 2 / span 2; }
  .steps--row .step:nth-child(5) { grid-column: 4 / span 2; }
  .steps--row .step::before { position: static; margin-bottom: 0.25rem; }
  .steps--row .step::after { content: ""; position: absolute; top: -1px; left: 0; width: 36px; height: 3px; background: var(--gold); }
}
@supports not (grid-template-rows: subgrid) {
  @media (min-width: 1200px) {
    .steps--row .step { display: grid; grid-row: auto; grid-template-rows: none; }
    .steps--row .step h3 { min-height: calc(2 * 1.15em); }
    .steps--row .step .step-phase { min-height: 1.4em; }
  }
}

/* --------------------------------------------------------------------------
   The Leap Framework — the page's one pinned set-piece
   -------------------------------------------------------------------------- */
.framework-track { position: relative; }
.framework-stage { position: relative; }

@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  /* The runway gives the sticky stage something to travel against. 215vh leaves
     a little over one extra screen of travel — enough for the arc to draw at a
     readable pace without the section overstaying its welcome. */
  .framework-track { min-height: 215vh; }
  .framework-stage {
    position: sticky; top: 0; min-height: 100svh;
    display: grid; align-content: center; padding-block: 4rem;
  }
  /* Stages rest dim and light as the arc reaches them. */
  .js-framework .steps--row .step {
    opacity: 0.32; transform: translateY(6px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }
  .js-framework .steps--row .step.is-lit { opacity: 1; transform: none; }
  .js-framework .steps--row .step::after { transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease); }
  .js-framework .steps--row .step.is-lit::after { transform: scaleX(1); }
  .js-framework .steps--row .step h3 { transition: color 0.5s var(--ease); }
  .js-framework .steps--row .step.is-lit h3 { color: var(--accent); }
}

/* The drawn arc. stroke-dashoffset is driven from a single custom property so
   the scroll handler only ever writes one value per frame. */
.framework-arc { position: relative; height: 96px; margin: 2.5rem 0 0.5rem; pointer-events: none; }
.framework-arc svg { width: 100%; height: 100%; overflow: visible; }
.framework-arc .arc-base { fill: none; stroke: var(--line); stroke-width: 1; }
.framework-arc .arc-draw {
  fill: none; stroke: url(#fwGrad); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--fw-p, 1));
}
.framework-arc .arc-node { fill: var(--bg); stroke: var(--line); stroke-width: 1; transition: stroke 0.45s var(--ease), fill 0.45s var(--ease); }
.framework-arc .arc-node.is-lit { stroke: var(--gold); fill: var(--gold); }
.framework-arc .arc-head { fill: var(--gold-light); opacity: 0; transition: opacity 0.4s; }
.js-framework .framework-arc .arc-head { opacity: 1; }
@media (max-width: 999px) { .framework-arc { display: none; } }
@media (prefers-reduced-motion: reduce) { .framework-arc { display: none; } }

/* Static fallback: no JS, narrow screens, or reduced motion — everything lit. */
.steps--row .step { opacity: 1; }

/* Timeline (process page) */
.timeline { display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 0.6rem; bottom: 0.6rem; width: 1px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 2.75rem 2.75rem; display: grid; gap: 0.5rem; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--gold); background: var(--bg); }
.tl-item::after { content: ""; position: absolute; left: 4px; top: calc(0.55rem + 4px); width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.tl-item .tl-when { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.tl-item h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.tl-item p { color: var(--fg-muted); max-width: 60ch; }

/* --------------------------------------------------------------------------
   Criteria table (approach)
   -------------------------------------------------------------------------- */
.criteria { display: grid; border-top: 1px solid var(--line); }
.criteria-row { display: grid; grid-template-columns: 1fr; gap: 0.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.criteria-row dt { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.criteria-row dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.9rem); line-height: 1.2; font-weight: 500; }
.criteria-row dd small { display: block; font-family: var(--font-text); font-size: var(--fs-small); color: var(--fg-muted); margin-top: 0.4rem; font-weight: 400; }
@media (min-width: 800px) { .criteria-row { grid-template-columns: 260px 1fr; gap: 2rem; align-items: baseline; padding: 1.85rem 0; } }

.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.list-plain { display: grid; gap: 0.9rem; }
.list-plain li { padding-left: 1.5rem; position: relative; color: var(--fg-muted); }
.list-plain li::before { content: ""; position: absolute; left: 0; top: 0.75rem; width: 0.6rem; height: 1px; background: var(--gold); }
.list-plain li strong { color: var(--fg); font-weight: 600; }

/* --------------------------------------------------------------------------
   Audience panels
   -------------------------------------------------------------------------- */
.audience { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 800px) { .audience { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .audience { grid-template-columns: repeat(4, 1fr); } }
.audience-item { background: var(--bg); padding: 2.5rem 2rem; display: grid; gap: 1rem;
  grid-template-rows: auto 1fr auto; align-content: stretch; transition: background-color 0.5s var(--ease); }
.audience-item:hover { background: var(--bg-elev); }
.audience-item h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; line-height: 1.12; }
/* Reserve the tallest heading so every body paragraph in the row starts on one
   baseline regardless of how many lines each title takes. */
@media (min-width: 800px) {
  .audience-item h3 { display: grid; align-content: end; min-height: calc(2 * 1.12em); }
}
.audience-item p { color: var(--fg-muted); font-size: 0.98rem; }
.audience-item .btn--text { justify-self: start; align-self: end; }

/* --------------------------------------------------------------------------
   Portfolio
   -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem 0.5rem; margin-bottom: 2.5rem; align-items: center; }
.filters-label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-muted); margin-right: 0.75rem; }
.filter {
  padding: 0.6rem 1rem; min-height: 40px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted);
  transition: all 0.3s var(--ease);
}
.filter:hover { color: var(--fg); border-color: var(--fg-muted); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.theme-dark .filter[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.filters-sep { width: 1px; height: 24px; background: var(--line); margin: 0 0.75rem; }

.portfolio-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.pc {
  background: var(--bg); padding: 2.25rem 2rem; min-height: 300px; display: grid; gap: 1.25rem; align-content: space-between;
  position: relative; transition: background-color 0.5s var(--ease), opacity 0.4s, transform 0.5s var(--ease);
}
.pc:hover { background: var(--bg-elev); }
.pc.is-hidden { display: none; }
.pc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.pc-mono {
  width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--gold); letter-spacing: 0.02em;
  background: linear-gradient(135deg, rgba(201,162,77,0.08), transparent);
}
.pc-status { font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.3rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--fg-muted); white-space: nowrap; }
.pc-status--realized { color: var(--gold); border-color: var(--gold-line); }
.pc-status--illustrative { color: var(--fg-muted); border-style: dashed; }
.pc h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.pc p { color: var(--fg-muted); font-size: 0.95rem; }
.pc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--fs-small); }
.pc-meta dt { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.pc-meta dd { margin: 0.2rem 0 0; color: var(--fg); }
.pc-empty { padding: 4rem 2rem; text-align: center; color: var(--fg-muted); grid-column: 1 / -1; background: var(--bg); }

.notice {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.25rem 1.5rem; border: 1px dashed var(--gold-line); background: var(--gold-soft); font-size: var(--fs-small); color: var(--fg-muted);
  margin-bottom: 2.5rem;
}
.notice svg { width: 20px; height: 20px; color: var(--gold); margin-top: 0.1rem; }
.notice strong { color: var(--fg); }

/* --------------------------------------------------------------------------
   Team
   -------------------------------------------------------------------------- */
.team-grid { display: grid; gap: 2.5rem 2rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-grid--2 { max-width: 960px; gap: 3rem 4rem; }
@media (min-width: 640px) { .team-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.team-grid--2 .person-photo { aspect-ratio: 1 / 1; border-radius: 50%; max-width: 300px; border: 1px solid var(--gold-line); box-shadow: 0 0 0 10px var(--bg), 0 0 0 11px var(--gold-line); margin-bottom: 0.75rem; }
.team-grid--2 .person-photo::after { display: none; }
.team-grid--2 .person-photo img { filter: none; }
.team-grid--2 .person h3 { font-size: 1.9rem; }
.person { display: grid; gap: 1.1rem; text-align: left; align-content: start; }
.person-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--graphite);
  border: 1px solid var(--line);
}
.theme-light .person-photo { background: var(--stone); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.05); transition: filter 0.6s var(--ease), transform 0.8s var(--ease); }
.person:hover .person-photo img { filter: grayscale(0%); transform: scale(1.03); }
.person-photo .silhouette { position: absolute; inset: 0; display: grid; place-items: center; }
.person-photo .silhouette svg { width: 45%; height: auto; opacity: 0.35; }
.person-photo .initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); color: var(--gold); opacity: 0.85; }
.person-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--gold-gradient); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.person:hover .person-photo::after { transform: scaleX(1); }
.person h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.person-role { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.person p { color: var(--fg-muted); font-size: 0.95rem; }
.person .btn--text { justify-self: start; font-size: 0.72rem; }
.person--placeholder .person-photo { border-style: dashed; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 10, 11, 0.82); backdrop-filter: blur(6px); }
.modal-panel {
  position: absolute; inset: 0 0 0 auto; width: min(100%, 640px); background: var(--ink); color: var(--ivory);
  padding: clamp(2rem, 4vw, 3.5rem); overflow-y: auto; border-left: 1px solid var(--line);
  transform: translateX(30px); opacity: 0; animation: panelIn 0.5s var(--ease) forwards;
}
@keyframes panelIn { to { transform: none; opacity: 1; } }
.modal-close { position: absolute; top: 1.25rem; right: 1.25rem; width: 48px; height: 48px; display: grid; place-items: center; color: var(--fog); border: 1px solid var(--line); border-radius: 50%; }
.modal-close:hover { color: var(--gold); border-color: var(--gold); }
.modal-panel .eyebrow { margin-bottom: 1rem; }
.modal-panel h2 { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; line-height: 1.05; margin-bottom: 0.5rem; }
.modal-panel .person-role { margin-bottom: 2rem; display: block; }
.modal-panel p { color: var(--fog); margin-bottom: 1.1rem; }
.modal-panel h4 { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 2rem 0 0.75rem; }
.modal-panel ul { display: grid; gap: 0.5rem; color: var(--fog); }
.modal-panel ul li { padding-left: 1.25rem; position: relative; }
.modal-panel ul li::before { content: ""; position: absolute; left: 0; top: 0.8rem; width: 0.5rem; height: 1px; background: var(--gold); }
body.modal-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Insights
   -------------------------------------------------------------------------- */
.insights-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 800px) { .insights-grid { grid-template-columns: repeat(3, 1fr); } }
.post { background: var(--bg-elev); padding: 2.25rem 2rem; display: grid; gap: 1rem;
  grid-template-rows: auto auto 1fr auto; align-content: stretch; min-height: 320px;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease); position: relative; }
.post:hover { background: var(--bg-elev); }
.post-meta { display: flex; gap: 1rem; font-size: 0.68rem; letter-spacing: var(--track-ui); text-transform: uppercase; color: var(--gold); }
.post-meta time { color: var(--fg-muted); }
.post h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; line-height: 1.15; }
@media (min-width: 800px) {
  .insights-grid--2 .post h3, .insights-grid .post h3 { display: grid; align-content: end; min-height: calc(2 * 1.15em); }
}
.post p { color: var(--fg-muted); font-size: 0.95rem; }
.post .btn--text { align-self: end; justify-self: start; }
.post-feature { display: grid; gap: 2rem; padding: 2.5rem; background: var(--bg-elev); border: 1px solid var(--line); margin-bottom: 1px; }
@media (min-width: 900px) { .post-feature { grid-template-columns: 1fr 1fr; padding: 3.5rem; gap: 4rem; align-items: center; } }
.post-feature h2, .post-feature h3 { font-family: var(--font-display); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); font-weight: 600; line-height: 1.1; }
.post-feature-art { aspect-ratio: 4 / 3; border: 1px solid var(--line); position: relative; overflow: hidden; background: linear-gradient(160deg, rgba(201,162,77,0.12), transparent 60%); }
.post-feature-art svg { width: 100%; height: 100%; }

/* Landing-page variant: one lead perspective plus two, so the section stops
   being a third identical N-up grid. Text-forward rather than diagrammatic —
   a pulled line from the piece carries the panel instead of a chart with no
   data behind it. */
.insights-lead { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .insights-lead { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.insights-lead .post { min-height: 0; }
.insights-lead .post--feature { padding: clamp(2.25rem, 4vw, 3.25rem); grid-template-rows: auto auto 1fr auto; }
.insights-lead .post--feature h3 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.1; }
.insights-lead .post--feature p { font-size: 1.05rem; }
.insights-pull {
  padding: clamp(2.25rem, 4vw, 3.25rem);
  background: var(--bg); display: grid; align-content: center; gap: 1.25rem;
  position: relative; overflow: hidden;
}
.insights-pull::before {
  content: "“"; position: absolute; top: -0.35em; left: 0.3em;
  font-family: var(--font-display); font-size: 12rem; line-height: 1;
  color: var(--accent); opacity: 0.12; pointer-events: none;
}
.insights-pull blockquote {
  margin: 0; position: relative; z-index: 1;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.35;
  text-wrap: balance; max-width: 26ch;
}
.insights-pull figcaption { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-muted); position: relative; z-index: 1; }
.insights-grid--2 { margin-top: 1.25rem; }
@media (min-width: 800px) { .insights-grid--2 { grid-template-columns: repeat(2, 1fr); } }

.article { display: grid; gap: 1.25rem; max-width: 72ch; }
.article p { color: var(--fg-muted); }
.article h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-top: 1rem; }
.article-toggle { display: none; }
.article-toggle.is-open { display: grid; gap: 1.25rem; padding-top: 1.25rem; }

/* Newsletter */
.newsletter { display: grid; gap: 1.5rem; padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid var(--line); background: var(--bg-elev); }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; } }
.newsletter form { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.newsletter input { flex: 1 1 240px; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.5rem; }
.form-row { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); font-weight: 500; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--fg); background: transparent;
  border: 0; border-bottom: 1px solid rgba(255,255,255,0.25); padding: 0.85rem 0; min-height: 48px;
  transition: border-color 0.3s; border-radius: 0;
}
.theme-light input, .theme-light select, .theme-light textarea { border-bottom-color: rgba(10,10,11,0.3); }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--gold); }
input::placeholder, textarea::placeholder { color: var(--fg-muted); opacity: 0.8; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23c9a24d' stroke-width='1.5'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; background-size: 1rem; padding-right: 1.75rem; cursor: pointer; }
select option { color: var(--ink); background: var(--ivory); }
textarea { min-height: 140px; resize: vertical; }
.field-hint { font-size: 0.8rem; color: var(--fg-muted); }
.form-foot { display: grid; gap: 1.25rem; }
.form-status { font-size: var(--fs-small); color: var(--gold); min-height: 1.5em; }
.form-status.is-error { color: #e07a6a; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; font-size: 0.85rem; color: var(--fg-muted); }
.consent input { width: 18px; height: 18px; min-height: 0; margin-top: 0.2rem; accent-color: var(--gold); }

/* Contact paths */
.paths { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { background: var(--bg); padding: clamp(2rem, 4vw, 3.25rem); display: grid; gap: 1.25rem; align-content: start; transition: background-color 0.5s var(--ease); }
.path:hover { background: var(--bg-elev); }
.path h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1.1; }
.path p { color: var(--fg-muted); }
.path a.mail { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold); }
.contact-layout { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 5rem; align-items: start; } }
.contact-aside { display: grid; gap: 2.25rem; }
.contact-aside dl { display: grid; gap: 0.35rem; }
.contact-aside dt { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.contact-aside dd { margin: 0; color: var(--fg); }
.contact-aside dd a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; color: var(--ivory);
  background:
    radial-gradient(120% 90% at 15% 15%, rgba(201, 162, 77, 0.10), transparent 62%),
    linear-gradient(170deg, #17130e 0%, #100d0a 55%, var(--ink) 100%);
  border-top: 1px solid rgba(201, 162, 77, 0.18);
}
.cta-band .cta-inner { position: relative; z-index: 2; display: grid; gap: 2.5rem; padding-block: clamp(5rem, 9vw, 9rem); }
.cta-band .h2 { max-width: 20ch; }
.cta-band .lead { color: var(--fog); max-width: 40rem; }
.cta-art { position: absolute; inset: 0; pointer-events: none; }
.cta-art svg {
  position: absolute; right: -10%; top: 50%; transform: translateY(-50%);
  width: 80vw; max-width: 900px; height: auto; opacity: 0.9;
  mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 52%, transparent 78%);
}
@media (min-width: 1000px) { .cta-band .cta-inner { grid-template-columns: 1.3fr 1fr; align-items: end; } .cta-band .btn-row { justify-content: flex-end; } }

/* Quote */
.quote { display: grid; gap: 2rem; text-align: center; max-width: 52rem; margin-inline: auto; }
.quote blockquote {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.8rem); line-height: 1.3;
  font-weight: 500; font-style: italic;
  text-wrap: balance; hanging-punctuation: first last;
}
.quote blockquote::before { content: "\201C"; color: var(--gold); margin-right: 0.15em; }
.quote blockquote::after { content: "\201D"; color: var(--gold); margin-left: 0.15em; }
.quote figcaption { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

/* --------------------------------------------------------------------------
   Founder beat — the page's human rest beat, and its only proof device
   -------------------------------------------------------------------------- */
.founders { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .founders { grid-template-columns: auto minmax(0, 1fr); } }

.founder-portraits { display: flex; align-items: center; justify-self: start; }
.founder-portraits figure { margin: 0; position: relative; }
.founder-portraits figure + figure { margin-left: -2.75rem; }
.founder-portraits img {
  width: clamp(124px, 15vw, 188px); height: auto; aspect-ratio: 1; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 1px solid var(--gold-line);
  box-shadow: 0 0 0 9px var(--bg), 0 0 0 10px rgba(201, 162, 77, 0.28), 0 24px 48px -26px rgba(0, 0, 0, 0.9);
  transition: transform 0.6s var(--ease);
}
.founder-portraits figure:hover img { transform: translateY(-4px); }
.founder-portraits figcaption {
  position: absolute; inset: auto 0 -2.2rem 0; text-align: center;
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  white-space: nowrap;
}
.founder-portraits figure + figure figcaption { inset: auto 0 -3.6rem 0; }

.founder-copy { display: grid; gap: 1.5rem; }
.founder-copy .founder-statement {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.35;
  text-wrap: balance; max-width: 30ch;
}
.founder-copy .founder-statement em { font-style: italic; color: var(--gold); }
.founder-copy p { color: var(--fg-muted); max-width: 58ch; }
.founder-sign {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem;
  padding-top: 1.25rem; border-top: 1px solid var(--line);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
}
.founder-sign .sep { width: 1px; height: 1rem; background: var(--line); }
.founder-sign .muted-role { color: var(--fg-muted); letter-spacing: 0.1em; }

/* --------------------------------------------------------------------------
   Sticky statement — closes the dead void in the lower-left of "Who we are"
   -------------------------------------------------------------------------- */
@media (min-width: 900px) {
  .statement { align-items: stretch; }
  .statement > :first-child {
    position: sticky; top: calc(88px + 3vh); align-self: start;
    display: grid; align-content: start; gap: 2rem;
  }
}
.statement .display { max-width: 26ch; }

/* Values */
.values { display: grid; gap: 0; border-top: 1px solid var(--line); }
.value { display: grid; gap: 0.75rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .value { grid-template-columns: 80px 300px 1fr; gap: 2rem; align-items: baseline; padding: 2.25rem 0; } }
.value-num { font-family: var(--font-display); color: var(--gold); font-size: 1.1rem; letter-spacing: 0.1em; }
.value h3 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; }
.value p { color: var(--fg-muted); max-width: 60ch; }

/* Accordion (FAQ) */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; text-align: left;
  padding: 1.5rem 0; font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem); font-weight: 600; line-height: 1.2;
}
.acc-trigger .plus { flex: none; width: 28px; height: 28px; position: relative; }
.acc-trigger .plus::before, .acc-trigger .plus::after { content: ""; position: absolute; inset: 50% auto auto 50%; background: var(--gold); transform: translate(-50%, -50%); transition: transform 0.4s var(--ease); }
.acc-trigger .plus::before { width: 16px; height: 1px; }
.acc-trigger .plus::after { width: 1px; height: 16px; }
.acc-trigger[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { color: var(--fg-muted); padding-bottom: 1.75rem; max-width: 70ch; }
.acc-panel.is-open { grid-template-rows: 1fr; }

/* Offices */
.offices { display: grid; gap: 2rem; }
@media (min-width: 700px) { .offices { grid-template-columns: repeat(3, 1fr); } }
.office { display: grid; gap: 0.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.office h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.office p { color: var(--fg-muted); font-size: var(--fs-small); }
.office .tag { justify-self: start; }

/* Logo strip (LeapHL family) */
.family { display: grid; gap: 2rem; align-items: center; padding: 2.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .family { grid-template-columns: auto 1fr auto; gap: 3rem; } }
.family img { height: auto; width: 220px; background: #fff; padding: 0.75rem 1rem; border: 1px solid var(--line); }
.family p { color: var(--fg-muted); font-size: var(--fs-small); max-width: 60ch; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--fog); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.footer-top { display: grid; gap: 3rem; padding-block: clamp(3.5rem, 6vw, 5.5rem); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem; } }
.footer-brand { display: grid; gap: 1.5rem; align-content: start; }
.footer-brand p { font-size: var(--fs-small); color: var(--mist); max-width: 34ch; }
.footer-col h2 { font-size: 0.68rem; letter-spacing: var(--track-marker); text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; font-weight: 500; }
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a { font-size: var(--fs-small); color: var(--fog); transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-col address { font-style: normal; font-size: var(--fs-small); color: var(--fog); line-height: 1.7; }
.footer-legal { border-top: 1px solid var(--line); padding-block: 2rem; display: grid; gap: 1.25rem; font-size: 0.78rem; color: var(--mist); }
.footer-legal p { max-width: none; }
.footer-legal .footer-meta { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.footer-legal .footer-meta ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-legal a:hover { color: var(--gold); }
.footer-mark { position: absolute; right: -4%; bottom: -8%; width: 40vw; max-width: 520px; opacity: 0.05; pointer-events: none; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }
.reveal-stagger.is-visible > *:nth-child(n+7) { transition-delay: 0.65s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .fade-up { opacity: 1; transform: none; }
}

/* Draw-on-scroll arc */
.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease); }
.draw.is-visible path { stroke-dashoffset: 0; }

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .drawer, .scroll-cue, .cta-band, .hero-art, .grain { display: none !important; }
  body { background: #fff; color: #000; }
  .theme-dark, .theme-charcoal, .site-footer { background: #fff; color: #000; }
}
