/* ==========================================================================
   Yetzira Summer Academy at WTA
   Tokens → base → primitives → components → sections (page order) → motion → responsive
   See docs/DESIGN.md for the reasoning behind these choices.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette: sampled from the Yetzira Creative Academy logo (see docs/DESIGN.md → Brand) */
  --navy: #01336C;            /* wordmark, bulb outline, slogan */
  --navy-deep: #00244F;       /* dark grounds, button edges, focus ring */
  --cyan: #02A4C5;            /* "CREATIVE ACADEMY", the child figure */
  --orange: #F8721F;          /* action color: buttons, spark mark, final CTA */
  --red: #E00A24;             /* ray; "Arts" */
  --pink: #EB509E;            /* ray */
  --purple: #644083;          /* ray */
  --yellow: #FDC222;          /* ray */
  --green: #5CAC43;           /* ray */
  --green-text: #499F3E;      /* "Innovation & More" */
  --blue: #0474B4;            /* "STEAM" */

  /* Accessible variants of brand colors */
  --orange-large: #D95A0E;    /* orange for large display text on light grounds (≥3:1) */
  --blue-ink: #036AA6;        /* blue for small text on light grounds (≥5:1) */
  --cyan-ink: #02809A;        /* cyan for small text and bullets on light grounds (≥4.6:1) */
  --purple-light: #B69BD8;    /* purple for text on navy grounds (≥6:1) */

  /* Neutrals: warm paper whites, navy-tinted inks */
  --paper: #ffffff;
  --paper-2: #f1f6fa;   /* alternate light ground: a cool tint of the brand cyan */
  --cyan-soft: #e6f6f9;
  --white: #ffffff;
  --ink: #0f2a4e;
  --muted: #545f7e;
  --line: rgba(1, 51, 108, 0.14);
  --on-dark: #e8eefa;
  --on-dark-muted: #b3bfdb;

  --font-display: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-script: "Style Script", "Brush Script MT", "Segoe Script", cursive;
  --font-hebrew: "Noto Sans Hebrew", "Arial Hebrew", "Arial", sans-serif;

  /* Two card families: surface (light) and feature (navy) */
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(0, 36, 79, 0.06), 0 4px 12px -4px rgba(0, 36, 79, 0.12);
  --shadow: 0 2px 4px rgba(0, 36, 79, 0.05), 0 18px 40px -18px rgba(0, 36, 79, 0.3);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* not "hidden": that would break position: sticky */
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
strong { font-weight: 700; }
a { color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--blue-ink); }
.nowrap { white-space: nowrap; }

:focus-visible {
  outline: 3px solid var(--navy-deep);
  outline-offset: 3px;
  border-radius: 6px;
}
.philosophy :focus-visible,
.sessions :focus-visible,
.site-footer :focus-visible { outline-color: var(--yellow); }
.sessions .ticket :focus-visible { outline-color: var(--navy-deep); }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy-deep); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* Content the client still needs to supply */
.placeholder {
  color: inherit;
  background: repeating-linear-gradient(-45deg, rgba(248, 114, 31, 0.18) 0 6px, rgba(248, 114, 31, 0.08) 6px 12px);
  border-radius: 6px;
  padding: 0 6px;
}

/* ---------- Type primitives ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-ink);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  flex: none;
}
.eyebrow--light { color: var(--yellow); }
.eyebrow--light::before { background: var(--yellow); }

.display {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.display--light { color: #fff; }
.display + p { margin-top: clamp(18px, 2.2vw, 26px); }

.lead {
  font-size: clamp(19px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}

.section-head { margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}
.section-lede { font-size: 17px; color: var(--muted); margin-bottom: 0; }
.section-note {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--orange);
  --btn-fg: var(--navy-deep);
  --btn-edge: var(--navy-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid var(--btn-edge);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--btn-edge);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), background-color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 6px 0 var(--btn-edge); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--btn-edge); }
.btn .icon { transition: transform 0.2s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }

.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-edge: var(--navy); box-shadow: none; }
.btn-outline:hover { --btn-bg: var(--white); box-shadow: 0 4px 0 var(--navy); }
.btn-dark { --btn-bg: var(--navy-deep); --btn-fg: #fff; --btn-edge: var(--navy-deep); box-shadow: 0 5px 0 rgba(0, 36, 79, 0.35); }
.btn-dark:hover { box-shadow: 0 8px 0 rgba(0, 36, 79, 0.35); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn-xl { min-height: 64px; padding: 16px 34px; font-size: 20px; }
.btn-block { width: 100%; }

/* ---------- Logo ---------- */
/* The header and footer use the artwork itself: the "UI" lockup, whose icon is
   scaled down so the name stays legible at 40–60px tall (docs/DESIGN.md → Logo).
   An HTML/CSS reconstruction is documented there too, and demonstrated in
   assets/brand/index.html. */
