/* ==========================================================================
   Wall Media — wallmedia.co.uk
   Design system: docs/DESIGN-SYSTEM.md · Palette variant A (D-019) · Archivo (D-020)
   Palette extracted from the live StairliftLeadPartner build.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
                 U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Ground + surfaces */
  --bg:              #FAFAF9;
  --surface:         #F0F0EF;
  --surface-card:    #FFFFFF;
  --surface-tint:    #EBF9F5;

  /* Full-bleed wash for .section--tint. Same as --surface-tint in light, where a
     pale mint whisper works at any size. Separate in dark: a tint that reads as a
     whisper across a whole section is too dark for an accent panel, and a tint that
     lifts an accent panel becomes a green wash across the section. One value cannot
     do both jobs once the ground goes dark. */
  --section-wash:    #EBF9F5;

  /* Ink */
  --ink:             #0F1729;
  /* Was #6B7280, which cleared AA on --bg (4.63) and --surface-card (4.83) but
     failed on the two tinted grounds it also sits on: --surface (4.24) and
     --surface-tint (4.47) — the four near-misses logged as Q-019. One step
     darker clears every surface with headroom: 5.33 on --bg, 4.89 on --surface,
     5.57 on --surface-card, 5.15 on --surface-tint. Q-019 closed 2026-08-31. */
  --ink-muted:       #61687A;

  /* Dark bands */
  --band:            #0F1729;
  --band-deep:       #080D1C;
  --band-surface:    #303A4B;
  --band-ink:        #FAFAF9;
  --band-ink-muted:  #A9B6C6;

  /* Green — see contrast rules in docs/DESIGN-SYSTEM.md §2
     accent      = fill only, white text OK (5.79:1)
     accent-text = the ONLY green safe for body text on light (5.56:1)
     accent-brt  = fill only, NEVER text, takes navy on top (8.05:1) */
  --accent:          #0A996C;
  --accent-mid:      #25B185;
  --accent-text:     #087854;
  --accent-brt:      #31C495;
  /* Ink for text sitting ON the accent gradient (--accent → --accent-mid).
     Was #FFFFFF, which failed AA badly: 3.63:1 at the bottom of the gradient and
     2.73:1 at the top. Navy clears it in both directions — 4.92:1 and 6.56:1 —
     and leaves the green itself untouched, which D-019 locks. Same literal as
     --on-mint, and for the same reason: never var(--ink), which flips in dark. */
  --accent-ink:      #0F1729;

  --border:          #E4E2DD;
  --border-band:     #2A3547;

  /* Ink that sits ON a mint fill. Navy in BOTH themes — mint is a light fill in
     both, and #0F1729 on #31C495 is 8.05:1 while white on mint is 2.24:1.
     Never swap this to var(--ink): --ink flips light in dark mode. */
  --on-mint:         #0F1729;

  /* Hairlines derived from the green. Tokenised so dark mode can lift them. */
  --accent-line-weak:   rgb(10 153 108 / .16);
  --accent-line:        rgb(10 153 108 / .20);
  --accent-line-strong: rgb(10 153 108 / .35);

  /* Sticky header ground — matches --bg at 88% so blur reads correctly */
  --header-bg:       rgb(250 250 249 / .88);

  /* Build-time placeholder marker */
  --ph-bg:           #FFF3CD;
  --ph-ink:          #6B4E00;
  --ph-line:         #B8860B;
  --ph-bg-band:      #4A3B00;
  --ph-ink-band:     #FFE9A3;
  --ph-line-band:    #FFD24D;

  /* Type scale */
  --f-display: clamp(2.1rem, 1.5rem + 2.5vw, 3.3rem);
  --f-h2:      clamp(1.65rem, 1.25rem + 1.5vw, 2.3rem);
  --f-h3:      clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --f-lead:    clamp(1.06rem, 0.98rem + 0.5vw, 1.28rem);
  --f-body:    1.0435rem;
  --f-sm:      0.9rem;
  --f-eyebrow: 0.775rem;

  /* Space */
  --gutter:    clamp(1.25rem, 0.7rem + 2.4vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6.4vw, 8rem);
  --container: 1120px;

  --radius:     14px;
  --radius-sm:  10px;
  --radius-xs:  8px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgb(15 23 41 / .05), 0 1px 2px rgb(15 23 41 / .03);
  --shadow-md: 0 4px 16px -2px rgb(15 23 41 / .07), 0 2px 6px -2px rgb(15 23 41 / .04);
  --shadow-lg: 0 18px 44px -12px rgb(15 23 41 / .16), 0 6px 14px -6px rgb(15 23 41 / .06);

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   Dark theme (D-023)
   
   Light stays the default identity. This is an opt-in mode, not a redesign.

   The light build is "off-white ground + dark navy bands". That inversion is the
   whole structure, so dark mode cannot just flip the ground — the bands would
   vanish into it. Instead the elevation logic inverts: --bg becomes the DEEPEST
   value and --band sits ABOVE it, so bands read as raised panels rather than
   dark slabs. Same rhythm, opposite mechanics.

   Values live once in --d-*; the two selectors below only map them.
   -------------------------------------------------------------------------- */

