/* ==========================================================================
   OV SPORTS HUB - Orchard View Sports Hub
   Design system: Cardinal red / black / off-white, dark cinematic theme
   Native HTML/CSS/JS. One accent (cardinal red). One radius scale.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --red:        #d11a2f;
  --red-bright: #ef2440;
  --red-deep:   #9a0f22;
  --red-glow:   rgba(209, 26, 47, 0.40);

  /* Neutrals (warm-charcoal family, locked) */
  --ink:        #0b0c0f;
  --ink-2:      #101216;
  --surface:    #15171d;
  --surface-2:  #1c1f27;
  --surface-3:  #242833;
  --line:       rgba(255, 255, 255, 0.10);
  --line-soft:  rgba(255, 255, 255, 0.06);

  --white:      #f4f5f7;
  --muted:      #aeb2bc;
  --muted-2:    #7c818c;

  /* Typography */
  --font-display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-stat:    "Bebas Neue", "Archivo", sans-serif;

  /* Radius scale (locked): pills for interactive, 14px cards, 8px inputs */
  --r-card:  14px;
  --r-input: 10px;
  --r-pill:  999px;

  /* Layout */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Shadow tinted to background */
  --shadow-card: 0 18px 50px -22px rgba(0, 0, 0, 0.75);
  --shadow-red:  0 18px 50px -18px var(--red-glow);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.display {
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p  { color: var(--muted); max-width: 68ch; }

.kicker {
  font-family: var(--font-stat);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
  display: inline-block;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.text-white { color: var(--white); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.stack > * + * { margin-top: 1.1rem; }
.center { text-align: center; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.eyebrow-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 0.7rem; }
.section-head p { margin-top: 1rem; }

/* divider used instead of cards where elevation isn't needed */
.rule { height: 1px; background: var(--line); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  padding: 0.95em 1.6em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { background: var(--red-bright); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(0.985); }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--white);
  border-color: var(--line);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.32); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0) scale(0.985); }