.site-logo { display: inline-flex; align-items: center; text-decoration: none; }
.site-logo img { height: 52px; width: auto; transition: transform 0.4s var(--ease-out); }
.site-logo:hover img { transform: translateY(-1px) scale(1.02); }
.site-footer .site-logo img { height: 58px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(0, 36, 79, 0.5); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.nav-list { display: flex; gap: 2px; }
.nav-list a {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.nav-list a:hover { background: rgba(2, 164, 197, 0.16); color: var(--navy-deep); }
.nav-list a.is-active { color: var(--navy-deep); }
.nav-list a.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateX(-50%);
}
.nav-register { min-height: 44px; padding: 10px 20px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute;
  left: 50%;
  width: 20px; height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-toggle-bars { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; transform: translateX(-50%); }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translate(-50%, 7px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translate(-50%, -7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 900px; height: 900px;
  right: -300px; top: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 164, 197, 0.22), rgba(2, 164, 197, 0) 68%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "copy art"
    "facts facts";
  column-gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { grid-area: copy; }
.hero-art { grid-area: art; }
.facts { grid-area: facts; }

.hero-title {
  margin: 4px 0 16px;
  font-size: clamp(56px, 7.6vw, 112px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.spark-word { position: relative; display: inline-block; color: var(--orange-large); }
.spark-underline {
  position: absolute;
  left: 2%;
  bottom: -0.1em;
  width: 96%;
  height: 0.16em;
  color: var(--yellow);
  z-index: -1;
}
.hero-kicker {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.hero-kicker span { color: var(--cyan-ink); margin-inline: 3px; }
/* The logo's tagline colors: Arts red, STEAM blue, Innovation & More green */
.hero-kicker b { font-weight: inherit; }
.k-arts { color: var(--red); }
.k-steam { color: var(--blue); }
.k-more { color: var(--green-text); }
.hero-lede { max-width: 30em; font-size: clamp(17px, 1.35vw, 19px); color: var(--muted); }
.hero-lede strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: 28px; }

/* Hero collage: one hero photo, one supporting photo, one sticker */
.hero-art {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 0.9;
  justify-self: end;
}
.frame { position: absolute; }
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 6px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--cyan-soft);
}
.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--radius);
  background: var(--frame-color, var(--cyan));
  transform: translate(14px, 14px);
}
.frame--main { --frame-color: var(--cyan); right: 0; top: 0; width: 94%; aspect-ratio: 713 / 512; transform: rotate(2deg); }
.frame--inset { --frame-color: var(--yellow); left: 0; bottom: 0; width: 40%; aspect-ratio: 1; transform: rotate(-6deg); z-index: 2; }

.hero-sticker {
  position: absolute;
  z-index: 3;
  right: 6%;
  bottom: 2%;
  width: clamp(112px, 10.5vw, 132px);
  aspect-ratio: 1;
  margin: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 12px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy-deep);
  font-family: var(--font-script);
  font-size: clamp(21px, 1.7vw, 25px);
  font-weight: 700;
  line-height: 0.95;
  transform: rotate(-10deg);
  box-shadow: 0 0 0 5px var(--white), var(--shadow);
}
.hero-sticker span { display: block; font-family: var(--font-display); font-size: 1.4em; font-weight: 800; letter-spacing: -0.02em; }

