/* Jones Golf Academy
   Layout: a 1180px measure on a 16–40px gutter. Light pages, cinematic full-bleed openings,
   and one always-dark "yardage book" chapter per page where the teaching lives.
   Type: the platform's own face (San Francisco on Apple devices), Instrument Sans elsewhere.
   Color: white and navy-biased neutrals; the academy's navy is the only accent. */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: optional;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f3f5f8;
  --bg-raised: #ffffff;
  --bg-sunk: #e9edf2;
  --ink: #0b1422;
  --ink-2: #566170;
  --ink-3: #8b94a1;
  --line: #dfe4ea;
  --line-strong: #c9d1db;
  --navy: #0d2847;
  --on-navy: #ffffff;
  --link: #1356ad;
  --good: #1d7a3e;
  --danger: #c4271b;
  --nav-bg: rgba(255, 255, 255, 0.8);
  /* the dark chapter keeps its own palette in both themes */
  --ch-bg: #081322;
  --ch-bg-2: #0e1d32;
  --ch-ink: #eef2f7;
  --ch-ink-2: #9eabbc;
  --ch-line: rgba(238, 242, 247, 0.1);
  --ch-faint: rgba(238, 242, 247, 0.26);
  --closer-bg: #0d2847;

  --font: -apple-system, BlinkMacSystemFont, "Instrument Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #090c11; --bg-alt: #10151d; --bg-raised: #151b25; --bg-sunk: #1b2330;
    --ink: #eef2f7; --ink-2: #a2acb9; --ink-3: #6f7a88; --line: #242c38; --line-strong: #323c4a;
    --navy: #eef2f7; --on-navy: #0d2847; --link: #78b0ff; --good: #4fc27a; --danger: #ff6b5e;
    --nav-bg: rgba(9, 12, 17, 0.78);
    --ch-bg: #0b1729; --ch-bg-2: #112440; --closer-bg: #112b4d;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #090c11; --bg-alt: #10151d; --bg-raised: #151b25; --bg-sunk: #1b2330;
  --ink: #eef2f7; --ink-2: #a2acb9; --ink-3: #6f7a88; --line: #242c38; --line-strong: #323c4a;
  --navy: #eef2f7; --on-navy: #0d2847; --link: #78b0ff; --good: #4fc27a; --danger: #ff6b5e;
  --nav-bg: rgba(9, 12, 17, 0.78);
  --ch-bg: #0b1729; --ch-bg-2: #112440; --closer-bg: #112b4d;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 56px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.5; letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
/* Links inside sentences get an underline too, so they never rely on color alone. */
:is(p, li, dd, figcaption, .note, .answer) a:not(.btn):not(.more):not(.sc-row) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
:is(p, li, dd, figcaption, .note, .answer) a:not(.btn):not(.more):not(.sc-row):hover { text-decoration-color: currentColor; }
.nav-links a, .footer a, .subnav a { text-decoration: none; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.num, table { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--wrap-narrow); margin-left: auto; margin-right: auto; }

