:root {
  color-scheme: dark;
  --pink: #ff4a9f;
  --bg: #0b0b0e;
  --ink: #fff;
  --muted: #bbb;
  --line: #303037;
  --panel: #17171b;
  --gutter: clamp(16px, 6vw, 100px);
}

* { box-sizing: border-box; }
section[id] { scroll-margin-top: 80px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible, .rail:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--pink); color: #100710; padding: 10px 14px; font-weight: 800;
}
.skip:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px var(--gutter);
  padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(5, 5, 6, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand img { width: 100px; display: block; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { padding: 8px 0; }
.site-nav a:not(.outline):hover { color: var(--pink); }
.outline { border: 1px solid #54545a; padding: 8px 14px !important; }
.outline:hover { border-color: var(--pink); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid #54545a; border-radius: 4px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  min-height: min(690px, 80vh);
  position: relative;
  display: grid; align-items: center;
  background: #151219 url(assets/athletes.webp) center 43% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #09090df5 1%, #0b0a10ba 38%, transparent 77%);
}
.hero-copy { position: relative; padding: 64px clamp(20px, 8vw, 128px); max-width: 950px; }
.tag { color: var(--pink); font-size: .74rem; font-weight: 800; letter-spacing: .17em; margin: 0 0 8px; }
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 6.5rem);
  line-height: .94; letter-spacing: -.06em; margin: .22em 0;
}
.hero h1 em { color: var(--pink); }
.hero-copy > p:not(.tag) { max-width: 370px; color: #eee; }

.btn {
  background: var(--pink); color: #100710; border: 0; font-weight: 850;
  display: inline-flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 14px 20px; min-height: 48px;
  transition: filter .15s;
}
.btn:hover { filter: brightness(1.08); }

.strip {
  padding: 12px 16px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px;
  background: var(--pink); color: #160610;
  font-size: .75rem; font-weight: 900; letter-spacing: .09em; text-align: center;
}

/* Sections */
.shop, .awareness {
  max-width: 1370px; margin: auto;
  padding: clamp(40px, 6vw, 95px) var(--gutter);
}
h2, h3 { line-height: 1.02; letter-spacing: -.05em; margin: 0 0 20px; }
h2 { font-size: clamp(2.2rem, 6vw, 5rem); }
h3 { font-size: clamp(1.9rem, 4vw, 3.6rem); }

/* Product */
.product {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 5vw, 80px); align-items: center;
}
.gallery { position: relative; min-width: 0; background: #fff; border-radius: 6px; overflow: hidden; }
.rail {
  display: flex; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail img {
  flex: 0 0 100%; width: 100%; aspect-ratio: 1.12;
  object-fit: contain; scroll-snap-align: start; user-select: none;
}
.arrow {
  position: absolute; top: 50%; translate: 0 -50%;
  border: 0; border-radius: 50%; width: 44px; height: 44px;
  background: var(--panel); color: #fff; font-size: 28px; line-height: 1;
  display: grid; place-items: center; padding-bottom: 4px;
}
.prev { left: 10px; }
.next { right: 10px; }
.counter {
  position: absolute; bottom: 12px; left: 50%; translate: -50%;
  background: var(--panel); padding: 3px 10px; font-size: 12px; border-radius: 30px;
}
.rotation {
  position: absolute; bottom: 10px; right: 10px;
  background: var(--panel); color: #fff; border: 0; border-radius: 20px;
  padding: 4px 10px; font-size: 12px;
}

.price { font-size: 1.65rem; font-weight: 800; margin-bottom: 8px; }
.price small, .details p:not(.tag), #status { color: var(--muted); font-size: .9rem; }
.color-label strong { color: #fff; margin-left: 10px; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.swatches button {
  width: 32px; height: 32px; padding: 0;
  border: 1px solid #777; border-radius: 50%; background: var(--swatch);
}
.swatches button[aria-pressed="true"] { outline: 2px solid var(--pink); outline-offset: 3px; }
label { display: block; font-weight: 700; margin-bottom: 6px; }
select, .buy { display: flex; width: 100%; margin-bottom: 10px; }
select { padding: 12px; min-height: 48px; background: var(--panel); border: 1px solid #555; border-radius: 0; }

/* Feature diagram */
.features {
  margin: clamp(32px, 5vw, 64px) 0 0; background: #fff; border-radius: 6px; overflow: hidden;
}
.features img { display: block; width: 100%; height: auto; }
.features figcaption { background: var(--panel); color: var(--muted); font-size: .9rem; padding: 12px 16px; }

/* College edition */
.schools { border-top: 1px solid var(--line); }
.style-pills, .school-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.style-pills button, .school-pills button {
  min-height: 44px; padding: 8px 18px;
  background: var(--panel); border: 1px solid #555; border-radius: 40px;
  font-weight: 800; letter-spacing: .02em;
}
.style-pills button[aria-pressed="true"], .school-pills button[aria-pressed="true"] { border-color: var(--pink); background: var(--pink); color: #100710; }
.school-gallery .rail img { aspect-ratio: 2 / 1; object-fit: contain; background: #fff; }
#hs-status { color: var(--muted); font-size: .9rem; }
#school-status { color: var(--muted); font-size: .9rem; }

/* Preorder */
.soon-badge {
  position: absolute; left: 12px; top: 12px;
  background: var(--pink); color: #100710; border-radius: 30px;
  padding: 6px 12px; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
}
.pre-gallery .rail img { aspect-ratio: 1; }
#pre-status { color: var(--muted); font-size: .9rem; }

/* Player spotlight */
.spotlight {
  max-width: 1370px; margin: auto;
  padding: clamp(40px, 6vw, 95px) var(--gutter);
  border-top: 1px solid var(--line);
}
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.1fr);
  gap: clamp(14px, 2.4vw, 28px);
  align-items: stretch;
}
.spot-card {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 14px; background: var(--panel);
  aspect-ratio: 9 / 16; max-width: 100%;
  box-shadow: 0 0 0 1px var(--line);
}
.spot-card img, .spot-card video {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.spot-card figcaption {
  position: absolute; left: 12px; top: 12px;
  display: flex; gap: 8px; align-items: center;
  background: #000c; backdrop-filter: blur(6px);
  padding: 6px 10px; border-radius: 30px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap; max-width: calc(100% - 24px);
}
.spot-card figcaption span { color: var(--pink); }
.spot-card figcaption em { font-style: normal; }
.spot-quote {
  margin: 0; align-self: center;
  display: flex; flex-direction: column; gap: 18px;
  padding-left: clamp(0px, 1vw, 12px);
}
.spot-quote p {
  margin: 0; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.25;
  letter-spacing: -.02em; font-weight: 700; text-wrap: balance;
}
.spot-quote footer {
  color: var(--pink); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.spot-quote footer::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--pink); vertical-align: middle; margin-right: 10px; }

.spotlight .section-title h2 { margin-bottom: 6px; }
.spot-sub { margin: 0 0 24px; color: var(--muted); font-size: 1.1rem; font-weight: 700; letter-spacing: .04em; }

.video-play {
  position: absolute; left: 50%; bottom: 16px; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 16px 8px 12px;
  background: var(--pink); color: #100710; border: 0; border-radius: 40px;
  font-weight: 850; font-size: .85rem; white-space: nowrap;
  box-shadow: 0 8px 24px #0008;
}
.video-play.playing span::after { content: ""; }
.video-play[hidden] { display: none; }

/* Founding Player program */
.ambassadors {
  max-width: 1370px; margin: auto;
  padding: clamp(40px, 6vw, 95px) var(--gutter);
  border-top: 1px solid var(--line);
}
.amb-lead { color: var(--muted); max-width: 640px; margin: 0 0 28px; font-size: 1.05rem; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.tier { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--panel); }
.tier p { margin: 0; }
.tier-top { border-color: var(--pink); }
.tier-name { color: var(--pink); font-size: .74rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.tier-rate { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 900; letter-spacing: -.05em; line-height: 1.05; margin: 6px 0 !important; font-variant-numeric: tabular-nums; }
.tier-earn { font-weight: 700; }
.tier-when { color: var(--muted); font-size: .9rem; margin-top: 4px !important; }
.amb-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.amb-perks h3, .amb-form h3 { font-size: 1.4rem; letter-spacing: -.02em; margin: 0 0 12px; }
.amb-perks ul, .amb-perks ol { margin: 0 0 24px; padding-left: 20px; display: grid; gap: 6px; }
.amb-fine { color: var(--muted); font-size: .85rem; border-left: 2px solid var(--pink); padding-left: 12px; }
.amb-form { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field-row[hidden] { display: none; }
.field-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; margin: 0; min-width: 0; border: 0; padding: 0; }
.field legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.amb-form input:not([type=radio]):not([type=checkbox]), .amb-form textarea, .amb-form select {
  width: 100%; padding: 12px; min-height: 46px; background: #0b0b0e; border: 1px solid #555; color: #fff; font: inherit; border-radius: 0;
}
.amb-form textarea { min-height: 90px; resize: vertical; }
.amb-form input:focus-visible, .amb-form textarea:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
label.inline { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; margin-right: 18px; min-height: 32px; }
label.check { margin: 0; }
.amb-form input[type=radio], .amb-form input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--pink); }
.amb-form .btn { width: 100%; }
#amb-status { margin: 0; color: var(--muted); font-size: .9rem; }
#amb-status.ok { color: #6ee7a8; }
#amb-status.err { color: #ff8a8a; }
.spot-cta { display: inline-block; margin-top: 6px; color: var(--pink); font-weight: 800; text-decoration: underline; }

@media (max-width: 760px) {
  .tiers { grid-template-columns: 1fr; gap: 10px; }
  .tier { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .tier-rate { grid-column: 1; grid-row: 1 / span 3; font-size: 2.6rem; }
  .tier-name, .tier-earn, .tier-when { grid-column: 2; }
  .amb-grid, .field-row, .field-row.three { grid-template-columns: 1fr; }
}

/* Awareness + giving */
.awareness {
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 45px;
}
.awareness h2 { font-size: clamp(2rem, 5vw, 4.4rem); }
.awareness p { margin-top: 0; }
.awareness a { color: var(--pink); text-decoration: underline; display: inline-block; margin: 6px 0 16px; }
.safety { border-left: 2px solid var(--pink); padding-left: 12px; color: #ccc; }

/* Footer */
.site-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px var(--gutter);
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  background: #050506; border-top: 1px solid var(--line); color: #ccc;
}
.site-footer img { width: 100px; display: block; }
.site-footer a:hover { color: var(--pink); }

/* Tablet */
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; }
  .spotlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot-quote { grid-column: 1 / -1; padding: 8px 0 0; }
  .details { max-width: 640px; }
  .awareness { gap: 24px; }
}

/* Mobile */
@media (max-width: 760px) {
  .menu-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #050506; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav .outline { margin-top: 14px; text-align: center; border-bottom: 1px solid #54545a; }

  .hero { min-height: 82svh; background-position: 66% center; align-items: end; }
  .hero::before { background: linear-gradient(0deg, #09090d 4%, #09090da8 50%, transparent 90%); }
  .hero-copy { padding-bottom: 56px; }
  .hero .btn { width: 100%; }

  .awareness { grid-template-columns: 1fr; gap: 4px; }
  .swatches { gap: 10px; }
  .swatches button { width: 40px; height: 40px; }
  .rotation { padding: 8px 12px; }
  .spot-card { border-radius: 10px; }
  .video-play { font-size: .72rem; padding: 6px 12px 6px 8px; gap: 4px; bottom: 10px; }
  .video-play svg { width: 20px; height: 20px; }
  .spot-card figcaption { left: 8px; top: 8px; padding: 4px 8px; font-size: .6rem; gap: 6px; }
  .spot-card figcaption span + * { display: none; }

  .site-footer { flex-direction: column; text-align: center; gap: 10px; }
}

/* Small phones */
@media (max-width: 380px) {
  .brand img { width: 84px; }
  .strip { font-size: .68rem; gap: 6px 14px; }
  .arrow { width: 40px; height: 40px; }
  .counter { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Front/back school renders read better full width */
#schools .product, #highschool .product { grid-template-columns: 1fr; }
#schools .details, #highschool .details { max-width: 720px; }