/* Facts */
.facts {
  margin: clamp(32px, 4vw, 56px) 0 0;
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr 1.05fr;
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.fact { padding: 24px 26px 26px; position: relative; }
.fact + .fact::before {
  content: "";
  position: absolute;
  left: 0; top: 22px; bottom: 22px;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.fact dt {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.fact dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.25;
}
/* Session dates as a 2×2 grid, read left to right: June 21–25, Aug 2–6 / Aug 9–13, Aug 16–20 */
.fact-lines { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 2px clamp(14px, 1.6vw, 22px); }
.fact small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--on-dark-muted);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.meaning { margin-top: 32px; display: flex; align-items: center; gap: 22px; }
.meaning-he {
  flex: none;
  font-family: var(--font-hebrew);
  font-size: clamp(52px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  padding: 0 0.08em;
  background: linear-gradient(transparent 58%, var(--cyan) 58%, var(--cyan) 84%, transparent 84%);
}
.meaning p { margin: 0; font-size: 18px; color: var(--muted); max-width: 16em; }
.meaning strong { color: var(--navy); }
.about-body p:not(.lead) { color: var(--muted); }
.about-body strong { color: var(--ink); }

.equation { padding-top: clamp(8px, 2vw, 24px); }
.eq-line {
  margin: 0 0 clamp(20px, 3vw, 36px);
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--navy);
  isolation: isolate;
}
.eq-line b { color: var(--cyan); font-weight: 700; margin-inline: 0.05em; }
.eq-line .eq-total { position: relative; display: inline-block; color: var(--navy-deep); }
.eq-line .eq-total::after {
  content: "";
  position: absolute;
  left: -0.04em; right: -0.04em; bottom: 0.04em;
  height: 0.2em;
  background: var(--yellow);
  z-index: -1;
  border-radius: 4px;
}
.eq-captions {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 2px solid var(--navy);
}
.eq-captions dt {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-ink);
}
.eq-captions dd { margin: 0; font-size: 16px; color: var(--muted); }

/* ---------- Photo band ---------- */
/* Full-width photo; needs a ≥1600px source (the build warns otherwise). Focus is set per photo in content/band.yml. */
.photo-band { margin: 0; height: clamp(300px, 42vw, 620px); overflow: hidden; background: var(--cyan-soft); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

/* ---------- Philosophy ---------- */
.philosophy { background: var(--navy-deep); color: var(--on-dark); overflow: hidden; }
.philo-sparks {
  position: absolute;
  right: 2%; top: 40px;
  width: min(380px, 40vw);
  pointer-events: none;
}
.philo-inner { position: relative; }
.philo-head { max-width: 760px; }
.philo-lede { font-size: 20px; color: var(--on-dark-muted); max-width: 34em; margin-bottom: 0; }

.might-list {
  margin: clamp(40px, 5vw, 64px) 0;
  display: grid;
  gap: clamp(6px, 1vw, 12px);
}
.might-list li {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
}
.might-list li:nth-child(2) { padding-left: clamp(0px, 7vw, 100px); }
.might-list li:nth-child(3) { padding-left: clamp(0px, 14vw, 200px); }
.hl { position: relative; white-space: nowrap; }
.hl::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: 0.04em;
  height: 0.12em;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.35;
}
.hl--pink { color: var(--pink); }
.hl--cyan { color: var(--cyan); }
.hl--yellow { color: var(--yellow); }
.hl--orange { color: var(--orange); }
.hl--green { color: var(--green); }
.hl--purple { color: var(--purple-light); }
.philo-body {
  max-width: 44em;
  margin: 0;
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--on-dark-muted);
  font-size: 18px;
}

/* ---------- Academies ---------- */
@media (min-width: 1440px) { .academy-group { margin-inline: -60px; } }

.academy-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.academy-index a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s var(--ease-out);
}
.academy-index a::before {
  content: "";
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
}
.academy-index a:hover { border-color: var(--navy); transform: translateY(-2px); color: var(--navy); }
@media (min-width: 1180px) { .academy-index small { display: none; } }
.academy-index small { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.academy-group + .academy-group { margin-top: clamp(48px, 5vw, 72px); }
.group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.group-title::after { content: ""; flex: 1; height: 2px; background: var(--line); margin-left: 8px; }
.group-spark { width: 26px; height: 26px; flex: none; }
.group-note {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--yellow);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-deep);
}
.group-lede { max-width: 48em; margin: -8px 0 24px; color: var(--muted); }

