@property --sx { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --sy { syntax: '<percentage>'; inherits: true; initial-value: 42%; }

:root {
  --bg:        #0a090b;
  --bg-2:      #121014;
  --bg-3:      #1a171b;
  --ink:       #f5efe4;
  --muted:     #9c948a;
  --line:      rgba(245, 239, 228, .12);
  --spot:      #ffe7ad;
  --spot-glow: rgba(255, 231, 173, .45);
  --tomato:    #e3342f;
  --tomato-dk: #8f1d1a;

  --f-display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --f-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --f-hand:    'Caveat', 'Comic Sans MS', cursive;

  --topbar-h: 64px;
  --radius: 18px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--topbar-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--spot); }
h1, h2, h3 { margin: 0; font-weight: 400; }

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

.kicker {
  margin: 20px 0 .5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--spot);
}

/* Tomato cursor (mouse/trackpad only) */
@media (pointer: fine) {
  *, *::before, *::after {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><circle cx='16' cy='18' r='12' fill='%23e3342f' stroke='%238f1d1a' stroke-width='1.5'/><ellipse cx='11.5' cy='14.5' rx='3.2' ry='1.9' fill='%23ff9a8f' opacity='.8' transform='rotate(-35 11.5 14.5)'/><path d='M16 4.5l1.6 3.6 4.4-.9-2.8 3 3.8 1.9-4.6.6L16 15l-2.4-2.3-4.6-.6 3.8-1.9-2.8-3 4.4.9z' fill='%232f9e44' stroke='%231b5e20' stroke-width='.8' stroke-linejoin='round'/></svg>") 16 18, pointer;
  }
  body.splatting, body.splatting * {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path d='M16 6c2 0 2.5 3 4 3.2s3.5-2.6 5-1.2-1.3 3.4-.4 4.6 4.6.6 4.8 2.6-3.6 2-3.8 3.4 3 3.4 1.6 4.8-3.6-1-4.8.2-.4 4.4-2.4 4.6-2-3.2-3.4-3.4-3 3.4-4.8 2.6.4-3.8-.8-4.8-4.6.8-5-1.2 3-2.8 2.8-4.2-3.6-1.6-3-3.4 4 0 4.8-1.2-1.6-3.6.2-4.6 3.2 1.4 4.6.8S14 6 16 6z' fill='%23e3342f' stroke='%238f1d1a'/><circle cx='4' cy='6' r='1.6' fill='%23e3342f'/><circle cx='28' cy='27' r='1.4' fill='%23e3342f'/><circle cx='27' cy='5' r='1' fill='%23e3342f'/><circle cx='13' cy='15' r='1' fill='%23ffd166'/><circle cx='18.5' cy='18' r='1' fill='%23ffd166'/><circle cx='15' cy='20.5' r='.9' fill='%23ffd166'/></svg>") 16 16, pointer;
  }
}

.splat {
  position: fixed;
  width: 104px; height: 104px;
  margin: -52px 0 0 -52px;
  pointer-events: none;
  z-index: 9999;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path d='M16 6c2 0 2.5 3 4 3.2s3.5-2.6 5-1.2-1.3 3.4-.4 4.6 4.6.6 4.8 2.6-3.6 2-3.8 3.4 3 3.4 1.6 4.8-3.6-1-4.8.2-.4 4.4-2.4 4.6-2-3.2-3.4-3.4-3 3.4-4.8 2.6.4-3.8-.8-4.8-4.6.8-5-1.2 3-2.8 2.8-4.2-3.6-1.6-3-3.4 4 0 4.8-1.2-1.6-3.6.2-4.6 3.2 1.4 4.6.8S14 6 16 6z' fill='%23e3342f' stroke='%238f1d1a' stroke-width='.6'/><circle cx='4' cy='6' r='1.6' fill='%23e3342f'/><circle cx='28' cy='27' r='1.4' fill='%23e3342f'/><circle cx='27' cy='5' r='1' fill='%23e3342f'/><circle cx='3' cy='24' r='.9' fill='%23e3342f'/><circle cx='13' cy='15' r='1' fill='%23ffd166'/><circle cx='18.5' cy='18' r='1' fill='%23ffd166'/><circle cx='15' cy='20.5' r='.9' fill='%23ffd166'/><circle cx='19' cy='13' r='.8' fill='%23ffd166'/></svg>") center / contain no-repeat;
  rotate: var(--r, 0deg);
  scale: .2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.5));
  animation: splat 1.5s cubic-bezier(.2, .9, .3, 1.2) forwards;
}
@keyframes splat {
  0%   { scale: .2; opacity: 1; translate: 0 0; }
  15%  { scale: calc(var(--s, 1) * 1.08); }
  25%  { scale: calc(var(--s, 1) * .96); }
  65%  { scale: var(--s, 1); opacity: .95; translate: 0 4px; }
  100% { scale: var(--s, 1); opacity: 0; translate: 0 16px; }
}

