/* ============================================================
   DealDeed — Design system v2
   ink #08111F · cream #F4F0E8 · gold #C9973A · teal #1E7A65
   Cormorant (display serif) · Manrope (sans) · JetBrains Mono
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..600;1,300..600&family=Manrope:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --ink:        #08111F;
  --ink-deep:   #060D18;
  --ink-mid:    #0E1C30;
  --ink-light:  #152540;

  --cream:      #F4F0E8;
  --body:       rgba(244,240,232,0.78);
  --muted:      rgba(244,240,232,0.55);
  --dim:        rgba(244,240,232,0.40);
  --border:     rgba(244,240,232,0.10);
  --border-l:   rgba(244,240,232,0.20);

  --gold:       #C9973A;
  --gold-l:     #E2B96A;
  --gold-xl:    #F0D090;
  --gold-dim:   rgba(201,151,58,0.08);
  --gold-b:     rgba(201,151,58,0.30);
  --gold-glow:  rgba(201,151,58,0.14);

  --teal:       #1E7A65;
  --teal-l:     #27A085;
  --teal-dim:   rgba(30,122,101,0.10);
  --teal-b:     rgba(30,122,101,0.30);

  --max:        1180px;
  --gutter:     24px;
  --ease:       cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(1100px 700px at 85% -120px, var(--gold-glow), transparent 62%),
    radial-gradient(900px 700px at -180px 45%, rgba(30,122,101,0.06), transparent 60%),
    var(--ink);
  background-attachment: fixed;
  color: var(--cream);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--gold); color: var(--ink); }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--cream);
}
h1 { font-size: clamp(44px, 7vw, 78px); }
h2 { font-size: clamp(34px, 4.6vw, 54px); }
h3 { font-size: clamp(23px, 2.6vw, 30px); line-height: 1.15; }
h4 { font-size: clamp(18px, 2vw, 22px); }
em { font-style: italic; color: var(--gold-l); }
p { color: var(--body); }
p + p { margin-top: 14px; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* ── Eyebrow ── */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(201,151,58,0.25));
  flex-shrink: 0;
}

/* ── Layout ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 104px 0; border-top: 1px solid var(--border); position: relative; }
.section:first-of-type { border-top: 0; }
.section-tight { padding: 60px 0; }
main > .section:nth-of-type(even) { background: rgba(6,13,24,0.55); }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,17,31,0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(8,17,31,0.92);
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.brand {
  font-family: 'Cormorant', serif;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.brand em { color: var(--gold-l); font-style: italic; }
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  background: var(--gold);
  color: var(--ink) !important;
  padding: 9px 18px;
  font-weight: 600;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.nav-cta:hover { background: var(--gold-l); transform: translateY(-1px); }

.nav-toggle { display: none; width: 34px; height: 34px; position: relative; }
.nav-toggle span {
  position: absolute; left: 5px; right: 5px; height: 1.5px;
  background: var(--cream);
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 11px; }
.nav-toggle span:nth-child(2) { top: 17px; }
.nav-toggle span:nth-child(3) { top: 23px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.015em;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  color: var(--ink);
}
.btn-gold:hover { box-shadow: 0 10px 32px -8px rgba(201,151,58,0.45); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--border-l); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-l); }
.btn-teal { background: var(--teal); color: var(--cream); }
.btn-teal:hover { background: var(--teal-l); }
.btn-lg { padding: 17px 34px; font-size: 15px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Boxes ── */
.box {
  background: linear-gradient(180deg, var(--ink-mid), rgba(14,28,48,0.55));
  border: 1px solid var(--border);
  border-top: 1px solid var(--border-l);
  padding: 36px 32px;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.box:hover { border-color: var(--gold-b); }
.box-gold {
  background: linear-gradient(180deg, rgba(201,151,58,0.10), rgba(201,151,58,0.04));
  border: 1px solid var(--gold-b);
  padding: 36px 32px;
}

/* ── Hero ── */
.hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-l), transparent);
}
.hero h1 { max-width: 920px; margin-bottom: 26px; }
.hero-lede {
  font-size: clamp(17px, 1.85vw, 20px);
  color: var(--body);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}

