:root {
    --paper: #FFFFFF;
    --tint: #F5F7FB;
    --navy: #0F2454;
    --navy-deep: #081733;
    --navy-soft: #3C5892;
    --gold: #F6B93B;
    --gold-deep: #C98A15;
    --ink: #12141A;
    --ink-soft: #5B6072;
    --line: #E4E7EF;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  html, body { margin: 0; background: var(--paper); color: var(--ink); overflow-x: hidden; }
  body {
    font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
  }
  .serif {
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
  .eyebrow {
    font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gold-deep);
  }

  @media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
    .rise.d1 { animation-delay: .06s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .26s; }
    @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

    /* ---------- scroll reveal ---------- */
    .s-head, .format-card, .pillar, .wk-item, .t-card, .supp-card,
    .perspective-card, .photo-frame, .trainer-copy, .signup-card {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
    }
    .s-head.in-view, .format-card.in-view, .pillar.in-view, .wk-item.in-view, .t-card.in-view, .supp-card.in-view,
    .perspective-card.in-view, .photo-frame.in-view, .trainer-copy.in-view, .signup-card.in-view {
      opacity: 1;
      transform: translateY(0);
    }

    .format-row .format-card:nth-child(2) { transition-delay: .08s; }
    .format-row .format-card:nth-child(3) { transition-delay: .16s; }
    .pillars .pillar:nth-child(2) { transition-delay: .06s; }
    .pillars .pillar:nth-child(3) { transition-delay: .12s; }
    .pillars .pillar:nth-child(4) { transition-delay: .18s; }
    .t-row .t-card:nth-child(2) { transition-delay: .1s; }
    .trainer-grid .trainer-copy { transition-delay: .1s; }
  }

  /* ---------- nav ---------- */
  nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 26px 0; position: relative; z-index: 10;
  }
  .wordmark { display: flex; align-items: center; gap: 12px; }
  .wordmark .mark { flex: none; }
  .wordmark .text { display: flex; flex-direction: column; line-height: 1.15; }
  .wordmark .main {
    font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink);
  }
  .wordmark .sub {
    font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--navy-soft); margin-top: 2px;
  }
  .navcta {
    display: inline-block; text-decoration: none;
    font-size: 13.5px; font-weight: 700; letter-spacing: 0.02em;
    background: var(--navy); color: #fff; border: none; border-radius: 8px;
    padding: 11px 20px; cursor: pointer;
  }

  /* ---------- hero ---------- */
  .hero { position: relative; padding: 40px 0 0; }
  .hero-bg {
    position: absolute; top: -60px; right: -140px; width: 620px; height: 620px;
    border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--navy) 0%, var(--navy) 55%, transparent 78%);
    opacity: 0.05; z-index: 0;
  }
  .hero-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
    padding-bottom: 60px;
  }
  @media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

  h1.hero-h {
    font-weight: 600; font-size: clamp(38px, 5.2vw, 60px); line-height: 1.08;
    letter-spacing: -0.01em; text-wrap: balance; margin: 16px 0 22px;
  }
  h1.hero-h .u {
    position: relative; white-space: nowrap;
  }
  h1.hero-h .u::after {
    content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.02em; height: 0.12em;
    background: var(--gold); z-index: -1; opacity: 0.85;
  }
  .hero-sub { font-size: 18px; color: var(--ink-soft); max-width: 46ch; margin: 0 0 30px; }
  .hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
  .btn-primary {
    display: inline-block; text-decoration: none;
    font-weight: 700; font-size: 15px; color: var(--navy-deep); background: var(--gold);
    border: none; border-radius: 9px; padding: 16px 26px; cursor: pointer;
    box-shadow: 0 10px 24px -10px rgba(201, 138, 21, 0.55);
  }
  .btn-ghost {
    display: inline-block; text-decoration: none;
    font-weight: 600; font-size: 15px; color: var(--navy); background: transparent;
    border: 1.5px solid var(--line); border-radius: 9px; padding: 15px 22px; cursor: pointer;
  }

  .rhythm-card {
    background: var(--navy); border-radius: 20px; padding: 30px 28px;
    box-shadow: 0 30px 60px -24px rgba(15, 36, 84, 0.45);
    position: relative;
  }
  .rhythm-card::before {
    content: ""; position: absolute; top: -14px; right: -14px; width: 54px; height: 54px;
    background: var(--gold); border-radius: 14px; transform: rotate(12deg); z-index: -1;
  }
  .rhythm-card h3 { color: #fff; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 20px; font-weight: 700; opacity: 0.85; }
  .rhythm-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.12); }
  .rhythm-row:first-of-type { border-top: none; }
  .rhythm-icon {
    width: 36px; height: 36px; border-radius: 9px; background: rgba(246, 185, 59, 0.16);
    display: grid; place-items: center; flex: none;
  }
  .rhythm-icon svg { width: 18px; height: 18px; }
  .rhythm-row .t { color: #fff; font-weight: 600; font-size: 15px; }
  .rhythm-row .d { color: #B9C3DE; font-size: 12.5px; }

  /* ---------- formats ---------- */
  section.formats { padding: 10px 0 76px; }
  .format-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  @media (max-width: 860px) { .format-row { grid-template-columns: 1fr; } }
  .format-card {
    border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px;
    position: relative;
  }
  .format-card.featured {
    background: var(--navy); border-color: var(--navy);
  }
  .format-card .tag {
    font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--gold-deep);
  }
  .format-card.featured .tag { color: var(--gold); }
  .format-card h3 { font-size: 20px; font-weight: 700; margin: 10px 0 8px; }
  .format-card.featured h3 { color: #fff; }
  .format-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
  .format-card.featured p { color: #B9C3DE; }

  /* ---------- how it works ---------- */
  section.works { padding: 84px 0 70px; }
  .s-head { max-width: 60ch; margin-bottom: 44px; }
  .s-head h2 { font-size: 32px; font-weight: 600; margin: 10px 0 12px; letter-spacing: -0.01em; }
  .s-head p { color: var(--ink-soft); font-size: 16.5px; margin: 0; }

  .pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  @media (max-width: 860px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
  .pillar {
    border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px;
    background: var(--tint);
  }
  .pillar .n { font-size: 12px; font-weight: 700; color: var(--gold-deep); letter-spacing: 0.06em; }
  .pillar-icon {
    width: 40px; height: 40px; border-radius: 10px; background: var(--navy);
    display: grid; place-items: center; margin: 14px 0 16px;
  }
  .pillar-icon svg { width: 20px; height: 20px; stroke: var(--gold); }
  .pillar h3 { font-size: 17px; margin: 0 0 6px; font-weight: 700; }
  .pillar p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

  /* ---------- weeks ---------- */
  section.weeks { padding: 40px 0 90px; }
  .weeks-list { position: relative; max-width: 800px; }
  .weeks-list::before {
    content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px;
    background: var(--line);
  }
  .wk-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 26px 0; }
  .wk-num {
    width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold);
    display: grid; place-items: center; font-weight: 700; font-size: 18px;
    font-family: "Iowan Old Style", Georgia, serif; position: relative; z-index: 1;
    box-shadow: 0 8px 18px -8px rgba(15,36,84,0.4);
  }
  .wk-item.alt .wk-num { background: var(--gold); color: var(--navy-deep); }
  .wk-body h3 { font-size: 20px; font-weight: 700; margin: 4px 0 8px; }
  .wk-body p { font-size: 15.5px; color: var(--ink-soft); margin: 0; max-width: 60ch; }
  .wk-tag {
    display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em;
    text-transform: uppercase; color: var(--navy-soft); margin-top: 10px;
  }

  /* ---------- supplemental ---------- */
  section.supp { padding: 6px 0 90px; }
  .supp-card {
    background: var(--navy); border-radius: 22px; padding: 44px 40px;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; align-items: center;
    position: relative; overflow: hidden;
  }
  @media (max-width: 800px) { .supp-card { grid-template-columns: 1fr; } }
  .supp-card::after {
    content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px;
    border-radius: 50%; background: var(--gold); opacity: 0.12;
  }
  .supp-card h2 { color: #fff; font-size: 26px; font-weight: 600; margin: 8px 0 12px; }
  .supp-card > div:first-child p { color: #B9C3DE; font-size: 15px; margin: 0; }
  .supp-list { display: grid; gap: 14px; position: relative; z-index: 1; }
  .supp-list .row {
    display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 14px 18px;
  }
  .supp-list .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
  .supp-list .row span { color: #fff; font-size: 14.5px; font-weight: 600; }

  /* ---------- trainer ---------- */
  section.trainer { padding: 20px 0 90px; }
  .trainer-grid {
    display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 52px; align-items: start;
  }
  @media (max-width: 800px) { .trainer-grid { grid-template-columns: 1fr; } }
  .photo-frame {
    border-radius: 20px; padding: 10px; background: linear-gradient(155deg, var(--gold), var(--navy));
  }
  .photo-placeholder {
    aspect-ratio: 4/5; border-radius: 14px; overflow: hidden;
  }
  .photo-placeholder img {
    width: 100%; height: 100%; object-fit: cover; display: block;
  }

  .trainer-copy .eyebrow { display: block; margin-bottom: 10px; }
  .trainer-copy h2 { font-size: 30px; font-weight: 600; margin: 0 0 6px; }
  .trainer-copy .role { color: var(--navy-soft); font-weight: 600; font-size: 15px; margin: 0 0 22px; }
  .trainer-copy p { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 16px; max-width: 62ch; }
  .credentials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
  .credentials span {
    font-size: 12.5px; font-weight: 700; color: var(--navy);
    background: var(--tint); border: 1px solid var(--line); border-radius: 100px; padding: 8px 14px;
  }

  /* ---------- testimonials ---------- */
  section.proof { padding: 20px 0 90px; }
  .t-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
  @media (max-width: 860px) { .t-row { grid-template-columns: 1fr; } }
  .t-card {
    border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; position: relative;
  }
  .t-card .mark {
    font-family: "Iowan Old Style", Georgia, serif; font-size: 44px; color: var(--gold);
    line-height: 1; margin-bottom: 6px; display: block;
  }
  .t-card p { font-size: 16px; margin: 0 0 16px; color: var(--ink); }
  .t-card cite { font-style: normal; font-size: 13px; color: var(--ink-soft); font-weight: 600; }

  /* ---------- perspective ---------- */
  section.perspective { padding: 10px 0 90px; }
  .perspective-card {
    background: var(--tint); border: 1px solid var(--line); border-radius: 22px;
    padding: 52px 56px;
  }
  @media (max-width: 700px) { .perspective-card { padding: 36px 26px; } }
  .perspective-card .s-head { text-align: left; max-width: 60ch; margin: 0 0 30px; }
  .perspective-body {
    max-width: 68ch; display: grid; gap: 18px;
  }
  .perspective-body p { font-size: 16.5px; color: var(--ink); margin: 0; line-height: 1.7; }
  .perspective-byline {
    display: flex; align-items: center; gap: 14px; margin-top: 32px; padding-top: 26px;
    border-top: 1px solid var(--line);
  }
  .perspective-byline .avatar {
    width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold);
    display: grid; place-items: center; font-family: "Iowan Old Style", Georgia, serif;
    font-weight: 700; font-size: 16px; flex: none;
  }
  .perspective-byline strong { display: block; font-size: 15px; }
  .perspective-byline span { display: block; font-size: 13px; color: var(--ink-soft); }

  /* ---------- signup ---------- */
  section.signup { padding: 20px 0 100px; }
  .signup-card {
    background: var(--navy-deep); border-radius: 24px; padding: 56px 48px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
    position: relative; overflow: hidden;
  }
  @media (max-width: 800px) { .signup-card { grid-template-columns: 1fr; padding: 40px 28px; } }
  .signup-card::before {
    content: ""; position: absolute; left: -80px; top: -80px; width: 240px; height: 240px;
    border-radius: 50%; border: 40px solid var(--gold); opacity: 0.08;
  }
  .signup-copy h2 { color: #fff; font-size: 30px; font-weight: 600; margin: 10px 0 14px; }
  .signup-copy p { color: #B9C3DE; font-size: 15.5px; margin: 0; max-width: 40ch; }
  form.sform { display: grid; gap: 14px; position: relative; z-index: 1; }
  .sform input, .sform select {
    font-family: inherit; font-size: 15px; padding: 15px 16px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff;
    outline: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B95B5' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  }
  .sform input { background-image: none; }
  .sform select {
    background-repeat: no-repeat; background-position: right 16px center;
    padding-right: 40px;
  }
  .sform select option { background: var(--navy-deep); color: #fff; }
  .sform input::placeholder { color: #8B95B5; }
  .sform input:focus, .sform select:focus { border-color: var(--gold); }
  .sform button {
    font-weight: 700; font-size: 15px; color: var(--navy-deep); background: var(--gold);
    border: none; border-radius: 10px; padding: 16px; cursor: pointer; margin-top: 4px;
  }
  .sform .fine { color: #7C87A8; font-size: 12.5px; margin-top: -4px; }

  footer { border-top: 1px solid var(--line); padding: 30px 0; text-align: center; color: var(--ink-soft); font-size: 13px; }
  .footer-contact { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; font-size: 13.5px; }
  .footer-contact a { color: var(--navy); text-decoration: none; font-weight: 600; }
  .footer-contact a:hover { text-decoration: underline; }
  .footer-contact .sep { color: var(--line); }
