/* Theme tokens (duke -> forest-dawn -> base) */
:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(1, 19, 63, 0.35);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --focus-ring: var(--c-primary);
  --focus-halo: #ffffff;
  --c-primary: #012169;
  --c-primary-deep: #00133f;
  --c-action: #00539b;
  --c-action-soft: #3a7bc8;
  --c-ink: #0d1b2e;
  --c-ink-2: #44506a;
  --c-surface: #f6f3ec;
  --c-surface-alt: #e9e3d6;
  --c-line: rgba(13, 27, 46, 0.12);
  --c-fairway: #4f8f52;
  --c-pine: #1d3b2d;
  --c-accent: #e9b45a;
  --c-accent-soft: #f3d79b;
  --c-white: #ffffff;
}

/* base/assets/base.css */
/* Base theme: structure and default look for every section, driven by tokens. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; scroll-padding-bottom: 24px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-action);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; }
h2 em, h1 em { font-style: italic; font-weight: 300; }
p { line-height: 1.65; }
.lede { font-size: clamp(16px, 1.3vw, 19px); color: var(--c-ink-2); max-width: 56ch; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--c-white); color: var(--c-primary); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-blue { background: var(--c-action); color: var(--c-white); }
.btn-blue:hover { background: var(--c-primary); transform: translateY(-2px); }
.btn-ghost { background: var(--c-primary-deep); color: var(--c-white); border: 1.5px solid var(--c-white); }
.btn-ghost:hover { background: var(--c-primary); }
.btn-outline { background: transparent; color: var(--c-primary); border: 1.5px solid var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: var(--c-white); }

/* ---------- Progress + nav ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--c-accent), #f5d48e); }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: 22px 0;
  color: var(--c-white);
}
.nav.scrolled { background: var(--c-primary-deep); padding: 12px 0; box-shadow: 0 8px 30px -12px rgba(0,0,0,.4); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.7);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 20px; font-style: italic;
}
.brand-text { line-height: 1.1; }
.brand-text strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }
.brand-text small { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .92; }
.nav-links { display: flex; gap: 30px; font-size: 14.5px; font-weight: 600; }
.nav-links a { position: relative; display: inline-block; padding: 5px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 100%; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 20px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(680px, 100svh); color: var(--c-white); overflow: hidden; background: var(--c-primary-deep); isolation: isolate; }
.hero-scene { position: absolute; inset: 0; z-index: -2; }
.layer { will-change: transform; }
.hero-scene .layer { position: absolute; inset: -6% -1%; }
.hero-photo {
  position: absolute; inset: 0;
  background-position: var(--hero-focal, 50% 62%); background-size: cover; background-repeat: no-repeat;
  transform-origin: 55% 62%;
  animation: heroDrift 38s ease-in-out infinite alternate;
}
@keyframes heroDrift { from { transform: scale(1); } to { transform: scale(1.07) translate(-1%, -0.6%); } }
.hero-inner {
  min-height: max(680px, 100svh);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 48px; align-items: end;
  padding-top: 140px; padding-bottom: 72px;
}
.hero .eyebrow { color: var(--c-accent-soft); }
.hero h1 { font-size: clamp(38px, 6.4vw, 92px); line-height: .98; margin: 22px 0 24px; overflow-wrap: anywhere; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1.revealed .line { overflow: visible; }
.hero h1 .line span { display: inline-block; transform: translateY(105%); animation: rise 1.1s cubic-bezier(.2,.8,.2,1) forwards; }
.hero h1 .line:nth-child(2) span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero-copy p { font-size: clamp(16px, 1.35vw, 19px); max-width: 48ch; color: rgba(255,255,255,.92); margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp .9s .5s cubic-bezier(.2,.8,.2,1) forwards; }
.fade-up.d2 { animation-delay: .7s; }
.fade-up.d3 { animation-delay: .9s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.scroll-cue { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 12px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; border-radius: 2px; background: var(--c-white); transform: translateX(-50%); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- Status strip ---------- */
.status { background: var(--c-primary-deep); color: var(--c-white); border-top: 1px solid rgba(255,255,255,.08); }
.status .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.status-item { padding: 22px 20px; display: flex; gap: 14px; align-items: center; border-left: 1px solid rgba(255,255,255,.08); }
.status-item:first-child { border-left: 0; padding-left: 0; }
.status-item svg { width: 22px; height: 22px; flex: none; color: var(--c-accent-soft); }
.status-item small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.status-item strong { font-size: 15px; font-weight: 600; }
.status-item strong a, .info-row strong a { display: inline-block; padding: 3px 0; text-decoration: underline; text-underline-offset: 3px; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5ad17a; margin-right: 8px; box-shadow: 0 0 0 0 rgba(90,209,122,.7); animation: pulse 2s infinite; vertical-align: middle; }
.pulse.closed { background: #e2856e; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(90,209,122,0); } 100% { box-shadow: 0 0 0 0 rgba(90,209,122,0); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); margin-top: 64px; }
.stat { padding: 34px 20px; border-left: 1px solid var(--c-line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: var(--font-display); font-size: clamp(40px, 4.6vw, 64px); line-height: 1; color: var(--c-primary); font-weight: 400; letter-spacing: -0.03em; }
.stat .num sup { font-size: .4em; vertical-align: top; margin-left: 2px; color: var(--c-action); }
.stat p { margin: 10px 0 0; font-size: 13.5px; color: var(--c-ink-2); line-height: 1.45; }

/* Course */
.course-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.course-grid h2 { margin: 20px 0 22px; }
.tee-range { margin: 34px 0 30px; }
.tee-range .bar { position: relative; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #6aa86a, var(--c-action), var(--c-primary)); margin: 18px 0 10px; }
.tee-range .bar i { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--c-white); border: 3px solid var(--c-primary); transform: translate(-50%, -50%); }
.tee-range .ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--c-ink-2); }
.tee-range .ends strong { display: block; font-family: var(--font-display); font-size: 24px; color: var(--c-ink); font-weight: 500; }

/* Timeline */
.history { background: var(--c-surface-alt); overflow: hidden; }
.history-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 70px; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 1.5px; background: rgba(1,33,105,.18); }
.timeline .fill { position: absolute; top: 9px; left: 0; height: 1.5px; width: 0; background: var(--c-primary); transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.timeline.in .fill { width: 100%; }
.tl { position: relative; padding-top: 44px; }
.tl::before { content: ""; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--c-surface-alt); border: 2px solid var(--c-primary); }
.tl.now::before { background: var(--c-primary); box-shadow: 0 0 0 6px rgba(1,33,105,.15); }
.tl .yr { font-family: var(--font-display); font-size: clamp(36px, 3.6vw, 52px); color: var(--c-primary); line-height: 1; letter-spacing: -0.03em; }
.tl h3 { font-family: var(--font-body); font-size: 16px; font-weight: 700; margin: 14px 0 8px; letter-spacing: 0; }
.tl p { margin: 0; color: var(--c-ink-2); font-size: 14.5px; }

