/* =====================================================================
   Design system
   Layout concept: black stage, charcoal panels, white type. Anton
   headlines carry the brand; red appears only where a parent acts
   (Book, current step, active day).
   ===================================================================== */

:root {
  /* Color */
  --black: #000000;
  --bg: #000000;
  --bg-2: #000000;
  --surface: #1A1A1E;
  --surface-2: #232328;
  --line: #2D2D33;
  --line-strong: #4A4A52;
  --text: #F5F5F6;
  --muted: #A8A8B0;
  --red: #E10600;
  --red-hover: #B80500;
  --red-text: #FF5A50;
  --accent-rgb: 225, 6, 0;
  --on-red: #FFFFFF;
  --ok: #3DD68C;
  --warn: #FFB547;
  --focus: #FFFFFF;

  /* Type */
  --font-display: "Anton", Impact, "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-sm: 0.9375rem;
  --fs-base: 1.125rem;
  --fs-lg: 1.3125rem;
  --fs-h4: 1.375rem;
  --fs-h3: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  --fs-h2: clamp(2.125rem, 1.4rem + 3.4vw, 4rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
  --fs-hero: clamp(2.75rem, 1rem + 6.8vw, 7rem);

  /* Space and shape */
  --gutter: clamp(16px, 4.5vw, 56px);
  --max: 1240px;
  --header-h: 72px;
  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
p { margin: 0; }
ul, ol { margin: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px); }
[hidden] { display: none !important; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.02; }
h2 { font-size: var(--fs-h2); line-height: 1.04; }
h3 { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: 0.015em; }
h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.25; margin: 0; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--text); color: var(--black); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 136px); }
.section.alt { background: var(--bg-2); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.lead { font-size: var(--fs-lg); line-height: 1.5; color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
.stack { display: grid; gap: 20px; align-content: start; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.page-top { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1 var(--font-body); letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: var(--on-red); }
.btn-red:hover { background: var(--red-hover); }
.btn-line { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--text); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: var(--fs-sm); }
.btn[disabled], .btn[aria-disabled="true"] { background: transparent; color: var(--muted); border-color: var(--line); cursor: not-allowed; }
.btn .arrow { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); }
.text-link:hover { text-decoration-color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header and navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(0, 0, 0, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-clear { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 1.375rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; white-space: nowrap; }
.brand img { height: 46px; width: auto; flex: none; }
@media (max-width: 760px) { .brand img { height: 40px; } }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav-link { position: relative; padding: 10px 12px; font-weight: 600; font-size: 0.9875rem; text-decoration: none; color: var(--muted); transition: color .2s var(--ease); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); }
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 12px; }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; background: none; border: 0; color: var(--text); font: 600 1rem var(--font-body); padding: 10px 4px; cursor: pointer; }
.menu-icon { width: 22px; height: 14px; position: relative; }
.menu-icon span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-icon span:first-child { top: 2px; }
.menu-icon span:last-child { top: 10px; }
.menu-open .menu-icon span:first-child { top: 6px; transform: rotate(45deg); }
.menu-open .menu-icon span:last-child { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    background: var(--black); overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav-link { font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3rem); text-transform: uppercase; line-height: 1.1; color: var(--text); padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--red-text); }
  .nav .btn { margin: 28px 0 0; min-height: 56px; }
  .menu-open .nav-link { animation: nav-in .45s var(--ease) both; }
  .menu-open .nav-link:nth-child(2) { animation-delay: .04s; }
  .menu-open .nav-link:nth-child(3) { animation-delay: .08s; }
  .menu-open .nav-link:nth-child(4) { animation-delay: .12s; }
  .menu-open .nav-link:nth-child(5) { animation-delay: .16s; }
  .menu-open .nav-link:nth-child(6) { animation-delay: .2s; }
  body.menu-open { overflow: hidden; }
  .menu-open .site-header { background: var(--black); border-bottom-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@keyframes nav-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Page entrance + scroll reveals ---------- */
main { animation: page-in .45s var(--ease) both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
.js-reveal .reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-reveal .reveal:not(.is-in) { opacity: 0; transform: translateY(24px); }
.js-reveal .reveal-group > * { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-reveal .reveal-group:not(.is-in) > * { opacity: 0; transform: translateY(20px); }
.js-reveal .reveal-group.is-in > *:nth-child(2) { transition-delay: .08s; }
.js-reveal .reveal-group.is-in > *:nth-child(3) { transition-delay: .16s; }
.js-reveal .reveal-group.is-in > *:nth-child(4) { transition-delay: .24s; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; background: var(--black); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.1s ease, transform 5s linear; }
.hero-media img.is-on { opacity: 1; transform: scale(1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.15) 100%),
    linear-gradient(0deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,0) 50%);
}
.hero-content { width: 100%; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 48px); padding-bottom: clamp(28px, 5vh, 56px); }
.hero h1 { font-size: var(--fs-hero); line-height: 0.98; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero h1 .line > span { display: block; animation: rise .9s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(2) { color: var(--muted); }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero-text { margin-top: 28px; max-width: 34rem; font-size: var(--fs-lg); line-height: 1.5; color: #D9D9DE; animation: page-in .8s .35s var(--ease) both; }
.hero .btn-row { margin-top: 32px; animation: page-in .8s .45s var(--ease) both; }
.hero-facts { margin-top: clamp(40px, 8vh, 80px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.18); list-style: none; padding: 0; }
.hero-facts li { padding: 18px 20px 0 0; display: grid; gap: 2px; }
.hero-facts li + li { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.18); }
.hero-facts strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.hero-facts span { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 760px) {
  .hero-facts { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .hero-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ---------- Section heads ---------- */
.section-head { display: grid; gap: 18px; max-width: 48rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.row { max-width: none; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; gap: 24px clamp(24px, 4vw, 64px); }
@media (max-width: 760px) { .section-head.row { grid-template-columns: 1fr; } }

/* ---------- Proof points ---------- */
.intro-head h2 { font-size: clamp(2.125rem, 1.3rem + 2.8vw, 3.5rem); max-width: 18ch; }
.intro-head .lead { color: var(--text); }
.proof { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.proof li { display: grid; gap: 10px; align-content: start; padding: 28px 32px 8px 0; }
.proof li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.proof strong { position: relative; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; letter-spacing: .02em; padding-left: 18px; }
.proof strong::before { content: ""; position: absolute; left: 0; top: .32em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px rgba(var(--accent-rgb), .7); }
.proof span { color: var(--muted); padding-left: 18px; }
@media (max-width: 860px) {
  .proof { grid-template-columns: 1fr; }
  .proof li, .proof li + li { padding: 18px 0; border-left: 0; }
  .proof li + li { border-top: 1px solid var(--line); }
}

/* ---------- Track comparison (home) ---------- */
.compare { display: grid; grid-template-columns: minmax(8rem, 0.8fr) minmax(0, 2fr) minmax(0, 2fr); column-gap: 16px; }
.cmp-row { display: contents; }
.cmp-head, .cmp-val, .cmp-actions { background: var(--surface); border-inline: 1px solid var(--line); min-width: 0; }
.cmp-head { border-top: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; }
.cmp-media { display: block; aspect-ratio: 16 / 8; overflow: hidden; max-width: 100%; }
.cmp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cmp-head:hover .cmp-media img { transform: scale(1.05); }
.cmp-head h3 { padding: 20px 24px 18px; font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); }
.cmp-head h3 a { text-decoration: none; }
.cmp-head h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.cmp-label, .cmp-val { padding: 16px 24px; border-top: 1px solid var(--line); }
.cmp-label { padding-left: 0; color: var(--muted); font-weight: 600; font-size: var(--fs-sm); padding-top: 18px; }
.cmp-val.strong { font-weight: 600; font-size: var(--fs-lg); font-variant-numeric: tabular-nums; }
.cmp-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 24px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
@media (max-width: 760px) {
  .compare { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 8px; }
  .cmp-corner { display: none; }
  .cmp-label { grid-column: 1 / -1; padding: 16px 0 6px; border-top: 0; }
  .cmp-val { padding: 12px 14px; font-size: var(--fs-sm); }
  .cmp-val.strong { font-size: var(--fs-base); }
  .cmp-head h3 { padding: 14px; font-size: 1.375rem; }
  .cmp-actions { padding: 14px; flex-direction: column; }
  .cmp-actions .btn { width: 100%; padding-inline: 10px; }
}

/* ---------- Facts (label/value pairs) ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 0; border-top: 1px solid var(--line); margin: 0; }
.facts > div { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.facts dt { font-size: var(--fs-sm); color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }

/* ---------- Week timeline ---------- */
.timeline { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.timeline-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px clamp(18px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.timeline-days { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 28px clamp(18px, 3vw, 32px) 0; }
.timeline-rail { position: absolute; left: calc(clamp(18px, 3vw, 32px) + 10%); right: calc(clamp(18px, 3vw, 32px) + 10%); top: 52px; height: 2px; background: var(--line); }
.timeline-rail span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--red); transition: width .5s var(--ease); }
.day-btn { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; padding: 0 4px 22px; background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; }
.day-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.day-name { font-weight: 600; font-size: var(--fs-sm); }
.day-title { font-size: var(--fs-sm); line-height: 1.3; text-align: center; max-width: 12ch; }
.day-btn:hover { color: var(--text); }
.day-btn.is-past .day-dot { background: var(--red); border-color: var(--red); }
.day-btn[aria-selected="true"] { color: var(--text); }
.day-btn[aria-selected="true"] .day-dot { background: var(--red); border-color: var(--text); transform: scale(1.25); }
.day-btn.is-final .day-title { color: var(--red-text); }
.timeline-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); padding: clamp(22px, 3vw, 36px); border-top: 1px solid var(--line); background: var(--bg-2); }
.timeline-panel h3 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.timeline-panel .day-label { color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.timeline-panel ul { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.timeline-panel li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.timeline-outcome { margin-top: 18px; display: grid; gap: 4px; }
.timeline-outcome span { color: var(--muted); font-size: var(--fs-sm); }
.timeline-outcome strong { font-weight: 600; font-size: var(--fs-lg); }
.panel-anim { animation: panel-in .4s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .day-title { display: none; }
  .timeline-panel { grid-template-columns: 1fr; }
  .timeline-rail { top: 52px; }
}

/* ---------- Segmented control ---------- */
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.segmented button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 2px; background: transparent; color: var(--muted); font: 600 var(--fs-sm) var(--font-body); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.segmented button:hover { color: var(--text); }
.segmented button[aria-pressed="true"] { background: var(--text); color: var(--black); }
/* Schedule filter bar: course buttons on the left, hours on the right */
.schedule-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.schedule-bar .segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; flex: 0 1 34rem; }
.schedule-bar .segmented button { padding: 0 20px; white-space: nowrap; }
.schedule-bar > p { margin: 0; }
@media (max-width: 560px) { .schedule-bar .segmented { flex-basis: 100%; } .schedule-bar .segmented button { padding: 0 8px; } }

/* ---------- Track page ---------- */
.track-hero { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(40px, 6vw, 80px)); padding-bottom: clamp(56px, 8vw, 104px); }
.track-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.track-hero h1 { font-size: clamp(2.75rem, 1.4rem + 6vw, 6rem); line-height: 1; }
.track-hero .lead { margin-top: 20px; }
.track-hero .facts { margin-top: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.track-hero .btn-row { margin-top: 32px; }
.track-hero-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; border: 1px solid var(--line); }
.track-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .track-hero-grid { grid-template-columns: 1fr; } .track-hero-media { aspect-ratio: 16 / 9; order: -1; } }
.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.skill { background: var(--surface); padding: clamp(20px, 2.6vw, 28px); display: grid; gap: 6px; transition: background-color .25s var(--ease); }
.skill:hover { background: var(--surface-2); }
.skill h3 { font-size: 1.5rem; }
.skill p { color: var(--muted); }
@media (max-width: 560px) { .skills { grid-template-columns: 1fr; } }
.builds { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); line-height: 1.4; }

/* ---------- Games ---------- */
.games { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .games { grid-template-columns: 1fr; } }
.game { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; min-height: 15rem; align-content: end; transition: border-color .3s var(--ease); }
.game:hover { border-color: var(--line-strong); }
.game-letter { position: absolute; right: 18px; top: -0.12em; font-family: var(--font-display); font-size: clamp(8rem, 14vw, 12rem); line-height: 1; color: var(--surface-2); pointer-events: none; transition: color .3s var(--ease); }
.game:hover .game-letter { color: #2C2C32; }
.game > *:not(.game-letter) { position: relative; }
.game-tag { font-weight: 600; color: var(--muted); font-size: var(--fs-sm); }
.game h3 { font-size: 1.75rem; }
.game p { color: var(--muted); }
.game-weeks { font-size: var(--fs-sm); font-weight: 600; }
/* Game not announced yet */
.game.is-soon { border-style: dashed; border-color: var(--line-strong); }
.game-tag { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.soon-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Dates list (track page + schedule) ---------- */
.dates { border-top: 1px solid var(--line); }
.date-row {
  display: grid; align-items: center; gap: 12px 24px;
  grid-template-columns: 6.5rem minmax(8rem, 1fr) minmax(0, 1.4fr) minmax(0, 1.4fr);
  padding: 18px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums;
  transition: background-color .2s var(--ease);
}
.dates.single .date-row { grid-template-columns: 6.5rem minmax(8rem, 1fr) minmax(0, 2fr); }
.date-row.head { padding-block: 12px; font-size: var(--fs-sm); color: var(--muted); font-weight: 600; }
.date-week { font-family: var(--font-display); font-size: 1.625rem; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.date-when strong { display: block; font-weight: 600; }
.date-when span { font-size: var(--fs-sm); color: var(--muted); }
.slot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; min-width: 0; }
.slot-name { display: none; font-weight: 600; grid-column: 1; }
.slot-info { display: grid; gap: 6px; grid-column: 1; min-width: 0; }
.slot > .btn { grid-column: 2; grid-row: 1 / span 2; }
.spots { font-size: var(--fs-sm); font-weight: 600; }
.spots.low { color: var(--warn); }
.spots.out { color: var(--muted); }
.meter { height: 4px; width: 100%; max-width: 12rem; background: var(--line); border-radius: 2px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--text); transform-origin: left; }
.js-reveal .dates .meter span { transition: transform .9s var(--ease); }
.js-reveal .dates:not(.is-in) .meter span { transform: scaleX(0); }
@media (max-width: 860px) {
  .date-row, .dates.single .date-row { grid-template-columns: auto minmax(0, 1fr); }
  .date-row.head { display: none; }
  .date-row .slot { grid-column: 1 / -1; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
  .slot-name { display: block; }
}
.dates[data-filter="lego"] .slot[data-track="advanced"],
.dates[data-filter="advanced"] .slot[data-track="lego"],
.dates[data-filter="lego"] .head [data-track="advanced"],
.dates[data-filter="advanced"] .head [data-track="lego"] { display: none; }
.dates[data-filter="lego"] .date-row, .dates[data-filter="advanced"] .date-row { grid-template-columns: 6.5rem minmax(8rem, 1fr) minmax(0, 2fr); }
@media (max-width: 860px) { .dates[data-filter] .date-row { grid-template-columns: auto minmax(0, 1fr); } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--black); border-top: 1px solid var(--line); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.cta h2 { max-width: 14ch; }
.cta p { margin-top: 18px; color: var(--muted); font-size: var(--fs-lg); }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(48px, 7vw, 96px)); padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 16ch; }
.page-head .lead { margin-top: 20px; }

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: clamp(48px, 6vw, 72px); }
.faq-group > h2 { font-size: var(--fs-h3); margin-bottom: 16px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; background: none; border: 0; color: var(--text); font: 600 var(--fs-lg)/1.35 var(--font-body); text-align: left; cursor: pointer; }
.faq-q:hover { color: #FFFFFF; }
.faq-icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: var(--red); transition: transform .3s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 0 24px; max-width: 62ch; color: var(--muted); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field > label, .field-label { font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.hint { font-size: var(--fs-sm); color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: inherit; font-size: 1.0625rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
textarea { min-height: 112px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #6A6A74; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red-text); }
.field.valid input { border-color: #3B6D52; }
.field-error { display: flex; gap: 8px; align-items: center; color: var(--red-text); font-size: var(--fs-sm); font-weight: 600; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--red-text); color: var(--black); font-size: 11px; font-weight: 700; flex: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 2px 0 0; border: 1.5px solid var(--line-strong); border-radius: 3px; background: var(--bg); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; font-weight: 600; font-size: var(--fs-sm); transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.chip span:hover { border-color: var(--text); }
.chip input:checked + span { background: var(--text); color: var(--black); border-color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- Booking flow ---------- */
.book { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(32px, 5vw, 64px)); padding-bottom: clamp(64px, 8vw, 120px); }
.book-head { display: grid; gap: 28px; margin-bottom: clamp(28px, 4vw, 48px); }
.book-head h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); }
.stepper { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.stepper li { display: grid; gap: 10px; }
.stepper .bar { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.stepper .bar span { display: block; height: 100%; width: 0; background: var(--red); transition: width .5s var(--ease); }
.stepper li.done .bar span, .stepper li.current .bar span { width: 100%; }
.stepper li.done .bar span { background: var(--text); }
.stepper button { all: unset; display: flex; gap: 8px; align-items: baseline; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); cursor: default; }
.stepper button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.stepper li.done button { color: var(--text); cursor: pointer; }
.stepper li.done button:hover { text-decoration: underline; }
.stepper li.current button { color: var(--text); }
.stepper .num { font-variant-numeric: tabular-nums; }
.stepper-mobile { display: none; font-weight: 600; }
@media (max-width: 700px) {
  .stepper .label { display: none; }
  .stepper-mobile { display: block; }
}
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 1000px) { .book-grid { grid-template-columns: 1fr; } }
.step-panel { animation: step-in .45s var(--ease) both; }
.step-panel.back { animation-name: step-in-back; }
@keyframes step-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.step-panel > h2 { font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem); }
.step-panel > .muted { margin-top: 10px; }
.step-body { margin-top: 28px; display: grid; gap: 28px; }
.step-nav { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.step-nav .btn-red { margin-left: auto; }
.form-section { display: grid; gap: 20px; padding: clamp(20px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form-section > h3 { font-size: 1.5rem; }

.option-grid { display: grid; gap: 16px; }
.option-grid.tracks { grid-template-columns: 1fr 1fr; }
.option-grid.weeks { grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); }
@media (max-width: 640px) { .option-grid.tracks { grid-template-columns: 1fr; } }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option-card { height: 100%; display: grid; align-content: start; gap: 10px; padding: 20px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-lg); transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease); }
.option:hover .option-card { border-color: var(--line-strong); transform: translateY(-2px); }
.option input:checked + .option-card { border-color: var(--red); background: rgba(var(--accent-rgb), .08); }
.option input:focus-visible + .option-card { outline: 2px solid var(--focus); outline-offset: 3px; }
.option input:disabled + .option-card { opacity: .45; cursor: not-allowed; transform: none; }
.option-check { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.option input:checked + .option-card .option-check { background: var(--red); border-color: var(--red); }
.option input:checked + .option-card .option-check::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.option-media { margin: -20px -20px 6px; aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-width: none; }
.option-media img { width: 100%; height: 100%; object-fit: cover; }
.option-title { font-family: var(--font-display); text-transform: uppercase; font-size: 1.625rem; line-height: 1.05; letter-spacing: .02em; padding-right: 32px; }
.option-meta { color: var(--muted); font-size: var(--fs-sm); }
.option-price { font-weight: 600; }
.option .meter { max-width: none; }

.summary { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.summary-media { aspect-ratio: 16 / 7; overflow: hidden; max-width: 100%; }
.summary-media img { width: 100%; height: 100%; object-fit: cover; }
.summary-body { padding: 24px; display: grid; gap: 16px; }
.summary-title { font-family: var(--font-display); text-transform: uppercase; font-size: 1.75rem; line-height: 1.05; letter-spacing: .02em; }
.summary dl { margin: 0; display: grid; }
.summary dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.summary .empty { color: var(--muted); font-weight: 400; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; }
.summary-total strong { font-family: var(--font-display); font-weight: 400; font-size: 2.5rem; line-height: 1; }
.test-note { font-size: var(--fs-sm); color: var(--muted); padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
@media (max-width: 1000px) { .summary { position: static; } .summary-media { display: none; } }
.mobile-total { display: none; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; }
.mobile-total strong { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; line-height: 1; }
@media (max-width: 1000px) { .mobile-total:not(:empty) { display: flex; } }

.review { display: grid; gap: 16px; }
.review-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; display: grid; gap: 12px; }
.review-block header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review-block h3 { font-size: 1.375rem; }
.review-block dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 10px 24px; }
.review-block dt { color: var(--muted); font-size: var(--fs-sm); }
.review-block dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.edit-btn { background: none; border: 0; color: var(--text); font: 600 var(--fs-sm) var(--font-body); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; padding: 6px 0; }
.pay-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; }
.pay-amount { font-family: var(--font-display); font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); line-height: 1; }
.pay-lines { display: grid; gap: 8px; color: var(--muted); }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-banner { padding: 14px 18px; border: 1px solid var(--red-text); border-radius: var(--radius); color: var(--text); background: #1F1213; }

/* ---------- Confirmation ---------- */
.confirm { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(40px, 6vw, 88px)); padding-bottom: clamp(64px, 8vw, 120px); }
.confirm-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .confirm-grid { grid-template-columns: 1fr; } }
.check-anim { width: 72px; height: 72px; margin-bottom: 28px; }
.check-anim circle { stroke: var(--ok); stroke-width: 3; fill: none; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw .7s var(--ease) forwards; }
.check-anim path { stroke: var(--ok); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .45s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirm h1 { font-size: clamp(2.75rem, 1.6rem + 5vw, 5.5rem); }
.ticket { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.ticket-top { padding: 24px; display: grid; gap: 6px; border-bottom: 1px dashed var(--line-strong); position: relative; }
.ticket-top::before, .ticket-top::after { content: ""; position: absolute; bottom: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.ticket-top::before { left: -12px; } .ticket-top::after { right: -12px; }
.ticket-label { color: var(--muted); font-size: var(--fs-sm); }
.ticket-title { font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; line-height: 1.05; }
.ticket dl { margin: 0; padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.ticket dt { color: var(--muted); font-size: var(--fs-sm); }
.ticket dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.next { list-style: none; padding: 0; margin-top: 36px; display: grid; gap: 0; counter-reset: n; }
.next li { counter-increment: n; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.next li::before { content: counter(n); font-family: var(--font-display); font-size: 1.75rem; line-height: 1; color: var(--muted); }
.next strong { display: block; font-weight: 600; }
.next span { color: var(--muted); }

/* ---------- About ---------- */
.about-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 2 / 1; max-width: 100%; border: 1px solid var(--line); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .about-photo { aspect-ratio: 4 / 3; } }
.record { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.record li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.record strong { font-size: var(--fs-lg); font-weight: 600; }
.record span { color: var(--muted); }
.studies { margin-top: 28px; display: grid; gap: 8px; }
.studies h3 { font-family: var(--font-body); text-transform: none; font-size: var(--fs-base); font-weight: 600; color: var(--muted); letter-spacing: 0; }
.studies ul { padding-left: 1.1em; }
.people-group + .people-group { margin-top: clamp(40px, 5vw, 64px); }
.people-group-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.people-group-head h3 { font-size: var(--fs-h3); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: border-color .3s var(--ease); }
.person:hover { border-color: var(--line-strong); }
.person-photo { overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .8s var(--ease); }
.person:hover .person-photo img { transform: scale(1.05); }
.person-body { padding: 20px 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.person h3 { font-size: 1.625rem; }
.person .role { color: var(--red-text); font-weight: 600; font-size: var(--fs-sm); }
.person .bio { color: var(--muted); }
.member-of { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.8125rem; }
.member-of > span:first-child { color: var(--muted); margin-right: 2px; }
.team-tag { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; color: var(--text); }
.award { display: grid; gap: 1px; padding: 8px 12px; border-left: 3px solid var(--red); background: rgba(var(--accent-rgb), .1); border-radius: 0 var(--radius) var(--radius) 0; font-size: var(--fs-sm); }
.award span { color: var(--muted); font-size: 0.8125rem; }
.person ul { padding-left: 1.1em; font-size: var(--fs-sm); display: grid; gap: 2px; }
.stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 22px 20px 4px 0; display: grid; gap: 6px; align-content: start; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat-value { font-family: var(--font-display); font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); line-height: 1.05; overflow-wrap: break-word; }
.stat-label { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 640px) { .stats { grid-auto-flow: row; grid-template-columns: 1fr; } .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.safety { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.safety li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.safety strong { font-weight: 600; font-size: var(--fs-lg); }
.safety span { color: var(--muted); }
@media (max-width: 640px) { .safety { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.contact-list span { color: var(--muted); font-size: var(--fs-sm); }
.contact-value { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-weight: 600; font-size: var(--fs-lg); }
.contact-value .copy { background: none; border: 1px solid var(--line-strong); color: var(--muted); border-radius: var(--radius); font: 600 0.8125rem var(--font-body); padding: 4px 10px; cursor: pointer; }
.contact-value .copy:hover { color: var(--text); border-color: var(--text); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 20px; }
.form-status { min-height: 1.5em; color: var(--muted); }
.form-status.ok { color: var(--ok); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 88px) calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.footer-grid h2 { font-family: var(--font-body); text-transform: none; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
/* Social links (footer and Contact page): always underlined so they read as links */
.ext-link, .footer-grid a.ext-link { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ext-link:hover, .footer-grid a.ext-link:hover { color: var(--red); }
.footer-brand p { margin-top: 16px; color: var(--muted); max-width: 26rem; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .hero-media img { transform: none !important; }
  @view-transition { navigation: none; }
}
fieldset.form-section { min-width: 0; }

/* Narrow-screen labels */
.day-name .short { display: none; }
@media (max-width: 760px) {
  .day-name .long { display: none; }
  .day-name .short { display: inline; }
}
@media (max-width: 560px) {
  .seg-long { display: none; }
  .segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; }
  .timeline-top .segmented { width: 100%; }
}

/* ---------- Gallery (about) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery figure { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--surface); max-width: 100%; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery.lead-big figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery.lead-wide figure:first-child { grid-column: span 2; aspect-ratio: auto; }
.gallery.lead-full figure:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 3 !important; }
  .gallery.m-lead figure:first-child { grid-column: 1 / -1 !important; aspect-ratio: 16 / 9 !important; }
}

/* ---------- Registration pop-up (desktop only) ---------- */
.reg-banner {
  position: fixed; z-index: 90; right: 24px; bottom: 24px;
  background: rgba(23, 23, 27, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1.5px solid var(--red); border-radius: 14px;
  box-shadow: 0 0 24px -6px rgba(var(--accent-rgb), .5), 0 12px 28px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(16px) scale(.97); visibility: hidden;
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s;
}
.reg-banner.is-shown { opacity: 1; transform: none; visibility: visible; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s; }
/* Coming back after the timer: a slow, soft fade and rise */
.reg-banner.is-returning { animation: reg-return 1.25s cubic-bezier(.22, 1, .36, 1) both; }
.reg-banner.is-returning .reg-inner > * { animation: reg-return-in .7s cubic-bezier(.22, 1, .36, 1) both; }
.reg-banner.is-returning .reg-inner > :nth-child(1) { animation-delay: .25s; }
.reg-banner.is-returning .reg-inner > :nth-child(2) { animation-delay: .35s; }
.reg-banner.is-returning .reg-inner > :nth-child(3) { animation-delay: .45s; }
@keyframes reg-return {
  0% { opacity: 0; transform: translateY(28px) scale(.94); filter: blur(6px); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0), 0 12px 28px rgba(0, 0, 0, 0); }
  60% { filter: blur(0); }
  100% { opacity: 1; transform: none; filter: none; box-shadow: 0 0 24px -6px rgba(var(--accent-rgb), .5), 0 12px 28px rgba(0, 0, 0, .5); }
}
@keyframes reg-return-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.reg-inner { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; }
.reg-inner p { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.875rem; line-height: 1.2; white-space: nowrap; }
.reg-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .55); } 70% { box-shadow: 0 0 0 7px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }
.reg-btn { min-height: 34px; padding: 0 14px; font-size: 0.875rem; border-radius: 8px; }
.reg-close { display: grid; place-items: center; width: 28px; height: 28px; background: none; border: 0; color: var(--muted); cursor: pointer; border-radius: 6px; }
.reg-close:hover { color: var(--text); background: var(--surface-2); }
.menu-open .reg-banner { visibility: hidden; opacity: 0; }
.reg-short { display: none; }
@media (max-width: 560px) {
  .reg-banner { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .reg-inner { padding: 6px 6px 6px 12px; gap: 8px; }
  .reg-inner p { flex: 1; min-width: 0; }
  .reg-long { display: none; }
  .reg-short { display: inline; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- Tournament day (timeline) ---------- */
.day-btn.is-final { margin: -12px 0 16px 6px; padding: 12px 4px 14px; border: 1.5px solid var(--red); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), .05)); color: var(--text); }
.day-btn.is-final .day-dot { border-color: var(--red); background: var(--bg); }
.day-btn.is-final[aria-selected="true"] .day-dot { background: var(--red); border-color: var(--text); }
.day-btn.is-final .day-name { font-weight: 700; }
.day-btn.is-final .day-title { color: var(--red-text); font-weight: 700; }
.timeline-panel.is-final { background: linear-gradient(135deg, rgba(var(--accent-rgb), .14), rgba(var(--accent-rgb), 0) 55%), var(--bg-2); box-shadow: inset 0 3px 0 var(--red); }
.final-badge { display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--red); color: var(--on-red); font-weight: 700; font-size: 0.8125rem; letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .reg-dot { animation: none; } .reg-banner.is-returning, .reg-banner.is-returning .reg-inner > * { animation: none; } }

/* ---------- Cutout photos (transparent background) ---------- */
.cutout { background: radial-gradient(70% 60% at 50% 58%, rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), 0) 70%), linear-gradient(180deg, #1D1D22, #131316); }
.cutout img { object-fit: contain !important; padding: 4% 6%; filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .6)); }
.track-hero-media.cutout { aspect-ratio: 1 / 1; border-color: transparent; background: radial-gradient(60% 55% at 50% 55%, rgba(var(--accent-rgb), .2), rgba(var(--accent-rgb), 0) 72%); }
.track-hero-media.cutout img { padding: 4%; transition: transform .8s var(--ease); }
.track-hero-media.cutout:hover img { transform: translateY(-6px) scale(1.02); }
.option-media.cutout img, .summary-media.cutout img { padding: 5% 10%; }
@media (max-width: 900px) { .track-hero-media.cutout { aspect-ratio: 16 / 10; } }

/* ---------- Red glow on track photos ---------- */
.cutout { background: radial-gradient(65% 60% at 50% 56%, rgba(var(--accent-rgb), .34), rgba(var(--accent-rgb), .08) 55%, rgba(var(--accent-rgb), 0) 75%), linear-gradient(180deg, #1D1D22, #131316); }
.cutout img { filter: drop-shadow(0 0 22px rgba(var(--accent-rgb), .35)) drop-shadow(0 22px 28px rgba(0, 0, 0, .6)); }
.track-hero-media.cutout { background: radial-gradient(58% 52% at 50% 55%, rgba(var(--accent-rgb), .38), rgba(var(--accent-rgb), .1) 55%, rgba(var(--accent-rgb), 0) 75%); }
.track-hero-media:not(.cutout) { border-color: rgba(var(--accent-rgb), .45); box-shadow: 0 0 48px -6px rgba(var(--accent-rgb), .45), 0 24px 60px -24px rgba(var(--accent-rgb), .5); }
.cmp-media, .option-media, .summary-media { position: relative; }
.cmp-media:not(.cutout)::after, .option-media:not(.cutout)::after, .summary-media:not(.cutout)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .35), inset 0 0 56px rgba(var(--accent-rgb), .24);
}
.about-photo { border-color: rgba(var(--accent-rgb), .45); box-shadow: 0 0 48px -6px rgba(var(--accent-rgb), .45), 0 24px 60px -24px rgba(var(--accent-rgb), .5); }
.gallery figure:first-child img { object-position: 50% 30%; }

/* ---------- Track accent: Lego Robotics is blue ----------
   Anything inside .accent-blue swaps the red accent for blue. The menu,
   footer and pop-up stay red. */
.accent-blue {
  --red: #1F6FEB;
  --red-hover: #1656C2;
  --red-text: #5EA2FF;
  --accent-rgb: 31, 111, 235;
}
.accent-red { --red: #E10600; --red-hover: #B80500; --red-text: #FF5A50; --accent-rgb: 225, 6, 0; }

/* ---------- Track comparison: phone layout (stacked cards) ---------- */
.compare-cards { display: none; }
@media (max-width: 760px) {
  .compare { display: none; }
  .compare-cards { display: grid; gap: 16px; }
  .cc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: inset 0 3px 0 var(--red); }
  .cc-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
  .cc-media img { width: 100%; height: 100%; object-fit: cover; }
  .cc-media.cutout img { padding: 6% 12%; }
  .cc-body { padding: 18px 18px 20px; display: grid; gap: 12px; }
  .cc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .cc-top h3 { font-size: 1.75rem; line-height: 1; }
  .cc-top h3 a { text-decoration: none; }
  .cc-ages { flex: none; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--red); color: var(--red-text); font-weight: 700; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
  .cc-best { color: var(--muted); font-size: var(--fs-sm); }
  .cc-list { margin: 0; border-top: 1px solid var(--line); }
  .cc-list div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .cc-list dt { color: var(--muted); font-size: var(--fs-sm); }
  .cc-list dd { margin: 0; font-size: var(--fs-sm); font-weight: 600; }
  .cc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
  .cc-price { font-family: var(--font-display); font-size: 1.75rem; line-height: 1; }
  .cc-price small { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--muted); }
  .cc-actions { display: flex; gap: 8px; }
}

/* ---------- Hero facts: phone layout (compact spec panel) ---------- */
@media (max-width: 760px) {
  .hero-facts {
    margin-top: 32px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); overflow: hidden;
    grid-template-columns: 1fr 1fr; gap: 1px; row-gap: 1px; background: rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .hero-facts li, .hero-facts li + li, .hero-facts li:nth-child(3) {
    padding: 12px 14px; border-left: 0; background: rgba(0, 0, 0, .85); gap: 2px; min-width: 0;
  }
  .hero-facts strong { font-size: 1.125rem; letter-spacing: .03em; }
  .hero-facts span { font-size: 0.8125rem; line-height: 1.35; }
}


/* ---------- Accent dots ---------- */
.has-dots { position: relative; }
.has-dots > :not(.dots) { position: relative; z-index: 1; }
.dots { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.dot { position: absolute; display: block; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px rgba(var(--accent-rgb), .6); }
.dot { opacity: var(--o, .6); animation: twinkle var(--d, 5s) ease-in-out infinite; }
@keyframes twinkle {
  0%, 100% { opacity: .05; transform: scale(.45); box-shadow: 0 0 0 rgba(var(--accent-rgb), 0); }
  50% { opacity: var(--o, .9); transform: scale(1.15); box-shadow: 0 0 14px 2px rgba(var(--accent-rgb), .8); }
}
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* ---------- About header: title beside the team photo ---------- */
.about-head-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-head h1 { font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.25rem); max-width: none; }
.about-head h1 .h-line { display: block; }
.about-head h1 .dim { color: var(--muted); font-size: .5em; line-height: 1.1; margin-top: .45em; letter-spacing: .02em; }
.about-head .about-photo { aspect-ratio: 3 / 2; }
@media (max-width: 900px) {
  .about-head-grid { grid-template-columns: 1fr; }
  .about-head .about-photo { aspect-ratio: 2 / 1; }
}

/* ---------- One background color for every section ---------- */
.section.alt, .cta { background: var(--bg); }
@media (max-width: 360px) {
  .reg-dot { display: none; }
  .reg-inner p { font-size: 0.8125rem; }
  .reg-btn { padding: 0 12px; font-size: 0.8125rem; }
}

/* A thin divider line between sections */
main .section + .section::before, main .section + .cta::before {
  content: ""; position: absolute; top: 0; height: 1px; background: var(--line); z-index: 1;
  left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}
main .section, main .cta { position: relative; }
main .cta { border-top: 0; }

/* ---------- Scroll fade (try-out; remove with effects.scrollFade) ---------- */
.sf-item { will-change: opacity, transform, filter; transform-origin: 50% 100%; }
.scroll-fade .proof li:hover, .scroll-fade .track-card:hover { transform: none; }

/* ---------- Booking: one week or several ---------- */
/* Multi-week discount tag (course pages, schedule, CTA) */
.deal-tag { display: inline-flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 5px 14px 5px 5px; border: 1px solid rgba(var(--accent-rgb), .6); border-radius: 999px; background: rgba(var(--accent-rgb), .1); font-size: var(--fs-sm); line-height: 1.3; }
.deal-tag strong { padding: 4px 10px; border-radius: 999px; background: var(--red); color: var(--on-red); font-weight: 700; white-space: nowrap; }
.deal-tag-wide { margin: -8px 0 24px; }

/* Multi-week discount callout on the week step */
.deal-banner { display: flex; align-items: center; gap: 14px 18px; margin-bottom: 4px; padding: 14px 18px; border: 1.5px solid var(--red); border-radius: var(--radius-lg); background: linear-gradient(90deg, rgba(var(--accent-rgb), .2), rgba(var(--accent-rgb), .04)); box-shadow: 0 0 28px -10px rgba(var(--accent-rgb), .6); }
.deal-badge { flex: none; padding: 8px 14px; border-radius: var(--radius); background: var(--red); color: var(--on-red); font-family: var(--font-display); font-size: 1.375rem; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.deal-banner p { margin: 0; line-height: 1.4; }
.deal-banner p span { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 560px) { .deal-banner { align-items: flex-start; flex-direction: column; } }
.tally-main { display: grid; gap: 2px; }
.tally-msg { color: var(--muted); font-size: var(--fs-sm); }
.tally-save { color: var(--red-text); font-weight: 700; }
.week-tally.is-saving { background: rgba(var(--accent-rgb), .16); }
.sum-deal { margin: 12px 0 0; padding: 8px 12px; border-radius: var(--radius); border: 1px dashed rgba(var(--accent-rgb), .7); color: var(--red-text); font-size: var(--fs-sm); font-weight: 600; }
.option-check.square { border-radius: 6px; }
.week-tally { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; padding: 14px 18px; border: 1px solid var(--red); border-radius: var(--radius-lg); background: rgba(var(--accent-rgb), .08); }
.week-tally .tally-price { margin-left: auto; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.week-tally .tally-price s { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--muted); margin-right: 6px; }
.sum-sub { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-sm); }
.summary .sum-math > div { border-bottom: 0; padding: 4px 0; }
.summary .sum-math .save dd { color: var(--ok); }
.multi-confirm { padding: 10px 14px; border-radius: var(--radius); background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .5); }

/* ---------- Booking with several campers ---------- */
.camper-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(var(--accent-rgb), .6); background: rgba(var(--accent-rgb), .1); color: var(--red-text); font-weight: 700; font-size: 0.8125rem; letter-spacing: .02em; }
.add-camper {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 22px; text-align: left; cursor: pointer;
  background: rgba(var(--accent-rgb), .05); color: var(--text); font: inherit;
  border: 1.5px dashed rgba(var(--accent-rgb), .7); border-radius: var(--radius-lg);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.add-camper:hover { background: rgba(var(--accent-rgb), .12); border-color: var(--red); border-style: solid; }
.add-camper:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.add-plus { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--red); }
.add-plus::before, .add-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: var(--on-red); transform: translate(-50%, -50%); border-radius: 1px; }
.add-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.add-text { display: grid; gap: 2px; }
.add-text strong { font-size: 1.0625rem; }
.add-text span { color: var(--muted); font-size: var(--fs-sm); }
.camper-block { box-shadow: inset 3px 0 0 var(--red); }
.camper-block h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.camper-course { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: var(--fs-sm); font-weight: 700; color: var(--red-text); }
.camper-actions { display: inline-flex; gap: 14px; }
.review-total { grid-template-columns: 1fr !important; gap: 0 !important; }
.review-total > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.review-total > div:last-child { border-bottom: 0; font-size: 1.125rem; }
.review-total > div:last-child dt { color: var(--text); font-weight: 700; font-size: 1rem; }
.review-total > div:last-child dd { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.sum-camper { padding: 10px 0 4px; }
.sum-camper + .sum-camper { border-top: 1px solid var(--line); margin-top: 6px; }
.sum-camper-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sum-camper-head span { color: var(--red-text); font-size: var(--fs-sm); font-weight: 700; }
.copy-from { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 16px; }
.chip-btn { min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); font: 600 var(--fs-sm) var(--font-body); cursor: pointer; }
.chip-btn:hover { border-color: var(--red); background: rgba(var(--accent-rgb), .1); }
.parent-fold { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.parent-fold > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none; }
.parent-fold > summary::-webkit-details-marker { display: none; }
.parent-fold .fold-text { display: grid; gap: 2px; }
.parent-fold[open] > summary { border-bottom: 1px solid var(--line); }
.parent-fold[open] > summary .edit-btn { visibility: hidden; }
.parent-fold-body { display: grid; gap: 24px; padding: 20px; }
@media (max-width: 560px) { .add-camper { padding: 16px; gap: 12px; } .add-plus { width: 34px; height: 34px; } }

/* Clear booking (summary panel) */
.clear-cart { display: flex; justify-content: center; text-align: center; font-size: var(--fs-sm); color: var(--muted); }
.clear-cart .edit-btn { color: var(--muted); }
.clear-cart .edit-btn:hover { color: var(--text); }
.clear-confirm:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; color: var(--text); }
.clear-cart .btn-sm { min-height: 34px; padding: 0 14px; }
.clear-actions { display: inline-flex; align-items: center; gap: 14px; }

