/* ==========================================================================
   BIKESTAXX ENTERTAINMENT
   Design system: black / red / white, minimal grey. Premium, bold, cinematic.
   ========================================================================== */

/* ------------------------------------------------------------- 1. Tokens */

:root {
  /* Core palette */
  --black:        #000000;
  --ink:          #08080a;
  --ink-2:        #0e0f12;
  --ink-3:        #16181d;
  --red:          #E11A2C;
  --red-bright:   #FF2436;
  --red-deep:     #A50F1E;
  --white:        #ffffff;

  /* Minimal grey */
  --grey-100:     #f4f4f5;
  --grey-300:     #c9cace;
  --grey-500:     #8b8d94;
  --grey-700:     #4a4c53;
  --grey-900:     #26282e;

  /* Semantic */
  --bg:           var(--black);
  --bg-raised:    var(--ink-2);
  --bg-panel:     var(--ink-3);
  --fg:           var(--white);
  --fg-muted:     #a5a7ad;
  --fg-dim:       #6e7077;
  --accent:       var(--red);
  --line:         rgba(255, 255, 255, 0.10);
  --line-strong:  rgba(255, 255, 255, 0.20);

  /* Type */
  --font-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Rhythm */
  --header-h:     96px;

  --shell:        1280px;
  --shell-wide:   1560px;
  --gutter:       clamp(1.25rem, 4vw, 3.5rem);
  --section-y:    clamp(4.5rem, 9vw, 9rem);

  /* Motion */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --speed:        0.55s;

  --radius:       2px;
  --radius-lg:    4px;
}

/* --------------------------------------------------------------- 2. Base */

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

/*
 * Any class that sets its own display beats the browser's [hidden] rule, which
 * is how the countdown's "Happening now" badge stayed on screen months before
 * the event. Anything marked hidden stays hidden.
 */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/*
 * The closed mobile drawer parks itself off-screen to the right, which would
 * otherwise widen the document and let the page scroll sideways. Clipping at
 * the root stops that without turning html into a scroll container the way
 * overflow:hidden would. The hidden line is the fallback for older Safari.
 */
html, body {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

img, video, svg { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-transform: uppercase;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--red); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--grey-900); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ------------------------------------------------------------ 3. Layout */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--wide { max-width: var(--shell-wide); }
.shell--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--flush-top { padding-top: 0; }

.section--raised { background: var(--ink); }
.section--panel  { background: var(--ink-2); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: 1fr; }

/*
 * Explicit column counts rather than auto-fit. Auto-fit was fitting four
 * columns into a "3-up" grid on a wide screen, which left six cards sitting
 * as four plus a stranded two.
 */
@media (min-width: 620px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 780px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 940px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1060px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stack > * + * { margin-top: 1.1rem; }

/* --------------------------------------------------------- 4. Typography */

.display-xl {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 12vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0;
}

.display-lg {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 7.5vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
}

.display-md {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0;
}

.display-sm {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 1.25rem;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--red);
  flex: none;
}

.eyebrow--center { justify-content: center; }
.eyebrow--plain::before { display: none; }

.lede {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 62ch;
}

.muted { color: var(--fg-muted); }
.dim   { color: var(--fg-dim); }
.text-red { color: var(--red); }
.centred { text-align: center; }
.centred .lede, .centred .eyebrow { margin-inline: auto; }

/* Section heading block */
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }

/* Outline / stroked type for cinematic layering */
.stroke-text {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.22);
  color: transparent;
}

/* ---------------------------------------------------------- 5. Buttons */

.btn {
  --btn-bg: var(--red);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.05rem 2.1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bg);
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
              transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}

/* The sweep that fills the button on hover */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--ease-out);
  z-index: -1;
}

.btn:hover, .btn:focus-visible {
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(225, 26, 44, 0.28);
}

.btn:hover::before, .btn:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: var(--line-strong);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  border-color: var(--white);
  box-shadow: none;
}

.btn--light {
  --btn-bg: var(--white);
  --btn-fg: var(--black);
}
.btn--light::before { background: var(--red); }
.btn--light:hover, .btn--light:focus-visible { color: var(--white); }

.btn--lg { padding: 1.25rem 2.75rem; font-size: 0.95rem; }
.btn--sm { padding: 0.75rem 1.4rem; font-size: 0.75rem; }
.btn--block { width: 100%; }

