/* Discovery Call Academy
   Layout: navy and mint bands alternate like the stages of a call. Serif headlines carry
   Matt's voice, the system font does the work, and every band ends on one clear next step. */
/* Fraunces, self-hosted (latin subset, variable 500 to 600) */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("fonts/fraunces-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500 600; font-display: swap; src: url("fonts/fraunces-italic-latin.woff2") format("woff2"); }

/* Metric-matched backups: while Fraunces downloads, the backup takes up the same space, so nothing jumps when it swaps in */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 105.2%; ascent-override: 92.96%; descent-override: 24.24%; line-gap-override: 0%; }
@font-face { font-family: "Fraunces Fallback"; font-style: italic; src: local("Georgia Italic"), local("Georgia-Italic"); size-adjust: 105.2%; ascent-override: 92.96%; descent-override: 24.24%; line-gap-override: 0%; }
@font-face { font-family: "Fraunces Fallback Android"; src: local("Noto Serif"), local("NotoSerif-Regular"); size-adjust: 97.51%; ascent-override: 100.3%; descent-override: 26.15%; line-gap-override: 0%; }
@font-face { font-family: "Fraunces Fallback Android"; font-style: italic; src: local("Noto Serif Italic"), local("NotoSerif-Italic"); size-adjust: 97.51%; ascent-override: 100.3%; descent-override: 26.15%; line-gap-override: 0%; }
@font-face { font-family: "Fraunces Fallback Times"; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"); size-adjust: 115.45%; ascent-override: 84.71%; descent-override: 22.09%; line-gap-override: 0%; }

:root {
  --navy: #0D1F3C;
  --navy-2: #15294B;
  --navy-3: #0A182F;
  --green: #1DAC74;
  --green-ink: #137A55;
  --mint: #E8F3EE;
  --mint-2: #D5EADF;
  --paper: #FFFFFF;
  --ink: #0D1F3C;
  --ink-2: #44506A;
  --on-navy: #FFFFFF;
  --on-navy-2: #B3BED0;
  --line: #DCE4EA;
  --line-navy: rgba(255, 255, 255, 0.1);

  --display: "Fraunces", "Fraunces Fallback", "Fraunces Fallback Android", "Fraunces Fallback Times", Georgia, serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-photo: 28px;
  --r-card: 20px;
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: clamp(72px, 10vw, 128px); }
.band--navy { background: var(--navy); color: var(--on-navy); }
.band--mint { background: var(--mint); }
.band--tight { padding-block: clamp(48px, 7vw, 80px); }

/* ---------- Type ---------- */
h1, h2, h3, .display {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.06; letter-spacing: -0.02em; }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: var(--green-ink); }
.band--navy h1 em, .band--navy h2 em { color: var(--green); }
p { margin: 0; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.band--navy .lead, .band--navy .muted { color: var(--on-navy-2); }
.muted { color: var(--ink-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.band--navy .eyebrow { color: var(--green); }
.stack { display: grid; gap: 20px; }
.stack-lg { display: grid; gap: 32px; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  font: 600 1rem/1.2 var(--text); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 100ms ease-out, background-color 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 300ms var(--spring); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--green); color: var(--navy); box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 8px 24px -10px rgba(29,172,116,0.7); }
.btn-primary:hover { background: #22BC80; }
.btn-dark { background: var(--navy); color: var(--on-navy); }
.btn-dark:hover { background: var(--navy-2); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.band--navy .btn-ghost { border-color: rgba(255,255,255,0.28); color: var(--on-navy); }
.band--navy .btn-ghost:hover { border-color: var(--on-navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 0.875rem; color: var(--ink-2); }
.band--navy .fine { color: var(--on-navy-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  transition: box-shadow 250ms ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 rgba(13,31,60,0.06), 0 8px 30px -12px rgba(13,31,60,0.18); }
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav-logo { flex: none; display: block; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); transition: color 150ms, background-color 150ms;
}
.nav-links a:hover { color: var(--ink); background: rgba(13,31,60,0.05); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--mint); }
.pill {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  padding: 10px 18px; border-radius: 999px; background: var(--green); color: var(--navy);
  font-weight: 650; font-size: 0.9375rem; text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 18px -8px rgba(29,172,116,0.8);
  transition: transform 100ms ease-out, background-color 200ms;
}
.pill:hover { background: #22BC80; }
.pill:active { transform: scale(0.96); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; flex: none; }
.live-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor;
  opacity: 0; animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(0.5); opacity: 0.7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(13,31,60,0.06);
  color: var(--ink); cursor: pointer; align-items: center; justify-content: center; flex: none;
  transition: transform 100ms ease-out;
}
.menu-btn:active { transform: scale(0.94); }
.menu-btn svg { width: 20px; height: 20px; }
.sheet {
  position: absolute; top: calc(100% + 8px); right: var(--gutter-r); left: var(--gutter-l);
  background: rgba(255,255,255,0.94); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border-radius: 24px; padding: 10px; box-shadow: 0 24px 60px -20px rgba(13,31,60,0.35), 0 0 0 1px rgba(13,31,60,0.06);
  transform-origin: top right; transform: scale(0.94) translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform 420ms var(--spring), opacity 200ms ease, visibility 0s linear 420ms;
}
.sheet.open { transform: none; opacity: 1; visibility: visible; transition: transform 420ms var(--spring), opacity 160ms ease, visibility 0s; }
.sheet a { display: block; padding: 14px 16px; border-radius: 14px; text-decoration: none; font-weight: 550; font-size: 1.0625rem; }
.sheet a[aria-current="page"] { background: var(--mint); }
.sheet a:active { background: rgba(13,31,60,0.06); }

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .pill { margin-left: auto; }
}
@media (max-width: 420px) {
  .nav { gap: 10px; }
  .nav-logo img { height: 34px; }
  .pill { padding: 9px 14px; font-size: 0.875rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero-photo { position: relative; max-width: 470px; justify-self: end; width: 100%; }
.hero-photo > img, .photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%;
  border-radius: var(--r-photo); max-width: 100%;
}
.badge-years {
  position: absolute; left: -22px; bottom: 34px; display: grid; gap: 2px;
  background: var(--navy); color: var(--on-navy); border-radius: 18px; padding: 18px 22px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.5);
}
.band--navy .badge-years { background: var(--paper); color: var(--ink); }
.badge-years b { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--green); letter-spacing: -0.02em; }
.band--navy .badge-years b { color: var(--green-ink); }
.badge-years > span { font-size: 0.875rem; color: var(--on-navy-2); }
.band--navy .badge-years > span { color: var(--ink-2); }
.next-card {
  position: absolute; right: -18px; top: 28px; width: min(250px, 70%);
  background: rgba(13, 31, 60, 0.74); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.22); border-top-color: rgba(255,255,255,0.4);
  color: var(--on-navy); border-radius: 18px; padding: 16px 18px; display: grid; gap: 4px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
}
.next-card .k { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); font-weight: 650; }
.next-card .v { font-family: var(--display); font-size: 1.25rem; line-height: 1.2; }
.next-card .s { font-size: 0.875rem; color: var(--on-navy-2); font-variant-numeric: tabular-nums; }
.proof { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.faces { display: flex; }
.faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--navy); margin-left: -10px; }
.faces img:first-child { margin-left: 0; }
.band--mint .faces img, .band:not(.band--navy) .faces img { border-color: var(--paper); }
.proof p { font-size: 0.9375rem; line-height: 1.4; }
.proof b { display: block; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; max-width: 420px; margin-inline: 14px 0; }
  .next-card { right: 12px; top: 16px; }
}

