@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap; src: url(fonts/barlow-condensed-800-italic.woff2) format("woff2"); }

:root {
  --ink: #0b0716;
  --night: #120a26;
  --paper: #f4f0ff;
  --muted: #c9c4ea;
  --cyan: #38e8ff;
  --magenta: #ff2bd6;
  --yellow: #ffd23f;
  --common: #c9c4ea;
  --uncommon: #3ff29a;
  --rare: #38e8ff;
  --epic: #a64dff;
  --legendary: #ffcf4a;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
}
* { box-sizing: border-box; }
html { background: var(--ink); color: var(--paper); font: 400 17px/1.5 var(--body); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--ink); }
img, video { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); background: linear-gradient(rgba(11, 7, 22, .8), rgba(11, 7, 22, 0)); }
.wordmark { font: 800 italic 28px/1 var(--display); letter-spacing: .02em; color: var(--paper); }
.wordmark i { color: var(--yellow); font-style: normal; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--magenta); color: #fff; font: 800 italic 22px/1 var(--display); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; white-space: nowrap; border: 3px solid var(--ink); box-shadow: 0 0 0 3px var(--legendary), 0 6px 0 var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 18px; box-shadow: 0 0 0 2px var(--cyan); }
.btn-lg { min-height: 60px; padding: 0 40px; font-size: 28px; }
.link { color: var(--paper); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--cyan); white-space: nowrap; }
.kicker { margin: 0 0 10px; font: 800 italic 18px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
h2 { margin: 0 0 14px; font: 800 italic clamp(38px, 5.2vw, 80px)/.92 var(--display); text-transform: uppercase; }
.body, .sub { margin: 0 0 12px; max-width: 40ch; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); }
.fine { margin: 8px 0 0; color: var(--muted); font-size: 14px; opacity: .85; }
.center { text-align: center; }

.clip { width: 100%; height: 100%; object-fit: cover; background: var(--night); }

/* HERO: full-bleed video, copy bottom-left (the baked SERVED! sticker sits top-left, the dancer right) */
#hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.callout { position: absolute; left: var(--gutter); top: 16vh; margin: 0; max-width: 9ch; font: 800 italic clamp(40px, min(6vw, 9vh), 100px)/.9 var(--display); text-transform: uppercase; text-shadow: 0 4px 0 var(--ink); opacity: 0; transition: none; }
.callout.on { opacity: 1; }
/* the callout and the hero copy share the left column; they are never shown together */
.hero-copy.on ~ .callout, #hero.revealed .callout { opacity: 0; }
.hero-copy { position: absolute; left: var(--gutter); bottom: 7vh; width: min(440px, 31vw); z-index: 2; }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(11, 7, 22, .78), rgba(11, 7, 22, 0) 46%); }
.hero-copy > * { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.hero-copy.on > * { opacity: 1; transform: none; }
.hero-copy.on > :nth-child(3) { transition-delay: .08s; } .hero-copy.on > :nth-child(4) { transition-delay: .16s; } .hero-copy.on > :nth-child(5) { transition-delay: .24s; }
.lead { margin: 0 0 14px; font: 800 italic clamp(30px, 3.2vw, 50px)/.95 var(--display); text-transform: uppercase; text-shadow: 0 3px 0 var(--ink); }
.ctas { display: flex; align-items: center; gap: 22px; flex-wrap: nowrap; margin: 0 0 14px; }
.hero-copy .sub { text-shadow: 0 1px 2px var(--ink); }

/* SECTIONS */
.band { padding: clamp(64px, 9vw, 140px) var(--gutter); }
#story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; max-width: 1440px; margin: 0 auto; }
.frame { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 0 0 0 3px rgba(56, 232, 255, .35), 0 18px 40px rgba(0, 0, 0, .45); background: var(--night); }
.namecard { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 10px; align-items: baseline; padding: 8px 14px; border-radius: 10px; background: rgba(11, 7, 22, .82); font: 800 italic 22px/1 var(--display); text-transform: uppercase; }
.rar { font-size: 16px; letter-spacing: .1em; }
.counts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.counts li { padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); font-size: 14px; color: var(--muted); }
.counts b { font: 800 italic 20px/1 var(--display); margin-right: 4px; }
.c-common b, .c-common.rar { color: var(--common); } .c-uncommon b, .c-uncommon.rar { color: var(--uncommon); } .c-rare b { color: var(--rare); } .c-epic b { color: var(--epic); } .c-legendary b { color: var(--legendary); }