/* ── Steps ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 16px;
}
.step {
  padding: 30px 0 0;
  border-top: 1px solid var(--border-l);
  position: relative;
}
.step::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 52px; height: 1px;
  background: var(--gold);
}
.step-num {
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-size: 52px;
  font-weight: 400;
  color: var(--gold);
  opacity: .85;
  line-height: 1;
  margin-bottom: 16px;
}
.step-title {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.step-body { font-size: 14.5px; color: var(--muted); line-height: 1.75; }

/* ── Verified deals grid (legacy multi-card) ── */
.vd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  margin-top: 28px;
}
.vd-card { background: var(--ink); padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; min-height: 180px; }
.vd-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.vd-area { font-family: 'Cormorant', serif; font-size: 22px; font-weight: 500; color: var(--cream); line-height: 1.15; }
.vd-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid var(--teal-b); background: var(--teal-dim); color: var(--teal-l);
  white-space: nowrap;
}
.vd-discount { margin-top: auto; font-family: 'Cormorant', serif; font-size: 36px; font-weight: 500; color: var(--gold-l); line-height: 1; }
.vd-empty { border: 1px dashed var(--border-l); padding: 56px 32px; text-align: center; }
.vd-empty p { color: var(--muted); max-width: 460px; margin: 0 auto; font-size: 15px; }

/* ── Feature card (latest deal / opportunity) ── */
.vd-feature {
  background: linear-gradient(180deg, var(--ink-mid), rgba(14,28,48,0.6));
  border: 1px solid var(--border);
  max-width: 880px;
  margin-top: 36px;
  position: relative;
}
.vd-feature::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(201,151,58,0.05));
}
.vd-feature-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 22px 36px; border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.vd-feature-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
}
.vd-feature-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--gold-b); background: var(--gold-dim); color: var(--gold-l);
  white-space: nowrap;
}
.vd-feature-status.completed { border-color: var(--teal-b); background: var(--teal-dim); color: var(--teal-l); }
.vd-feature-meta { padding: 34px 36px 30px; border-bottom: 1px solid var(--border); }
.vd-feature-type {
  font-family: 'Cormorant', serif;
  font-size: 32px; font-weight: 500; color: var(--cream);
  line-height: 1.2; letter-spacing: -0.005em;
}
.vd-feature-spec { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.6; }
.vd-feature-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.vd-feature-figure { padding: 40px 36px; border-right: 1px solid var(--border); }
.vd-feature-figure:last-child { border-right: 0; }
.vd-feature-num {
  font-family: 'Cormorant', serif;
  font-size: 60px; font-weight: 500; color: var(--gold-l);
  line-height: 1; letter-spacing: -0.02em;
}
.vd-feature-num-unit { font-size: 26px; color: var(--gold); letter-spacing: 0; }
.vd-feature-num-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-top: 20px; line-height: 1.6;
}
.vd-feature-num-sub { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.vd-feature-notes {
  padding: 32px 36px 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.vd-feature-notes p { font-size: 14.5px; color: var(--body); line-height: 1.75; margin: 0; }
.vd-feature-notes strong { color: var(--cream); font-weight: 600; }
.vd-feature-trust {
  padding: 20px 36px;
  border-top: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal-l);
  display: flex; align-items: center; gap: 12px;
}
.vd-feature-trust::before { content: ''; width: 16px; height: 1px; background: var(--teal-l); }

/* ── Homepage teaser ── */
.vd-teaser {
  margin-top: 36px;
  background: linear-gradient(180deg, var(--ink-mid), rgba(14,28,48,0.6));
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.vd-teaser::before {
  content: '';
  position: absolute; top: -1px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(201,151,58,0.05));
}
.vd-teaser-side { padding: 36px 32px; border-right: 1px solid var(--border); }
.vd-teaser-side:last-child { border-right: 0; }
.vd-teaser-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.vd-teaser-num {
  font-family: 'Cormorant', serif;
  font-size: 48px; font-weight: 500; color: var(--gold-l);
  line-height: 1; letter-spacing: -0.015em;
}
.vd-teaser-num-unit { font-size: 22px; color: var(--gold); }
.vd-teaser-context { font-size: 13.5px; color: var(--muted); margin-top: 12px; line-height: 1.65; }
.vd-teaser-foot {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  padding: 18px 32px;
  border-top: 1px solid var(--border);
  background: rgba(6,13,24,0.5);
}
.vd-teaser-summary { font-size: 13.5px; color: var(--muted); }
.vd-teaser-summary strong { color: var(--cream); font-weight: 600; }
.vd-teaser-trust {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-l);
  display: flex; align-items: center; gap: 10px;
}
.vd-teaser-trust::before { content: ''; width: 14px; height: 1px; background: var(--teal-l); }