/* load sequence: elements start visible-ish and settle; never left hidden */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 900ms var(--spring) both; }
  .rise-2 { animation-delay: 80ms; } .rise-3 { animation-delay: 160ms; } .rise-4 { animation-delay: 240ms; } .rise-5 { animation-delay: 320ms; }
  .float-in { animation: float-in 1100ms var(--spring) 300ms both; }
}
@keyframes rise { from { transform: translateY(18px); opacity: 0.001; } to { transform: none; opacity: 1; } }
@keyframes float-in { from { transform: translateY(14px) scale(0.96); opacity: 0.001; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }

/* ---------- Generic grids & cards ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split > * { min-width: 0; }
.sticky-col { position: sticky; top: 112px; display: grid; gap: 20px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .sticky-col { position: static; } }

.pain-list { display: grid; border-top: 1px solid var(--line); }
.pain-list li { list-style: none; padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.pain-list { padding: 0; margin: 0; }
.pain-list strong { font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1.3; letter-spacing: -0.01em; }
.pain-list span { color: var(--ink-2); }
.note {
  margin-top: 32px; background: var(--mint); border-radius: var(--r-card); padding: 26px 28px;
  font-size: 1.0625rem; color: var(--ink);
}

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border-radius: var(--r-card); padding: 30px; display: grid; gap: 12px; align-content: start; }
.card p { color: var(--ink-2); }
.band--paper-cards .card, .card--line { border: 1px solid var(--line); }
.band--navy .card { background: var(--navy-2); border: 1px solid var(--line-navy); }
.band--navy .card p { color: var(--on-navy-2); }
.tick {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(29,172,116,0.14); color: var(--green); margin-bottom: 10px;
}
.tick svg { width: 20px; height: 20px; }
.card .tick { color: var(--green-ink); }
.band--navy .card .tick { color: var(--green); }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; position: relative; }
.step { background: var(--paper); border-radius: var(--r-card); padding: 28px 26px 30px; display: grid; gap: 12px; align-content: start; position: relative; }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step-num {
  font-family: var(--display); font-size: 3rem; line-height: 1; font-weight: 600; color: var(--green-ink);
  letter-spacing: -0.03em; font-variant-numeric: lining-nums;
}
.chip {
  display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 650; letter-spacing: 0.04em; background: var(--mint); color: var(--green-ink);
  white-space: nowrap;
}
.chip--navy { background: var(--navy); color: var(--on-navy); }
.step p { color: var(--ink-2); font-size: 1rem; }
.steps-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.stats > div { padding: 22px 20px 0 0; display: grid; gap: 4px; }
.stats b { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stats > div > span { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.35; }
.band--navy .stats { border-color: var(--line-navy); }
.band--navy .stats b { color: var(--on-navy); }
.band--navy .stats > div > span { color: var(--on-navy-2); }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stats > div { padding: 16px 0; border-bottom: 1px solid var(--line); } }

.matt-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.matt-grid > * { min-width: 0; }
.matt-photo { position: relative; max-width: 460px; margin-left: 18px; }
@media (max-width: 860px) { .matt-grid { grid-template-columns: 1fr; } }

/* course preview */
.modules { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.modules li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 20px 22px; border-radius: 18px; background: var(--navy-2); border: 1px solid var(--line-navy);
  transition: transform 300ms var(--spring), border-color 200ms;
}
.modules li:hover { transform: translateX(4px); border-color: rgba(29,172,116,0.5); }
.modules .m-num { font-family: var(--display); font-size: 1.6rem; color: var(--green); width: 1.6em; }
.modules .m-name { display: grid; gap: 2px; min-width: 0; }
.modules .m-name b { font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.modules .m-name span { color: var(--on-navy-2); font-size: 0.9375rem; }
.modules .m-meta { font-size: 0.8125rem; color: var(--on-navy-2); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .modules li { grid-template-columns: auto 1fr; } .modules .m-meta { grid-column: 2; text-align: left; } }

/* testimonials */
.quotes { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.quotes-side { display: grid; gap: 18px; }
.quote { background: var(--paper); border-radius: var(--r-card); padding: 28px; display: grid; gap: 20px; align-content: space-between; }
.quote blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); }
.quote--feature { padding: clamp(28px, 4vw, 44px); background: var(--navy); color: var(--on-navy); }
.quote--feature blockquote { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.4; letter-spacing: -0.01em; color: var(--on-navy); font-weight: 500; }
.quote--feature .who img { width: 72px; height: 72px; border-color: var(--navy-2); }
.quote--feature .who span { color: var(--on-navy-2); }
.qmark { font-family: var(--display); font-size: 4.5rem; line-height: 0.6; color: var(--green); height: 30px; }
.who { display: flex; align-items: center; gap: 14px; }
.who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.who div { display: grid; gap: 4px; justify-items: start; }
.who b { font-weight: 650; }
.who span { font-size: 0.875rem; color: var(--ink-2); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* final CTA */
.cta-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.cta-grid > * { min-width: 0; }
.schedule {
  background: var(--navy-2); border: 1px solid var(--line-navy); border-radius: 24px; padding: 26px; display: grid; gap: 4px;
}
.schedule-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-navy); font-variant-numeric: tabular-nums; }
.schedule-row:last-of-type { border-bottom: 0; }
.schedule-row b { font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.schedule-row span { color: var(--on-navy-2); }
.schedule .next-line { margin-top: 10px; display: flex; gap: 10px; align-items: center; color: var(--green); font-weight: 600; font-size: 0.9375rem; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }

/* checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checks svg { width: 22px; height: 22px; margin-top: 2px; color: var(--green-ink); }
.band--navy .checks svg { color: var(--green); }
.checks--x svg { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li { padding: 9px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 0.9375rem; font-weight: 500; }

/* about story */
.story { display: grid; gap: 28px; }
.story h3 { margin-bottom: 8px; }
.story p { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.7; }
.story p strong { color: var(--ink); font-weight: 600; }
.divider { height: 1px; background: var(--line); border: 0; margin: 8px 0; }

/* curriculum */
.curriculum { display: grid; gap: 18px; }
.module {
  background: var(--paper); border-radius: 24px; padding: clamp(26px, 3.5vw, 40px);
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(20px, 4vw, 56px);
}
.module > * { min-width: 0; }
.module-head { display: grid; gap: 10px; align-content: start; }
.module-head .k { font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-ink); }
.module-head h3 { font-size: clamp(1.5rem, 2.5vw, 1.9rem); }
.module-head p { color: var(--ink-2); }
.lessons { list-style: none; margin: 0; padding: 0; display: grid; }
.lessons li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lessons li:last-child { border-bottom: 0; }
.lessons .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--mint); color: var(--green-ink); display: grid; place-items: center; }
.lessons .ic svg { width: 16px; height: 16px; }
.lessons .t { font-weight: 550; min-width: 0; }
.lessons .t small { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.875rem; margin-top: 2px; }
.lessons .call .ic { background: var(--navy); color: var(--green); }
@media (max-width: 760px) { .module { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 24px 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.35rem); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; transition: transform 400ms var(--spring), background-color 200ms; }
.faq summary .plus svg { width: 16px; height: 16px; color: var(--green-ink); }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--mint-2); }
.faq .a { padding: 0 56px 26px 0; color: var(--ink-2); display: grid; gap: 12px; max-width: 70ch; }
@media (max-width: 600px) { .faq .a { padding-right: 0; } }
.contact-card { background: var(--navy); color: var(--on-navy); border-radius: 24px; padding: clamp(28px, 4vw, 40px); display: grid; gap: 18px; }
.contact-card .lead { color: var(--on-navy-2); }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: var(--navy-2); border: 1px solid var(--line-navy); border-radius: 16px; padding: 10px 10px 10px 18px; }
.copy-row a { font-weight: 600; text-decoration: none; word-break: break-all; flex: 1 1 200px; min-width: 0; user-select: all; }
.copy-btn { border: 0; border-radius: 999px; padding: 10px 16px; background: var(--green); color: var(--navy); font: 650 0.875rem/1 var(--text); cursor: pointer; transition: transform 100ms ease-out; }
.copy-btn:active { transform: scale(0.96); }