.btn__arrow {
  transition: transform 0.35s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn-row--center { justify-content: center; }

/* Text link with an animated underline */
.link-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 4px;
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* --------------------------------------------------------- 6. Preloader */

/*
 * place-items centred each child inside its own stretched row, which pushed
 * the progress bar to the bottom of the screen and left the logo marooned in
 * the middle. Centring the tracks instead keeps the two together as one block.
 */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-content: center;
  justify-items: center;
  background: var(--black);
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/*
 * These were pinned at 240px, so on a laptop the loading screen read as a
 * phone layout stranded in the middle of a wide black field. They now scale
 * with the viewport and only fall back to the small size on narrow screens.
 */
.preloader__logo {
  width: clamp(200px, 24vw, 420px);
  animation: logo-pulse 1.6s var(--ease-in-out) infinite;
}

.preloader__bar {
  width: clamp(230px, 30vw, 520px);
  height: 2px;
  margin-top: 1.75rem;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.preloader__bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--red);
  animation: bar-slide 1.1s var(--ease-in-out) infinite;
}

@keyframes logo-pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.97); }
}

@keyframes bar-slide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* --------------------------------------------------- 7. Page transition */

.page-veil {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--black);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

.page-veil.is-out {
  transform: scaleY(1);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease-in-out);
}

body.is-entering .page-veil {
  transform: scaleY(1);
  transform-origin: top;
  animation: veil-lift 0.65s var(--ease-in-out) forwards;
}

@keyframes veil-lift {
  to { transform: scaleY(0); }
}

/* ------------------------------------------------------------ 8. Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 800;
  transition: background 0.4s var(--ease-out), transform 0.45s var(--ease-out),
              box-shadow 0.4s var(--ease-out), backdrop-filter 0.4s;
}

.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0));
  z-index: -1;
  transition: opacity 0.4s var(--ease-out);
}

.site-header.is-stuck {
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(0, 0, 0, 0.5);
}
.site-header.is-stuck::after { opacity: 0; }

.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

/*
 * The logo is a dense lockup (mark plus two lines of wordmark), so it needs
 * more height than a plain wordmark before "ENTERTAINMENT" becomes readable.
 */
.brand { flex: none; display: block; }
.brand img {
  height: 64px;
  width: auto;
  transition: height 0.4s var(--ease-out);
}
.is-stuck .brand img { height: 50px; }

/* Primary navigation */
.nav { display: flex; align-items: center; gap: 0.35rem; }

.nav__link {
  position: relative;
  display: block;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
  transition: color 0.3s var(--ease-out);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.25rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav__link:hover { color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__item.is-current > .nav__link { color: var(--white); }
.nav__item.is-current > .nav__link::after { transform: scaleX(1); }

.nav__item { position: relative; }

/* Dropdown */
.nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--ink-2);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
}

.nav__item:hover > .nav__submenu,
.nav__item:focus-within > .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__submenu a {
  display: block;
  padding: 0.6rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.25s, background 0.25s, padding-left 0.25s;
}

.nav__submenu a:hover {
  color: var(--white);
  background: rgba(225, 26, 44, 0.14);
  padding-left: 1.5rem;
}

.header-actions { display: flex; align-items: center; gap: 1rem; }

.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  padding-right: 1rem;
  border-right: 1px solid var(--line);
}
.header-phone span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.header-phone a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.25s;
}
.header-phone a:hover { color: var(--red); }

/* Burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }

.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 850;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.5s var(--ease-in-out), visibility 0.5s;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer.is-open { transform: translateX(0); visibility: visible; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem var(--gutter);
  border-bottom: 1px solid var(--line);
}
.drawer__head img { height: 52px; width: auto; }

.drawer__close {
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.drawer__nav { list-style: none; margin: 0; padding: 1.5rem var(--gutter); flex: 1; }

.drawer__nav > li { border-bottom: 1px solid var(--line); }

.drawer__nav a {
  display: block;
  padding: 1.05rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  transition: color 0.25s, transform 0.35s var(--ease-out);
}
.drawer__nav a:hover { color: var(--red); transform: translateX(8px); }

.drawer__sub { list-style: none; margin: 0 0 0.75rem; padding: 0 0 0 1rem; }
.drawer__sub a { font-size: 0.95rem; padding: 0.5rem 0; color: var(--fg-muted); font-weight: 600; letter-spacing: 0.08em; }

.drawer__foot { padding: 1.5rem var(--gutter) 2.5rem; border-top: 1px solid var(--line); }

/* Sticky mobile register bar */
.register-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 700;
  display: none;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(8, 8, 10, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease-out);
}
.register-bar.is-visible { transform: translateY(0); }

