/* ============================================================
   Nosei B'Ol — "Functional Modern"
   High-end logistics tool transformed into a charitable engine.
   Palette:  Action Blue #116DFF · Ground #FAF9F6
             Trust Navy #1A2B3C  · Honor Gold #C5A059
   Type:     Archivo (Neue Haas Grotesk substitute) / Inter /
             JetBrains Mono
   ============================================================ */

:root {
  --blue: #116DFF;
  --blue-deep: #0D56C9;
  --ground: #FAF9F6;
  --navy: #1A2B3C;
  --navy-deep: #12202E;
  --navy-ink: #0D1722;
  --gold: #C5A059;
  --gold-soft: #E8D9BC;
  --parchment: #F3EEE3;
  --line: #E4DFD3;
  --muted: #5B6B7B;
  --white: #FFFFFF;
  --danger: #C0392B;
  --ok: #2E7D52;

  --font-head: "Archivo", "Neue Haas Grotesk Display", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Wix Madefor Text", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(26, 43, 60, .10);
  --shadow-lg: 0 24px 60px rgba(26, 43, 60, .18);
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--navy);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }

p { margin: 0 0 1em; }
.mono { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .02em; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }
section { padding: 96px 0; scroll-margin-top: calc(var(--header-h) + 12px); }

.kicker {
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--gold); }

.lede { font-size: 1.12rem; color: var(--muted); max-width: 640px; }

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

/* ---------- Buttons & chips ---------- */
.btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(17, 109, 255, .32); }
.btn--primary:hover { background: var(--blue-deep); }
.btn--ghost { background: transparent; color: #fff; border: 1.6px solid rgba(255, 255, 255, .55); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--gold { background: var(--gold); color: var(--navy-ink); }
.btn--gold:hover { filter: brightness(1.06); }

.chip {
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-block;
}
.chip--critical { background: var(--gold); color: var(--navy-ink); }
.chip--high { background: var(--blue); color: #fff; }
.chip--standard { background: rgba(26, 43, 60, .10); color: var(--navy); }
.chip--miles { background: var(--navy); color: var(--gold-soft); }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .25s ease, box-shadow .25s ease;
  background: linear-gradient(180deg, rgba(13, 23, 34, .62), rgba(13, 23, 34, 0));
}
#site-header.solid {
  background: rgba(18, 32, 46, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(13, 23, 34, .35);
}
.header-inner { display: flex; align-items: center; gap: 26px; width: min(1240px, 94vw); margin: 0 auto; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.logo-img { height: 48px; width: auto; display: block; }
.logo-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.logo-word {
  font-family: var(--font-head);
  font-weight: 800; font-size: 1.06rem; letter-spacing: .02em; color: #fff; line-height: 1.05;
}
.logo-word small {
  display: block;
  font-family: var(--font-mono); font-weight: 500; font-size: .58rem;
  letter-spacing: .3em; color: var(--gold);
}

#site-nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
#site-nav a {
  color: rgba(255, 255, 255, .85);
  font-weight: 600; font-size: .9rem;
  text-decoration: none;
}
#site-nav a:hover { color: #fff; }

#cart-open {
  position: relative;
  background: rgba(255, 255, 255, .1);
  border: 1.4px solid rgba(255, 255, 255, .35);
  color: #fff;
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-head); font-weight: 700; font-size: .88rem;
  cursor: pointer;
  display: flex; align-items: center; gap: 9px;
}
#cart-open:hover { background: rgba(255, 255, 255, .18); }
#cart-badge {
  background: var(--gold); color: var(--navy-ink);
  min-width: 22px; height: 22px; border-radius: 999px;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 6px;
}
#cart-badge.empty { background: rgba(255, 255, 255, .25); color: #fff; }
#cart-badge.pop { animation: badge-pop .45s cubic-bezier(.2, 2.2, .4, 1); }
@keyframes badge-pop { 0% { transform: scale(1); } 45% { transform: scale(1.45); } 100% { transform: scale(1); } }

#nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px;
}
#nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; border-radius: 2px; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 120px;
  color: #fff;
  isolation: isolate;
}
#hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: url("../assets/img/hero-town-aerial.jpg") center 30% / cover no-repeat;
}
#hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(13, 23, 34, .88) 6%, rgba(13, 23, 34, .55) 46%, rgba(13, 23, 34, .28) 100%),
    linear-gradient(0deg, rgba(13, 23, 34, .9) 0%, rgba(13, 23, 34, 0) 38%);
}
.hero-inner h1 { color: #fff; max-width: 760px; }
.hero-inner h1 em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: 1.16rem; color: rgba(255, 255, 255, .85); max-width: 620px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 74px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 860px;
  backdrop-filter: blur(6px);
}
.hero-stat { background: rgba(13, 23, 34, .55); padding: 22px 24px; }
.hero-stat .num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff; line-height: 1;
}
.hero-stat .lbl {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-soft); margin-top: 8px;
}

/* ============================================================
   THESIS + PILLARS
   ============================================================ */
#idea { padding-bottom: 60px; }
.thesis-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.thesis-quote {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25;
  border-left: 4px solid var(--gold);
  padding-left: 26px;
  margin: 0 0 22px;
}
.how-cards { display: grid; gap: 16px; }
.how-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--shadow);
}
.how-num {
  font-family: var(--font-mono); font-weight: 700; font-size: .8rem;
  color: var(--blue); background: rgba(17, 109, 255, .1);
  border-radius: 8px; padding: 6px 9px; flex: 0 0 auto;
}
.how-card h3 { margin-bottom: 4px; }
.how-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.pillars {
  margin-top: 70px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pillar {
  background: var(--navy); color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  position: relative; overflow: hidden;
}
.pillar::after {
  content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 3px;
  background: var(--gold); border-radius: 0 0 4px 4px;
}
.pillar .big {
  font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--gold);
  line-height: 1; margin-bottom: 10px;
}
.pillar h3 { color: #fff; }
.pillar p { color: rgba(255, 255, 255, .78); font-size: .93rem; margin: 0; }

/* ============================================================
   NEEDS CATALOG + MATCHING ENGINE
   ============================================================ */
#needs { background: var(--parchment); }
.needs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 34px; }

