:root {
  --purple: #450272;
  --plum: #1f0a3a;
  --lime: #d4f932;
  --pink: #ff3d8b;
  --paper: #f4eeff;
  --lav: #d9c9ff;
  --white: #fff;

  --display: "Dela Gothic One", "Arial Black", sans-serif;
  --body: "Bricolage Grotesque", system-ui, sans-serif;

  /* type scale (~1.333) */
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.375rem;
  --t-lg: clamp(1.75rem, 3vw, 2.375rem);
  --t-xl: clamp(2.5rem, 5.5vw, 4.25rem);

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--t-base);
  line-height: 1.55;
  color: var(--plum);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--lime); color: var(--plum); padding: .6rem 1rem; border-radius: 8px; font-weight: 800;
}
.skip:focus { top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 800 1rem/1 var(--body);
  padding: 1rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .7rem 1.1rem; font-size: .9375rem; }
.btn-lime { background: var(--lime); color: var(--plum); }
.btn-lime:hover { background: #e2ff5c; }
.btn-pink { background: var(--pink); color: var(--white); }
.btn-pink:hover { background: #ff5b9e; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .85rem var(--pad);
  background: var(--purple);
  color: var(--white);
}
.mark {
  font-family: var(--display);
  font-size: 1.5rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.mark span { color: var(--lime); }
.top nav { display: flex; gap: 1.6rem; margin-left: auto; }
.top nav a { text-decoration: none; font-weight: 600; opacity: .85; }
.top nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--lime); text-decoration-thickness: 2px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--purple);
  color: var(--white);
  padding: clamp(1.5rem, 4vw, 3rem) var(--pad) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-kicker {
  font-family: var(--display);
  font-size: var(--t-lg);
  color: var(--lime);
  margin-bottom: .25rem;
}
.hero-type {
  position: relative;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  max-height: 72vh;
}
.hero-type canvas { width: 100%; height: 100%; display: block; }
/* Safari only autoplays videos it considers visible: keep it full size, covered by a purple layer */
.hero-type video { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: cover; z-index: 0; pointer-events: none; }
.hero-type::before { content: ""; position: absolute; inset: -2px; background: var(--purple); z-index: 1; pointer-events: none; }
.hero-type canvas { position: relative; z-index: 2; }
.hero-foot { position: relative; z-index: 3; }

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 36rem) auto;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(1rem, 2vw, 1.75rem);
}
.hero-lead { font-size: var(--t-md); line-height: 1.4; max-width: 34ch; }
.hero-lead strong { color: var(--lime); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.sticker {
  position: absolute;
  top: clamp(4rem, 9vw, 7rem);
  right: var(--pad);
  width: clamp(7.5rem, 13vw, 10rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  display: grid; place-content: center; text-align: center;
  text-decoration: none;
  transform: rotate(9deg);
  box-shadow: 0 0 0 6px var(--purple), 0 0 0 8px var(--pink);
  line-height: 1.1;
}
.sticker:hover { transform: rotate(4deg) scale(1.03); transition: transform .2s ease; }
.sticker-top { font-size: .8125rem; font-weight: 600; }
.sticker-day { font-family: var(--display); font-size: clamp(1rem, 1.7vw, 1.3rem); margin: .2rem 0; }
.sticker-time { font-weight: 800; font-size: .9375rem; }

/* ---------- schedule ticket ---------- */
.ticket {
  background: var(--lime);
  padding: clamp(2rem, 4vw, 3rem) var(--pad);
}
.ticket-inner {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) 2.4fr;
  grid-template-areas: "title facts" "title note";
  gap: .75rem 3rem;
  align-items: start;
}
.ticket-title { grid-area: title; font-size: var(--t-lg); max-width: 9ch; }
.ticket-facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-left: 2px dashed var(--plum);
}
.ticket-facts > div { padding: .25rem 1.5rem; border-right: 2px dashed var(--plum); }
.ticket-facts > div:last-child { border-right: 0; }
.ticket-facts dt { font-size: var(--t-sm); font-weight: 600; opacity: .75; }
.ticket-facts dd { margin: .2rem 0 0; font-weight: 800; font-size: var(--t-md); line-height: 1.2; }
.ticket-note { grid-area: note; padding-left: 1.5rem; font-weight: 600; }
.ticket-note a { font-weight: 800; }

