/* =========================================================================
   STRADAVERSE — Firm Sovereign Intelligence
   Single-page marketing site · boardroom-grade · light theme only
   -------------------------------------------------------------------------
   DESIGN TOKENS live in :root below. Edit colours, type scale and spacing
   here in one place — every section reads from these variables.
   ========================================================================= */

:root {
  /* ---- Ground & ink (authority base) ---- */
  --ground:        #FFFFFF;   /* primary page ground */
  --ground-2:      #FAFAF8;   /* near-white section bands */
  --ground-3:      #F4F2EC;   /* faint warm panel (the "outside the firm") */
  --ink:           #0E1116;   /* near-black — type & structure */
  --ink-soft:      #3A3F46;   /* secondary text */
  --ink-muted:     #6B7178;   /* captions, meta, placeholder labels */
  --line:          #E4E1D8;   /* hairlines & borders */
  --line-strong:   #CFC9BB;

  /* ---- THE single accent: restrained brass / bronze ----
     The accent is reserved for "your side" of every contrast — the filled
     vault, the owned asset, the valuable contents. Never decorative filler.  */
  --accent:        #9A7B4F;   /* brass — decorative fills, rules, motif */
  --accent-deep:   #6E5328;   /* darker brass — AA-safe accent TEXT on light */
  --accent-tint:   #F3EDE2;   /* faint brass wash for "your side" panels */
  --accent-tint-2: #EAE0CE;

  /* ---- Type ---- */
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino,
                "Book Antiqua", Georgia, serif;            /* editorial gravitas */
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                Helvetica, Arial, sans-serif;              /* clean neutral body */

  /* Fluid type scale (clamp: min, preferred, max) */
  --fs-eyebrow:  0.78rem;
  --fs-body:     clamp(1rem, 0.96rem + 0.25vw, 1.125rem);
  --fs-lead:     clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem);
  --fs-h4:       clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --fs-h3:       clamp(1.4rem, 1.15rem + 1.1vw, 2rem);
  --fs-h2:       clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem);
  --fs-h1:       clamp(2.4rem, 1.5rem + 4.2vw, 4.6rem);

  /* Spacing scale */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2.5rem;
  --sp-5: 4rem;
  --sp-6: 6rem;
  --sp-7: 9rem;

  --maxw: 1180px;       /* outer content width */
  --maxw-text: 760px;   /* comfortable measure for prose */
  --radius: 3px;        /* institutions don't use big rounded corners */

  /* Brand-tint native form controls (checkbox, date/time picker highlights, …)
     bronze instead of the browser-default blue. */
  accent-color: var(--accent);
  color-scheme: light;
}

/* =========================================================================
   RESET / 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; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 460;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
}
h1 { font-size: var(--fs-h1); font-weight: 480; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 520; }

p { margin: 0 0 1.1em; }
a { color: inherit; }
strong { font-weight: 600; }
em { font-style: italic; }

::selection { background: var(--accent-tint-2); color: var(--ink); }

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

/* =========================================================================
   LAYOUT PRIMITIVES
   ========================================================================= */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section { padding-block: var(--sp-7); }
.section--tight { padding-block: var(--sp-6); }
.section--band  { background: var(--ground-2); }