/* Top bar + menu */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled, body.menu-open .topbar {
  background: rgba(10, 9, 11, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: var(--line);
}

.brand {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--ink); text-decoration: none;
}

.menu-toggle {
  width: 48px; height: 48px;
  display: grid; place-content: center; gap: 6px;
  background: transparent;
  border: 1px solid var(--line); border-radius: 50%;
  padding: 0;
  transition: border-color .2s, background .2s;
}
.menu-toggle:hover { border-color: var(--spot); background: rgba(255, 231, 173, .06); }
.menu-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .35s cubic-bezier(.7, 0, .3, 1), opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--topbar-h) clamp(24px, 8vw, 120px) 2rem;
  background:
    radial-gradient(ellipse 60% 70% at 50% -10%, rgba(255, 231, 173, .16), transparent 70%),
    rgba(8, 7, 9, .97);
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility 0s .35s;
}
.site-nav.open { opacity: 1; visibility: visible; transition: opacity .35s; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li {
  opacity: 0; transform: translateY(24px);
  transition: opacity .4s, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.site-nav.open li { opacity: 1; transform: none; }
.site-nav.open li:nth-child(2) { transition-delay: .07s; }
.site-nav.open li:nth-child(3) { transition-delay: .14s; }

.site-nav a {
  display: inline-flex; align-items: baseline; gap: 1rem;
  font-family: var(--f-display);
  font-size: clamp(3rem, 11vw, 7rem);
  line-height: 1.02;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s, text-shadow .2s;
}
.site-nav a:hover, .site-nav a:focus-visible {
  color: var(--ink);
  text-shadow: 0 0 30px var(--spot-glow);
}
.nav-num { font-family: var(--f-body); font-size: .9rem; font-weight: 700; color: var(--spot); }
.nav-note { margin-top: 2.5rem; color: var(--muted); font-family: var(--f-hand); font-size: 1.5rem; }

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  --sx: 50%; --sy: 42%;
}

/* Swap images/hero.jpg for your photo; the red curtain is the fallback */
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background:
    url("images/hero.jpg") center / cover no-repeat,
    radial-gradient(ellipse at 50% 120%, rgba(0,0,0,.2), rgba(0,0,0,.75)),
    repeating-linear-gradient(90deg, #5a0f12 0 28px, #7a171a 28px 46px, #4a0c0f 46px 70px);
  filter: saturate(.85) contrast(1.05);
  transform: scale(1.04);
}

.hero-dark {
  position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(circle 34vmax at var(--sx) var(--sy),
              rgba(0,0,0,0) 0%, rgba(0,0,0,.2) 40%, rgba(7,6,8,.93) 100%);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero.tracking .hero-dark { animation: none; }
@keyframes drift {
  0%   { --sx: 38%; --sy: 40%; }
  35%  { --sx: 62%; --sy: 48%; }
  70%  { --sx: 46%; --sy: 36%; }
  100% { --sx: 55%; --sy: 52%; }
}

.hero-beams span {
  position: absolute; top: -12%; z-index: -1;
  width: 46vmax; height: 135%;
  background: linear-gradient(to bottom, rgba(255,236,190,.26), rgba(255,236,190,.05) 70%, transparent);
  clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0;
  filter: blur(8px);
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-beams span:nth-child(1) { left: -12vmax; animation: sweepL 9s ease-in-out infinite alternate; }
.hero-beams span:nth-child(2) { right: -12vmax; animation: sweepR 11s ease-in-out infinite alternate; }
@keyframes sweepL { from { transform: rotate(-30deg); } to { transform: rotate(-6deg); } }
@keyframes sweepR { from { transform: rotate(30deg); }  to { transform: rotate(8deg); } }

.hero-content {
  position: relative;
  padding: 0 16px;
  margin: 0 auto;
  max-width: 900px;
  animation: rise 1.2s .2s cubic-bezier(.2, .8, .2, 1) both;
  translate: 0 -8vh;
}
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(10rem, 10vw, 14rem);
  line-height: .82;
  text-shadow: 0 0 60px rgba(255, 231, 173, .35), 0 4px 0 rgba(0,0,0,.4);
}
.hero-title span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--spot);
  text-shadow: none;
}
.hero-sub { margin: 1.4rem auto 2rem; max-width: 34ch; color: #d9d1c4; font-size: clamp(1rem, 2.2vw, 1.2rem); }

.btn {
  display: inline-block;
  padding: .95rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-spot { background: var(--spot); color: #160f08; box-shadow: 0 0 0 0 var(--spot-glow); }
.btn-spot:hover { transform: translateY(-2px); box-shadow: 0 8px 40px 6px var(--spot-glow); }

/* Lineup */
.lineup {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) clamp(16px, 4vw, 48px) clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255, 231, 173, .05), transparent 70%),
    linear-gradient(to bottom, var(--bg), var(--bg-2));
}

