/* VentureX Partners — site styles */
:root {
  --ink: #0a1420;
  --ink-2: #101d2c;
  --ink-3: #1a2a3d;
  --paper: #fbfaf7;
  --tint: #f3f0e9;
  --line: #e2ddd2;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text: #16202c;
  --muted: #5a6573;
  --muted-light: #a9b4c1;
  --gold: #c2a26a;           /* accent on dark surfaces */
  --gold-deep: #8f7340;      /* accent on light surfaces */
  --accent-hover: #d3b57f;
  --on-accent: #0a1420;
  --glow-2: var(--glow-2);
  --deepest: #060d16;
  --on-dark: #e6ebf1;
  --on-dark-2: #c5ced8;
  --prose: #36414e;
  --error: #a3352b;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 380;
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.005em; line-height: 1.35; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--on-accent); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.eyebrow-light { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 0.9375rem/1 var(--sans); letter-spacing: 0.01em; text-decoration: none;
  padding: 17px 28px; border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-gold { background: var(--gold); color: var(--on-accent); }
.btn-gold:hover { background: var(--accent-hover); }
.btn-ghost { color: #fff; padding-left: 8px; padding-right: 8px; }
.btn-ghost span { transition: transform 0.2s; }
.btn-ghost:hover span { transform: translateX(4px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-dark[disabled] { opacity: 0.6; cursor: progress; }
.btn-small { padding: 12px 20px; font-size: 0.875rem; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: #fff; transition: background-color 0.25s, box-shadow 0.25s;
}
.site-header.scrolled { background: color-mix(in srgb, var(--ink) 94%, transparent); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-dark); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark { width: 28px; height: 28px; }
.mark-accent { stroke: var(--gold); }
.brand-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 420; letter-spacing: -0.01em; white-space: nowrap; }
.brand-name span { color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a:not(.btn) {
  color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.site-nav a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px 9px; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: #fff; margin: 7px 0; transition: transform 0.25s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 85% 8%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, var(--glow-2), transparent 60%),
    var(--ink);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 72px; align-items: end;
  padding-top: calc(var(--header-h) + clamp(72px, 11vh, 132px));
  padding-bottom: clamp(72px, 10vh, 120px);
}
.hero h1 em { font-style: italic; font-weight: 340; color: var(--gold); }
.lede { margin-top: 30px; max-width: 37em; font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.6; color: var(--on-dark-2); }
.hero-actions { margin-top: 42px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

.hero-index { border-top: 1px solid var(--line-dark); }
.hero-index a {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px;
  padding: 21px 4px; border-bottom: 1px solid var(--line-dark);
  color: #fff; text-decoration: none; transition: padding 0.25s, background-color 0.25s;
}
.hero-index .num { font-family: var(--serif); font-size: 0.95rem; color: var(--gold); }
.hero-index .label { font-weight: 500; font-size: 1rem; line-height: 1.35; }
.hero-index .arrow { color: var(--muted-light); transition: transform 0.25s, color 0.25s; }
.hero-index a:hover { padding-left: 14px; background: rgba(255, 255, 255, 0.03); }
.hero-index a:hover .arrow { transform: translateX(4px); color: var(--gold); }

.pedigree { position: relative; border-top: 1px solid var(--line-dark); background: color-mix(in srgb, var(--deepest) 50%, transparent); }
.pedigree-inner { display: flex; flex-direction: column; gap: 14px; padding-top: 26px; padding-bottom: 28px; }
.pedigree-title { flex: none; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-light); }
.pedigree ul { flex: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; }
.pedigree li { font-family: var(--serif); font-size: 1.08rem; font-weight: 380; color: var(--on-dark); white-space: nowrap; }

/* Sections */
.section { padding: clamp(84px, 11vw, 148px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-intro { margin-top: 24px; font-size: 1.125rem; color: var(--muted); max-width: 40em; }

/* Solutions */
.solutions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.solution { background: var(--paper); padding: clamp(32px, 4vw, 52px); transition: background-color 0.3s; }
.solution:hover { background: #fff; }
.solution-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 40px; }
.solution-top .num { font-family: var(--serif); font-size: 1rem; color: var(--gold-deep); }
.solution-top svg { width: 46px; height: 46px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.solution h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.45rem, 2vw, 1.75rem); letter-spacing: -0.01em; line-height: 1.2; }
.solution > p { margin-top: 16px; color: var(--muted); }
.solution ul { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.solution li { position: relative; padding-left: 22px; font-size: 0.95rem; line-height: 1.5; }
.solution li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1px; background: var(--gold-deep); }

/* Why */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 40px); }
.why-head p:last-child { margin-top: 26px; color: var(--on-dark-2); font-size: 1.1rem; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.why-item { background: var(--ink); padding: 36px 32px 40px; }
.why-item h3 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; color: #fff; }
.why-item h3::before { content: ""; display: block; width: 28px; height: 2px; background: var(--gold); margin-bottom: 22px; }
.why-item p { margin-top: 14px; color: var(--muted-light); font-size: 0.97rem; }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; counter-reset: step; }
.step { border-top: 1px solid var(--ink); padding-top: 26px; }
.step-num { font-family: var(--serif); font-size: 2.6rem; font-weight: 320; line-height: 1; color: var(--gold-deep); }
.step h3 { margin-top: 26px; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.step p { margin-top: 12px; color: var(--muted); font-size: 0.97rem; }

/* Team */
.team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 100px); align-items: center; }
.team-copy p:not(.eyebrow) { margin-top: 24px; color: var(--muted); font-size: 1.075rem; }
.text-link {
  display: inline-flex; gap: 10px; margin-top: 34px; font-weight: 600; text-decoration: none;
  color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 5px;
}
.text-link span { transition: transform 0.2s; }
.text-link:hover span { transform: translateX(4px); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.team-grid li { background: var(--paper); padding: 28px 26px 30px; }
.team-grid span { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; line-height: 1.25; }
.team-grid small { display: block; margin-top: 8px; font-size: 0.875rem; color: var(--muted); line-height: 1.5; }

/* Region */
.region {
  background:
    radial-gradient(800px 420px at 50% 120%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 65%),
    var(--ink);
  text-align: center;
}
.region-inner { max-width: 820px; }
.region .eyebrow { justify-content: center; }
.region .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.region p:last-child { margin: 28px auto 0; max-width: 38em; color: var(--on-dark-2); font-size: 1.125rem; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(48px, 7vw, 100px); align-items: start; }
.contact-copy > p:not(.eyebrow) { margin-top: 24px; color: var(--muted); font-size: 1.075rem; }
.contact-facts { margin-top: 44px; border-top: 1px solid var(--line); }
.contact-facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-facts dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-facts dd { font-weight: 500; }

.contact-form { background: #fff; border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field label { display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 8px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: 13px 14px;
  transition: border-color 0.2s, background-color 0.2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316202c' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 12px 8px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { min-height: 0; margin-top: 6px; font-size: 0.8125rem; color: var(--error); }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-note { flex: 1; min-width: 220px; font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }
.form-status { font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { color: #1f6b47; }
.form-status.err { color: var(--error); }
.form-success { padding: 12px 0; }
.form-success h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; }
.form-success p { margin-top: 12px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--deepest); color: var(--muted-light); padding: 64px 0 36px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-tag { margin-top: 14px; font-size: 0.92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.footer-nav a { color: var(--on-dark); text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-legal { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line-dark); font-size: 0.8125rem; }

/* Legal / simple pages */
.page-hero { background: var(--ink); color: #fff; padding: calc(var(--header-h) + 72px) 0 72px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 48px; }
.prose p, .prose ul { margin-top: 16px; color: var(--prose); }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li { margin-top: 6px; }
.prose a { color: var(--gold-deep); }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; align-items: start; }
  .why, .team, .contact { grid-template-columns: 1fr; }
  .why-head { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; }
  .pedigree ul { justify-content: flex-start; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px 28px 28px; border-bottom: 1px solid var(--line-dark);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .site-nav.open { visibility: visible; opacity: 1; transform: none; }
  .site-nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 1rem; }
  .site-nav .btn { margin-top: 22px; }
  .site-header.menu-open { background: var(--ink); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .solutions, .why-grid, .team-grid, .field-row, .steps { grid-template-columns: 1fr; }
  .contact-facts div { grid-template-columns: 1fr; gap: 2px; }
  .hero-actions .btn-gold { width: 100%; }
  .pedigree li { font-size: 1rem; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.page-hero-tall { min-height: 70vh; }
.footer-legal-plain { margin-top: 0; padding-top: 0; border-top: 0; }
.footer-legal a { color: var(--on-dark); }

/* ---- Palette previews (temporary): /?theme=emerald|vermilion|cobalt|forest ---- */
html[data-theme="emerald"] {
  --ink: #0e1311; --ink-2: #141b18; --ink-3: #212c27; --deepest: #090d0b;
  --paper: #f9f9f6; --tint: #eef0eb; --line: #dcdfd8;
  --text: #141a17; --muted: #5b6560; --muted-light: #a4aea9; --prose: #353d39;
  --gold: #4fb890; --gold-deep: #17694f; --accent-hover: #68c9a3; --on-accent: #07130e;
  --glow-2: rgba(40, 90, 72, 0.35); --on-dark: #e8ecea; --on-dark-2: #c3cbc7;
}
html[data-theme="vermilion"] {
  --ink: #141210; --ink-2: #1b1816; --ink-3: #2b2623; --deepest: #0c0b0a;
  --paper: #f8f5f0; --tint: #efeae2; --line: #e0d9ce;
  --text: #1a1715; --muted: #675f58; --muted-light: #b0a9a2; --prose: #3d3733;
  --gold: #ee6a3c; --gold-deep: #b8401a; --accent-hover: #f58157; --on-accent: #160a05;
  --glow-2: rgba(110, 60, 40, 0.3); --on-dark: #eeeae6; --on-dark-2: #cdc6c0;
}
html[data-theme="cobalt"] {
  --ink: #090a0d; --ink-2: #0f1116; --ink-3: #1c1f28; --deepest: #050608;
  --paper: #fbfbfc; --tint: #f1f2f5; --line: #e1e3e8;
  --text: #12141a; --muted: #5c616d; --muted-light: #a5aab6; --prose: #343843;
  --gold: #6d8bff; --gold-deep: #2445d8; --accent-hover: #88a1ff; --on-accent: #05081a;
  --glow-2: rgba(45, 60, 140, 0.35); --on-dark: #e9ebf0; --on-dark-2: #c4c8d2;
}
html[data-theme="forest"] {
  --ink: #0d241d; --ink-2: #123026; --ink-3: #1b4234; --deepest: #081a15;
  --paper: #f8f7f1; --tint: #eeede3; --line: #dddccf;
  --text: #12211c; --muted: #58655f; --muted-light: #a3b5ad; --prose: #33413b;
  --gold: #c9e265; --gold-deep: #4d6a12; --accent-hover: #d7ec86; --on-accent: #0d241d;
  --glow-2: rgba(40, 110, 85, 0.4); --on-dark: #e8eee9; --on-dark-2: #c2d0c9;
}

/* ---- Second round of previews: /?theme=signal|mono|oxblood|ultramarine|petrol ---- */
html[data-theme="signal"] {
  --ink: #0a0a0a; --ink-2: #121212; --ink-3: #262626; --deepest: #000;
  --paper: #ffffff; --tint: #f4f4f2; --line: #e2e2df;
  --text: #0a0a0a; --muted: #5c5c5c; --muted-light: #a8a8a8; --prose: #333;
  --gold: #ff4b3a; --gold-deep: #d42a1c; --accent-hover: #ff6a5c; --on-accent: #0a0a0a;
  --glow-2: transparent; --on-dark: #f2f2f2; --on-dark-2: #c9c9c9;
}
html[data-theme="mono"] {
  --ink: #000; --ink-2: #0c0c0c; --ink-3: #222; --deepest: #000;
  --paper: #ffffff; --tint: #f3f3f3; --line: #dedede;
  --text: #000; --muted: #595959; --muted-light: #9e9e9e; --prose: #2e2e2e;
  --gold: #ffffff; --gold-deep: #000; --accent-hover: #dcdcdc; --on-accent: #000;
  --glow-2: transparent; --on-dark: #f2f2f2; --on-dark-2: #c4c4c4;
}
html[data-theme="oxblood"] {
  --ink: #2a0b11; --ink-2: #34101a; --ink-3: #4a1824; --deepest: #1b070b;
  --paper: #f8f2e9; --tint: #efe6d9; --line: #e0d5c4;
  --text: #23120f; --muted: #6b5a55; --muted-light: #c4a9a6; --prose: #45302c;
  --gold: #f0dcc0; --gold-deep: #8c1c2c; --accent-hover: #f8ecd9; --on-accent: #2a0b11;
  --glow-2: rgba(140, 35, 55, 0.45); --on-dark: #f5ebe6; --on-dark-2: #dcc8c4;
}
html[data-theme="ultramarine"] {
  --ink: #1230c9; --ink-2: #0f29ad; --ink-3: #0c2191; --deepest: #080d2b;
  --paper: #ffffff; --tint: #f1f3fb; --line: #dce0ee;
  --text: #0a0e1f; --muted: #555b70; --muted-light: #c5cdf5; --prose: #2f3447;
  --gold: #ffffff; --gold-deep: #1230c9; --accent-hover: #e3e8ff; --on-accent: #1230c9;
  --line-dark: rgba(255, 255, 255, 0.22);
  --glow-2: transparent; --on-dark: #ffffff; --on-dark-2: #e0e5fc;
}
html[data-theme="petrol"] {
  --ink: #0b3338; --ink-2: #0f4046; --ink-3: #175259; --deepest: #072226;
  --paper: #f7f5f0; --tint: #ebe8e0; --line: #d9d5ca;
  --text: #10201f; --muted: #56635f; --muted-light: #a5bdbb; --prose: #33423f;
  --gold: #86e0d3; --gold-deep: #0d6a6c; --accent-hover: #a4eadf; --on-accent: #072226;
  --glow-2: transparent; --on-dark: #e6f0ee; --on-dark-2: #bfd3d0;
}

/* Light-hero layout variant */
html[data-hero="light"] .hero { background: var(--paper); color: var(--text); }
html[data-hero="light"] .hero-grid { display: none; }
html[data-hero="light"] .site-header { color: var(--text); }
html[data-hero="light"] .site-header.scrolled,
html[data-hero="light"] .site-header.menu-open { background: color-mix(in srgb, var(--paper) 94%, transparent); box-shadow: 0 1px 0 var(--line); }
html[data-hero="light"] .site-header .brand { color: var(--text); }
html[data-hero="light"] .site-header .brand-name span { color: var(--gold-deep); }
html[data-hero="light"] .site-header .mark-accent { stroke: var(--gold-deep); }
html[data-hero="light"] .site-nav a:not(.btn) { color: var(--muted); }
html[data-hero="light"] .site-nav a:not(.btn):hover { color: var(--text); }
html[data-hero="light"] .site-nav .btn-outline-light { border-color: var(--text); color: var(--text); }
html[data-hero="light"] .site-nav .btn-outline-light:hover { background: var(--text); color: var(--paper); }
html[data-hero="light"] .nav-toggle span { background: var(--text); }
html[data-hero="light"] .hero .eyebrow-light,
html[data-hero="light"] .hero h1 em,
html[data-hero="light"] .hero-index .num { color: var(--gold-deep); }
html[data-hero="light"] .lede { color: var(--muted); }
html[data-hero="light"] .hero .btn-gold { background: var(--gold-deep); color: #fff; }
html[data-hero="light"] .hero .btn-gold:hover { background: var(--text); }
html[data-hero="light"] .hero .btn-ghost { color: var(--text); }
html[data-hero="light"] .hero-index,
html[data-hero="light"] .hero-index a { border-color: var(--line); color: var(--text); }
html[data-hero="light"] .hero-index a:hover { background: var(--tint); }
html[data-hero="light"] .hero-index .arrow { color: var(--muted); }
html[data-hero="light"] .hero-index a:hover .arrow { color: var(--gold-deep); }
html[data-hero="light"] .pedigree { background: var(--tint); border-color: var(--line); }
html[data-hero="light"] .pedigree-title { color: var(--muted); }
html[data-hero="light"] .pedigree li { color: var(--text); }
@media (max-width: 860px) {
  html[data-hero="light"] .site-nav { background: var(--paper); border-color: var(--line); }
  html[data-hero="light"] .site-nav a:not(.btn) { border-color: var(--line); }
}
html[data-hero="light"] .site-header.menu-open { background: var(--paper); }