.measure { max-width: var(--maxw-text); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 var(--sp-3);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.lead { font-size: var(--fs-lead); line-height: 1.4; color: var(--ink); }
.muted { color: var(--ink-soft); }

/* =========================================================================
   BUTTONS / CTA
   ========================================================================= */
.cta {
  --b: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 560;
  letter-spacing: 0.005em;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  background: var(--b);
  color: #fff;
  border: 1px solid var(--b);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.cta:hover { background: #000; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(14,17,22,.16); }
.cta:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.cta .arrow { transition: transform .25s ease; }
.cta:hover .arrow { transform: translateX(3px); }

.cta--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.cta--ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }

.cta--sm { padding: 0.7rem 1.15rem; font-size: 0.9rem; }
.cta--lg { padding: 1.15rem 1.9rem; font-size: 1.05rem; }

/* =========================================================================
   HEADER (sticky, minimal)
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(14,17,22,.02);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  height: 72px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 520;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
/* Compact logomark (W1): slash-sphere brand mark sits left of the wordmark */
.logomark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  flex: none;
}
.logomark svg { width: 100%; height: 100%; display: block; }
.logomark__shine { animation: sv-shine 3.6s ease-in-out infinite; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; overflow: hidden; }
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: var(--sp-5) var(--sp-6);
}
.hero h1 { max-width: 16ch; }
.hero__sub {
  margin-top: var(--sp-4);
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--ink-soft);
}
.hero__sub strong { color: var(--ink); font-weight: 600; }
.hero__actions { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.hero__note { font-size: 0.92rem; color: var(--ink-muted); }

/* Hero vault motif (H1) — a prominent 16:9 banner above the headline:
   the firm's intelligence captured into an owned vault while ungoverned
   knowledge walks out the door. */
.hero__banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 430px;
  margin-top: var(--sp-3);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ECE6D9;
  background: radial-gradient(125% 135% at 30% 40%, #F3EAD8 0%, var(--ground-2) 62%);
}
.hero__banner svg { width: 100%; height: 100%; display: block; }

/* =========================================================================
   ASSET PLACEHOLDERS (reserved space — swap per asset manifest in README)
   ========================================================================= */
.ph {
  position: relative;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg,
      transparent, transparent 11px,
      rgba(154,123,79,0.05) 11px, rgba(154,123,79,0.05) 12px),
    var(--ground-2);
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  text-align: center;
  min-height: 120px;
}
.ph__label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.9rem;
  max-width: 90%;
}
.ph__label b { color: var(--accent-deep); font-weight: 600; letter-spacing: 0.06em; }
.ph__label span { display: block; margin-top: 0.25rem; color: var(--ink-muted); font-size: 0.74rem; }

/* Aspect-ratio variants for specific assets */
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--21x9 { aspect-ratio: 21 / 9; }
.ph--3x2  { aspect-ratio: 3 / 2; }
.ph--1x1  { aspect-ratio: 1 / 1; }
.ph--icon { aspect-ratio: 1 / 1; min-height: 0; }

/* =========================================================================
   PROBLEM — the graveyard of pilots
   ========================================================================= */
.problem h2 { max-width: 18ch; }
.problem__body { margin-top: var(--sp-4); max-width: 60ch; }
.problem__pull {
  margin-top: var(--sp-4);
  padding-left: var(--sp-3);
  border-left: 2px solid var(--accent);
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  line-height: 1.4;
  color: var(--ink);
}

/* =========================================================================
   VAULT CONTRAST — THE centrepiece
   ========================================================================= */
.contrast { background: var(--ink); color: #fff; }
.contrast .eyebrow { color: var(--accent); }
.contrast .eyebrow::before { background: var(--accent); }
.contrast h2 { color: #fff; max-width: 20ch; }
.contrast__intro { color: rgba(255,255,255,0.72); max-width: 56ch; margin-top: var(--sp-3); }

.contrast__stage {
  margin-top: var(--sp-5);
  display: grid;
  grid-template-columns: 1fr 1fr;   /* the two vaults always sit side by side */
  grid-template-rows: auto auto auto auto;  /* tag · title · art · list */
  column-gap: clamp(1rem, 3vw, 2.5rem);
  row-gap: 0;
  align-items: start;
}

.vpanel {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(255,255,255,0.02);
  /* Span all four stage rows and borrow the parent's row tracks (subgrid),
     so tag/title/art/list align across both panels — both vaults share a row. */
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
}
/* Stack on small phones, where two columns are too cramped to read. */
@media (max-width: 420px) {
  .contrast__stage { grid-template-columns: 1fr; }
  .vpanel { grid-row: auto; grid-template-rows: none; }
}
.vpanel--theirs { }
.vpanel--ours {
  border-color: rgba(154,123,79,0.55);
  background:
    linear-gradient(180deg, rgba(154,123,79,0.10), rgba(154,123,79,0.02));
}
.vpanel__tag {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.vpanel--ours .vpanel__tag { color: var(--accent); }
.vpanel__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  margin: 0.6rem 0 var(--sp-2);
  color: #fff;
}

/* Vault art frames (C1 left = hollow vault, right = filling lattice vault) */
.vpanel__art {
  margin: var(--sp-2) 0 var(--sp-3);
  border-radius: 6px;
  border: 1px solid #23282f;
  background: #0E1116;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  padding: clamp(18px, 6%, 40px);
  overflow: hidden;
}
/* Contain the (near-square) vault within the 4:3 frame: capped by BOTH width
   and height so it is never truncated, sits smaller, and stays centred. */
.vpanel__art svg {
  display: block;
  width: auto; height: auto;
  max-width: min(260px, 100%);
  max-height: 100%;
}
.vpanel__art--fill {
  border-color: #3C3014;
  background: #0E0B05;
}

.vlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.vlist li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.45;
}
.vlist li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
}
.vpanel--ours .vlist li { color: rgba(255,255,255,0.92); }
.vpanel--ours .vlist li::before { background: var(--accent); border-color: var(--accent); }