.academy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.academy-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
@media (hover: hover) { .academy-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); } }
.academy-card:target { box-shadow: 0 0 0 3px var(--accent), var(--shadow); }
.academy-media {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 10px 10px 0;
  background: var(--accent);
}
.academy-media img, .academy-media .illo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 round 12px 12px 0 0);
}
.academy-body { flex: 1; padding: 20px 22px 18px; display: flex; flex-direction: column; }
.academy-body > p { font-size: 15.5px; color: var(--muted); margin-bottom: 14px; }
.academy-name {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.academy-body > .academy-tagline {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--accent-ink);
}
.academy-body > .academy-meta {
  margin: -4px 0 12px;
  font-size: 13.5px;
  font-style: italic;
  color: var(--muted);
}
.academy-body > .academy-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.academy-badges span {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--navy);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.academy-badges span + span { background: var(--cyan-soft); color: var(--navy-deep); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

.chips li {
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, var(--cyan)) 22%, white);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy-deep);
}

.more { border-top: 1px solid var(--line); margin-top: auto; }
.more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding-top: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-ink, var(--navy));
  cursor: pointer;
  list-style: none;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after {
  content: "";
  width: 26px; height: 26px;
  flex: none;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 10px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 10px no-repeat,
    color-mix(in srgb, var(--accent, var(--cyan)) 28%, white);
  transition: transform 0.3s var(--ease-out);
}
.more[open] summary::after { transform: rotate(45deg); }
.more p { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.more .fine { font-size: 13.5px; font-style: italic; }

/* June sports: two wide horizontal cards on large screens */
@media (min-width: 1180px) {
  .academy-group--sports .academy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .academy-group--sports .academy-card { flex-direction: row; }
  .academy-group--sports .academy-media { flex: 0 0 44%; aspect-ratio: auto; padding: 10px 0 10px 10px; }
  .academy-group--sports .academy-media img { clip-path: inset(0 round 12px 0 0 12px); }
}

/* Carousel controls (added by JS when a row scrolls) */
.carousel-nav { display: none; gap: 8px; margin-left: 4px; order: 2; }
.group-title::after { order: 1; }
.is-scrollable .carousel-nav { display: flex; }
.carousel-nav button {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}
.carousel-nav button:hover { background: var(--cyan-soft); }
.carousel-nav button:disabled { opacity: 0.35; cursor: default; }
.carousel-nav svg { width: 18px; height: 18px; }
.carousel-nav button:first-child svg { transform: scaleX(-1); }
@media (hover: none), (max-width: 640px) { .carousel-nav { display: none !important; } }

/* ---------- Chugim ---------- */
.chugim { background: var(--cyan-soft); overflow: hidden; }
.chugim-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.chugim-copy p:not(.lead):not(.hand-note) { color: var(--muted); }
.hand-note {
  display: inline-block;
  margin: 4px 0 0;
  font-family: var(--font-script);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--blue-ink);
  transform: rotate(-2deg);
}

.chug-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 10px; }
.chug-cloud li {
  padding: 9px 18px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 3px 0 var(--navy);
  transition: transform 0.3s var(--ease-out);
}
.chug-cloud li:nth-child(4n+1) { transform: rotate(-3deg); }
.chug-cloud li:nth-child(4n+2) { transform: rotate(2deg); }
.chug-cloud li:nth-child(4n+3) { transform: rotate(-1deg); }
.chug-cloud li:nth-child(4n) { transform: rotate(3deg); }
.chug-cloud li:nth-child(6n+1) { background: var(--yellow); }
@media (hover: hover) { .chug-cloud li:hover { transform: rotate(0) translateY(-4px) scale(1.05); } }

.polaroids {
  margin: clamp(48px, 6vw, 72px) auto 0;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
}
.polaroid {
  padding: 10px 10px 0;
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease-out);
}
.polaroid:nth-child(1) { transform: rotate(-3deg); }
.polaroid:nth-child(2) { transform: rotate(1.5deg) translateY(16px); }
.polaroid:nth-child(3) { transform: rotate(-1deg); }
@media (hover: hover) { .polaroid:hover { transform: rotate(0) translateY(-6px); } }
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.polaroid figcaption {
  padding: 6px 4px 8px;
  text-align: center;
  font-family: var(--font-script);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- Day ---------- */
.day-ribbon { margin-bottom: clamp(36px, 4.5vw, 56px); }
.ribbon-bar { display: flex; gap: 4px; height: 60px; }
.seg {
  flex: var(--m) 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  padding-left: 14px;
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--navy-deep);
}
.seg b { font-weight: 700; white-space: nowrap; }
.seg--arrive { background: var(--yellow); padding-left: 0; }
.seg--academy { background: var(--navy); color: #fff; font-size: 20px; }
.seg--chug { background: var(--cyan); }
.seg--lunch { background: var(--green); }
.seg--sports { background: var(--pink); }
.ribbon-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.day-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.schedule { position: relative; --time-col: 196px; }
.schedule::before {
  content: "";
  position: absolute;
  left: calc(var(--time-col) + 22px); top: 18px; bottom: 18px;
  width: 2px;
  background: var(--line);
}
.slot {
  position: relative;
  display: grid;
  grid-template-columns: var(--time-col) minmax(0, 1fr);
  gap: 52px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.slot:last-child { border-bottom: 0; }
.slot::before {
  content: "";
  position: absolute;
  left: calc(var(--time-col) + 15px); top: 22px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--dot, var(--cyan));
  box-shadow: 0 0 0 4px var(--paper);
}
.slot-time {
  padding-top: 2px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.slot h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--navy-deep); }
