:root {
  --bg: #0b0b0b;        /* Onyx */
  --ink: #f2eee8;       /* Bone */
  --muted: #8a8587;     /* Steel */
  --red: #e3121b;       /* Rose red */
  --red-deep: #6e0a10;  /* Oxblood */
  --graphite: #1a1a1c;
  --gold: #c9a45c;      /* Trophy gold */
  --line: rgba(242, 238, 232, 0.1);
  --wide: "Archivo", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--wide);
  font-variation-settings: "wdth" 100;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ---------- Fixed rose stage ---------- */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#rose {
  width: 100%;
  height: 100%;
  display: block;
  /* fade the video's edges into the page so there is never a visible box */
  -webkit-mask-image: radial-gradient(ellipse 62% 66% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 66% at 50% 50%, #000 55%, transparent 100%);
  transition: opacity .2s linear;
}
.vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 45% at 50% 52%, rgba(110, 10, 16, 0.12), transparent 70%),
    linear-gradient(135deg, rgba(11,11,11,.85) 0%, rgba(11,11,11,0) 38%);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: linear-gradient(to bottom, rgba(11,11,11,.85), rgba(11,11,11,0));
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: .02em; font-size: 18px; }
.brand img { border-radius: 50%; }
.brand img.brand-word { border-radius: 0; height: 20px; width: auto; }
.links { display: flex; gap: clamp(16px, 3vw, 36px); font-size: 13px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.links a { transition: color .2s; }
.links a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--ink);
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 15px;
  padding: 18px 34px;
  border-radius: 2px;
  box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .6);
  transition: transform .2s, box-shadow .3s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--red-deep); box-shadow: 0 14px 32px -12px rgba(0, 0, 0, .75); }
.btn-sm { padding: 10px 18px; font-size: 12px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .32em;
  color: var(--muted);
}
/* Section labels (Athletes / Businesses / NIL): short red accent line, then the word */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}
.section-label::before {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--red);
}
.big {
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  font-size: clamp(56px, 11vw, 168px);
  line-height: .9;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 18px 0 24px;
}
.big em { font-style: normal; color: var(--red); text-shadow: 0 0 40px rgba(110, 10, 16, .3); }
.lede { max-width: 34ch; font-size: clamp(17px, 1.6vw, 21px); color: var(--ink); }

main, .foot { position: relative; z-index: 2; }