#zip-form {
  display: flex; gap: 10px; align-items: center;
  background: #fff; border: 1.6px solid var(--line);
  padding: 8px 8px 8px 18px; border-radius: 999px;
  box-shadow: var(--shadow);
}
#zip-form:focus-within { border-color: var(--blue); }
#zip-input {
  border: 0; outline: 0; background: none;
  font-family: var(--font-mono); font-size: 1rem; width: 120px;
  color: var(--navy);
}
#sort-select {
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  border: 1.6px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--navy);
  padding: 12px 18px; cursor: pointer;
}
.needs-controls { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
#match-note { width: 100%; color: var(--muted); font-size: .9rem; margin: 10px 0 0; }

#needs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px;
}
.need-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.need-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.need-media {
  position: relative; height: 168px;
  background:
    radial-gradient(120% 140% at 85% -20%, rgba(17, 109, 255, .16), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex; align-items: center; justify-content: center;
}
.need-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.need-media.missing img { display: none; }
.need-icon { width: 72px; height: 72px; color: var(--gold); opacity: 0; }
.need-media.missing .need-icon { opacity: 1; }
.need-icon svg { width: 100%; height: 100%; }
.need-media .chip--urgency { position: absolute; top: 14px; left: 14px; }
.need-media .chip--miles { position: absolute; top: 14px; right: 14px; background: rgba(13,23,34,.78); }
.need-media.missing::after {
  content: "add " attr(data-hint);
  position: absolute; bottom: 10px; right: 14px;
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .04em;
  color: rgba(255, 255, 255, .38);
  opacity: 0; transition: opacity .2s ease;
}
.need-media.missing:hover::after { opacity: 1; }

.need-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.need-name { margin-bottom: 2px; }
.need-org { color: var(--gold); margin: 0 0 10px; font-weight: 600; }
.need-desc { color: var(--muted); font-size: .93rem; flex: 0 0 auto; }
.need-progress { margin: 6px 0 4px; }
.bar {
  height: 8px; background: var(--parchment);
  border-radius: 999px; overflow: hidden;
  border: 1px solid var(--line);
}
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #4E93FF); border-radius: 999px; }
.progress-label { color: var(--muted); margin: 8px 0 0; }
.progress-label strong { color: var(--navy); }
.need-procure { color: #9AA6B2; margin: 8px 0 16px; }

.need-actions { margin-top: auto; display: flex; gap: 12px; align-items: stretch; }
.qty {
  display: flex; align-items: center;
  border: 1.6px solid var(--line); border-radius: 999px;
  overflow: hidden; background: #fff;
}
.qty-btn {
  width: 38px; height: 100%; min-height: 44px;
  border: 0; background: none; cursor: pointer;
  font-size: 1.15rem; color: var(--navy); font-family: var(--font-mono);
}
.qty-btn:hover { background: var(--parchment); }
.qty-input {
  width: 44px; border: 0; outline: 0; text-align: center;
  font-family: var(--font-mono); font-size: .95rem; color: var(--navy);
  -moz-appearance: textfield; appearance: textfield;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn--add { flex: 1; justify-content: center; padding: 12px 18px; white-space: nowrap; }

/* ============================================================
   CHESED-MATCH
   ============================================================ */
#chesed { background: #fff; }
.chesed-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; margin-bottom: 10px;
}
.chesed-head .btn { flex: 0 0 auto; margin-top: 8px; }

#chesed-form-wrap { margin: 18px 0 8px; }
#chesed-form {
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.cm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cm-grid label {
  display: flex; flex-direction: column; gap: 7px;
  font-family: var(--font-mono); font-size: .66rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.cm-full { grid-column: 1 / -1; }
#chesed-form input, #chesed-form select, #chesed-form textarea {
  font-family: var(--font-body); font-size: .95rem;
  border: 1.6px solid var(--line); border-radius: 10px;
  padding: 12px 15px; background: #fff; color: var(--navy);
  outline: none; width: 100%; resize: vertical;
}
#chesed-form input:focus, #chesed-form select:focus, #chesed-form textarea:focus { border-color: var(--blue); }
.cm-consent {
  flex-direction: row !important; align-items: center; gap: 12px !important;
  text-transform: none !important; letter-spacing: 0 !important;
  font-family: var(--font-body) !important; font-size: .9rem !important; color: var(--navy) !important;
}
.cm-consent input { width: 19px !important; height: 19px; flex: 0 0 auto; accent-color: var(--blue); }
.cm-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.cm-fine { color: var(--muted); margin: 0; font-size: .64rem; letter-spacing: .08em; }

.chesed-filters {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin: 30px 0 10px; align-items: start;
}
.chesed-filters .fchip[data-type="all"] { grid-column: 1 / -1; justify-self: start; }
.fcard {
  padding: 0 !important; overflow: hidden;
  border-radius: var(--radius) !important;
  background: #fff; text-align: left;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.fcard img { width: 100%; height: 120px; object-fit: cover; display: block; }
.fcard span {
  display: block; padding: 11px 15px;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; color: var(--navy);
}
.fcard.active { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(17, 109, 255, .22), var(--shadow-lg); }
.fcard.active span { background: var(--navy); color: #fff; }
.fchip {
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  background: #fff; color: var(--navy);
  border: 1.6px solid var(--line); border-radius: 999px;
  padding: 9px 18px; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.fchip:hover { border-color: var(--navy); }
.fchip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
#chesed-zip-note { color: var(--muted); font-size: .88rem; margin: 0 0 26px; }

#chesed-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
.chesed-empty { grid-column: 1 / -1; color: var(--muted); padding: 40px 0; text-align: center; }

.chesed-card {
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.chesed-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.chesed-card.pending { border-style: dashed; border-color: var(--gold); }

.cc-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.cc-icon {
  width: 42px; height: 42px; color: var(--blue);
  background: rgba(17, 109, 255, .09); border-radius: 12px;
  padding: 8px; flex: 0 0 auto; margin-right: 2px;
}
.cc-icon svg { width: 100%; height: 100%; display: block; }
.chip--type { background: rgba(17, 109, 255, .1); color: var(--blue-deep); }
.chip--pendingrev { background: var(--gold-soft); color: var(--navy-ink); }

.cc-title { font-size: 1.08rem; margin-bottom: 4px; }
.cc-meta { color: var(--muted); margin: 0 0 10px; }
.cc-desc { color: var(--muted); font-size: .92rem; flex: 1 0 auto; }
.cc-actions { margin-top: 16px; }
.btn--claim {
  width: 100%;
  font-family: var(--font-head); font-weight: 700; font-size: .93rem;
  background: transparent; color: var(--navy);
  border: 1.7px solid var(--navy); border-radius: 999px;
  padding: 12px 20px; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.btn--claim:hover { background: var(--navy); color: #fff; }
.cc-pending-note { color: var(--gold); font-size: .62rem; letter-spacing: .08em; margin: 0; }

.cc-contact {
  background: #fff; border: 1.6px dashed var(--gold); border-radius: var(--radius-sm);
  padding: 15px 17px;
}
.cc-thanks { color: var(--gold); font-size: .62rem; font-weight: 700; letter-spacing: .1em; margin: 0 0 8px; }
.cc-phone { margin: 0 0 6px; font-size: .93rem; }
.cc-phone .tel { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: var(--navy); }
.cc-small { font-size: .78rem; color: var(--muted); margin: 0; }

.chesed-privacy {
  margin-top: 40px; color: var(--muted);
  font-size: .64rem; letter-spacing: .08em; line-height: 1.9;
  border-top: 1px solid var(--line); padding-top: 22px;
}

/* ============================================================
   TRANSPARENCY DASHBOARD
   ============================================================ */
#transparency .lede { margin-bottom: 48px; }
.dash-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 54px; }
.dash-stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.dash-stat .num {
  font-family: var(--font-head); font-weight: 800; font-size: 2.3rem; line-height: 1; color: var(--navy);
}
.dash-stat .num .unit { color: var(--gold); }
.dash-stat .lbl { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

.calc-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--navy); color: #fff;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.calc-left { padding: 44px 46px; }
.calc-left h3 { color: #fff; font-size: 1.5rem; }
.calc-left p { color: rgba(255, 255, 255, .75); font-size: .95rem; }
.calc-input-row {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255, 255, 255, .08);
  border: 1.6px solid rgba(255, 255, 255, .25);
  border-radius: 12px; padding: 10px 18px; margin: 22px 0 14px;
}
.calc-input-row:focus-within { border-color: var(--gold); }
.calc-input-row .sym { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--gold); }
#calc-amount {
  background: none; border: 0; outline: 0; color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.9rem;
  width: 100%;
  -moz-appearance: textfield; appearance: textfield;
}
#calc-amount::-webkit-outer-spin-button, #calc-amount::-webkit-inner-spin-button { -webkit-appearance: none; }
.calc-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.calc-chip {
  font-family: var(--font-mono); font-size: .78rem;
  background: rgba(255, 255, 255, .1); color: #fff;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  padding: 7px 14px; cursor: pointer;
}
.calc-chip:hover { border-color: var(--gold); color: var(--gold); }
#calc-buys { margin-top: 20px; font-size: .9rem; color: var(--gold-soft); }

.calc-right { padding: 44px 46px; background: var(--navy-deep); }
.calc-row { margin-bottom: 26px; }
.calc-row .lbl {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255, 255, 255, .65); margin-bottom: 9px;
}
.calc-row .lbl strong { font-family: var(--font-head); font-size: 1.25rem; letter-spacing: 0; color: #fff; }
.calc-track { height: 14px; background: rgba(255, 255, 255, .1); border-radius: 999px; overflow: hidden; }
.calc-track span { display: block; height: 100%; border-radius: 999px; transition: width .5s ease; }
#calc-bar-nb { background: linear-gradient(90deg, var(--gold), #E3C88C); }
#calc-bar-ty { background: rgba(255, 255, 255, .32); }
.calc-gain {
  margin-top: 8px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14);
}
.calc-gain .lbl { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.calc-gain strong { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--gold); display: block; margin-top: 4px; }
.calc-gain p { color: rgba(255,255,255,.7); font-size: .85rem; margin: 8px 0 0; }

.pipeline { margin-top: 54px; }
.pipeline h3 { margin-bottom: 22px; }
.pipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pipe-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); position: relative;
}
.pipe-step .mono { color: var(--blue); }
.pipe-step h4 { font-size: 1.02rem; margin: 8px 0 6px; }
.pipe-step p { color: var(--muted); font-size: .9rem; margin: 0; }

.roadmap {
  margin-top: 46px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.roadmap .mono { color: var(--muted); margin-right: 6px; }
.roadmap .chip { background: #fff; border: 1px solid var(--line); color: var(--navy); }

/* ============================================================
   NESIVOS — dark portal
   ============================================================ */
#nesivos { background: var(--navy-ink); color: #fff; }
#nesivos .kicker { color: var(--gold); }
#nesivos h2, #nesivos h3 { color: #fff; }
#nesivos .lede { color: rgba(255, 255, 255, .72); }

.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .14);
  margin: 44px 0 14px;
}
.video-frame video { display: block; width: 100%; height: auto; }
#video-unmute {
  position: absolute; right: 18px; bottom: 62px;
  background: var(--gold); color: var(--navy-ink);
  border: 0; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  padding: 12px 22px; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
#video-unmute:hover { filter: brightness(1.08); }
#video-unmute.hidden { display: none; }
.video-caption { color: rgba(255, 255, 255, .55); font-size: .82rem; font-family: var(--font-mono); margin-bottom: 62px; }

.plan-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 30px; align-items: stretch; margin-bottom: 20px; }
.plan-map {
  background: var(--parchment);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-lg);
}
.plan-map svg { display: block; width: 100%; height: auto; }