.slot p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.slot--arrive { --dot: var(--yellow); }
.slot--academy { --dot: var(--navy); }
.slot--academy h3 { font-size: 26px; font-weight: 800; color: var(--navy); }
.slot--academy::before { width: 22px; height: 22px; left: calc(var(--time-col) + 12px); top: 22px; }
.slot--chug { --dot: var(--cyan); }
.slot--lunch { --dot: var(--green); }
.slot--sports { --dot: var(--pink); }
.slot--dismiss { --dot: var(--navy-deep); }

.frame--serious { position: relative; --frame-color: var(--pink); transform: rotate(-2deg); margin-bottom: 40px; aspect-ratio: 3 / 2; }
.serious-title {
  margin-bottom: 16px;
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.serious-title span { color: var(--blue-ink); }
.serious p { color: var(--muted); }
.serious strong { color: var(--ink); }

/* ---------- Community ---------- */
.community { background: var(--white); }
.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.community-art { position: relative; aspect-ratio: 1 / 0.9; }
.frame--hands { --frame-color: var(--purple); left: 0; top: 0; width: 84%; aspect-ratio: 3 / 2; transform: rotate(-2.5deg); }
.frame--happy { --frame-color: var(--yellow); right: 0; bottom: 4%; width: 58%; aspect-ratio: 3 / 2; transform: rotate(3deg); z-index: 1; }
.community-copy p:not(.lead) { color: var(--muted); }

.values {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 64px);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--cyan-soft);
}
.values li { display: flex; flex-direction: column; align-items: flex-start; }
.value-he {
  font-family: var(--font-hebrew);
  font-size: clamp(52px, 6.4vw, 88px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
.value-word {
  margin: 4px 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-ink);
}
.value-en { font-size: 15.5px; line-height: 1.45; color: var(--muted); max-width: 20em; }
.checklist { margin-top: 24px; display: grid; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--ink); }
.checklist svg { width: 18px; height: 18px; margin-top: 4px; flex: none; color: var(--orange); }

