/* ==========================================================================
   LVCI NEXT — design system
   Direction: "the build sheet." A drafting-table world — paper, ultramarine
   blueprint sections, mono annotations, and one warm spark of amber.
   Display: Bricolage Grotesque · Body: Instrument Sans · Utility: IBM Plex Mono
   ========================================================================== */

:root {
  --paper: #F6F3EC;
  --paper-raise: #FFFFFF;
  --ink: #17213D;
  --ink-soft: #4A5470;
  --deep: #0E1D53;
  --deep-raise: #16296B;
  --cobalt: #2749E8;
  --cobalt-hover: #1D3BC9;
  --spark: #FFC53D;
  --spark-deep: #E8A812;
  --line: rgba(23, 33, 61, 0.14);
  --line-light: rgba(246, 243, 236, 0.18);
  --grid-line: rgba(39, 73, 232, 0.07);
  --grid-line-deep: rgba(246, 243, 236, 0.05);

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Inter", Arial, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 1px 2px rgba(14, 29, 83, 0.05), 0 12px 32px -12px rgba(14, 29, 83, 0.18);
  --shadow-pop: 0 2px 4px rgba(14, 29, 83, 0.08), 0 24px 56px -16px rgba(14, 29, 83, 0.32);
  --radius: 16px;
  --radius-lg: 24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, dl, dd, dt, ul, ol, figure { margin: 0; }
button { font: inherit; }
a { color: var(--cobalt); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 200;
  background: var(--deep); color: var(--paper); padding: 0.6rem 1rem;
  border-radius: 8px; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type utilities ---------- */
.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  font-weight: 600;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cobalt);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--spark); }
.tick {
  display: inline-block; width: 22px; height: 2px;
  background: var(--cobalt); position: relative; flex: none;
}
.tick::before, .tick::after {
  content: ""; position: absolute; width: 2px; height: 8px;
  background: inherit; top: -3px;
}
.tick::before { left: 0; }
.tick::after { right: 0; }
.tick--spark { background: var(--spark); }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h2--light { color: var(--paper); }
.lede { font-size: 1.25rem; line-height: 1.55; font-weight: 500; }
.fine { font-size: 0.875rem; color: var(--ink-soft); }