/* Experiences bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 230px; gap: 18px; margin-top: 56px; }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden; color: var(--c-white); padding: 26px;
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile .art { position: absolute; inset: 0; z-index: -1; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.tile:hover .art { transform: scale(1.06); }
.tile .art svg { width: 100%; height: 100%; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,12,40,.9) 0%, rgba(0,12,40,.72) 48%, rgba(0,12,40,.12) 88%); }
.tile .kicker { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.tile h3 { font-size: clamp(24px, 2.2vw, 32px); margin: 8px 0 6px; }
.tile p { margin: 0; font-size: 14.5px; opacity: .88; max-width: 42ch; line-height: 1.5; }
.tile .go { position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); transition: background .3s, transform .3s; }
.tile .go svg { width: 18px; height: 18px; }
.tile:hover .go { background: var(--c-white); color: var(--c-primary); transform: rotate(-45deg); }
.t-a { grid-column: span 7; grid-row: span 2; }
.t-b { grid-column: span 5; }
.t-c { grid-column: span 5; }
.t-d { grid-column: span 4; }
.t-e { grid-column: span 4; }
.t-f { grid-column: span 4; }

/* Practice */
.practice { background: var(--c-primary-deep); color: var(--c-white); overflow: hidden; }
.practice .eyebrow { color: var(--c-accent-soft); }
.practice-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.practice h2 { margin: 20px 0 22px; }
.practice .lede { color: rgba(255,255,255,.75); }
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 34px 0; }
.hours div { border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 18px 20px; transition: border-color .3s, background .3s; }
.hours div.active { border-color: var(--c-accent-soft); background: rgba(243,215,155,.07); }
.hours small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .65; display: block; margin-bottom: 6px; }
.hours strong { font-family: var(--font-display); font-size: 24px; font-weight: 400; }
.price-list { border-top: 1px solid rgba(255,255,255,.14); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); gap: 20px; }
.price-row span { font-size: 16px; }
.price-row span small { display: block; opacity: .6; font-size: 13px; margin-top: 2px; }
.price-row strong { font-family: var(--font-display); font-size: 32px; font-weight: 400; color: var(--c-accent-soft); }

/* Marquee + events */
.marquee { overflow: hidden; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); padding: 26px 0; background: var(--c-surface); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(30px, 4vw, 54px); font-style: italic; font-weight: 300; color: var(--c-primary); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c-accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
.events { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.events h2 { margin: 20px 0 22px; }
.event-types { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.etype { background: var(--c-white); border: 1px solid var(--c-line); border-radius: 18px; padding: 24px; transition: transform .35s, box-shadow .35s, border-color .35s; }
.etype:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.etype .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,83,155,.08); color: var(--c-action); margin-bottom: 18px; }
.etype .ic svg { width: 22px; height: 22px; }
.etype h3 { font-family: var(--font-body); font-size: 17px; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.etype p { margin: 0; font-size: 14px; color: var(--c-ink-2); line-height: 1.55; }

/* Visit */
.visit { background: var(--c-surface-alt); }
.visit-card { display: grid; grid-template-columns: 1fr 1.2fr; background: var(--c-white); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.visit-info { padding: clamp(32px, 4vw, 56px); }
.visit-info h2 { margin: 18px 0 28px; font-size: clamp(32px, 3.6vw, 48px); }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--c-line); }
.info-row svg { width: 22px; height: 22px; color: var(--c-action); flex: none; margin-top: 2px; }
.info-row small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink-2); margin-bottom: 4px; }
.info-row strong { font-weight: 600; font-size: 16px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.map { position: relative; background: var(--c-surface-alt); min-height: 420px; }

/* CTA + footer */
.cta { position: relative; overflow: hidden; background: var(--c-action); color: var(--c-white); text-align: center; }
.cta h2 { font-size: clamp(40px, 6.4vw, 92px); margin: 18px auto 26px; max-width: 14ch; }
.cta .eyebrow { color: var(--c-accent-soft); }
.cta .eyebrow::before { display: none; }
.cta p { color: rgba(255,255,255,.82); max-width: 50ch; margin: 0 auto 36px; }
footer { background: var(--c-primary-deep); color: rgba(255,255,255,.75); padding: 80px 0 36px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
footer h2 { color: var(--c-white); font-family: var(--font-body); font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 18px; }
footer ul a { display: inline-block; padding: 3px 0; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a:hover { color: var(--c-white); }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 60px; padding-top: 28px; font-size: 13px; }

/* ---------- Form section ---------- */
.form-section { background: var(--c-surface-alt); }
.form-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.form-section h2 { margin: 18px 0 22px; font-size: clamp(32px, 3.6vw, 48px); }
.form-card { background: var(--c-white); border-radius: 24px; padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--shadow); }
.steps { list-style: none; counter-reset: s; margin: 30px 0; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; font-size: 15.5px; }
.steps li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--c-primary); color: var(--c-white); font-weight: 700; font-size: 13px; transform: translateY(-2px); }
.rich-text { max-width: 72ch; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }

/* ---------- Fallbacks for illustration hooks (templates replace these) ---------- */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.2) 100%); }
.facts-card { border-radius: var(--radius); background: var(--c-primary-deep); color: var(--c-white); padding: clamp(28px, 4vw, 48px); display: grid; gap: 22px; }
.facts-card div { border-top: 1px solid rgba(255,255,255,.2); padding-top: 14px; }
.facts-card small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.facts-card strong { font-family: var(--font-display); font-size: 34px; font-weight: 400; }
.hours-card { border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); padding: 28px; font-size: 15px; }
.map-fallback { display: grid; place-items: center; padding: 40px; }
.map-fallback .bubble { background: var(--c-primary); color: var(--c-white); padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; }
.tile-plain { position: absolute; inset: 0; z-index: -1; background: var(--c-primary); }
.tile-photo { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; }

/* base/assets/coaching.css */
/* Base theme: coaching sections (ways to learn, coach cards, lesson packs) and the FAQ. */

/* ---------- Ways to learn ---------- */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.way { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s; }
.way:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.way .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(0,83,155,.09); color: var(--c-action); margin-bottom: 22px; }
.way .ic svg { width: 24px; height: 24px; }
.way h3 { font-size: 28px; margin-bottom: 10px; }
.way p { margin: 0 0 18px; color: var(--c-ink-2); font-size: 15px; }
.way .meta { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--c-line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; color: var(--c-ink-2); font-weight: 600; }
.way .meta a { color: var(--c-action); display: inline-flex; align-items: center; gap: 6px; min-height: 28px; text-decoration: underline; text-underline-offset: 3px; }
.way .meta a svg { width: 16px; height: 16px; }