/* ---------- Type ---------- */
.eyebrow { font-size: 17px; font-weight: 600; color: var(--navy); margin: 0 0 12px; letter-spacing: -0.01em; }
.eyebrow-on-dark { color: var(--ch-ink-2); }
.display { font-size: clamp(46px, 7.6vw, 108px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 600; }
.h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.03; letter-spacing: -0.036em; }
.h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.06; letter-spacing: -0.03em; }
.h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.15; letter-spacing: -0.02em; }
.lede { font-size: clamp(19px, 1.75vw, 23px); line-height: 1.42; color: var(--ink-2); letter-spacing: -0.016em; max-width: 40em; }
.lede strong { color: var(--ink); font-weight: 600; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.45; letter-spacing: -0.006em; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.prose h2 { font-size: 28px; margin: 56px 0 14px; }
.prose h3 { font-size: 21px; margin: 32px 0 8px; }
.prose h3.h2 { font-size: clamp(30px, 4vw, 48px); margin: 0 0 16px; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  background: var(--navy); color: var(--on-navy); border: 0; border-radius: 980px; padding: 0 24px;
  font: inherit; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), filter 0.2s, background 0.2s;
}
.btn:hover { text-decoration: none; filter: brightness(1.18); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 18px; }
.btn-sm { min-height: 38px; padding: 0 17px; font-size: 15px; }
.btn-light { background: #ffffff; color: #0b1422; }
.btn-light:hover { filter: none; background: #e9eef5; }
.btn-ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1.5px var(--link); }
.btn-ghost:hover { filter: none; background: color-mix(in srgb, var(--link) 8%, transparent); }
.btn-block { width: 100%; min-height: 54px; }
.more { font-weight: 500; }
.more::after {
  content: ""; display: inline-block; width: 0.42em; height: 0.42em; margin-left: 0.4em;
  border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor; transform: translateY(-0.1em) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.more:hover::after { transform: translate(0.15em, -0.1em) rotate(45deg); }
.more-light { color: #ffffff; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.actions.center, .center .actions { justify-content: center; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; color: var(--ink);
  background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand { display: flex; align-items: center; color: var(--navy); flex: none; transition: color 0.35s; }
.brand svg { height: 46px; width: auto; }
.nav-links { display: flex; gap: 28px; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 14px; letter-spacing: -0.01em; }
.nav-links a { color: inherit; opacity: 0.78; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-links a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav-cta { min-height: 36px; padding: 0 16px; font-size: 14px; }
.nav-toggle { display: none; margin-left: 8px; background: none; border: 0; padding: 10px; color: inherit; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; display: block; }

/* Over the home page film: transparent and white until you scroll past it. */
.has-cinema main { margin-top: calc(-1 * var(--nav-h)); }
.has-cinema .nav:not(.is-solid):not([data-open]) {
  background: transparent; border-bottom-color: transparent; color: #ffffff;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.has-cinema .nav:not(.is-solid):not([data-open]) .brand { color: #ffffff; }
.has-cinema .nav:not(.is-solid):not([data-open]) .nav-cta { background: #ffffff; color: #0b1422; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-cta { margin-left: auto; }
  .nav-links {
    display: none; position: fixed; inset: var(--nav-h) 0 0 0; margin: 0; padding: 8px var(--gutter) 40px;
    flex-direction: column; gap: 0; background: var(--bg); color: var(--ink); font-size: 26px; font-weight: 600; overflow-y: auto;
  }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 0; opacity: 1; }
  .nav[data-open] .nav-links { display: flex; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-tight { padding: clamp(48px, 7vw, 84px) 0; }
.alt { background: var(--bg-alt); }
.section-head { margin-bottom: clamp(40px, 5.5vw, 72px); max-width: 860px; }
.section-head .lede { margin-top: 18px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head-row { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; }
.section-head-row .lede { margin-top: 0; }
@media (max-width: 820px) { .section-head-row { grid-template-columns: 1fr; } }
.page-head { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.page-head .lede { margin-top: 22px; max-width: 760px; }
.page-head.center .lede { margin-left: auto; margin-right: auto; }
.page-head .actions { margin-top: 34px; }
.page-head-season { margin-top: clamp(40px, 5vw, 64px); }
.band { padding: 0 0 clamp(48px, 7vw, 96px); }

/* ---------- Opening film (home) ---------- */
.cinema {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: 560px; height: clamp(560px, 88vh, 940px); background: #0b1422; color: #ffffff;
}
.cinema-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cinema-film { opacity: 0; transition: opacity 0.8s var(--ease); }
.cinema-film.is-playing { opacity: 1; }
.cinema-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.55) 0%, rgba(5, 10, 18, 0) 20%),
    linear-gradient(0deg, rgba(5, 10, 18, 0.78) 0%, rgba(5, 10, 18, 0.35) 38%, rgba(5, 10, 18, 0) 62%);
}
.cinema-copy { position: relative; width: 100%; padding-bottom: clamp(56px, 9vh, 104px); }
.cinema .display { color: #ffffff; max-width: 10.5em; }
.cinema-lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.42; color: rgba(255, 255, 255, 0.86); max-width: 34em; margin: 22px 0 0; letter-spacing: -0.014em; }
.cinema .actions { margin-top: 34px; }
.cinema-caption { position: absolute; right: calc(var(--gutter) + 56px); bottom: 34px; margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.72); letter-spacing: 0; }
.media-toggle {
  position: absolute; right: var(--gutter); bottom: 24px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, 0.16); color: #ffffff; cursor: pointer; display: grid; place-items: center;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.media-toggle:hover { background: rgba(255, 255, 255, 0.28); }
.media-toggle svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .cinema-caption { display: none; } .cinema { height: auto; min-height: 640px; } }
@media (prefers-reduced-motion: no-preference) {
  .cinema-copy > * { animation: rise 1s var(--ease) both; }
  .cinema-copy > *:nth-child(2) { animation-delay: 0.06s; }
  .cinema-copy > *:nth-child(3) { animation-delay: 0.12s; }
  .cinema-copy > *:nth-child(4) { animation-delay: 0.18s; }
}
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }

/* ---------- Lesson season timeline ---------- */
.season-band { padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.season { --p: 0; }
.season-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; }
.season-title { margin: 0; font-weight: 600; font-size: 15px; }
.season-state { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.season-left { font-size: 14px; color: var(--ink-2); }
.season-track { position: relative; height: 6px; margin-top: 16px; border-radius: 6px; background: var(--bg-sunk); }
.season-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); border-radius: 6px; background: var(--navy); }
.season-dot {
  position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--navy); transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--navy) 12%, transparent);
}
.season[data-state="past"] .season-dot, .season[data-state="future"] .season-dot { display: none; }
.season-months { display: grid; grid-template-columns: 31fr 30fr 31fr 31fr 30fr 31fr; list-style: none; padding: 0; margin: 10px 0 0; font-size: 12px; color: var(--ink-2); }
.season-months li { padding-left: 6px; border-left: 1px solid var(--line-strong); }
@media (prefers-reduced-motion: no-preference) {
  .season[data-state="open"] .season-dot { animation: pulse 2.6s ease-in-out infinite; }
}
@keyframes pulse { 50% { box-shadow: 0 0 0 11px color-mix(in srgb, var(--navy) 4%, transparent); } }

