/* NurtureNode — Landing
   Aesthetic: confident accelerator, earthy/organic undertones
   Type: Fraunces (display serif) + Inter Tight (UI sans) + JetBrains Mono (mono)
*/

:root {
  --bg: #f3efe6;          /* warm cream */
  --bg-alt: #ebe5d6;      /* deeper cream */
  --bg-deep: #0f1612;     /* near-black with green undertone */
  --ink: #14201a;         /* deep forest ink */
  --ink-2: #2a3a31;
  --ink-3: #4a584f;
  --ink-mute: #7a8278;
  --line: #d4ccba;
  --line-soft: #e3dcca;
  --accent: #b8543a;      /* terracotta */
  --accent-2: #2d4a3e;    /* forest */
  --accent-3: #c9a96a;    /* warm ochre */
  --radius: 4px;
  --radius-lg: 14px;
  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---- Type ---- */
.serif { font-family: 'Fraunces', 'Times New Roman', serif; font-feature-settings: "ss01", "ss02"; letter-spacing: -0.01em; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.h-display {
  font-family: 'Fraunces', serif;
  font-size: clamp(56px, 8.5vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-weight: 350;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
.h-display em {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.h-section {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-weight: 350;
}
.h-section em { font-style: italic; font-weight: 300; }

.h-card {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 400;
}

.lede {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ---- Layout ---- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
section { position: relative; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: all .25s ease;
  cursor: pointer;
  background: transparent;
  color: inherit;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(20,32,26,0.04);
}
.btn .arrow {
  display: inline-block;
  transition: transform .25s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(243, 239, 230, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.nav-logo .mark { width: 22px; height: 22px; }
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--ink-3);
}
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero-meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
.hero-meta .pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  position: relative;
}
.hero-meta .pill .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: 0.25;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.25; }
  50% { transform: scale(1.6); opacity: 0; }
}
.hero h1 { margin-bottom: 28px; }
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-stat {
  background: var(--bg);
  padding: 22px 20px;
}
.hero-stat .num {
  font-family: 'Fraunces', serif;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 350;
}
.hero-stat .num em { font-style: italic; }
.hero-stat .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 8px;
}

/* Hero motif - node network */
.node-network {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero-motif {
  position: absolute;
  right: -120px;
  top: 60px;
  width: 540px;
  height: 540px;
  opacity: 0.55;
}
@media (max-width: 960px) {
  .hero-motif { display: none; }
}

/* ---- Section frame ---- */
.section-pad {
  padding: clamp(80px, 10vw, 140px) 0;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: end;
}
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}
.section-head .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
}

/* ---- Gaps ---- */
.gaps-band {
  background: var(--bg-deep);
  color: #e3dcca;
  border-radius: 24px;
  margin: 0 var(--pad);
  padding: clamp(60px, 8vw, 100px) clamp(28px, 5vw, 64px);
  overflow: hidden;
  position: relative;
}
.gaps-band .eyebrow { color: rgba(227,220,202,0.6); }
.gaps-band .eyebrow::before { background: var(--accent-3); }
.gaps-band .h-section { color: #f3efe6; }
.gaps-band .h-section em { color: var(--accent-3); }
.gaps-band .lede { color: rgba(227,220,202,0.7); }
.gaps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 60px;
  background: rgba(227,220,202,0.12);
  border: 1px solid rgba(227,220,202,0.12);
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 880px) {
  .gaps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .gaps-grid { grid-template-columns: 1fr; }
}
.gap-card {
  background: var(--bg-deep);
  padding: 32px 26px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: background .3s ease;
}
.gap-card:hover { background: #16201a; }
.gap-card .gap-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(227,220,202,0.4);
  letter-spacing: 0.14em;
}
.gap-card .gap-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #f3efe6;
  margin: 16px 0 12px;
}
.gap-card .gap-title em { font-style: italic; color: var(--accent-3); }
.gap-card .gap-desc {
  font-size: 14px;
  color: rgba(227,220,202,0.7);
  line-height: 1.55;
}
.gap-icon {
  width: 36px; height: 36px;
  margin-bottom: 12px;
}