/* ---------- Coaches ---------- */
.coaches-sec { background: var(--c-surface-alt); }
.coaches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.coach { background: var(--c-white); border-radius: var(--radius); padding: 28px 24px 24px; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(13,27,46,.04); transition: transform .35s, box-shadow .35s; }
.coach:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.avatar { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--c-primary); color: var(--c-accent-soft); font-family: var(--font-display); font-style: italic; font-size: 28px; margin-bottom: 20px; box-shadow: 0 0 0 6px #e3e9f5; object-fit: cover; }
.coach h3 { font-size: 26px; line-height: 1.15; }
.coach .role { margin: 6px 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-action); }
.coach p { margin: 0 0 18px; font-size: 14.5px; color: var(--c-ink-2); line-height: 1.55; }
.chips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 12.5px; font-weight: 700; color: var(--c-primary); border: 1px solid #b7c4de; background: #f2f5fb; border-radius: 999px; padding: 4px 10px; }
.coach .price { margin-top: auto; display: flex; align-items: baseline; gap: 6px; font-size: 13.5px; color: var(--c-ink-2); margin-bottom: 14px; }
.coach .price strong { font-family: var(--font-display); font-size: 28px; font-weight: 400; color: var(--c-ink); }
.coach .btn { justify-content: center; padding: 13px 18px; font-size: 14.5px; }

/* ---------- Lesson packs ---------- */
.packs-solo h2, .faq-solo h2 { margin: 18px 0 28px; font-size: clamp(32px, 3.6vw, 48px); }
.packs-solo .packs-table, .faq-solo details { max-width: 760px; }
.packs-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--c-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 15px; }
.packs-table caption { caption-side: top; text-align: left; padding: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--c-ink-2); }
.packs-table th, .packs-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--c-line); }
.packs-table thead th { background: var(--c-primary-deep); color: var(--c-white); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.packs-table tbody th { font-weight: 600; }
.packs-table tbody th small { display: block; font-weight: 500; color: var(--c-ink-2); font-size: 13px; margin-top: 2px; }
.packs-table td { font-family: var(--font-display); font-size: 21px; white-space: nowrap; }
.packs-table tbody tr:last-child th, .packs-table tbody tr:last-child td { border-bottom: 0; }
.packs-note { font-size: 13.5px; color: var(--c-ink-2); margin: 16px 0 0; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--c-line); }
.faq details:first-of-type { border-top: 1px solid var(--c-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; font-size: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--c-primary); color: var(--c-primary); transition: transform .3s, background .3s, color .3s; }
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--c-primary); color: var(--c-white); }
.faq details p { margin: -6px 4px 22px; color: var(--c-ink-2); max-width: 60ch; }