.underline-spark {
  background-image: linear-gradient(transparent 72%, var(--spark) 72%, var(--spark) 94%, transparent 94%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background-color 0.2s, color 0.2s, border-color 0.2s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--cobalt); color: #fff; box-shadow: 0 10px 24px -10px rgba(39, 73, 232, 0.6); }
.btn--primary:hover { background: var(--cobalt-hover); box-shadow: 0 14px 30px -10px rgba(39, 73, 232, 0.7); }
.btn--spark { background: var(--spark); color: var(--deep); box-shadow: 0 10px 24px -10px rgba(232, 168, 18, 0.55); }
.btn--spark:hover { background: #FFD25E; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline { background: transparent; color: var(--cobalt); border-color: currentColor; }
.btn--outline:hover { background: var(--cobalt); color: #fff; }
.btn--outline-light { color: var(--paper); }
.btn--outline-light:hover { background: var(--paper); color: var(--deep); }
.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.9rem; }
.btn--lg { padding: 1rem 2.1rem; font-size: 1.0625rem; }
.btn--full { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav.is-scrolled {
  background: rgba(246, 243, 236, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0.9rem 1.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.nav__brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--ink); margin-right: auto;
}
.nav__mark { width: 34px; height: 34px; flex: none; }
.nav__wordmark {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  opacity: 0.8; transition: opacity 0.2s;
}
.nav__links a:hover { opacity: 1; }
.nav__toggle { display: none; }
.nav__drawer { display: none; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: flex; flex-direction: column; gap: 6px; justify-content: center;
    background: none; border: 0; padding: 0.5rem; cursor: pointer;
  }
  .nav__toggle span {
    width: 26px; height: 2px; background: var(--ink); display: block;
    transition: transform 0.3s var(--ease-out);
  }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__drawer {
    display: flex; flex-direction: column; gap: 0.4rem;
    padding: 0.5rem 1.5rem 1.4rem;
    background: rgba(246, 243, 236, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 24px -12px rgba(14, 29, 83, 0.25);
    max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0;
    transition: max-height 0.35s var(--ease-out), padding 0.35s var(--ease-out);
  }
  .nav__drawer.is-open { max-height: 420px; padding-top: 0.5rem; padding-bottom: 1.4rem; }
  .nav__drawer a {
    color: var(--ink); text-decoration: none; font-weight: 500; padding: 0.55rem 0;
  }
  .nav__drawer .btn { margin-top: 0.6rem; color: #fff; text-align: center; }
}

/* ---------- Blueprint grids ---------- */
.hero__grid, .deep-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 30%, transparent 78%);
}
.deep-grid {
  background-image:
    linear-gradient(var(--grid-line-deep) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-deep) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 20%, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 20%, black 30%, transparent 85%);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(9rem, 16vh, 12rem) 1.5rem clamp(4rem, 8vh, 6rem);
  overflow: hidden;
}
.hero__inner { max-width: 900px; margin: 0 auto; position: relative; }
.hero__eyebrow {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--cobalt);
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.6rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal; color: var(--cobalt); position: relative;
  background-image: linear-gradient(transparent 78%, var(--spark) 78%, var(--spark) 96%, transparent 96%);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  transform: translateY(110%);
  animation: line-up 0.9s var(--ease-out) forwards;
  animation-delay: calc(var(--d) * 120ms + 100ms);
}
@keyframes line-up { to { transform: translateY(0); } }

.hero__sub {
  max-width: 620px; margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6; color: var(--ink-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero__facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem 2rem; margin-top: 3.2rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line); max-width: 640px;
}
.hero__facts dt {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--ink-soft);
}
.hero__facts dd {
  margin: 0.25rem 0 0; font-family: var(--font-display);
  font-weight: 700; font-size: 1.25rem;
}
.hero__annotation {
  position: absolute; right: 2rem; bottom: 1.6rem; color: var(--ink-soft);
  opacity: 0.75;
}
@media (max-width: 720px) { .hero__annotation { display: none; } }

.hero--sub { padding-bottom: clamp(3rem, 6vh, 4rem); }
.hero__title--sub { font-size: clamp(2.2rem, 5.5vw, 4rem); }

.reveal-load {
  opacity: 0; transform: translateY(16px);
  animation: fade-up 0.8s var(--ease-out) forwards;
  animation-delay: calc(var(--d) * 120ms + 100ms);
}
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--deep); color: var(--paper);
  overflow: hidden; padding: 0.85rem 0;
  border-top: 3px solid var(--spark);
}
.marquee__track {
  display: flex; align-items: center; gap: 2.4rem; width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-mono); font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.marquee__track i { color: var(--spark); font-style: normal; font-size: 0.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 1.5rem; overflow: hidden; }