/* ---------- Hero ---------- */
.hero { height: 260vh; }
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 var(--gutter) 9vh;
}
.hero-copy { text-align: center; will-change: opacity, transform; }
.hero-title {
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  font-size: clamp(88px, 17vw, 260px);
  line-height: .82;
  letter-spacing: -.01em;
  margin: 10px 0 14px;
  text-shadow: 0 8px 60px rgba(0,0,0,.8);
}
.hero-title img {
  width: clamp(220px, 40vw, 600px);
  margin: 0 auto;
  filter: drop-shadow(0 8px 40px rgba(0,0,0,.8));
}
.hero-tag {
  font-size: clamp(13px, 1.4vw, 16px);
  text-transform: uppercase;
  letter-spacing: .5em;
  color: var(--muted);
  padding-left: .5em;
}
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 9vh;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue span { width: 1px; height: 36px; background: linear-gradient(var(--muted), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Content panels ---------- */
.panel {
  min-height: 100vh;
  padding: 18vh var(--gutter) 12vh;
  max-width: 1400px;
  margin: 0 auto;
}
.panel-head { margin-bottom: 64px; }
.services {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.services li {
  padding: 28px 28px 32px 0;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(2px);
}
.services li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.services h3 {
  font-size: 15px;
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.services h3::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--muted); transform: rotate(45deg); margin-right: 12px; vertical-align: 2px; }
.services p { color: var(--muted); font-size: 15px; max-width: 36ch; }

/* Client orbit carousel (clients come from /clients.js) */
.orbit {
  --orbit-w: 340px;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 70px;
  height: calc(var(--orbit-w) * 1.25 + 130px + 80px);
  padding-top: 40px;
  overflow: hidden; /* side cards never widen the page */
  perspective: 1400px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.orbit.is-dragging { cursor: grabbing; }
.orbit-ring { position: absolute; inset: 40px 0 0; transform-style: preserve-3d; }
.orbit-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--orbit-w);
  margin-left: calc(var(--orbit-w) / -2);
  transform-origin: 50% 40%;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.orbit-photo { position: relative; }
.orbit-photo img {
  width: 100%;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), 0 0 60px -10px rgba(110, 10, 16, .45);
  -webkit-user-drag: none;
}
.orbit-shade { position: absolute; inset: 0; background: var(--bg); opacity: 0; pointer-events: none; }
.orbit-ig { display: inline-block; margin-top: 6px; font-size: 13px; letter-spacing: .04em; color: var(--red); }
.orbit-ig:hover { color: var(--ink); }

/* Business orbit: poster cards (businesses come from /businesses.js) */
.orbit-title { text-align: center; margin-top: 100px; }
.orbit-title + .orbit { margin-top: 28px; }
.orbit--posters { height: calc(var(--orbit-w) * 1.25 + 40px + 60px); }
/* Floating Instagram link under each business card (fits in the space below the poster) */
.biz-ig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: max-content;
  min-height: 36px;
  margin: 12px auto 0;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(242, 238, 232, .12);
  background: rgba(11, 11, 11, .6);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .06em;
  box-shadow: 0 0 18px -4px rgba(227, 18, 27, .45);
  animation: ig-float 3.6s ease-in-out infinite;
  transition: border-color .25s, box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.biz-ig svg { color: var(--red); flex: none; }
.biz-ig:hover { border-color: rgba(227, 18, 27, .55); box-shadow: 0 0 24px -2px rgba(227, 18, 27, .6); }
.biz-ig:focus-visible { outline: 2px solid var(--muted); outline-offset: 3px; }
@keyframes ig-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.poster {
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(242, 238, 232, .08);
  background:
    radial-gradient(ellipse 75% 55% at 50% 42%, rgba(110, 10, 16, .38), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #151416 0%, var(--bg) 100%);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), 0 0 60px -10px rgba(110, 10, 16, .45);
}
.poster::before { /* thin red edge accent along the top */
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: .8;
}
.poster-art { flex: 1; min-height: 0; display: grid; place-items: center; padding: 14% 12% 6%; }
.poster-art img { width: 100%; height: 100%; object-fit: contain; border: 0; box-shadow: none; -webkit-user-drag: none; filter: drop-shadow(0 10px 24px rgba(0,0,0,.6)); }
.poster-foot { padding: 0 8% 9%; text-align: center; }
.poster-foot h3 { font-size: 24px; font-weight: 900; font-variation-settings: "wdth" 120; text-transform: uppercase; line-height: 1.1; }
.poster-foot p { margin-top: 6px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

/* Flip card (business with a video): poster on the front, video on the back */
.flip { position: relative; aspect-ratio: 4 / 5; perspective: 1200px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.flip:focus-visible { outline: 2px solid var(--muted); outline-offset: 4px; }
.flip-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-back {
  transform: rotateY(180deg);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(242, 238, 232, .08);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), 0 0 60px -10px rgba(110, 10, 16, .45);
}
.flip-back video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.flip > .orbit-shade { z-index: 2; }
/* Athlete flip: the photo sets the card's height, exactly as on a normal athlete card */
.flip--photo { aspect-ratio: auto; }
.flip--photo .flip-inner { position: relative; inset: auto; }
.flip--photo .flip-front { position: relative; inset: auto; }
/* "Tap to flip" tag: small pill with a thin red border and a slow, soft glow.
   --light (black text on a light pill) for light photos, --dark (white on dark) otherwise. */
.flip-hint {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(227, 18, 27, .75);
  background: rgba(11, 11, 11, .6);
  color: var(--ink);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  animation: flip-hint-glow 3.2s ease-in-out infinite;
}
.flip-hint svg { flex: none; }
.flip-hint--light { background: rgba(242, 238, 232, .82); color: var(--bg); }
.flip-hint--dark { background: rgba(11, 11, 11, .6); color: var(--ink); }
@keyframes flip-hint-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227, 18, 27, 0); }
  50% { box-shadow: 0 0 14px 1px rgba(227, 18, 27, .45); }
}
.card-meta { padding-top: 18px; }
.card-meta h3 { font-size: 24px; font-weight: 900; font-variation-settings: "wdth" 120; text-transform: uppercase; line-height: 1.1; margin: 8px 0 4px; }
.card-meta p { color: var(--muted); font-size: 14px; }
.tag { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

.levels {
  margin-top: 90px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  font-weight: 800;
  font-variation-settings: "wdth" 118;
  text-transform: uppercase;
  font-size: clamp(16px, 2.2vw, 26px);
  letter-spacing: .06em;
  color: var(--muted);
}
.levels i { width: 8px; height: 8px; background: var(--red-deep); transform: rotate(45deg); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Finale ---------- */
.finale { height: 240vh; }
.finale-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.finale-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.finale-copy.show { opacity: 1; pointer-events: auto; }
.finale-logo {
  width: min(82vmin, 640px);
  margin: -6vmin 0 -9vmin;
  -webkit-mask-image: radial-gradient(circle at 50% 46%, #000 52%, transparent 70%);
          mask-image: radial-gradient(circle at 50% 46%, #000 52%, transparent 70%);
}
.fine { margin-top: 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--graphite);
}
.foot a:hover { color: var(--ink); }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .links { display: none; }
  .hero { height: 220vh; }
  .hero-sticky { padding-bottom: 12vh; }
  .scroll-cue { display: none; }
  .panel { padding-top: 14vh; }
  .panel-head { margin-bottom: 40px; }
  .services { grid-template-columns: 1fr; }
  .services li, .services li + li { padding: 22px 0; border-left: 0; }
  .orbit { --orbit-w: min(72vw, 270px); margin-top: 24px; }
  .orbit-title { margin-top: 64px; }
  .poster-foot h3 { font-size: 20px; }
  .levels { margin-top: 56px; }
  .finale .btn { width: 100%; max-width: 360px; }
  .finale-logo { margin: -4vh 0 -7vh; }
  .foot { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .flip-hint { animation: none; box-shadow: 0 0 10px rgba(227, 18, 27, .3); }
  .biz-ig { animation: none; }
  .flip-inner, .flip.is-flipped .flip-inner { transform: none; transition: none; }
  .flip-face { transition: opacity .5s ease; }
  .flip-back { transform: none; opacity: 0; }
  .flip.is-flipped .flip-back { opacity: 1; }
  .flip.is-flipped .flip-front { opacity: 0; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
}
