:root {
  --bg: #0a0a0a;
  --bg-alt: #131313;
  --surface: #1a1a1a;
  --surface-border: #2a2a2a;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --red-400: #ff6b6b;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --yellow-400: #fbbf24;
  --yellow-500: #f59e0b;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-heading: "Oswald", "Inter", ui-sans-serif, system-ui, sans-serif;
  --max-width: 72rem;
  --nav-height: 4rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--surface-border);
}

.site-nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.site-nav__logo {
  height: 1.5rem;
  width: auto;
}

.site-nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 60;
}

.site-nav__toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.site-nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav__menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__menu a {
  font-family: var(--font-heading);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-nav__menu a[aria-current="page"],
.site-nav__menu a:hover {
  color: var(--text);
}

@media (max-width: 767px) {
  .site-nav__menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }

  .site-nav__menu.is-open {
    transform: translateX(0);
  }

  .site-nav__menu ul {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.25rem;
  }

  .site-nav__menu li {
    border-bottom: 1px solid var(--surface-border);
  }

  .site-nav__menu a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
  }
}

@media (min-width: 768px) {
  .site-nav__toggle {
    display: none;
  }

  .site-nav__menu ul {
    display: flex;
    gap: 2rem;
  }
}

/* Hero */
.hero {
  padding: 5rem 1.25rem 3.5rem;
  min-height: min(70vh, 640px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

@media (max-width: 767px) {
  .hero {
    background-position: right 30%;
  }
}

.hero__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: left;
}

.hero__words {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 10vw, 5.5rem);
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 4px 32px rgba(0, 0, 0, 0.75);
}

.hero__word {
  display: block;
}

.hero__word {
  color: var(--yellow-400);
}

.hero__subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 34rem;
  margin: 0 0 2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 2px 20px rgba(0, 0, 0, 0.8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--red-600);
  color: #fff;
}

.btn--primary:hover {
  background: var(--red-500);
}

.btn--ghost {
  background: transparent;
  border-color: var(--surface-border);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--yellow-500);
}

/* Sections */
.section {
  padding: 3rem 1.25rem;
}

.section--alt {
  background: var(--bg-alt);
}

.section--page {
  padding-top: 3.5rem;
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__inner--narrow {
  max-width: 42rem;
}

.section__heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.section__heading-row h2 {
  margin: 0;
}

.section__footnote {
  margin-top: 2rem;
}

.section__subheading {
  margin-top: 3rem;
}

.lede {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 40rem;
}

.link {
  color: var(--yellow-400);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.link:hover {
  text-decoration: underline;
}

.prose p {
  color: var(--text-muted);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
  text-align: left;
  width: 100%;
  font: inherit;
  cursor: pointer;
  position: relative;
}

.card:hover {
  border-color: var(--red-500);
  transform: translateY(-2px);
}

.card__meta {
  color: var(--yellow-500);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.card__title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.card__excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.card--video {
  padding: 0;
  overflow: hidden;
}

.card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card--video .card__title,
.card--video .card__excerpt {
  padding: 0 1.25rem;
}

.card--video .card__title {
  margin-top: 1rem;
}

.card--video .card__excerpt {
  padding-bottom: 1.25rem;
}

.card__play {
  position: absolute;
  top: calc(50% - 1.75rem);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  pointer-events: none;
}

/* Rules */
.rule-list__source {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
  margin-top: -0.5rem;
}

.rule-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.rule-list__item {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-left: 3px solid var(--red-500);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
}

.rule-list__item h2 {
  font-size: 1.15rem;
  color: var(--yellow-400);
}

.rule-list__item p {
  color: var(--text-muted);
  margin: 0;
}

/* T800 page */
.t800-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 320px;
  max-height: 520px;
  overflow: hidden;
  background: var(--bg);
}

.t800-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t800-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 2rem 1.25rem;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.1) 40%, rgba(10, 10, 10, 0.85) 100%);
}

.t800-hero__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.t800-feature {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  border: 1px solid var(--surface-border);
  margin: 1.5rem 0;
}

