/* F&B Codex — design system v0.4
 * References studied: Stripe (gradient discipline, prove-it hero), Linear (dark mode + Inter Tight + bento),
 * Apple (display-type scale + breathing room), Iota (tech-forward gradient washes), Lemonade (accent
 * color confidence), Royal Caribbean (editorial pacing + serif pull-quotes).
 *
 * Identity: a dark-mode editorial-technical product. Geist for type. Luminous gold as the single accent.
 * Gradient aurora washes at section transitions. Findings cards + audit footers are the visual signature.
 */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800;900&family=Geist+Mono:wght@400;500;600&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  /* Palette — dark base, warm whites, luminous gold */
  --bg-deep:      #0A0E1A;
  --bg-surface:   #0F1424;
  --bg-card:      #141B30;
  --bg-card-hi:   #1B2440;
  --bg-elevated:  #1F2A47;
  --rule:         rgba(255,255,255,0.08);
  --rule-2:       rgba(255,255,255,0.14);
  --rule-strong:  rgba(255,255,255,0.22);

  --ink:          #F2EEE3;          /* warm bone white */
  --ink-2:        #C8C5BC;
  --ink-3:        #8B8FA3;
  --ink-4:        #5C617A;

  --gold:         #E8B547;           /* signature accent */
  --gold-hi:      #F4CD6E;
  --gold-lo:      #B88727;
  --gold-soft:    rgba(232,181,71,0.14);
  --gold-glow:    rgba(232,181,71,0.32);
  --gold-faint:   rgba(232,181,71,0.06);

  --green:        #5FC988;
  --green-soft:   rgba(95,201,136,0.12);
  --red:          #FF7461;
  --red-soft:     rgba(255,116,97,0.12);
  --amber:        #FFB54A;
  --amber-soft:   rgba(255,181,74,0.14);
  --violet:       #9B7BFF;
  --violet-soft:  rgba(155,123,255,0.12);

  /* Aurora gradient — used as section transition washes */
  --aurora-warm:  radial-gradient(120% 60% at 80% 0%, rgba(232,181,71,0.22) 0%, transparent 55%),
                  radial-gradient(80% 60% at 10% 100%, rgba(155,123,255,0.18) 0%, transparent 55%);
  --aurora-cool:  radial-gradient(100% 60% at 50% 0%, rgba(155,123,255,0.16) 0%, transparent 60%),
                  radial-gradient(60% 40% at 20% 100%, rgba(232,181,71,0.12) 0%, transparent 60%);

  /* Type */
  --font:         "Geist", -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono:         "Geist Mono", "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --serif:        "Instrument Serif", "Iowan Old Style", Georgia, serif;

  /* Layout */
  --w-page:       1180px;
  --w-wide:       1320px;
  --w-narrow:     780px;
  --pad:          32px;
  --r-sm:         8px;
  --r:            16px;
  --r-lg:         24px;
  --r-xl:         32px;
  --r-pill:       999px;

  /* Shadows on dark — combine layered + accent glow */
  --shadow-sm:    0 1px 0 rgba(255,255,255,0.04) inset, 0 1px 2px rgba(0,0,0,0.4);
  --shadow:       0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 60px rgba(0,0,0,0.5);
  --shadow-glow:  0 0 0 1px rgba(232,181,71,0.30), 0 30px 80px rgba(232,181,71,0.18), 0 0 60px rgba(232,181,71,0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg-deep); }
body {
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--ink); }

.wrap        { max-width: var(--w-page);   margin: 0 auto; padding: 0 var(--pad); }
.wrap-wide   { max-width: var(--w-wide);   margin: 0 auto; padding: 0 var(--pad); }
.wrap-narrow { max-width: var(--w-narrow); margin: 0 auto; padding: 0 var(--pad); }

/* ============================================================ */
/* NAV                                                          */
/* ============================================================ */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,14,26,0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
nav.top .inner {
  max-width: var(--w-wide); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
}
nav.top .brand {
  font-weight: 700; font-size: 24px;
  color: var(--ink); letter-spacing: -0.03em;
  line-height: 1; display: inline-flex; align-items: baseline; gap: 10px;
}
nav.top .brand:hover { color: var(--ink); }
nav.top .brand em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--gold); font-size: 32px; letter-spacing: -0.02em;
  line-height: 1;
}
nav.top .links { display: flex; gap: 4px; align-items: center; }
nav.top .links a {
  color: var(--ink-2); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--r-pill);
  letter-spacing: -0.005em; transition: color .15s, background .15s;
}
nav.top .links a:hover { color: var(--ink); background: var(--rule); }
nav.top .links a.active { color: var(--ink); background: var(--rule); }
nav.top .links a.cta {
  background: var(--ink); color: var(--bg-deep);
  padding: 9px 18px; font-weight: 600; font-size: 14px;
  margin-left: 8px;
}
nav.top .links a.cta:hover { background: var(--gold); color: var(--bg-deep); }