/* =========================================================================
   CATEGORY CLAIM
   ========================================================================= */
.category { background: var(--ground-2); }
.category__claim {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
  max-width: 20ch;
  margin-top: var(--sp-3);
}
.category__claim .accent { color: var(--accent-deep); }
.category__split {
  margin-top: var(--sp-5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}
@media (max-width: 760px) { .category__split { grid-template-columns: 1fr; gap: var(--sp-3); } }
.tier { padding-top: var(--sp-2); border-top: 1px solid var(--line-strong); }
.tier__k {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-muted); margin-bottom: 0.5rem;
}
.tier--own .tier__k { color: var(--accent-deep); }
.tier h4 { margin-bottom: 0.5rem; }
.tier p { color: var(--ink-soft); margin: 0; }

/* =========================================================================
   WHAT WE BUILD — the owned asset
   ========================================================================= */
.asset__grid {
  margin-top: var(--sp-5);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
@media (max-width: 820px) { .asset__grid { grid-template-columns: 1fr; gap: var(--sp-3); } }
.asset__pillar { border-top: 2px solid var(--accent); padding-top: var(--sp-2); }
.asset__pillar .n {
  font-family: var(--font-serif);
  font-size: 0.95rem; color: var(--accent-deep); font-weight: 600;
  letter-spacing: 0.02em;
}
.asset__pillar h4 { margin: 0.5rem 0 0.6rem; }
.asset__pillar p { color: var(--ink-soft); margin: 0; }

.asset__line {
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  background: var(--accent-tint);
  border: 1px solid var(--accent-tint-2);
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
}

/* =========================================================================
   SOVEREIGNTY LADDER
   ========================================================================= */
.ladder__grid {
  margin-top: var(--sp-5);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 880px) { .ladder__grid { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  position: relative;
  counter-increment: step;
  padding: var(--sp-3) 0 var(--sp-3) 3.4rem;
  border-bottom: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: var(--sp-3);
  width: 2.2rem; height: 2.2rem;
  border: 1px solid var(--accent);
  color: var(--accent-deep);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 0.95rem;
}
.steps h4 { margin-bottom: 0.3rem; }
.steps p { margin: 0; color: var(--ink-soft); }
.steps .step__rev { display:block; margin-top:0.4rem; font-size:0.92rem; color: var(--accent-deep); }
.ladder__art {
  border: 1px solid #EAE4D6;
  border-radius: 8px;
  background: var(--ground);
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
}
.ladder__art svg { width: 100%; height: auto; display: block; }
.ladder__proof {
  margin-top: var(--sp-3);
  font-family: var(--font-serif);
  font-size: var(--fs-h4);
  line-height: 1.4;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding-left: var(--sp-3);
}

/* =========================================================================
   FOUNDATIONS (ERP & HR) — downstream attach, visually lighter
   ========================================================================= */
.foundations { background: var(--ground-2); }
.foundations__head { max-width: 60ch; }
.foundations__grid {
  margin-top: var(--sp-4);
  display: grid;
  grid-template-columns: 1.6fr 1fr;   /* ERP larger than HR */
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
@media (max-width: 760px) { .foundations__grid { grid-template-columns: 1fr; } }
.foundation {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-2);
  padding: var(--sp-3);
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.foundation h4 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.foundation p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.foundation__mark { /* F1 icon slot — ERP (the plinth) */
  width: 56px; height: 56px;
  display: grid; place-items: center;
}
.foundation__mark svg { width: 100%; height: 100%; display: block; }
.foundation__mark--hr { width: 46px; height: 46px; } /* HR lighter than ERP */
.foundations__note { margin-top: var(--sp-3); font-size: 0.92rem; color: var(--ink-muted); }

/* =========================================================================
   WHY NOW — dated anchors
   ========================================================================= */
.whynow__grid {
  margin-top: var(--sp-5);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4rem);
}
@media (max-width: 760px) { .whynow__grid { grid-template-columns: 1fr; } }
.anchor { border-top: 1px solid var(--line-strong); padding-top: var(--sp-2); }
.anchor__k {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--accent-deep); margin-bottom: 0.5rem;
}
.anchor h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.anchor p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
.anchor .fig { color: var(--ink); font-weight: 600; }
.whynow__caveat {
  margin-top: var(--sp-4); font-size: 0.84rem; color: var(--ink-muted);
  max-width: 70ch; font-style: italic;
}

/* =========================================================================
   CLOSING CTA
   ========================================================================= */
.closing { background: var(--ink); color: #fff; text-align: center; }
.closing__glyph {
  width: clamp(120px, 18vw, 168px);
  margin: 0 auto var(--sp-3);
}
.closing__glyph svg { width: 100%; height: auto; display: block; }
.closing h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.closing p { color: rgba(255,255,255,0.74); max-width: 52ch; margin: var(--sp-3) auto var(--sp-4); }
.closing .cta { background: #fff; color: var(--ink); border-color: #fff; }
.closing .cta:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); box-shadow: 0 10px 30px rgba(154,123,79,.3); }
.closing__sub { margin-top: var(--sp-3); font-size: 0.9rem; color: rgba(255,255,255,0.5); }
.closing__sub a { color: rgba(255,255,255,0.8); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--ground);
  border-top: 1px solid var(--line);
  padding-block: var(--sp-5) var(--sp-4);
}
.site-footer__inner {
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  justify-content: space-between; align-items: flex-start;
}
.site-footer .wordmark { font-size: 1.15rem; }
.footer__tag { margin-top: 0.6rem; color: var(--ink-muted); font-size: 0.92rem; max-width: 34ch; }
.footer__cols { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.footer__col h5 {
  margin: 0 0 0.7rem; font-family: var(--font-sans);
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600;
}
.footer__col a, .footer__col span {
  display: block; color: var(--ink-soft); text-decoration: none;
  font-size: 0.95rem; margin-bottom: 0.4rem;
}
.footer__col a:hover { color: var(--accent-deep); }
.footer__legal {
  margin-top: var(--sp-4); padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4);
  justify-content: space-between;
  font-size: 0.82rem; color: var(--ink-muted);
}