.parcel { cursor: pointer; outline: none; }
.parcel .zone {
  fill: #DDE7D6; stroke: #B9C9AE; stroke-width: 1.5;
  transition: fill .18s ease, stroke .18s ease;
}
.parcel[data-parcel="camp"] .zone { fill: #D8E6DA; }
.parcel[data-parcel="yeshiva"] .zone { fill: #E4E0D2; }
.parcel[data-parcel="shul"] .zone { fill: #EFE6CF; }
.parcel[data-parcel="mainst"] .zone { fill: #E9DFCB; }
.parcel:hover .zone, .parcel:focus .zone, .parcel.active .zone { fill: #C7DBFF; stroke: var(--blue); stroke-width: 2.4; }
.parcel .plabel {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: .08em; fill: var(--navy); text-transform: uppercase;
  pointer-events: none;
}
.parcel .psub { font-family: var(--font-mono); font-size: 10px; fill: var(--muted); pointer-events: none; }
.home { fill: none; stroke: #8FA083; stroke-width: 1.4; }
.home--filled { fill: var(--blue); stroke: var(--blue); opacity: .82; }
.parcel .bldg { fill: #C9BFA6; stroke: #A5987A; stroke-width: 1.4; }
.parcel .bldg--done { fill: var(--gold); stroke: #A5854A; }
.map-road { fill: #E7E1D2; stroke: #CFC7B2; stroke-width: 1; }
.map-lake { fill: #BCD7EC; stroke: #9FC2DE; stroke-width: 1.5; }
.map-legend { font-family: var(--font-mono); font-size: 10.5px; fill: var(--muted); }

.plan-detail {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 30px;
  display: flex; flex-direction: column;
}
#parcel-chip {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em;
  background: var(--gold); color: var(--navy-ink);
  border-radius: 999px; padding: 5px 11px; font-weight: 700;
  margin-bottom: 14px;
}
#parcel-title { font-size: 1.45rem; margin-bottom: 8px; }
#parcel-desc { color: rgba(255, 255, 255, .72); font-size: .95rem; }
#parcel-facts { margin: 6px 0 22px; padding: 0 0 0 18px; color: rgba(255, 255, 255, .82); font-size: .92rem; }
#parcel-facts li { margin-bottom: 7px; }
.parcel-progress { margin-top: auto; }
.parcel-progress .lbl {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 8px;
}
.parcel-progress .track { height: 10px; background: rgba(255, 255, 255, .12); border-radius: 999px; overflow: hidden; }
.parcel-progress .track span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #E3C88C); border-radius: 999px; transition: width .4s ease; }
.map-hint { color: rgba(255, 255, 255, .45); font-family: var(--font-mono); font-size: .72rem; margin: 14px 0 60px; }

.founding {
  display: flex; align-items: center; gap: 26px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 24px 30px; margin-bottom: 70px; flex-wrap: wrap;
}
.founding .num { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--gold); line-height: 1; }
.founding .lbl { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.founding .track { flex: 1; min-width: 220px; height: 12px; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; }
.founding .track span { display: block; height: 100%; width: 46.6%; background: linear-gradient(90deg, var(--blue), #4E93FF); }

.nesivos-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
.n-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.n-card figure { margin: 0; height: 190px; position: relative; }
.n-card figure img { width: 100%; height: 100%; object-fit: cover; }
.n-card .n-body { padding: 22px 24px 26px; }
.n-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.n-card p { color: rgba(255, 255, 255, .7); font-size: .9rem; margin: 0; }
.n-card .mono { color: var(--gold); display: block; margin-bottom: 8px; }

.winter-banner {
  position: relative; border-radius: var(--radius); overflow: hidden;
  margin: 22px 0 70px;
  box-shadow: var(--shadow-lg);
}
.winter-banner img { width: 100%; height: auto; display: block; }
.winter-banner figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 60px 30px 22px;
  background: linear-gradient(0deg, rgba(13, 23, 34, .85), transparent);
  font-family: var(--font-mono); font-size: .78rem; color: rgba(255, 255, 255, .85);
}

.milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.milestone {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 255, 255, .04);
  position: relative;
}
.milestone .phase { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
.milestone h3 { margin: 10px 0 8px; font-size: 1.2rem; }
.milestone p { color: rgba(255, 255, 255, .68); font-size: .9rem; margin: 0 0 16px; }
.milestone .status, .rm-item .status { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; padding: 5px 11px; border-radius: 999px; font-weight: 700; }
.status--open { background: var(--ok); color: #fff; }
.status--build { background: var(--gold); color: var(--navy-ink); }
.status--next { background: rgba(255, 255, 255, .16); color: #fff; }

/* ============================================================
   IMAGE DROP-IN INVITES (dashed placeholder tiles)
   ============================================================ */
.imgslot--invite { position: relative; }
.imgslot--invite.missing img { display: none; }
.imgslot--invite.missing {
  border: 1.8px dashed rgba(127, 140, 154, .55);
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(17, 109, 255, .07), transparent 70%);
  display: flex; align-items: center; justify-content: center;
  min-height: 190px;
}
.imgslot--invite.missing::after {
  content: "recommended image — drop file at " attr(data-hint);
  position: absolute; inset: auto 14px 12px 14px;
  text-align: center;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .03em;
  color: rgba(127, 140, 154, .95);
}
.imgslot--invite.missing::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 2.4rem; font-weight: 300;
  color: rgba(127, 140, 154, .6);
}

/* ============================================================
   VOLUNTEER
   ============================================================ */
#help { background: var(--parchment); }
.vol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 46px; }
.vol-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 200px 1fr;
}
.vol-card .imgslot--invite { min-height: 100%; }
.vol-card .imgslot--invite img { width: 100%; height: 100%; object-fit: cover; }
.vol-body { padding: 26px 28px; }
.vol-body h3 { margin-bottom: 6px; }
.vol-body p { color: var(--muted); font-size: .93rem; margin-bottom: 0; }
.vol-body .mono { color: var(--blue); display: block; margin-bottom: 8px; }

/* Legacy #volunteer-form rules removed 2026-08-03 — the volunteer form is
   now a .form-card with a .fg grid (see the rebuild block at the end). */

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy-ink); color: rgba(255, 255, 255, .72);
  padding: 64px 0 40px;
}
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-tag {
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #fff;
  margin: 14px 0 6px;
}
.footer-tag em { font-style: normal; color: var(--gold); }
footer .mono { color: rgba(255, 255, 255, .45); }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: rgba(255, 255, 255, .78); font-size: .92rem; }
.footer-note {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 26px;
  font-size: .8rem; color: rgba(255, 255, 255, .45);
}

/* ============================================================
   CART DRAWER
   ============================================================ */
#cart-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(13, 23, 34, .55);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
#cart-overlay.show { opacity: 1; pointer-events: auto; }

#cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(460px, 100vw);
  background: var(--ground);
  box-shadow: -18px 0 50px rgba(13, 23, 34, .3);
  transform: translateX(105%);
  transition: transform .32s cubic-bezier(.3, .9, .3, 1);
  display: flex; flex-direction: column;
}
#cart-drawer.open { transform: none; }

.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px; border-bottom: 1px solid var(--line);
}
.cart-head h3 { margin: 0; }
#cart-close {
  border: 0; background: var(--parchment); border-radius: 999px;
  width: 38px; height: 38px; cursor: pointer; font-size: 1.05rem; color: var(--navy);
}
#cart-items { flex: 1; overflow-y: auto; padding: 10px 26px; }
#cart-empty { padding: 60px 26px; text-align: center; color: var(--muted); }

.cart-row {
  display: flex; gap: 14px; padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-icon { width: 40px; height: 40px; color: var(--gold); flex: 0 0 auto; margin-top: 4px; }
.cart-icon svg { width: 100%; height: 100%; }
.cart-info { flex: 1; min-width: 0; }
.cart-name { font-family: var(--font-head); font-weight: 700; font-size: .98rem; margin: 0; }
.cart-org { color: var(--muted); margin: 2px 0 4px; }
.cart-unit { color: #9AA6B2; margin: 0; }
.cart-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.qty--sm .qty-btn { min-height: 32px; width: 30px; font-size: 1rem; }
.qty--sm .qty-input { width: 36px; font-size: .85rem; }
.cart-line { font-weight: 600; color: var(--navy); margin: 0; font-size: .88rem; }
.cart-remove {
  border: 0; background: none; color: var(--muted); cursor: pointer;
  font-size: .68rem; text-decoration: underline; padding: 0;
}
.cart-remove:hover { color: var(--danger); }

#cart-footer { border-top: 1px solid var(--line); padding: 20px 26px 26px; background: #fff; }
#cart-impact { font-size: .92rem; color: var(--muted); margin-bottom: 16px; }
#cart-impact strong { color: var(--navy); }
.cart-total-row {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px;
}
.cart-total-row .lbl { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
#cart-total { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; }
.cart-direct-row { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
#cart-direct { color: var(--ok); font-weight: 600; }
#cart-checkout { width: 100%; justify-content: center; }
.cart-fine { font-size: .72rem; color: #9AA6B2; text-align: center; margin: 12px 0 0; }

/* ---------- Checkout modal ---------- */
#checkout-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13, 23, 34, .6);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
  padding: 20px;
}
#checkout-modal.show { opacity: 1; pointer-events: auto; }
.modal-card {
  background: #fff; border-radius: var(--radius);
  max-width: 480px; width: 100%;
  padding: 42px 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.modal-card .check {
  width: 66px; height: 66px; border-radius: 999px;
  background: rgba(46, 125, 82, .12); color: var(--ok);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin: 0 auto 20px;
}
.modal-card h3 { font-size: 1.4rem; }
.modal-card p { color: var(--muted); font-size: .94rem; }
.modal-card .btn { margin-top: 10px; }

/* ---------- Toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 110;
  transform: translate(-50%, 80px);
  background: var(--navy); color: #fff;
  font-size: .9rem; font-weight: 500;
  padding: 13px 22px; border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0; transition: transform .3s ease, opacity .3s ease;
  max-width: 90vw; text-align: center;
}
#toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .thesis-grid, .calc-panel, .plan-grid { grid-template-columns: 1fr; }
  .pillars, .pipe-grid, .nesivos-cards, .milestones { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .cm-grid { grid-template-columns: 1fr 1fr; }
  .vol-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  section { padding: 72px 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .pillars, .pipe-grid, .nesivos-cards, .milestones, .dash-grid { grid-template-columns: 1fr; }
  .cm-grid { grid-template-columns: 1fr; }
  .chesed-head { flex-direction: column; align-items: stretch; }
  .chesed-filters { grid-template-columns: 1fr 1fr; }
  .fcard img { height: 96px; }
  .vol-card { grid-template-columns: 1fr; }
  .vol-card .imgslot--invite { min-height: 160px; }
  .needs-head { flex-direction: column; align-items: stretch; }
  .calc-left, .calc-right { padding: 32px 26px; }

  #cart-open { margin-left: auto; }
  #nav-toggle { display: block; }
  #site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(18, 32, 46, .98);
    flex-direction: column; gap: 0; padding: 10px 0 16px;
    display: none;
  }
  #site-nav.open { display: flex; }
  #site-nav a { padding: 13px 28px; width: 100%; }
  .header-inner { gap: 14px; }
}

/* ============================================================
   ENHANCEMENTS — demo flag, vision film, founding flow,
   roadmap, radius slider, honeypot (2026-07 build)
   ============================================================ */

/* Honeypot — invisible to humans, tempting to bots */
.hp-field { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; overflow: hidden; }

/* ---------- Prominent demo labeling ---------- */
#status-flag {
  position: fixed; left: 16px; bottom: 16px; z-index: 70;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy-ink); color: var(--gold-soft);
  border: 1px solid rgba(197, 160, 89, .55);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: .62rem; font-weight: 600; letter-spacing: .1em;
  padding: 8px 14px;
  box-shadow: var(--shadow-lg);
  text-decoration: none !important;
  opacity: .94;
}
#status-flag:hover { opacity: 1; color: var(--gold); border-color: var(--gold); }
.df-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--gold); flex: 0 0 auto;
  animation: df-pulse 2.4s ease-in-out infinite; }
@keyframes df-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (max-width: 680px) { .df-more { display: none; } #status-flag { left: 10px; bottom: 10px; } }

/* ---------- Vision film ---------- */
.video-frame--film { margin-top: 34px; }
#film-play, #tuition-film-play {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background: linear-gradient(0deg, rgba(13, 23, 34, .55), rgba(13, 23, 34, .15) 45%);
  border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  color: #fff;
  transition: background .2s ease;
}
#film-play:hover, #tuition-film-play:hover { background: linear-gradient(0deg, rgba(13, 23, 34, .45), rgba(13, 23, 34, .08) 45%); }
#film-play.hidden, #tuition-film-play.hidden { display: none; }
#film-play .fp-icon, #tuition-film-play .fp-icon {
  width: 74px; height: 74px; border-radius: 999px;
  background: var(--gold); color: var(--navy-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; padding-left: 6px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
  transition: transform .18s ease;
}
#film-play:hover .fp-icon, #tuition-film-play:hover .fp-icon { transform: scale(1.07); }
#film-play .fp-text, #tuition-film-play .fp-text {
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; text-align: left;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .6);
}
#film-play .fp-text small, #tuition-film-play .fp-text small {
  display: block; font-family: var(--font-mono); font-weight: 500; font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); margin-top: 5px;
}
@media (max-width: 680px) {
  #film-play .fp-icon, #tuition-film-play .fp-icon { width: 54px; height: 54px; font-size: 1.1rem; }
#film-play .fp-text, #tuition-film-play .fp-text { font-size: 1rem; }
}