.section--tight { padding-top: clamp(3rem, 6vw, 5rem); }
.section--paper { background: var(--paper); }
.section--deep { background: var(--deep); color: var(--paper); }
.section--deep .section__sub { color: rgba(246, 243, 236, 0.72); }
.container { max-width: 1200px; margin: 0 auto; position: relative; }
.container--narrow { max-width: 820px; }
.section__head { max-width: 700px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__sub { margin-top: 1.1rem; font-size: 1.125rem; color: var(--ink-soft); }

/* Split layout (lead + body) */
.split {
  display: grid; grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.split__lead { position: sticky; top: 7rem; }
.split__body { display: grid; gap: 1.15rem; }
.split__body p { color: var(--ink-soft); }
.split__body .lede { color: var(--ink); }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split__lead { position: static; }
}

/* ---------- Timeline ---------- */
.timeline {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; position: relative;
  counter-reset: step;
}
.timeline::before {
  content: ""; position: absolute; top: 46px; left: 0; right: 0; height: 2px;
  background: var(--line-light);
}
.timeline::after {
  content: ""; position: absolute; top: 46px; left: 0; right: 0; height: 2px;
  background: var(--spark); transform-origin: left;
  transform: scaleX(var(--progress, 0));
  transition: transform 1.6s var(--ease-out);
}
.timeline__step { position: relative; padding-top: 4.6rem; }
.timeline__step::before {
  content: ""; position: absolute; top: 40px; left: 0; width: 14px; height: 14px;
  border-radius: 50%; background: var(--deep); border: 3px solid var(--spark);
  z-index: 1;
}
.timeline__marker {
  position: absolute; top: 0; left: 0; color: var(--spark);
}
.timeline__step h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  margin-bottom: 0.5rem; letter-spacing: -0.01em;
}
.timeline__step p { color: rgba(246, 243, 236, 0.72); font-size: 0.975rem; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 2.2rem; padding-left: 1.6rem; }
  .timeline::before, .timeline::after { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .timeline::after { transform-origin: top; transform: scaleY(var(--progress, 0)); }
  .timeline__step { padding-top: 0; padding-left: 1.4rem; }
  .timeline__step::before { left: -1.6rem; top: 4px; }
  .timeline__marker { position: static; display: inline-block; margin-bottom: 0.4rem; }
}

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem; margin-top: clamp(3rem, 6vw, 4.5rem);
}
.stats__item {
  background: var(--deep-raise); border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: 1.5rem 1.4rem;
}
.stats__item dt {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--spark);
}
.stats__item dd {
  margin: 0.5rem 0 0.4rem; font-family: var(--font-display);
  font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em;
}
.stats__item p { font-size: 0.9rem; color: rgba(246, 243, 236, 0.65); }

/* ---------- Cohort cards ---------- */
.cohorts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 820px) { .cohorts { grid-template-columns: 1fr; } }
.cohort-card {
  background: var(--paper-raise); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  display: flex; flex-direction: column; gap: 1rem;
}
.cohort-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.cohort-card__ages { color: var(--cobalt); }
.cohort-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem;
  letter-spacing: -0.015em;
}
.cohort-card > p { color: var(--ink-soft); }
.cohort-card ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; margin: 0.2rem 0 0.6rem; }
.cohort-card li { padding-left: 1.5rem; position: relative; color: var(--ink-soft); font-size: 0.975rem; }
.cohort-card li::before {
  content: "→"; position: absolute; left: 0; color: var(--cobalt); font-weight: 600;
}
.cohort-card .btn { align-self: start; margin-top: auto; }

/* ---------- Outcomes ---------- */
.outcomes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.outcome {
  padding: 1.9rem 1.7rem;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color 0.25s;
}
.outcome:hover { background: var(--paper-raise); }
.outcome h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  line-height: 1.25; margin-bottom: 0.6rem; letter-spacing: -0.01em;
}
.outcome p { color: var(--ink-soft); font-size: 0.95rem; }
.outcomes--partners { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .outcomes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .outcomes, .outcomes--partners { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  align-items: stretch; max-width: 940px; margin: 0 auto;
}
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  background: var(--deep-raise); border: 1px solid var(--line-light);
  border-radius: var(--radius-lg); padding: 2.4rem 2.2rem;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.price-card--featured {
  background: var(--paper); color: var(--ink);
  border: 0; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.45);
  position: relative;
}
.price-card__flag { color: var(--spark); }
.price-card--featured .price-card__flag { color: var(--cobalt); }
.price-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  letter-spacing: -0.015em;
}
.price-card__amount {
  font-family: var(--font-display); font-weight: 800;
  font-size: 3.4rem; line-height: 1; letter-spacing: -0.03em;
}
.price-card__amount span {
  font-family: var(--font-body); font-weight: 500; font-size: 1rem;
  letter-spacing: 0; color: currentColor; opacity: 0.6;
}
.price-card__note { font-size: 0.95rem; opacity: 0.75; }
.price-card ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; margin: 0.4rem 0 1rem; }
.price-card li { padding-left: 1.5rem; position: relative; font-size: 0.95rem; opacity: 0.85; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--spark); font-weight: 700; }
.price-card--featured li::before { color: var(--cobalt); }
.price-card .btn { margin-top: auto; }
.price-card__fine { font-size: 0.8rem; opacity: 0.65; text-align: center; }