/* ---------- Why ---------- */
.why { background: var(--paper-2); }
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.why-list {
  margin-top: clamp(28px, 3.5vw, 40px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 36px;
}
.why-list li { position: relative; padding-left: 30px; }
.why-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 16px; height: 16px;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 7.1 4.9 11.1 12 12-7.1.9-11.1 4.9-12 12-.9-7.1-4.9-11.1-12-12C7.1 11.1 11.1 7.1 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 7.1 4.9 11.1 12 12-7.1.9-11.1 4.9-12 12-.9-7.1-4.9-11.1-12-12C7.1 11.1 11.1 7.1 12 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.why-list h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); margin-bottom: 4px; }
.why-list p { margin: 0; font-size: 15.5px; color: var(--muted); }
.why-side { position: sticky; top: calc(var(--header-h) + 32px); }
.frame--why { position: relative; --frame-color: var(--cyan); aspect-ratio: 16 / 9; transform: rotate(1.5deg); margin-bottom: 44px; }
.operator-card {
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.operator-label { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.operator-logo { display: inline-block; transition: transform 0.25s var(--ease-out); }
.operator-logo:hover { transform: translateY(-2px); }
.operator-logo img { width: 170px; }
.operator-card p:last-child { margin: 12px 0 0; font-size: 15px; color: var(--muted); }

/* ---------- Sessions ---------- */
.sessions { background: var(--navy-deep); color: var(--on-dark); }
.sessions .section-lede { color: var(--on-dark-muted); }
.tickets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease-out);
}
@media (hover: hover) { .ticket:hover { transform: translateY(-6px) rotate(-0.6deg); } }
.ticket-main { padding: 26px 24px 24px; flex: 1; position: relative; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.ticket-main::before {
  content: "";
  position: absolute;
  right: -46px; top: -46px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: var(--cyan);
}
.ticket-label {
  position: relative;
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}
.ticket-date { display: flex; flex-direction: column; margin: 0; font-family: var(--font-display); color: var(--navy); line-height: 0.92; }
.ticket-month { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.ticket-days { font-size: clamp(48px, 4.6vw, 68px); font-weight: 800; letter-spacing: -0.02em; }
.ticket-days .dash { margin-inline: 0.05em; }
.ticket-sub { margin: 12px 0 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.ticket-extra {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
}
.ticket-extra svg { width: 16px; height: 16px; margin-top: 3px; color: var(--orange); flex: none; }
.ticket-stub { position: relative; padding: 20px 24px 24px; border-top: 2px dashed rgba(1, 51, 108, 0.25); }
.ticket-stub::before, .ticket-stub::after {
  content: "";
  position: absolute;
  top: -14px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--navy-deep);
}
.ticket-stub::before { left: -13px; }
.ticket-stub::after { right: -13px; }
.session-note { margin: 28px 0 0; max-width: 52em; font-size: 15px; color: var(--on-dark-muted); }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  grid-template-areas:
    "head list"
    "contact list";
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-head { grid-area: head; }
.faq-list { grid-area: list; }
.contact-card {
  grid-area: contact;
  position: sticky;
  top: calc(var(--header-h) + 32px);
  margin-top: 32px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-title { margin: 0 0 4px; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.contact-card > p:not(.contact-title) { color: var(--muted); }
.contact-list { display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: baseline; gap: 12px; font-weight: 600; }
.contact-list li > span:first-child { width: 48px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 21px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background:
    linear-gradient(var(--navy), var(--navy)) center / 12px 2.5px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 2.5px 12px no-repeat;
  transition: transform 0.3s var(--ease-out), background-color 0.2s;
}
.faq-item summary:hover { color: var(--blue-ink); }
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--cyan); }
.faq-answer { padding: 0 56px 22px 0; }
.faq-answer p { margin: 0; color: var(--muted); font-size: 17px; }
.faq-answer strong { color: var(--ink); }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  padding-block: clamp(80px, 10vw, 136px);
  background: var(--orange);
  color: var(--navy-deep);
  overflow: hidden;
  isolation: isolate;
}
.final-sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.final-maybe p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.4;
}
.rotator-wrap { display: flex; align-items: center; gap: 14px; margin: 4px 0 !important; }
.rotator {
  display: grid;
  transition: width 0.45s var(--ease-out);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--navy-deep);
}
.rotator > span {
  grid-area: 1 / 1;
  justify-self: start;
  padding: 0 0.12em;
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.6em);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.rotator > span.is-active { opacity: 1; transform: none; }
.rotator > span.is-leaving { opacity: 0; transform: translateY(-0.6em); }
.rotator-toggle {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border: 2px solid var(--navy-deep);
  border-radius: 50%;
  background: transparent;
  color: var(--navy-deep);
  cursor: pointer;
  opacity: 0.7;
}
.rotator-toggle:hover { opacity: 1; background: rgba(255, 255, 255, 0.25); }
.rotator-toggle svg { width: 16px; height: 16px; }
.final-title {
  margin: clamp(18px, 2.5vw, 30px) 0 clamp(24px, 3vw, 36px);
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--navy-deep);
}
.final-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.final-recap { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.5; }
.frame--final { position: relative; --frame-color: var(--navy-deep); width: 100%; max-width: 440px; aspect-ratio: 6 / 5; justify-self: center; transform: rotate(3deg); }
.frame--final img { border-color: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-muted); padding-top: clamp(56px, 6vw, 88px); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
}
.footer-tagline { margin-top: 18px; font-size: 14px; }
.footer-heading {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer-col ul { display: grid; gap: 8px; font-size: 15px; }
.footer-col a { color: var(--on-dark); }
.footer-col a:hover { color: var(--yellow); }
.footer-nl { display: inline-block; }
.footer-nl img { width: 150px; filter: brightness(0) invert(1); opacity: 0.9; transition: opacity 0.2s; }
.footer-nl:hover img { opacity: 1; }
.footer-operator p { font-size: 14px; margin: 12px 0 0; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--on-dark); text-decoration: none; }
.footer-bottom a:hover { color: var(--yellow); }
.site-footer .placeholder { color: var(--on-dark); }