/* ---------- offer ---------- */
.offer { padding: clamp(4rem, 8vw, 7rem) var(--pad); }
.offer-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.offer-head h2 { font-size: var(--t-xl); color: var(--purple); max-width: 14ch; }
.offer-head p { font-size: var(--t-md); line-height: 1.4; max-width: 30ch; }

.offer-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--plum); }
.offer-list li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 2px solid var(--plum);
}
.offer-list img { width: 9rem; height: 9rem; object-fit: cover; border-radius: 50%; }
.offer-list li > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2rem; align-items: center; }
.offer-list h3 { font-size: var(--t-lg); }
.offer-list p { max-width: 46ch; }
.offer-list li:nth-child(odd) img { outline: 5px solid var(--lime); outline-offset: -1px; }
.offer-list li:nth-child(even) img { outline: 5px solid var(--pink); outline-offset: -1px; }

/* ---------- coaches ---------- */
.coaches {
  background: var(--plum);
  color: var(--white);
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
}
.coaches-title { font-size: var(--t-xl); }
.coaches-sub { font-size: var(--t-md); line-height: 1.4; max-width: 40ch; margin-top: 1rem; color: var(--lav); }

.coach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.coach-lb .coach-photo { order: 2; }
.coach-photo { margin: 0; position: relative; }
.coach-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.coach-tj .coach-photo::after,
.coach-lb .coach-photo::after {
  content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; z-index: -1; border-radius: var(--radius);
}
.coach-photo { z-index: 0; isolation: isolate; }
.coach-tj .coach-photo::after { background: var(--pink); }
.coach-lb .coach-photo::after { background: var(--lime); inset: 1.1rem 1.1rem -1.1rem -1.1rem; }