.btn-lg { padding: 1.1em 2em; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* small link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--white);
}
.link-arrow svg { transition: transform 0.25s var(--ease); width: 1em; }
.link-arrow:hover { color: var(--red-bright); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Badges / pills ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--font-stat); letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 0.82rem;
  padding: 0.32em 0.8em;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--muted);
}
.tag--red   { background: rgba(209,26,47,0.16); border-color: rgba(209,26,47,0.4); color: #ff7385; }
.tag--live  { background: rgba(209,26,47,0.18); border-color: rgba(209,26,47,0.5); color: #ff8290; }
.tag--win   { color: #6fe39a; border-color: rgba(111,227,154,0.35); background: rgba(111,227,154,0.10); }
.tag--final { color: var(--muted-2); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 0 0 var(--red-glow); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(239,36,64,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(239,36,64,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,36,64,0); }
}
@media (prefers-reduced-motion: reduce) { .dot-live { animation: none; } }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,12,15,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled { background: rgba(11,12,15,0.92); border-color: var(--line); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7em; }
.brand-mark {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  background: var(--red);
  border-radius: 11px;
  box-shadow: var(--shadow-red);
  transform: rotate(-4deg);
  font-family: var(--font-stat);
  color: #fff; font-size: 1.35rem; line-height: 1;
  letter-spacing: 0.02em;
}
.brand-name {
  position: relative; z-index: 1; display: inline-grid; overflow: hidden; max-width: 280px;
  transition: max-width 0.45s var(--ease), opacity 0.32s var(--ease), transform 0.45s var(--ease), margin-left 0.45s var(--ease);
}
.brand-name__line { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.18rem; letter-spacing: -0.02em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.brand-name__line span { color: var(--red-bright); }
.brand-sub { display: block; font-family: var(--font-stat); font-size: 0.68rem; letter-spacing: 0.34em; color: var(--muted-2); margin-top: 3px; white-space: nowrap; }
/* logo sits above the brand text so the text tucks behind it on scroll */
.brand-logo { position: relative; z-index: 2; }
/* at the top of the page the full lockup shows; after scrolling, the text collapses behind the logo */
.site-header.scrolled .brand-name { max-width: 0; opacity: 0; transform: translateX(-14px); margin-left: -0.7em; }

.nav-links { display: flex; align-items: center; gap: 0.4rem; }
.nav-links a {
  font-weight: 600; font-size: 0.95rem; color: var(--muted);
  padding: 0.5em 0.85em; border-radius: var(--r-pill);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ""; display: block; height: 2px; width: 18px; margin: 4px auto 0;
  background: var(--red); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2px; background: var(--white);
  border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .mobile-menu {
    position: fixed; inset: 72px 0 auto 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    padding: 18px var(--gutter) 28px;
    display: grid; gap: 6px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    z-index: 99; max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  body.nav-open .mobile-menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-menu a {
    font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
    padding: 0.7em 0.4em; border-bottom: 1px solid var(--line-soft); color: var(--white);
  }
  .mobile-menu a.active { color: var(--red-bright); }
  .mobile-menu .btn { margin-top: 14px; }
}
@media (min-width: 941px) { .mobile-menu { display: none; } }

/* ==========================================================================
   HERO
   ========================================================================== */
/* tall wrapper that provides the scroll distance for the video scrub */
.hero-scroll { position: relative; }

.hero {
  position: relative;
  min-height: clamp(620px, 92dvh, 920px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink-2);
}

/* the scroll-scrubbed video (the moving background image) */
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2; background: var(--ink-2);
}

/* legibility scrim, layered above the video */
.hero__media {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,12,15,0.42) 0%, rgba(11,12,15,0.10) 26%, rgba(11,12,15,0.80) 76%, var(--ink) 100%),
    linear-gradient(95deg, rgba(11,12,15,0.82) 0%, rgba(11,12,15,0.26) 55%, rgba(154,15,34,0.30) 100%),
    radial-gradient(80% 90% at 78% 12%, rgba(209,26,47,0.36) 0%, transparent 55%);
}

/* Desktop with motion allowed: pin the hero and scrub the clip across the scroll */
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
  .hero-scroll { height: 240vh; }
  .hero { position: sticky; top: 0; height: 100dvh; min-height: 0; }
}

/* In-page sections with a scroll-scrubbed video background (atmospheric, behind content) */
.scrub-section { position: relative; isolation: isolate; overflow: hidden; }
.sec-vidbg { position: absolute; inset: 0; z-index: -2; background: var(--ink); }
.sec-vidbg .scrub-vid { width: 100%; height: 100%; object-fit: cover; display: block; }
.sec-vidbg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,12,15,0.88) 0%, rgba(11,12,15,0.80) 50%, rgba(11,12,15,0.90) 100%),
    radial-gradient(70% 80% at 14% 0%, rgba(154,15,34,0.22) 0%, transparent 55%);
}
/* CTA band video fills its background layer (scrim is .cta-band::after) */
.cta-band__bg .scrub-vid { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__noise { position: absolute; inset: 0; z-index: -1; opacity: 0.5; pointer-events: none;
  background-image: 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='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.hero__inner { padding-block: clamp(40px, 7vw, 96px); width: 100%; }
.hero h1 { max-width: 16ch; }
.hero h1 .accent { color: var(--red-bright); display: inline-block; }
.hero__sub { margin-top: 1.4rem; font-size: 1.18rem; color: #d7dae1; max-width: 46ch; }
.hero__cta { margin-top: 2.2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero__strip {
  margin-top: clamp(36px, 6vw, 64px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
}
.hero__strip .stat { background: rgba(13,14,18,0.78); padding: 1.1rem 1.2rem; backdrop-filter: blur(4px); }
.stat-num { font-family: var(--font-stat); font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; color: #fff; }
.stat-num .unit { color: var(--red-bright); }
.stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }

@media (max-width: 720px) {
  .hero__strip { grid-template-columns: repeat(2, 1fr); }
}

/* angular accent edge */
.edge-top {
  position: relative;
}
.edge-top::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 40px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 100%, 100% 0);
}

/* ==========================================================================
   SCORE TICKER (single marquee, used once)
   ========================================================================== */
.ticker {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
  overflow: hidden; position: relative;
}
.ticker__label {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 0.5em;
  padding: 0 1.1rem; background: var(--red);
  font-family: var(--font-stat); letter-spacing: 0.14em; font-size: 0.95rem; color: #fff;
}
.ticker__track { display: flex; gap: 2.5rem; padding: 0.85rem 0 0.85rem 9rem;
  width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; flex-wrap: nowrap; overflow-x: auto; padding-left: 9rem; }
}
.ticker__item { display: inline-flex; align-items: center; gap: 0.7em; white-space: nowrap; font-size: 0.92rem; }
.ticker__item .t-sport { font-family: var(--font-stat); letter-spacing: 0.1em; color: var(--red-bright); font-size: 0.82rem; }
.ticker__item .t-team { color: var(--muted); }
.ticker__item .t-score { font-family: var(--font-stat); font-size: 1.1rem; color: #fff; letter-spacing: 0.03em; }
.ticker__item .t-win { color: #fff; }

/* ==========================================================================
   CARDS - sports, blog, team, score
   ========================================================================== */
.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); box-shadow: var(--shadow-card); }

/* Sport card with media (background-image slot, themed gradient fallback) */
.sport-card { position: relative; display: flex; min-height: 340px; isolation: isolate; background: var(--surface-2); }
.sport-card__bg {
  position: absolute; inset: 0; z-index: -2;
  background-color: var(--surface-2);
  /* text scrim (top) -> real photo (middle) -> tinted fallback (only shows if no photo) */
  background-image:
    linear-gradient(180deg, rgba(11,12,15,0) 0%, rgba(11,12,15,0.04) 44%, rgba(11,12,15,0.55) 76%, rgba(11,12,15,0.93) 100%),
    var(--card-photo, none),
    var(--card-grad);
  background-size: cover; background-position: center;
  transition: transform 0.6s var(--ease);
}
.sport-card::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 58%, rgba(11,12,15,0.45) 100%); }
.sport-card:hover .sport-card__bg { transform: scale(1.06); }
.sport-card__body { margin-top: auto; padding: 1.4rem; display: flex; flex-direction: column; height: 100%; justify-content: flex-end; position: relative; }
.sport-card__season { align-self: flex-start; }
.sport-card h3 { font-size: 1.5rem; margin-top: 0.6rem; text-transform: uppercase; font-stretch: 110%; }
.sport-card p { color: #c9cdd6; font-size: 0.95rem; margin-top: 0.35rem; }
.sport-card .link-arrow { margin-top: 0.9rem; }

/* Blog card */
.blog-card { display: flex; flex-direction: column; }
.blog-card__media { aspect-ratio: 16/10; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.blog-card__meta { display: flex; gap: 0.7rem; align-items: center; font-size: 0.82rem; color: var(--muted-2); }
.blog-card h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.blog-card:hover h3 { color: var(--white); }
.blog-card p { font-size: 0.94rem; }
.blog-card .link-arrow { margin-top: auto; padding-top: 0.4rem; }

/* Team card */
.team-card { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.team-card__top { display: flex; align-items: center; gap: 0.9rem; }
.team-emblem { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--red); color: #fff; font-family: var(--font-stat); font-size: 1.5rem; flex: none; transform: rotate(-3deg); }
.team-card h3 { font-size: 1.15rem; text-transform: uppercase; font-stretch: 110%; }
.team-card .meta { font-size: 0.82rem; color: var(--muted-2); }
.team-record { display: flex; gap: 1.4rem; padding-top: 0.4rem; border-top: 1px solid var(--line-soft); }
.team-record div { font-size: 0.8rem; color: var(--muted-2); }
.team-record b { display: block; font-family: var(--font-stat); font-size: 1.4rem; color: #fff; letter-spacing: 0.04em; }

/* ==========================================================================
   SCOREBOARD
   ========================================================================== */
.scoreboard { display: grid; gap: 16px; }
.score-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 1.1rem 1.3rem;
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.score-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.score-card__sport {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--font-stat); letter-spacing: 0.16em; font-size: 0.82rem; color: var(--red-bright);
  text-transform: uppercase; align-self: stretch; display: flex; align-items: center;
  border-right: 1px solid var(--line-soft); padding-right: 0.2rem; margin-right: 0.2rem;
}
.score-card__teams { display: grid; gap: 0.5rem; min-width: 0; }
.score-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; }
.score-row .team { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.score-row .team .em { width: 30px; height: 30px; border-radius: 8px; background: var(--surface-3); display: grid; place-items: center;
  font-family: var(--font-stat); font-size: 0.95rem; color: var(--white); flex: none; }
.score-row .team .nm { font-weight: 700; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-row.is-winner .nm { color: #fff; }
.score-row:not(.is-winner) .nm { color: var(--muted); }
.score-row .pts { font-family: var(--font-stat); font-size: 1.7rem; letter-spacing: 0.04em; line-height: 1; }
.score-row.is-winner .pts { color: #fff; }
.score-row:not(.is-winner) .pts { color: var(--muted-2); }
.score-card__status { text-align: right; display: grid; gap: 0.3rem; justify-items: end; align-self: start; }
.score-card__status .when { font-size: 0.78rem; color: var(--muted-2); white-space: nowrap; }

/* filter tabs */
.tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tab {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  padding: 0.55em 1.1em; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: var(--muted);
  transition: all 0.25s var(--ease);
}
.tab:hover { color: var(--white); border-color: rgba(255,255,255,0.25); }
.tab.active { background: var(--red); color: #fff; border-color: var(--red); }

.is-hidden { display: none !important; }

/* ==========================================================================
   SCHEDULE LIST
   ========================================================================== */
.sched { display: grid; gap: 12px; }
.sched-row {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 1.2rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 1rem 1.3rem; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.sched-row:hover { border-color: rgba(255,255,255,0.2); transform: translateX(4px); }
.sched-date { text-align: center; border-right: 1px solid var(--line-soft); padding-right: 1rem; }
.sched-date .d { font-family: var(--font-stat); font-size: 2rem; line-height: 0.9; color: #fff; }
.sched-date .m { font-family: var(--font-stat); letter-spacing: 0.16em; font-size: 0.78rem; color: var(--red-bright); }
.sched-main .match { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; font-stretch: 105%; }
.sched-main .info { font-size: 0.85rem; color: var(--muted-2); margin-top: 3px; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.sched-side { text-align: right; }
@media (max-width: 600px) {
  .sched-row { grid-template-columns: 64px 1fr; }
  .sched-side { grid-column: 2; text-align: left; margin-top: 0.3rem; }
}

/* ==========================================================================
   NEOWORK INSERT PLACEHOLDER
   ========================================================================== */
.insert-slot {
  border: 1.5px dashed rgba(209,26,47,0.45);
  border-radius: var(--r-card);
  background:
    repeating-linear-gradient(135deg, rgba(209,26,47,0.04) 0 14px, transparent 14px 28px),
    var(--surface);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  display: grid; place-items: center; gap: 0.5rem;
}
.insert-slot .ico { width: 54px; height: 54px; border-radius: 14px; background: rgba(209,26,47,0.14);
  display: grid; place-items: center; color: var(--red-bright); margin-bottom: 0.4rem; }
.insert-slot .ico svg { width: 26px; height: 26px; }
.insert-slot h3 { font-size: 1.2rem; }
.insert-slot p { color: var(--muted); font-size: 0.95rem; max-width: 44ch; margin-inline: auto; }
.insert-slot code { font-family: var(--font-stat); letter-spacing: 0.06em; color: #ff8290;
  background: rgba(209,26,47,0.12); padding: 0.15em 0.6em; border-radius: 6px; font-size: 0.95em; }

/* ==========================================================================
   SPLIT / FEATURE
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--r-card); overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split__media .float-stat {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(11,12,15,0.82); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem 1.1rem;
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* feature list with dividers (no card boxes) */
.feature-list { display: grid; gap: 0; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(209,26,47,0.12);
  display: grid; place-items: center; color: var(--red-bright); flex: none; }
.feature-ico svg { width: 22px; height: 22px; }
.feature-list h3 { font-size: 1.12rem; font-weight: 800; }
.feature-list p { font-size: 0.94rem; margin-top: 0.25rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); counter-reset: step; }
.step { padding: 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); position: relative; }
.step__n { font-family: var(--font-stat); font-size: 2.4rem; color: var(--red); line-height: 1; }
.step h3 { font-size: 1.15rem; margin: 0.5rem 0 0.4rem; }
.step p { font-size: 0.92rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.page-head { position: relative; padding-block: clamp(56px, 9vw, 110px) clamp(36px, 5vw, 60px); overflow: hidden; isolation: isolate; }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(120% 140% at 85% 0%, rgba(154,15,34,0.42) 0%, transparent 55%), var(--ink);
}
.page-head::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: 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='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
}
.page-head h1 { margin-top: 0.8rem; max-width: 18ch; }
.page-head p { margin-top: 1rem; font-size: 1.12rem; }
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.85rem; color: var(--muted-2); font-family: var(--font-stat); letter-spacing: 0.1em; text-transform: uppercase; }
.breadcrumb a:hover { color: var(--red-bright); }

/* ==========================================================================
   FORMS (dark, accessible)
   ========================================================================== */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-weight: 700; font-size: 0.9rem; color: var(--white); }
.field .hint { font-size: 0.8rem; color: var(--muted-2); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--white);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-input);
  padding: 0.85em 1em; width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(209,26,47,0.25);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(16px, 3vw, 28px); }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11,12,15,0.94) 0%, rgba(11,12,15,0.6) 55%, rgba(154,15,34,0.55) 100%); }