:root {
  --d-bg:              #0A101C;
  --d-surface:         #141C2C;
  --d-surface-card:    #111926;
  /* Neutral slate, not green. A dark green wash reads as swamp at section scale.
     Accent still reads as accent via the mint border (--accent-line) and the mint
     panel label; it does not need the fill to be green too. */
  --d-surface-tint:    #1A2333;
  --d-section-wash:    #0E1421;

  --d-ink:             #F0F1F2;
  --d-ink-muted:       #9BA8B9;

  /* Bands sit ABOVE the ground here — the inverse of the light build */
  --d-band:            #151E30;
  --d-band-deep:       #0E1524;
  --d-band-surface:    #303A4B;

  /* Mint is the body-safe accent text on dark (8.6:1 on --d-bg), exactly as it
     already is inside the light build's navy bands. Deep green #087854 would
     fail here, which is why --accent-text flips rather than staying put. */
  --d-accent-text:     #31C495;

  --d-border:          #232D42;

  --d-accent-line-weak:   rgb(49 196 149 / .16);
  --d-accent-line:        rgb(49 196 149 / .22);
  --d-accent-line-strong: rgb(49 196 149 / .40);

  --d-header-bg:       rgb(10 16 28 / .88);

  /* Shadows go near-black — the light build's navy shadows read as nothing here */
  --d-shadow-sm: 0 1px 3px rgb(0 0 0 / .40), 0 1px 2px rgb(0 0 0 / .30);
  --d-shadow-md: 0 4px 16px -2px rgb(0 0 0 / .50), 0 2px 6px -2px rgb(0 0 0 / .35);
  --d-shadow-lg: 0 18px 44px -12px rgb(0 0 0 / .62), 0 6px 14px -6px rgb(0 0 0 / .42);
}

/* Explicit choice wins in both directions. Keep the two mappings in sync. */
:root[data-theme="dark"] {
  --bg:            var(--d-bg);
  --surface:       var(--d-surface);
  --surface-card:  var(--d-surface-card);
  --surface-tint:  var(--d-surface-tint);
  --section-wash:  var(--d-section-wash);
  --ink:           var(--d-ink);
  --ink-muted:     var(--d-ink-muted);
  --band:          var(--d-band);
  --band-deep:     var(--d-band-deep);
  --band-surface:  var(--d-band-surface);
  --accent-text:   var(--d-accent-text);
  --border:        var(--d-border);
  --accent-line-weak:   var(--d-accent-line-weak);
  --accent-line:        var(--d-accent-line);
  --accent-line-strong: var(--d-accent-line-strong);
  --header-bg:     var(--d-header-bg);
  --ph-bg:         var(--ph-bg-band);
  --ph-ink:        var(--ph-ink-band);
  --ph-line:       var(--ph-line-band);
  --shadow-sm:     var(--d-shadow-sm);
  --shadow-md:     var(--d-shadow-md);
  --shadow-lg:     var(--d-shadow-lg);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:            var(--d-bg);
    --surface:       var(--d-surface);
    --surface-card:  var(--d-surface-card);
    --surface-tint:  var(--d-surface-tint);
    --section-wash:  var(--d-section-wash);
    --ink:           var(--d-ink);
    --ink-muted:     var(--d-ink-muted);
    --band:          var(--d-band);
    --band-deep:     var(--d-band-deep);
    --band-surface:  var(--d-band-surface);
    --accent-text:   var(--d-accent-text);
    --border:        var(--d-border);
    --accent-line-weak:   var(--d-accent-line-weak);
    --accent-line:        var(--d-accent-line);
    --accent-line-strong: var(--d-accent-line-strong);
    --header-bg:     var(--d-header-bg);
    --ph-bg:         var(--ph-bg-band);
    --ph-ink:        var(--ph-ink-band);
    --ph-line:       var(--ph-line-band);
    --shadow-sm:     var(--d-shadow-sm);
    --shadow-md:     var(--d-shadow-md);
    --shadow-lg:     var(--d-shadow-lg);

    color-scheme: dark;
  }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--f-body);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