/* page hero (inner) */
.page-hero { padding-block: clamp(56px, 8vw, 104px); }
.page-hero .hero-copy { max-width: 820px; }
.session-board { background: var(--paper); border-radius: 24px; padding: 26px; display: grid; gap: 14px; box-shadow: 0 30px 60px -30px rgba(13,31,60,0.25); }
.session-board .row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--mint); border-radius: 16px; }
.session-board .row .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--paper); color: var(--green-ink); display: grid; place-items: center; flex: none; }
.session-board .row .ic svg { width: 20px; height: 20px; }
.session-board .row b { display: block; }
.session-board .row span { font-size: 0.875rem; color: var(--ink-2); }

.big-schedule { background: var(--paper); color: var(--ink); border-radius: 28px; padding: clamp(24px, 3.5vw, 36px); display: grid; gap: 18px; box-shadow: 0 30px 70px -30px rgba(0,0,0,0.55); }
.big-schedule .days { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.big-schedule .day { background: var(--mint); border-radius: 18px; padding: 18px; display: grid; gap: 2px; }
.big-schedule .day b { font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
.big-schedule .day span { color: var(--ink-2); font-size: 0.9375rem; }
.big-schedule .day.is-next { background: var(--navy); color: var(--on-navy); }
.big-schedule .day.is-next span { color: var(--on-navy-2); }
.big-schedule .countdown { min-height: 3.2em; font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: 0.9375rem; }
.big-schedule .countdown b { color: var(--ink); }

/* footer */
.site-footer { background: var(--navy-3); color: var(--on-navy-2); padding-block: 64px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 0.9375rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-grid > * { min-width: 0; }
.site-footer img { height: 48px; width: auto; }
.site-footer h4 { margin: 0 0 14px; color: var(--on-navy); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { overflow-wrap: anywhere; text-decoration: none; color: var(--on-navy-2); transition: color 150ms; }
.site-footer a:hover { color: var(--on-navy); }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-navy); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.875rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* motion & accessibility preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header, .sheet { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .next-card { background: var(--navy-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .site-header { background: var(--paper); box-shadow: 0 1px 0 var(--ink); }
  .muted, .lead, .card p { color: var(--ink); }
}

/* breadcrumbs */
.crumbs { font-size: 0.875rem; padding-top: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs li { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.6; margin-right: 4px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.band--navy .crumbs li, .band--navy .crumbs a { color: var(--on-navy-2); }
.band--navy .crumbs a:hover, .band--navy .crumbs [aria-current] { color: var(--on-navy); }
.page-hero.has-crumbs { padding-top: clamp(28px, 4vw, 48px); }

/* author bio */
.author { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 32px); align-items: center; background: var(--mint); border-radius: 24px; padding: clamp(22px, 3.5vw, 36px); max-width: 900px; margin: 0 auto; }
.author img { width: clamp(84px, 12vw, 120px); height: clamp(84px, 12vw, 120px) !important; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.author .stack { gap: 10px; min-width: 0; }
.author .k { font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-ink); }
.author h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.author p { color: var(--ink-2); }
.author a.more { font-weight: 600; color: var(--green-ink); text-underline-offset: 3px; }
@media (max-width: 520px) { .author { grid-template-columns: 1fr; } }

/* 404 */
.lost { min-height: 60vh; display: grid; align-content: center; }
.lost .code { font-family: var(--display); font-size: clamp(5rem, 16vw, 9rem); line-height: 0.9; color: var(--green); letter-spacing: -0.04em; }

/* contact form */
.form-card { background: var(--paper); border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; box-shadow: 0 30px 60px -34px rgba(13,31,60,0.3); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field .hint { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--text); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; min-height: 52px;
  transition: border-color 150ms, box-shadow 150ms; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-ink); box-shadow: 0 0 0 4px rgba(29,172,116,0.18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #C2410C; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 14px; padding: 14px 16px; font-weight: 550; }
.form-status.ok { background: var(--mint); color: var(--green-ink); }
.form-status.err { background: #FDECE7; color: #9A3412; }
.form-card button[type="submit"] { width: 100%; }
.form-card button[disabled] { opacity: 0.7; cursor: progress; }
.contact-aside { display: grid; gap: 18px; align-content: start; }
.contact-aside .card { border: 1px solid var(--line); }

/* cookie banner */
.consent {
  position: fixed; z-index: 70; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 520px; margin-left: auto;
  background: rgba(255,255,255,0.92); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border-radius: 22px; padding: 20px; display: grid; gap: 14px; font-size: 0.9375rem; color: var(--ink);
  box-shadow: 0 24px 60px -20px rgba(13,31,60,0.4), 0 0 0 1px rgba(13,31,60,0.06);
  transform: translateY(16px) scale(0.98); opacity: 0; transform-origin: bottom right;
  transition: transform 450ms var(--spring), opacity 200ms ease;
}
.consent.show { transform: none; opacity: 1; }
.consent a { color: var(--green-ink); font-weight: 600; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.consent .btn { min-height: 44px; padding: 10px 20px; }
.foot-link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--on-navy-2); cursor: pointer; text-align: left; }
.foot-link-btn:hover { color: var(--on-navy); }

/* legal text */
.legal { max-width: 760px; display: grid; gap: 18px; }
.legal h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 22px; }
.legal p, .legal li { color: var(--ink-2); line-height: 1.75; }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.legal a { color: var(--green-ink); font-weight: 600; text-underline-offset: 3px; }
.legal strong { color: var(--ink); }
.faq .a a { color: var(--green-ink); font-weight: 600; text-underline-offset: 3px; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px clamp(40px, 6vw, 96px); grid-template-areas: "intro form" "extra form"; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-intro { grid-area: intro; }
.contact-extra { grid-area: extra; }
.contact-extra .card { border: 1px solid var(--line); }
.contact-form { grid-area: form; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "extra"; } }

/* Photo sizing: keep Matt's portrait in proportion with the copy at every screen size */
.hero-photo { max-width: 420px; }
.matt-photo { max-width: 400px; }
.hero-photo > img, .photo {
  height: auto;
  aspect-ratio: 5 / 6;
  max-height: min(72vh, 520px);
  object-position: 50% 18%;
}
@media (min-width: 861px) { .matt-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
@media (max-width: 860px) {
  .hero-photo, .matt-photo { max-width: 360px; }
  .hero-photo > img, .photo { aspect-ratio: 1 / 1; max-height: none; object-position: 50% 15%; }
}

/* Next-session card sits above the photo so it never covers Matt's face */
.next-card { top: -34px; right: -18px; }
@media (max-width: 860px) {
  .hero-photo { display: flex; flex-direction: column; gap: 12px; }
  .hero-photo .next-card { position: static; order: -1; width: 100%; }
}

/* =====================================================================
   MOTION
   html.motion-ok is set by a tiny inline script only when the visitor
   allows motion. If the animation code fails to start within 2.5s the
   class is removed and everything shows normally.
   ===================================================================== */
/* Hero entrance runs in pure CSS from the first paint, so it never waits for a download */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.08em 0.14em 0; margin: 0 -0.08em -0.14em 0; }
.w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  h1.rise { animation: none; }
  .w > span { animation: word-up 1s var(--spring) both; animation-delay: calc(var(--i) * 55ms + 60ms); }
  .hero-photo.float-in, .matt-photo.float-in { animation: none; }
  .hero-photo.float-in > img, .matt-photo.float-in > img { animation: photo-reveal 1.15s var(--spring) 0.05s both; }
  .float-in .next-card, .float-in .badge-years { animation: pop-in 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
  .float-in .next-card { animation-delay: 0.6s; }
  .float-in .badge-years { animation-delay: 0s; }
}
@keyframes word-up { from { transform: translateY(112%); } }
@keyframes photo-reveal { from { clip-path: inset(100% 0 0 0 round var(--r-photo)); transform: scale(1.06); } to { clip-path: inset(0 0 0 0 round var(--r-photo)); transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(0.94); } }
.split-line { padding-bottom: 0.08em; margin-bottom: -0.08em; } /* keep descenders inside the line mask */

/* Numbers never shift while counting */
.badge-years b, .stats b { font-variant-numeric: tabular-nums; }

/* Process: each step gets a bar that fills in sequence as you scroll */
.step { overflow: hidden; }
.step-bar { position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--mint-2); }
.step-bar i { display: block; height: 100%; background: var(--green); transform: scaleX(0); transform-origin: left center; }
html:not(.motion-ok) .step-bar i { transform: scaleX(1); }
.step .step-num { transition: color 300ms ease; }
html.motion-ok .step:not(.is-lit) .step-num { color: #9FB3AA; }

/* Course: a timeline runs down the four modules */
.curriculum { position: relative; padding-left: 34px; }
.curriculum::before, .curri-fill { content: ""; position: absolute; left: 9px; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; }
.curriculum::before { background: var(--mint-2); }
.curri-fill { background: var(--green); transform: scaleY(0); transform-origin: top center; }
html:not(.motion-ok) .curri-fill { transform: scaleY(1); }
.module { position: relative; }
.module::before {
  content: ""; position: absolute; left: -34px; top: clamp(30px, 4vw, 44px); width: 21px; height: 21px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--mint-2); transition: border-color 300ms ease, background-color 300ms ease;
}
.module.is-lit::before, html:not(.motion-ok) .module::before { border-color: var(--green); background: var(--green); box-shadow: 0 0 0 4px rgba(29,172,116,0.18); }
@media (max-width: 600px) { .curriculum { padding-left: 26px; } .curriculum::before, .curri-fill { left: 6px; } .module::before { left: -26px; width: 17px; height: 17px; } }

/* Cursor glow (desktop with a mouse) */
.has-glow { position: relative; overflow: hidden; isolation: isolate; }
.glow {
  position: absolute; left: 0; top: 0; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%;
  background: radial-gradient(circle, rgba(29,172,116,0.16), rgba(29,172,116,0) 65%);
  opacity: 0; pointer-events: none; z-index: -1; will-change: transform, opacity;
}
.band--navy .glow { background: radial-gradient(circle, rgba(29,172,116,0.24), rgba(29,172,116,0) 65%); }

/* Smart nav: tucks away while reading, returns on the first scroll up */
.site-header { transition: transform 450ms var(--spring), box-shadow 250ms ease; }
.site-header.tucked { transform: translateY(calc(-100% - 8px)); }

/* FAQ answers open smoothly */
.faq .a { overflow: hidden; }

/* Contact form: green check draws itself */
.form-status.ok { display: flex; gap: 12px; align-items: center; }
.sent-check { width: 28px; height: 28px; flex: none; }
.sent-check circle { fill: var(--green); }
.sent-check path { fill: none; stroke: var(--paper); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; animation: draw-check 500ms var(--spring) 150ms forwards; }
@keyframes draw-check { to { stroke-dashoffset: 0; } }

/* Page-to-page cross-fade (Chrome, Edge, Safari). The nav bar stays put. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out 200ms ease both; }
::view-transition-new(root) { animation: vt-in 320ms var(--spring) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .site-header.tucked { transform: none; }
  .glow { display: none; }
  .sent-check path { stroke-dashoffset: 0; }
}

/* Slot-machine numbers: each digit spins through a reel and lands on its value */
.roll { white-space: nowrap; }
.reel { position: relative; display: inline-block; }
.reel::before { display: none; }
html.motion-ok .reel { clip-path: inset(0 -0.1em); }
html.motion-ok .reel .reel-final { color: transparent; }
html.motion-ok .reel::before {
  content: "0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9\A 0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9";
  display: block; position: absolute; left: 0; right: 0; top: 0; white-space: pre; text-align: center;
  transform: translateY(0); will-change: transform;
}
html.motion-ok .roll-sym { display: inline-block; opacity: 0; transform: translateY(0.3em); transition: opacity 400ms ease, transform 600ms var(--spring); }
/* Hero numbers roll straight away; others roll when they scroll into view */
html.motion-ok .is-rolling .reel::before {
  animation: reel-spin calc(1.25s + var(--k) * 0.35s) cubic-bezier(0.2, 0.85, 0.25, 1) both;
  animation-delay: calc(var(--delay, 0s) + var(--k) * 0.08s);
}
html.motion-ok .is-rolling .roll-sym { opacity: 1; transform: none; transition-delay: calc(var(--delay, 0s) + 0.9s); }
html.motion-ok .proof .roll { --delay: 0.95s; }
html.motion-ok .proof.is-rolling .reel::before { animation-duration: calc(1.7s + var(--k) * 0.45s); }
html.motion-ok .float-in .badge-years .roll { --delay: 0.1s; }
html.motion-ok .float-in .badge-years.is-rolling .reel::before { animation-duration: calc(1.7s + var(--k) * 0.45s); }
html.motion-ok .stats > div:nth-child(2) .roll { --delay: 0.15s; }
html.motion-ok .stats > div:nth-child(3) .roll { --delay: 0.3s; }
@keyframes reel-spin { from { transform: translateY(0); } to { transform: translateY(calc(-1lh * (10 + var(--n)))); } }
/* Green line sweeps across the stats as they count */
.stats { position: relative; }
html.motion-ok .stats::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left center; transition: transform 1.6s var(--spring);
}
html.motion-ok .stats.is-rolling::before { transform: scaleX(1); }

/* =====================================================================
   VIDEO TESTIMONIALS
   ===================================================================== */
.vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 18px; }
@media (max-width: 520px) { .vgrid { gap: 12px; } }
.vcard {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; max-width: 100%;
  border: 0; padding: 0; border-radius: 24px; overflow: hidden; cursor: pointer; isolation: isolate;
  background: radial-gradient(120% 80% at 30% 15%, #23426E, var(--navy)); color: var(--on-navy); text-align: left;
  box-shadow: 0 24px 50px -28px rgba(13, 31, 60, 0.65);
  transition: transform 350ms var(--spring), box-shadow 300ms ease;
  -webkit-tap-highlight-color: transparent;
}
.vcard--long { aspect-ratio: 16 / 9; }
.vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--spring); }
.vcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 24, 47, 0.88), rgba(10, 24, 47, 0) 55%); }
.vcard:hover { box-shadow: 0 30px 60px -26px rgba(13, 31, 60, 0.75); }
.vcard:hover img { transform: scale(1.04); }
.vcard:active { transform: scale(0.98); }
.vplay {
  position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%;
  display: grid; place-items: center; color: var(--on-navy);
  background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform 350ms var(--spring), background-color 200ms ease, color 200ms ease;
}
.vplay svg { width: 28px; height: 28px; margin-left: 3px; }
.vcard:hover .vplay, .vcard:focus-visible .vplay { transform: scale(1.08); background: var(--green); color: var(--navy); border-color: var(--green); }
.vmeta { position: absolute; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 2px; }
.vmeta b { font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.vmeta > span { font-size: 0.875rem; color: rgba(255, 255, 255, 0.82); }

/* Hero link down to the stories */
.watch-link { display: inline-flex; align-items: center; gap: 10px; justify-self: start; color: var(--green); font-weight: 600; font-size: 0.9375rem; text-decoration: none; }
.watch-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.watch-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(29, 172, 116, 0.16); color: var(--green); transition: transform 300ms var(--spring); }
.watch-dot svg { width: 13px; height: 13px; margin-left: 2px; }
.watch-link:hover .watch-dot { transform: scale(1.12); }

