/* BASE & VARIABLES */
:root {
  --bg-canvas: #1c1f24;
  --bg-surface: #282d33;
  --bg-surface-hover: #353b43;
  --text-primary: #e5e7eb;
  --text-muted: #9ca3af;
  --accent-primary: #10b981;
  --accent-secondary: #059669;
  --border-subtle: #374151;
  
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 8px 24px -4px rgba(0, 0, 0, 0.3);
  --shadow-lift: 0 16px 40px -4px rgba(0, 0, 0, 0.4);
  --glass-backdrop: blur(12px) saturate(160%);
  
  /* Layout */
  --max-width-reading: 72ch;
  --max-width-page: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0; /* Strict 0px radius enforcement */
}

/* Base Document */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

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

p {
  margin-bottom: 1.5rem;
}

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

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

strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width-page);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.full-bleed-img {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-block: 4rem;
}

.full-bleed-img img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
}

/* Header & Navigation */
header {
  position: relative;
  width: 100%;
  padding: 1.5rem;
  z-index: 100;
}

.header-capsule {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-surface);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-soft);
  max-width: var(--max-width-page);
  margin: 0 auto;
}

.brand {
  font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-primary);
}

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

/* Hero Section */
.hero {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}

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

.hero-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

/* Buttons (Pill - Only exception to 0px rule) */
.btn {
  display: inline-block;
  background-color: var(--accent-primary);
  color: var(--bg-canvas);
  font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 50px !important; /* Enforced pill */
  transition: all 0.3s var(--ease-kinetic);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  color: var(--bg-canvas);
}

/* Background Gradients */
.bg-emerald-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120vw;
  height: 120vh;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(28, 31, 36, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Components */
.section-pad {
  padding: 5rem 0;
}

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

/* Cards */
.editorial-card {
  background-color: var(--bg-surface);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--ease-kinetic);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.editorial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
  background-color: var(--bg-surface-hover);
}

.editorial-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.editorial-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  flex-grow: 1;
}

/* Pull Quotes */
.pull-quote {
  font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-left: 4px solid var(--accent-primary);
  padding-left: 1.5rem;
  margin: 3rem 0;
}

/* Tables */
.track-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(--border-subtle);
}

th {
  font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* FAQ Expandable */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.125rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-kinetic), margin-top 0.4s var(--ease-kinetic);
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  margin-top: 1rem;
}

/* Forms & Tools */
.contact-tool {
  background-color: var(--bg-surface);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  margin-top: 2rem;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.input-group input, .input-group textarea {
  width: 100%;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.tool-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Reveal Animations */
.reveal-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-kinetic), transform 0.8s var(--ease-kinetic);
}

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

/* Footer */
footer {
  background-color: var(--bg-canvas);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

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

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

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

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

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

.footer-legal {
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.footer-legal p {
  margin-bottom: 0.5rem;
}

/* Mobile Navigation Dropdown */
.mobile-nav-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-lift);
  padding: 1.5rem;
  z-index: 99;
}

.mobile-nav-overlay.active {
  display: block;
  animation: slideDown 0.3s var(--ease-kinetic);
}

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

.mobile-nav-overlay a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.mobile-nav-overlay a:last-child {
  border-bottom: none;
}

/* Media Queries */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pull-quote {
    font-size: 1.25rem;
  }
}

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