.needs {
  max-width: 940px; margin: 2.5rem auto 0; padding: 1.8rem 2.2rem;
  border: 1px dashed var(--line-light); border-radius: var(--radius);
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: start;
}
.needs__label { color: var(--spark); padding-top: 0.2rem; }
.needs__items { display: grid; gap: 0.8rem; }
.needs__items p { color: rgba(246, 243, 236, 0.75); font-size: 0.975rem; }
.needs__items strong { color: var(--paper); }
@media (max-width: 720px) { .needs { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- After ---------- */
.after-item { padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.after-item h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  margin-bottom: 0.4rem; letter-spacing: -0.01em;
}
.after-item p { color: var(--ink-soft); font-size: 0.975rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.8rem; }
.faq__item {
  background: var(--paper-raise); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.3s var(--ease-out);
}
.faq__item[open] { box-shadow: var(--shadow-card); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.2rem 3.4rem 1.2rem 1.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  letter-spacing: -0.01em; position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 1.4rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body); font-weight: 400; font-size: 1.6rem;
  color: var(--cobalt); transition: transform 0.3s var(--ease-out);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__body { padding: 0 1.5rem 1.4rem; }
.faq__body p { color: var(--ink-soft); }

/* ---------- Signup form ---------- */
.section--signup {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(39, 73, 232, 0.07), transparent),
    var(--paper);
}
.form-shell {
  background: var(--paper-raise); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-pop);
}
.hp { position: absolute; left: -9999px; }