/* ---------- Season-by-season record (About) ---------- */
.history { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.season { display: grid; grid-template-columns: minmax(10rem, 3fr) minmax(0, 8fr); gap: 12px 40px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.season-head { display: flex; align-items: baseline; gap: 16px; }
.season-year { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; color: var(--red-text); font-variant-numeric: tabular-nums; }
.season-team { display: grid; gap: 2px; line-height: 1.25; }
.season-team span { color: var(--muted); font-size: var(--fs-sm); }
.season-awards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.season-awards li { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid rgba(var(--accent-rgb), .6); line-height: 1.35; }
.season-awards span { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 860px) {
  .season { grid-template-columns: 1fr; padding: 20px 0; }
  .season-awards { grid-template-columns: 1fr; gap: 12px; }
  .season-year { font-size: 2rem; }
}

/* ---------- About: school line, record, gallery captions ---------- */
.person .school { font-size: var(--fs-sm); color: var(--text); font-weight: 600; margin-top: -4px; }
.footer-company { margin-top: 10px !important; font-size: var(--fs-sm); }
.countdown { margin-top: 18px; color: var(--muted); font-size: var(--fs-sm); }

.record-top { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.record-top li { display: grid; gap: 4px; align-content: start; padding: 16px 18px; border: 1px solid rgba(var(--accent-rgb), .45); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(var(--accent-rgb), .12), rgba(var(--accent-rgb), .02)); }
.record-top strong { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; font-size: 1.3125rem; line-height: 1.1; }
.record-top span { color: var(--muted); font-size: var(--fs-sm); line-height: 1.35; }

.seasons { border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.seasons-row { display: grid; grid-template-columns: 4.5rem 11rem minmax(0, 1fr); gap: 6px 20px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.seasons-head { color: var(--muted); font-size: 0.8125rem; padding: 8px 0; }
.s-year { font-family: var(--font-display); font-size: 1.25rem; line-height: 1; color: var(--red-text); font-variant-numeric: tabular-nums; }
.s-team strong { font-weight: 700; }
.s-team span { color: var(--muted); margin-left: 4px; }
.s-awards { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.s-award { display: inline-flex; align-items: baseline; gap: 7px; }
.lv { flex: none; padding: 1px 7px; border-radius: 999px; font-size: 0.6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--line-strong); color: var(--muted); position: relative; top: -1px; }
.lv-world { background: var(--red); border-color: var(--red); color: var(--on-red); }
.lv-state { border-color: rgba(var(--accent-rgb), .8); color: var(--red-text); }
@media (max-width: 900px) { .record-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .seasons-head { display: none; }
  .seasons-row { grid-template-columns: 3.75rem minmax(0, 1fr); padding: 12px 0; }
  .s-awards { grid-column: 1 / -1; flex-direction: column; gap: 6px; }
  .record-top li { padding: 14px; }
  .record-top strong { font-size: 1.125rem; }
}

.gallery figure.has-cap { cursor: default; outline: none; }
.gallery figcaption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 18px; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.82)); color: #fff; opacity: 0; transition: opacity .35s var(--ease); }
.gallery figcaption strong { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; font-size: 1.375rem; line-height: 1.1; transform: translateY(8px); transition: transform .35s var(--ease); }
.gallery figcaption span { font-size: var(--fs-sm); color: rgba(255,255,255,.85); transform: translateY(8px); transition: transform .35s var(--ease) .04s; }
.gallery figure.has-cap img { transition: transform .8s var(--ease), filter .35s var(--ease); }
.gallery figure.has-cap:hover img, .gallery figure.has-cap:focus-visible img { filter: brightness(.5); transform: scale(1.04); }
.gallery figure.has-cap:hover figcaption, .gallery figure.has-cap:focus-visible figcaption { opacity: 1; }
.gallery figure.has-cap:hover figcaption > *, .gallery figure.has-cap:focus-visible figcaption > * { transform: none; }
.gallery figure.has-cap:focus-visible { box-shadow: 0 0 0 2px var(--focus); }
/* Touch screens have no hover: show captions all the time */
@media (hover: none) {
  .gallery figcaption { opacity: 1; padding: 12px; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.8)); }
  .gallery figcaption > * { transform: none !important; }
  .gallery figcaption strong { font-size: 1rem; }
  .gallery figcaption span { font-size: 0.75rem; }
}
.faq-list { margin: 12px 0 0; padding-left: 1.1em; display: grid; gap: 8px; color: var(--muted); }
/* Longer camp name: shrink the logo text on very narrow phones */
@media (max-width: 380px) { .brand { font-size: 1.125rem; gap: 8px; } .brand img { height: 32px; width: auto; } }
@media (max-width: 380px) { .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }

/* Highlighted phrase in body text (marked with ** in the config) */
.hl { color: var(--red-text); font-weight: 700; }

/* Phones and small tiles: smaller gallery captions that always fit the photo */
.gallery figcaption { overflow: hidden; line-height: 1.3; }
@media (max-width: 760px) {
  .gallery figcaption { padding: 10px 12px; gap: 1px; }
  .gallery figcaption strong { font-size: 1rem; line-height: 1.1; }
  .gallery figcaption span { font-size: 0.75rem; line-height: 1.3; }
}
/* Discount tag: rounded rectangle on every screen size */
.deal-tag { border-radius: 14px; padding: 7px 14px 7px 7px; align-items: center; }
.deal-tag strong { border-radius: 9px; }

/* ---------- Liability waiver page ---------- */
.waiver { max-width: 46rem; display: grid; gap: 28px; }
.waiver-part { display: grid; gap: 10px; }
.waiver-part h2 { font-size: 1.5rem; }
.waiver-part p, .waiver-part li { color: var(--muted); line-height: 1.65; }
.waiver-part ul { padding-left: 1.2em; display: grid; gap: 4px; }
.waiver-notice { padding: 20px 22px; border: 1.5px solid var(--red); border-radius: var(--radius-lg); background: rgba(var(--accent-rgb), .08); }
.waiver-notice p { color: var(--text); font-weight: 700; font-size: var(--fs-sm); letter-spacing: .01em; }
.waiver-sign { padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-sm); }
.sign-field input { font-family: var(--font-body); font-style: italic; font-size: 1.125rem; }
@media print {
  .site-header, .site-footer, .reg-banner, .dots { display: none !important; }
  body, .waiver-part p, .waiver-part li, .waiver-notice p { background: #fff !important; color: #000 !important; }
  .waiver-notice { border-color: #000; background: none; }
}

/* Waiver pop-up at checkout */
.waiver-dialog { width: min(48rem, calc(100vw - 24px)); max-height: min(86vh, 900px); padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); display: none; flex-direction: column; }
.waiver-dialog[open] { display: flex; }
.waiver-dialog::backdrop { background: rgba(0, 0, 0, .75); backdrop-filter: blur(3px); }
.wd-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.wd-head h2 { font-size: 1.5rem; }
.wd-x { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: var(--radius); background: none; color: var(--muted); cursor: pointer; }
.wd-x:hover { color: var(--text); background: var(--surface-2); }
.wd-body { overflow-y: auto; padding: 20px; display: grid; gap: 24px; overscroll-behavior: contain; }
.wd-body .lead { font-size: 1rem; color: var(--muted); }
.wd-body .waiver-part h2 { font-size: 1.25rem; }
.wd-foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }
html.wd-open { overflow: hidden; }
.footer-grid li, .contact-value span { overflow-wrap: break-word; min-width: 0; }
/* Phones: the Contact column gets the full width so the email stays on one line */
@media (max-width: 860px) { .footer-grid > div:last-child { grid-column: 1 / -1; } }