/* ------------------------------------------------------------- 9. Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}

.hero--short { min-height: 68svh; }

/*
 * Video hero. The event page opens on the trailer itself rather than using it
 * as a backdrop, so nothing is laid over it: no scrim, no headline, no scroll
 * cue. object-fit is contain rather than cover because the film carries its own
 * titles and cropping them would defeat the point; the letterboxing lands on
 * black and never shows. The padding clears the fixed header.
 */
.video-hero {
  background: var(--black);
  padding-top: calc(var(--header-h) + clamp(0.75rem, 2vw, 1.75rem));
  padding-bottom: clamp(0.75rem, 2vw, 1.75rem);
}

.video-hero__frame {
  width: min(100%, 1400px);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  max-height: calc(100svh - var(--header-h) - 3rem);
  background: var(--black);
}

.video-hero__frame video,
.video-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
  animation: hero-drift 18s var(--ease-out) forwards;
}

@keyframes hero-drift {
  to { transform: scale(1); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.55) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(225,26,44,0.22), transparent 60%);
}

/* Diagonal speed streaks */
.hero__streaks {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.5;
}
.hero__streaks i {
  position: absolute;
  top: -20%;
  height: 140%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(225,26,44,0.55), transparent);
  transform: rotate(14deg);
  animation: streak 6s var(--ease-in-out) infinite;
}
.hero__streaks i:nth-child(1) { left: 12%;  animation-delay: 0s;   }
.hero__streaks i:nth-child(2) { left: 34%;  animation-delay: 1.4s; }
.hero__streaks i:nth-child(3) { left: 58%;  animation-delay: 2.6s; }
.hero__streaks i:nth-child(4) { left: 79%;  animation-delay: 3.8s; }

@keyframes streak {
  0%, 100% { opacity: 0; transform: rotate(14deg) translateY(-30px); }
  50%      { opacity: 1; transform: rotate(14deg) translateY(30px); }
}

.hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(4rem, 10vh, 8rem);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 11.5vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}

.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  transform: translateY(105%);
  animation: line-rise 1s var(--ease-out) forwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: 0.15s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.28s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.41s; }

@keyframes line-rise { to { transform: translateY(0); } }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-bottom: 1.75rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero__meta .dot { width: 6px; height: 6px; background: var(--red); flex: none; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.hero__scroll i {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scroll-hint 2s var(--ease-in-out) infinite;
}
@keyframes scroll-hint {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
  50%      { transform: scaleY(1);   transform-origin: top; opacity: 1; }
}

/* Page hero for interior pages */
.page-hero {
  position: relative;
  padding-top: clamp(9rem, 18vh, 13rem);
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
  overflow: hidden;
  background: var(--ink);
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.page-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, var(--black) 5%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.8));
}
.page-hero__body { position: relative; z-index: 2; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb > * + *::before { content: '/'; margin-right: 0.5rem; color: var(--grey-700); }

/* --------------------------------------------------------- 10. Countdown */

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 620px;
}

.countdown__cell {
  background: rgba(8, 8, 10, 0.75);
  backdrop-filter: blur(6px);
  padding: 1.15rem 0.5rem;
  text-align: center;
}

.countdown__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.countdown__label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.countdown--solid .countdown__cell { background: var(--ink-2); }
.countdown--live .countdown__num { color: var(--red); }

/* Tick pulse when a digit changes */
.countdown__num.is-ticking { animation: tick 0.5s var(--ease-out); }
@keyframes tick {
  0%   { transform: translateY(-8px); opacity: 0.35; }
  100% { transform: translateY(0);    opacity: 1; }
}

/* ------------------------------------------------------------- 11. Cards */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s var(--ease-out);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 26, 44, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-3);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease-out), filter 0.6s;
}

.card:hover .card__media img { transform: scale(1.07); }

.card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 55%);
}

.card__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
}
.card__badge--muted { background: rgba(255,255,255,0.14); backdrop-filter: blur(6px); }

.card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card__title { font-size: 1.3rem; margin-bottom: 0.6rem; }
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-bottom: 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.card__text { color: var(--fg-muted); font-size: 0.94rem; flex: 1; }
.card__foot { margin-top: 1.25rem; }

/*
 * Numbered feature card. The registration page renders these as <button>, and
 * a button takes the browser's own colour and font rather than the page's, so
 * the card title came out near-black on a near-black card. Both are set here
 * so the card looks the same whichever element it is built from.
 */
