:root {
  /* Gritty Holiday Hoops Palette (STRICT NO BLUE) */
  --bg-canvas: #1e1612;
  --bg-surface: #2a1e19;
  --bg-surface-alt: #3d2a23;
  --accent-primary: #f59e0b;
  --accent-hover: #d97706;
  --text-primary: #f5ecdf;
  --text-muted: #b8aba1;
  --text-inverse: #1e1612;
  
  /* Typography */
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: ui-monospace, Consolas, "Courier New", monospace;
  
  /* Layout & FX */
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-lift: 0 20px 40px rgba(0, 0, 0, 0.7);
  --border-radius-zero: 0px;
  --border-radius-pill: 9999px;
  
  /* Structural Variables */
  --section-padding: 5rem 1.5rem;
  --content-max: 1200px;
  --read-max: 70ch;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  lang: en;
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* Typography Elements */
h1, h2, h3, h4, h5, h6 {
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 10vw, 8rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

/* Small headings & labels in monospace */
.mono-label, h4, h5, h6, .stat-value, .tagline {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--border-radius-zero);
}

/* Top Bar */
.top-bar {
  background-color: #0c0907;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-align: center;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Header & Nav */
header {
  position: relative; /* Scrolls up out of view */
  background-color: var(--bg-canvas);
  border-bottom: 1px solid rgba(245, 236, 223, 0.1);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
}

.brand a {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 1.1rem;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
}

nav a:hover {
  color: var(--accent-primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-surface-alt);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--accent-primary);
    box-shadow: var(--shadow-lift);
  }
  
  nav.active {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
}

/* Hero Section (No Image, Giant Typography) */
.hero {
  background: linear-gradient(135deg, var(--bg-canvas) 0%, var(--bg-surface-alt) 100%);
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-padding);
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  margin-bottom: 2rem;
  position: relative;
}

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

.hero .tagline {
  color: var(--accent-primary);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 1rem;
  display: block;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-primary);
  color: var(--text-inverse);
  padding: 1rem 2rem;
  font-family: var(--font-mono);
  font-weight: bold;
  text-transform: uppercase;
  border-radius: var(--border-radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-kinetic), background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--accent-hover);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--text-primary);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--text-primary);
  color: var(--text-inverse);
}

/* Standard Sections */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface);
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 95%);
  padding: 8rem 1.5rem;
  margin: -3rem 0;
  z-index: 1;
}

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

.container-narrow {
  max-width: var(--read-max);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3rem;
}

/* Cards & Panels */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.panel {
  background-color: var(--bg-surface-alt);
  padding: 2rem;
  border-radius: var(--border-radius-zero);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-kinetic), box-shadow 0.4s var(--ease-kinetic);
  display: flex;
  flex-direction: column;
}

.panel:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.panel-header {
  margin-bottom: 1rem;
}

.panel img {
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: 1.5rem;
}

/* Stat Strips */
.stat-strip {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(245, 236, 223, 0.1);
  border-bottom: 1px solid rgba(245, 236, 223, 0.1);
  padding: 1rem 0;
  margin: 1.5rem 0;
  font-family: var(--font-mono);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stat-value {
  color: var(--accent-primary);
  font-size: 1.25rem;
  font-weight: bold;
}

/* Accordions */
.accordion {
  margin-bottom: 1rem;
  background-color: var(--bg-surface);
}

.accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
}

.accordion-btn::after {
  content: '+';
  color: var(--accent-primary);
  font-size: 1.5rem;
}

.accordion-btn[aria-expanded="true"]::after {
  content: '-';
}

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-kinetic), padding 0.3s ease;
  color: var(--text-muted);
}

.accordion-content.open {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 1000px;
}

/* Tabbed Interface */
.tabs-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.tab-btn.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-primary);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background-color: var(--bg-canvas);
  border: 1px solid rgba(245, 236, 223, 0.2);
  color: var(--text-primary);
  font-family: var(--font-body);
  border-radius: var(--border-radius-zero);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 1px var(--accent-primary);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Table */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  text-align: left;
}

th, td {
  padding: 1rem;
  border-bottom: 1px solid rgba(245, 236, 223, 0.1);
}

th {
  color: var(--accent-primary);
  text-transform: uppercase;
}

/* Footer */
footer {
  background-color: #0c0907;
  padding: 4rem 1.5rem;
  margin-top: 4rem;
  border-top: 4px solid var(--bg-surface);
}

.footer-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer-col h4 {
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: var(--content-max);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 236, 223, 0.1);
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-kinetic), transform 0.7s var(--ease-kinetic);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Content specific formatting */
.content-block p {
  margin-bottom: 1.5rem;
}
.content-block ul {
  margin: 1.5rem 0 1.5rem 2rem;
  color: var(--text-muted);
}
.content-block li {
  margin-bottom: 0.5rem;
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