/* ── Requirement cards ── */
.req-stack { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; max-width: 880px; }
.req-card {
  background: linear-gradient(180deg, var(--ink-mid), rgba(14,28,48,0.55));
  border: 1px solid var(--border);
  padding: 34px 36px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: border-color .35s var(--ease);
}
.req-card::before {
  content: '';
  position: absolute; top: -1px; left: 0;
  width: 64px; height: 2px;
  background: var(--gold);
}
.req-card:hover { border-color: var(--gold-b); }
.req-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.req-ref { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.18em; color: var(--gold); }
.req-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--teal-b); background: var(--teal-dim); color: var(--teal-l);
  white-space: nowrap;
}
.req-title {
  font-family: 'Cormorant', serif;
  font-size: 28px; font-weight: 500; color: var(--cream); line-height: 1.2;
}
.req-body { font-size: 14.5px; color: var(--body); line-height: 1.75; }
.req-meta {
  border-top: 1px solid var(--border);
  padding-top: 18px; margin-top: 4px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px;
}
.req-meta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.req-meta-value { font-size: 14.5px; color: var(--cream); line-height: 1.5; }

/* ── FAQ ── */
.faq { border-top: 1px solid var(--border); margin-top: 28px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  padding: 24px 0;
  font-size: 16.5px; font-weight: 600;
  cursor: pointer;
  position: relative; padding-right: 44px;
  color: var(--body);
  user-select: none;
  transition: color .3s var(--ease);
}
.faq-q:hover, .faq-item.open .faq-q { color: var(--cream); }
.faq-q::after {
  content: '+';
  position: absolute; right: 2px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 22px; font-weight: 300;
  transition: transform .35s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { display: none; padding: 0 0 26px; color: var(--body); font-size: 15px; line-height: 1.8; max-width: 720px; }
.faq-item.open .faq-a { display: block; }

/* ── Forms ── */
.form-grid { display: grid; gap: 20px; max-width: 540px; }
.form-row { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
}
.form-field input, .form-field textarea, .form-field select {
  background: rgba(14,28,48,0.65);
  border: 1px solid var(--border-l);
  color: var(--cream);
  padding: 14px 15px;
  font: inherit; font-size: 15px; font-family: 'Manrope', sans-serif;
  outline: none;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--gold);
  background: var(--ink-mid);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--dim); margin-top: 4px; }

/* ── Two-col / stats / pills ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: var(--border); margin-top: 36px;
  border: 1px solid var(--border);
}
.stat { background: var(--ink); padding: 32px 26px; }
.stat-value {
  font-family: 'Cormorant', serif;
  font-size: 44px; font-weight: 500; color: var(--gold-l); line-height: 1;
}
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dim); margin-top: 12px; line-height: 1.5;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--gold-b); background: var(--gold-dim); color: var(--gold-l);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
}
.pill-teal { border-color: var(--teal-b); background: var(--teal-dim); color: var(--teal-l); }
.fine {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--dim);
  letter-spacing: 0.03em; line-height: 1.8;
}

/* ── Legal prose ── */
.legal-prose { max-width: 760px; }
.legal-prose h3 {
  margin-top: 52px; margin-bottom: 14px;
  font-size: 24px;
}
.legal-prose h3:first-child { margin-top: 0; }
.legal-prose p { font-size: 15px; line-height: 1.85; margin-top: 12px; }
.legal-prose ul { margin: 14px 0 0 22px; }
.legal-prose li { font-size: 15px; line-height: 1.85; color: var(--body); margin-top: 8px; }
.legal-updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em; color: var(--dim);
  text-transform: uppercase;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
  background: linear-gradient(180deg, rgba(6,13,24,0.6), var(--ink-deep));
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 48px;
}
.footer-grid h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; font-weight: 500;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-grid a { font-size: 13px; color: var(--muted); }
.footer-grid a:hover { color: var(--cream); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--dim);
  flex-wrap: wrap; gap: 14px;
}
.footer-brand-line { font-family: 'Cormorant', serif; font-size: 26px; color: var(--cream); margin-bottom: 12px; }
.footer-tagline { font-size: 13.5px; color: var(--muted); max-width: 360px; line-height: 1.75; }