/* ============================================================ */
/* HERO                                                         */
/* ============================================================ */
header.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 70% -10%, rgba(232,181,71,0.18) 0%, transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(155,123,255,0.12) 0%, transparent 55%),
    var(--bg-deep);
}
header.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(80% 80% at 50% 30%, #000 0%, transparent 80%);
}

header.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: 12px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--gold-soft);
  border: 1px solid rgba(232,181,71,0.20);
  margin-bottom: 28px;
}
header.hero .eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 8px var(--gold);
}

header.hero h1 {
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 960px;
}
header.hero h1 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--gold); letter-spacing: -0.03em;
}
header.hero .sub {
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--ink-2);
  font-weight: 400;
  max-width: 640px;
  margin: 0 0 40px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
header.hero .row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================ */
/* BUTTONS                                                      */
/* ============================================================ */
.btn { font-family: var(--font); cursor: pointer; border: none; }
.btn-primary {
  background: var(--gold);
  color: var(--bg-deep);
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-sm), 0 0 0 0 rgba(232,181,71,0);
  transition: background .15s, box-shadow .2s, transform .08s;
}
.btn-primary:hover {
  background: var(--gold-hi); color: var(--bg-deep);
  box-shadow: var(--shadow-sm), 0 0 28px rgba(232,181,71,0.4);
}
.btn-primary:active { transform: translateY(1px); }

.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: -0.005em;
  border: 1px solid var(--rule-2);
  transition: background .15s, border-color .15s, color .15s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--rule-strong);
  color: var(--ink);
}

/* ============================================================ */
/* SECTIONS                                                     */
/* ============================================================ */
section { padding: 120px 0; position: relative; }
section.aurora-warm { background: var(--aurora-warm), var(--bg-deep); }
section.aurora-cool { background: var(--aurora-cool), var(--bg-deep); }
section.surface { background: var(--bg-surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.section-eyebrow {
  display: inline-block;
  color: var(--gold); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 22px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--gold-soft);
  border: 1px solid rgba(232,181,71,0.18);
}

h2.section {
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 20px;
  max-width: 880px;
}
h2.section em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--gold);
}
p.section-sub {
  color: var(--ink-2);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  font-weight: 400;
  max-width: 680px; margin: 0 0 56px;
  letter-spacing: -0.005em;
}

/* ============================================================ */
/* GRIDS                                                        */
/* ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Bento — Linear-style irregular grid */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
.bento .tile { grid-column: span 2; }
.bento .tile.x3 { grid-column: span 3; }
.bento .tile.x4 { grid-column: span 4; }
.bento .tile.x6 { grid-column: span 6; }
.bento .tile.y2 { grid-row: span 2; }

/* ============================================================ */
/* CARDS / TILES                                                */
/* ============================================================ */
.card, .tile {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  transition: background .2s, border-color .2s, transform .2s;
}
.card:hover, .tile:hover {
  background: var(--bg-card-hi);
  border-color: var(--rule-2);
}
.card h3, .tile h3 {
  font-weight: 600; font-size: 22px;
  color: var(--ink);
  margin: 14px 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.card p, .tile p {
  margin: 0; color: var(--ink-3);
  font-size: 15px; line-height: 1.6; font-weight: 400;
  letter-spacing: -0.005em;
}
.card p strong, .tile p strong { color: var(--ink-2); font-weight: 600; }

.card .num, .card .eyebrow,
.tile .num, .tile .eyebrow {
  display: inline-block;
  color: var(--gold); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
}

.card.dashed { background: transparent; border: 1.5px dashed var(--rule-2); }
.card.feature { padding: 40px; }

/* Tile gradient halos */
.tile.glow-warm::before, .tile.glow-cool::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none; opacity: .8;
}
.tile.glow-warm::before {
  background: radial-gradient(120% 100% at 100% 0%, rgba(232,181,71,0.16) 0%, transparent 55%);
}
.tile.glow-cool::before {
  background: radial-gradient(120% 100% at 0% 100%, rgba(155,123,255,0.18) 0%, transparent 55%);
}
.tile > * { position: relative; z-index: 1; }