.section-head { text-align: center; margin-bottom: clamp(1rem, 2.5vw, 1.5rem); }
.section-head h2, .about h2 {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 6.75vw, 4.5rem);
  line-height: .9;
}
.lineup-status { margin: .75rem 0 0; color: var(--muted); font-size: .9rem; }
.lineup-status:empty { display: none; }

/* Clips column gets more room so landscape videos aren't squashed */
.lineup-grid {
  max-width: 1440px; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
}

.stage {
  position: relative;
  padding: 2.75rem clamp(1.25rem, 3vw, 2.25rem) 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(to top, #17120d 0, transparent 22%),
    var(--bg-3);
  overflow: hidden;
  touch-action: pan-y;
}
.stage::before {
  content: ''; position: absolute; top: 12px; left: 50%; translate: -50% 0;
  width: 54px; height: 18px; border-radius: 6px 6px 14px 14px;
  background: linear-gradient(#2a2629, #121013);
  border: 1px solid #3a3438;
  z-index: 2;
}

.stage-beam {
  position: absolute; left: 50%; top: 22px; translate: -50% 0;
  width: 130%; height: 105%;
  background: linear-gradient(to bottom, rgba(255,233,176,.55), rgba(255,233,176,.14) 55%, rgba(255,233,176,0));
  clip-path: polygon(47% 0, 53% 0, 88% 100%, 12% 100%);
  filter: blur(10px);
  transform-origin: 50% 0;
  opacity: 0;
  pointer-events: none;
}
.stage-pool {
  position: absolute; left: 50%; bottom: 0; translate: -50% 40%;
  width: 85%; height: 120px;
  background: radial-gradient(ellipse, rgba(255,233,176,.35), transparent 70%);
  opacity: 0;
  pointer-events: none;
}

.member {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  opacity: 0;
}

.stage.lit .stage-beam  { animation: beamOn .9s linear forwards; }
.stage.lit .stage-pool  { animation: poolOn .9s .15s ease-out forwards; }
.stage.lit .member      { animation: memberOn .8s .25s cubic-bezier(.2, .8, .2, 1) forwards; }
.stage.dim .stage-beam,
.stage.dim .stage-pool  { animation: none; opacity: 0; transition: opacity .2s; }
.stage.dim .member      { animation: none; opacity: 0; filter: brightness(.2); transition: opacity .25s, filter .25s; }

@keyframes beamOn {
  0%   { opacity: 0;   transform: scaleY(.3); }
  10%  { opacity: .9;  transform: scaleY(1); }
  16%  { opacity: .15; }
  24%  { opacity: 1; }
  32%  { opacity: .4; }
  42%, 100% { opacity: 1; transform: scaleY(1); }
}
@keyframes poolOn  { to { opacity: 1; } }
@keyframes memberOn {
  from { opacity: 0; filter: brightness(.2); transform: translateY(14px); }
  to   { opacity: 1; filter: brightness(1);  transform: none; }
}

.member-photo {
  position: relative;
  width: clamp(125px, 13vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #2a2427;
  box-shadow: 0 0 0 4px rgba(255,231,173,.25), 0 0 60px 8px rgba(255,231,173,.18), 0 20px 40px rgba(0,0,0,.6);
  display: grid; place-items: center;
}
/* Pinned to the circle so non-square photos crop from the middle, not the top */
.member-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.member-initials { font-family: var(--f-display); font-size: 4.5rem; color: var(--spot); }

.member-name {
  margin-top: 1.5rem;
  font-family: var(--f-display);
  font-size: clamp(1.65rem, 3.3vw, 2.25rem);
  line-height: 1;
  text-shadow: 0 0 30px rgba(255,231,173,.3);
}

.member-facts {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .25rem 1.75rem;
  margin: .5rem 0 0;
}
.member-facts div { min-width: 70px; }
.member-facts dt { font-size: .85rem; color: var(--muted); }
.member-facts dd { margin: 0; font-weight: 600; }

.fun-fact {
  position: relative;
  margin: 1rem 0 0;
  max-width: 34ch;
  padding: .75rem 1.1rem .85rem;
  background: #f3ead6;
  color: #2a1f14;
  font-family: var(--f-hand);
  font-size: 1.2rem;
  line-height: 1.15;
  border-radius: 4px;
  transform: rotate(-1.5deg);
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
}
.fun-fact-label {
  display: block;
  font-family: var(--f-body);
  font-size: .85rem; font-weight: 700;
  color: var(--tomato-dk);
  margin-bottom: .25rem;
}

.socials {
  list-style: none; margin: .75rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
}
.socials a {
  display: inline-block;
  padding: .4rem .9rem;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); text-decoration: none;
  font-size: .9rem; font-weight: 600;
  transition: border-color .2s, background .2s, color .2s;
}
.socials a:hover { border-color: var(--spot); color: var(--spot); background: rgba(255,231,173,.06); }

.hidden { display: none !important; }

.clips {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.clips-title {
  font-family: var(--f-display);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.clip-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.clip-frame.vertical {
  aspect-ratio: 9 / 16;
  width: auto;
  height: min(70vh, 620px);
  margin: 0 auto;
}
.clip-frame iframe, .clip-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.clip-empty, .clip-link {
  position: absolute; inset: 0;
  display: grid; place-content: center; gap: .5rem;
  text-align: center; padding: 1.5rem;
  color: var(--muted);
  background: radial-gradient(circle at 50% 40%, #1d1a1e, #050405);
}
.clip-empty strong { font-family: var(--f-display); font-size: 2rem; color: var(--ink); font-weight: 400; }
.clip-link a { font-weight: 700; }

.clip-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 0.5rem; }
.clip-tab {
  font: inherit; font-size: .7rem; font-weight: 600;
  /* padding: .5rem 1rem; */
  margin-bottom: 0;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color .2s, border-color .2s, background .2s;
}
.clip-tab:hover { color: var(--ink); border-color: var(--ink); }
.clip-tab[aria-selected="true"] {
  color: #160f08; background: var(--spot);
  border-color: var(--spot);
}

.lineup-controls {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: .75rem 1rem;
  margin-top: 2rem;
}
.ctrl {
  font: inherit; font-weight: 700;
  padding: .8rem 1.4rem;
  color: var(--ink);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.ctrl:hover { border-color: var(--spot); box-shadow: 0 0 24px rgba(255,231,173,.15); }
.ctrl:active { transform: scale(.96); }
.ctrl-ghost { background: transparent; color: var(--muted); }
.counter {
  font-family: var(--f-display);
  font-size: 1.6rem;
  min-width: 5.5ch; text-align: center;
}

/* About */
.about {
  padding: clamp(5rem, 10vw, 8rem) clamp(16px, 4vw, 48px);
  background:
    radial-gradient(ellipse 50% 60% at 15% 0%, rgba(255,231,173,.07), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.about-inner { max-width: 720px; margin: 0 auto; }
.about h2 { margin-bottom: 1.5rem; }
.about p { color: #d6cec2; }
.about-lead {
  font-size: clamp(1.3rem, 2.6vw, 1.65rem);
  line-height: 1.35;
  color: var(--ink) !important;
}

.about-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem; margin: 2.5rem 0 0;
}
.about-facts div {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-2);
}
.about-facts dt { font-size: .9rem; font-weight: 700; color: var(--spot); }
.about-facts dd { margin: .2rem 0 0; }

.footer {
  padding: 2rem 16px;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  border-top: 1px solid var(--line);
}
.footer p { margin: 0; }

@media (max-width: 900px) {
  .lineup-grid { grid-template-columns: 1fr; }
  .clip-frame.vertical { height: min(75vh, 560px); }
}

@media (max-width: 480px) {
  .ctrl { padding: .7rem 1.1rem; }
  .ctrl-ghost { order: 4; flex-basis: 100%; max-width: 160px; }
  .member-facts { gap: .5rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-dark { animation: none; }
  .member, .stage-beam, .stage-pool { opacity: 1; }
  .splat { animation: splatFade 1s forwards !important; scale: 1; }
  @keyframes splatFade { to { opacity: 0; } }
}