/* ---------- Founding-family flow ---------- */
.founding-join {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 70px;
  position: relative;
}
.fj-copy { padding: 40px 44px; border-right: 1px solid rgba(255, 255, 255, .12); }
.fj-kicker { color: var(--gold); letter-spacing: .2em; display: block; margin-bottom: 12px; }
.fj-copy h3 { font-size: 1.6rem; }
.fj-copy p { color: rgba(255, 255, 255, .72); font-size: .95rem; }
.fj-copy strong { color: #fff; }
.fj-perks { margin: 18px 0 0; padding: 0; list-style: none; }
.fj-perks li {
  position: relative; padding-left: 26px; margin-bottom: 10px;
  color: rgba(255, 255, 255, .82); font-size: .92rem;
}
.fj-perks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

#founding-form { padding: 40px 44px; }
.ff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.ff-full { grid-column: 1 / -1; }
#founding-form label {
  display: flex; flex-direction: column; gap: 7px;
  font-family: var(--font-mono); font-size: .64rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6);
}
#founding-form input, #founding-form select, #founding-form textarea {
  font-family: var(--font-body); font-size: .95rem;
  border: 1.6px solid rgba(255, 255, 255, .22); border-radius: 10px;
  padding: 12px 15px; background: rgba(13, 23, 34, .5); color: #fff;
  outline: none; width: 100%; resize: vertical;
}
#founding-form input::placeholder, #founding-form textarea::placeholder { color: rgba(255, 255, 255, .35); }
#founding-form input:focus, #founding-form select:focus, #founding-form textarea:focus { border-color: var(--gold); }
#founding-form select option { color: var(--navy); background: #fff; }
.ff-fine { color: rgba(255, 255, 255, .45); font-size: .6rem; letter-spacing: .08em; margin: 14px 0 0; }
.ff-success { padding: 60px 44px; text-align: center; }
.ff-success .check {
  width: 66px; height: 66px; border-radius: 999px; margin: 0 auto 18px;
  background: rgba(197, 160, 89, .16); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
}
.ff-success h3 { font-size: 1.5rem; }
.ff-success p { color: rgba(255, 255, 255, .72); }
@media (max-width: 1020px) {
  .founding-join { grid-template-columns: 1fr; }
  .fj-copy { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 680px) {
  .fj-copy, #founding-form { padding: 28px 24px; }
  .ff-grid { grid-template-columns: 1fr; }
}

/* ---------- Roadmap (the all-real section) ---------- */
#status { background: var(--ground); }
.rm-list { display: grid; gap: 14px; margin-top: 42px; }
.rm-item {
  display: flex; gap: 22px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px; box-shadow: var(--shadow);
}
.rm-item > .status { flex: 0 0 auto; margin-top: 3px; min-width: 96px; text-align: center; }
.rm-item h3 { font-size: 1.08rem; margin-bottom: 2px; }
.rm-when { color: #8A6A2F; font-size: .64rem; letter-spacing: .14em; margin: 0 0 8px; }
.rm-item p:last-child { color: var(--muted); font-size: .93rem; margin: 0; }
.rm-note {
  margin-top: 34px; color: var(--muted); font-size: .64rem; letter-spacing: .08em; line-height: 1.9;
  border-top: 1px solid var(--line); padding-top: 20px;
}
@media (max-width: 680px) {
  .rm-item { flex-direction: column; gap: 10px; }
}

/* ---------- Radius slider ---------- */
#radius-wrap[hidden] { display: none; }
#radius-wrap {
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1.6px solid var(--line); border-radius: 999px;
  padding: 10px 20px 12px;
  box-shadow: var(--shadow);
  min-width: 210px;
}
#radius-wrap label { color: var(--muted); font-size: .62rem; letter-spacing: .1em; }
#radius-wrap output { color: var(--navy); font-weight: 700; }
#radius-input {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 999px;
  background: var(--parchment); outline: none;
  border: 1px solid var(--line);
}
#radius-input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 999px;
  background: var(--blue); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(26, 43, 60, .35); cursor: pointer;
}
#radius-input::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 999px;
  background: var(--blue); border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(26, 43, 60, .35); cursor: pointer;
}

/* ---------- Needs empty state ---------- */
.needs-empty {
  grid-column: 1 / -1;
  background: #fff; border: 1.8px dashed var(--line); border-radius: var(--radius);
  padding: 54px 30px; text-align: center; color: var(--muted);
}
.needs-empty strong { color: var(--navy); }
.needs-empty button { margin-top: 14px; }

/* ---------- QA fixes (2026-07) ---------- */
/* Tablet header: nav links overflow — burger takes over earlier.
   Raised 1080 → 1160 when the 8th link (Tuition) was added 2026-08. */
@media (max-width: 1160px) {
  #nav-toggle { display: block; }
  #site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(18, 32, 46, .98);
    flex-direction: column; gap: 0; padding: 10px 0 16px;
    display: none;
  }
  #site-nav.open { display: flex; }
  #site-nav a { padding: 13px 28px; width: 100%; }
}

/* Hide developer drop-file hints from visitors — tiles stay as clean dashed slots */
.imgslot--invite.missing::after,
.need-media.missing::after { content: none; }

/* ============================================================
   TUITION  (added 2026-08)
   ============================================================ */
#tuition { padding: 96px 0; background: var(--parchment); border-top: 1px solid var(--line); }
#tuition h2 { max-width: 20ch; }
#tuition .lede { max-width: 62ch; margin-bottom: 40px; }

.tuition-banner {
  margin: 0 0 44px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); min-height: 200px; background: var(--gold-soft);
}
.tuition-banner img { width: 100%; height: clamp(220px, 30vw, 420px); object-fit: cover; }

.tuition-stats { margin-bottom: 66px; }
.tuition-stats .dash-stat .num { font-size: 2.05rem; }
sup.cite a { color: var(--gold); text-decoration: none; }
.cite a:hover { text-decoration: underline; }
.cite {
  font-family: var(--font-mono); font-size: .62em; color: var(--gold);
  margin-left: 2px; font-weight: 700;
}