.intent {
  border: 0; padding: 0; margin: 0 0 1.8rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem;
}
@media (max-width: 600px) { .intent { grid-template-columns: 1fr; } }
.intent__option input { position: absolute; opacity: 0; }
.intent__card {
  display: block; padding: 1.1rem 1.3rem; border-radius: var(--radius);
  border: 2px solid var(--line); cursor: pointer; height: 100%;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease-out);
}
.intent__card strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.intent__card small { color: var(--ink-soft); font-size: 0.85rem; line-height: 1.4; display: block; margin-top: 0.2rem; }
.intent__option input:checked + .intent__card {
  border-color: var(--cobalt);
  background: rgba(39, 73, 232, 0.05);
}
.intent__option input:focus-visible + .intent__card { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.intent__option:hover .intent__card { transform: translateY(-2px); }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field .optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  padding: 0.8rem 1rem; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cobalt);
  box-shadow: 0 0 0 4px rgba(39, 73, 232, 0.12);
}
#signupForm .btn { margin-top: 1.6rem; }
.form-fine { margin-top: 0.9rem; text-align: center; font-size: 0.82rem; color: var(--ink-soft); }
.form-error { margin-top: 1rem; text-align: center; color: #B4231F; font-weight: 500; }

.btn.is-loading { opacity: 0.7; pointer-events: none; }

.form-success { text-align: center; padding: 1.5rem 0.5rem; }
.form-success__mark { width: 76px; margin: 0 auto 1.2rem; }
.form-success__mark path {
  stroke-dasharray: 80; stroke-dashoffset: 80;
  animation: draw-check 0.7s var(--ease-out) 0.25s forwards;
}
@keyframes draw-check { to { stroke-dashoffset: 0; } }
.form-success h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.8rem;
  letter-spacing: -0.015em; margin-bottom: 0.6rem;
}
.form-success p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 1.4rem; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.post-card {
  display: flex; flex-direction: column; gap: 0.55rem;
  background: var(--paper-raise); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.8rem;
  text-decoration: none; color: var(--ink);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.post-card__media { margin: -0.4rem -0.4rem 0.6rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__date { color: var(--cobalt); }
.post-card h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  line-height: 1.2; letter-spacing: -0.015em;
}
.post-card p { color: var(--ink-soft); font-size: 0.95rem; }
.post-card__more { color: var(--cobalt); font-weight: 600; font-size: 0.92rem; margin-top: auto; padding-top: 0.5rem; }

.post__header { position: relative; padding: clamp(8rem, 14vh, 10rem) 1.5rem 3rem; overflow: hidden; }
.post__header-inner { max-width: 820px; margin: 0 auto; position: relative; }
.post__date { color: var(--cobalt); margin-bottom: 1rem; }
.post__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.05;
  letter-spacing: -0.025em; text-wrap: balance;
}
.post__hero-image { margin-bottom: 2.5rem; }
.post__hero-image img { border-radius: var(--radius-lg); }
.post__body { padding-bottom: 3rem; }
.post__body h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem;
  letter-spacing: -0.015em; margin: 2.2rem 0 0.8rem;
}
.post__body h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
  margin: 1.8rem 0 0.6rem;
}
.post__body p { margin: 0 0 1.1rem; color: var(--ink-soft); font-size: 1.0625rem; }
.post__body ul, .post__body ol { color: var(--ink-soft); padding-left: 1.4rem; margin: 0 0 1.1rem; }
.post__body li { margin-bottom: 0.4rem; }
.post__body img { border-radius: var(--radius); margin: 1.5rem 0; }
.post__body blockquote {
  margin: 1.8rem 0; padding: 0.4rem 0 0.4rem 1.4rem;
  border-left: 3px solid var(--spark);
  font-family: var(--font-display); font-size: 1.25rem; color: var(--ink);
}
.post__footer {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-bottom: 4rem;
}

/* ---------- Partner CTA ---------- */
.partner-cta {
  margin-top: clamp(3rem, 6vw, 5rem); text-align: center;
  background: var(--paper-raise); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4rem);
  box-shadow: var(--shadow-card);
}
.partner-cta__label { color: var(--cobalt); display: block; margin-bottom: 1rem; }
.partner-cta .section__sub { max-width: 520px; margin: 1rem auto 1.8rem; }