/* Footer: the Contact column is always as wide as the email, so it never wraps */
.nowrap { white-space: nowrap; }
.footer-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 2fr) max-content; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Booking page while registration is closed ---------- */
.book.book-soon { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(56px, 8vw, 96px)); }
.book-soon .soon-card { max-width: 760px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 20px; padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px); background: radial-gradient(80% 60% at 50% 0%, rgba(var(--accent-rgb), .14), rgba(var(--accent-rgb), 0) 70%), var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: inset 0 3px 0 var(--red); }
.book-soon h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem); line-height: 1.02; max-width: 16ch; }
.book-soon .lead { max-width: 52ch; color: var(--muted); }
.soon-courses { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; margin-top: 4px; }
.soon-course { display: grid; gap: 4px; padding: 18px 20px; text-align: left; text-decoration: none; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: inset 3px 0 0 var(--red); transition: border-color .2s var(--ease); }
.soon-course:hover { border-color: var(--red); }
.soon-course strong { font-family: var(--font-display); font-size: 1.375rem; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; }
.soon-course span { color: var(--muted); font-size: var(--fs-sm); }
.soon-course .soon-price { color: var(--text); font-weight: 700; font-size: 1.125rem; }
.soon-course .soon-price small { color: var(--muted); font-weight: 500; font-size: var(--fs-sm); }
.soon-dates { font-weight: 600; }
.book-soon .btn-row { justify-content: center; }
.soon-note { max-width: 52ch; }
@media (max-width: 560px) { .soon-courses { grid-template-columns: 1fr; } }
