/* ==========================================================================
   Begin2Code - homepage (dark, cinematic)

   Design plan
   - The page is a dark hall (--night). Colour arrives as light: the venue
     footage, neon tubes in the four logo tile colours, glowing status and the
     primary button. Panels are navy, borders are the logo's navy outline.
   - Neon rule: a soft layered glow, one colour per element, only where it
     means something (hero letters, primary buttons, live status, framed clips,
     the party price, the evening timeline).
   - Type: Unbounded for display (700 to 900, huge and tight), Manrope for
     reading. No tracked-out capitals.
   - Motion: one signature (the PLAY letters strike up like tubes, then the
     camera flies through the A into the venue). Everything else shares two
     eases and three durations, mirrored in cinematic.js.
   ========================================================================== */

:root {
  /* palette, from the logo */
  --night: #0A0F2C;
  --night-2: #070A21;
  --navy: #141B46;
  --line: #1E2A5E;
  --pink: #FF4FA3;
  --cyan: #2EC5F5;
  --lime: #8EDB2B;
  --sun: #FFD23F;
  --orange: #FF8A1F;
  --text: #F5F7FF;
  --muted: #AEB6DD;
  --paper: #F4F6FF;
  --ink: #0A0F2C;
  --hair: rgb(245 247 255 / .12);

  /* glow recipes: one colour each */
  --glow-pink: 0 0 0 1px rgb(255 79 163 / .7), 0 0 18px rgb(255 79 163 / .55), 0 0 46px rgb(255 79 163 / .32);
  --glow-pink-hi: 0 0 0 1px rgb(255 79 163 / .9), 0 0 24px rgb(255 79 163 / .75), 0 0 70px rgb(255 79 163 / .45);
  --glow-lime-dot: 0 0 0 3px rgb(142 219 43 / .16), 0 0 12px 2px rgb(142 219 43 / .75);

  /* type */
  --f-display: "Unbounded", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-outline: "Unbounded Outline", "Unbounded", "Arial Black", sans-serif;
  --step-hero: clamp(2.1rem, .9rem + 5.1vw, 5.6rem);
  --step-h2: clamp(2.15rem, 1.05rem + 4.1vw, 5.25rem);
  --step-h2-md: clamp(1.9rem, 1.05rem + 2.9vw, 3.9rem);
  --step-h2-sm: clamp(1.7rem, 1.1rem + 2vw, 3rem);
  --step-h3: clamp(1.3rem, 1rem + 1vw, 1.9rem);
  --step-lead: clamp(1.05rem, .98rem + .3vw, 1.3rem);
  --step-body: clamp(1rem, .97rem + .14vw, 1.0625rem);

  /* space */
  --gutter: clamp(16px, 4.2vw, 72px);
  --wrap: 1320px;
  --sec: clamp(84px, 4rem + 5vw, 164px);
  --radius: clamp(18px, 1.2rem + .6vw, 30px);
  --hdr-h: 72px;

  /* motion (CustomEase "ps.out" and "ps.io" in JS use the same curves) */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --d-fast: .45s;
  --d-base: .9s;
  --d-slow: 1.4s;
}

@media (min-width: 1024px) {
  :root { --hdr-h: 88px; }
}

/* ---------- fonts ---------- */
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
/* static Unbounded 700 with overlaps removed, so outlined type has no stray inner lines */
@font-face {
  font-family: "Unbounded Outline";
  src: url("../fonts/unbounded-outline.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--night);
  color-scheme: dark;
}
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--step-body);
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
#smooth-content { overflow-x: clip; }
img, video, svg, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; color: inherit; }
main:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 8px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}
.sec { padding-block: var(--sec); }

/* ---------- type ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--step-h2);
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.h2--md { font-size: var(--step-h2-md); line-height: 1.02; letter-spacing: -.03em; }
.h2--sm { font-size: var(--step-h2-sm); line-height: 1.05; letter-spacing: -.03em; }
.line-mask { padding-block: .1em; margin-block: -.1em; }

.sec-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(44px, 2rem + 4vw, 96px);
}
.sec-head__intro {
  color: var(--muted);
  font-size: var(--step-lead);
  line-height: 1.55;
  max-width: 38ch;
  margin: 0;
}
@media (min-width: 900px) {
  .sec-head { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 48px; }
  .sec-head__intro { justify-self: end; padding-bottom: .4em; }
}
.sec-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 40px; }

.link {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .3em;
  text-decoration-color: rgb(245 247 255 / .4);
  transition: text-decoration-color .3s, color .3s;
}
.link:hover { text-decoration-color: var(--pink); color: #fff; }

/* ---------- glowing ball (the logo's ball-pit balls) ---------- */
.ball {
  display: inline-block;
  flex: none;
  width: .8em;
  height: .8em;
  border-radius: 50%;
  background: var(--c, var(--pink));
  background: radial-gradient(circle at 34% 30%, rgb(255 255 255 / .95) 0 9%, var(--c, var(--pink)) 36%, color-mix(in srgb, var(--c, var(--pink)) 62%, #000) 100%);
  box-shadow: 0 0 10px color-mix(in srgb, var(--c, var(--pink)) 75%, transparent), 0 0 26px color-mix(in srgb, var(--c, var(--pink)) 40%, transparent);
}

/* ---------- buttons ---------- */
.btn {
  --bh: 56px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: var(--bh);
  padding: 0 1.65em;
  border: 0;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: .005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--d-fast) var(--ease-out), box-shadow var(--d-fast) var(--ease-out), background-color .3s, color .3s, border-color .3s;
}
.btn--sm { --bh: 46px; padding: 0 1.25em; font-size: .9375rem; }
.btn--pink {
  background: var(--pink);
  color: var(--ink);
  box-shadow: var(--glow-pink);
}
.btn--pink:hover { transform: translateY(-2px); box-shadow: var(--glow-pink-hi); }
.btn--pink:active { transform: translateY(0); }
.btn--ghost {
  color: var(--text);
  background: rgb(245 247 255 / .03);
  box-shadow: inset 0 0 0 1.5px rgb(245 247 255 / .34);
}
.btn--ghost:hover { background: rgb(245 247 255 / .09); box-shadow: inset 0 0 0 1.5px rgb(245 247 255 / .9); transform: translateY(-2px); }

.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.ctas--center { justify-content: center; }
.ctas--stack { flex-direction: column; align-items: flex-start; gap: 18px; }

/* ---------- live status ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  margin: 0;
  padding: .55em 1em .55em .85em;
  border-radius: 999px;
  background: rgb(10 15 44 / .55);
  box-shadow: inset 0 0 0 1px rgb(245 247 255 / .16);
  color: var(--text);
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1.2;
}
.status__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex: none;
  background: var(--muted);
}
.status.is-open { box-shadow: inset 0 0 0 1px rgb(142 219 43 / .45), 0 0 26px -6px rgb(142 219 43 / .55); }
.status.is-open .status__text { color: #C9F59B; text-shadow: 0 0 14px rgb(142 219 43 / .55); }
.status.is-open .status__dot { background: var(--lime); box-shadow: var(--glow-lime-dot); animation: pulse 2.6s ease-in-out infinite; }
.status.is-closed .status__dot { background: var(--orange); box-shadow: 0 0 8px rgb(255 138 31 / .6); }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}
.status--lg { font-size: 1rem; }

/* ---------- neon-edged frame for footage ---------- */
.frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
  box-shadow: 0 0 0 1.5px var(--c, var(--pink));
  box-shadow: 0 0 0 1.5px var(--c, var(--pink)), 0 0 22px -2px color-mix(in srgb, var(--c, var(--pink)) 65%, transparent), 0 0 80px -12px color-mix(in srgb, var(--c, var(--pink)) 55%, transparent);
}
.frame { background-size: cover; background-position: center; }
.frame video, .frame img { width: 100%; height: 100%; object-fit: cover; }
/* with scripting off, browsers show native controls on video: show the poster behind it instead */
html.no-js video { visibility: hidden; }
.frame video { filter: saturate(1.12) contrast(1.05); }
.frame::after {
  /* faint film grain and inner vignette to keep 848x480 footage soft and cinematic */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("../img/grain.png"), radial-gradient(120% 90% at 50% 45%, transparent 55%, rgb(10 15 44 / .45));
  background-size: 160px 160px, auto;
  opacity: .9;
  mix-blend-mode: soft-light;
}