.cta-band__inner { padding: clamp(40px, 7vw, 84px) clamp(28px, 6vw, 80px); }
.cta-band h2 { max-width: 18ch; }
.cta-band p { margin-top: 1rem; color: #dfe2e8; }
.cta-band .hero__cta { margin-top: 1.8rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 80px) 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.footer-col h4 { font-family: var(--font-stat); letter-spacing: 0.14em; font-size: 0.9rem; color: var(--muted-2); text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--muted); padding: 0.3em 0; font-size: 0.95rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--red-bright); }
.footer-about p { font-size: 0.95rem; margin-top: 1rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: all 0.25s var(--ease); }
.footer-social a:hover { color: #fff; border-color: var(--red); background: rgba(209,26,47,0.14); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: clamp(32px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--line-soft);
  font-size: 0.85rem; color: var(--muted-2); }
.footer-bottom a:hover { color: var(--red-bright); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   ARTICLE (blog single)
   ========================================================================== */
.article { max-width: 760px; margin-inline: auto; }
.article__lead-img { border-radius: var(--r-card); overflow: hidden; margin-block: 2rem; }
.article__lead-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.prose { font-size: 1.1rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.4rem; }
.prose p { color: #cdd1da; max-width: none; }
.prose h2 { font-size: 1.7rem; margin-top: 2.6rem; }
.prose h3 { font-size: 1.3rem; margin-top: 2rem; }
.prose ul.bullets { display: grid; gap: 0.6rem; padding-left: 0; }
.prose ul.bullets li { position: relative; padding-left: 1.6rem; color: #cdd1da; }
.prose ul.bullets li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--red); border-radius: 2px; transform: rotate(45deg); }
.prose blockquote { border-left: 3px solid var(--red); padding: 0.4rem 0 0.4rem 1.4rem; font-size: 1.25rem; font-weight: 600; color: #fff; font-family: var(--font-display); }
.prose a.inline { color: var(--red-bright); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   UTIL GRID COLUMNS
   ========================================================================== */
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* bento for sports overview */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: clamp(14px, 2vw, 22px); }
.bento .sport-card { min-height: 0; height: 100%; }
.bento .span-2 { grid-column: span 2; }
.bento .row-2 { grid-row: span 2; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; } .bento .span-2 { grid-column: span 2; } .bento .row-2 { grid-row: span 1; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento .span-2 { grid-column: span 1; } }

/* small helpers */
.mt-0 { margin-top: 0 !important; }
.muted { color: var(--muted); }
.maxw-prose { max-width: 60ch; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.gap-sm { gap: 0.6rem; }

/* ==========================================================================
   IMAGE SLOTS + THEMING (graceful fallback)
   Each media block renders a cardinal-red / charcoal gradient by default and
   layers an optional photo via the --card-photo custom property:
     style="--card-photo: url('assets/img/football-hero.jpg')"
   Drop a file in /assets/img and it upgrades automatically.
   ========================================================================== */
.grad-a { --card-grad: linear-gradient(155deg, rgba(154,15,34,0.66) 0%, rgba(11,12,15,0.93) 72%); }
.grad-b { --card-grad: linear-gradient(200deg, rgba(120,12,28,0.58) 0%, rgba(11,12,15,0.95) 74%); }
.grad-c { --card-grad: linear-gradient(135deg, rgba(44,48,60,0.55) 0%, rgba(154,15,34,0.40) 55%, rgba(11,12,15,0.95) 100%); }
.grad-d { --card-grad: linear-gradient(170deg, rgba(90,16,30,0.62) 0%, rgba(11,12,15,0.96) 76%); }
.grad-e { --card-grad: linear-gradient(150deg, rgba(154,15,34,0.5) 0%, rgba(30,33,42,0.7) 60%, rgba(11,12,15,0.95) 100%); }

/* Photo classes. URLs live in this stylesheet so they resolve relative to /css/
   (../assets/img/...) consistently in every browser. Reference by class, never
   by an inline url() custom property (that resolves relative to the stylesheet
   and 404s). */
.ph-football   { --card-photo: url("../assets/img/football-hero.jpg"); }
.ph-baseball   { --card-photo: url("../assets/img/baseball.jpg"); }
.ph-softball   { --card-photo: url("../assets/img/softball.jpg"); }
.ph-basketball { --card-photo: url("../assets/img/basketball.jpg"); }
.ph-soccer     { --card-photo: url("../assets/img/soccer.jpg"); }
.ph-huddle     { --card-photo: url("../assets/img/huddle.jpg"); }
.hero--football { --hero-photo: url("../assets/img/football-hero.jpg"); }

/* blog media as background slot */
.media-slot {
  position: relative; overflow: hidden; background-color: var(--surface-2);
  /* real photo (top) -> tinted fallback (only shows if no photo) */
  background-image: var(--card-photo, none), var(--card-grad, linear-gradient(150deg, rgba(154,15,34,0.5), rgba(11,12,15,0.93)));
  background-size: cover; background-position: center;
  transition: transform 0.6s var(--ease);
}
.blog-card:hover .media-slot { transform: scale(1.05); }
.blog-card__media.media-slot { aspect-ratio: 16/10; }

/* split media as background slot */
.split__media.media-slot { aspect-ratio: 4/3; border-radius: var(--r-card); }
.split__media .float-stat { z-index: 2; }

/* article lead image slot */
.article__lead-img.media-slot { aspect-ratio: 16/9; }

/* featured blog post (media + text, responsive) */
.feature-post { display: grid; grid-template-columns: 1.1fr 0.9fr; overflow: hidden; }
.feature-post .media-slot { min-height: 340px; }
@media (max-width: 760px) {
  .feature-post { grid-template-columns: 1fr; }
  .feature-post .media-slot { min-height: 220px; }
}

/* cta band bg slot */
.cta-band__bg { background-color: var(--ink-2); background-image: var(--card-photo, none); background-size: cover; background-position: center; }

/* page-head optional photo wash */
.page-head.has-photo::before {
  background:
    linear-gradient(100deg, rgba(11,12,15,0.92) 0%, rgba(11,12,15,0.6) 60%, rgba(154,15,34,0.4) 100%),
    var(--card-photo, none), radial-gradient(120% 140% at 85% 0%, rgba(154,15,34,0.42) 0%, transparent 55%), var(--ink);
  background-size: cover; background-position: center;
}

/* stadium glow utility for plain sections */
.stadium-glow { position: relative; isolation: isolate; }
.stadium-glow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 80% at 12% 0%, rgba(209,26,47,0.16) 0%, transparent 55%);
}

/* fixed grain overlay (perf-safe: fixed, pointer-events none) */
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* brand logo in nav/footer */
.brand-logo { width: 46px; height: 46px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5)); }
.footer-logo { width: 64px; height: 64px; object-fit: contain; }