/* ---------- Confirmation popup ---------- */
.popup { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1.5rem; }
.popup[hidden] { display: none; }
.popup__backdrop {
  position: absolute; inset: 0; background: rgba(14, 29, 83, 0.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  animation: popup-fade 0.3s var(--ease-out);
}
.popup__card {
  position: relative; background: var(--paper-raise); border-radius: var(--radius-lg);
  padding: 2.6rem 2.4rem 2.2rem; max-width: 440px; width: 100%; text-align: center;
  box-shadow: var(--shadow-pop);
  animation: popup-rise 0.45s var(--ease-out);
}
.popup__mark { width: 70px; margin: 0 auto 1.1rem; display: block; }
.popup__mark path {
  stroke-dasharray: 80; stroke-dashoffset: 80;
  animation: draw-check 0.7s var(--ease-out) 0.2s forwards;
}
.popup__card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 0.5rem;
}
.popup__card p { color: var(--ink-soft); margin-bottom: 1.5rem; }
@keyframes popup-fade { from { opacity: 0; } }
@keyframes popup-rise { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
@media (prefers-reduced-motion: reduce) {
  .popup__backdrop, .popup__card { animation: none; }
  .popup__mark path { animation: none; stroke-dashoffset: 0; }
}

/* ---------- Partner form ---------- */
.form-shell--partner {
  text-align: left; margin-top: 2rem;
  box-shadow: none; border: 1px solid var(--line); background: var(--paper);
}

/* ---------- Partner tiers ---------- */
.tiers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.tier-card {
  background: var(--deep-raise); border: 1px solid var(--line-light);
  border-radius: var(--radius-lg); padding: 2rem 1.8rem;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.tier-card--featured {
  background: var(--paper); color: var(--ink);
  border: 0; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.45);
}
.tier-card__flag { color: var(--spark); }
.tier-card--featured .tier-card__flag { color: var(--cobalt); }
.tier-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  letter-spacing: -0.015em;
}
.tier-card__price {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.9rem; line-height: 1; letter-spacing: -0.02em;
}
.tier-card__price span {
  font-family: var(--font-body); font-weight: 500; font-size: 0.9rem;
  letter-spacing: 0; opacity: 0.6;
}
.tier-card ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; margin: 0.3rem 0 1rem; }
.tier-card li { padding-left: 1.5rem; position: relative; font-size: 0.94rem; opacity: 0.9; }
.tier-card li::before { content: "✓"; position: absolute; left: 0; color: var(--spark); font-weight: 700; }
.tier-card--featured li::before { color: var(--cobalt); }
.tier-card .btn { margin-top: auto; }
.tiers__note {
  text-align: center; margin-top: 2rem; color: rgba(246, 243, 236, 0.72);
  font-size: 0.95rem;
}
.tiers__note a { color: var(--spark); }

/* Light timeline variant (on paper background) */
.timeline--light::before { background: var(--line); }
.timeline--light::after { background: var(--cobalt); }
.timeline--light .timeline__step::before { background: var(--paper); border-color: var(--cobalt); }
.timeline--light .timeline__marker { color: var(--cobalt); }
.timeline--light .timeline__step h3 { color: var(--ink); }
.timeline--light .timeline__step p { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: var(--paper); padding: 3.5rem 1.5rem 2.5rem; }
.footer__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start;
}
.footer__brand { display: flex; gap: 0.8rem; align-items: center; }
.footer__name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.footer__org { font-size: 0.85rem; opacity: 0.6; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__links a {
  color: var(--paper); opacity: 0.75; text-decoration: none; font-size: 0.92rem;
  transition: opacity 0.2s;
}
.footer__links a:hover { opacity: 1; }
.footer__legal { grid-column: 1 / -1; padding-top: 1.6rem; border-top: 1px solid var(--line-light); font-size: 0.82rem; opacity: 0.55; }
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; } }

/* ---------- Scroll reveals ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--stagger, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Hero photo cluster ---------- */
.hero__inner--split {
  max-width: 1200px;
  display: grid; grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.hero__photos { position: relative; height: 560px; }
.hero__photo {
  position: absolute; margin: 0; border-radius: var(--radius-lg);
  overflow: visible; box-shadow: var(--shadow-pop);
  transition: transform 0.5s var(--ease-out);
}
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-lg); border: 5px solid var(--paper-raise);
}
.hero__photo--main { width: 76%; height: 330px; top: 4%; right: 6%; transform: rotate(1.6deg); z-index: 2; }
.hero__photo--b { width: 56%; height: 210px; bottom: 14%; left: 0; transform: rotate(-2.4deg); z-index: 3; }
.hero__photo--c { width: 48%; height: 185px; bottom: 0; right: 0; transform: rotate(2deg); z-index: 1; }
.hero__photo:hover { transform: rotate(0deg) scale(1.02); z-index: 5; }
.photo-chip {
  position: absolute; bottom: -12px; left: 18px;
  max-width: calc(100% - 30px); line-height: 1.35;
  background: var(--deep); color: var(--paper);
  padding: 0.35rem 0.75rem; border-radius: 8px;
  letter-spacing: 0.08em; box-shadow: 0 6px 16px -6px rgba(14,29,83,0.5);
}
.photo-chip--spark { background: var(--spark); color: var(--deep); }
@media (max-width: 980px) {
  .hero__inner--split { grid-template-columns: 1fr; }
  .hero__photos { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
  .hero__photo { position: static; transform: none !important; height: 180px; }
  .hero__photo--main { grid-column: 1 / -1; height: 240px; }
}

/* ---------- Photo frames (in-content) ---------- */
.photo-frame { margin: 1.4rem 0 0; }
.photo-frame img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
}
.photo-frame figcaption {
  margin-top: 0.8rem; font-size: 0.9rem; color: var(--ink-soft);
  display: flex; align-items: baseline; gap: 0.7rem;
}
.photo-frame figcaption .mono { color: var(--cobalt); flex: none; }