/* ==========================================================================
   Header
   ========================================================================== */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: linear-gradient(rgb(10 15 44 / .82), rgb(10 15 44 / 0));
  transition: transform .6s var(--ease-out), background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.hdr.is-solid {
  background: rgb(10 15 44 / .84);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgb(245 247 255 / .08);
}
.hdr.is-hidden:not(:focus-within) { transform: translateY(-105%); }
html.menu-open .hdr { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.hdr__in {
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 36px);
  padding-inline: var(--gutter);
  max-width: 1760px;
  margin-inline: auto;
}
.hdr__logo { flex: none; border-radius: 10px; }
.hdr__logo img { width: clamp(78px, 4.4rem + 2vw, 112px); height: auto; }
.hdr__nav { display: none; flex: 1; }
.hdr__nav ul { display: flex; justify-content: center; gap: clamp(14px, 1.7vw, 30px); }
.hdr__nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}
.hdr__nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 6px;
  width: 6px; height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
  opacity: 0;
  transform: translateY(4px) scale(.4);
  transition: opacity .3s, transform .4s var(--ease-out);
}
.hdr__nav a:hover { color: var(--text); }
.hdr__nav a:hover::after { opacity: 1; transform: none; }
.hdr__actions { margin-left: auto; display: flex; align-items: center; gap: clamp(10px, 1.2vw, 20px); }
.hdr__tel {
  display: none;
  min-height: 44px;
  align-items: center;
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
  white-space: nowrap;
}
.hdr__tel:hover { color: var(--pink); }
.hdr__menu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  min-width: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgb(245 247 255 / .06);
  box-shadow: inset 0 0 0 1.5px rgb(245 247 255 / .22);
  font-weight: 700;
  font-size: .9375rem;
  cursor: pointer;
}
.hdr__menu-icon { position: relative; width: 18px; height: 10px; }
.hdr__menu-icon i {
  position: absolute; left: 0; right: 0;
  height: 2px; border-radius: 2px;
  background: currentColor;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.hdr__menu-icon i:first-child { top: 0; }
.hdr__menu-icon i:last-child { top: 8px; }
.hdr__menu[aria-expanded="true"] .hdr__menu-icon i:first-child { top: 4px; transform: rotate(45deg); }
.hdr__menu[aria-expanded="true"] .hdr__menu-icon i:last-child { top: 4px; transform: rotate(-45deg); }
@media (max-width: 419px) {
  .hdr__menu { padding: 0; justify-content: center; }
  .hdr__menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .hdr__book { padding: 0 1em; }
}
@media (min-width: 1200px) {
  .hdr__nav { display: block; }
  .hdr__menu { display: none; }
}
@media (min-width: 1360px) {
  .hdr__tel { display: inline-flex; }
}
@media (prefers-reduced-motion: no-preference) {
  html.js .hdr { animation: hdr-in 1.1s var(--ease-out) 1.5s both; }
}
@keyframes hdr-in { from { opacity: 0; transform: translateY(-24px); } }

/* mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  overflow-y: auto;
  background: rgb(7 10 33 / .97);
  padding: calc(var(--hdr-h) + 16px) var(--gutter) 32px;
  opacity: 0;
  transition: opacity .35s ease;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__in { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; max-width: 640px; }
.menu__list li { border-bottom: 1px solid var(--hair); }
.menu__list a {
  display: flex;
  align-items: center;
  min-height: 60px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 1rem + 2.6vw, 2.2rem);
  letter-spacing: -.03em;
  text-decoration: none;
  transform: translateY(14px);
  opacity: 0;
  transition: transform .6s var(--ease-out), opacity .5s ease, color .3s;
}
.menu.is-open .menu__list a { transform: none; opacity: 1; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .04s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .08s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .12s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .16s; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: .2s; }
.menu.is-open .menu__list li:nth-child(7) a { transition-delay: .24s; }
.menu__list a:hover { color: var(--pink); }
.menu__foot { display: grid; gap: 18px; justify-items: start; }
.menu__contact { display: grid; gap: 4px; margin: 0; }
.menu__contact a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }

/* ==========================================================================
   Hero: PLAY as a window onto the venue
   ========================================================================== */
.hero { position: relative; background: var(--night); }
.hero__stage { position: relative; }
.hero__word { position: relative; }
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--night) url("../img/poster-builder.jpg") center / cover no-repeat;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.22) contrast(1.08) brightness(.95);
  transform-origin: 50% 50%;
}
.fx { position: absolute; pointer-events: none; }
/* grade and grain use plain alpha blending: near-identical over dark footage and far cheaper to composite */
.fx--grade {
  inset: 0;
  background:
    radial-gradient(125% 95% at 50% 42%, rgb(10 15 44 / 0) 52%, rgb(10 15 44 / .55) 100%),
    linear-gradient(115deg, rgb(255 79 163 / .16) 0%, rgb(255 79 163 / 0) 40%),
    linear-gradient(295deg, rgb(46 197 245 / .14) 0%, rgb(46 197 245 / 0) 44%),
    linear-gradient(rgb(10 15 44 / .14), rgb(10 15 44 / .14));
}
.fx--grain {
  inset: -60px;
  background: url("../img/grain.png") 0 0 / 160px 160px;
  opacity: .11;
}
@media (prefers-reduced-motion: no-preference) {
  /* the grain only jitters once the footage is full-bleed */
  .hero.is-open .fx--grain { animation: grain 1s steps(1) infinite; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: no-preference) {
  .fx--grain { animation: grain 1s steps(1) infinite; }
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  17% { transform: translate(-31px, 22px); }
  33% { transform: translate(18px, -40px); }
  50% { transform: translate(-46px, -12px); }
  67% { transform: translate(37px, 31px); }
  83% { transform: translate(-12px, 47px); }
}

/* SVG letters: one night-coloured path with letter-shaped holes (no masks or filters, so it is
   cheap to redraw in every browser), a dimmer per letter for the strike, and the neon tubes */
.hero__letters { position: absolute; inset: 0; width: 100%; height: 100%; display: none; overflow: hidden; }
.hero__letters .veil { fill: var(--night); fill-rule: evenodd; }
.hero__letters .dim { fill: var(--night); fill-rule: evenodd; opacity: 0; }
.hero__letters .portal { fill: var(--night); }
.tube { color: var(--c); }
.tube path {
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
/* the glow is built from stacked strokes, so no SVG filter is needed (cheap in every browser) */
.tube .tube__h3 { stroke-width: 26px; opacity: .06; }
.tube .tube__h2 { stroke-width: 14px; opacity: .11; }
.tube .tube__h1 { stroke-width: 7px; opacity: .3; }
.tube .tube__line { stroke-width: 3px; }
.tube .tube__core { stroke: #FFFFFF; stroke-width: 1.1px; opacity: .8; }
@media (max-width: 1023px) {
  .tube .tube__h3 { stroke-width: 16px; }
  .tube .tube__h2 { stroke-width: 9px; }
  .tube .tube__h1 { stroke-width: 5px; }
  .tube .tube__line { stroke-width: 2.4px; }
  .tube .tube__core { stroke-width: 1px; }
}

.hero__haze {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(38% 30% at 22% 50%, rgb(255 210 63 / .12), transparent 70%),
    radial-gradient(34% 30% at 42% 52%, rgb(255 79 163 / .16), transparent 70%),
    radial-gradient(34% 30% at 60% 50%, rgb(142 219 43 / .12), transparent 70%),
    radial-gradient(36% 30% at 80% 48%, rgb(46 197 245 / .15), transparent 70%);
}
.hero__shade { position: absolute; inset: 0; pointer-events: none; }
.hero__copy { position: relative; z-index: 5; }
.hero__status { margin-bottom: 22px; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--step-hero);
  line-height: .96;
  letter-spacing: -.04em;
  text-wrap: balance;
  margin: 0 0 .42em;
}
.hero__lead {
  font-size: var(--step-lead);
  line-height: 1.55;
  max-width: 46ch;
  margin: 0 0 30px;
  color: #DCE1F7;
}
.hero__meta { display: none; }
.hero__strap, .hero__cue { margin: 0; }

/* a faint reflection of the tubes on a glossy floor (desktop intro only) */
.hero__reflect { position: absolute; inset: 0; width: 100%; height: 100%; display: none; overflow: hidden; pointer-events: none; opacity: .28; }
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  html.js .hero__reflect { display: block; }
}

/* phones and tablets: letters block, copy, then a framed clip */
@media (max-width: 1023px) {
  .hero { padding: calc(var(--hdr-h) + clamp(12px, 4vw, 40px)) 0 clamp(64px, 12vw, 120px); }
  .hero__stage { display: flex; flex-direction: column; }
  .hero__word {
    width: min(100% - 2 * var(--gutter), 620px);
    margin-inline: auto;
    aspect-ratio: 1870 / 1690;
  }
  .hero__letters--stack { display: block; }
  .hero__haze { inset: 0 0 auto; height: min(100vw, 680px); }
  .hero__shade { display: none; }
  .hero__copy {
    width: min(100% - 2 * var(--gutter), 620px);
    margin: clamp(28px, 7vw, 48px) auto 0;
  }
  .hero__clip {
    width: min(100% - 2 * var(--gutter), 620px);
    margin: clamp(40px, 9vw, 64px) auto 0;
  }
  .hero__clip video { aspect-ratio: 16 / 9; }
  .hero__clip figcaption {
    position: absolute;
    left: 14px; bottom: 12px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgb(10 15 44 / .72);
    font-size: .8125rem;
    font-weight: 700;
  }
}

/* desktop: a full-viewport stage. At rest (no JS, reduced motion) this is the final frame. */
@media (min-width: 1024px) {
  .hero__stage { height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; }
  .hero__word { position: absolute; inset: 0; }
  .hero__clip { display: none; }
  .hero__shade {
    z-index: 4;
    background:
      linear-gradient(to top, rgb(10 15 44 / .96) 0%, rgb(10 15 44 / .78) 26%, rgb(10 15 44 / .2) 56%, rgb(10 15 44 / 0) 70%),
      linear-gradient(to right, rgb(10 15 44 / .72) 0%, rgb(10 15 44 / .3) 45%, rgb(10 15 44 / 0) 70%),
      linear-gradient(rgb(10 15 44 / .55), rgb(10 15 44 / 0) 22%);
  }
  .hero__copy {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: clamp(44px, 8vh, 104px);
    max-width: 1040px;
  }
  .hero__title { max-width: 13em; }
  .hero__meta {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: clamp(26px, 5vh, 52px);
    z-index: 5;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    font-size: .9375rem;
  }
  .hero__strap { width: 30%; max-width: 26ch; line-height: 1.5; }
  .hero__meta .status { justify-self: end; }
  .hero__cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    color: var(--text);
  }
  .hero__cue-line {
    width: 1.5px;
    height: 48px;
    background: linear-gradient(var(--text), rgb(245 247 255 / 0));
    transform-origin: 50% 0;
  }
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  html.js .hero__letters--line { display: block; }
  html.js .hero__meta { display: flex; }
  html.js .hero__shade { opacity: 0; }
  html.js .hero__cue-line { animation: cue 2.2s var(--ease-io) infinite; }
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: 50% 0; }
  45% { transform: scaleY(1); transform-origin: 50% 0; }
  55% { transform: scaleY(1); transform-origin: 50% 100%; }
  100% { transform: scaleY(0); transform-origin: 50% 100%; }
}
/* start states for the entrance, only when JS is running and motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  html.js .hero__letters .dim { opacity: 1; }
  html.js .hero__letters .tube { opacity: 0; }
  html.js .hero__copy > * { opacity: 0; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  html.js .hero__meta > * { opacity: 0; }
}

/* ==========================================================================
   Marquee of zone names
   ========================================================================== */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(26px, 3.6vw, 56px);
  border-block: 1px solid rgb(245 247 255 / .07);
  background: var(--night-2);
}
.marquee__track { display: flex; width: max-content; }
.marquee__set { display: flex; align-items: center; flex: none; }
.marquee span {
  padding-inline: .32em;
  font-family: var(--f-outline);
  font-weight: 700;
  font-size: clamp(3.25rem, 1.6rem + 7.4vw, 9.75rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  white-space: nowrap;
  color: rgb(245 247 255 / .18);
}
@supports (-webkit-text-stroke: 1px black) {
  .marquee span { color: transparent; -webkit-text-stroke: 1.4px rgb(245 247 255 / .74); }
}
.marquee .ball { width: clamp(16px, .7rem + .8vw, 28px); height: clamp(16px, .7rem + .8vw, 28px); }

/* ==========================================================================
   Ways in
   ========================================================================== */
.ways { position: relative; }
.ways__list { border-top: 1px solid var(--hair); }
.way { border-bottom: 1px solid var(--hair); }
.way__link {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  grid-template-areas: "thumb title go" "thumb desc go" "thumb price go";
  align-items: center;
  column-gap: 16px;
  row-gap: 4px;
  padding: 22px 0;
  text-decoration: none;
}
.way__n { display: none; }
.way__t {
  grid-area: title;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.25rem, .9rem + 2.2vw, 3rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  transition: transform .7s var(--ease-out), color .35s;
}
.way__d { grid-area: desc; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.way__p {
  grid-area: price;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c);
  white-space: nowrap;
}
.way__go {
  grid-area: go;
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgb(245 247 255 / .26);
  transition: background-color .35s, box-shadow .35s, transform .6s var(--ease-out);
}
.way__go::before, .way__go::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
}
.way__go::before { width: 14px; height: 1.8px; margin: -1px 0 0 -8px; background: currentColor; border-radius: 2px; }
.way__go::after {
  width: 8px; height: 8px;
  margin: -4.6px 0 0 -2px;
  border-top: 1.8px solid currentColor;
  border-right: 1.8px solid currentColor;
  transform: rotate(45deg);
  border-radius: 1px;
}
.way__thumb {
  grid-area: thumb;
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 0 0 1.5px var(--c);
}
.way__link:hover .way__go, .way__link:focus-visible .way__go {
  background: var(--c);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--c), 0 0 22px color-mix(in srgb, var(--c) 60%, transparent);
}
.ways__preview { display: none; }