/* --- the honest part --- */
.tuition-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: start; margin-bottom: 76px;
}
.tuition-grid h3 { font-size: 1.72rem; margin: 6px 0 16px; }
.tuition-grid p { color: var(--muted); }
.tuition-grid .thesis-quote { color: var(--navy); }
.tuition-figs { display: grid; gap: 18px; }
.tuition-figs figure {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); min-height: 160px; background: var(--gold-soft);
}
.tuition-figs img { width: 100%; height: 232px; object-fit: cover; }

/* --- the atomic units --- */
.tuition-units { margin-bottom: 76px; }
.tuition-units h3 { font-size: 1.72rem; margin: 6px 0 14px; }
.unit-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 30px;
}
.unit-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.unit-thumb {
  margin: 0; aspect-ratio: 1 / 1; background: var(--navy); min-height: 0;
}
.unit-thumb img { width: 100%; height: 100%; object-fit: cover; }
.unit-thumb.missing { border: 0; border-bottom: 1.8px dashed rgba(197, 160, 89, .5); }
.unit-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.unit-body .mono { color: var(--blue); font-size: .66rem; letter-spacing: .12em; }
.unit-body h4 { font-size: 1rem; margin: 7px 0 7px; line-height: 1.3; }
.unit-body p { color: var(--muted); font-size: .86rem; margin: 0 0 14px; }
.unit-price {
  margin-top: auto; font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.unit-price.pending { color: var(--gold); }

/* --- ECCA panel --- */
.ecca-panel {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 0;
  background: var(--navy); color: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 76px;
}
.ecca-left { padding: 46px 48px; }
.ecca-left .mono { color: var(--gold); font-size: .69rem; letter-spacing: .13em; }
.ecca-left h3 { color: #fff; font-size: 1.85rem; margin: 14px 0 18px; max-width: 22ch; }
.ecca-left p { color: rgba(255, 255, 255, .78); font-size: .95rem; }
.ecca-left strong { color: #fff; }
.ecca-note {
  margin-top: 24px; padding: 18px 20px; border-left: 3px solid var(--gold);
  background: rgba(197, 160, 89, .1); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .9rem !important;
}
.ecca-right { padding: 46px 44px; background: var(--navy-deep); }
.ecca-fact { margin-bottom: 26px; }
.ecca-fact .lbl {
  display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .11em;
  text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 6px;
}
.ecca-fact strong {
  font-family: var(--font-head); font-weight: 800; font-size: 2.05rem;
  color: var(--gold); display: block; line-height: 1;
}
.ecca-fact p { color: rgba(255, 255, 255, .62); font-size: .8rem; margin: 8px 0 0; }
.ecca-status {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16);
}
.ecca-status .mono { color: var(--danger); font-size: .67rem; letter-spacing: .13em; }
.ecca-status p { color: rgba(255, 255, 255, .74); font-size: .86rem; margin: 10px 0 0; }
.ecca-status strong { color: #fff; }

/* --- bridge to Nesivos --- */
.tuition-bridge {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px;
  align-items: center; margin-bottom: 60px;
}
.tuition-bridge h3 { font-size: 1.72rem; margin: 6px 0 16px; max-width: 20ch; }
.tuition-bridge p { color: var(--muted); }
.tuition-bridge .btn { margin-top: 10px; }
.tuition-bridge figure {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); min-height: 200px; background: var(--gold-soft);
}
.tuition-bridge img { width: 100%; height: 320px; object-fit: cover; }

/* --- sources --- */
.tuition-sources, .sources {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 26px;
}
.tuition-sources summary, .sources summary {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--navy); cursor: pointer;
}
.tuition-sources summary:hover, .sources summary:hover { color: var(--blue); }
.tuition-sources ol, .sources ol { margin: 20px 0 0; padding-left: 22px; }
.tuition-sources li, .sources li { color: var(--muted); font-size: .87rem; margin-bottom: 14px; line-height: 1.55; }
.tuition-sources a, .sources a { word-break: break-word; }
.src-note {
  margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .87rem;
}

@media (max-width: 1080px) {
  .unit-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  #tuition { padding: 72px 0; }
  .tuition-grid, .tuition-bridge, .ecca-panel { grid-template-columns: 1fr; gap: 32px; }
  .ecca-left, .ecca-right { padding: 34px 26px; }
  .tuition-figs { grid-template-columns: 1fr 1fr; }
  .tuition-stats { grid-template-columns: repeat(2, 1fr); }
  .tuition-bridge img { height: 240px; }
}
@media (max-width: 680px) {
  .unit-grid { grid-template-columns: 1fr 1fr; }
  .tuition-figs { grid-template-columns: 1fr; }
  #tuition h2 { max-width: none; }
}
@media (max-width: 460px) {
  .unit-grid, .tuition-stats { grid-template-columns: 1fr; }
}

/* ---------- TUITION: bands, practice strip, film slot (2026-08) ---------- */
.tuition-band {
  margin: 0 0 66px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--gold-soft); position: relative;
}
.tuition-band img { width: 100%; height: clamp(220px, 26vw, 380px); object-fit: cover; }
.tuition-band figcaption {
  background: var(--navy); color: rgba(255, 255, 255, .82);
  font-size: .92rem; padding: 15px 22px; border-left: 3px solid var(--gold);
}
.tuition-band--close { margin-bottom: 34px; }
.tuition-band--close figcaption { color: #fff; font-style: italic; }
.tuition-band.missing img { display: none; }
.tuition-band.missing { min-height: 200px; }

.practice-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px;
}
.practice-grid figure {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; min-height: 150px;
}
.practice-grid img { width: 100%; height: 190px; object-fit: cover; }
.practice-grid figcaption {
  padding: 15px 18px 18px; color: var(--muted); font-size: .87rem; flex: 1;
}
.practice-grid .mono {
  display: block; color: var(--blue); font-size: .64rem;
  letter-spacing: .13em; margin-bottom: 5px;
}

