:root {
  color-scheme: dark;
  --ink: #f8f4ea;
  --muted: #bdb6a7;
  --bg: #121111;
  --panel: #1e1c1b;
  --line: rgba(248, 244, 234, 0.16);
  --red: #e23d45;
  --teal: #18b7aa;
  --gold: #d8a84f;
  --violet: #7257d6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(18, 17, 17, 0.72);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  aspect-ratio: 1;
  border: 1px solid rgba(248, 244, 234, 0.18);
  border-radius: 8px;
  flex: 0 0 46px;
  height: 46px;
  object-fit: cover;
  width: 46px;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 0.95rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 2px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  min-height: 92vh;
  overflow: hidden;
  position: relative;
}

#heroCanvas,
.hero-shade {
  inset: 0;
  position: absolute;
}

#heroCanvas {
  height: 100%;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 17, 17, 0.92) 0%, rgba(18, 17, 17, 0.58) 44%, rgba(18, 17, 17, 0.18) 100%),
    linear-gradient(0deg, rgba(18, 17, 17, 0.92) 0%, rgba(18, 17, 17, 0) 34%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 82vh;
  padding: 120px clamp(20px, 7vw, 96px) 170px;
  position: relative;
  width: min(860px, 100%);
  z-index: 1;
}

.hero-logo {
  aspect-ratio: 1;
  border: 1px solid rgba(248, 244, 234, 0.2);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(226, 0, 78, 0.34);
  height: clamp(86px, 13vw, 150px);
  margin-bottom: 22px;
  object-fit: cover;
  width: clamp(86px, 13vw, 150px);
}

.eyebrow,
.section-kicker {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.5rem, 11vw, 9.6rem);
  line-height: 0.88;
  margin-bottom: 28px;
  max-width: 10ch;
}

.hero-copy {
  color: #eee6d7;
  font-size: clamp(1.04rem, 2.2vw, 1.38rem);
  line-height: 1.8;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  display: inline-flex;
  font-weight: 800;
  min-height: 48px;
  padding: 0 20px;
}

.button.primary {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.button.secondary {
  background: rgba(248, 244, 234, 0.08);
}

.match-strip {
  align-items: stretch;
  background: rgba(30, 28, 27, 0.9);
  border-top: 1px solid var(--line);
  bottom: 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  left: 0;
  min-height: 110px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.match-strip > * {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px clamp(16px, 4vw, 42px);
}

.match-strip span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.match-strip strong {
  font-size: clamp(1rem, 2vw, 1.45rem);
}

.match-strip a {
  align-items: center;
  background: var(--teal);
  color: #061615;
  font-weight: 900;
  min-width: 180px;
  text-transform: uppercase;
}

.section {
  padding: clamp(58px, 8vw, 100px) clamp(20px, 7vw, 96px);
}

.home-links {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.feature-link {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 22px;
}

.feature-link span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.feature-link strong {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.05;
}

.feature-link:hover {
  border-color: rgba(226, 61, 69, 0.72);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(18, 17, 17, 0.96), rgba(18, 17, 17, 0.72)),
    url("assets/logo.JPG") right 12% center / min(42vw, 440px) no-repeat;
  border-bottom: 1px solid var(--line);
  min-height: 54vh;
  padding: 150px clamp(20px, 7vw, 96px) clamp(58px, 8vw, 100px);
}

.page-hero h1 {
  max-width: 760px;
  overflow-wrap: normal;
  word-break: keep-all;
}

.page-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  line-height: 1.8;
  margin-bottom: 0;
  max-width: 680px;
}

.stats-band {
  background: #f8f4ea;
  color: #171514;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-bottom: 44px;
  padding-top: 44px;
}

.stat {
  border-left: 1px solid rgba(18, 17, 17, 0.18);
  min-width: 0;
  padding: 10px 18px;
}

.stat:first-child {
  border-left: 0;
}

.stat strong {
  display: block;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.stat span {
  color: #5a534d;
  font-weight: 750;
}

.split {
  display: grid;
  gap: 36px;
  grid-template-columns: 0.85fr 1.4fr;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.95;
  margin-bottom: 0;
}

.schedule-list {
  border-top: 1px solid var(--line);
}

.match-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 110px 1fr 74px;
  min-height: 96px;
}

.match-row time,
.match-row span {
  color: var(--muted);
}

.match-row strong,
.match-row span {
  display: block;
}

.match-row span {
  margin-top: 6px;
}

.match-row b {
  color: var(--gold);
  text-align: right;
}

.roster-section {
  background: #181716;
}

.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.roster-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.player-card,
.news-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.player-card {
  min-height: 370px;
}

.player-portrait {
  aspect-ratio: 4 / 4.7;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 38%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    var(--red);
  overflow: hidden;
}

.player-portrait img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.player-card span,
.news-card span {
  color: var(--teal);
  display: block;
  font-size: 0.76rem;
  font-weight: 850;
  margin: 20px 20px 10px;
  text-transform: uppercase;
}

.player-card h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 0 20px 22px;
}

.news-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.news-card {
  min-height: 250px;
  padding-bottom: 22px;
}

.news-card h3 {
  font-size: 1.35rem;
  line-height: 1.22;
  margin: 0 20px 16px;
  overflow-wrap: normal;
  word-break: keep-all;
}

.feature-news h3 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  max-width: 620px;
}

.nowrap {
  white-space: nowrap;
}

.news-card p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 20px 26px;
  max-width: 620px;
}

.news-card time {
  color: var(--gold);
  display: block;
  font-weight: 800;
  margin: 0 20px;
}

.sponsor-section {
  align-items: center;
  background: #f8f4ea;
  color: #171514;
  display: grid;
  gap: 28px;
  grid-template-columns: 0.8fr 1.3fr;
}

.sponsor-section .section-kicker {
  color: #9a2631;
}

.sponsor-empty {
  align-items: center;
  border: 1px solid rgba(18, 17, 17, 0.18);
  border-radius: 8px;
  display: flex;
  min-height: 160px;
  padding: 24px;
}

.sponsor-empty strong {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.personal-sponsors {
  background: var(--bg);
  color: var(--ink);
}

.personal-sponsors .section-kicker {
  color: var(--teal);
}

.personal-sponsors .sponsor-empty {
  border-color: var(--line);
}

.info-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.info-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 260px;
  padding: 28px;
}

.info-panel span {
  color: var(--teal);
  display: block;
  font-size: 0.76rem;
  font-weight: 850;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.info-panel h2 {
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  margin-bottom: 18px;
}

.info-panel p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0;
}

.site-footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 30px clamp(20px, 7vw, 96px);
}

.site-footer strong {
  color: var(--ink);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    overflow-x: auto;
    padding-bottom: 2px;
    width: 100%;
  }

  .hero-content {
    min-height: 78vh;
    padding-top: 150px;
  }

  .match-strip,
  .split,
  .sponsor-section {
    grid-template-columns: 1fr;
  }

  .match-strip {
    position: relative;
  }

  .match-strip > * {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .match-strip a {
    min-height: 68px;
  }

  .stats-band,
  .home-links,
  .roster-grid,
  .news-grid,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5.4rem);
  }

  .stats-band,
  .home-links,
  .roster-grid,
  .news-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .match-row {
    align-items: start;
    grid-template-columns: 1fr;
    padding: 20px 0;
  }

  .match-row b {
    text-align: left;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