/* ==========================================================================
   STANDINGS TABLE (card-styled, not a raw table)
   ========================================================================== */
.standings { display: flex; flex-direction: column; }
.standings-row { display: grid; grid-template-columns: 1fr 46px 46px 62px; gap: 0.5rem; align-items: center;
  padding: 0.85rem 1.3rem; border-top: 1px solid var(--line-soft); }
.standings-row:first-child { border-top: 0; }
.standings-row > span:not(.st-team) { text-align: center; font-family: var(--font-stat); font-size: 1.15rem; letter-spacing: 0.04em; color: var(--white); }
.standings-head { background: var(--surface-2); }
.standings-head span { font-family: var(--font-stat) !important; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2) !important; font-size: 0.82rem !important; }
.standings-head span:first-child { text-align: left; }
.st-team { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; min-width: 0; }
.st-team .em { width: 28px; height: 28px; border-radius: 7px; background: var(--surface-3); display: grid; place-items: center; font-family: var(--font-stat); font-size: 0.85rem; color: #fff; flex: none; }
.standings-row.is-us { background: rgba(209,26,47,0.12); }
.standings-row.is-us .st-team { color: #fff; }
.standings-row.is-us .em { background: var(--red); }
.st-streak { color: var(--muted); }
.standings-row.is-us .st-streak { color: #6fe39a; }
@media (max-width: 480px) { .standings-row { grid-template-columns: 1fr 38px 38px 54px; padding: 0.8rem 1rem; } .st-team { font-size: 0.9rem; } }

/* roster variant of the standings table */
.roster-head, .roster-row { grid-template-columns: 56px 1.5fr 1.4fr 70px !important; }
.roster-row > span { text-align: left !important; font-family: var(--font-body) !important; font-size: 0.96rem !important; letter-spacing: 0 !important; color: var(--white) !important; }
.roster-row .r-no { font-family: var(--font-stat) !important; font-size: 1.3rem !important; color: var(--red-bright) !important; text-align: center !important; }
.roster-row .r-name { font-weight: 700; }
.roster-row .r-pos, .roster-row .r-grade { color: var(--muted) !important; }
@media (max-width: 560px) {
  .roster-head, .roster-row { grid-template-columns: 44px 1.4fr 64px !important; }
  .roster-row .r-pos, .roster-head span:nth-child(3) { display: none; }
}

/* ==========================================================================
   SHARED VIDEO BAND (one scroll-scrubbed video pinned behind two sections)
   ========================================================================== */
.vidband { position: relative; isolation: isolate; }
.vidband__bg {
  position: sticky; top: 0; height: 100vh; z-index: -1;
  margin-bottom: -100vh;            /* removes the sticky layer from flow so sections overlap it */
  overflow: hidden; background: var(--ink);
}
.vidband__bg .scrub-vid { width: 100%; height: 100%; object-fit: cover; display: block; }
.vidband__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,12,15,0.86) 0%, rgba(11,12,15,0.74) 45%, rgba(11,12,15,0.92) 100%),
    radial-gradient(80% 60% at 82% 8%, rgba(154,15,34,0.26) 0%, transparent 55%);
}
.vidband__sec { position: relative; z-index: 0; background: transparent; }