/* ---------- Mobile CTA + toast ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
}
.mobile-cta.is-visible { transform: none; visibility: visible; transition: transform 0.35s var(--ease-out); }
.mobile-cta-dates {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  text-decoration: none;
}
.mobile-cta-dates small { font-family: var(--font-body); font-size: 11.5px; font-weight: 600; color: var(--muted); }
.mobile-cta .btn { min-height: 48px; padding-inline: 20px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 70;
  width: max-content;
  max-width: min(92vw, 480px);
  padding: 14px 20px;
  background: var(--navy-deep);
  color: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-weight: 600;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
.toast:empty { padding: 0; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes pop-main { from { opacity: 0; transform: rotate(-4deg) scale(0.94); } }
@keyframes pop-inset { from { opacity: 0; transform: rotate(-16deg) translateY(30px); } }
@keyframes pop-sticker { from { opacity: 0; transform: rotate(-40deg) scale(0.4); } }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out) var(--reveal-delay, 0s), transform 0.8s var(--ease-out) var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .academy-card[data-reveal].is-visible,
.js .ticket[data-reveal].is-visible {
  transition: opacity 0.8s var(--ease-out) var(--reveal-delay, 0s), transform 0.35s var(--ease-out) var(--reveal-delay, 0s), box-shadow 0.35s var(--ease-out);
}
@media (hover: hover) {
  .js .academy-card[data-reveal].is-visible:hover { transform: translateY(-6px); }
  .js .ticket[data-reveal].is-visible:hover { transform: translateY(-6px) rotate(-0.6deg); }
}
.js .frame--final[data-reveal] { transform: rotate(8deg) translateY(28px); }
.js .frame--final[data-reveal].is-visible { transform: rotate(3deg); }

/* Hero entrance: one orchestrated sequence */
.js .hero-copy > *, .js .hero-art > *, .js .facts { animation: rise 0.9s var(--ease-out) both; }
.js .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
.js .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
.js .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
.js .hero-copy > :nth-child(5) { animation-delay: 0.24s; }
.js .facts { animation-delay: 0.36s; }
.js .hero-art > .frame--main { animation-name: pop-main; animation-delay: 0.15s; }
.js .hero-art > .frame--inset { animation-name: pop-inset; animation-delay: 0.4s; }
.js .hero-art > .hero-sticker { animation-name: pop-sticker; animation-delay: 0.7s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .rotator-toggle { display: none; }
}