/* ── Reveal animation ── */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* ── Mobile ── */
@media (max-width: 960px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12px; }
}
@media (max-width: 880px) {
  .section { padding: 72px 0; }
  .hero { padding: 76px 0 64px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(8,17,31,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px var(--gutter) 32px;
    gap: 22px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 15px; }
  .nav-toggle { display: block; }
  .two-col { grid-template-columns: 1fr; gap: 44px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .vd-feature-row { grid-template-columns: 1fr; }
  .vd-feature-figure { border-right: 0; border-bottom: 1px solid var(--border); padding: 30px 26px; }
  .vd-feature-figure:last-child { border-bottom: 0; }
  .vd-feature-head, .vd-feature-meta, .vd-feature-notes, .vd-feature-trust { padding-left: 26px; padding-right: 26px; }
  .vd-teaser { grid-template-columns: 1fr; }
  .vd-teaser-side { border-right: 0; border-bottom: 1px solid var(--border); padding: 30px 26px; }
  .vd-teaser-foot { flex-direction: column; align-items: flex-start; padding: 16px 26px; }
  .req-card { padding: 26px 24px; }
  .steps { gap: 32px; }
}

/* ============================================================
   v2.1 refinements — editorial finish layer
   ============================================================ */

/* ── Film grain (very low, adds materiality) ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink-deep); }
::-webkit-scrollbar-thumb { background: var(--ink-light); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-b); }

/* ── Accessibility focus ── */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── Tabular numerals on data ── */
.stat-value, .vd-feature-num, .vd-teaser-num, .req-meta-value { font-variant-numeric: lining-nums; }

/* ── Nav: mono caps — the private-desk register ── */
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 10px 18px;
}

/* ── Hero ghost mark — brand watermark depth ── */
.hero { isolation: isolate; }
.hero::before {
  content: 'D';
  position: absolute;
  top: -120px;
  right: -40px;
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(380px, 52vw, 720px);
  line-height: 1;
  color: rgba(201,151,58,0.045);
  z-index: -1;
  user-select: none;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

/* ── Editorial ticker (homepage) ── */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(6,13,24,0.6);
  overflow: hidden;
  padding: 15px 0;
  white-space: nowrap;
  position: relative;
}
.marquee-track {
  display: inline-block;
  animation: marquee 36s linear infinite;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.marquee-track .dim { color: var(--dim); margin: 0 26px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ── Card hover lift ── */
.req-card, .vd-feature, .vd-teaser, .box {
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.req-card:hover, .box:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -18px rgba(0,0,0,0.55);
}

/* ── Footer ghost wordmark ── */
.footer-mark {
  font-family: 'Cormorant', serif;
  font-size: clamp(72px, 13vw, 168px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: rgba(244,240,232,0.05);
  margin-bottom: 56px;
  user-select: none;
}
.footer-mark em {
  font-style: italic;
  color: rgba(201,151,58,0.10);
}

/* ── Header scrolled shadow ── */
.site-header.scrolled { box-shadow: 0 12px 40px -18px rgba(0,0,0,0.6); }

/* ── Nav collapses earlier (8 links need room) ── */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(8,17,31,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px var(--gutter) 34px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 12px; letter-spacing: 0.16em; }
  .nav-toggle { display: block; }
}

@media (max-width: 880px) {
  .hero::before { font-size: 420px; top: -80px; right: -90px; }
  .footer-mark { margin-bottom: 40px; }
}