#stages .copy, #crew .copy { max-width: 1240px; margin: 0 auto 28px; }
.beats { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); counter-reset: beat; }
.beats .climax { grid-column: 1 / -1; }
.beats figcaption { position: absolute; left: 12px; bottom: 12px; display: flex; flex-direction: column; padding: 8px 12px; border-radius: 10px; background: rgba(11, 7, 22, .82); }
.beats figcaption b { font: 800 italic 22px/1 var(--display); text-transform: uppercase; }
.beats figcaption small { color: var(--cyan); font: 800 italic 15px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; }
#stages > .fine { max-width: 1240px; margin: 18px auto 0; }

.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; max-width: 1100px; margin: 0 auto; padding: clamp(28px, 3.5vw, 56px) var(--gutter); }
.feat.flip .copy { order: 2; }
.phone { position: relative; margin: 0 auto; width: min(300px, 70vw); border-radius: 28px; overflow: hidden; border: 4px solid var(--ink); box-shadow: 0 0 0 3px rgba(255, 43, 214, .4), 0 18px 40px rgba(0, 0, 0, .45); }
.phone img { width: 100%; height: auto; }
.tag { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(11, 7, 22, .85); color: var(--cyan); font: 800 italic 14px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; }

#crew .frame.full { max-width: 1240px; margin: 0 auto; }
#cta { padding: clamp(80px, 12vw, 180px) var(--gutter); text-align: center; background: radial-gradient(60% 70% at 50% 40%, rgba(255, 43, 214, .22), rgba(11, 7, 22, 0)); }
#cta .sub { margin: 0 auto 26px; }
.foot { padding: 28px var(--gutter) 40px; text-align: center; color: var(--muted); font-size: 14px; }

/* TABLET / PORTRAIT: the hero video shows whole (16:9) with the copy under it, so the baked sticker never crops */
@media (max-aspect-ratio: 6/5) and (min-width: 600px) {
  #hero { height: auto; min-height: 0; padding-top: 64px; }
  .hero-media::after { background: none; }
  .hero-media { position: relative; aspect-ratio: 16 / 9; }
  .hero-copy { position: relative; left: auto; bottom: auto; width: auto; padding: 22px var(--gutter) 0; }
  .callout { font-size: clamp(36px, 6vw, 60px); top: 30%; }
}

/* PHONE: 9:16 hero with the copy on its solid band, square clips */
@media (max-width: 599px) {
  .nav { padding: 10px 16px; }
  .wordmark { font-size: 24px; }
  #hero { height: auto; min-height: 0; padding-top: 56px; }
  .hero-media { position: relative; aspect-ratio: 9 / 16; }
  .hero-media::after { background: none; }
  /* the phone cut's solid band starts at 80% of its height: the copy sits on it, never on the dancer */
  .hero-copy { position: relative; left: auto; bottom: auto; width: auto; padding: 0 16px; margin-top: calc(100vw * 16 / 9 * -.2 + 6px); }
  .callout { top: auto; bottom: 26%; left: 16px; right: 16px; max-width: none; font-size: 44px; }
  .lead { font-size: 30px; margin-bottom: 12px; }
  .ctas { gap: 16px; margin-bottom: 10px; }
  .ctas .btn { min-height: 46px; padding: 0 18px; font-size: 20px; }
  .hero-copy .sub { font-size: 15px; }
  .band { padding: 56px 16px; }
  #story { grid-template-columns: 1fr; }
  .frame { aspect-ratio: 1 / 1; border-radius: 14px; }
  .frame.full { aspect-ratio: 16 / 9; }
  .beats { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; padding: 48px 16px; }
  .feat.flip .copy { order: 0; }
  .namecard { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > * { opacity: 1; transform: none; transition: none; }
  .callout { display: none; }
}
/* the baked SERVED! sticker sits in the left third: on frames narrower than 16:9, crop from the right first */
#hero-video, .hero-end, .hero-loop { object-position: 15% 50%; }
@media (max-width: 599px) { #hero-video, .hero-end, .hero-loop { object-position: 50% 50%; } }
/* the sharp end frame fades in over the last video frame */
.hero-end, .hero-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.hero-end.on, .hero-loop.on { opacity: 1; }
.hero-loop { transition: none; }
