:root {
  --bg-canvas: #160f2e;
  --bg-surface: #221845;
  --bg-surface-hover: #2b1f57;
  --text-primary: #f4fec1;
  --text-muted: #b7c7a3;
  --accent-primary: #e0409b;
  --accent-secondary: #84cc16;
  
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 12px 32px -4px rgba(0, 0, 0, 0.5);
  --radius-panel: 20px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

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

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

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

.bg-dot-matrix {
  background-image: radial-gradient(rgba(132, 204, 22, 0.15) 2px, transparent 2px);
  background-size: 30px 30px;
}

/* Header & Navigation */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: var(--bg-canvas);
  position: relative;
  z-index: 100;
}

.brand-logo {
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-primary);
  margin-right: auto;
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-link:hover {
  color: var(--accent-secondary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--accent-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-surface);
    flex-direction: column;
    padding: 2rem 5%;
    box-shadow: var(--shadow-soft);
  }
  .main-nav.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* Hero Section */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 5%;
  min-height: 80vh;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-image-wrapper img {
  height: 600px;
  width: 100%;
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-soft);
}

/* Typography & Layouts */
.reading-column {
  width: 90%;
  max-width: 68ch;
  margin: 4rem auto;
  font-size: 1.125rem;
}

.reading-column h2 {
  font-size: 2rem;
  margin-top: 3rem;
  color: var(--accent-secondary);
}

.reading-column p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.pull-quote {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 3rem 0;
  padding-left: 1.5rem;
  border-left: 6px solid var(--accent-primary);
  line-height: 1.3;
}

.breakout {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.breakout img {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 500px;
  border-radius: 0;
}

@media (min-width: 1240px) {
  .breakout img {
    border-radius: var(--radius-panel);
  }
}

/* Cards Grid */
.section-wrapper {
  padding: 5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-panel);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  background-color: var(--bg-surface-hover);
  box-shadow: 0 20px 40px -4px rgba(0, 0, 0, 0.7);
}

.card h3 {
  color: var(--accent-secondary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-primary);
  color: var(--text-primary) !important;
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-panel);
  border: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--accent-secondary);
  transition: all 0.2s var(--ease);
  font-size: 1.125rem;
}

.btn:hover {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0 var(--accent-secondary);
}

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

.form-group label {
  display: block;
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  color: var(--accent-secondary);
}

.form-control {
  width: 100%;
  padding: 1rem;
  background-color: var(--bg-canvas);
  border: 2px solid var(--bg-surface-hover);
  border-radius: var(--radius-panel);
  color: var(--text-primary);
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
}

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

/* Footer */
.site-footer {
  background-color: var(--bg-surface);
  padding: 4rem 5% 2rem;
  margin-top: 5rem;
  border-top: 4px solid var(--accent-primary);
}

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

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

.footer-links {
  list-style: none;
}

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

.footer-disclaimer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--bg-surface-hover);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 1rem;
  border-bottom: 1px solid var(--bg-surface-hover);
}

th {
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  color: var(--accent-secondary);
}

/* Animations */
.reveal-visible {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

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