@media (min-width: 900px) {
  .way__link {
    grid-template-columns: 56px minmax(0, 1.6fr) minmax(0, .9fr) minmax(140px, auto) 56px;
    grid-template-areas: "n title desc price go";
    column-gap: clamp(18px, 2.4vw, 40px);
    padding: clamp(26px, 2.6vw, 40px) 0;
  }
  .way__n { display: block; grid-area: n; align-self: center; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c), 0 0 2px var(--c); }
  .way__d { max-width: 30ch; font-size: 1rem; }
  .way__p { justify-self: end; font-size: clamp(1rem, .8rem + .5vw, 1.35rem); }
  .way__go { width: 56px; height: 56px; }
  .way__thumb { display: none; }
  .way__link:hover .way__t { transform: translateX(14px); color: var(--c); }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .ways__preview {
    display: block;
    position: absolute;
    left: 0; top: 0;
    z-index: 4;
    width: clamp(260px, 22vw, 360px);
    aspect-ratio: 4 / 3;
    margin: calc(clamp(260px, 22vw, 360px) * -.375) 0 0 0;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
  }
  .ways__frame {
    position: relative;
    width: 100%; height: 100%;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 0 0 1.5px var(--pc, var(--pink)), 0 0 40px -6px var(--pc, var(--pink)), 0 30px 60px -20px rgb(0 0 0 / .8);
  }
  .ways__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
}

/* ==========================================================================
   Inside the frame (reel)
   ========================================================================== */
.reel { position: relative; padding-block: var(--sec); background: var(--night); }
.reel__track {
  display: grid;
  gap: clamp(56px, 8vw, 110px);
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}
.reel__intro { max-width: 760px; }
.reel__lede { margin: 22px 0 0; color: var(--muted); font-size: var(--step-lead); max-width: 40ch; }
.reel__hint, .reel__progress { display: none; }
.zone { display: grid; gap: 22px; }
.zone__frame video { aspect-ratio: 16 / 9; }
.zone__n { margin: 0 0 10px; font-family: var(--f-display); font-weight: 600; font-size: .9375rem; color: var(--c); }
.zone__n span { color: var(--muted); }
.zone__t {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3.1rem);
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 16px;
}
.zone__copy p { color: var(--muted); max-width: 36ch; }
.zone__copy .zone__fact {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  margin: 6px 0 0;
  padding: .6em 1.05em .6em .8em;
  border-radius: 999px;
  color: var(--text);
  font-weight: 700;
  font-size: .9375rem;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent);
  background: color-mix(in srgb, var(--c) 9%, transparent);
}
.zone__fact .ball { width: 12px; height: 12px; }
@media (min-width: 760px) {
  .zone { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 4vw, 64px); }
}

/* desktop with motion: a pinned horizontal reel */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  html.js .reel { padding: 0; overflow: hidden; }
  html.js .reel__pin { position: relative; height: 100vh; height: 100svh; min-height: 640px; display: flex; align-items: center; }
  html.js .reel__track {
    display: flex;
    align-items: center;
    gap: 7vw;
    width: max-content;
    margin: 0;
    padding: 0 10vw 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  }
  html.js .reel.is-near .reel__track { will-change: transform; }
  html.js .reel__intro { flex: none; width: min(34vw, 560px); }
  html.js .reel__hint {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 40px 0 0;
    color: var(--text);
    font-weight: 600;
  }
  html.js .reel__hint-line { width: 64px; height: 1.5px; background: linear-gradient(90deg, var(--text), rgb(245 247 255 / 0)); }
  html.js .zone {
    flex: none;
    width: min(84vw, 1480px);
    grid-template-columns: minmax(0, 52vw) minmax(0, 1fr);
    gap: 3.4vw;
  }
  html.js .zone__frame { height: min(29.25vw, 60vh); }
  html.js .zone__frame video { height: 100%; aspect-ratio: auto; }
  html.js .reel__progress {
    display: grid;
    gap: 14px;
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: clamp(24px, 4.5vh, 48px);
  }
  html.js .reel__steps { display: grid; grid-template-columns: repeat(5, 1fr); }
  html.js .reel__steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: .875rem;
    color: rgb(174 182 221 / .75);
    transition: color .4s;
  }
  html.js .reel__steps li::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgb(174 182 221 / .45);
    transition: background-color .4s, box-shadow .4s;
  }
  html.js .reel__steps li.is-active { color: var(--text); }
  html.js .reel__steps li.is-active::before { background: var(--c); box-shadow: 0 0 12px var(--c); }
  html.js .reel__bar { position: relative; display: block; height: 2px; border-radius: 2px; background: rgb(245 247 255 / .12); overflow: hidden; }
  html.js .reel__fill {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--cyan), var(--sun), var(--lime), var(--pink), var(--orange));
    transform-origin: 0 50%;
    transform: scaleX(0);
  }
}