/* ---------- Feature (copy + tall image) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.feature-copy .lede { margin-top: 20px; }
.feature-copy .actions { margin-top: 30px; }
.photo-tall { aspect-ratio: 4 / 5; }
.photo-tall img { object-position: 30% 50%; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .photo-tall { aspect-ratio: 4 / 3; } }

/* ---------- Scorecard rate card ---------- */
.scorecard { margin-top: 32px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-raised); }
.scorecard table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.scorecard thead th {
  position: relative; background: var(--navy); color: var(--on-navy); padding: 19px 6px; text-align: center; vertical-align: middle;
  font-size: 12px; line-height: 1.2; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
}
.scorecard thead th + th { border-left: 1px solid color-mix(in srgb, var(--on-navy) 16%, transparent); }
.scorecard thead .sc-corner { text-align: left; padding-left: 14px; width: 27%; }
/* Hangs just under the 10 without moving it, so every header label sits on the row's centre line. */
.sc-best {
  position: absolute; left: 2px; right: 2px; top: calc(50% + 10px);
  font-size: 9px; line-height: 1; letter-spacing: 0.06em; white-space: nowrap; opacity: 0.75;
}
.scorecard tbody th { text-align: left; padding: 0 14px; font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.scorecard td { text-align: center; border-left: 1px solid var(--line); }
.sc-main th, .sc-main td { border-top: 1px solid var(--line-strong); }
.sc-main:first-child th, .sc-main:first-child td { border-top: 0; }
.sc-main a {
  display: block; padding: 15px 4px 13px; color: var(--ink); text-decoration: none;
  font-size: clamp(18px, 2vw, 22px); font-weight: 600; letter-spacing: -0.02em; transition: background 0.15s;
}
.sc-main a::after {
  content: attr(data-cta); display: block; margin-top: 1px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--link); opacity: 0.85;
}
.sc-main a:hover, .sc-main a:focus-visible { background: color-mix(in srgb, var(--link) 8%, transparent); text-decoration: none; }
.sc-sub th, .sc-sub td { padding: 7px 4px; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); }
/* Quieter than the 30 min / 1 hour labels above them (needs the extra class to outrank `.scorecard tbody th`). */
.scorecard .sc-sub th { padding-left: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.sc-card td { font-size: 12.5px; }
.scorecard-compact .sc-main a { padding: 13px 2px 11px; font-size: clamp(17px, 1.8vw, 20px); }
.sc-foot { margin-top: 12px; }
@media (max-width: 520px) {
  .scorecard thead .sc-corner { width: 24%; padding-left: 10px; }
  .scorecard tbody th { padding-left: 10px; font-size: 11.5px; }
}

/* Phones: the full rate card is a list instead (see rateList in components.mjs); the compact card stays a grid. */
.sc-list { display: none; }
@media (max-width: 640px) {
  .scorecard:not(.scorecard-compact) { display: none; }
  .sc-list { display: grid; gap: 14px; margin-top: 28px; }
}
.sc-group { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-raised); }
.sc-group-h {
  margin: 0; padding: 13px 16px; background: var(--navy); color: var(--on-navy);
  font-size: 12px; line-height: 1.2; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
}
.sc-group ul { list-style: none; margin: 0; padding: 0; }
.sc-group li + li { border-top: 1px solid var(--line); }
.sc-row {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "qty amt" "detail cta";
  column-gap: 16px; row-gap: 3px; align-items: baseline; padding: 14px 16px;
  color: var(--ink); text-decoration: none; transition: background 0.15s;
}
.sc-row:hover, .sc-row:focus-visible { background: color-mix(in srgb, var(--link) 8%, transparent); }
.sc-qty { grid-area: qty; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.sc-amt { grid-area: amt; justify-self: end; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sc-detail { grid-area: detail; font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.sc-each, .sc-online { white-space: nowrap; }
@media (max-width: 359px) { .sc-dot { display: none; } .sc-each, .sc-online { display: block; } }
.sc-cta { grid-area: cta; justify-self: end; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--link); }
.sc-tag {
  display: inline-block; margin-left: 6px; padding: 3px 7px; border-radius: 999px; vertical-align: 2px;
  font-size: 10px; line-height: 1.2; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--navy); background: color-mix(in srgb, var(--navy) 9%, transparent);
}
/* Small phones: the price columns are too narrow for "Best value" on one line, so it wraps and the row grows to hold it. */
@media (max-width: 379px) {
  .scorecard thead th { padding-top: 27px; padding-bottom: 27px; font-size: 11px; letter-spacing: 0.05em; }
  .sc-best { top: calc(50% + 9px); white-space: normal; line-height: 1.15; }
}

/* ---------- The dark chapter: nine ball flights ---------- */
.chapter { position: relative; overflow: hidden; background: var(--ch-bg); color: var(--ch-ink); padding: clamp(84px, 11vw, 150px) 0; }
.chapter .h1 { color: var(--ch-ink); }
.chapter .lede { color: var(--ch-ink-2); margin-top: 22px; }
.chapter a { color: var(--ch-ink); }
.fl-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px clamp(36px, 6vw, 96px);
  grid-template-areas: "copy figure" "controls figure"; align-items: start;
}
.fl-copy { grid-area: copy; }
.fl-figure { grid-area: figure; margin: 0; align-self: center; }
.fl-controls { grid-area: controls; display: grid; gap: 22px; align-content: start; justify-items: start; }
.fl-controls > .fl-matrix, .fl-controls > .fl-readout { justify-self: stretch; }
.fl-note { color: var(--ch-ink-2); font-size: 16px; line-height: 1.5; margin: 16px 0 0; max-width: 34em; }
@media (max-width: 900px) { .fl-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "figure" "controls"; } }
.fl-matrix { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 6px; max-width: 540px; }
.fl-axis { align-self: end; padding: 0 2px 4px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ch-ink-2); }
.fl-axis-row { align-self: center; text-align: left; padding: 0 10px 0 0; white-space: nowrap; }
.fl-btn {
  appearance: none; min-height: 46px; padding: 10px 6px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--ch-line); background: rgba(255, 255, 255, 0.035); color: var(--ch-ink);
  font: inherit; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.fl-btn:hover { border-color: var(--ch-faint); background: rgba(255, 255, 255, 0.07); }