/* =========================================================================
   SCROLL REVEAL (progressive enhancement — see main.js)
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* If JS is off, show everything immediately (no reveal animation). */
.no-js .reveal { opacity: 1; transform: none; transition: none; }

/* Reduced-motion: no movement, content fully visible. */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   ACCESSIBILITY HELPERS
   ========================================================================= */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.7rem 1.1rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }

/* Visually hidden but available to screen readers */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* =========================================================================
   MOTIF MOTION (asset SVGs: hero, vault fill, ladder sweep, foundation marks,
   logomark sheen). All gentle, looping, and disabled under reduced-motion.
   ========================================================================= */
@keyframes sv-fill     { 0%,100% { opacity: .4; } 50% { opacity: 1; } }
@keyframes sv-breathe  { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes sv-bob      { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes sv-sweepL   { 0% { transform: translateX(-300px); } 100% { transform: translateX(300px); } }
@keyframes sv-shine    { 0% { transform: translate(-52px,-52px); opacity: 0; } 25% { opacity: .9; } 75% { opacity: .9; } 100% { transform: translate(52px,52px); opacity: 0; } }
@keyframes sv-emit     { 0% { transform: translate(0,0); opacity: 0; } 12% { opacity: 1; } 82% { opacity: .85; } 100% { transform: translate(720px,58px); opacity: 0; } }
@keyframes sv-fillrise { 0% { transform: translateY(150px); opacity: 0; } 16% { opacity: 1; } 84% { opacity: 1; } 100% { transform: translateY(-184px); opacity: 0; } }

/* Honour reduced-motion: freeze every looping motif animation. */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}

/* =========================================================================
   REQUEST-A-BRIEFING MODAL
   Uses the site's existing design tokens — inherits the page's type & colour.
   ========================================================================= */
.briefing-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 6vh, 5rem) 1rem 2rem;
  overflow-y: auto;
  /* Solid ink scrim — NO backdrop-filter. blur() here forced Safari to
     re-rasterise the whole viewport on every keystroke repaint (the inputs
     are children of this element) → laggy open + slow typing. A clean opaque
     scrim is universally smooth. */
  background: rgba(14, 17, 22, 0.66);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}