.t800-hero__eyebrow {
  color: var(--yellow-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.t800-hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(2.25rem, 8vw, 4rem);
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 4px 32px rgba(0, 0, 0, 0.75);
}

.t800-hero__tagline {
  color: var(--text-muted);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 34rem;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 2px 20px rgba(0, 0, 0, 0.8);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .spec-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.spec-grid__item {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-top: 3px solid var(--red-500);
  border-radius: 0.5rem;
  padding: 1.25rem 1rem;
  text-align: center;
}

.spec-grid__value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--yellow-400);
  margin: 0 0 0.25rem;
}

.spec-grid__label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .highlight-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.highlight-grid__item {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 0.5rem;
  overflow: hidden;
}

.highlight-grid__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.highlight-grid__item figcaption {
  padding: 1rem 1.25rem 1.25rem;
}

.highlight-grid__caption {
  color: var(--yellow-400);
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.highlight-grid__detail {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.teams-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-top: 2rem;
}

/* Media coverage */
.media-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.media-list__item {
  display: block;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.media-list__item:hover {
  border-color: var(--red-500);
  transform: translateY(-2px);
}

.media-list__outlet {
  color: var(--yellow-500);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.4rem;
}

.media-list__title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.media-list__summary {
  color: var(--text-muted);
  margin: 0;
}

/* Schedule */
.schedule-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.schedule-list__item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}

.schedule-list__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 2.5rem;
  bottom: 0;
  width: 2px;
  background: var(--surface-border);
}

.schedule-list__index {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--red-500);
  color: var(--yellow-400);
  font-family: var(--font-heading);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.schedule-list__timeframe {
  color: var(--yellow-500);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.35rem;
}

.schedule-list__content h2 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.schedule-list__content p {
  color: var(--text-muted);
  margin: 0;
}

/* Post */
.post {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4rem;
}

.post__meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.post__meta a {
  color: var(--yellow-400);
  text-decoration: none;
}

.post__title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}

.post__tags {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0.5rem 0 0;
}

.post__tags li {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.post__body {
  margin-top: 2rem;
  color: #e5e5e5;
}

.post__body p {
  margin-bottom: 1.25em;
}

.post__body a {
  color: var(--yellow-400);
}

.post__back {
  margin-top: 2.5rem;
}

.post__back a {
  color: var(--text-muted);
  text-decoration: none;
}

.post__back a:hover {
  color: var(--text);
}

/* Video player overlay */
.video-player {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.video-player[hidden] {
  display: none;
}

.video-player__frame {
  width: 100%;
  max-width: 56rem;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-player__frame,
.video-player__frame iframe,
#video-player-target {
  width: 100%;
  height: 100%;
}

.video-player__adnotice {
  color: var(--yellow-400);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.video-player__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

body.nav-open,
body.video-player-open {
  overflow: hidden;
}

/* Highlights marquee */
.marquee-section {
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.marquee {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.marquee__row {
  overflow: hidden;
  width: 100%;
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  will-change: transform;
}

.marquee__row--left .marquee__track {
  animation: marquee-left 42s linear infinite;
}

.marquee__row--right .marquee__track {
  animation: marquee-right 55s linear infinite;
}

.marquee__row:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  flex: 0 0 auto;
  width: clamp(11rem, 22vw, 16rem);
  aspect-ratio: 4 / 3;
  border-radius: 0.5rem;
  overflow: hidden;
}

.marquee__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* Photo gallery */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-grid__item {
  aspect-ratio: 4 / 3;
  border-radius: 0.5rem;
  overflow: hidden;
}

.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--surface-border);
  padding-top: 0;
}

.site-footer__banner {
  height: clamp(10rem, 28vw, 18rem);
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
}

.site-footer__inner {
  padding: 2.5rem 1.25rem;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer__brand {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 1rem;
}

.site-footer__social {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0;
  margin: 0 0 1rem;
}

.site-footer__social a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.site-footer__social a:hover {
  color: var(--yellow-400);
}

.site-footer__disclaimer {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer__copy {
  margin: 0;
}