/* ============================================================ */
/* STATS                                                        */
/* ============================================================ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 56px 0;
  background: rgba(255,255,255,0.015);
}
.stat { padding: 0 32px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: none; }
.stat .num {
  font-weight: 700;
  font-size: clamp(40px, 4.4vw, 60px);
  color: var(--ink);
  line-height: 1; letter-spacing: -0.045em;
}
.stat .num em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--gold);
}
.stat .label {
  font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-top: 14px; font-weight: 600;
}
.stat .sub { font-size: 13px; color: var(--ink-3); margin-top: 8px; }

/* ============================================================ */
/* PULL QUOTE                                                   */
/* ============================================================ */
.pull {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-style: italic;
  color: var(--ink);
  padding: 36px 0;
  border-left: 0;
  margin: 32px 0;
  position: relative;
  padding-left: 32px;
}
.pull::before {
  content: ""; position: absolute; left: 0; top: 36px; bottom: 36px;
  width: 2px; background: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
}
.pull strong { font-family: var(--font); font-style: normal; font-weight: 600; color: var(--gold-hi); }
.pull em { font-style: normal; color: var(--gold); font-family: var(--font); font-weight: 600; }

/* ============================================================ */
/* FINDINGS TABLE                                               */
/* ============================================================ */
table.findings {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 14px;
}
table.findings th {
  background: var(--bg-elevated); color: var(--ink-2);
  text-align: left;
  padding: 18px 20px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-bottom: 1px solid var(--rule);
}
table.findings td {
  padding: 20px;
  border-top: 1px solid var(--rule);
  vertical-align: top;
  color: var(--ink-2); font-weight: 400;
  line-height: 1.55;
}
table.findings tr:first-child td { border-top: none; }
.sev-block, .sev-warn, .sev-pass {
  display: inline-block;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: var(--r-pill);
}
.sev-block { color: var(--red); background: var(--red-soft); }
.sev-warn  { color: var(--amber); background: var(--amber-soft); }
.sev-pass  { color: var(--green); background: var(--green-soft); }

/* ============================================================ */
/* CODE                                                         */
/* ============================================================ */
code, pre, .mono { font-family: var(--mono); }
code {
  background: rgba(255,255,255,0.06);
  padding: 2px 7px; border-radius: 6px;
  font-size: 0.88em; color: var(--gold-hi);
  border: 1px solid var(--rule);
  font-weight: 500;
}
pre {
  background: var(--bg-card);
  color: var(--ink-2);
  padding: 28px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--rule);
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: -0.005em;
}
pre code { background: transparent; border: none; color: inherit; padding: 0; font-size: inherit; }
pre .k { color: var(--gold-hi); }
pre .s { color: var(--green); }
pre .n { color: var(--violet); }
pre .c { color: var(--ink-4); font-style: italic; }

/* ============================================================ */
/* HERO PROVE-IT CARD — the signature visual                    */
/* ============================================================ */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.proof {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow), 0 0 40px var(--gold-faint);
}
.proof::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 100% 0%, rgba(232,181,71,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.proof .pf-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--rule);
  background: rgba(255,255,255,0.02);
  position: relative; z-index: 1;
}
.proof .pf-head .dots { display: flex; gap: 6px; }
.proof .pf-head .dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.proof .pf-head .meta { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0; }
.proof .pf-head .badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); background: var(--green-soft);
  padding: 4px 10px; border-radius: var(--r-pill);
}
.proof .pf-head .badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
}
.proof .pf-body { padding: 28px; position: relative; z-index: 1; }
.proof .pf-doc-label {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 6px;
}
.proof .pf-doc-title {
  font-weight: 600; font-size: 18px; color: var(--ink);
  margin: 0 0 18px; letter-spacing: -0.02em;
}
.proof .pf-row {
  display: flex; gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  align-items: flex-start;
}
.proof .pf-row:first-of-type { border-top: 1px solid var(--rule); }
.proof .pf-text { color: var(--ink-2); flex: 1; line-height: 1.5; font-weight: 400; }
.proof .pf-text .cite {
  display: block; margin-top: 2px;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-4); letter-spacing: 0;
}
.proof .pf-foot {
  padding: 20px 24px;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-3); line-height: 1.6;
  position: relative; z-index: 1;
}
.proof .pf-foot .audit-key { color: var(--gold-hi); }
.proof .pf-foot .audit-val { color: var(--ink-2); }
.proof .pf-foot .audit-line { display: block; }

/* ============================================================ */
/* CTA STRIP                                                    */
/* ============================================================ */
.cta-strip {
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(232,181,71,0.22) 0%, transparent 55%),
    radial-gradient(60% 80% at 0% 100%, rgba(155,123,255,0.16) 0%, transparent 55%),
    var(--bg-card);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-xl);
  padding: 56px;
  display: grid; grid-template-columns: 2fr auto;
  align-items: center;
  gap: 40px;
  box-shadow: var(--shadow);
}
.cta-strip h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15; letter-spacing: -0.03em;
  margin: 0; color: var(--ink);
  max-width: 640px;
}
.cta-strip h3 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--gold);
}