img, svg { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 4px;
}

.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: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: var(--bg);
  padding: .75rem 1.15rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: var(--f-sm); text-decoration: none;
  transition: top .18s ease;
}
/* skip-link */
.skip-link:focus { top: 1rem; color: var(--bg); }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section--tint { background: var(--section-wash); }

.section--band {
  /* Solid colour first: mint/green text inside this band relies on a dark ground
     (8.05:1). If only the gradient were set, a context that drops background-image
     would leave mint on off-white at 2.24:1. */
  background-color: var(--band);
  background-image: linear-gradient(180deg, var(--band-deep) 0%, var(--band) 34%, var(--band) 66%, var(--band-deep) 100%);
  color: var(--band-ink);
}
.section--band h2, .section--band h3 { color: var(--band-ink); }
.section--band .section-intro { color: var(--band-ink-muted); }

.section-head { max-width: 45rem; margin-bottom: clamp(2.5rem, 1.6rem + 3vw, 3.75rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--f-eyebrow); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px; background: var(--accent-brt); border-radius: var(--radius-pill);
}
.section--band .eyebrow { color: var(--accent-brt); }

h2 { font-size: var(--f-h2); }

.section-intro {
  margin-top: 1.15rem;
  font-size: var(--f-lead);
  line-height: 1.55;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.7rem;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: var(--f-body);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.btn--primary {
  background: linear-gradient(to top, var(--accent), var(--accent-mid));
  color: var(--accent-ink);
  box-shadow: 0 2px 10px -2px rgb(10 153 108 / .45);
}
.btn--primary:hover {
  color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgb(10 153 108 / .5);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover { color: var(--ink); background: var(--surface); transform: translateY(-2px); }

.section--band .btn--ghost { color: var(--band-ink); border-color: var(--border-band); }
.section--band .btn--ghost:hover { background: var(--band-surface); color: var(--band-ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 68px;
}
.site-header .btn { padding: .62rem 1.15rem; font-size: var(--f-sm); }

.brand {
  display: inline-flex; align-items: center; gap: .68rem;
  font-weight: 700; font-size: 1.075rem; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.brand__mark {
  width: 32px; height: 32px; border-radius: var(--radius-xs);
  background: linear-gradient(to top, var(--accent), var(--accent-mid));
  color: #fff; font-size: .77rem; font-weight: 700; letter-spacing: .01em;
  display: grid; place-items: center; flex: none;
}

.site-nav { display: flex; align-items: center; gap: 1.9rem; }
.site-nav a {
  font-size: var(--f-sm); font-weight: 500; color: var(--ink-muted); text-decoration: none;
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--ink); }

@media (max-width: 780px) { .site-nav { display: none; } }

/* Theme toggle -------------------------------------------------------------- */

.site-header__actions { display: flex; align-items: center; gap: .75rem; }

.theme-toggle {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex: none;
  padding: 0;
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}
.theme-toggle:hover { color: var(--ink); background: var(--surface); }
.theme-toggle svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }

/* One button, two icons — swap on the resolved theme so there is no flash of
   the wrong glyph. Shows the mode you would switch TO. */
.theme-toggle__moon { display: none; }
:root[data-theme="dark"] .theme-toggle__sun  { display: none; }
:root[data-theme="dark"] .theme-toggle__moon { display: block; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__sun  { display: none; }
  :root:not([data-theme="light"]) .theme-toggle__moon { display: block; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem) var(--section-y); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2.5rem, 1rem + 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { font-size: var(--f-display); }

.hero__lead {
  margin-top: 1.5rem;
  font-size: var(--f-lead);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 34rem;
}

.hero .btn-row { margin-top: 2.15rem; }

.hero__points {
  list-style: none; margin: 2.6rem 0 0; padding: 0;
  display: grid; gap: 1.15rem;
  border-top: 1px solid var(--border);
  padding-top: 1.9rem;
}
.hero__points li { display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start; }
.hero__points strong { display: block; font-weight: 600; letter-spacing: -0.01em; }
.hero__points span { color: var(--ink-muted); font-size: var(--f-sm); line-height: 1.55; }

.tick {
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--accent-brt);
  display: grid; place-items: center;
  margin-top: .28rem; flex: none;
}
.tick svg { width: 11px; height: 11px; stroke: var(--on-mint); stroke-width: 3.2; fill: none; }

/* Hero flow panel ---------------------------------------------------------- */

.flow {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
}

.flow__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-bottom: 1.1rem; margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--border);
}
.flow__title { font-size: var(--f-sm); font-weight: 700; letter-spacing: -0.01em; }
.flow__tag {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-mint); background: var(--accent-brt);
  padding: .3rem .6rem; border-radius: var(--radius-pill);
}