.coach-copy h3 { font-size: clamp(3rem, 8vw, 6rem); }
.coach-tj h3 { color: var(--pink); }
.coach-lb h3 { color: var(--lime); }
.coach-role { font-weight: 800; font-size: var(--t-md); margin: .6rem 0 1.2rem; }
.coach-copy > p:not(.coach-role) { max-width: 44ch; color: var(--lav); }
.coach-tags { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.coach-tags li { border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px; padding: .35rem .9rem; font-size: var(--t-sm); font-weight: 600; }
.coach-link { font-weight: 800; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.coach-tj .coach-link { text-decoration-color: var(--pink); }
.coach-lb .coach-link { text-decoration-color: var(--lime); }

/* ---------- crew ---------- */
.crew { padding: clamp(4rem, 8vw, 7rem) var(--pad); }
.crew-head { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.crew-head h2 { font-size: clamp(3.5rem, 10vw, 8rem); color: var(--purple); line-height: .9; }
.crew-head p { font-size: var(--t-md); line-height: 1.4; max-width: 34ch; justify-self: end; }

.crew-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(9rem, 15vw, 13rem);
  gap: .75rem;
}
.crew-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 10px; }
.crew-grid img { width: 100%; height: 100%; object-fit: cover; }
.crew-grid figcaption {
  position: absolute; left: .6rem; bottom: .6rem;
  background: var(--white); color: var(--plum);
  font-size: var(--t-sm); font-weight: 800;
  padding: .3rem .7rem; border-radius: 999px;
}
.c-a { grid-column: span 3; grid-row: span 2; }
.c-b { grid-column: span 3; grid-row: span 2; }
.c-c { grid-column: span 2; grid-row: span 2; }
.c-d { grid-column: span 2; grid-row: span 2; }
.c-e { grid-column: span 2; }
.c-f { grid-column: span 2; }
.c-g { grid-column: span 3; grid-row: span 2; }
.c-h { grid-column: span 3; grid-row: span 2; }
.c-a img { object-position: center 40%; }
.c-d img { object-position: center 30%; }

/* ---------- reviews ---------- */
.reviews {
  background: var(--pink);
  color: var(--white);
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
}
.big-quote { margin: 0; }
.big-quote blockquote { margin: 0; }
.big-quote p {
  font-family: var(--display);
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: 1.02;
  max-width: 17ch;
  text-indent: -0.45em;
}
.big-quote p::before { content: "\201C"; }
.big-quote p::after { content: "\201D"; }
.big-quote figcaption { margin-top: 1.25rem; font-weight: 800; font-size: var(--t-md); }

.score { margin-top: 2.5rem; font-size: var(--t-md); }
.score strong { background: var(--white); color: var(--pink); padding: .1rem .5rem; border-radius: 6px; }
.score a { font-weight: 800; }

.quotes {
  margin-top: 3rem;
  columns: 3 16rem;
  column-gap: 2.5rem;
}
.quotes figure {
  break-inside: avoid;
  margin: 0 0 2rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(255,255,255,.6);
}
.quotes blockquote { margin: 0; font-size: var(--t-md); line-height: 1.35; font-weight: 600; }
.quotes figcaption { margin-top: .6rem; font-size: var(--t-sm); font-weight: 800; color: var(--plum); }

/* ---------- visit ---------- */
.visit {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
}
.visit h2 { font-size: var(--t-xl); color: var(--purple); max-width: 12ch; }
.visit-copy > p { font-size: var(--t-md); line-height: 1.4; max-width: 36ch; margin: 1.25rem 0 2rem; }
.visit-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; margin: 0 0 2.25rem; }
.visit-facts dt { font-size: var(--t-sm); font-weight: 600; color: var(--purple); }
.visit-facts dd { margin: .25rem 0 0; font-weight: 800; }
.visit-facts a { text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.visit-photo { margin: 0; }
.visit-photo img { width: 100%; border-radius: var(--radius); border: 8px solid var(--lime); }

/* ---------- footer ---------- */
.foot {
  background: var(--purple);
  color: var(--white);
  padding: clamp(3rem, 6vw, 5rem) var(--pad) 2rem;
}
.foot-mark { font-family: var(--display); font-size: clamp(2.5rem, 8.5vw, 7.5rem); line-height: .95; color: var(--lime); }
.foot-small { margin-top: 1.5rem; color: var(--lav); font-size: var(--t-sm); }

/* ---------- video dialog ---------- */
dialog {
  border: 0; padding: 0; background: var(--plum); color: var(--white);
  width: min(92vw, 1100px); border-radius: var(--radius); overflow: hidden;
}
dialog::backdrop { background: rgba(31,10,58,.85); }
dialog video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #000; }
dialog p { padding: .9rem 1.2rem; font-size: var(--t-sm); color: var(--lav); }
.dialog-close {
  position: absolute; top: .6rem; right: .6rem; z-index: 2;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 0; background: var(--lime); color: var(--plum);
  font-size: 1.75rem; line-height: 1; cursor: pointer;
}
dialog[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
@media (prefers-reduced-motion: reduce) { dialog[open] { animation: none; } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .hero-type { aspect-ratio: 1 / 1; }
  .hero-foot { grid-template-columns: 1fr; }
  .ticket-inner { grid-template-columns: 1fr; grid-template-areas: "title" "facts" "note"; }
  .ticket-title { max-width: none; }
  .ticket-facts { grid-template-columns: 1fr; border-left: 0; }
  .ticket-facts > div { border-right: 0; border-bottom: 2px dashed var(--plum); padding: .75rem 0; }
  .ticket-note { padding-left: 0; }
  .offer-head, .crew-head { grid-template-columns: 1fr; gap: 1rem; }
  .crew-head p { justify-self: start; }
  .offer-list li > div { grid-template-columns: 1fr; gap: .5rem; }
  .coach { grid-template-columns: 1fr; }
  .coach-lb .coach-photo { order: 0; }
  .crew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 11rem; }
  .crew-grid figure { grid-column: span 1; grid-row: span 1; }
  .c-a, .c-c, .c-h { grid-column: span 2 !important; grid-row: span 2 !important; }
  .visit { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .offer-list li { grid-template-columns: 5.5rem 1fr; align-items: start; }
  .offer-list img { width: 5.5rem; height: 5.5rem; }
  .sticker { top: 3.4rem; width: 5.5rem; box-shadow: 0 0 0 4px var(--purple), 0 0 0 6px var(--pink); }
  .sticker-top, .sticker-time { font-size: .625rem; }
  .sticker-day { font-size: .875rem; }
  .visit-facts { grid-template-columns: 1fr; }
  .top .btn { font-size: .8125rem; padding: .6rem .9rem; }
}

.coach-lb .coach-photo img { object-position: center top; }

/* ---------- hero lockup: copy lives beside "BE" on desktop ---------- */
.hero { overflow: visible; }
.hero-type { aspect-ratio: auto; max-height: none; }
.ticket { position: relative; z-index: 1; }
.sticker { z-index: 5; }

@media (min-width: 901px) {
  .hero { padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }
  .hero-foot {
    position: absolute;
    top: 0;
    left: calc(var(--be-w) + clamp(1.5rem, 3vw, 3rem));
    right: 0;
    height: var(--lh);
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .hero-lead { font-size: clamp(1.125rem, 1.55vw, 1.375rem); max-width: 32ch; }
  .sticker {
    top: auto;
    bottom: calc(clamp(5.5rem, 9vw, 7rem) * -0.5);
    right: calc(var(--pad) + 1rem);
    width: clamp(7rem, 10vw, 8.5rem);
  }
  .ticket-inner { padding-right: clamp(8rem, 12vw, 10rem); }
}

/* ---------- Elite24 logo ---------- */
.mark { display: block; line-height: 0; }
.mark img { height: 30px; width: auto; }
.foot-logo { width: min(520px, 80%); height: auto; margin-bottom: 2rem; }
@media (max-width: 560px) { .mark img { height: 22px; } }

/* ---------- phones: BE ELITE is the whole first screen ---------- */
@media (max-width: 900px) {
  .hero {
    min-height: calc(100svh - 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1.25rem;
    padding-bottom: 2.5rem;
  }
  .hero-kicker { font-size: clamp(1.5rem, 7vw, 2.25rem); margin-bottom: .5rem; }
  .hero-type { width: auto; margin-inline: calc(var(--pad) * -1); }
  .hero-foot { padding-inline: var(--pad); margin-top: 1.5rem; }
  .hero-lead { font-size: 1.125rem; }
  .sticker {
    top: .9rem;
    right: var(--pad);
    width: 5.75rem;
    box-shadow: 0 0 0 4px var(--purple), 0 0 0 6px var(--pink);
    transform: rotate(10deg);
  }
  .sticker-top, .sticker-time { font-size: .625rem; }
  .sticker-day { font-size: .9rem; }
}

/* ---------- footer details + copyright ---------- */
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 2rem; border-top: 2px solid rgba(212, 249, 50, .35); }
.foot-h { font-family: var(--display); font-size: 1rem; color: var(--lime); margin-bottom: .6rem; letter-spacing: .02em; }
.foot-grid p { color: var(--lav); line-height: 1.6; }
.foot-grid p + p { margin-top: .5rem; }
.foot-grid a, .foot-bottom a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(212, 249, 50, .6); text-underline-offset: 3px; }
.foot-grid a:hover, .foot-bottom a:hover { color: var(--lime); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(217, 201, 255, .25); font-size: var(--t-sm); color: var(--lav); }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.foot-bottom a { text-decoration: none; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; gap: 1.5rem; } .foot-bottom { flex-direction: column; align-items: flex-start; } }
