:root {
    --ink: #1d2a52;
    --ink-deep: #141d3a;
    --paper: #faf6ef;
    --paper-warm: #f3ecdf;
    --ember: #e8862e;
    --ember-soft: #f2a03d;
    --sage: #7da46a;
    --text: #2a2f3d;
    --muted: #6b6f7c;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--paper);
    color: var(--text);
    font-size: 18px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  .serif { font-family: 'Fraunces', serif; }
  .wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; }

  /* grain */
  body::before {
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1000; opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  /* nav */
  nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250,246,239,.92); backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(29,42,82,.12);
  }
  nav .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; padding-bottom: 16px; }
  .mark { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.05rem; color: var(--ink); letter-spacing: .01em; text-decoration: none; }
  .mark span { color: var(--ember); }
  nav a.cta {
    font-size: .92rem; font-weight: 600; color: var(--paper); background: var(--ink);
    padding: 9px 20px; border-radius: 99px; text-decoration: none; transition: background .2s ease;
  }
  nav a.cta:hover { background: var(--ember); }

  /* hero */
  header { padding: 96px 0 80px; position: relative; overflow: hidden; }
  .sphere-deco {
    position: absolute; border-radius: 50%; border: 1.5px solid rgba(29,42,82,.14); pointer-events: none;
  }
  .s1 { width: 520px; height: 520px; top: -140px; right: -160px; }
  .s2 { width: 380px; height: 380px; top: -70px; right: -90px; border-color: rgba(232,134,46,.25); }
  .s3 { width: 250px; height: 250px; top: -5px; right: -25px; }
  .s4 { width: 140px; height: 140px; top: 50px; right: 30px; border-color: rgba(125,164,106,.4); }
  .s5 { width: 56px; height: 56px; top: 92px; right: 72px; background: var(--ember); border: none; opacity: .9; }
  .kicker {
    display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ember); margin-bottom: 22px;
  }
  h1 {
    font-family: 'Fraunces', serif; font-weight: 600; color: var(--ink);
    font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.12; letter-spacing: -.015em;
    max-width: 22ch; margin-bottom: 28px;
  }
  h1 em { font-style: italic; color: var(--ember); }
  .lede { font-size: 1.22rem; max-width: 54ch; color: var(--text); margin-bottom: 38px; }
  .btn {
    display: inline-block; font-weight: 600; font-size: 1.02rem; text-decoration: none;
    background: var(--ink); color: var(--paper); padding: 15px 32px; border-radius: 99px;
    transition: transform .15s ease, background .2s ease; border: none; cursor: pointer;
  }
  .btn:hover { background: var(--ember); transform: translateY(-2px); }
  .btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); margin-left: 14px; }
  .btn.ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

  /* credibility strip */
  .strip { background: var(--ink); color: rgba(250,246,239,.85); padding: 26px 0; }
  .strip .wrap { display: flex; flex-wrap: wrap; gap: 14px 44px; justify-content: center; font-size: .92rem; }
  .strip b { color: var(--paper); font-weight: 600; }

  /* sections */
  section { padding: 90px 0; }
  .label { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); margin-bottom: 14px; }
  h2 {
    font-family: 'Fraunces', serif; font-weight: 600; color: var(--ink);
    font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 22px; max-width: 24ch;
  }
  .prose { max-width: 62ch; }
  .prose p { margin-bottom: 18px; }

  /* magnet */
  #begin { background: var(--paper-warm); }
  .magnet { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
  .card {
    background: var(--paper); border: 1.5px solid rgba(29,42,82,.15); border-radius: 18px;
    padding: 38px; box-shadow: 0 18px 40px -24px rgba(29,42,82,.35);
  }
  .card h3 { font-family: 'Fraunces', serif; color: var(--ink); font-size: 1.35rem; margin-bottom: 8px; }
  .card p.small { font-size: .95rem; color: var(--muted); margin-bottom: 22px; }
  .field { margin-bottom: 14px; }
  .field input {
    width: 100%; padding: 14px 16px; font-size: 1rem; font-family: inherit;
    border: 1.5px solid rgba(29,42,82,.25); border-radius: 10px; background: #fff; color: var(--text);
  }
  .field input:focus { outline: 2px solid var(--ember); border-color: transparent; }
  .card .btn { width: 100%; text-align: center; }
  .fineprint { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }

  /* cohort */
  .cohort-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .detail-list { list-style: none; margin-top: 8px; }
  .detail-list li {
    padding: 18px 0; border-bottom: 1px solid rgba(29,42,82,.12);
    display: flex; gap: 16px; align-items: baseline;
  }
  .detail-list li:first-child { border-top: 1px solid rgba(29,42,82,.12); }
  .detail-list .k { font-family: 'Fraunces', serif; font-weight: 600; color: var(--ink); min-width: 130px; font-size: 1.02rem; }
  .price-tag {
    display: inline-flex; align-items: baseline; gap: 10px; margin: 26px 0 6px;
  }
  .price-tag .amount { font-family: 'Fraunces', serif; font-size: 2.6rem; font-weight: 700; color: var(--ink); }
  .price-tag .per { color: var(--muted); }

  /* quotes */
  #proof { background: var(--ink); color: var(--paper); }
  #proof .label { color: var(--ember-soft); }
  #proof h2 { color: var(--paper); }
  .quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
  .quote {
    background: rgba(250,246,239,.06); border: 1px solid rgba(250,246,239,.14);
    border-radius: 16px; padding: 30px;
  }
  .quote p.q { font-family: 'Fraunces', serif; font-size: 1.12rem; line-height: 1.45; color: var(--paper); margin-bottom: 18px; }
  .quote .who { font-size: .88rem; color: rgba(250,246,239,.7); }

  /* about */
  .about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
  .portrait {
    width: 100%; aspect-ratio: 4/5; border-radius: 18px;
    border: 1.5px solid rgba(29,42,82,.15); object-fit: cover;
  }

  /* final */
  #final { text-align: center; padding: 110px 0; }
  #final h2 { margin-left: auto; margin-right: auto; }
  #final .lede { margin-left: auto; margin-right: auto; }

  footer { border-top: 1px solid rgba(29,42,82,.12); padding: 34px 0; font-size: .88rem; color: var(--muted); }
  footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
  footer a { color: var(--ink); text-decoration: none; }

  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }

  @media (max-width: 860px) {
    .magnet, .cohort-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .quotes { grid-template-columns: 1fr; }
    header { padding: 64px 0 56px; }
    section { padding: 64px 0; }
    .btn.ghost { margin-left: 0; margin-top: 12px; }
    .s1,.s2 { display: none; }
  }