.fl-btn[aria-pressed="true"] { background: var(--ch-ink); border-color: var(--ch-ink); color: var(--ch-bg); }
.fl-readout { min-height: 76px; padding-top: 18px; border-top: 1px solid var(--ch-line); max-width: 540px; }
.fl-name { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.025em; }
.fl-desc { margin: 4px 0 0; color: var(--ch-ink-2); }
.fl-svg { width: 100%; height: auto; max-height: 760px; overflow: visible; }
.fl-cap { margin-top: 12px; text-align: center; font-size: 13px; color: var(--ch-ink-2); }
.fl-fairway { fill: rgba(255, 255, 255, 0.035); stroke: rgba(255, 255, 255, 0.07); }
.fl-yd { stroke: var(--ch-line); stroke-width: 1; }
.fl-yd-label { fill: var(--ch-ink-2); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
.fl-target { stroke: var(--ch-faint); stroke-width: 1.5; stroke-dasharray: 2 8; stroke-linecap: round; }
.fl-flag line { stroke: var(--ch-ink); stroke-width: 2; }
.fl-flag path { fill: var(--ch-ink); }
.fl-flag circle { fill: var(--ch-bg-2); stroke: var(--ch-faint); }
.fl-tee rect { fill: rgba(255, 255, 255, 0.05); stroke: var(--ch-line); }
.fl-tee circle { fill: var(--ch-ink); }
.fl-path { fill: none; stroke: var(--ch-faint); stroke-width: 1.6; stroke-linecap: round; opacity: 0.75; transition: stroke 0.3s, stroke-width 0.3s, opacity 0.3s; }
.fl-ball { fill: var(--ch-faint); transition: fill 0.3s; }
.fl-path.is-active { stroke: var(--ch-ink); stroke-width: 3.4; opacity: 1; }
.fl-ball.is-active { fill: var(--ch-ink); filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.55)); }
.fl-paths { transform-box: view-box; transform-origin: 300px 0; transition: transform 0.6s var(--ease); }
.fl-paths[data-hand="left"] { transform: scaleX(-1); }
@media (prefers-reduced-motion: no-preference) {
  .fl-path.is-drawing { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) forwards; }
  .fl-ball.is-drawing { animation: land 1.1s var(--ease) both; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes land { 0%, 80% { opacity: 0; } 100% { opacity: 1; } }

/* ---------- Statement ---------- */
.statement { font-size: clamp(44px, 7vw, 100px); line-height: 1; letter-spacing: -0.045em; font-weight: 600; }
.statement span { display: block; }
.statement span:nth-child(2) { color: color-mix(in srgb, var(--ink) 72%, var(--bg)); }
.statement span:nth-child(3) { color: color-mix(in srgb, var(--ink) 54%, var(--bg)); }

/* ---------- Grids, tiles, splits, photos ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3 { grid-template-columns: minmax(0, 1fr); } }
.tile { background: var(--bg-alt); border-radius: var(--radius); padding: 34px 32px; display: flex; flex-direction: column; overflow: hidden; }
.alt .tile { background: var(--bg-raised); }
.tile h3 { font-size: 24px; margin-bottom: 10px; letter-spacing: -0.02em; }
.tile .price { font-size: 17px; margin: 14px 0 22px; }
.tile .tile-foot { margin-top: auto; padding-top: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }
.photo { border-radius: var(--radius); overflow: hidden; background: var(--bg-sunk); max-width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.r-43 { aspect-ratio: 4 / 3; } .r-45 { aspect-ratio: 4 / 5; } .r-169 { aspect-ratio: 16 / 9; } .r-11 { aspect-ratio: 1; } .r-32 { aspect-ratio: 3 / 2; } .r-219 { aspect-ratio: 21 / 9; }
@media (max-width: 640px) { .r-219 { aspect-ratio: 16 / 10; } }

/* ---------- Two paths (programs + league) ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .duo { grid-template-columns: minmax(0, 1fr); } }
.duo-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--bg-raised); }
.duo-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-sunk); }
.duo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.duo-card:hover .duo-media img { transform: scale(1.03); }
.duo-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 30px 32px 34px; }
.duo-body .eyebrow { margin: 0; }
.duo-body .btn { align-self: flex-start; margin-top: auto; }
.duo-facts { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 6px 0 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.duo-facts dt { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.duo-facts dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- People ---------- */
.person .photo { aspect-ratio: 4 / 5; margin-bottom: 18px; border-radius: var(--radius-md); }
.person h3 { font-size: 22px; }
.person .role { color: var(--ink-2); margin: 4px 0 0; font-size: 15px; }
.person p:not(.role) { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 30px 20px; }
.roster .photo { aspect-ratio: 4 / 5; margin-bottom: 12px; border-radius: var(--radius-sm); }
.roster h3 { font-size: 16px; letter-spacing: -0.01em; }
.roster p { font-size: 14px; color: var(--ink-2); margin: 2px 0 0; }

/* ---------- Recognition ---------- */
.badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.badge { text-align: center; }
.badge .mark { background: #ffffff; border-radius: var(--radius-md); aspect-ratio: 1; display: grid; place-items: center; padding: 22%; margin-bottom: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.badge .mark img { width: 100%; height: auto; }
.badge p { font-size: 13px; color: var(--ink-2); margin: 0 auto; max-width: 17em; }
.badges-quiet { margin-top: clamp(56px, 7vw, 88px); padding-top: 40px; border-top: 1px solid var(--line); }
.badges-quiet .mark { width: 92px; padding: 14px; margin: 0 auto 12px; }

/* ---------- Quotes ---------- */
.quote { margin: 0; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.16; letter-spacing: -0.028em; font-weight: 600; text-wrap: balance; text-indent: -0.42em; }
.quote-by { margin-top: 22px; color: var(--ink-2); }
.quote-band { position: relative; display: flex; align-items: center; overflow: hidden; min-height: clamp(460px, 56vw, 680px); background: #0b1422; color: #ffffff; }
.quote-band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.quote-band-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 12, 20, 0.86) 0%, rgba(6, 12, 20, 0.6) 42%, rgba(6, 12, 20, 0.08) 78%); }
.quote-band-inner { position: relative; width: 100%; padding-block: 72px; }
.quote-band .quote { max-width: 14em; }
.quote-light { color: #ffffff; }
.quote-by-light { color: rgba(255, 255, 255, 0.78); }
@media (max-width: 640px) { .quote-band-scrim { background: linear-gradient(0deg, rgba(6, 12, 20, 0.88) 10%, rgba(6, 12, 20, 0.5) 100%); } .quote-band { align-items: flex-end; } }
.reviews { columns: 2 320px; column-gap: 20px; }
.review { break-inside: avoid; background: var(--bg-alt); border-radius: var(--radius-md); padding: 26px 26px 22px; margin: 0 0 20px; }
.alt .review { background: var(--bg-raised); }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.55; }
.review figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.review figcaption b { color: var(--ink); font-weight: 600; }
details.more-reviews > summary { list-style: none; cursor: pointer; color: var(--link); margin: 8px 0 28px; }
details.more-reviews > summary::-webkit-details-marker { display: none; }
details.more-reviews[open] > summary { display: none; }