.briefing-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.briefing-modal {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(14, 17, 22, .28);
  padding: clamp(1.4rem, 3vw, 2rem);
  transform: translateY(8px);
  transition: transform .28s ease;
}
.briefing-overlay.is-open .briefing-modal { transform: translateY(0); }

.briefing-close {
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-muted);
  background: none;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.briefing-close:hover { color: var(--ink); background: var(--ground-2); }

.briefing-title { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.65rem); margin: 0 0 0.35rem; line-height: 1.1; }
.briefing-sub { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.45; margin: 0 0 1.1rem; }

/* 2-column grid so all 6 fields fit one screen without scrolling */
.briefing-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 0.9rem; }
.briefing-form > .bf-span,
.briefing-form > .briefing-submit,
.briefing-form > .bf-status,
.briefing-form > .bf-fineprint { grid-column: 1 / -1; }
.bf-field { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
@media (max-width: 540px) { .briefing-form { grid-template-columns: 1fr; } }
.bf-field label {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.bf-opt {
  font-weight: 400;
  font-size: 0.74rem;
  color: var(--ink-muted);
  text-transform: lowercase;
  letter-spacing: 0;
}
.bf-field input,
.bf-field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.58rem 0.75rem;
  width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.bf-field textarea { resize: vertical; min-height: 2.4rem; }
/* invalid field feedback (after the user has interacted) */
.bf-field input:user-invalid,
.bf-field textarea:user-invalid { border-color: #B4452F; box-shadow: 0 0 0 3px rgba(180,69,47,.12); }
.bf-field input:focus,
.bf-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(154, 123, 79, .16);
}

.briefing-hp { display: none; }   /* anti-spam honeypot — never shown */

/* inline validation error text (shown under a field on a failed submit) */
.bf-err { margin: 0.25rem 0 0; font-size: 0.78rem; line-height: 1.3; color: #B4452F; }
.bf-err[hidden] { display: none; }

.briefing-submit { width: 100%; justify-content: center; margin-top: 0.35rem; }
.briefing-submit[disabled] { opacity: 0.6; cursor: progress; }

.bf-status { font-size: 0.88rem; line-height: 1.45; margin: 0.1rem 0 0; min-height: 0; }
.bf-status.is-error { color: #B4452F; }
.bf-fineprint {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-muted);
  text-align: center;
  margin: 0.6rem 0 0;
}

.briefing-pane[data-pane="success"] { text-align: center; padding: 0.5rem 0 0.4rem; }
.briefing-success__mark { margin: 0.2rem auto 0.9rem; }
.briefing-pane[data-pane="success"] .cta { margin-top: 1.2rem; }

body.briefing-open { overflow: hidden; }

@media (max-width: 480px) {
  .briefing-overlay { padding: 0; align-items: stretch; }
  .briefing-modal { max-width: none; min-height: 100%; border: 0; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .briefing-overlay, .briefing-modal { transition: none; }
}

/* =========================================================================
   PERFORMANCE — render & animation efficiency (no visual change on-screen)
   - content-visibility skips off-screen sections on initial paint AND pauses
     their looping motifs until scrolled into view (the hero is excluded, it's
     above the fold). contain-intrinsic-size reserves space to avoid jumps.
   - .anim-off / html.anims-paused freeze looping motifs for the hero when it
     scrolls away and for the whole page when the tab is hidden (battery/CPU).
   ========================================================================= */
.section {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}
.anim-off [style*="animation"],
.anim-off .logomark__shine,
html.anims-paused [style*="animation"],
html.anims-paused .logomark__shine {
  animation-play-state: paused !important;
}

/* =========================================================================
   MODAL SMOOTHNESS
   Reserve scrollbar space so opening the modal doesn't shift the layout.
   (The previous backdrop-filter blur — the real lag cause — has been removed
   from .briefing-overlay, so no animation-pause workaround is needed.)
   ========================================================================= */
html { scrollbar-gutter: stable; }

/* =========================================================================
   CUSTOM DATE + TIME PICKER (bronze) — replaces the native datetime-local,
   whose blue popup chrome can't be themed via CSS. Fully self-rendered.
   ========================================================================= */
.bf-dt { position: relative; }
.bf-dt-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  width: 100%;
  font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 0.58rem 0.75rem; cursor: pointer; text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.bf-dt-trigger:hover { border-color: var(--accent); }
.bf-dt.is-open .bf-dt-trigger,
.bf-dt-trigger:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(154,123,79,.16); }
.bf-dt-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-dt-text[data-empty] { color: var(--ink-muted); }
.bf-dt-ico { color: var(--accent); flex: none; }
.bf-dt.is-invalid .bf-dt-trigger { border-color: #B4452F; box-shadow: 0 0 0 3px rgba(180,69,47,.12); }

.bf-dt-pop {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 20;
  display: flex; gap: 0.6rem;
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(14,17,22,.22); padding: 0.7rem;
  max-width: calc(100vw - 2rem);
}
.bf-dt-pop[hidden] { display: none; }   /* must beat .bf-dt-pop{display:flex} */
.bf-dt-cal { width: 224px; }
.bf-dt-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.4rem; }
.bf-dt-mon { font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.bf-dt-nav {
  width: 1.7rem; height: 1.7rem; display: grid; place-items: center;
  background: none; border: 0; border-radius: var(--radius); cursor: pointer;
  font-size: 1.2rem; line-height: 1; color: var(--ink-soft);
}
.bf-dt-nav:hover { background: var(--accent-tint); color: var(--accent-deep); }
.bf-dt-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.bf-dt-wd span { font-size: 0.68rem; color: var(--ink-muted); padding: 0.2rem 0; }
.bf-dt-day {
  aspect-ratio: 1; display: grid; place-items: center;
  border: 0; background: none; border-radius: 50%;   /* round = calendar day, not a checkbox */
  font-family: var(--font-sans); font-size: 0.8rem; color: var(--ink); cursor: pointer;
}
.bf-dt-day:hover:not(:disabled) { background: var(--accent-tint); }
.bf-dt-day.is-today:not(.is-sel) { color: var(--accent-deep); font-weight: 700; }  /* bold bronze number */
.bf-dt-day.is-sel { background: var(--accent); color: #fff; }
.bf-dt-day:disabled { color: var(--ink-muted); opacity: 0.4; cursor: default; }

.bf-dt-times {
  width: 92px; display: flex; flex-direction: column; gap: 2px;
  max-height: 232px; overflow-y: auto;
  border-left: 1px solid var(--line); padding-left: 0.5rem;
}
.bf-dt-time {
  border: 0; background: none; border-radius: var(--radius); cursor: pointer;
  font-family: var(--font-sans); font-size: 0.8rem; color: var(--ink);
  padding: 0.35rem 0.4rem; white-space: nowrap; text-align: center;
}
.bf-dt-time:hover { background: var(--accent-tint); }
.bf-dt-time.is-sel { background: var(--accent); color: #fff; }

@media (max-width: 540px) {
  .bf-dt-pop { left: 0; right: 0; max-width: none; }
}