/* ==========================================================================
   Prices: admission tickets and opening times
   ========================================================================== */
.prices {
  background:
    radial-gradient(55% 38% at 50% 34%, rgb(46 197 245 / .07), transparent 70%),
    radial-gradient(40% 30% at 30% 40%, rgb(255 79 163 / .05), transparent 70%),
    linear-gradient(var(--night), var(--night-2));
}
.tickets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}
@media (min-width: 900px) {
  .tickets { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.ticket {
  perspective: 1000px;
  filter: drop-shadow(0 0 26px color-mix(in srgb, var(--c) 26%, transparent));
}
.ticket__card {
  --perf: 72%;
  --notch: radial-gradient(circle 13px at 0 var(--perf), transparent 97%, #000 100%) 0 0 / 51% 100% no-repeat,
           radial-gradient(circle 13px at 100% var(--perf), transparent 97%, #000 100%) 100% 0 / 51% 100% no-repeat;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  transform-style: preserve-3d;
  /* punched notches at the perforation, cut as real holes */
  -webkit-mask: var(--notch);
  mask: var(--notch);
}
.ticket__main { flex: 1; padding: clamp(16px, 1.6vw, 24px) clamp(16px, 1.6vw, 24px) clamp(18px, 2vw, 28px); }
.ticket__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 clamp(22px, 3vw, 44px);
  font-weight: 700;
  font-size: .8125rem;
  color: #3B4475;
}
.ticket__top span:first-child::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 1.5px rgb(10 15 44 / .25);
  vertical-align: 1px;
}
.ticket__age {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: clamp(.95rem, .85rem + .35vw, 1.15rem);
  line-height: 1.25;
  letter-spacing: 0;
  margin: 0 0 6px;
  min-height: 2.5em;
}
.ticket__price {
  display: flex;
  align-items: flex-start;
  margin: 0;
  font-family: var(--f-display);
  font-weight: 900;
  line-height: .86;
  letter-spacing: -.06em;
}
.ticket__cur { font-size: clamp(1.6rem, 1rem + 1.6vw, 2.6rem); margin: .12em .06em 0 0; }
.ticket__main { container-type: inline-size; }
.ticket__num { font-size: clamp(2.4rem, 30cqw, 6rem); font-variant-numeric: tabular-nums; letter-spacing: -.05em; }
.ticket__cur { font-size: clamp(1.2rem, 10cqw, 2.4rem); }
.ticket__price { min-width: 0; overflow: hidden; }
.ticket__stub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 64px;
  padding: 12px clamp(16px, 1.6vw, 24px);
  background: var(--c);
  font-weight: 800;
  font-size: .875rem;
  line-height: 1.25;
}
.ticket__stub::before {
  content: "";
  position: absolute;
  left: 18px; right: 18px; top: -1px;
  border-top: 2px dashed rgb(10 15 44 / .4);
}
.ticket__code {
  flex: none;
  width: clamp(36px, 3.4vw, 58px); height: 28px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 13px);
  opacity: .85;
}
.ticket__card .js-tilt-glare { border-radius: 20px; }