/* ---- Solution / Three Pillars ---- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}
@media (max-width: 880px) {
  .pillars-grid { grid-template-columns: 1fr; }
}
.pillar {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 32px;
  background: var(--bg);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 380px;
}
.pillar:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}
.pillar-art {
  height: 140px;
  border-radius: 8px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.pillar-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
}
.pillar h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.018em;
}
.pillar h3 em { font-style: italic; }
.pillar p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* ---- Tracks ---- */
.tracks-shell {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
}
@media (max-width: 880px) {
  .tracks-shell { grid-template-columns: 1fr; }
}
.tracks-list {
  background: var(--bg-alt);
  border-right: 1px solid var(--line);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
@media (max-width: 880px) {
  .tracks-list { border-right: none; border-bottom: 1px solid var(--line); flex-direction: row; overflow-x: auto; }
}
.track-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 8px;
  border: none;
  background: transparent;
  text-align: left;
  width: 100%;
  transition: all .25s ease;
  color: var(--ink-2);
  position: relative;
}
.track-tab:hover { background: rgba(20,32,26,0.04); color: var(--ink); }
.track-tab.active {
  background: var(--ink);
  color: var(--bg);
}
.track-tab .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.6;
  width: 24px;
  flex-shrink: 0;
}
.track-tab .name {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  letter-spacing: -0.015em;
  flex: 1;
}
.track-tab .name em { font-style: italic; }
.track-tab .role {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 2px;
}
.track-tab.active .role { color: rgba(243,239,230,0.55); }
@media (max-width: 880px) {
  .track-tab { white-space: nowrap; min-width: 200px; }
}
.track-detail {
  padding: 40px 44px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
@media (max-width: 540px) {
  .track-detail { padding: 28px 22px; }
}
.track-detail .role-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.track-detail h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 350;
}
.track-detail h3 em { font-style: italic; font-weight: 300; }
.track-detail .desc {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 56ch;
}
.track-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.skill {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-2);
  background: var(--bg);
}
.track-outcome {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.track-outcome .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  min-width: 80px;
  padding-top: 4px;
}
.track-outcome .text {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  line-height: 1.3;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
}

/* ---- Use cases ---- */
.cases-marquee {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 880px) {
  .cases-marquee { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .cases-marquee { grid-template-columns: 1fr; }
}
.case {
  background: var(--bg);
  padding: 28px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  transition: background .25s ease;
  position: relative;
}
.case:hover { background: #f7f3eb; }
.case-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
}
.case-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.case-title em { font-style: italic; }
.case-desc { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
}
.case-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* ---- Roadmap ---- */
.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}
@media (max-width: 880px) {
  .roadmap { grid-template-columns: 1fr; }
}
.phase {
  position: relative;
  padding-top: 28px;
}
.phase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.phase::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--ink);
}
.phase.now::after { background: var(--accent); border-color: var(--accent); }
.phase-meta {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.phase-meta .live {
  color: var(--accent);
  font-weight: 600;
}
.phase h3 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.phase h3 em { font-style: italic; }
.phase p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }

/* ---- Bootcamp strip ---- */
.strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 880px) {
  .strip { grid-template-columns: repeat(2, 1fr); }
}
.strip-cell {
  background: var(--bg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.strip-cell .v {
  font-family: 'Fraunces', serif;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 350;
}
.strip-cell .v em { font-style: italic; }
.strip-cell .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---- CTA / Waitlist ---- */
.cta-band {
  background: var(--bg-deep);
  color: var(--bg);
  border-radius: 24px;
  margin: 0 var(--pad);
  padding: clamp(60px, 8vw, 110px) clamp(28px, 5vw, 80px);
  position: relative;
  overflow: hidden;
}
.cta-band .h-section { color: var(--bg); }
.cta-band .h-section em { color: var(--accent-3); }
.cta-band .lede { color: rgba(243,239,230,0.7); }
.cta-band .eyebrow { color: rgba(243,239,230,0.6); }
.cta-band .eyebrow::before { background: var(--accent-3); }

.cta-row {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.cta-row .btn-primary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
.cta-row .btn-primary:hover {
  background: var(--accent-3);
  border-color: var(--accent-3);
}
.cta-row .btn-ghost {
  color: var(--bg);
  border-color: rgba(243,239,230,0.25);
}
.cta-row .btn-ghost:hover {
  border-color: var(--bg);
  background: rgba(243,239,230,0.04);
}
.cta-meta {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(243,239,230,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

/* ---- Footer ---- */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-tagline {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-style: italic;
  font-weight: 300;
  max-width: 30ch;
  margin-top: 12px;
  color: var(--ink-2);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
  gap: 14px;
}

/* ---- Reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---- Animated divider ---- */
.divider-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 22px 0;
}
.divider-row .line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---- Region pills ---- */
.region-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.region {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-3);
}

/* ---- DARK theme override ---- */
body.theme-dark {
  --bg: #0f1612;
  --bg-alt: #16201a;
  --bg-deep: #f3efe6;
  --ink: #f3efe6;
  --ink-2: #c9c2b3;
  --ink-3: #8d9588;
  --ink-mute: #6a7068;
  --line: #2a3a31;
  --line-soft: #1f2a23;
  --accent: #d97757;
  --accent-2: #c9a96a;
  --accent-3: #c9a96a;
}
body.theme-dark .gaps-band { background: #1a2620; color: var(--ink); }
body.theme-dark .gaps-band .h-section { color: var(--ink); }
body.theme-dark .gap-card { background: #1a2620; }
body.theme-dark .gap-card:hover { background: #1f2c25; }
body.theme-dark .cta-band { background: #1a2620; }
body.theme-dark .cta-row .btn-primary { background: var(--accent-3); color: #0f1612; border-color: var(--accent-3); }
body.theme-dark .pillar { background: var(--bg-alt); }
body.theme-dark .case { background: var(--bg-alt); }
body.theme-dark .case:hover { background: #1c2620; }
body.theme-dark .strip-cell { background: var(--bg); }
body.theme-dark .hero-stat { background: var(--bg); }
body.theme-dark .nav { background: rgba(15, 22, 18, 0.8); }
body.theme-dark .skill { background: var(--bg-alt); }
body.theme-dark .tracks-list { background: var(--bg-alt); }

/* ---- DUSK theme (warmer dark) ---- */
body.theme-dusk {
  --bg: #1c1612;
  --bg-alt: #241d18;
  --bg-deep: #f3efe6;
  --ink: #f1e9d9;
  --ink-2: #c9bfa9;
  --ink-3: #8d8472;
  --ink-mute: #6a6354;
  --line: #3a3024;
  --line-soft: #2a2218;
  --accent: #d97757;
  --accent-2: #c9a96a;
  --accent-3: #c9a96a;
}
body.theme-dusk .gaps-band,
body.theme-dusk .cta-band { background: #281f17; }
body.theme-dusk .gap-card { background: #281f17; }
body.theme-dusk .gap-card:hover { background: #2e231a; }
body.theme-dusk .pillar,
body.theme-dusk .case,
body.theme-dusk .strip-cell,
body.theme-dusk .hero-stat,
body.theme-dusk .skill,
body.theme-dusk .tracks-list { background: var(--bg-alt); }
body.theme-dusk .nav { background: rgba(28, 22, 18, 0.8); }

/* ---- Hover wiggle for the logo ---- */
.nav-logo:hover .mark { transform: rotate(15deg); }
.nav-logo .mark { transition: transform .3s ease; }

/* ---- Scroll motif (full bleed network in section 2) ---- */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20,32,26,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,32,26,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
body.theme-dark .bg-grid,
body.theme-dusk .bg-grid {
  background-image:
    linear-gradient(to right, rgba(243,239,230,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(243,239,230,0.04) 1px, transparent 1px);
}

/* keep content above grid */
.wrap { position: relative; z-index: 1; }