@media print {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .site-header, .mobile-cta, .toast { display: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1179px) {
  /* Academy cards become swipeable rows (buttons on pointer devices, swipe on touch) */
  .academy-grid,
  .academy-group--sports .academy-grid {
    display: flex;
    gap: 16px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  .academy-card { flex: 0 0 min(42%, 400px); scroll-snap-align: start; }
  .js .academy-card[data-reveal] { opacity: 1; transform: none; }
  .facts { grid-template-columns: 0.9fr 1.3fr 1.05fr 1fr; } /* keeps "9:00 AM – 3:00 PM" on one line down to 981px */
  .fact { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-list a { padding: 8px 9px; font-size: 15px; }
  .site-nav { gap: 14px; }
  .why-list { grid-template-columns: 1fr; }
  .schedule { --time-col: 176px; }
  .slot-time { font-size: 14.5px; }
}
@media (max-width: 1179px) and (hover: none) {
  .is-scrollable .group-title::after { content: "Swipe →"; flex: 1; height: auto; background: none; margin-left: 0; text-align: right; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
}

@media (max-width: 1040px) {
  .site-logo img { height: 48px; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .site-logo img { height: 46px; }
  .nav-toggle { display: block; }
  .site-header .site-logo { position: relative; z-index: 60; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 32px;
    padding: 96px var(--gutter) 40px;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-out), visibility 0s linear 0.3s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transition: opacity 0.3s var(--ease-out), visibility 0s; }
  .nav-list { flex-direction: column; gap: 2px; }
  .nav-list a { padding: 10px 0; font-size: clamp(32px, 8vw, 44px); font-weight: 800; letter-spacing: -0.025em; border-radius: 0; }
  .nav-list a:hover { background: none; color: var(--blue-ink); }
  .nav-list a.is-active::after { display: none; }
  .nav-register { align-self: flex-start; min-height: 56px; font-size: 18px; padding-inline: 28px; }
  .nav-open { overflow: hidden; }
  /* backdrop-filter would trap the fixed menu inside the header box */
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  html { scroll-padding-bottom: 96px; }

  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "facts" "art"; }
  .hero-art { justify-self: center; max-width: 540px; margin-top: clamp(40px, 8vw, 64px); }
  .facts { margin-top: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3)::before { display: none; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.14); }

  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .about-grid, .chugim-grid, .community-grid, .day-grid { grid-template-columns: 1fr; }
  .community-art { max-width: 540px; }
  .faq-grid { grid-template-columns: 1fr; grid-template-areas: "head" "list" "contact"; }
  .faq-head { margin-bottom: 28px; }
  .contact-card { position: static; }
  .final-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  .site-footer { padding-bottom: 84px; }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }

  /* Why: put the "Operated by" trust card right after the intro */
  .why-grid { display: flex; flex-direction: column; gap: 0; }
  .why-copy, .why-side { display: contents; }
  .why-copy > .eyebrow { order: 1; align-self: flex-start; }
  .why-copy > .display { order: 2; }
  .why-copy > .section-lede { order: 3; margin-top: 20px; }
  .operator-card { order: 4; margin-top: 28px; max-width: 560px; }
  .why-list { order: 5; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frame--why { display: none; }
}

@media (max-width: 1179px) {
  .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 560px) and (max-width: 900px) {
  .ticket-main { padding: 22px 18px; }
  .ticket-stub { padding: 18px 18px 22px; }
  .ticket-days { font-size: 52px; }
  .ticket-btn-session { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 559px) {
  .tickets { grid-template-columns: 1fr; max-width: 520px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-title { font-size: clamp(56px, 16vw, 72px); }
  .hero-actions .btn { width: 100%; }
  .fact { padding: 16px 16px 18px; }
  .fact dd { font-size: 16.5px; }
  .fact small { font-size: 12.5px; }
  /* Facts: When across the top, Who + Camp day side by side, Where across the bottom */
  .fact:nth-child(2) { grid-column: 1 / -1; order: -1; }
  .fact:nth-child(4) { grid-column: 1 / -1; }
  .fact::before, .fact:nth-child(3)::before { display: none; }
  .fact { border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .fact:nth-child(2) { border-top: 0; }
  .fact:nth-child(3) { border-left: 1px solid rgba(255, 255, 255, 0.14); }
  .meaning { flex-direction: column; align-items: flex-start; gap: 6px; }
  .might-list li:nth-child(n) { padding-left: 0; }
  .philo-sparks { top: auto; bottom: 16px; width: 60vw; opacity: 0.6; }
  .eq-captions { grid-template-columns: 1fr; gap: 16px; }

  .academy-card { flex-basis: 84%; }

  .polaroids {
    display: flex;
    gap: 18px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 12px var(--gutter) 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .polaroid { flex: 0 0 64%; scroll-snap-align: center; }
  .polaroid:nth-child(2) { transform: rotate(1.5deg); }

  .day-ribbon { display: none; }
  .schedule { --time-col: 0px; }
  .schedule::before { left: 7px; }
  .slot { grid-template-columns: 1fr; gap: 2px; padding-left: 36px; }
  .slot::before { left: 0; top: 20px; }
  .slot--academy::before { left: -3px; top: 18px; }
  .eyebrow { font-size: 12px; letter-spacing: 0.12em; }
  .chug-cloud { gap: 10px 8px; }
  .chug-cloud li { padding: 7px 14px; font-size: 15px; }
  .values { grid-template-columns: 1fr; gap: 22px; }
  .values li { display: grid; grid-template-columns: 112px 1fr; column-gap: 14px; align-items: center; }
  .value-he { grid-row: span 2; font-size: 44px; }
  .value-word { margin: 0; }
  .why-list { grid-template-columns: 1fr; gap: 20px; }
  .faq-answer { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .final-actions .btn { width: 100%; }
  .rotator { font-size: clamp(28px, 8.4vw, 40px); }
  .rotator-wrap { gap: 10px; }
  .ticket-days { font-size: 68px; }
}

@media (max-width: 380px) {
  .site-logo img { height: 40px; }
  .mobile-cta-dates { font-size: 14.5px; }
}