.prices__foot {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  margin-top: clamp(48px, 6vw, 96px);
}
@media (min-width: 960px) {
  .prices__foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
}
.notes { display: grid; gap: 28px; }
.notes li { display: grid; grid-template-columns: 14px 1fr; column-gap: 18px; }
.notes li::before {
  content: "";
  width: 12px; height: 12px;
  margin-top: .45em;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff 0 9%, var(--pink) 38%, #A3266A 100%);
  box-shadow: 0 0 12px rgb(255 79 163 / .6);
}
.notes li:nth-child(2)::before { background: radial-gradient(circle at 34% 30%, #fff 0 9%, var(--cyan) 38%, #12718F 100%); box-shadow: 0 0 12px rgb(46 197 245 / .6); }
.notes li:nth-child(3)::before { background: radial-gradient(circle at 34% 30%, #fff 0 9%, var(--sun) 38%, #A8840C 100%); box-shadow: 0 0 12px rgb(255 210 63 / .55); }
.notes h3 { grid-column: 2; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 6px; }
.notes p { grid-column: 2; margin: 0; color: var(--muted); max-width: 44ch; }

.hours {
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 40px);
  background: linear-gradient(160deg, rgb(30 42 94 / .55), rgb(20 27 70 / .5));
  box-shadow: inset 0 0 0 1px rgb(245 247 255 / .1);
}
.hours__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-bottom: 18px; }
.hours__head h3 { font-family: var(--f-display); font-weight: 700; font-size: var(--step-h3); letter-spacing: -.03em; }
.hours__table th, .hours__table td { padding: 14px 0; border-top: 1px solid var(--hair); text-align: left; font-weight: 600; vertical-align: top; }
.hours__table td { text-align: right; color: var(--muted); }
.hours__table th { color: var(--text); padding-right: 16px; }
.hours__table tr.is-today th, .hours__table tr.is-today td { color: #C9F59B; }
.hours__table tr.is-today th::after {
  content: "Today";
  display: inline-block;
  margin-left: 10px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 0 14px rgb(142 219 43 / .55);
  vertical-align: 2px;
}

/* ==========================================================================
   Birthday parties
   ========================================================================== */
.party { position: relative; overflow: hidden; }
.party::before {
  content: "";
  position: absolute;
  width: 70vw; height: 70vw;
  left: -25vw; top: 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(255 79 163 / .13), transparent);
  pointer-events: none;
}
.party__grid { position: relative; display: grid; gap: clamp(48px, 6vw, 110px); }
@media (min-width: 960px) {
  .party__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: start; }
}
.party__media { position: relative; padding-bottom: clamp(60px, 9vw, 150px); }
.party__video video { aspect-ratio: 4 / 5; }
@media (max-width: 959px) {
  .party__video video { aspect-ratio: 16 / 11; }
}
.party__photo {
  position: absolute;
  right: clamp(-12px, -1vw, 0px);
  bottom: 0;
  width: 52%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 0 6px var(--night), 0 30px 60px -20px rgb(0 0 0 / .8);
}
.party__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.party__photo figcaption {
  position: absolute;
  left: 10px; bottom: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgb(10 15 44 / .78);
  font-size: .8125rem;
  font-weight: 700;
}
.party__price { position: relative; margin: clamp(18px, 2.4vw, 34px) 0 6px; }
.party__amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin: 0; }
.party__big {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(5rem, 2.4rem + 9.6vw, 11.5rem);
  line-height: .86;
  letter-spacing: -.065em;
  color: #FFF1F8;
  text-shadow: 0 0 6px rgb(255 79 163 / .9), 0 0 26px rgb(255 79 163 / .65), 0 0 70px rgb(255 79 163 / .4);
}
.party__per { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1vw, 2rem); letter-spacing: -.03em; color: var(--text); }
.party__confetti {
  visibility: hidden;
  position: absolute;
  left: 18%; top: 50%;
  width: clamp(360px, 40vw, 620px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
}
.party__terms { font-weight: 700; color: var(--text); margin-bottom: 26px; }
.party__lead { font-size: var(--step-lead); color: #DCE1F7; max-width: 34ch; }
.party__sub { margin: 32px 0 14px; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: #DCE1F7; }
.ticks li::before {
  content: "";
  width: 18px; height: 10px;
  margin-top: .38em;
  border-left: 2.5px solid var(--pink);
  border-bottom: 2.5px solid var(--pink);
  transform: rotate(-45deg) scale(.85);
  transform-origin: 40% 60%;
  filter: drop-shadow(0 0 4px rgb(255 79 163 / .6));
}
.slots { display: flex; flex-wrap: wrap; gap: 10px; }
.slots li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1.5px rgb(245 247 255 / .2);
  background: rgb(245 247 255 / .04);
}
.slots li::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}
.party__small { color: var(--muted); font-size: .9375rem; max-width: 52ch; margin: 18px 0 0; }
.party__deposit {
  margin: 26px 0 28px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgb(255 210 63 / .07);
  box-shadow: inset 0 0 0 1px rgb(255 210 63 / .3);
  color: #F3EBD0;
  max-width: 54ch;
}
.party__deposit b { color: var(--sun); }

/* ==========================================================================
   After hours: full venue hire
   ========================================================================== */
.night {
  position: relative;
  overflow: hidden;
  padding-block: clamp(96px, 5rem + 6vw, 184px);
  background: #060920;
  isolation: isolate;
}
.night__bg { position: absolute; inset: -10% 0; z-index: -2; }
.night__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.45) brightness(.5) contrast(1.15); opacity: .72; }
.night__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#060920 0%, rgb(6 9 32 / .55) 30%, rgb(6 9 32 / .62) 70%, #060920 100%),
    linear-gradient(90deg, rgb(6 9 32 / .9) 0%, rgb(6 9 32 / .35) 60%, rgb(6 9 32 / .5) 100%),
    linear-gradient(rgb(20 40 120 / .45), rgb(20 40 120 / .45));
}
.night__sky {
  position: absolute;
  z-index: -1;
  top: clamp(40px, 6vw, 90px);
  right: clamp(-40px, 2vw, 60px);
  width: clamp(220px, 34vw, 520px);
  height: auto;
  overflow: visible;
}
.night__sky .moon {
  fill: rgb(255 210 63 / .06);
  stroke: var(--sun);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgb(255 210 63 / .75)) drop-shadow(0 0 22px rgb(255 210 63 / .4));
}
.night__sky .star { fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .night__sky .star { animation: twinkle 3.2s ease-in-out infinite; }
  .night__sky .star:nth-of-type(2n) { animation-duration: 4.1s; animation-delay: -1.3s; }
  .night__sky .star:nth-of-type(3n) { animation-duration: 2.7s; animation-delay: -.6s; }
}
@keyframes twinkle { 0%, 100% { opacity: .9; } 50% { opacity: .3; } }
.night__in { position: relative; }
@media (max-width: 1023px) {
  .night__sky { top: 18px; right: 4px; width: clamp(150px, 32vw, 260px); }
}
.night__head { max-width: 860px; margin-bottom: clamp(48px, 6vw, 96px); }
.night__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 1.4rem + 8.6vw, 10.5rem);
  line-height: .9;
  letter-spacing: -.055em;
  margin-bottom: .22em;
}
.night__lead { font-size: var(--step-lead); color: #DCE1F7; max-width: 36ch; margin: 0; }

.tl { --label: 220px; --price: 120px; position: relative; }
.tl__rows { border-top: 1px solid rgb(245 247 255 / .12); }
.tl__row {
  display: grid;
  grid-template-columns: var(--label) minmax(0, 1fr) var(--price);
  align-items: center;
  column-gap: clamp(16px, 2vw, 32px);
  padding: 18px 0;
  border-bottom: 1px solid rgb(245 247 255 / .12);
}
.tl__row p { margin: 0; }
.tl__days { font-weight: 700; font-size: 1.0625rem; }
.tl__slot {
  position: relative;
  height: 58px;
  background: repeating-linear-gradient(90deg, rgb(245 247 255 / .1) 0 1px, transparent 1px 20%);
  background-size: calc(100% + 1px) 100%;
}
.tl__bar {
  position: absolute;
  top: 50%;
  left: calc(var(--from) * 20%);
  width: 60%;
  height: 44px;
  margin-top: -22px;
  display: flex;
  align-items: center;
  padding: 0 18px;
}
.tl__glow {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  box-shadow: inset 0 0 0 1.5px var(--c), 0 0 18px -2px color-mix(in srgb, var(--c) 70%, transparent), 0 0 46px -10px var(--c);
  transform-origin: 0 50%;
}
.tl__time { position: relative; font-weight: 800; font-size: .9375rem; white-space: nowrap; }
.tl__price {
  justify-self: end;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.4rem);
  letter-spacing: -.04em;
  color: var(--c);
  white-space: nowrap;
  text-align: right;
  line-height: 1;
}
.tl__price small { display: block; font-family: var(--f-body); font-weight: 600; font-size: .9rem; letter-spacing: 0; color: var(--muted); margin-top: 6px; }
.tl__axis {
  position: relative;
  height: 28px;
  margin: 12px calc(var(--price) + clamp(16px, 2vw, 32px)) 0 calc(var(--label) + clamp(16px, 2vw, 32px));
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 700;
}
.tl__axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.tl__axis span:nth-child(1) { left: 0; transform: none; }
.tl__axis span:nth-child(2) { left: 20%; }
.tl__axis span:nth-child(3) { left: 40%; }
.tl__axis span:nth-child(4) { left: 60%; }
.tl__axis span:nth-child(5) { left: 80%; }
.tl__axis span:nth-child(6) { left: 100%; transform: translateX(-100%); }
@media (max-width: 759px) {
  .tl__row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "days price" "slot slot";
    row-gap: 12px;
  }
  .tl__days { grid-area: days; }
  .tl__price { grid-area: price; }
  .tl__slot { grid-area: slot; height: 52px; }
  .tl__bar { height: 40px; margin-top: -20px; padding: 0 12px; }
  .tl__time { font-size: .8125rem; }
  .tl__axis { margin: 10px 0 0; }
}
.night__foot { display: grid; gap: 32px; margin-top: clamp(48px, 6vw, 88px); }
@media (min-width: 900px) {
  .night__foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
}
.night__facts { display: grid; gap: 12px; }
.night__facts li { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 1.0625rem; }
.night__facts li::before {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 12px rgb(255 210 63 / .7);
}
.night__cta p { color: var(--muted); max-width: 44ch; }

/* ==========================================================================
   Membership: two member passes
   ========================================================================== */