.feature {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
  color: var(--fg);
  font-family: var(--font-body);
  transition: transform 0.5s var(--ease-out), border-color 0.4s;
}
.feature:hover { transform: translateY(-5px); border-color: rgba(225,26,44,0.5); }

.feature::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease-out);
}
.feature:hover::before { transform: scaleY(1); transform-origin: top; }

/*
 * The number is drawn as a red outline. It used to be painted with
 * `color: transparent` up front, so anywhere text-stroke did not apply the
 * digits disappeared into the card. The fill is now a solid red by default and
 * only handed over to the stroke where the browser actually supports it.
 */
.feature__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--red);
  margin-bottom: 1rem;
}

@supports (-webkit-text-stroke: 1.5px red) {
  .feature__num {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--red);
  }
}

.feature__title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature__text { color: var(--fg-muted); font-size: 0.92rem; margin: 0; }

/* Stat */
.stat { text-align: center; padding: 1.5rem 0.75rem; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--red);
}
.stat__label {
  margin-top: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* --------------------------------------------------- 12. Feature banner */

.banner {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.banner__media { position: absolute; inset: 0; z-index: 0; }
.banner__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.banner__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(0,0,0,0.94) 20%, rgba(0,0,0,0.55) 60%, rgba(165,15,30,0.4));
}
.banner__body { position: relative; z-index: 2; padding-block: clamp(4rem, 9vw, 7.5rem); }

/* Split media + text */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--reverse .split__media { order: 2; }
}

.split__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.split__media:hover img { transform: scale(1.05); }

.split__media::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
}

/* Red corner accent */
.split__media::before {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  z-index: 2;
  width: 90px; height: 90px;
  background: var(--red);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* ------------------------------------------------------------ 13. Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: 8px;
}
@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
}

.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink-3);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.5s;
  filter: grayscale(0.35) contrast(1.05);
}

.gallery-item:hover img { transform: scale(1.08); filter: grayscale(0) contrast(1.05); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--red);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.gallery-item:hover::after { opacity: 1; transform: scale(1); }

.gallery-empty {
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  text-align: center;
  border: 1px dashed var(--line-strong);
  background: var(--ink-2);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.96);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: grid; animation: fade-in 0.3s var(--ease-out); }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.lightbox__img {
  max-width: 100%;
  max-height: 82svh;
  object-fit: contain;
  animation: lb-zoom 0.4s var(--ease-out);
}
@keyframes lb-zoom { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

.lightbox__btn {
  position: absolute;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.lightbox__btn:hover { background: var(--red); border-color: var(--red); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev  { left: 1.25rem;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 1.25rem; top: 50%; transform: translateY(-50%); }

.lightbox__count {
  position: absolute;
  bottom: 1.4rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--fg-muted);
}

/* --------------------------------------------------------- 14. Schedule */

.schedule-days {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.schedule-tab {
  padding: 0.8rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.schedule-tab:hover { border-color: var(--white); color: var(--white); }
.schedule-tab.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.schedule-panel { display: none; }
.schedule-panel.is-active { display: block; animation: fade-up 0.5s var(--ease-out); }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.schedule-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding-left 0.3s var(--ease-out);
}
.schedule-row:hover { background: rgba(255,255,255,0.02); padding-left: 0.75rem; }

@media (min-width: 760px) {
  .schedule-row { grid-template-columns: 150px 1fr 200px; align-items: baseline; }
}

.schedule-row__time {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.04em;
}
.schedule-row__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; text-transform: uppercase; }
.schedule-row__desc { color: var(--fg-muted); font-size: 0.9rem; margin: 0.25rem 0 0; }
.schedule-row__venue { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); }

/* --------------------------------------------------------- 15. Forms */

.form-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.field label .req { color: var(--red); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field input[type="password"],
.field input[type="url"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  appearance: none;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--grey-500) 50%),
                    linear-gradient(135deg, var(--grey-500) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.75rem;
}

.field textarea { min-height: 150px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--ink-3);
  box-shadow: 0 0 0 3px rgba(225, 26, 44, 0.16);
}

.field input::placeholder, .field textarea::placeholder { color: var(--fg-dim); }

.field__hint { font-size: 0.78rem; color: var(--fg-dim); }
.field__error { font-size: 0.78rem; color: var(--red-bright); font-weight: 600; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red-bright); }

/* Selectable option cards (radio / checkbox) */
.option-card { position: relative; display: block; cursor: pointer; }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }

.option-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
  padding: 1.4rem 1.5rem;
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}
.option-card:hover .option-card__inner { border-color: var(--line-strong); transform: translateY(-3px); }

.option-card input:checked + .option-card__inner {
  border-color: var(--red);
  background: rgba(225, 26, 44, 0.10);
}

.option-card input:focus-visible + .option-card__inner {
  outline: 2px solid var(--red-bright);
  outline-offset: 2px;
}

.option-card__mark {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 3px;
  border: 2px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: border-color 0.25s, background 0.25s;
}
.option-card--radio .option-card__mark { border-radius: 50%; }
.option-card__mark::after {
  content: '';
  width: 10px; height: 10px;
  background: var(--white);
  transform: scale(0);
  transition: transform 0.25s var(--ease-out);
}
.option-card--radio .option-card__mark::after { border-radius: 50%; }
.option-card input:checked + .option-card__inner .option-card__mark { border-color: var(--red); background: var(--red); }
.option-card input:checked + .option-card__inner .option-card__mark::after { transform: scale(1); }

.option-card__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
}
.option-card__text { display: block; font-size: 0.87rem; color: var(--fg-muted); margin: 0; }
.option-card__price {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--red);
}

/* The higher price the same ticket costs paid at the gate on the day. */
.option-card__note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
}

/* Steps indicator */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1rem 0.75rem 1rem 0;
  border-top: 3px solid var(--grey-900);
  color: var(--fg-dim);
  transition: border-color 0.4s, color 0.4s;
}
.step__num {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.step__label {
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.7vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}
.step.is-done { border-color: var(--grey-500); color: var(--fg-muted); }
.step.is-active { border-color: var(--red); color: var(--white); }

/* Order summary */
.summary {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 1.75rem;
}
.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.summary__row:last-of-type { border-bottom: none; }
.summary__row span:first-child { color: var(--fg-muted); }
.summary__row span:last-child { text-align: right; font-weight: 600; }
.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--red);
  font-family: var(--font-display);
  text-transform: uppercase;
}
.summary__total b { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 900; color: var(--red); }

/* A total with no line items above it does not need a divider over it. */
.summary > .summary__total:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* Alerts */
.alert {
  display: flex;
  gap: 0.9rem;
  padding: 1.05rem 1.35rem;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--grey-500);
  background: var(--ink-2);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}
.alert--error   { border-left-color: var(--red-bright); background: rgba(225, 26, 44, 0.08); }
.alert--success { border-left-color: #17c964; background: rgba(23, 201, 100, 0.08); }
.alert--warn    { border-left-color: #f5a524; background: rgba(245, 165, 36, 0.08); }
.alert p { margin: 0; }

/* Reference ticket */
.ticket {
  position: relative;
  padding: clamp(2rem, 5vw, 3rem);
  background:
    linear-gradient(135deg, rgba(225,26,44,0.16), transparent 60%),
    var(--ink-2);
  border: 1px solid var(--line-strong);
  text-align: center;
  overflow: hidden;
}
.ticket::before, .ticket::after {
  content: '';
  position: absolute;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--black);
  top: 50%;
  transform: translateY(-50%);
}
.ticket::before { left: -14px; }
.ticket::after  { right: -14px; }

.ticket__code {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--red);
  margin: 0.5rem 0;
  word-break: break-all;
}

/* --------------------------------------------------------- 16. Footer */

.site-footer {
  position: relative;
  background: var(--ink);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-deep), transparent);
}

.footer-cta {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.footer-main {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 760px)  { .footer-main { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-main { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; } }

.footer-brand img { height: 82px; width: auto; margin-bottom: 1.5rem; }
.footer-brand p { color: var(--fg-muted); font-size: 0.92rem; max-width: 38ch; }

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.35rem;
  color: var(--white);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--fg-muted);
  transition: color 0.25s, padding-left 0.3s var(--ease-out);
}
.footer-col a:hover { color: var(--red); padding-left: 6px; }

.socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--fg-muted);
  transition: all 0.35s var(--ease-out);
}
.socials a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}
.socials svg { width: 17px; height: 17px; fill: currentColor; }

.newsletter-form { display: flex; margin-top: 1rem; }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
  border-right: none;
  color: var(--white);
  font-size: 0.9rem;
}
.newsletter-form input:focus { outline: none; border-color: var(--red); }
.newsletter-form button {
  flex: none;
  padding: 0 1.25rem;
  background: var(--red);
  border: 1px solid var(--red);
  color: var(--white);
  cursor: pointer;
  transition: background 0.3s;
}
.newsletter-form button:hover { background: var(--red-bright); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--fg-dim);
}
.footer-bottom a:hover { color: var(--red); }