/* film slot — a designed placeholder, not a broken player */
.film-slot {
  display: flex; align-items: center; gap: 26px;
  background: var(--navy-deep); color: #fff;
  border: 1.8px dashed rgba(197, 160, 89, .45); border-radius: var(--radius);
  padding: 30px 34px; margin-bottom: 76px;
}
.film-slot .fs-icon {
  flex: 0 0 auto; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.15rem;
  background: rgba(197, 160, 89, .16); color: var(--gold);
  border: 1.5px solid rgba(197, 160, 89, .5);
}
.film-slot .mono { color: var(--gold); font-size: .67rem; letter-spacing: .14em; }
.film-slot h3 { color: #fff; font-size: 1.4rem; margin: 7px 0 7px; }
.film-slot p { color: rgba(255, 255, 255, .7); font-size: .93rem; margin: 0; max-width: 68ch; }
.video-frame--tuition { margin-bottom: 76px; }

@media (max-width: 900px) {
  .practice-grid { grid-template-columns: 1fr; }
  .practice-grid img { height: 200px; }
  .film-slot { flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px; }
  .tuition-band { margin-bottom: 44px; }
}

/* ============================================================
   ══ 2026-08-03 REBUILD ══
   Informational-first architecture: real content above, a
   quarantined simulation below, and live give/help surfaces.
   ============================================================ */

/* ---------- shared: citations, small buttons, fine print ---------- */
.cite a { color: var(--gold); text-decoration: none; }
.cite a:hover { text-decoration: underline; }
.cite {
  font-family: var(--font-mono); font-size: .58em; color: var(--gold);
  font-weight: 700; padding-left: 1px; vertical-align: super;
}
.btn--small { padding: 10px 16px; font-size: .82rem; }
.hero-fine { color: rgba(255, 255, 255, .42); font-size: .62rem; letter-spacing: .1em;
  /* bottom margin clears the fixed #status-flag ribbon */
  margin: 26px 0 46px; }
.hero-fine a { color: var(--gold-soft); text-decoration: underline; }
.hero-stat .num .unit { color: var(--gold); }
.how-sub { font-size: 1.55rem; margin: 66px 0 24px; }

/* ---------- shared: the callout band ---------- */
.band {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy);
  border-radius: var(--radius-sm); padding: 24px 28px; margin: 34px 0;
}
.band .mono { color: var(--muted); font-size: .68rem; letter-spacing: .14em; display: block; margin-bottom: 8px; }
.band p { color: var(--navy-ink); font-size: .96rem; margin: 0; }
.band p + .btn, .band .btn { margin-top: 16px; }
.band--gold { border-left-color: var(--gold); background: var(--parchment); }
.band--gold .mono { color: #8A6A2F; }

/* ---------- shared: data tables ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.dtable { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .88rem; }
.dtable th {
  background: var(--navy); color: #fff; text-align: left; padding: 13px 16px;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 700; vertical-align: bottom;
}
.dtable td { padding: 13px 16px; border-top: 1px solid var(--line); color: var(--navy-ink); vertical-align: top; }
.dtable tbody tr:nth-child(even) { background: rgba(243, 238, 227, .5); }
.dtable td.mono { font-size: .74rem; color: var(--muted); white-space: nowrap; }
.tag {
  display: inline-block; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  background: rgba(26, 43, 60, .1); color: var(--navy); margin-right: 7px;
}
.tag--partner { background: var(--ok); color: #fff; }
.tag--overlap { background: var(--gold); color: var(--navy-ink); }
.tnote { color: var(--muted); font-size: .64rem; letter-spacing: .1em; margin: 12px 0 0; }

/* ============================================================
   THE IDEA — two pillars
   ============================================================ */
.pillar-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 40px 0 70px; }
.pp-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold);
  border-radius: var(--radius); padding: 34px 36px 30px; display: flex; flex-direction: column;
}
.pp-card .mono { color: var(--muted); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.pp-card h3 { font-size: 1.5rem; margin: 12px 0 14px; }
.pp-card p { color: var(--muted); font-size: .97rem; }
.pp-card strong { color: var(--navy); }
.pp-note {
  border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto;
  font-size: .88rem !important; font-style: italic;
}
.pp-link { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; font-weight: 700; margin-top: 16px; }
.pp-card--dark { background: var(--navy); border-color: var(--navy); }
.pp-card--dark h3 { color: #fff; }
.pp-card--dark .mono { color: var(--gold); }
.pp-card--dark p { color: rgba(255, 255, 255, .78); }
.pp-card--dark strong { color: #fff; }
.pp-card--dark .pp-note { border-top-color: rgba(255, 255, 255, .16); color: var(--gold-soft); }
.pp-card--dark .pp-link { color: var(--gold); }

.errands-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.errands-grid h3 { font-size: 1.72rem; margin: 6px 0 16px; }
.errands-grid p { color: var(--muted); }
.errands-list { background: var(--parchment); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; }
.errands-list .mono { color: #8A6A2F; font-size: .66rem; letter-spacing: .16em; display: block; margin-bottom: 14px; }
.errands-list ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 26px; }
.errands-list li { color: var(--navy-ink); font-size: .88rem; margin-bottom: 7px; break-inside: avoid; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how { background: var(--parchment); border-top: 1px solid var(--line); }
.rules3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.r3 { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 26px 26px 24px; }
.r3 .mono { color: var(--blue); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.r3 h3 { font-size: 1.08rem; margin: 10px 0 10px; line-height: 1.32; }
.r3 p { color: var(--muted); font-size: .9rem; margin: 0; }

.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.s4 { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px 24px 22px; position: relative; }
.s4n { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--gold); line-height: 1; display: block; }
.s4 h4 { font-size: 1.05rem; margin: 10px 0 8px; }
.s4 p { color: var(--muted); font-size: .87rem; margin: 0; }

.rulelist { display: grid; gap: 12px; }
.rl { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 20px 24px; }
.rl h4 { font-size: 1rem; margin: 0 0 7px; }
.rl p { color: var(--muted); font-size: .89rem; margin: 0; }

/* ============================================================
   THE PROOF — sourced gap chart
   ============================================================ */
#proof { background: #fff; }
.gapchart { margin: 34px 0 44px; }
.gc-row { display: grid; grid-template-columns: 300px 1fr 84px; gap: 18px; align-items: center; margin-bottom: 14px; }
.gc-lbl { font-size: .9rem; color: var(--navy-ink); }
.gc-lbl em { color: var(--muted); font-style: normal; font-size: .82rem; }
.gc-track { height: 26px; background: var(--parchment); border-radius: 5px; overflow: hidden; display: block; }
.gc-bar { display: block; height: 100%; background: var(--navy); border-radius: 5px; }
.gc-bar--ours { background: linear-gradient(90deg, var(--blue), #4E93FF); }
.gc-bar--faint { background: rgba(26, 43, 60, .34); }
.gc-val { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; text-align: right; }
.gc-read {
  margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 1.02rem; color: var(--navy-ink);
}
#proof .dash-stat .num { font-size: 1.95rem; }
#proof .dash-stat .lbl em { text-transform: none; letter-spacing: 0; font-style: italic; }
#proof .calc-gain strong { font-size: 1.7rem; }

/* ============================================================
   WHERE WE START
   ============================================================ */
#where { background: var(--parchment); border-top: 1px solid var(--line); }
.ws-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; margin: 60px 0 20px; }
.ws-grid h3 { font-size: 1.6rem; margin: 6px 0 18px; }
.ws-list { margin: 0; padding: 0; list-style: none; }
.ws-list li { position: relative; padding-left: 26px; margin-bottom: 15px; color: var(--muted); font-size: .95rem; }
.ws-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px;
  background: var(--gold); border-radius: 2px;
}
.ws-list strong { color: var(--navy); }
.posbox { background: var(--navy); border-radius: var(--radius); padding: 34px 36px; border-top: 4px solid var(--gold); }
.posbox .mono { color: var(--gold); font-size: .66rem; letter-spacing: .16em; display: block; margin-bottom: 16px; }
.posline { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.28rem; line-height: 1.35; letter-spacing: -.01em; }
.posnote { color: var(--gold-soft); font-size: .88rem; font-style: italic; }
.posbox .btn { margin-top: 8px; }

/* ============================================================
   WHAT WE FUND — priced units with live give buttons
   ============================================================ */
#fund { background: #fff; }
.unit-grid--fund { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.fund-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold);
  border-radius: var(--radius-sm); padding: 24px 24px 22px; display: flex; flex-direction: column;
}
.fund-card--flag { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(197, 160, 89, .28), var(--shadow); }
.fc-cat { color: var(--muted); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.fc-price { font-family: var(--font-head); font-weight: 800; font-size: 2.35rem; color: var(--navy); line-height: 1; margin: 8px 0 10px; }
.fund-card h3 { font-size: 1.03rem; margin: 0 0 10px; line-height: 1.32; }
.fund-card p { color: var(--muted); font-size: .86rem; margin: 0 0 12px; }
.fc-partner { color: var(--blue); font-size: .6rem !important; letter-spacing: .1em; margin-top: auto !important; margin-bottom: 14px !important; }
.fund-card .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ---------- tuition mechanism ---------- */
.mech { background: var(--navy); border-radius: var(--radius); padding: 40px 44px; margin: 0 0 70px; }
.mech-head .kicker { color: var(--gold); }
.mech-head h3 { color: #fff; font-size: 1.72rem; margin: 6px 0 12px; }
.mech-head .lede { color: rgba(255, 255, 255, .7); margin-bottom: 30px; }
.mech-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: mech; }
.mech-steps li { counter-increment: mech; border-top: 2px solid var(--gold); padding-top: 16px; }
.mech-steps li::before {
  content: counter(mech); font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  color: var(--gold); display: block; line-height: 1; margin-bottom: 8px;
}
.mech-steps h4 { color: #fff; font-size: .98rem; margin: 0 0 7px; line-height: 1.32; }
.mech-steps p { color: rgba(255, 255, 255, .7); font-size: .85rem; margin: 0; }

/* ============================================================
   THE PLAN — timeline
   ============================================================ */
#plan { background: var(--ground); border-top: 1px solid var(--line); }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.tl-item { position: relative; padding: 0 0 30px 40px; border-left: 2px solid var(--line); }
.tl-item:last-child { padding-bottom: 6px; }
.tl-item::before {
  content: ""; position: absolute; left: -9px; top: 3px; width: 16px; height: 16px;
  border-radius: 999px; background: #fff; border: 3px solid var(--line);
}
.tl-item--done::before { background: var(--ok); border-color: var(--ok); }
.tl-item--now::before { background: var(--gold); border-color: var(--gold); }
.tl-item--now { border-left-color: var(--gold); }
.tl-item--next::before { border-color: var(--navy); }
.tl-item--goal::before { background: var(--blue); border-color: var(--blue); }
.tl-date { color: var(--gold); font-size: .68rem; letter-spacing: .16em; font-weight: 700; display: block; margin-bottom: 4px; }
.tl-item h3 { font-size: 1.14rem; margin: 0 0 6px; }
.tl-item p { color: var(--muted); font-size: .92rem; margin: 0; }

.pilot-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; margin-top: 20px; }
.pilot-grid h3 { font-size: 1.6rem; margin: 6px 0 18px; }
.pilot-grid p { color: var(--muted); font-size: .95rem; }
.pilot-grid strong { color: var(--navy); }
.donebox { background: var(--navy); border-radius: var(--radius); padding: 32px 34px; border-top: 4px solid var(--gold); }
.donebox .mono { color: var(--gold); font-size: .66rem; letter-spacing: .16em; display: block; margin-bottom: 16px; }
.donebox ul { margin: 0 0 22px; padding: 0; list-style: none; }
.donebox li { position: relative; padding-left: 24px; color: rgba(255, 255, 255, .84); font-size: .92rem; margin-bottom: 11px; }
.donebox li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.gov-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gov { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px 26px; }
.gov h4 { font-size: 1.02rem; margin: 0 0 8px; }
.gov p { color: var(--muted); font-size: .9rem; margin: 0; }
.gov strong { color: var(--navy); }

/* ============================================================
   SUPPORT — the live money section
   ============================================================ */
#support { background: var(--navy-ink); color: #fff; }
#support .kicker { color: var(--gold); }
#support h2 { color: #fff; }
#support .lede { color: rgba(255, 255, 255, .74); max-width: 74ch; }
#support .lede strong { color: #fff; }

.disclosure {
  background: rgba(197, 160, 89, .1); border: 1px solid rgba(197, 160, 89, .45);
  border-left: 4px solid var(--gold); border-radius: var(--radius-sm);
  padding: 22px 26px; margin: 30px 0 40px;
}
.disclosure .mono { color: var(--gold); font-size: .66rem; letter-spacing: .16em; display: block; margin-bottom: 10px; }
.disclosure p { color: rgba(255, 255, 255, .84); font-size: .93rem; margin: 0; }
.disclosure strong { color: #fff; }
.disclosure u { text-decoration-color: var(--gold); text-underline-offset: 3px; }
/* The pre-gift disclosure gets extra weight — it is the most important
   paragraph on the page and must not read like boilerplate. */
.disclosure--top { background: rgba(197, 160, 89, .16); border-width: 2px; border-left-width: 5px; }
.disclosure--top p { font-size: 1rem; }
#nesivos .disclosure { margin-bottom: 34px; }

.give-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 34px; align-items: start; }
.give-tiers h3 { color: #fff; font-size: 1.5rem; margin-bottom: 20px; }
.gt-row { display: grid; gap: 12px; }
.gt {
  display: flex; align-items: baseline; gap: 20px; width: 100%; text-align: left; cursor: pointer;
  background: rgba(255, 255, 255, .05); border: 1.6px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-sm); padding: 18px 22px; color: #fff;
  font-family: var(--font-body); transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.gt:hover { border-color: var(--gold); background: rgba(197, 160, 89, .12); transform: translateX(3px); }
.gt strong { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--gold); min-width: 92px; flex: 0 0 auto; }
.gt span { color: rgba(255, 255, 255, .8); font-size: .94rem; }
.gt--flag { border-color: var(--gold); background: rgba(197, 160, 89, .14); }
.gt-fine { color: rgba(255, 255, 255, .42); font-size: .6rem; letter-spacing: .1em; margin: 18px 0 0; }

.give-side { display: grid; gap: 16px; }
.gs-block { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-sm); padding: 22px 24px; }
.gs-block .mono { color: var(--gold); font-size: .64rem; letter-spacing: .14em; display: block; margin-bottom: 12px; }
.gs-block ul { margin: 0; padding-left: 18px; }
.gs-block li { color: rgba(255, 255, 255, .78); font-size: .88rem; margin-bottom: 9px; }
.gs-block p { color: rgba(255, 255, 255, .78); font-size: .89rem; margin: 0 0 14px; }
.gs-block--alt { background: rgba(197, 160, 89, .1); border-color: rgba(197, 160, 89, .34); }

/* ============================================================
   HELP OUT — lanes and the two live forms
   ============================================================ */
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 0; }
.lane { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px; }
.lane .mono { color: var(--blue); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.lane h4 { font-size: 1.05rem; margin: 8px 0 7px; }
.lane p { color: var(--muted); font-size: .87rem; margin: 0; }

.forms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 34px 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 32px 34px; }
#partner-form.form-card { border-top-color: var(--gold); }
.fcard-kicker { color: var(--muted); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; display: block; margin-bottom: 12px; }
.form-card h3 { font-size: 1.42rem; margin-bottom: 10px; }
.form-card > p { color: var(--muted); font-size: .93rem; margin-bottom: 22px; }
.form-card > p strong { color: var(--navy); }

.fg { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg-full { grid-column: 1 / -1; }
.fg label, .fg legend {
  display: block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.fg input, .fg select, .fg textarea {
  width: 100%; margin-top: 6px; padding: 11px 13px; border: 1.6px solid var(--line);
  border-radius: var(--radius-sm); background: var(--ground); color: var(--navy);
  font-family: var(--font-body); font-size: .94rem;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--blue); }
.fg textarea { resize: vertical; }
.fg fieldset { grid-column: 1 / -1; border: 0; margin: 4px 0 0; padding: 0; }
.fg legend { padding: 0; margin-bottom: 10px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.ck { display: flex !important; align-items: center; gap: 9px; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; }
.ck input { width: 18px !important; height: 18px; margin: 0 !important; flex: 0 0 auto; accent-color: var(--blue); }
.ck span { font-family: var(--font-body); font-size: .89rem; color: var(--navy-ink); text-transform: none; letter-spacing: 0; }

.fg-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 22px; }
.gform-link { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; font-weight: 700; }
.fg-fine { color: var(--muted); font-size: .58rem; letter-spacing: .09em; margin: 14px 0 0; }
.fg-success { text-align: center; padding: 40px 10px 20px; }
.fg-success .check {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 999px; background: var(--ok);
  color: #fff; display: grid; place-items: center; font-size: 1.6rem; font-weight: 700;
}
.fg-success h3 { font-size: 1.4rem; }
.fg-success p { color: var(--muted); font-size: .93rem; }

/* ============================================================
   THE SIMULATION FRAME — visually unmistakable
   ============================================================ */
#demo { background: #fff; padding-bottom: 0; }
#demo > .wrap { margin-bottom: 34px; }
.simframe {
  border: 3px dashed var(--gold); border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(197, 160, 89, .055) 0 12px, transparent 12px 24px),
    var(--parchment);
  margin: 0 auto 0; width: min(1320px, 96vw); overflow: hidden;
}
.simlabel {
  position: sticky; top: var(--header-h); z-index: 40;
  display: flex; align-items: center; gap: 11px; justify-content: center;
  background: var(--gold); color: var(--navy-ink);
  font-family: var(--font-mono); font-size: .66rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; padding: 11px 16px; text-align: center;
}
.simlabel--end { position: static; background: var(--navy); color: var(--gold); }
.sl-dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--navy-ink); flex: 0 0 auto;
  animation: sim-pulse 2s ease-in-out infinite;
}
.simlabel--end .sl-dot { background: var(--gold); animation: none; }
@keyframes sim-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.simblock { padding: 56px 0; border-bottom: 1px dashed rgba(197, 160, 89, .55); }
.simblock:last-of-type { border-bottom: 0; }
.simblock > .wrap { width: min(1120px, 88%); }
.simblock h3 { font-size: 1.62rem; margin: 6px 0 12px; }
.simblock .lede { margin-bottom: 30px; }
.simblock--dark { background: var(--navy-ink); color: #fff; }
.simblock--dark h3, .simblock--dark h4 { color: #fff; }
.simblock--dark .kicker { color: var(--gold); }
.simblock--dark .lede { color: rgba(255, 255, 255, .72); }
.simblock--dark .lede strong { color: #fff; }
.simblock--dark .dash-stat { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.simblock--dark .dash-stat .num { color: #fff; }
.simblock--dark .dash-stat .lbl { color: rgba(255, 255, 255, .6); }
.simblock--dark .dash-stat .lbl em { text-transform: none; letter-spacing: 0; color: var(--gold-soft); }
.simblock--dark .pipe-step { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.simblock--dark .pipe-step p { color: rgba(255, 255, 255, .7); }
.simblock--dark .pipe-step .mono { color: var(--gold); }
.simblock--dark .roadmap { border-top-color: rgba(255, 255, 255, .14); }
.simblock--dark .roadmap .chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.simblock--dark .roadmap .mono { color: rgba(255, 255, 255, .55); }
.simblock--dark .map-hint { margin-bottom: 0; }
#demo-needs .needs-head { align-items: flex-start; }
#demo-needs #cart-open { flex: 0 0 auto; background: var(--navy); }
#demo-needs #cart-open:hover { background: var(--navy-deep); }
.progress-label em { color: var(--gold); font-style: normal; font-size: .92em; }
.cart-demo-note {
  background: var(--gold); color: var(--navy-ink); padding: 10px 26px; margin: 0;
  font-size: .58rem; letter-spacing: .1em; font-weight: 700;
}
.cart-demo-note a { color: var(--navy-ink); text-decoration: underline; }

/* ============================================================
   NESIVOS — horizon treatment
   ============================================================ */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 44px 0 30px; }
.stage { background: var(--navy-deep); border: 1px solid var(--gold); border-radius: var(--radius-sm); padding: 26px 28px; }
.stage .mono { color: var(--gold); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; display: block; }
.stage h3 { color: var(--gold-soft); font-size: 1rem; margin: 6px 0 12px; font-family: var(--font-mono); letter-spacing: .04em; }
.stage p { color: rgba(255, 255, 255, .78); font-size: .9rem; margin: 0; }
.nes-motto {
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--gold);
  text-align: center; margin: 10px 0 54px; letter-spacing: -.01em;
}
.nes-motto em { color: #fff; font-style: italic; }
#nesivos .band { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
#nesivos .band--gold { background: rgba(197, 160, 89, .1); border-left-color: var(--gold); }
#nesivos .band p { color: rgba(255, 255, 255, .8); }
#nesivos .band strong { color: #fff; }
#nesivos .band .mono { color: var(--gold); }

/* ============================================================
   THE GIVE MODAL — live payment rails
   ============================================================ */
#give-overlay {
  position: fixed; inset: 0; background: rgba(13, 23, 34, .68); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .28s ease; z-index: 120;
}
#give-overlay.show { opacity: 1; pointer-events: auto; }
#give-modal {
  position: fixed; inset: 0; display: grid; place-items: center; padding: 20px;
  z-index: 130; opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
#give-modal.show { opacity: 1; pointer-events: auto; }
.gm-card {
  position: relative; background: #fff; border-radius: var(--radius); border-top: 5px solid var(--gold);
  width: min(560px, 100%); max-height: 88vh; overflow-y: auto; padding: 38px 40px 32px;
  box-shadow: var(--shadow-lg); transform: translateY(14px); transition: transform .28s ease;
}
#give-modal.show .gm-card { transform: none; }
#give-close {
  position: absolute; top: 16px; right: 18px; background: none; border: 0; cursor: pointer;
  font-size: 1.2rem; color: var(--muted); line-height: 1; padding: 6px;
}
#give-close:hover { color: var(--navy); }
.gm-kicker { color: var(--muted); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; display: block; }
.gm-card h3 { font-size: 1.42rem; margin: 10px 0 4px; }
.gm-amount { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--navy); line-height: 1; margin: 0 0 24px; }
.gm-rails { display: grid; gap: 14px; }
.gm-rails > .btn { justify-content: center; }
.gm-rail { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; background: var(--ground); }
.gm-rail .mono { color: var(--blue); font-size: .62rem; letter-spacing: .13em; display: block; margin-bottom: 8px; }
.gm-rail p { color: var(--muted); font-size: .89rem; margin: 0 0 12px; }
.gm-rail p:last-child { margin-bottom: 0; }
.gm-rail strong { color: var(--navy); }
.gm-rail em { color: var(--navy); font-style: normal; font-family: var(--font-mono); font-size: .85em; }
.gm-rail--soon { background: var(--parchment); border-color: rgba(197, 160, 89, .5); }
.gm-rail--soon .mono { color: #8A6A2F; }
.gm-copy { font-family: var(--font-mono); font-size: .92rem; }
.gm-rail .btn--ghost { color: var(--navy); border-color: var(--line); }
.gm-rail .btn--ghost:hover { border-color: var(--navy); background: rgba(26, 43, 60, .05); }
.gm-fine {
  margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .8rem;
}
.gm-fine strong { color: var(--danger); }
#checkout-modal .modal-card .btn { display: block; width: 100%; justify-content: center; margin-top: 10px; }
#checkout-modal .btn--ghost { color: var(--navy); border-color: var(--line); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1160px) {
  .unit-grid--fund, .mech-steps { grid-template-columns: repeat(3, 1fr); }
  .steps4 { grid-template-columns: repeat(2, 1fr); }
  .lanes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .unit-grid--fund, .mech-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1020px) {
  .pillar-pair, .errands-grid, .ws-grid, .give-grid, .pilot-grid, .forms-grid { grid-template-columns: 1fr; gap: 30px; }
  .rules3, .stages { grid-template-columns: 1fr; }
  .gov-grid { grid-template-columns: 1fr; }
  .gc-row { grid-template-columns: 1fr; gap: 7px; }
  .gc-val { text-align: left; }
  .errands-list ol { columns: 1; }
  .mech { padding: 32px 26px; }
}
@media (max-width: 680px) {
  .steps4, .lanes, .unit-grid--fund, .mech-steps { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .fg, .checks { grid-template-columns: 1fr; }
  .gm-card { padding: 30px 24px 26px; }
  .gm-amount { font-size: 2.1rem; }
  .gt { flex-direction: column; gap: 4px; }
  .gt strong { min-width: 0; }
  .simblock { padding: 40px 0; }
  .simblock > .wrap { width: 90%; }
  .simlabel { font-size: .56rem; letter-spacing: .1em; padding: 9px 12px; }
  .how-sub { font-size: 1.3rem; margin: 46px 0 20px; }
  .nes-motto { font-size: 1.05rem; }
  .band { padding: 20px 22px; }
}

/* ============================================================
   ══ 2026-08-03b ══  Tabbed mega-menu nav, header CTAs,
   cinematic film bands, and anchor scroll offsets.
   ============================================================ */

/* ---------- anchor offsets: the header is sticky, so every jump
     target needs to clear it or the heading hides underneath ---------- */
section, .nav-anchor,
#problem, #pillar-catalog, #ladder, #ecca, #steps, #receipt, #rules,
#whitespace, #playbook, #widermap, #pilot, #governance, #notdone,
#stages, #partner-form, #vision-film, #tuition-film, #demo-map, #updates-band {
  scroll-margin-top: 92px;
}

/* ---------- header layout ---------- */
.header-ctas { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; margin-left: auto; }
.btn--nav { padding: 11px 20px; font-size: .88rem; }

/* ---------- the tab row ---------- */
#site-nav { margin-left: 34px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-group { position: relative; }
.nav-tab {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: none; border: 0; padding: 10px 13px; border-radius: 8px;
  font-family: var(--font-body); font-size: .92rem; font-weight: 600;
  color: rgba(255, 255, 255, .82); white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
.nav-tab:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .65; transition: transform .2s ease;
}
.nav-group:hover .caret, .nav-group.open .caret { transform: rotate(180deg); opacity: 1; }
.nav-group:hover .nav-tab, .nav-group.open .nav-tab { color: #fff; background: rgba(255, 255, 255, .09); }

/* ---------- the dropdown panel ---------- */
.nav-menu {
  position: absolute; top: 100%; left: 0; z-index: 60;
  width: 340px; padding: 10px;
  /* a transparent lip so the pointer can travel from tab to panel */
  margin-top: 0; border-top: 10px solid transparent; background-clip: padding-box;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-menu::before {
  content: ""; position: absolute; inset: 10px 0 0 0; border-radius: var(--radius-sm);
  background: var(--navy-deep); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 26px 60px rgba(6, 12, 20, .55); z-index: -1;
}
.nav-group:hover .nav-menu, .nav-group.open .nav-menu,
.nav-menu:focus-within { opacity: 1; visibility: visible; transform: none; }
.nav-group:last-child .nav-menu { left: auto; right: 0; }

.nm-head {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin: 8px 14px 8px; padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.nav-menu a {
  display: block; padding: 9px 14px; border-radius: 7px; text-decoration: none !important;
  transition: background .14s ease;
}
.nav-menu a:hover, .nav-menu a:focus-visible { background: rgba(197, 160, 89, .16); outline: none; }
.nav-menu a strong {
  display: block; color: #fff; font-family: var(--font-body); font-weight: 600;
  font-size: .9rem; line-height: 1.3;
}
.nav-menu a span {
  display: block; color: rgba(255, 255, 255, .55); font-size: .76rem; line-height: 1.4; margin-top: 2px;
}
.nav-menu a:hover strong { color: var(--gold); }

/* ---------- mobile: hamburger panel with accordion groups ---------- */
@media (max-width: 1240px) {
  #nav-toggle { display: block; order: 3; }
  .header-ctas { order: 2; }
  #site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-deep); border-top: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 24px 50px rgba(6, 12, 20, .5);
    margin-left: 0; padding: 8px 0 16px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  #site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-group { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-tab {
    width: 100%; justify-content: space-between; border-radius: 0;
    padding: 16px 26px; font-size: 1rem;
  }
  /* hover must NOT open the panel on touch — only the .open class does */
  .nav-menu, .nav-group:hover .nav-menu {
    position: static; width: auto; padding: 0 12px 12px; border-top: 0;
    opacity: 1; visibility: visible; transform: none;
    display: none; box-shadow: none;
  }
  .nav-menu::before { display: none; }
  .nav-group.open .nav-menu { display: block; }
  .nav-group:hover .nav-tab { background: none; }
  .nav-group.open .nav-tab { background: rgba(255, 255, 255, .06); }
  .nm-head { margin-top: 4px; }
  .nav-menu a { padding: 10px 14px; }
  .nav-group:last-child .nav-menu { right: auto; }
}
@media (max-width: 620px) {
  .btn--nav { padding: 10px 14px; font-size: .8rem; }
  .header-ctas { gap: 7px; }
  .logo-img { height: 38px; }
}

/* ---------- cinematic bands cut from the film ---------- */
.filmband { position: relative; margin: 0; background: var(--navy-ink); overflow: hidden; }
.filmband img {
  width: 100%; height: clamp(280px, 44vh, 560px); object-fit: cover; object-position: center 40%;
  display: block;
}
.filmband figcaption {
  position: absolute; inset: auto 0 0 0; padding: 64px 0 30px;
  /* Indent to the same content column as .wrap. Done with padding rather than
     auto margins on the children, because the .mono/p rules below reset margin
     and would silently undo margin-inline: auto. */
  padding-inline: max(4vw, calc((100% - 1180px) / 2));
  background: linear-gradient(0deg, rgba(8, 14, 22, .92) 0%, rgba(8, 14, 22, .68) 45%, transparent 100%);
}
.filmband figcaption .mono {
  display: block; color: var(--gold); font-size: .6rem; letter-spacing: .18em; margin-bottom: 9px;
}
.filmband figcaption p {
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.5rem);
  line-height: 1.35; letter-spacing: -.01em; margin: 0; max-width: 46ch;
}
/* the inset variant sits inside a section rather than between two */
.filmband--inset {
  border-radius: var(--radius); margin: 44px 0 66px; box-shadow: var(--shadow-lg);
}
.filmband--inset img { height: clamp(260px, 38vh, 460px); }
@media (max-width: 680px) {
  .filmband img, .filmband--inset img { height: clamp(230px, 40vh, 320px); }
  .filmband figcaption { padding: 48px 0 22px; }
}

/* the tuition film gets a little breathing room from the ECCA panel above it */
#tuition-film { margin-top: 10px; }

/* ---------- "watch the film" jump link, high in the tuition section ---------- */
.jumpfilm { margin: -14px 0 30px; }
.jumpfilm a {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--navy); color: #fff; text-decoration: none !important;
  padding: 12px 22px 12px 14px; border-radius: 999px;
  font-size: .95rem; font-weight: 600;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.jumpfilm a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.jumpfilm em { color: var(--gold); font-style: italic; }
.jf-icon {
  width: 26px; height: 26px; border-radius: 999px; background: var(--gold); color: var(--navy-ink);
  display: grid; place-items: center; font-size: .7rem; padding-left: 2px; flex: 0 0 auto;
}
@media (max-width: 560px) { .jumpfilm a { font-size: .85rem; padding: 11px 16px 11px 11px; } }