.members__grid { display: grid; gap: clamp(40px, 5vw, 88px); }
@media (min-width: 1200px) {
  .members__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
}
.members__lead { margin: 24px 0 14px; font-size: var(--step-lead); color: #DCE1F7; max-width: 30ch; }
.members__join { color: var(--muted); max-width: 34ch; margin-bottom: 28px; }
.passes { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 640px) {
  .passes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pass {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(160deg, #1B2559 0%, #10173F 58%, #0B1133 100%);
  box-shadow: inset 0 0 0 1px rgb(245 247 255 / .1), 0 40px 80px -44px rgb(0 0 0 / .9);
  isolation: isolate;
}
.pass::after {
  /* a faint holographic sheen in the logo colours, swept across on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgb(255 79 163 / .12) 42%, rgb(46 197 245 / .12) 50%, rgb(142 219 43 / .1) 58%, transparent 68%);
  background-size: 260% 100%;
  background-position: 92% 0;
  mix-blend-mode: screen;
  transition: background-position 1.4s var(--ease-out);
}
.pass:hover::after { background-position: 8% 0; }
.pass__band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(20px, 2.2vw, 30px);
  background: var(--c);
  color: var(--ink);
}
.pass__name { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.pass__slot {
  width: 58px; height: 12px;
  border-radius: 99px;
  background: var(--night);
  box-shadow: inset 0 2px 3px rgb(0 0 0 / .55);
}
.pass__body { padding: clamp(22px, 2.4vw, 32px) clamp(20px, 2.2vw, 30px) clamp(24px, 2.6vw, 34px); }
.pass__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 22px; }
.pass__price b {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 1.5rem + 3vw, 4.5rem);
  line-height: .9;
  letter-spacing: -.06em;
}
.pass__price span { font-weight: 700; color: var(--muted); font-size: 1.0625rem; }
.pass__list li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--hair); font-weight: 600; }
.pass__list li::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 10px color-mix(in srgb, var(--c) 70%, transparent);
  transform: translateY(-2px);
}

/* ==========================================================================
   Cafe
   ========================================================================== */
.cafe__grid { display: grid; gap: clamp(48px, 6vw, 110px); }
@media (min-width: 960px) {
  .cafe__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); align-items: center; }
}
.cafe__media { position: relative; }
.cafe__frame video { aspect-ratio: 4 / 5; }
@media (max-width: 959px) {
  .cafe__frame video { aspect-ratio: 16 / 10; }
}
.cafe__badge {
  position: absolute;
  z-index: 3;
  top: 18px; left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px 10px 13px;
  border-radius: 999px;
  background: rgb(10 15 44 / .8);
  box-shadow: inset 0 0 0 1px rgb(142 219 43 / .5), 0 0 30px -6px rgb(142 219 43 / .6);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .9375rem;
  color: #C9F59B;
}
.cafe__badge .status__dot { background: var(--lime); box-shadow: var(--glow-lime-dot); }
.cafe__lead { font-size: var(--step-lead); color: #DCE1F7; margin: 24px 0 30px; max-width: 40ch; }
.menu-board {
  border-radius: var(--radius);
  padding: clamp(10px, 1.5vw, 18px) clamp(18px, 2.4vw, 32px);
  background: rgb(20 27 70 / .55);
  box-shadow: inset 0 0 0 1px rgb(245 247 255 / .1);
}
.menu-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--hair);
  font-weight: 600;
}
.menu-list li:last-child { border-bottom: 0; }
.menu-list b { font-family: var(--f-display); font-weight: 700; color: var(--sun); font-size: 1.0625rem; letter-spacing: -.02em; }
.menu-list--drinks { border-top: 1.5px dashed rgb(245 247 255 / .2); margin-top: 6px; }
.menu-list--drinks li { font-size: .9375rem; }
.menu-list--drinks b { font-size: 1rem; }
.cafe__note { color: var(--muted); font-size: .9375rem; margin: 20px 0 26px; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery { overflow: hidden; }
.gallery__rows { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.gallery__row {
  display: flex;
  gap: clamp(12px, 1.4vw, 20px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
}
.gallery__row::-webkit-scrollbar { display: none; }
.gallery__row:focus-visible { outline-offset: -3px; }
.gallery__row li {
  flex: none;
  width: clamp(250px, 72vw, 420px);
  scroll-snap-align: start;
  border-radius: clamp(16px, 1.4vw, 22px);
  overflow: hidden;
  background: var(--navy);
}
.gallery__row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; filter: saturate(1.05) brightness(.92); }
.gallery__row li:hover img { transform: scale(1.04); filter: saturate(1.15) brightness(1); }
@media (min-width: 1024px) {
  .gallery__row li { width: clamp(300px, 26vw, 440px); }
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  html.js .gallery__row { overflow: visible; width: max-content; scroll-snap-type: none; padding-inline: 0; }
}

/* ==========================================================================
   Find us and FAQ
   ========================================================================== */
.visit__grid { display: grid; gap: clamp(64px, 7vw, 120px); }
@media (min-width: 960px) {
  .visit__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}
.visit__addr {
  margin: 30px 0 26px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 1rem + 1.4vw, 2.2rem);
  line-height: 1.28;
  letter-spacing: -.03em;
}
.visit__facts { display: grid; gap: 12px; margin-bottom: 32px; }
.visit__facts li { display: flex; gap: 14px; align-items: baseline; font-weight: 600; }
.visit__facts .ball { width: 11px; height: 11px; transform: translateY(1px); }
.visit__near { margin: 26px 0 0; color: var(--muted); max-width: 46ch; }
.faq__list { margin-top: 26px; border-top: 1px solid var(--hair); }
.qa { border-bottom: 1px solid var(--hair); }
.qa summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1rem, .92rem + .4vw, 1.25rem);
  line-height: 1.3;
  letter-spacing: -.02em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
  box-shadow: inset 0 0 0 1.5px rgb(245 247 255 / .28);
  transition: transform .5s var(--ease-out), background-color .3s, color .3s;
}
.qa[open] summary::after { transform: rotate(45deg); color: var(--ink); background-color: var(--pink); box-shadow: 0 0 16px rgb(255 79 163 / .55); }
.qa summary:hover { color: #fff; }
.qa__body p { margin: 0 0 22px; color: var(--muted); max-width: 50ch; }
.faq__more { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 26px 0 0; }
.faq__more .link { display: inline-flex; align-items: center; min-height: 44px; }

/* ==========================================================================
   Finale
   ========================================================================== */
.finale {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(92vh, 980px);
  padding-block: clamp(110px, 12vw, 200px);
  overflow: hidden;
  text-align: center;
  background: radial-gradient(120% 80% at 50% 110%, #1B2466 0%, #0D1338 45%, var(--night) 75%);
  isolation: isolate;
}
@media (max-width: 767px) {
  .finale { min-height: 0; padding-block: clamp(120px, 30vw, 160px); }
}
.finale__balls { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.finale::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(52% 44% at 50% 50%, rgb(10 15 44 / .82), rgb(10 15 44 / .45) 60%, rgb(10 15 44 / 0) 100%);
  pointer-events: none;
}
.finale__in { position: relative; }
.finale__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.9rem, 1rem + 8.2vw, 9.6rem);
  line-height: .92;
  letter-spacing: -.055em;
  max-width: 11em;
  margin: 0 auto .32em;
  text-wrap: balance;
}
.finale__lead { font-size: var(--step-lead); color: #DCE1F7; max-width: 34ch; margin: 0 auto 34px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ftr {
  background: var(--night-2);
  border-top: 1px solid rgb(245 247 255 / .07);
  padding-top: clamp(64px, 7vw, 110px);
  font-size: .9375rem;
}
.ftr__grid { display: grid; gap: 40px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ftr__brand { grid-column: 1 / -1; }
@media (min-width: 1200px) {
  .ftr__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.3fr); }
  .ftr__brand { grid-column: auto; }
}
@media (max-width: 559px) {
  .ftr__grid { grid-template-columns: minmax(0, 1fr); }
}
.ftr__brand img { width: 120px; height: auto; margin-bottom: 18px; }
.ftr__brand p { color: var(--muted); max-width: 32ch; }
.ftr__social { display: flex; gap: 22px; }
.ftr__social a, .ftr__contact a, .ftr__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
  transition: color .3s;
}
.ftr__social a:hover, .ftr__contact a:hover, .ftr__links a:hover { color: var(--pink); }
.ftr h2 { font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: -.01em; margin-bottom: 14px; }
.ftr address { color: var(--muted); margin-bottom: 8px; }
.ftr__contact a { min-height: 44px; }
.ftr__hours li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--hair); color: var(--muted); }
.ftr__hours li span:first-child { color: var(--text); font-weight: 600; }
.ftr__links { columns: 2; column-gap: 24px; }
.ftr__links li { break-inside: avoid; }
.ftr__links a { color: var(--muted); font-weight: 600; min-height: 44px; }
.ftr__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 40px;
  margin-top: clamp(48px, 5vw, 80px);
  padding-block: 26px 36px;
  border-top: 1px solid rgb(245 247 255 / .08);
  color: var(--muted);
  font-size: .875rem;
}
.ftr__safety { max-width: 70ch; margin: 0; }
.ftr__copy { margin: 0; }

/* ==========================================================================
   Cursor light (desktop, fine pointer only; added by JS)
   ========================================================================== */
.cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 120;
  width: 52px; height: 52px;
  margin: -26px 0 0 -26px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s;
}
.cursor.is-on { opacity: 1; }
.cursor__ball, .cursor__ring { position: absolute; inset: 0; border-radius: 50%; transition: transform .5s var(--ease-out), opacity .35s; }
.cursor__ball {
  background: radial-gradient(circle at 36% 32%, #fff 0 8%, var(--pink) 34%, #A3266A 100%);
  box-shadow: 0 0 18px rgb(255 79 163 / .9), 0 0 40px rgb(255 79 163 / .45);
  transform: scale(.2);
}
.cursor__ring { box-shadow: inset 0 0 0 1.5px rgb(255 79 163 / .95), 0 0 22px rgb(255 79 163 / .55); transform: scale(.4); opacity: 0; }
.cursor.is-link .cursor__ball { transform: scale(.1); opacity: 0; }
.cursor.is-link .cursor__ring { transform: scale(1); opacity: 1; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ---------- Begin2Code additions: text logo ---------- */
.logo { display: inline-flex; align-items: center; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); letter-spacing: -0.03em; color: var(--text); text-decoration: none; line-height: 1; }
.logo__two { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; margin: 0 .08em; border-radius: .3em; background: var(--sun); color: var(--night); font-size: .85em; transform: rotate(-6deg); box-shadow: 0 0 0 1px rgb(255 210 63 / .6), 0 0 14px rgb(255 210 63 / .55); }
.hdr__logo:hover .logo__two { transform: rotate(6deg); transition: transform .3s var(--ease-out); }
.logo--ftr { font-size: 1.6rem; margin-bottom: 18px; }
.hdr__tel { font-size: .92rem; }
.hours .ctas { margin-top: 18px; }


/* ==========================================================================
   Reel scenes: five animated lessons (no video)
   ========================================================================== */
.scene { position: relative; overflow: hidden; background: #0D1340; aspect-ratio: 16 / 9; }
html.js .zone__frame.scene { height: auto; aspect-ratio: 16 / 9; }
@media (min-width: 1024px) { html.js .zone__frame.scene { height: min(29.25vw, 60vh); aspect-ratio: auto; } }
.scene > * { position: absolute; inset: 0; }
.scene i, .scene b, .scene em { display: block; }

/* 01 drag and drop editor */
.ed { display: grid; grid-template-rows: 8% 1fr; margin: 6% 7%; inset: auto; position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: #F4F6FF; border-radius: 10px; overflow: hidden; color: #0A0F2C; font-family: var(--f-body); }
.ed__bar { display: flex; align-items: center; gap: 4%; padding: 0 3%; background: #E8ECFA; border-bottom: 1px solid #D6DCF0; font-size: .6rem; }
.ed__bar i { width: 1.1%; aspect-ratio: 1; min-width: 5px; border-radius: 50%; background: #FF5A5F; }
.ed__bar i:nth-child(2) { background: #FFD23F; } .ed__bar i:nth-child(3) { background: #8EDB2B; }
.ed__bar span { flex: 1; font-family: ui-monospace, monospace; color: #5E6784; font-size: clamp(.45rem, .9vw, .7rem); }
.ed__pub { padding: .2em .9em; border-radius: 999px; border: 1px solid #0A0F2C; font-weight: 700; font-size: clamp(.45rem, .9vw, .7rem); }
.ed__pub.is-live { background: #8EDB2B; border-color: #8EDB2B; }
.ed__body { display: grid; grid-template-columns: 30% 1fr; min-height: 0; }
.ed__panel { background: #fff; border-right: 1px solid #D6DCF0; padding: 6% 8%; display: grid; align-content: start; gap: 6%; }
.ed__ptitle { margin: 0 0 2%; font-size: clamp(.45rem, .85vw, .7rem); font-weight: 700; color: #5E6784; letter-spacing: .04em; }
.ed__w { display: flex; align-items: center; gap: 8%; padding: 6% 8%; border: 1px solid #D6DCF0; border-radius: 6px; font-size: clamp(.5rem, 1vw, .8rem); font-weight: 600; background: #fff; }
.ed__w.is-active { border-color: #2EC5F5; box-shadow: 0 0 0 2px rgb(46 197 245 / .3); }
.ic { width: 14%; aspect-ratio: 1; border-radius: 3px; background: #0A0F2C; }
.ic--t { background: #5E6784; } .ic--b { background: #FF4FA3; border-radius: 999px; } .ic--i { background: #2EC5F5; }
.ed__canvas { padding: 6%; }
.ed__hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6%; height: 100%; background: #fff; border-radius: 8px; padding: 6%; border: 1px dashed #C9D1EC; }
.ed__col { display: grid; align-content: start; gap: 10%; }
.ed__blk { opacity: 0; transform: translateY(6px); border-radius: 4px; }
.ed__blk--h { height: 18%; background: #0A0F2C; width: 85%; border-radius: 5px; }
.ed__blk--t { display: grid; gap: 22%; }
.ed__blk--t i { height: 5px; border-radius: 3px; background: #C9D1EC; }
.ed__blk--t i:last-child { width: 60%; }
.ed__blk--b { height: 16%; width: 40%; background: #FF4FA3; border-radius: 999px; }
.ed__blk--i { background: linear-gradient(135deg, #DDF0FF, #CFE5FF 60%, #E7F8D9); border-radius: 8px; min-height: 100%; }
.ed__blk.is-sel { outline: 2px solid #2EC5F5; outline-offset: 2px; }
.ed__ghost { position: absolute; left: 0; top: 0; padding: .3em .8em; border-radius: 6px; background: #0A0F2C; color: #fff; font-size: clamp(.5rem, 1vw, .8rem); font-weight: 700; opacity: 0; pointer-events: none; box-shadow: 0 8px 20px rgb(10 15 44 / .3); }
.ed__cursor { position: absolute; left: 0; top: 0; width: clamp(14px, 2vw, 22px); height: auto; fill: #0A0F2C; stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 2px 4px rgb(0 0 0 / .4)); }
.ed__toast { position: absolute; right: 4%; bottom: 5%; padding: .4em 1em; border-radius: 999px; background: #0A0F2C; color: #8EDB2B; font-size: clamp(.5rem, 1vw, .8rem); font-weight: 700; opacity: 0; }

/* 02 responsive */
.rs { display: flex; align-items: flex-end; justify-content: center; gap: 4%; padding: 8% 6% 12%; }
.rs__dev { position: relative; border: 2px solid #AEB6DD; border-radius: 10px; background: #0A0F2C; padding: 3%; box-shadow: 0 0 0 1px rgb(46 197 245 / .15); }
.rs__dev--desk { width: 50%; aspect-ratio: 16 / 10; }
.rs__dev--tab { width: 24%; aspect-ratio: 3 / 4; }
.rs__dev--phone { width: 13%; aspect-ratio: 9 / 19; border-radius: 14px; }
.rs__screen { width: 100%; height: 100%; background: #F4F6FF; border-radius: 5px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; gap: 6%; padding: 6%; }
.rs__nav { display: flex; gap: 6%; align-items: center; }
.rs__nav i { height: 3px; width: 14%; border-radius: 2px; background: #AEB6DD; }
.rs__nav i:first-child { background: #0A0F2C; width: 18%; }
.rs__nav b { margin-left: auto; width: 14%; aspect-ratio: 1; border-radius: 2px; background: #0A0F2C; }
.rs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.rs__dev--phone .rs__grid { grid-template-columns: 1fr; }
.rs__card { background: #fff; border-radius: 4px; border: 1px solid #D6DCF0; min-height: 0; position: relative; }
.rs__card::before { content: ""; position: absolute; left: 12%; right: 12%; top: 14%; height: 24%; border-radius: 3px; background: linear-gradient(135deg, #2EC5F5, #8EDB2B); }
.rs__card::after { content: ""; position: absolute; left: 12%; right: 30%; bottom: 16%; height: 8%; border-radius: 2px; background: #0A0F2C; }
.rs__dev::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid var(--sun); opacity: 0; box-shadow: 0 0 18px rgb(255 210 63 / .5); }
.rs__dev.is-on::after { opacity: 1; }
.rs__label { position: absolute; left: 6%; right: 6%; bottom: 4%; margin: 0; display: flex; justify-content: space-around; font-size: clamp(.5rem, 1vw, .8rem); color: var(--muted); font-weight: 600; }
.rs__label span.is-on { color: var(--sun); }

/* 03 design system */
.ds { display: grid; grid-template-columns: 36% 1fr; gap: 4%; padding: 6%; }
.ds__panel { background: #F4F6FF; border-radius: 8px; padding: 6% 7%; color: #0A0F2C; display: grid; align-content: start; gap: 5%; font-size: clamp(.5rem, 1vw, .8rem); }
.ds__title { margin: 0; font-weight: 700; color: #5E6784; font-size: .85em; letter-spacing: .04em; }
.ds__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6%; font-weight: 600; }
.ds__row em { font-style: normal; font-family: ui-monospace, monospace; color: #5E6784; font-size: .85em; }
.ds__swatch { width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--acc, #2EC5F5); box-shadow: 0 0 0 2px #fff, 0 0 0 3px #D6DCF0; }
.ds__swatch--ink { background: #0A0F2C; }
.ds__font { width: 1.6em; height: 1.6em; display: grid; place-items: center; border-radius: 4px; background: #0A0F2C; color: #fff; font-family: var(--f-display); font-size: .8em; }
.ds__pages { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; }
.ds__page { background: #fff; border-radius: 6px; padding: 8%; display: grid; align-content: start; gap: 9%; }
.ds__h { height: 10%; min-height: 6px; width: 70%; border-radius: 3px; background: #0A0F2C; }
.ds__p { height: 4px; border-radius: 2px; background: #D6DCF0; }
.ds__p.short { width: 55%; }
.ds__btn { height: 14%; min-height: 8px; width: 46%; border-radius: 999px; background: var(--acc, #2EC5F5); margin-top: 4%; }
.ds__pulse { position: absolute; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--acc, #2EC5F5); opacity: 0; pointer-events: none; }

/* 04 code editor */
.cd { display: grid; grid-template-columns: 1.15fr 1fr; }
.cd__editor { background: #0A0F2C; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.cd__tabs { display: flex; gap: 2px; padding: 3% 3% 0; background: #070A21; }
.cd__tabs span { padding: .35em .9em; font-size: clamp(.5rem, .95vw, .75rem); color: var(--muted); border-radius: 6px 6px 0 0; font-family: ui-monospace, monospace; }
.cd__tabs span.is-on { background: #0A0F2C; color: #fff; }
.cd__code { margin: 0; padding: 5% 5%; font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; font-size: clamp(.5rem, 1.05vw, .82rem); line-height: 1.6; color: #D5DAE8; white-space: pre-wrap; overflow: hidden; }
.cd__code .k { color: #FF4FA3; } .cd__code .p { color: #2EC5F5; } .cd__code .v { color: #FFD23F; } .cd__code .c { color: #7C86B5; } .cd__code .s { color: #8EDB2B; }
.cd__caret { display: inline-block; width: .5em; height: 1em; background: #2EC5F5; vertical-align: text-bottom; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.cd__preview { background: #F4F6FF; display: grid; place-items: center; padding: 8%; }
.cd__card { width: 100%; max-width: 220px; background: #fff; border-radius: 10px; padding: 8%; display: grid; gap: 8%; box-shadow: 0 10px 30px rgb(10 15 44 / .08); transform: rotate(0deg); }
.cd__img { aspect-ratio: 16 / 9; border-radius: 6px; background: linear-gradient(135deg, #CFE5FF, #FFE1F0); }
.cd__title { height: 9px; width: 60%; border-radius: 3px; background: #0A0F2C; }
.cd__line { height: 5px; width: 85%; border-radius: 3px; background: #D6DCF0; }
.cd__btn { display: inline-block; justify-self: start; padding: .45em 1.1em; border-radius: 6px; background: #AEB6DD; color: #fff; font-size: clamp(.5rem, 1vw, .8rem); font-weight: 700; font-family: var(--f-body); }

/* 05 performance */
.pf { display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: 4%; padding: 6% 7%; }
.pf__gauge { position: relative; width: 100%; aspect-ratio: 1; }
.pf__gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pf__track { fill: none; stroke: rgb(174 182 221 / .18); stroke-width: 9; }
.pf__arc { fill: none; stroke: var(--sc, #FF5A5F); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 194; filter: drop-shadow(0 0 8px var(--sc, #FF5A5F)); }
.pf__num { position: absolute; inset: 0; margin: 0; display: grid; place-content: center; text-align: center; }
.pf__num b { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 3rem); color: var(--sc, #FF5A5F); line-height: 1; }
.pf__num span { font-size: clamp(.5rem, .95vw, .8rem); color: var(--muted); margin-top: .4em; }
.pf__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7%; }
.pf__list li { display: grid; grid-template-columns: 34% 1fr auto; align-items: center; gap: 5%; font-size: clamp(.5rem, 1vw, .8rem); color: var(--text); }
.pf__list em { font-style: normal; font-family: ui-monospace, monospace; color: var(--muted); min-width: 4.5em; text-align: right; }
.pf__bar { height: 6px; border-radius: 3px; background: rgb(174 182 221 / .15); position: relative; overflow: hidden; }
.pf__bar::after { content: ""; position: absolute; inset: 0; width: calc(var(--w) * 100%); border-radius: inherit; background: var(--bc, #FF5A5F); transition: width 1.2s var(--ease-out), background-color .6s; }
.pf.is-good { --sc: #8EDB2B; --bc: #8EDB2B; }

/* ==========================================================================
   Course pages
   ========================================================================== */
.chero { position: relative; padding: calc(var(--hdr-h) + clamp(28px, 5vw, 64px)) 0 clamp(48px, 7vw, 96px); background: var(--night); overflow: hidden; }
.chero__glow { position: absolute; left: 50%; top: -20%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; transform: translateX(-10%); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent) 0%, transparent 60%); pointer-events: none; }
.chero__grid { position: relative; display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.crumbs { margin: 0 0 18px; font-size: .9rem; color: var(--muted); display: flex; gap: 10px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.chero .run { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: .95rem; color: var(--c); margin: 0 0 18px; }
.chero .run .ball { --c: inherit; }
.chero__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 1.2rem + 3.2vw, 4.4rem); line-height: 1; letter-spacing: -.04em; margin: 0 0 20px; max-width: 14em; }
.chero__lead { font-size: var(--step-lead); color: var(--muted); max-width: 52ch; margin: 0 0 26px; }
.cfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--hair); }
.cfacts__item { display: grid; gap: 4px; }
.cfacts__n { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); line-height: 1; color: var(--text); letter-spacing: -.03em; }
.cfacts__n--sm { font-size: clamp(1rem, .9rem + .5vw, 1.25rem); font-weight: 700; line-height: 1.2; }
.cfacts__item span { font-size: .85rem; color: var(--muted); }
.chero__side { display: grid; gap: 24px; }
.chero__scene { aspect-ratio: 16 / 10; }
html.js .zone__frame.chero__scene { height: auto; aspect-ratio: 16 / 10; }
.pass--buy .pass__body { gap: 16px; }
.pass--buy .btn--block { margin-top: 6px; }
.btn--block { width: 100%; }
@media (min-width: 1024px) {
  .chero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .chero__side { position: sticky; top: calc(var(--hdr-h) + 24px); }
}

.finish__grid, .fit__grid, .cfaq__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) { .finish__grid, .fit__grid { grid-template-columns: 1fr 1fr; } .cfaq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.ticks--lg li { font-size: var(--step-lead); }
.capstone { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--navy); border: 1px solid var(--line); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent), 0 0 40px color-mix(in srgb, var(--c) 18%, transparent); }
.capstone__tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--f-display); font-weight: 700; font-size: .9rem; color: var(--c); }
.capstone h3 { font-family: var(--f-display); font-weight: 800; font-size: var(--step-h3); margin: 0 0 12px; }
.capstone p { margin: 0; color: var(--muted); }
.fit__col { padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); background: rgb(20 27 70 / .5); }
.fit__col h2 { margin-bottom: 18px; }
.crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.crosses li { position: relative; padding-left: 30px; color: var(--muted); }
.crosses li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #FF5A5F; background: linear-gradient(45deg, transparent 44%, #FF5A5F 44%, #FF5A5F 56%, transparent 56%), linear-gradient(-45deg, transparent 44%, #FF5A5F 44%, #FF5A5F 56%, transparent 56%); }
.curriculum { display: grid; gap: 10px; }
.module { background: var(--navy); border: 1px solid var(--line); border-radius: 16px; }
.module summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 18px 22px; cursor: pointer; list-style: none; }
.module summary::-webkit-details-marker { display: none; }
.module__n { font-family: var(--f-display); font-weight: 700; font-size: .9rem; color: var(--pink); }
.module__t { font-family: var(--f-display); font-weight: 700; font-size: clamp(1rem, .95rem + .4vw, 1.3rem); color: var(--text); display: grid; gap: 4px; }
.module__t small { font-family: var(--f-body); font-weight: 500; font-size: .9rem; color: var(--muted); }
.module summary::after { content: "+"; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--hair); font-family: var(--f-display); color: var(--text); transition: transform .3s var(--ease-out), background-color .3s; }
.module[open] summary::after { transform: rotate(45deg); background: var(--pink); border-color: var(--pink); color: var(--night); }
.module__list { margin: 0; padding: 0 22px 22px 22px; display: grid; gap: 8px; counter-reset: lesson; }
.module__list li { position: relative; padding: 10px 14px 10px 52px; border-radius: 10px; background: rgb(10 15 44 / .55); color: var(--muted); counter-increment: lesson; }
.module__list li::before { content: counter(lesson, decimal-leading-zero); position: absolute; left: 14px; top: 11px; font-family: var(--f-display); font-size: .8rem; color: var(--cyan); }
.module__list li strong { color: var(--text); font-weight: 600; }
.curriculum__note { margin: 22px 0 0; font-size: .92rem; color: var(--muted); max-width: 70ch; }
.teacher-card { padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); background: var(--navy); border: 1px solid var(--line); }
.teacher-card h2 { margin-bottom: 14px; }
.teacher-card p { color: var(--muted); }
.passes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .passes--3 { grid-template-columns: 1fr; } }
.pass__text { color: var(--muted); margin: 0 0 16px; }
.faq__list--wide .qa { max-width: none; }

/* ---------- Course pages: imagery ---------- */
.watch__frame { position: relative; margin: 0; aspect-ratio: 21 / 9; border-radius: var(--radius); overflow: hidden; }
.watch__frame video { aspect-ratio: auto; }
.watch__cap { position: absolute; left: 20px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(5, 8, 22, .72); backdrop-filter: blur(8px); font-family: var(--f-display); font-weight: 700; font-size: .82rem; color: #fff; }
.capstone { overflow: hidden; }
.capstone__img { display: block; max-width: none; width: calc(100% + 2 * clamp(24px, 3vw, 40px)); margin: calc(-1 * clamp(24px, 3vw, 40px)) calc(-1 * clamp(24px, 3vw, 40px)) 22px; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(1.1); }
.gallery--course { padding-top: 0; }
.need__photo { margin: 28px 0 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; }
.need__photo img { display: block; }
.teacher-card--photo { overflow: hidden; }
.teacher-card__img { display: block; max-width: none; width: calc(100% + 2 * clamp(22px, 3vw, 36px)); margin: calc(-1 * clamp(22px, 3vw, 36px)) calc(-1 * clamp(22px, 3vw, 36px)) 20px; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 760px) { .watch__frame { aspect-ratio: 4 / 3; } .watch__cap { left: 12px; bottom: 12px; font-size: .74rem; } }