/* Scroll to top */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 600;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--red);
  border: none;
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.4s var(--ease-out);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--white); color: var(--black); }

/* --------------------------------------------------- 17. Scroll reveal */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="zoom"]  { transform: scale(0.94); }
[data-reveal="mask"]  { opacity: 1; clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease-out); }

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

/* Marquee */
.marquee {
  display: flex;
  overflow: hidden;
  padding-block: 1.1rem;
  background: var(--red);
  user-select: none;
}
.marquee__track {
  display: flex;
  flex: none;
  gap: 3rem;
  padding-right: 3rem;
  animation: marquee 28s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.4vw, 1.6rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee span i { font-style: normal; color: rgba(0,0,0,0.4); }
@keyframes marquee { to { transform: translateX(-100%); } }

.marquee--dark { background: var(--ink-2); border-block: 1px solid var(--line); }
.marquee--dark span { color: var(--fg-dim); }

/* Video play button */
.play-btn {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 84px; height: 84px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--red);
  border: none;
  color: var(--white);
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), background 0.3s;
}
.play-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: ripple 2.4s var(--ease-out) infinite;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--red-bright); }
@keyframes ripple {
  0%   { transform: scale(1);   opacity: 0.9; }
  100% { transform: scale(1.85); opacity: 0; }
}

/* Diagonal ribbon divider */
.ribbon {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--red) 0 18px,
    var(--black) 18px 36px
  );
}

/* --------------------------------------------------- 18. Utility bits */

.hide { display: none !important; }
.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;
}

.divider { height: 1px; background: var(--line); border: none; margin: 0; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  color: var(--fg-muted);
}
.chip--red { background: var(--red); border-color: var(--red); color: var(--white); }
.chip--live { background: rgba(225,26,44,0.15); border-color: var(--red); color: var(--red); }
.chip--live::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.info-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: space-between;
  padding: 1.1rem 1.35rem;
  background: var(--ink-2);
}
.info-list dt, .info-list .k {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.info-list dd, .info-list .v {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: right;
}

/* --------------------------------------------------- 19. Responsive */

@media (max-width: 1100px) {
  .nav, .header-phone { display: none; }
  .burger { display: block; }
  :root { --header-h: 82px; }
  .brand img { height: 56px; }
}

@media (max-width: 700px) {
  body { font-size: 15px; }

  /*
   * "ENTERTAINMENT" is the longest word the display face has to carry. At the
   * desktop vw scale it runs past the gutter on a phone, so the display sizes
   * step down here rather than relying on the clamp minimum.
   */
  .hero__title { font-size: clamp(1.85rem, 8.4vw, 3.6rem); }
  .display-xl  { font-size: clamp(2.4rem, 9vw, 5rem); }
  .display-lg  { font-size: clamp(1.9rem, 8vw, 3.6rem); }
  .display-md  { font-size: clamp(1.6rem, 6.6vw, 2.6rem); }

  .eyebrow { letter-spacing: 0.18em; font-size: 0.68rem; }
  .eyebrow::before { width: 20px; }

  :root { --header-h: 72px; }
  .brand img, .is-stuck .brand img { height: 46px; }
  .footer-brand img { height: 66px; }
  .header-actions .btn { display: none; }
  .register-bar { display: block; }
  .site-footer { padding-bottom: 72px; }
  .to-top { bottom: 84px; }
  .countdown { grid-template-columns: repeat(4, 1fr); }
  .countdown__cell { padding: 0.85rem 0.25rem; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2px 1rem; }
  .hero__scroll { display: none; }
  .split__media::before { width: 60px; height: 60px; }
}

@media (max-width: 430px) {
  .countdown__label { font-size: 0.52rem; letter-spacing: 0.14em; }

  /* Long eyebrows ("Bikestaxx Entertainment presents") need the room. */
  .eyebrow { font-size: 0.62rem; letter-spacing: 0.12em; gap: 0.5rem; }
  .eyebrow::before { width: 16px; }
}

/* ------------------------------------------------ 20. Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .hero__media img, .hero__media video { transform: none; }
  .hero__title .line > span { transform: none; }
}

/* ------------------------------------------------------- 21. Printing */

@media print {
  .site-header, .site-footer, .register-bar, .to-top, .preloader, .drawer { display: none !important; }
  body { background: #fff; color: #000; }
}