@media (max-width: 1180px) {
  .coaches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .ways { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .coaches { grid-template-columns: minmax(0, 1fr); }
  .packs-table th, .packs-table td { padding: 13px 10px; }
  .packs-table td { font-size: 18px; }
  .packs-table thead th { font-size: 11px; letter-spacing: .08em; }
}

/* base/assets/events.css */
/* Events, tournaments and leagues: featured event, the filterable month list and league cards.
   Status is always written out; colour only reinforces it. */
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* Featured event */
.featured-sec { padding: clamp(56px, 7vw, 96px) 0 0; }
.featured { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); background: var(--c-primary-deep); color: var(--c-white); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); --focus-ring: var(--c-accent-soft); --focus-halo: var(--c-primary-deep); }
.featured-body { padding: clamp(28px, 4vw, 56px); }
.featured-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.featured .eyebrow { color: var(--c-accent-soft); }
.featured h2 { font-size: clamp(32px, 3.8vw, 52px); margin: 18px 0 14px; }
.featured-desc { color: rgba(255,255,255,.9); max-width: 54ch; margin: 0 0 26px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 26px; border-top: 1px solid rgba(255,255,255,.18); }
.facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.facts dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-soft); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.45; }
.meter { margin: 0 0 28px; }
.meter-label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.meter-bar { height: 8px; border-radius: 4px; background: #2a4479; overflow: hidden; }
.meter-bar span { display: block; height: 100%; border-radius: 4px; background: var(--c-accent-soft); }
.featured-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.featured-actions .btn { justify-content: center; }
.featured-art { position: relative; min-height: 320px; background: var(--c-pine); }
.featured-art svg, .featured-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.featured-photo { background-size: cover; background-position: center; }

/* Event list */
.list-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; }
.list-head h2 { margin-top: 18px; }
.list-title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.list-head-lede { margin: 0; max-width: 42ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.filters button {
  display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--c-primary); background: var(--c-white); color: var(--c-primary); font-weight: 700; font-size: 14px;
  transition: background .2s, color .2s;
}
.filters button svg { width: 15px; height: 15px; display: none; }
.filters button:hover { background: #e6ecf6; }
.filters button[aria-pressed="true"] { background: var(--c-primary); color: var(--c-white); }
.filters button[aria-pressed="true"] svg { display: block; }
.list-status { margin: 22px 0 0; font-size: 15px; font-weight: 600; color: var(--c-ink-2); }
.month h2 { font-size: clamp(26px, 2.6vw, 34px); padding: 52px 0 14px; border-bottom: 1.5px solid var(--c-primary); }
.ev { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--c-line); }
.ev-date { text-align: center; border: 1.5px solid var(--c-primary); border-radius: 16px; padding: 10px 6px 12px; background: var(--c-white); color: var(--c-primary); }
.ev-date span { display: block; }
.ev-date .wd, .ev-date .mo { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ev-date .dn { font-family: var(--font-display); font-size: 36px; line-height: 1.05; }
.ev-cat { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-action); }
.ev-cat svg { width: 15px; height: 15px; }
.ev h3 { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.15; margin: 8px 0 8px; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; font-weight: 600; color: var(--c-ink); margin: 0 0 6px; padding: 0; list-style: none; }
.ev-meta li { display: inline-flex; align-items: center; gap: 7px; }
.ev-meta svg { width: 16px; height: 16px; color: var(--c-action); flex: none; }
.ev-line { margin: 0; font-size: 14.5px; color: var(--c-ink-2); }
.ev-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ev-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.capacity { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.capacity svg { width: 15px; height: 15px; flex: none; }
.capacity-open { background: #dfeee1; color: #1d5226; }
.capacity-low { background: #fbebcd; color: #6e4300; }
.capacity-wait { background: #fde4dd; color: #872a13; }
.capacity-full { background: #e6e6e6; color: #2f2f2f; }
.capacity-live { background: var(--c-primary); color: var(--c-white); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee29a; box-shadow: 0 0 0 0 rgba(126,226,154,.7); animation: livePulse 2s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 8px rgba(126,226,154,0); } 100% { box-shadow: 0 0 0 0 rgba(126,226,154,0); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 4px; font-weight: 700; font-size: 14px; color: var(--c-primary); text-decoration: underline; text-underline-offset: 4px; }
.link-arrow svg { width: 16px; height: 16px; }
.empty-note { padding: 40px 0; font-size: 16px; color: var(--c-ink-2); }

/* Leagues */
.leagues { background: var(--c-surface-alt); }
.league-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 46px; }
.league { background: var(--c-white); border-radius: 22px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--c-line); display: flex; flex-direction: column; }
.league .ev-cat { margin-bottom: 10px; }
.league h3 { font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 18px; }
.league dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 0 0 26px; font-size: 15px; }
.league dt { font-weight: 700; color: var(--c-ink-2); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding-top: 2px; }
.league dd { margin: 0; font-weight: 600; }
.league .btn { align-self: flex-start; margin-top: auto; }
.leagues-note { margin: 26px 0 0; font-size: 14.5px; color: var(--c-ink-2); }

/* Form section extras: a plain background, tick-list points, a phone line and a card heading */
.form-section-plain { background: none; }
.checks { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks svg { width: 22px; height: 22px; color: var(--c-fairway); flex: none; margin-top: 1px; }
.contact-line { font-size: 15px; color: var(--c-ink-2); }
.contact-line a { display: inline-block; padding: 3px 0; color: var(--c-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-card-title { font-size: 28px; margin-bottom: 6px; }

@media (max-width: 1080px) {
  .featured { grid-template-columns: minmax(0, 1fr); }
  .featured-art { min-height: 220px; order: -1; }
}
@media (max-width: 760px) {
  .ev { grid-template-columns: 72px minmax(0, 1fr); gap: 14px 18px; align-items: start; }
  .ev-date .dn { font-size: 30px; }
  .ev-side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .ev-actions { justify-content: flex-start; }
  .league-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .featured-actions .btn { flex: 1 1 auto; }
}
html.motion-paused .filters button { transition: none; }

/* base/assets/inside-pages.css */
/* Base theme: pieces every inside page shares (page hero, breadcrumb, section heads, the
   side-by-side row, sample tags, form notes) and the current page in the menus. */

/* ---------- Menus: six items and the current page ---------- */
.nav-links { gap: 26px; font-size: 14px; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-menu a[aria-current="page"] { color: var(--c-accent-soft); }

/* ---------- Page hero ---------- */
.hero.page-hero { min-height: max(480px, 56svh); display: flex; align-items: flex-end; }
.page-hero .hero-scene { overflow: hidden; }
/* A page hero may set its own focal point (content.focal); otherwise the shorter crop centres a little higher */
.page-hero .hero-photo { inset: -4%; background-position: var(--hero-focal, 50% 58%); transform-origin: 55% 60%; }
.page-hero > .wrap { width: 100%; padding-top: 150px; padding-bottom: 92px; }
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.crumbs a { display: inline-flex; align-items: center; min-height: 28px; color: var(--c-accent-soft); text-decoration: underline; text-underline-offset: 4px; }
.crumbs [aria-current="page"] { color: var(--c-white); }
.crumbs .sep { color: rgba(255,255,255,.75); }
.hero.page-hero h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1; margin: 0 0 22px; max-width: 14ch; }
.page-hero p { font-size: clamp(16px, 1.35vw, 19px); max-width: 50ch; color: rgba(255,255,255,.94); margin: 0 0 32px; line-height: 1.6; }
.page-hero .fade-up { animation-delay: .25s; }
.page-hero .fade-up.d2 { animation-delay: .4s; }
.page-hero .fade-up.d3 { animation-delay: .55s; }

/* ---------- Section head, sample tag, paired row ---------- */
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 52px; }
.head h2 { margin-top: 18px; }
.head .lede { margin: 0; max-width: 46ch; }
.tag-sample { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-primary); background: #e3e9f5; border: 1px solid #b7c4de; border-radius: 999px; padding: 4px 10px; vertical-align: middle; }
.duo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.duo h2 { margin: 18px 0 28px; font-size: clamp(32px, 3.6vw, 48px); }
.form-note { border: 1.5px dashed #8a93a8; border-radius: 16px; padding: 18px 20px; font-size: 14px; color: var(--c-ink-2); background: rgba(255,255,255,.55); }
.form-note strong { display: block; color: var(--c-ink); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }

@media (max-width: 1080px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .page-hero > .wrap { padding-top: 124px; padding-bottom: 84px; }
}

/* base/assets/responsive.css */
/* Base theme: layout changes for tablets and phones, and reduced motion. */
/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: 56px; align-content: end; }
  .scroll-cue { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--c-line); }
  .course-grid, .practice-grid, .events { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .timeline::before, .timeline .fill { display: none; }
  .bento { grid-auto-rows: 210px; }
  .t-a { grid-column: span 12; }
  .t-b, .t-c { grid-column: span 6; }
  .t-d, .t-e, .t-f { grid-column: span 6; }
  .t-f { grid-column: span 12; }
  .visit-card { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: minmax(0, 1fr); }
  .map { min-height: 320px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .status .wrap { grid-template-columns: 1fr 1fr; }
  .status-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .status-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 640px) {
  .nav-cta .btn { display: none; }
  .brand-text small { display: none; }
  .hero-inner { padding-top: 120px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 0; border-left: 0 !important; }
  .stat:nth-child(odd) { padding-right: 16px; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--c-line) !important; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--c-line); }
  .stat:last-child { grid-column: span 2; padding-left: 0; border-left: 0 !important; }
  .timeline { grid-template-columns: 1fr; }
  .bento { grid-auto-rows: 220px; }
  .t-a, .t-b, .t-c, .t-d, .t-e, .t-f { grid-column: span 12; }
  .t-a { grid-row: span 2; }
  .hours { grid-template-columns: 1fr; }
  .event-types { grid-template-columns: 1fr; }
  .status .wrap { grid-template-columns: 1fr; }
  .status-item { border-left: 0 !important; padding-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .status-item:first-child { border-top: 0; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* base/platform/platform.css */
/* Platform parts: menus, skip link, motion control, tee-time finder, forms, toast, focus.
 Maintained by ITG. Themes restyle these only through tokens and classes. */
.menu-btn { display: none; background: none; border: 0; color: inherit; padding: 6px; }
.menu-btn svg { width: 28px; height: 28px; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--c-primary-deep); color: var(--c-white);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 32px;
  transform: translateY(-100%); visibility: hidden;
  transition: transform .5s cubic-bezier(.7,0,.2,1), visibility 0s linear .5s;
}
.mobile-menu.open { transform: none; visibility: visible; transition: transform .5s cubic-bezier(.7,0,.2,1); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a { font-family: var(--font-display); font-size: 40px; padding: 6px 0; }
.mobile-menu .close { position: absolute; top: 20px; right: 20px; background: none; border: 0; color: inherit; }
.mobile-menu .close svg { width: 30px; height: 30px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Solid panel: its contrast never depends on the scene or photo behind it */
.finder {
  --chip: #0d2c66; --chip-hover: #163a7d; --chip-line: #5470a3;
  background: var(--c-primary-deep);
  border: 1px solid #2a4479;
  border-radius: 24px; padding: 26px; color: var(--c-white);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
}
.finder-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.finder-head h2 { font-size: 26px; line-height: 1.15; }
.tag { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--chip); color: var(--c-white); white-space: nowrap; }
.finder .lbl { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin: 16px 0 8px; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.day, .seg button {
  background: var(--chip); border: 1px solid var(--chip-line); color: var(--c-white);
  border-radius: 12px; padding: 9px 4px; text-align: center; transition: background .2s, border-color .2s, color .2s;
}
.day small { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.day[aria-pressed="true"] small { opacity: 1; }
.day strong { font-family: var(--font-display); font-size: 21px; font-weight: 500; }
.day:hover, .seg button:hover { background: var(--chip-hover); }
.day[aria-pressed="true"], .seg button[aria-pressed="true"] { background: var(--c-white); color: var(--c-primary); border-color: var(--c-white); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.seg button { padding: 10px 4px; font-weight: 700; font-size: 14px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 18px; min-height: 106px; align-content: start; }
.slot {
  background: var(--chip); border: 1px solid var(--chip-line); border-radius: 12px; color: var(--c-white);
  padding: 9px 6px; text-align: center; opacity: 0; transform: translateY(6px); animation: fadeUp .4s forwards;
  transition: border-color .2s, background .2s;
}
.slot:hover { border-color: var(--c-accent); background: var(--chip-hover); }
.slot strong { display: block; font-size: 15px; }
.slot .dots { display: flex; justify-content: center; gap: 3px; margin-top: 5px; }
.slot .dots i { width: 6px; height: 6px; border-radius: 50%; background: #6a7fa8; }
.slot .dots i.on { background: #9fe0a0; }
.slots .empty { grid-column: 1 / -1; font-size: 14px; opacity: .9; padding: 18px 0; text-align: center; }
.finder-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 12px; }
.finder-foot small { font-size: 12.5px; opacity: .88; }
.finder-foot .btn { padding: 12px 18px; font-size: 14px; }

.news-label { display: block; color: var(--c-white); font-weight: 600; margin: 0 0 8px; }
.news { display: flex; margin-top: 4px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 5px; }
.news input { flex: 1; min-width: 0; background: none; border: 0; color: var(--c-white); padding: 0 14px; font: inherit; }
.news input::placeholder { color: rgba(255,255,255,.72); }
.news button { border: 0; background: var(--c-white); color: var(--c-primary); border-radius: 999px; padding: 10px 18px; font-weight: 700; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%); z-index: 70;
  background: var(--c-ink); color: var(--c-white); padding: 14px 20px; border-radius: 14px; font-size: 14.5px;
  box-shadow: var(--shadow); transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s, visibility .3s; max-width: calc(100% - 32px);
  opacity: 0; visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- Accessibility ---------- */
/* The skip link appears as a bar above the header and pushes the header down, covering nothing */
.skip-link {
  position: fixed; left: 0; right: 0; top: 0; z-index: 100; height: 52px; transform: translateY(-100%);
  display: flex; align-items: center; justify-content: center;
  background: var(--c-white); color: var(--c-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
.skip-link:focus { transform: none; }
body:has(.skip-link:focus) .nav { top: 52px; }
main:focus { outline: none; }
.motion-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 14px 6px 10px;
  border-radius: 999px; font: 600 13px var(--font-body); color: var(--c-white);
  background: var(--c-primary-deep); border: 1.5px solid var(--c-white);
}
.motion-toggle svg { width: 16px; height: 16px; flex: none; }
.motion-toggle .i-play { display: none; }
.motion-toggle[aria-pressed="true"] { background: var(--c-white); color: var(--c-primary); border-color: var(--c-white); }
.motion-toggle[aria-pressed="true"] .i-pause { display: none; }
.motion-toggle[aria-pressed="true"] .i-play { display: block; }
.hero .motion-toggle { position: absolute; z-index: 2; bottom: 18px; left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
/* Paused: ambient loops stop, entrance effects jump to their end state */
html.motion-paused *, html.motion-paused *::before, html.motion-paused *::after { animation-play-state: paused !important; }
html.motion-paused .fade-up, html.motion-paused .slot, html.motion-paused .hero h1 .line span,
html.intro-done .fade-up, html.intro-done .hero h1 .line span { animation: none; opacity: 1; transform: none; }
html.motion-paused .reveal { opacity: 1; transform: none; transition: none; }
html.motion-paused .tile, html.motion-paused .tile .art, html.motion-paused .etype, html.motion-paused .btn { transition: none; }
/* Focus: a navy ring with a white halo, gold with a navy halo on dark sections */
.nav, .mobile-menu, .hero, .status, .practice, .cta, footer, .tile { --focus-ring: var(--c-accent-soft); --focus-halo: var(--c-primary-deep); }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; box-shadow: 0 0 0 7px var(--focus-halo); }
.tile:focus-visible { outline-offset: -6px; box-shadow: inset 0 0 0 9px var(--focus-halo); }


/* ---------- Forms ---------- */
.req-note { margin: 0 0 22px; font-size: 14px; color: var(--c-ink-2); }
.req { color: #a3271c; font-weight: 700; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { display: grid; gap: 7px; margin-bottom: 20px; align-content: start; }
.field label, .fieldset legend { font-weight: 700; font-size: 14.5px; color: var(--c-ink); }
.field .hint { font-size: 13px; color: var(--c-ink-2); margin: -2px 0 0; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--c-ink); background: var(--c-white);
  border: 1.5px solid #6b7489; border-radius: 12px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23012169' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field [aria-invalid="true"], .fieldset.invalid .opt { border-color: #a3271c; }
.err { display: none; align-items: center; gap: 6px; color: #a3271c; font-size: 13.5px; font-weight: 700; margin: 0; }
.err svg { width: 16px; height: 16px; flex: none; }
.err.show { display: flex; }
.err.resolved { visibility: hidden; } /* fixed since the last submit: keeps its line until the next one */
.fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: 10px; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.opt { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 12px; border: 1.5px solid #6b7489; border-radius: 12px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.opt input { width: 24px; height: 24px; margin: 0; accent-color: var(--c-primary); flex: none; }
.opt:has(input:checked) { border-color: var(--c-primary); background: #eef2fa; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; margin: 4px 0 6px; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 0; accent-color: var(--c-primary); flex: none; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--c-line); }
.form-foot small { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-ink-2); }
.form-foot small svg { width: 16px; height: 16px; flex: none; color: var(--c-fairway); }
.error-summary { display: none; border: 2px solid #a3271c; border-left-width: 6px; background: #fdf0ee; border-radius: 12px; padding: 18px 20px; margin-bottom: 22px; color: #5c120c; }
.error-summary.show { display: block; }
.error-summary h3 { font-family: var(--font-body); font-size: 16px; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; }
.error-summary ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.error-summary a { color: #8f1d14; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 2px 0; }
.form-success { display: none; align-items: flex-start; gap: 12px; background: #ecf6ee; border: 1.5px solid #3f7c4b; color: #1b4d27; border-radius: 12px; padding: 18px 20px; margin-bottom: 22px; font-weight: 600; }
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .finder { max-width: 520px; }
}
@media (max-width: 640px) {
  .finder { padding: 20px; }
  .days { gap: 4px; }
  .day strong { font-size: 18px; }
}

/* ---------- Platform form layout ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid > .full { grid-column: 1 / -1; }
/* Grid margins never collapse: drop the last field's margin so the footer sits 22px below it */
.form-grid > :last-child { margin-bottom: 0; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.mobile-menu .mobile-menu-cta { margin-top: 24px; align-self: flex-start; font-family: var(--font-body); font-size: 16px; }

/* forest-dawn/assets/theme.css */
/* Forest Dawn template: the hero scrim, illustrations and decorative pieces. Tokens live in theme.json. */
/* ---------- Scroll progress bar ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--c-accent), #f5d48e); }

.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,19,63,.74) 0%, rgba(0,19,63,.3) 14%, rgba(0,19,63,0) 26%),
    linear-gradient(0deg, rgba(0,12,32,.85) 0%, rgba(0,12,32,.3) 30%, rgba(0,12,32,0) 50%),
    linear-gradient(90deg, rgba(0,19,63,.8) 0%, rgba(0,19,63,.66) 38%, rgba(0,19,63,.28) 60%, rgba(0,19,63,0) 78%);
}
.hero h1, .hero-copy p { text-shadow: 0 2px 24px rgba(0,19,63,.45); }
@media (max-width: 640px) {
  .hero::after { background: linear-gradient(180deg, rgba(0,19,63,.72) 0%, rgba(0,19,63,.5) 50%, rgba(0,12,32,.82) 100%); }
}
/* Inside pages: a shorter hero with a heavier scrim behind the breadcrumb and title */
.hero.page-hero::after {
  background:
    linear-gradient(180deg, rgba(0,19,63,.78) 0%, rgba(0,19,63,.2) 22%, rgba(0,19,63,0) 34%),
    linear-gradient(0deg, rgba(0,12,32,.82) 0%, rgba(0,12,32,.3) 40%, rgba(0,12,32,0) 64%),
    linear-gradient(90deg, rgba(0,19,63,.86) 0%, rgba(0,19,63,.72) 42%, rgba(0,19,63,.36) 70%, rgba(0,19,63,.18) 100%);
}
@media (max-width: 640px) {
  .hero.page-hero::after { background: linear-gradient(180deg, rgba(0,19,63,.8) 0%, rgba(0,19,63,.62) 50%, rgba(0,12,32,.88) 100%); }
}

.hole-card { position: relative; border-radius: 28px; overflow: hidden; background: #2e6440; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.hole-card svg { width: 100%; height: 100%; }
.hole-card .chip svg { width: 14px; height: 14px; }
.hole-card .chip {
  position: absolute; left: 20px; top: 20px; background: rgba(255,255,255,.92); color: var(--c-primary);
  border-radius: 999px; padding: 8px 14px; font-size: 12.5px; font-weight: 700; display: flex; gap: 8px; align-items: center;
}
.hole-card .legend {
  position: absolute; right: 20px; bottom: 20px; left: 20px; display: flex; justify-content: space-between; align-items: end;
  color: var(--c-white);
}
.hole-card .legend strong { font-family: var(--font-display); font-size: 30px; font-weight: 400; display: block; line-height: 1; }
.hole-card .legend small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.hole-card .flight { stroke-dasharray: 1000; stroke-dashoffset: 1000; }

.range-viz { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1 / 1; background: #173a29; }
.range-viz svg { width: 100%; height: 100%; }
.range-viz .ball { animation: shot 3.2s cubic-bezier(.25,.6,.3,1) infinite; offset-rotate: 0deg; }
.range-viz .ball:nth-of-type(2) { animation-delay: 1.1s; }
.range-viz .ball:nth-of-type(3) { animation-delay: 2.2s; }
.range-viz .ball-1 { offset-path: path('M250 470 C 230 320 260 160 236 132'); }
.range-viz .ball-2 { offset-path: path('M250 470 C 300 330 310 260 292 222'); }
.range-viz .ball-3 { offset-path: path('M250 470 C 210 380 200 340 214 326'); }
@keyframes shot { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.range-viz .badge { position: absolute; left: 22px; top: 22px; background: var(--c-primary-deep); border-radius: 999px; padding: 9px 15px; font-size: 13px; font-weight: 700; }

.map { background: #e4ecd9; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; left: 54%; top: 46%; transform: translate(-50%, -100%); }
.pin .bubble { background: var(--c-primary); color: var(--c-white); padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; white-space: nowrap; box-shadow: var(--shadow); position: relative; }
.pin .bubble::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: var(--c-primary); transform: translateX(-50%) rotate(45deg); }
.pin .ring { position: absolute; left: 50%; bottom: -26px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--c-action); border: 3px solid var(--c-white); }
.pin .ring::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid var(--c-action); animation: ripple 2.2s infinite; }
@keyframes ripple { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.cta .rings { position: absolute; inset: 0; pointer-events: none; opacity: .14; }
.cta .rings circle { fill: none; stroke: var(--c-white); }

@media (max-width: 1080px) {
  .hole-card { aspect-ratio: 16 / 11; }
  .range-viz { aspect-ratio: 16 / 11; }
}
@media (max-width: 640px) {
  .hole-card, .range-viz { aspect-ratio: 4 / 5; }
}

/* ---------- Featured event art ---------- */
.featured-art { background: #1f4a30; }

/* forest-dawn/assets/variant-live-sky.css */
/* Forest Dawn · Live Sky option (theme setting heroVariant "live-sky"). Every rule is scoped to the
   Live Sky markup (.hero--sky, the booking bar, the sky chip, the pinned .story), so the file is
   inert for the standard layout. Loads after theme.css (file order), so its hero rules win. */

/* ---------- Hero ---------- */
.hero.hero--sky { min-height: max(760px, 100svh); display: flex; flex-direction: column; }
.hero--sky .hero-scene svg { width: 100%; height: 100%; }
.hero.hero--sky::after {
  background:
    radial-gradient(ellipse 66% 50% at 50% 42%, rgba(0,19,63,var(--scrim, .7)), rgba(0,19,63,0) 76%),
    linear-gradient(180deg, rgba(0,19,63,.72) 0%, rgba(0,19,63,.4) 12%, rgba(0,19,63,0) 26%),
    linear-gradient(0deg, rgba(4,20,18,.9) 0%, rgba(4,20,18,.35) 30%, rgba(4,20,18,0) 52%);
}
.hero--sky .star.tw { animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .15; } }

.hero--sky .hero-inner {
  flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  text-align: center; padding-top: 130px; padding-bottom: 36px;
}
.hero--sky .eyebrow { color: var(--c-accent-soft); background: var(--c-primary-deep); padding: 7px 14px; border-radius: 999px; }
.hero--sky .eyebrow::before { display: none; }
.hero--sky h1 { font-size: clamp(38px, 6.4vw, 96px); line-height: .98; margin: 22px 0 22px; overflow-wrap: normal; text-shadow: none; }
.hero--sky h1 .line { padding-bottom: .05em; }
.hero--sky.hero-copy p, .hero--sky .hero-copy p { max-width: 52ch; color: rgba(255,255,255,.9); margin: 0 auto 22px; text-shadow: 0 1px 18px rgba(0,19,63,.55); }
.hero-link { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; font-weight: 700; font-size: 14.5px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.6); padding: 4px 0 3px; text-shadow: 0 1px 14px rgba(0,19,63,.6); transition: border-color .25s, color .25s; }
.hero-link:hover { color: #fff; border-color: var(--c-accent-soft); }
.hero-link svg { width: 16px; height: 16px; }

/* Sky chip */
.sky-chip { position: absolute; z-index: 3; right: var(--gutter); top: 100px; }
.sky-chip > button {
  display: flex; align-items: center; gap: 10px; color: #fff;
  background: var(--c-primary-deep); border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; padding: 6px 14px 6px 7px; min-height: 34px; font-size: 12.5px; font-weight: 600;
}
.sky-dot { width: 20px; height: 20px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 35%, #fff6d6, #f2b25e); box-shadow: 0 0 12px rgba(242,178,94,.7); transition: background .6s, box-shadow .6s; }
.sky-dot.night { background: radial-gradient(circle at 35% 35%, #ffffff, #c4cfe4); box-shadow: 0 0 10px rgba(200,215,240,.6); }
.sky-menu {
  position: absolute; right: 0; top: calc(100% + 8px); display: flex; gap: 2px; padding: 4px;
  background: var(--c-primary-deep); border: 1px solid rgba(255,255,255,.3);
  border-radius: 12px; box-shadow: 0 16px 40px -18px rgba(0,0,0,.6);
}
.sky-menu[hidden] { display: none; }
.sky-menu button { background: none; border: 0; color: #fff; font-size: 12.5px; font-weight: 700; padding: 7px 10px; min-height: 30px; border-radius: 8px; }
.sky-menu button:hover { background: rgba(255,255,255,.12); }
.sky-menu button[aria-pressed="true"] { background: #fff; color: var(--c-primary); opacity: 1; }

/* Motion control, top left of the hero */
.hero--sky .motion-wrap { position: absolute; z-index: 3; left: var(--gutter); top: 100px; }
.hero--sky .motion-wrap .motion-toggle {
  position: static; gap: 8px; padding: 6px 14px 6px 11px; font-size: 12.5px; font-weight: 600;
  border: 1px solid rgba(255,255,255,.3);
}
.hero--sky .motion-wrap .motion-toggle svg { width: 14px; height: 14px; }
.hero--sky .motion-wrap .motion-toggle[aria-pressed="true"] { border-color: #fff; }

/* ---------- Booking bar ---------- */
.booking { position: relative; z-index: 2; width: min(1120px, calc(100% - 2 * var(--gutter))); margin: 0 auto 34px; }
.booking-top { display: flex; justify-content: space-between; align-items: center; margin: 0 6px 10px; }
.booking-top strong { font-family: var(--font-display); font-weight: 400; font-size: 20px; }
.booking .tag { background: var(--c-primary-deep); border: 1px solid rgba(255,255,255,.3); color: #fff; }
.bookbar {
  display: grid; grid-template-columns: 1.1fr .9fr 1.5fr auto; align-items: stretch;
  background: var(--c-primary-deep); border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px; padding: 8px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
}
.bb-field { padding: 8px 18px; border-left: 1px solid rgba(255,255,255,.16); display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
.bb-field:first-child { border-left: 0; }
.bb-label { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent-soft); }
.bb-control { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bb-value { text-align: center; line-height: 1.1; min-width: 0; }
.bb-value small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.bb-value strong { font-family: var(--font-display); font-weight: 500; font-size: 22px; white-space: nowrap; }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: #0b2152; color: var(--c-white); display: grid; place-items: center; flex: none; padding: 0; transition: background .2s, opacity .2s; }
.icon-btn:hover:not(:disabled) { background: var(--c-action); }
.icon-btn:disabled { opacity: .3; cursor: default; }
.icon-btn svg { width: 16px; height: 16px; }
.bb-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: #0b2152; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 4px; }
.bb-seg button { border: 0; background: none; color: var(--c-white); padding: 8px 4px; min-height: 34px; border-radius: 9px; font-weight: 700; font-size: 13.5px; transition: background .2s, color .2s; }
.bb-seg button:hover { background: rgba(255,255,255,.12); }
.bb-seg button[aria-pressed="true"] { background: var(--c-white); color: var(--c-primary); opacity: 1; }
.bb-submit { border: 0; border-radius: 16px; background: var(--c-white); color: var(--c-primary); font-weight: 800; font-size: 15px; padding: 0 28px; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background .25s; }
.bb-submit:hover { background: var(--c-accent-soft); }
.bb-submit svg { width: 18px; height: 18px; transition: transform .25s; }
.bb-submit:hover svg { transform: translateX(3px); }
.results { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.2,.8,.2,1); }
.results.open { grid-template-rows: 1fr; }
.results > div { overflow: hidden; min-height: 0; }
.results-inner {
  margin-top: 10px; background: var(--c-primary-deep); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 24px 60px -30px rgba(0,0,0,.7);
  border-radius: 18px; padding: 12px 14px; display: flex; align-items: center; gap: 16px;
}
.results-meta { flex: none; font-size: 13px; line-height: 1.4; padding-left: 6px; }
.results-meta strong { display: block; font-size: 15px; }
.results-meta span { color: rgba(255,255,255,.85); }
.chips { display: flex; gap: 8px; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.tchip {
  flex: none; background: #0b2152; border: 1px solid rgba(255,255,255,.3); color: var(--c-white);
  border-radius: 12px; padding: 8px 14px; text-align: center; opacity: 0; transform: translateY(6px); animation: fadeUp .4s forwards;
  transition: border-color .2s, background .2s;
}
.tchip:hover { border-color: var(--c-accent); background: var(--c-action); }
.tchip strong { display: block; font-size: 15px; white-space: nowrap; }
.tchip .dots { display: flex; justify-content: center; gap: 3px; margin-top: 5px; }
.tchip .dots i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); }
.tchip .dots i.on { background: #9fe0a0; border-color: #9fe0a0; }
.chips .empty { font-size: 14px; color: rgba(255,255,255,.85); padding: 10px 4px; }
.chips.settled .tchip { animation: none; opacity: 1; transform: none; }

/* ---------- Pinned course story ---------- */
.story { position: relative; background: #1f4a30; color: var(--c-white); --focus-ring: var(--c-accent-soft); --focus-halo: var(--c-primary-deep); }
.story-pin { position: relative; height: 100vh; min-height: 620px; overflow: hidden; }
.story-scene { position: absolute; inset: 0; overflow: hidden; }
.story-scene svg { width: 100%; height: 100%; transform-origin: 62% 45%; will-change: transform; }
.story-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,19,40,.92) 0%, rgba(0,19,40,.86) 38%, rgba(0,19,40,0) 62%),
    linear-gradient(0deg, rgba(0,19,40,.45), rgba(0,19,40,0) 28%),
    linear-gradient(180deg, rgba(0,19,40,.4), rgba(0,19,40,0) 22%);
}
.story-ui { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 460px) 1fr auto; align-items: center; gap: 40px; }
.story-head { position: absolute; top: 104px; left: var(--gutter); }
.story-title { font-family: var(--font-body); font-size: 12px; line-height: 1.3; letter-spacing: .18em; font-weight: 700; }
.story .eyebrow { color: var(--c-accent-soft); }
.captions { position: relative; grid-column: 1; min-height: 380px; }
.cap { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(calc(-50% + 34px)); opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1); }
.cap.active { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
/* A chapter whose link has keyboard focus shows at once */
.cap:focus-within { opacity: 1; transform: translateY(-50%); pointer-events: auto; transition: none; }
.cap-num { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: rgba(255,255,255,.88); }
.cap-stat { font-family: var(--font-display); font-size: clamp(64px, 8vw, 124px); line-height: .95; letter-spacing: -0.03em; margin: 12px 0 12px; }
.cap-stat small { font-size: .28em; margin-left: 10px; letter-spacing: 0; }
.cap h3 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 10px; }
.cap p { margin: 0 0 22px; color: rgba(255,255,255,.94); max-width: 40ch; }
.rail { grid-column: 3; align-self: end; margin: 0 0 110px; list-style: none; padding: 16px 18px; display: grid; gap: 18px; background: var(--c-primary-deep); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; }
.rail li { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.72); transition: color .4s; }
.rail li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #fff; transition: background .4s, border-color .4s, transform .4s; }
.rail li.on { color: #fff; }
.rail li.on::after { background: var(--c-accent-soft); border-color: var(--c-accent-soft); transform: scale(1.3); }
.story-tag { position: absolute; right: var(--gutter); bottom: 22px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--c-primary-deep); padding: 4px 10px; border-radius: 999px; }
.story-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,.12); }
.story-progress span { display: block; height: 100%; width: 0; background: var(--c-accent-soft); }

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .story { height: 420vh; }
  .story-pin { position: sticky; top: 0; }
}
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .story { background: var(--c-primary-deep); }
  .story-pin { height: auto; min-height: 0; }
  .story-scene { position: relative; height: 56.25vw; }
  .story-shade, .rail, .story-progress { display: none; }
  .story-ui { display: block; height: auto; padding-top: 44px; padding-bottom: 76px; }
  .story-head { position: static; margin-bottom: 26px; }
  .captions { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; min-height: 0; }
  .cap, .cap.active { position: static; opacity: 1; transform: none; pointer-events: auto; }
  .cap-stat { font-size: clamp(52px, 10vw, 80px); }
  .story-tag { top: calc(56.25vw - 30px); bottom: auto; }
}
/* Paused: the story becomes the static layout with every chapter shown */
html.motion-paused .story { height: auto; background: var(--c-primary-deep); }
html.motion-paused .story-pin { position: relative; height: auto; min-height: 0; }
html.motion-paused .story-scene { position: relative; height: min(56.25vw, 70vh); }
html.motion-paused .story-shade, html.motion-paused .rail, html.motion-paused .story-progress { display: none; }
html.motion-paused .story-ui { display: block; height: auto; padding-top: 44px; padding-bottom: 76px; }
html.motion-paused .story-head { position: static; margin-bottom: 26px; }
html.motion-paused .captions { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; min-height: 0; }
html.motion-paused .cap { position: static; opacity: 1; transform: none; pointer-events: auto; transition: none; }
html.motion-paused .cap-stat { font-size: clamp(52px, 10vw, 80px); }
html.motion-paused .story-tag { top: calc(min(56.25vw, 70vh) - 30px); bottom: auto; }
html.motion-paused .tchip { animation: none !important; opacity: 1 !important; transform: none !important; }

/* ---------- Tablets and phones ---------- */
@media (max-width: 1080px) {
  .bookbar { grid-template-columns: 1fr 1fr; padding: 6px; }
  .bb-field:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding-top: 12px; padding-bottom: 12px; }
  .bb-submit { grid-column: 1 / -1; padding: 15px; margin-top: 4px; }
  .results-inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero--sky .hero-inner { padding-bottom: 36px; align-content: normal; }
}
@media (max-width: 640px) {
  .hero--sky .hero-inner { padding-top: 150px; }
  .sky-chip { top: 86px; right: 16px; }
  .hero--sky .motion-wrap { top: 86px; left: 16px; }
  .hero--sky .motion-wrap .motion-toggle { width: 34px; padding: 0; justify-content: center; }
  .hero--sky .motion-wrap .motion-toggle .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero--sky .eyebrow { font-size: 11px; letter-spacing: .14em; }
  .hero.hero--sky::after { background: linear-gradient(180deg, rgba(0,19,63,var(--scrim, .5)) 0%, rgba(0,19,63,var(--scrim, .5)) 58%, rgba(4,20,18,.9) 100%); }
  .booking-top strong { font-size: 18px; }
  .bb-field { padding: 8px 10px; }
  .bb-value strong { font-size: 19px; }
  .captions { grid-template-columns: 1fr; }
}