/* ============================================================ */
/* FAQ                                                          */
/* ============================================================ */
details.card {
  padding: 22px 28px;
  border-radius: var(--r);
}
details.card summary {
  cursor: pointer; list-style: none;
  font-weight: 600; font-size: 17px;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  letter-spacing: -0.015em;
}
details.card summary::-webkit-details-marker { display: none; }
details.card summary::after {
  content: "+";
  color: var(--gold); font-size: 24px; font-weight: 400; line-height: 1;
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform .2s;
}
details.card[open] summary::after { content: "–"; }
details.card[open] summary { margin-bottom: 14px; }
details.card p {
  margin: 0; color: var(--ink-3); font-size: 15px; line-height: 1.65; font-weight: 400;
}

/* ============================================================ */
/* TAGS                                                         */
/* ============================================================ */
.tag {
  display: inline-block; font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--r-pill);
  font-family: var(--mono);
}
.tag-live   { background: var(--green-soft);  color: var(--green); }
.tag-build  { background: var(--gold-soft);   color: var(--gold); }
.tag-scoped { background: rgba(255,255,255,0.06); color: var(--ink-3); }

/* ============================================================ */
/* PROSE                                                        */
/* ============================================================ */
.prose p {
  font-size: 18px; line-height: 1.65;
  color: var(--ink-2); margin: 0 0 22px;
  max-width: 720px; font-weight: 400;
  letter-spacing: -0.005em;
}
.prose ul, .prose ol {
  font-size: 18px; line-height: 1.65;
  color: var(--ink-2); max-width: 720px;
  padding-left: 24px; font-weight: 400;
  letter-spacing: -0.005em;
}
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose h3 {
  font-weight: 700; font-size: 28px;
  color: var(--ink);
  margin: 56px 0 16px;
  letter-spacing: -0.025em; line-height: 1.15;
}
.prose h3 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--gold);
}

/* ============================================================ */
/* TIMELINE — how it works                                      */
/* ============================================================ */
.timeline { position: relative; padding-left: 40px; max-width: 760px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--rule) 100%);
}
.timeline .node {
  position: relative; padding: 0 0 56px 0;
}
.timeline .node::before {
  content: ""; position: absolute; left: -40px; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
}
.timeline .node .label {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--gold); letter-spacing: 0.10em; text-transform: uppercase;
  margin-bottom: 8px;
}
.timeline .node h3 {
  font-weight: 700; font-size: 26px;
  color: var(--ink); margin: 0 0 12px;
  letter-spacing: -0.025em; line-height: 1.2;
}
.timeline .node h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
.timeline .node p { color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 620px; }

/* ============================================================ */
/* FOOTER                                                       */
/* ============================================================ */
footer {
  background: var(--bg-deep);
  color: var(--ink-3);
  padding: 80px 0 36px;
  border-top: 1px solid var(--rule);
}
footer .top-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 64px;
}
footer .brand-mark {
  font-weight: 700; font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.035em; line-height: 1.1;
  margin-bottom: 18px;
  display: inline-flex; align-items: baseline; gap: 10px;
}
footer .brand-mark em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--gold); font-size: 38px; letter-spacing: -0.025em; line-height: 1;
}
footer p { color: var(--ink-3); font-size: 14px; max-width: 360px; font-weight: 400; line-height: 1.55; }
footer h4 {
  font-weight: 600; font-size: 11px; color: var(--ink);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin: 0 0 20px;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 12px; }
footer a {
  color: var(--ink-3); font-size: 14px; font-weight: 400;
}
footer a:hover { color: var(--gold); }
footer .bottom {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--ink-4);
  flex-wrap: wrap; gap: 12px;
  font-family: var(--mono); letter-spacing: 0;
}

/* ============================================================ */
/* UTILITIES + ANIMATIONS                                        */
/* ============================================================ */
.eyebrow {
  color: var(--gold); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.muted { color: var(--ink-3); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
.divider {
  height: 1px; background: var(--rule); margin: 96px 0; max-width: 200px;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    section .reveal,
    .card, .tile, .stat, .timeline .node {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
    @keyframes reveal-up {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }
  }
}

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */
@media (max-width: 980px) {
  header.hero { padding: 80px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  section { padding: 72px 0; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento .tile, .bento .tile.x3, .bento .tile.x4, .bento .tile.x6 { grid-column: span 1; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .stat { border-right: none; padding: 16px 24px; }
  .stat:nth-child(odd) { border-right: 1px solid var(--rule); }
  .cta-strip { grid-template-columns: 1fr; padding: 36px; gap: 24px; }
  footer .top-row { grid-template-columns: 1fr 1fr; gap: 32px; }
  nav.top .links a:not(.cta):not(.brand) { display: none; }
  nav.top .inner { padding: 14px var(--pad); }
}
@media (max-width: 560px) {
  :root { --pad: 22px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--rule); padding-bottom: 24px; }
  .stat:last-child { border-bottom: none; }
  footer .top-row { grid-template-columns: 1fr; }
}