/* ---------- Cohort card photos ---------- */
.cohort-card__photo {
  position: relative; margin: -2.2rem -2.2rem 0.4rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden;
  aspect-ratio: 16/9;
}
.cohort-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.cohort-card:hover .cohort-card__photo img { transform: scale(1.04); }
.cohort-card__photo .cohort-card__ages {
  position: absolute; bottom: 12px; left: 14px;
  background: var(--paper); color: var(--cobalt);
  padding: 0.3rem 0.7rem; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(14,29,83,0.25);
}

/* ---------- Team / founder ---------- */
.team { display: grid; gap: 2.5rem; }
.founder-card {
  display: grid; grid-template-columns: 320px 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  background: var(--paper-raise); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-card); align-items: center;
}
.founder-card__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/6; }
.founder-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-card__role { color: var(--cobalt); margin-bottom: 0.6rem; }
.founder-card__bio h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 2rem;
  letter-spacing: -0.015em; margin-bottom: 0.8rem;
}
.founder-card__bio p:not(.founder-card__role) { color: var(--ink-soft); margin-bottom: 0.9rem; }
@media (max-width: 820px) {
  .founder-card { grid-template-columns: 1fr; }
  .founder-card__photo { max-width: 320px; }
}

.mentors__label { color: var(--cobalt); display: block; margin-bottom: 1.1rem; }
.mentors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 720px) { .mentors__grid { grid-template-columns: 1fr; } }
.mentor-card {
  background: var(--paper-raise); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem; text-align: center;
}
.mentor-card--soon { border-style: dashed; background: transparent; }
.mentor-card__slot {
  width: 88px; height: 88px; margin: 0 auto 1rem; border-radius: 50%;
  background: rgba(39, 73, 232, 0.08); border: 2px dashed rgba(39, 73, 232, 0.3);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.8rem;
  color: var(--cobalt);
}
.mentor-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.mentor-card__title { font-size: 0.88rem; color: var(--ink-soft); }
.mentors__note { margin-top: 1.4rem; color: var(--ink-soft); font-size: 0.95rem; max-width: 620px; }

/* ---------- Demo Day photo band ---------- */
.photo-band { position: relative; height: clamp(340px, 48vw, 520px); overflow: hidden; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.photo-band--stage { background: #0B173F; }
.photo-band__stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo-band--stage .photo-band__overlay {
  background: linear-gradient(to top, rgba(9, 19, 51, 0.7) 0%, transparent 55%);
}
.photo-band__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 29, 83, 0.82) 0%, rgba(14, 29, 83, 0.15) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 3.5rem);
}
.photo-band__label { color: var(--spark); margin-bottom: 0.5rem; }
.photo-band__line {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2.4rem); line-height: 1.15;
  color: var(--paper); max-width: 640px; letter-spacing: -0.015em;
  text-wrap: balance;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-load, .hero__title .line > span {
    opacity: 1 !important; transform: none !important;
    animation: none !important; transition: none !important;
  }
  .marquee__track { animation: none; }
  .timeline::after { transition: none; }
  .form-success__mark path { animation: none; stroke-dashoffset: 0; }
  .btn, .cohort-card, .post-card, .intent__card { transition: none; }
}