.flow__steps { display: grid; gap: .6rem; }

.flow__step {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center;
  padding: .9rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.flow__step--out {
  background: linear-gradient(to top, var(--accent), var(--accent-mid));
  border-color: transparent;
  color: var(--accent-ink);
}
/* Solid, not translucent. At .82 over the gradient this measured 2.93:1; no
   opacity clears AA against the darker end. The label is already set apart by
   size, weight and letter-spacing, so it does not need the fade as well. */
.flow__step--out .flow__label { color: var(--accent-ink); }

.flow__num {
  width: 26px; height: 26px; border-radius: var(--radius-xs);
  background: var(--surface); color: var(--ink);
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; flex: none;
}
/* The .22 white chip stays — it is the raised-badge device, and it lightens the
   ground rather than darkening it, so white-on-chip measured 2.70:1 / 2.18:1,
   worse than white on the bare gradient. Navy on the same chip is 6.61 / 8.19. */
.flow__step--out .flow__num { background: rgb(255 255 255 / .22); color: var(--accent-ink); }

.flow__label {
  display: block; font-size: .68rem; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase; color: var(--ink-muted);
  margin-bottom: .16rem;
}
.flow__text { font-size: .93rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }

.flow__gates { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.flow__gate {
  font-size: .755rem; font-weight: 600;
  padding: .28rem .6rem; border-radius: var(--radius-pill);
  background: var(--surface-tint); color: var(--accent-text);
  border: 1px solid var(--accent-line-weak);
}

.flow__foot {
  margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid var(--border);
  font-size: .83rem; color: var(--ink-muted); line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Split — differentiator
   -------------------------------------------------------------------------- */

.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, .4rem + 2vw, 1.6rem);
  margin-top: 2.75rem;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.panel {
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.15rem);
  border: 1px solid var(--border);
  background: var(--surface-card);
}
.panel--muted { background: var(--surface); }
.panel--accent { background: var(--surface-tint); border-color: var(--accent-line); }

.panel__label {
  font-size: var(--f-eyebrow); font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 1.35rem;
}
.panel--accent .panel__label { color: var(--accent-text); }

.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .95rem; }
.panel li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; line-height: 1.52; }

.mark { width: 19px; height: 19px; margin-top: .27rem; flex: none; }
.mark--no  { stroke: var(--ink-muted); stroke-width: 2.4; fill: none; }
.mark--yes { stroke: var(--accent-text); stroke-width: 2.7; fill: none; }

/* --------------------------------------------------------------------------
   Steps — how PPL works
   -------------------------------------------------------------------------- */

.steps { display: grid; gap: 0; counter-reset: step; }

.step {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: clamp(1rem, .5rem + 1.6vw, 2.2rem);
  padding-block: clamp(1.6rem, 1.1rem + 1.6vw, 2.2rem);
  border-top: 1px solid var(--border-band);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--border-band); }

.step__num {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem);
  font-weight: 700; letter-spacing: -0.03em;
  color: var(--accent-brt);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  padding-top: .1rem;
}
.step__label {
  font-size: .7rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--band-ink-muted);
  margin-bottom: .5rem;
}
.step h3 { font-size: var(--f-h3); margin-bottom: .55rem; }
.step p { color: var(--band-ink-muted); line-height: 1.6; max-width: 46rem; }

@media (max-width: 620px) {
  .step { grid-template-columns: 1fr; gap: .3rem; }
  .step__num { font-size: 1.4rem; }
}

.steps-note {
  margin-top: 1.9rem; font-size: var(--f-sm); color: var(--band-ink-muted);
  display: flex; gap: .7rem; align-items: flex-start;
}
.steps-note svg { width: 17px; height: 17px; flex: none; margin-top: .22rem; stroke: var(--accent-brt); stroke-width: 2.4; fill: none; }

/* --------------------------------------------------------------------------
   Verticals
   -------------------------------------------------------------------------- */

.verticals {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, .4rem + 2vw, 1.6rem);
}
@media (max-width: 820px) { .verticals { grid-template-columns: 1fr; } }

.vcard {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 1.1rem + 1.5vw, 2.2rem);
  text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.vcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-line-strong);
  color: inherit;
}
.vcard--pilot { background: var(--surface); border-style: dashed; }

.vcard__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }

.status {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .715rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .34rem .7rem; border-radius: var(--radius-pill);
}
.status--live { background: var(--accent-brt); color: var(--on-mint); }
.status--pilot { background: var(--surface-card); color: var(--ink-muted); border: 1px solid var(--border); }
.status__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.vcard h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); margin-bottom: .6rem; }
.vcard p { color: var(--ink-muted); line-height: 1.58; }

.vcard__domain {
  margin-top: auto; padding-top: 1.5rem;
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--f-sm); font-weight: 600; color: var(--accent-text);
}
.vcard__domain svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.4; fill: none; }
a.vcard:hover .vcard__domain svg { transform: translate(2px, -2px); transition: transform .18s ease; }

.vcard__domain--muted { color: var(--ink-muted); }

.scarcity {
  margin-top: 2.2rem;
  padding: 1.35rem 1.6rem;
  background: var(--surface-tint);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: var(--f-lead);
  line-height: 1.55;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Depth — single paragraph (D-004: never let this become a grid)
   -------------------------------------------------------------------------- */

.depth__body {
  font-size: var(--f-lead);
  line-height: 1.62;
  color: var(--band-ink-muted);
  max-width: 46rem;
}
.depth__body strong { color: var(--band-ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   People — deliberately thin (D-018)
   -------------------------------------------------------------------------- */

.people {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, .4rem + 2vw, 1.6rem);
  max-width: 46rem;
}
@media (max-width: 640px) { .people { grid-template-columns: 1fr; } }

.person {
  padding: 1.5rem 1.6rem;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.person h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.person__role {
  font-size: .715rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-text); margin-bottom: .8rem;
}
.person p { font-size: var(--f-sm); color: var(--ink-muted); line-height: 1.55; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

/* Single column since the registered-details panel was removed. Cap the CHILD,
   not the container: .contact__grid is also .container, which has margin-inline
   auto, so capping it there centres the block while every other section stays
   left-aligned. Same pattern as .section-head. */
.contact__grid > div { max-width: 46rem; }

.contact__email {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: clamp(1.15rem, 1rem + 1.1vw, 1.65rem);
  font-weight: 700; letter-spacing: -0.02em;
  color: var(--band-ink); text-decoration: none;
  margin-top: 1.9rem;
  padding-bottom: .3rem;
  border-bottom: 2px solid var(--accent-brt);
}
.contact__email:hover { color: var(--accent-brt); }

/* Reveal button wears the link's clothes so the section is visually unchanged */
.email-reveal { margin: 0; }
.contact__email--btn {
  background: none; border: 0; padding: 0 0 .3rem;
  font-family: inherit; cursor: pointer;
  border-bottom: 2px solid var(--accent-brt);
}
.contact__email--btn svg {
  width: .85em; height: .85em;
  stroke: currentColor; stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.contact__email--btn:hover { color: var(--accent-brt); }

.link-btn {
  background: none; border: 0; padding: 0;
  font: inherit; color: var(--band-ink-muted);
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: var(--accent-brt); }

.email-reveal noscript { color: inherit; }

.reg {
  background: rgb(255 255 255 / .04);
  border: 1px solid var(--border-band);
  border-radius: var(--radius);
  padding: 1.6rem 1.75rem;
}
.reg dl { margin: 0; display: grid; gap: 1.05rem; }
.reg dt {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--band-ink-muted); margin-bottom: .25rem;
}
.reg dd { margin: 0; font-size: var(--f-sm); color: var(--band-ink); line-height: 1.5; }
.reg a { color: var(--accent-brt); }
.reg a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--band-deep);
  color: var(--band-ink-muted);
  padding-block: 2.8rem;
  border-top: 1px solid var(--border-band);
}
.site-footer__inner {
  display: flex; flex-wrap: wrap; gap: 1.2rem 2rem;
  align-items: center; justify-content: space-between;
  font-size: .845rem; line-height: 1.6;
}
.site-footer a { color: var(--band-ink-muted); }
.site-footer a:hover { color: var(--accent-brt); }
.site-footer__legal { max-width: 44rem; }

/* --------------------------------------------------------------------------
   Build-time placeholder marker — every instance must be gone before launch.
   Grep: class="ph"   (see docs/LAUNCH-CHECKLIST.md)
   -------------------------------------------------------------------------- */

.ph {
  background: var(--ph-bg);
  color: var(--ph-ink);
  border-bottom: 2px dotted var(--ph-line);
  padding: 0 .2em;
  font-weight: 600;
  border-radius: 2px;
}
.section--band .ph, .reg .ph { background: var(--ph-bg-band); color: var(--ph-ink-band); border-bottom-color: var(--ph-line-band); }
