/* JARA Baseball Academy
   Type: Archivo variable (width + weight axes), self-hosted.
   Shape rule: everything is sharp (2px). Accent: one garnet red.
   Z-index scale: 1 content overlays, 50 nav, 60 mobile menu. */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0c0c0d;
  --bg-2: #141416;
  --bg-3: #1c1c1f;
  --ink: #f2f1ed;
  --muted: #a5a4a0;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #cf1f2e;
  --accent-ink: #f04a59;
  --on-accent: #ffffff;
  --photo-ink: #f6f5f2;
  --r: 2px;
  --nav-h: 68px;
  --pad: clamp(1rem, 4vw, 3.5rem);
  --max: 1400px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f2f2ef;
    --bg-2: #e8e8e4;
    --bg-3: #dededa;
    --ink: #121213;
    --muted: #57575a;
    --line: rgba(0, 0, 0, 0.16);
    --accent: #c41c2b;
    --accent-ink: #b41624;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f2f2ef;
  --bg-2: #e8e8e4;
  --bg-3: #dededa;
  --ink: #121213;
  --muted: #57575a;
  --line: rgba(0, 0, 0, 0.16);
  --accent: #c41c2b;
  --accent-ink: #b41624;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(4.5rem, 10vw, 9rem); }

/* ---------- type ---------- */
.display {
  font-stretch: 68%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h-xl { font-size: clamp(3.1rem, 10.2vw, 9.25rem); }
.h-lg { font-size: clamp(2.5rem, 6.4vw, 5.5rem); }
.h-md { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.display em { font-style: italic; color: var(--accent-ink); }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  height: 3.25rem; padding-inline: 1.4rem;
  border-radius: var(--r);
  font-weight: 700; font-stretch: 88%; font-size: 0.95rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn .i { transition: transform 0.3s var(--ease); }
.btn:hover .i { transform: translate(3px, -3px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #e02a3a; }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.on-photo .btn-ghost { border-color: rgba(255, 255, 255, 0.75); color: var(--photo-ink); background: rgba(12, 12, 13, 0.35); }
.on-photo .btn-ghost:hover { background: var(--photo-ink); color: #0c0c0d; }
.btn-sm { height: 2.6rem; padding-inline: 1rem; font-size: 0.82rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  color: var(--photo-ink);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: var(--bg); color: var(--ink); border-bottom-color: var(--line); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: baseline; gap: 0.5rem; text-decoration: none; white-space: nowrap; }
.brand b { font-stretch: 68%; font-weight: 900; font-size: 1.7rem; letter-spacing: 0.01em; line-height: 1; }
.brand span { font-size: 0.72rem; font-weight: 600; font-stretch: 112%; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.nav-links a {
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding-block: 0.4rem; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.nav-links a:hover { background-size: 100% 1px; }
.nav-right { display: flex; align-items: center; gap: 0.6rem; }
.icon-btn { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: var(--r); transition: background-color 0.3s var(--ease); }
.icon-btn:hover { background: rgba(128, 128, 128, 0.22); }
.icon-btn .i { width: 1.25rem; height: 1.25rem; }
.theme-btn .i-sun { display: none; }
:root[data-mode="dark"] .theme-btn .i-sun { display: block; }
:root[data-mode="dark"] .theme-btn .i-moon { display: none; }
.menu-btn { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1023px) {
  .nav-links, .nav-right .btn { display: none; }
  .menu-btn { display: grid; }
  .mobile-menu {
    position: fixed; inset: 0; z-index: 60; background: var(--bg); color: var(--ink);
    display: flex; flex-direction: column; padding: 1rem var(--pad) 2rem;
    opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; }
  .mobile-menu .close { align-self: flex-end; }
  .mobile-menu nav { display: flex; flex-direction: column; margin-top: 1.5rem; }
  .mobile-menu nav a {
    font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: 2.6rem; line-height: 1.15;
    text-decoration: none; padding-block: 0.35rem; border-bottom: 1px solid var(--line);
  }
  .mobile-menu .btn { margin-top: auto; justify-content: center; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; color: var(--photo-ink); overflow: clip; background: #0c0c0d; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(12, 12, 13, 0.94) 0%, rgba(12, 12, 13, 0.72) 34%, rgba(12, 12, 13, 0.18) 68%, rgba(12, 12, 13, 0.5) 100%);
}
.hero-in { position: relative; z-index: 1; width: 100%; padding-top: calc(var(--nav-h) + 1.5rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
.hero .eyebrow { margin-bottom: 1.1rem; }
.hero h1 .line { display: block; overflow: clip; }
.hero h1 .line > span { display: block; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: end; margin-top: clamp(1.25rem, 2.5vw, 2rem); }
.hero-foot p { font-size: clamp(1.02rem, 1.35vw, 1.2rem); max-width: 46ch; color: rgba(246, 245, 242, 0.86); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 767px) {
  .hero-foot { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- numbers ---------- */
.numbers { border-bottom: 1px solid var(--line); }
.numbers-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; }
.num { padding: clamp(1.5rem, 3vw, 2.75rem) 0; }
.num + .num { padding-left: clamp(1rem, 3vw, 2.5rem); border-left: 1px solid var(--line); }
.num b { display: block; font-stretch: 66%; font-weight: 800; font-size: clamp(3rem, 7vw, 6rem); line-height: 0.95; font-variant-numeric: tabular-nums; }
.num > span { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 0.98rem; max-width: 24ch; }
@media (max-width: 767px) {
  .numbers-in { grid-template-columns: 1fr; }
  .num + .num { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- why ---------- */
.statement { font-stretch: 72%; font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 5.2vw, 4.75rem); line-height: 1; letter-spacing: -0.005em; max-width: 20ch; }
.statement .w { display: inline-block; }
.why-copy { margin-top: clamp(2rem, 4vw, 3.5rem); margin-left: auto; max-width: 62ch; display: grid; gap: 1.1rem; color: var(--muted); }
.why-copy strong { color: var(--ink); font-weight: 600; }

.apart { margin-top: clamp(4rem, 9vw, 8rem); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.apart-list { margin-top: 2rem; border-top: 1px solid var(--line); }
.apart-item { border-bottom: 1px solid var(--line); }
.apart-item button { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 0; }
.apart-item h3 { font-stretch: 72%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.05; color: var(--muted); transition: color 0.4s var(--ease), transform 0.4s var(--ease); }
.apart-item .i { color: var(--muted); transition: transform 0.4s var(--ease), color 0.4s var(--ease); }
.apart-item.is-active h3 { color: var(--ink); transform: translateX(0.5rem); }
.apart-item.is-active .i { transform: rotate(45deg); color: var(--accent-ink); }
.apart-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.apart-body > div { overflow: hidden; }
.apart-body p { padding: 0 0 1.4rem 0.5rem; color: var(--muted); max-width: 48ch; }
.apart-item.is-active .apart-body { grid-template-rows: 1fr; }
.apart-media { position: sticky; top: calc(var(--nav-h) + 2rem); aspect-ratio: 4 / 5; max-height: 78dvh; width: 100%; overflow: hidden; border-radius: var(--r); background: var(--bg-2); }
.apart-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.7s var(--ease), transform 1.2s var(--ease); }
.apart-media img.is-active { opacity: 1; transform: scale(1); }
@media (max-width: 899px) {
  .apart { grid-template-columns: 1fr; }
  .apart-media { position: relative; top: 0; order: -1; aspect-ratio: 4 / 3; }
}

/* ---------- levels (stair) ---------- */
.levels { background: var(--bg-2); }
.levels .lede { margin-top: 1.25rem; }
.stair { margin-top: clamp(2.5rem, 5vw, 4.5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; align-items: end; }
.step { padding: clamp(1.25rem, 2.2vw, 2rem); border-radius: var(--r); background: var(--bg-3); display: flex; flex-direction: column; justify-content: flex-end; min-height: 15rem; }
.step:nth-child(2) { min-height: 20rem; }
.step:nth-child(3) { min-height: 25rem; background: var(--accent); color: var(--on-accent); }
.step h3 { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1; }
.step p { margin-top: 0.8rem; color: var(--muted); font-size: 1rem; max-width: 38ch; }
.step:nth-child(3) p { color: rgba(255, 255, 255, 0.92); }
.step .tag { margin-bottom: auto; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 767px) {
  .stair { grid-template-columns: 1fr; }
  .step, .step:nth-child(2), .step:nth-child(3) { min-height: 0; }
  .step .tag { margin-bottom: 2rem; }
}

/* ---------- approach (bento) ---------- */
.bento { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0.75rem; }
.cell { position: relative; overflow: hidden; border-radius: var(--r); min-height: 22rem; padding: clamp(1.25rem, 2.2vw, 2rem); display: flex; flex-direction: column; justify-content: flex-end; background: var(--bg-2); }
.cell h3 { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1; }
.cell p { margin-top: 0.7rem; max-width: 40ch; color: var(--muted); }
.cell-a { grid-column: span 7; }
.cell-b { grid-column: span 5; }
.cell-c { grid-column: span 5; background: var(--accent); color: var(--on-accent); }
.cell-c p { color: rgba(255, 255, 255, 0.92); }
.cell-d { grid-column: span 7; }
.cell.photo { color: var(--photo-ink); background: #0c0c0d; }
.cell.photo p { color: rgba(246, 245, 242, 0.86); }
.cell.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cell.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 12, 13, 0.92), rgba(12, 12, 13, 0.25) 62%, rgba(12, 12, 13, 0.05)); }
.cell.photo > *:not(img) { position: relative; z-index: 1; }
.cell.photo:hover img { transform: scale(1.05); }
.approach-foot { margin-top: clamp(2rem, 4vw, 3rem); max-width: 62ch; color: var(--muted); }
@media (max-width: 899px) {
  .cell-a, .cell-b, .cell-c, .cell-d { grid-column: 1 / -1; }
  .cell { min-height: 17rem; }
}

/* ---------- marquee (the only one) ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 1.1rem; }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track span { font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 3.25rem); line-height: 1; padding-inline: 1.25rem; white-space: nowrap; }
.marquee-track span.slash { color: var(--accent-ink); padding-inline: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- story ---------- */
.story-head { display: grid; gap: 1.5rem; }
.stages { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2rem; border-top: 1px solid var(--line); }
.stage { padding-top: 1.25rem; position: relative; }
.stage::before { content: ""; position: absolute; top: -1px; left: 0; width: 2.5rem; height: 2px; background: var(--accent); }
.stage h3 { font-weight: 700; font-size: 1.1rem; }
.stage p { margin-top: 0.4rem; color: var(--muted); font-size: 0.97rem; }
@media (max-width: 899px) { .stages { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.5rem; border-top: 0; } .stage { border-top: 1px solid var(--line); } }
@media (max-width: 479px) { .stages { grid-template-columns: 1fr; } }

.timeline { margin-top: clamp(3rem, 6vw, 5rem); }
.tl-nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.tl-tabs { display: flex; gap: clamp(1rem, 3vw, 2.75rem); }
.tl-tab { font-stretch: 68%; font-weight: 800; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1; padding-block: 0.75rem; color: var(--muted); opacity: 0.6; transition: color 0.4s var(--ease), opacity 0.4s var(--ease); white-space: nowrap; }
.tl-tab:hover { opacity: 1; }
.tl-tab[aria-selected="true"] { color: var(--accent-ink); opacity: 1; }
.tl-btns { display: flex; gap: 0.5rem; margin-left: auto; }
.tl-btns button { width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); transition: background-color 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s; }
.tl-btns button:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.tl-btns button:disabled { opacity: 0.35; cursor: default; }
.tl-progress { height: 2px; background: var(--line); position: relative; overflow: hidden; margin-block: 0.75rem 1.5rem; }
.tl-progress i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0.2); transition: transform 0.7s var(--ease); }
.tl-stage { display: grid; touch-action: pan-y; }
.era { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--bg-2); border-radius: var(--r); overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.era.is-active { opacity: 1; visibility: visible; }
.era figure { aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-3); }
.era img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.era.is-active img { transform: none; }
.era-body { padding: clamp(1.5rem, 4vw, 4rem); align-self: center; }
.era time { display: block; font-stretch: 66%; font-weight: 800; font-size: clamp(3rem, 6vw, 5.5rem); line-height: 0.95; color: var(--accent-ink); }
.era h3 { margin-top: 1rem; font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.2; max-width: 22ch; }
.era p { margin-top: 0.9rem; color: var(--muted); max-width: 44ch; }
.era-body > * { transform: translateY(14px); transition: transform 0.7s var(--ease); }
.era.is-active .era-body > * { transform: none; }
@media (max-width: 899px) {
  .tl-tabs { display: none; }
  .era { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .era figure { aspect-ratio: 4 / 3; }
}

/* ---------- proof ---------- */
.proof { background: var(--bg-2); }
.proof-photo { margin-top: clamp(2rem, 4vw, 3.5rem); border-radius: var(--r); overflow: hidden; aspect-ratio: 1172 / 508; }
.proof-photo img { width: 100%; height: 100%; object-fit: cover; }
.titles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2rem; margin-top: 2rem; }
.title-item b { display: block; font-stretch: 66%; font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--accent-ink); }
.title-item span { display: block; margin-top: 0.5rem; font-weight: 600; font-size: 1.08rem; line-height: 1.3; max-width: 18ch; }
.proof-note { margin-top: 2.5rem; color: var(--muted); max-width: 60ch; }
@media (max-width: 899px) { .titles { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } .proof-photo { aspect-ratio: 3 / 2; } }

/* ---------- coaches ---------- */
.coaches-head { display: grid; gap: 1.25rem; }
.staff { margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; gap: 0.5rem; height: min(44rem, 82dvh); min-height: 34rem; }
.coach { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--r); background: #0c0c0d; color: var(--photo-ink); transition: flex-grow 0.8s var(--ease); cursor: pointer; }
.coach.is-active { flex-grow: 4.2; cursor: default; }
.coach img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.72); transition: filter 0.8s var(--ease), transform 1.4s var(--ease); }
.coach.is-active img { filter: none; transform: scale(1.03); }
.coach::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 12, 13, 0.95) 0%, rgba(12, 12, 13, 0.55) 38%, rgba(12, 12, 13, 0) 70%); pointer-events: none; }
.coach-min, .coach-full { position: absolute; z-index: 1; left: 0; bottom: 0; padding: 1.25rem; }
.coach-min { right: 0; transition: opacity 0.3s var(--ease); }
.coach-min b { display: block; font-stretch: 66%; font-weight: 800; text-transform: uppercase; font-size: 1.55rem; line-height: 0.98; }
.coach-min span { display: block; margin-top: 0.4rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246, 245, 242, 0.8); }
.coach-full { width: min(34rem, 60vw); padding: clamp(1.25rem, 2.5vw, 2.25rem); opacity: 0; transform: translateY(12px); transition: opacity 0.3s var(--ease), transform 0.5s var(--ease); pointer-events: none; }
.coach.is-active .coach-min { opacity: 0; }
.coach.is-active .coach-full { opacity: 1; transform: none; transition-delay: 0.25s; pointer-events: auto; }
.coach-role { display: inline-block; background: var(--accent); color: var(--on-accent); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: var(--r); }
.coach-full h3 { margin-top: 0.8rem; font-stretch: 66%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 4.6vw, 4.25rem); line-height: 0.92; }
.coach-full ul { margin-top: 1rem; display: grid; gap: 0.3rem; font-size: 0.98rem; color: rgba(246, 245, 242, 0.9); }
.coach-full li { padding-left: 1rem; position: relative; }
.coach-full li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.5rem; height: 1px; background: var(--accent-ink); }
.coach > button { position: absolute; inset: 0; z-index: 2; }
.coach.is-active > button { display: none; }
@media (max-width: 899px) {
  .staff { flex-direction: column; height: auto; min-height: 0; gap: 0.75rem; }
  .coach, .coach.is-active { flex: none; cursor: default; }
  .coach img, .coach.is-active img { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; filter: none; transform: none; }
  .coach::after { display: none; }
  .coach-min, .coach > button { display: none; }
  .coach-full { position: relative; width: auto; opacity: 1; transform: none; pointer-events: auto; background: #141416; }
}

/* ---------- schedule ---------- */
.sched { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.sched-side { position: sticky; top: calc(var(--nav-h) + 2rem); display: grid; gap: 1.5rem; }
.tabs { display: inline-flex; padding: 0.25rem; background: var(--bg-2); border-radius: var(--r); width: max-content; max-width: 100%; }
.tabs button { height: 2.75rem; padding-inline: 1.1rem; border-radius: var(--r); font-weight: 700; font-size: 0.84rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.events { border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) auto; gap: 1rem 1.5rem; align-items: baseline; padding: 1.4rem 0; border-bottom: 1px solid var(--line); transition: padding 0.4s var(--ease); }
.event time { font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1; color: var(--accent-ink); }
.event h3 { font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
.event span { color: var(--muted); font-size: 0.98rem; white-space: nowrap; }
.panel[hidden] { display: none; }
.panel .event { animation: rise 0.6s var(--ease) both; animation-delay: calc(var(--n) * 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 899px) {
  .sched { grid-template-columns: 1fr; }
  .sched-side { position: static; }
  .event { grid-template-columns: 1fr; gap: 0.3rem; }
  .event span { white-space: normal; }
}

/* ---------- lessons ---------- */
.lessons { position: relative; color: var(--photo-ink); background: #0c0c0d; overflow: clip; }
.lessons-bg { position: absolute; inset: 0; }
.lessons-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.lessons-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12, 12, 13, 0.96) 0%, rgba(12, 12, 13, 0.86) 45%, rgba(12, 12, 13, 0.5) 100%); }
.lessons-in { position: relative; z-index: 1; display: grid; gap: 2rem; max-width: 46rem; }
.lessons-in > p { color: rgba(246, 245, 242, 0.86); max-width: 54ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--r); padding: 0.45rem 0.8rem; font-size: 0.92rem; font-weight: 500; background: rgba(12, 12, 13, 0.45); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.22); padding-top: 1.5rem; }
.facts dt { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(246, 245, 242, 0.7); }
.facts dd { margin-top: 0.35rem; font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
@media (max-width: 639px) { .facts { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- contact ---------- */
.standard { text-align: center; padding-bottom: clamp(3rem, 6vw, 5rem); }
.standard p { margin: 1.5rem auto 0; color: var(--muted); max-width: 52ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.contact-info { display: grid; gap: 1.5rem; align-content: start; }
.contact-links { display: grid; margin-top: 0.5rem; border-top: 1px solid var(--line); }
.contact-links a { display: flex; align-items: center; gap: 0.9rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 1.1rem; transition: color 0.3s var(--ease), padding 0.4s var(--ease); overflow-wrap: anywhere; }
.contact-links a:hover { color: var(--accent-ink); padding-left: 0.5rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: 0.5rem; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--r); padding: 0.85rem 0.95rem;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--bg); }
.field .help { font-size: 0.85rem; color: var(--muted); }
.field .err { font-size: 0.85rem; color: var(--accent-ink); font-weight: 600; min-height: 1.2em; }
.field.is-bad input, .field.is-bad textarea { border-color: var(--accent-ink); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-status { color: var(--muted); font-size: 0.95rem; flex: 1 1 16rem; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 539px) { .form { grid-template-columns: 1fr; } .field { grid-column: 1 / -1; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 2.5rem; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; color: var(--muted); font-size: 0.92rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer .brand { color: var(--ink); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .hero h1 .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
  .js .hero h1 .line:nth-child(2) > span { transition-delay: 0.12s; }
  .js .hero.is-ready h1 .line > span { transform: none; }
  .js .hero .fade { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease) 0.45s, transform 0.9s var(--ease) 0.45s; }
  .js .hero.is-ready .fade { opacity: 1; transform: none; }

  @supports (animation-timeline: view()) {
    .hero-media img { animation: heroZoom linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    @keyframes heroZoom { to { transform: scale(1.12); } }
    .statement .w { animation: wordIn linear both; animation-timeline: view(); animation-range: entry 60% cover 42%; }
    @keyframes wordIn { from { opacity: 0.16; } to { opacity: 1; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.standard em { display: block; }

/* red text that sits on photography keeps the bright tone in both themes */
.on-photo, .coach, .cell.photo { --accent-ink: #f04a59; }
.sched > * { min-width: 0; }
@media (max-width: 899px) {
  .sched { grid-template-columns: minmax(0, 1fr); }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding-inline: 0.5rem; font-size: 0.78rem; }
}

.form-status a { color: var(--accent-ink); font-weight: 600; }

/* ---------- Gamecocks identity ---------- */
.marquee-track span.gc { font-style: italic; color: var(--accent-ink); }

.gc-logo { display: block; height: auto; }
/* the logo's black outline disappears on dark backgrounds, so it gets a thin light edge there */
:root[data-mode="dark"] .gc-logo,
.nav:not(.is-solid) .gc-logo { filter: drop-shadow(0 0 0.7px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 0.7px rgba(255, 255, 255, 0.6)); }
.brand { align-items: center; }
.brand .gc-logo { width: 3.4rem; margin-right: 0.15rem; }
.brand span { align-self: center; padding-top: 0.2rem; }
.footer .brand .gc-logo { width: 5.5rem; }
.marquee-track { align-items: center; }
.marquee-track span.sep { padding-inline: 0.25rem; display: flex; align-items: center; }
.marquee-track .gc-logo { width: clamp(3.2rem, 6vw, 5rem); }
.gc-hero { width: clamp(9rem, 16vw, 14rem); margin: 0 auto clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 479px) { .brand span { display: none; } }

/* ---------- December calendar ---------- */
.cal { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; padding-bottom: clamp(4rem, 8vw, 7rem); margin-bottom: clamp(4rem, 8vw, 7rem); border-bottom: 1px solid var(--line); }
.cal-main { display: grid; gap: 1.25rem; min-width: 0; }
.cal-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cal-filters button { display: inline-flex; align-items: center; gap: 0.5rem; height: 2.6rem; padding-inline: 0.9rem; border: 1px solid var(--line); border-radius: var(--r); font-weight: 600; font-size: 0.9rem; transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.cal-filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sw { width: 0.8rem; height: 0.8rem; border-radius: var(--r); flex: none; }
.sw-cages { background: var(--accent); }
.sw-field { background: var(--ink); }
.cal-filters button[aria-pressed="true"] .sw-field { background: var(--bg); }
.sw-tourney { box-shadow: inset 0 0 0 2px var(--accent-ink); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.3rem; }
.cal-dow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 0.25rem 0.4rem 0.5rem; }
.cal-day { position: relative; min-height: clamp(3rem, 7.2vw, 6.2rem); padding: 0.45rem 0.5rem; border-radius: var(--r); background: var(--bg); text-align: left; display: flex; flex-direction: column; gap: 0.2rem; transition: transform 0.3s var(--ease), opacity 0.4s var(--ease), box-shadow 0.3s var(--ease); }
.cal-day.blank { background: none; }
.cal-day b { font-stretch: 70%; font-weight: 800; font-size: clamp(1rem, 1.7vw, 1.5rem); line-height: 1; }
.cal-day small { font-size: 0.74rem; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.cal-day .note { color: var(--muted); font-weight: 500; }
.cal-day.today { box-shadow: inset 0 -3px 0 var(--accent-ink); }
button.cal-day:hover { transform: translateY(-2px); }
button.cal-day:active { transform: scale(0.98); }
.cal-day[data-type="cages"] { background: var(--accent); color: var(--on-accent); }
.cal-day[data-type="field"] { background: var(--ink); color: var(--bg); }
.cal-day[data-type="tourney"] { box-shadow: inset 0 0 0 2px var(--accent-ink); color: var(--accent-ink); }
.cal-day.is-selected { outline: 2px solid var(--ink); outline-offset: 2px; }
.cal-day.is-dim { opacity: 0.22; }
.cal-list { border-top: 1px solid var(--line); min-width: 0; }
.cal-item { border-bottom: 1px solid var(--line); }
.cal-item[hidden] { display: none; }
.cal-head { width: 100%; display: grid; grid-template-columns: 5.2rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; text-align: left; padding: 1rem 0; }
.cal-head time b { display: block; font-stretch: 68%; font-weight: 800; font-size: 2rem; line-height: 1; color: var(--accent-ink); }
.cal-head time span { display: block; margin-top: 0.2rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.cal-what strong { display: block; font-weight: 600; font-size: 1.1rem; line-height: 1.25; }
.cal-what span { display: block; color: var(--muted); font-size: 0.95rem; }
.cal-head .i { color: var(--muted); transition: transform 0.4s var(--ease), color 0.4s var(--ease); }
.cal-item.is-open .cal-head .i { transform: rotate(45deg); color: var(--accent-ink); }
.cal-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.cal-more > div { overflow: hidden; }
.cal-item.is-open .cal-more { grid-template-rows: 1fr; }
.cal-more a { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1.1rem 6.2rem; font-weight: 600; font-size: 0.95rem; color: var(--accent-ink); text-decoration: none; }
.cal-more a:hover { text-decoration: underline; }
.cal-empty { padding: 1.25rem 0; color: var(--muted); }
@media (max-width: 899px) {
  .cal { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .cal-day { align-items: center; justify-content: center; padding: 0.3rem; min-height: 2.9rem; }
  .cal-day small { display: none; }
  .cal-dow { text-align: center; padding-inline: 0; letter-spacing: 0.04em; }
  .cal-more a { margin-left: 0; }
}

/* ---------- player interest form ---------- */
.form-title { grid-column: 1 / -1; font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.field .opt { color: var(--muted); font-weight: 400; }
.field select {
  width: 100%; font: inherit; color: var(--ink); background-color: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--r); padding: 0.85rem 2.4rem 0.85rem 0.95rem;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 55%, calc(100% - 0.8rem) 55%;
  background-size: 0.35rem 0.35rem; background-repeat: no-repeat;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.field select:focus { outline: none; border-color: var(--ink); background-color: var(--bg); }
.field.is-bad select { border-color: var(--accent-ink); }

/* ---------- calendar v2: several months, several events per day ---------- */
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sw-tryout { background: repeating-linear-gradient(135deg, var(--accent) 0 3px, var(--ink) 3px 6px); }
.cal-day { gap: 0.25rem; }
button.cal-day { cursor: pointer; }
.cal-day .chips { display: grid; gap: 0.2rem; min-width: 0; width: 100%; }
.chip { display: block; padding: 0.2rem 0.35rem; border-radius: var(--r); font-size: 0.7rem; font-weight: 600; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.4s var(--ease); }
.chip[data-type="cages"] { background: var(--accent); color: var(--on-accent); }
.chip[data-type="field"] { background: var(--ink); color: var(--bg); }
.chip[data-type="tourney"] { box-shadow: inset 0 0 0 1.5px var(--accent-ink); color: var(--accent-ink); }
.chip[data-type="tryout"] { background: repeating-linear-gradient(135deg, var(--accent) 0 6px, #a01624 6px 12px); color: var(--on-accent); }
.chip.is-dim { opacity: 0.18; }
.cal-team { display: inline-block; margin-bottom: 0.3rem; font-style: normal; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.cal-more .more-in { padding: 0 0 1.1rem 6.2rem; display: grid; gap: 0.5rem; justify-items: start; }
.cal-more .more-in p { color: var(--muted); font-size: 0.95rem; max-width: 46ch; }
.cal-more a { margin: 0; }
.event-group { padding: 2rem 0 0.75rem; border-bottom: 1px solid var(--line); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.panel-note { margin-top: 1.25rem; color: var(--muted); font-size: 0.95rem; max-width: 60ch; }
@media (max-width: 899px) {
  .tabs button { font-size: 0.7rem; letter-spacing: 0.04em; padding-inline: 0.25rem; }
}
@media (max-width: 639px) {
  .cal-day .chips { display: flex; justify-content: center; gap: 0.2rem; width: auto; }
  .chip { width: 0.5rem; height: 0.5rem; padding: 0; font-size: 0; }
  .cal-more .more-in { padding-left: 0; }
}

/* ---------- interest form popup ---------- */
dialog.interest {
  width: min(40rem, calc(100vw - 1.5rem)); max-height: calc(100dvh - 1.5rem); overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg); color: var(--ink);
}
dialog.interest::backdrop { background: rgba(8, 8, 9, 0.78); }
dialog.interest[open] { animation: popIn 0.45s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(18px); } }
.interest-close { position: absolute; top: 0.75rem; right: 0.75rem; }
.interest-logo { width: 5.5rem; margin-bottom: 1rem; }
dialog.interest > p { margin-top: 0.6rem; }
dialog.interest .form { margin-top: 1.5rem; }
dialog.interest .form-title { display: none; }
body:has(dialog.interest[open]) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { dialog.interest[open] { animation: none; } }

/* ---------- Instagram follow band ---------- */
.follow { display: block; text-decoration: none; background: var(--accent); color: var(--on-accent); transition: background-color 0.4s var(--ease); }
.follow:hover { background: #e02a3a; }
.follow-in { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); padding-block: clamp(2rem, 5vw, 3.75rem); }
.follow-ig { width: clamp(2.75rem, 6vw, 5rem); height: clamp(2.75rem, 6vw, 5rem); }
.follow-text { display: grid; gap: 0.35rem; min-width: 0; }
.follow-lead { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.follow-handle { font-size: clamp(2.4rem, 8.5vw, 7rem); text-transform: none; overflow-wrap: anywhere; }
.follow-arrow { width: clamp(2rem, 5vw, 4rem); height: clamp(2rem, 5vw, 4rem); margin-left: auto; transition: transform 0.4s var(--ease); }
.follow:hover .follow-arrow { transform: translate(6px, -6px); }
.footer { border-top: 0; }
@media (max-width: 479px) { .follow-arrow { display: none; } }

/* ---------- opening animation: claw slashes, the gamecock charges in, curtain lifts ---------- */
.intro { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .intro {
    display: grid; position: fixed; inset: 0; z-index: 100; place-items: center; overflow: hidden;
    background: #0c0c0d; color: #f6f5f2; cursor: pointer;
    animation: introSafety 0.01s 6s forwards;
  }
  .js.intro-done .intro { display: none; }
  html.intro-on { overflow: hidden; }
  .intro.is-leaving { animation: introOut 0.75s cubic-bezier(0.7, 0, 0.2, 1) forwards; pointer-events: none; }
  @keyframes introOut { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
  @keyframes introSafety { to { visibility: hidden; } }

  .intro-slash {
    position: absolute; left: -20vw; width: 140vw; height: clamp(2.5rem, 10vh, 6.5rem);
    background: var(--accent); transform: rotate(-14deg) translateX(-115%);
    animation: slash 0.85s cubic-bezier(0.7, 0, 0.2, 1) forwards;
  }
  .intro-slash.s1 { top: 20%; }
  .intro-slash.s2 { top: 44%; animation-delay: 0.08s; background: #a01624; }
  .intro-slash.s3 { top: 68%; animation-delay: 0.16s; }
  @keyframes slash { to { transform: rotate(-14deg) translateX(115%); } }

  .intro-mark { position: relative; display: grid; justify-items: center; gap: 1.25rem; }
  .intro-mark .gc-logo {
    width: clamp(11rem, 26vw, 20rem); opacity: 0;
    filter: drop-shadow(0 0 0.7px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 0.7px rgba(255, 255, 255, 0.6));
    animation: cockIn 0.8s cubic-bezier(0.34, 1.4, 0.64, 1) 0.45s forwards;
  }
  @keyframes cockIn {
    from { opacity: 0; transform: translateX(-45vw) skewX(-14deg) scale(0.7); }
    55% { opacity: 1; }
    to { opacity: 1; transform: none; }
  }
  .intro-word { display: flex; align-items: baseline; gap: 0.6rem; overflow: hidden; white-space: nowrap; }
  .intro-word > * { transform: translateY(115%); animation: wordUp 0.6s var(--ease) 1.05s forwards; }
  .intro-word b { font-stretch: 68%; font-weight: 900; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; }
  .intro-word span { font-size: clamp(0.7rem, 1.4vw, 0.95rem); font-weight: 600; font-stretch: 112%; letter-spacing: 0.14em; text-transform: uppercase; animation-delay: 1.15s; }
  @keyframes wordUp { to { transform: none; } }
  .intro.is-leaving .intro-mark { animation: markOut 0.6s var(--ease) forwards; }
  @keyframes markOut { to { opacity: 0; transform: translateY(-36px) scale(1.06); } }
}

/* ---------- interactive touches ---------- */
/* reading progress along the top edge */
.progress { display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .progress { display: block; position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 55; background: var(--accent); transform-origin: left; transform: scaleX(0); animation: progress linear both; animation-timeline: scroll(root); }
    @keyframes progress { to { transform: scaleX(1); } }
  }
}
/* the nav marks the section being read */
.nav-links a[aria-current="true"] { background-size: 100% 1px; color: var(--accent-ink); }
/* hero photo drifts a little with the pointer */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-media { transform: scale(1.04) translate(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px)); transition: transform 0.7s ease-out; }
}
/* a soft light follows the pointer across the cards */
.step { position: relative; overflow: hidden; }
.cell::before, .step::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.16), transparent 62%);
  transition: opacity 0.4s var(--ease);
}
.cell:hover::before, .step:hover::before { opacity: 1; }
.cell > *:not(img), .step > * { position: relative; z-index: 2; }
/* the marquee holds still while the pointer is on it */
.marquee:hover .marquee-track { animation-play-state: paused; }
/* the closing logo leans toward the pointer */
.gc-tilt { display: block; width: max-content; margin-inline: auto; transition: transform 0.5s ease-out; transform: perspective(700px) rotateX(calc(var(--ty, 0) * -10deg)) rotateY(calc(var(--tx, 0) * 14deg)); }

/* ---------- tryout promo strip (hero), shown by main.js until the tryout has passed ---------- */
.tryout[hidden] { display: none; }
.tryout {
  display: inline-flex; flex-wrap: wrap; align-items: stretch; max-width: 100%; margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  text-decoration: none; color: #f6f5f2; background: rgba(12, 12, 13, 0.72); border: 1px solid rgba(246, 245, 242, 0.22);
  border-radius: var(--r); overflow: hidden; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.tryout > * { display: flex; align-items: center; padding: 0.7rem 1rem; }
.tryout-tag { background: var(--accent); color: var(--on-accent); font-stretch: 72%; font-weight: 800; font-size: 1.25rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.02em; }
.tryout-what { gap: 0.75rem; font-size: 0.92rem; font-weight: 500; }
.tryout-what b { font-weight: 700; }
.tryout-what span { padding-left: 0.75rem; border-left: 1px solid rgba(246, 245, 242, 0.3); }
.tryout-count { gap: 0.3rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; border-left: 1px solid rgba(246, 245, 242, 0.22); font-variant-numeric: tabular-nums; }
.tryout-count b { font-stretch: 72%; font-weight: 800; font-size: 1.25rem; line-height: 1; letter-spacing: 0; margin-left: 0.35rem; }
.tryout-count b:first-child { margin-left: 0; }
.tryout-go { gap: 0.45rem; font-weight: 700; font-size: 0.92rem; background: #f6f5f2; color: #0c0c0d; transition: background-color 0.3s var(--ease); }
.tryout-go .i { width: 1rem; height: 1rem; transition: transform 0.3s var(--ease); }
.tryout:hover .tryout-go { background: #ffffff; }
.tryout:hover .tryout-go .i { transform: translate(3px, -3px); }
@media (max-width: 1023px) {
  .tryout { display: grid; max-width: 34rem; grid-template-columns: auto minmax(0, 1fr); width: 100%; }
  .tryout-what { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; row-gap: 0.2rem; border-top: 1px solid rgba(246, 245, 242, 0.22); }
  .tryout-count { border-left: 0; justify-content: flex-end; }
  .tryout-go { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 479px) { .tryout-count .sec { display: none; } .tryout-count { padding-left: 0.5rem; } }
.tryout-count .sec { display: inline-flex; align-items: center; gap: 0.3rem; }
@media (max-width: 479px) { .tryout-count .sec { display: none; } }