/* ---------- Where we teach ---------- */
.where { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 26px 0 30px; }
.where > div { padding: 14px 0; border-top: 1px solid var(--line); }
.where dt { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.where dd { margin: 4px 0 0; font-weight: 500; }

/* ---------- Gift cards, drawn ---------- */
.split-gift { align-items: center; }
.giftcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; perspective: 1200px; }
.giftcard {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1.586; max-width: 100%;
  padding: clamp(14px, 2vw, 22px); border-radius: 16px; color: #ffffff; text-decoration: none; overflow: hidden;
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 52%),
    linear-gradient(155deg, #17406b 0%, #0d2847 58%, #091d35 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 22px 44px -24px rgba(9, 29, 53, 0.7);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.giftcard:nth-child(1) { background: radial-gradient(130% 120% at 100% 0%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 52%), linear-gradient(155deg, #2a5a8c 0%, #1a426e 60%, #12345a 100%); }
.giftcard:nth-child(3) { background: radial-gradient(130% 120% at 100% 0%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 52%), linear-gradient(155deg, #0f2c4e 0%, #0a1f3a 60%, #071628 100%); }
.giftcard:nth-child(4) { background: radial-gradient(130% 120% at 100% 0%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 52%), linear-gradient(155deg, #13171d 0%, #0b0e13 60%, #050608 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 22px 44px -24px rgba(0, 0, 0, 0.8); }
.giftcard:hover { text-decoration: none; transform: translateY(-6px) rotateX(4deg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 30px 54px -24px rgba(9, 29, 53, 0.75); }
.gc-logo { width: clamp(56px, 7vw, 82px); height: auto; opacity: 0.95; }
.gc-amt { font-size: clamp(26px, 3.2vw, 40px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.gc-label { position: absolute; right: clamp(14px, 2vw, 22px); top: clamp(16px, 2.2vw, 24px); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.72; }

/* ---------- Closing call to action: a navy bookend on every page ---------- */
.closer { padding: clamp(80px, 10vw, 136px) 0; background: var(--closer-bg); color: #ffffff; }
.closer .h1 { color: #ffffff; }
.closer .lede { margin-top: 18px; color: rgba(255, 255, 255, 0.74); }
.closer-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.closer-actions { display: grid; gap: 14px; justify-items: start; }
.closer-actions .small { color: rgba(255, 255, 255, 0.7); }
.closer-actions .small a { color: #ffffff; }
.closer .btn { background: #ffffff; color: #0b1422; }
.closer .btn:hover { filter: none; background: #e9eef5; }
.closer + * { margin-top: 0; }
@media (max-width: 820px) { .closer-inner { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pricing cards (leagues, join) ---------- */
.price-card { background: var(--bg-alt); border-radius: var(--radius); padding: 34px 32px 28px; }
.alt .price-card { background: var(--bg-raised); }
.price-card h3, .price-card h2 { font-size: 24px; margin-bottom: 4px; }
.price-list { list-style: none; margin: 24px 0 0; padding: 0; }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.price-list .what { font-weight: 600; }
.price-list .amt { font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.price-list .each { grid-column: 1; font-size: 14px; color: var(--ink-2); }
.price-list .buy { grid-column: 2; text-align: right; font-size: 14px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.tiers > div { background: var(--bg); padding: 22px 20px; }
.alt .tiers > div { background: var(--bg-raised); }
.tiers .amt { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
@media (max-width: 640px) { .tiers { grid-template-columns: 1fr; } }
.pill { display: inline-block; padding: 3px 9px; border-radius: 980px; font-size: 12px; font-weight: 600; letter-spacing: 0; background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--good); }

/* ---------- Facts, steps, checklists ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 20px; border-top: 1px solid var(--line); margin: 0; }
.facts > div { padding: 18px 0; }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 5px 0 0; font-weight: 600; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 10px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

/* ---------- Status ---------- */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.status[data-state="open"], .status[data-state="now"] { color: var(--good); }
.status[data-state="open"]::before, .status[data-state="now"]::before { opacity: 1; }
.status:empty { display: none; }

/* ---------- Programs & schedules ---------- */
.program { padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.program:first-of-type { border-top: 0; }
.program-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 60px; margin-bottom: 34px; }
@media (max-width: 820px) { .program-head { grid-template-columns: minmax(0, 1fr); } }
.program-head h3 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.program-head .tag { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.sched-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
table.sched { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.sched caption { text-align: left; font-weight: 600; font-size: 17px; padding: 0 0 10px; }
.sched th { text-align: left; padding: 8px 16px 8px 0; border-bottom: 1px solid var(--line-strong); white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); }
.sched thead th .sub { display: block; font-weight: 400; letter-spacing: 0; text-transform: none; }
.sched td, .sched tbody th { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.sched tbody th { font-size: 15px; font-weight: 400; letter-spacing: -0.01em; text-transform: none; color: var(--ink); white-space: normal; }
.sched td.id { font-family: var(--mono); font-size: 14px; letter-spacing: 0; }
.sched tr[data-past] td, .sched tr[data-past] th { color: var(--ink-2); }
.sched .st { text-align: right; white-space: nowrap; }
.sched-wrap + .sched-wrap { margin-top: 30px; }
.price-card .sched-wrap { margin: 20px 0 0; padding: 0; }
.price-card table.sched { min-width: 0; }
.note { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 18px 20px; font-size: 15px; }
.alt .note { background: var(--bg-raised); }
.weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.weeks > div { background: var(--bg-raised); padding: 22px 20px; }
.weeks .wk { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.weeks h3, .weeks h4 { font-size: 21px; margin: 6px 0; }
.weeks p { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) { .weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- In-page navigation ---------- */
.subnav { position: sticky; top: var(--nav-h); z-index: 40; background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.subnav ul { position: relative; display: flex; gap: 28px; list-style: none; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 14px 0; font-size: 13px; color: var(--ink); white-space: nowrap; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg-sunk); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- Recruits ---------- */
.recruit .photo { aspect-ratio: 1; margin-bottom: 14px; border-radius: var(--radius-sm); }
.recruit h3 { font-size: 18px; }
.recruit p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.recruit .links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 30px; width: 9px; height: 9px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq .answer { padding: 0 0 24px; }
.faq .answer p { color: var(--ink-2); }

/* ---------- Forms ---------- */
.embed { overflow: hidden; border-radius: var(--radius); background: var(--bg-raised); border: 1px solid var(--line); }
.embed iframe { display: block; width: 100%; min-height: 760px; border: 0; background: var(--bg-raised); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; }
.field input, .field select { min-height: 48px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 25%, transparent); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 15%, transparent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -5000px; }
.form-status { margin: 4px 0 0; min-height: 1.4em; color: var(--ink-2); }
.error, .form-status.error { color: var(--danger); }
.form-done:focus { outline: none; }
.contact-form, .reserve { display: grid; gap: 14px; padding: 30px; border-radius: var(--radius); background: var(--bg-raised); }
.reserve { display: block; margin-top: 40px; }
.reserve-grid { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr 0.6fr; gap: 14px; }
@media (max-width: 860px) { .reserve-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .reserve-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list li > span:first-child { color: var(--ink-2); font-size: 15px; }
@media (max-width: 560px) { .contact-list li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Segmented controls ---------- */
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; max-width: 100%; padding: 3px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 9px 18px; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background 0.2s, color 0.2s; }
.seg input:checked + span { background: var(--bg-raised); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.alt .seg input:checked + span, .co-step .seg input:checked + span { background: var(--bg); }
.seg input:focus-visible + span { outline: 3px solid var(--link); outline-offset: 1px; }
.seg-sm span { padding: 7px 14px; font-size: 14px; }
.seg-dark { background: rgba(255, 255, 255, 0.08); }
.seg-dark span { color: var(--ch-ink-2); }
.seg-dark input:checked + span { background: var(--ch-ink); color: var(--ch-bg); box-shadow: none; }

/* ---------- Booking ---------- */
.booker-controls { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: end; margin-bottom: 20px; }
.voucher-field { min-width: 0; flex: 0 1 340px; }
.voucher-field input { text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Checkout ---------- */
.checkout { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 96px); }
.checkout .eyebrow a { color: inherit; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; margin-top: 32px; }
@media (max-width: 920px) { .co-grid { grid-template-columns: minmax(0, 1fr); } }
.co-step { min-width: 0; margin: 0 0 20px; padding: 28px; border: 0; border-radius: var(--radius); background: var(--bg-alt); }
.co-step legend { float: left; width: 100%; padding: 0; margin-bottom: 18px; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.co-step legend + * { clear: both; }
.co-step .field + .field, .co-step .form-row + .field, .co-step .field + .form-row { margin-top: 14px; }
.co-step .form-row > .field + .field { margin-top: 0; }
.co-gift summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--link); }
.co-gift summary::-webkit-details-marker { display: none; }
.gift-apply { display: flex; gap: 12px; align-items: end; margin-top: 16px; }
.gift-apply .field { flex: 1; }
.co-summary { position: sticky; top: calc(var(--nav-h) + 24px); padding: 28px; border-radius: var(--radius); background: var(--bg-alt); }
@media (max-width: 920px) { .co-summary { position: static; } }
.sum { margin: 18px 0 22px; }
.sum > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.sum dt, .sum dd { margin: 0; }
.sum dd { text-align: right; white-space: nowrap; }
.sum .sum-total { font-size: 21px; font-weight: 600; }
.pay { min-height: 56px; }
.assure { list-style: none; padding: 0; margin: 18px 0 0; color: var(--ink-2); }
.assure li { position: relative; padding: 6px 0 6px 24px; }
.assure li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 9px; height: 5px; border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg); }
form.is-busy { opacity: 0.7; pointer-events: none; }
.choices { display: grid; gap: 10px; margin-top: 16px; }
.choices-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) { .choices-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--bg); border: 1.5px solid var(--line); cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.choice input { position: absolute; opacity: 0; }
.choice:hover { border-color: var(--line-strong); }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.choice:has(input:focus-visible) { outline: 3px solid var(--link); outline-offset: 2px; }
.choice-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.choice-price { display: grid; text-align: right; }
.choice-price small { font-size: 13px; color: var(--ink-2); }
.choice-tile { justify-content: center; padding: 20px 10px; font-size: 19px; }

/* ---------- Order confirmation ---------- */
.code-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; margin-top: 32px; padding: 24px 28px; border-radius: var(--radius); background: var(--bg-alt); }
.code-card p { margin: 0; }
.code-card .code { grid-column: 1; font-family: var(--mono); font-size: clamp(24px, 4vw, 34px); font-weight: 600; letter-spacing: 0.08em; color: var(--navy); word-break: break-all; }
.code-card button { grid-column: 2; grid-row: 1 / span 2; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 30px; background: var(--bg); color: var(--ink-2); font-size: 13px; line-height: 1.5; letter-spacing: -0.006em; border-top: 1px solid var(--line); }
.footer a { color: var(--ink); opacity: 0.82; }
.footer a:hover { opacity: 1; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; padding-bottom: 32px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.footer-brand { color: var(--navy); }
.footer-brand svg { height: 54px; width: auto; display: block; }
.footer-top p { margin: 0; max-width: 32em; font-size: 14px; text-align: right; }
@media (max-width: 640px) { .footer-top p { text-align: left; } }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-bottom: 28px; }
.footer h2 { margin-bottom: 10px; font-size: 13px; font-weight: 600; letter-spacing: -0.006em; color: var(--ink); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Sticky mobile CTA ---------- */
.cta-bar { display: none; }
@media (max-width: 760px) {
  .cta-bar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 18px;
    background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); box-shadow: 0 10px 34px rgba(0, 0, 0, 0.16);
    transition: transform 0.3s var(--ease), opacity 0.3s;
  }
  .cta-bar div { display: grid; font-size: 13px; line-height: 1.3; }
  .cta-bar span { color: var(--ink-2); }
  .cta-bar[data-hide] { transform: translateY(140%); opacity: 0; }
  body:not(.bare) .footer { padding-bottom: 104px; }
}

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