/* centered CTA used inside the video band (replaces the boxed cta-band here) */
.cta-plain { text-align: center; max-width: 760px; margin-inline: auto; padding-block: clamp(8px, 4vw, 36px); }
.cta-plain .kicker { justify-content: center; }
.cta-plain p { margin-inline: auto; }
.cta-plain .hero__cta { justify-content: center; }

/* On mobile / reduced motion the band is a normal stacked pair with a static poster */
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .vidband__bg { position: absolute; inset: 0; height: 100%; margin-bottom: 0; }
}

/* ==========================================================================
   BRAND FEATURE (prominent OV crest moment on interior pages)
   ========================================================================== */
.wrap { position: relative; z-index: 1; }   /* keep content above decorative layers (also used by vidband) */

.brand-feature {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border-block: 1px solid var(--line);
}
.brand-feature::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(58% 80% at 20% 50%, rgba(209,26,47,0.24) 0%, transparent 62%);
}
.brand-feature__grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center;
}
.brand-feature__crest { position: relative; display: grid; place-items: center; padding: clamp(8px, 2vw, 24px); }
.brand-feature__crest::before {
  content: ""; position: absolute; z-index: -1; width: 84%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(209,26,47,0.40) 0%, rgba(209,26,47,0.08) 46%, transparent 70%);
  filter: blur(6px);
}
.brand-feature__crest img {
  width: clamp(190px, 24vw, 350px); height: auto;
  filter: drop-shadow(0 26px 54px rgba(0,0,0,0.55));
  animation: crestFloat 6s ease-in-out infinite;
}
@keyframes crestFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-1.5deg); }
}
@media (prefers-reduced-motion: reduce) { .brand-feature__crest img { animation: none; } }
.brand-feature__copy .kicker { margin-bottom: 0.8rem; }
.brand-feature__copy h2 { margin-bottom: 1rem; }
.brand-feature__copy .hero__cta { margin-top: 1.6rem; }
@media (max-width: 820px) {
  .brand-feature__grid { grid-template-columns: 1fr; text-align: center; }
  .brand-feature__crest { order: -1; }
  .brand-feature__copy .kicker, .brand-feature__copy .hero__cta { justify-content: center; }
  .brand-feature__copy p { margin-inline: auto; }
}

/* Lengthen the video band's scroll distance on desktop so the clip plays slower
   and lasts through both panels (taller pinned panels = more scroll per second). */
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
  .vidband__sec { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; }
}