/* Full-screen player */
.vmodal { padding: 0; border: 0; margin: 0; background: transparent; width: 100%; height: 100%; max-width: none; max-height: none; color: var(--on-navy); }
.vmodal[open] { display: grid; place-items: center; }
.vmodal::backdrop { background: rgba(6, 14, 28, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vmodal-inner { display: grid; gap: 14px; justify-items: center; }
.vmodal-frame { width: min(92vw, 1000px); aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8); }
.vmodal.is-short .vmodal-frame { width: min(92vw, calc(80vh * 9 / 16)); aspect-ratio: 9 / 16; }
.vmodal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vmodal-yt { color: rgba(255, 255, 255, 0.75); font-size: 0.875rem; }
.vmodal-close {
  position: fixed; top: calc(16px + env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); cursor: pointer;
  background: rgba(255, 255, 255, 0.12); color: var(--on-navy); display: grid; place-items: center;
  transition: transform 100ms ease-out, background-color 200ms ease;
}
.vmodal-close:hover { background: rgba(255, 255, 255, 0.22); }
.vmodal-close:active { transform: scale(0.94); }
.vmodal-close svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .vmodal[open] .vmodal-inner { animation: vpop 520ms var(--spring) both; }
  .vmodal[open]::backdrop { animation: vfade 260ms ease both; }
}
@keyframes vpop { from { opacity: 0; transform: translateY(14px) scale(0.94); } }
@keyframes vfade { from { opacity: 0; } }

/* Three stories: two Shorts side by side, Mark's longer video full width underneath */
.vgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }
.vgrid--3 .vcard--long { grid-column: 1 / -1; }
