:root {
  --bg-canvas: #242424;
  --bg-surface: #333333;
  --bg-surface-hover: #3d3d3d;
  --text-primary: #ffffff;
  --text-muted: #d4d4d4;
  --accent-primary: #a3e635;
  --accent-secondary: #84cc16;
  --border-subtle: #474747;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(0, 0, 0, 0.4);
  --glow-accent: 0 0 20px -4px rgba(163, 230, 53, 0.3);
}

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

html, body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  overflow-wrap: anywhere;
  hyphens: auto;
  font-size: 16px;
}

h1, h2, h3, h4, .brand, .nav-link, .btn, .badge, th {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

a:hover, a:focus-visible {
  color: #ffffff;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.prose {
  max-width: 70ch;
  margin: 0 auto;
}

.prose p, .prose ul, .prose ol {
  margin-bottom: 1.35rem;
  color: var(--text-muted);
}

.prose h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
  border-left: 4px solid var(--accent-primary);
  padding-left: 0.75rem;
}

.prose h3 {
  font-size: 1.25rem;
  margin: 1.8rem 0 0.75rem;
  color: var(--accent-primary);
}

.prose ul, .prose ol {
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

/* Header - Static & Left-aligned */
.site-header {
  position: relative;
  background-color: var(--bg-surface);
  border-bottom: 2px solid var(--border-subtle);
  padding: 1.1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-size: 1.35rem;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.16em;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: var(--accent-primary);
  box-shadow: 3px 3px 0 #141414;
}

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

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid transparent;
}

.nav-link:hover, .nav-link[aria-current="page"] {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

.menu-toggle {
  display: none;
  background: var(--bg-canvas);
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

/* Coordinate Grid Background (Hero & Seasonal only) */
.coord-grid {
  background-color: var(--bg-canvas);
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* Hero Section - No Image, Solid Charcoal Field */
.hero {
  padding: 5rem 0 4.5rem;
  border-bottom: 2px solid var(--border-subtle);
}

.hero-tag {
  display: inline-block;
  background-color: var(--accent-primary);
  color: #141414;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  letter-spacing: 0.1em;
  max-width: 18ch;
  margin-bottom: 1.4rem;
  color: var(--text-primary);
}

.hero-lead {
  font-size: 1.18rem;
  max-width: 65ch;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
}

/* Buttons - Solid Lime with 4px 4px hard shadow */
.btn {
  display: inline-block;
  background-color: var(--accent-primary);
  color: #121212;
  text-decoration: none;
  padding: 0.85rem 1.65rem;
  font-size: 0.95rem;
  border: 2px solid #121212;
  border-radius: 0;
  box-shadow: 4px 4px 0 #000000;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover, .btn:focus-visible {
  color: #000000;
  background-color: #bef264;
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0 #000000;
}

.btn-outline {
  background-color: var(--bg-surface);
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

.btn-outline:hover, .btn-outline:focus-visible {
  background-color: var(--accent-primary);
  color: #121212;
}

/* Sections */
.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.section-kicker {
  color: var(--accent-primary);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
}

.section-desc {
  color: var(--text-muted);
  max-width: 68ch;
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }

.tile {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-kinetic), box-shadow 0.3s var(--ease-kinetic), border-color 0.3s ease;
}

.tile:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
  border-color: var(--accent-primary);
}

.tile-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #1c1c1c;
}

.tile-media.ratio-wide {
  aspect-ratio: 16 / 9;
}

.tile-media.ratio-square {
  aspect-ratio: 4 / 3;
}

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

.badge {
  position: absolute;
  bottom: -14px;
  left: 1.25rem;
  background-color: var(--accent-primary);
  color: #141414;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  border: 2px solid var(--bg-surface);
  z-index: 2;
}

.tile-body {
  padding: 1.85rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.8rem;
}

.tile-title {
  font-size: 1.35rem;
  color: var(--text-primary);
}

.tile-text {
  color: var(--text-muted);
  font-size: 0.96rem;
  flex-grow: 1;
}

.tile-meta {
  font-size: 0.82rem;
  color: var(--accent-primary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Access-Note Disclosure Box */
.access-note {
  background-color: #2b2b2b;
  border-left: 4px solid var(--accent-primary);
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.access-note strong {
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Arial Narrow", sans-serif;
}

/* Seasonal Comparison Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
}

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

th, td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background-color: #1f1f1f;
  color: var(--accent-primary);
  font-size: 0.85rem;
}

td {
  color: var(--text-muted);
  font-size: 0.94rem;
}

tr:hover td {
  background-color: var(--bg-surface-hover);
  color: var(--text-primary);
}

/* FAQ & Accordion */
.faq-list {
  display: grid;
  gap: 1rem;
}

details.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1.2rem 1.5rem;
}

details.faq-item[open] {
  border-color: var(--accent-primary);
}

details.faq-item summary {
  cursor: pointer;
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

details.faq-item summary::after {
  content: "+";
  color: var(--accent-primary);
  font-size: 1.4rem;
}

details.faq-item[open] summary::after {
  content: "−";
}

details.faq-item p {
  margin-top: 1rem;
  color: var(--text-muted);
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

/* Forms & Interactive Contact Builder */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

label {
  font-family: "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.88rem;
  color: var(--accent-primary);
}

input, select, textarea {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 0;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent-primary);
  border-color: transparent;
}

.output-panel {
  background-color: #1b1b1b;
  border: 1px solid var(--accent-primary);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.output-pre {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  font-family: monospace;
  font-size: 0.9rem;
  white-space: pre-wrap;
  color: var(--text-muted);
  min-height: 180px;
}

/* Footer */
.site-footer {
  background-color: #1b1b1b;
  border-top: 2px solid var(--border-subtle);
  padding: 3.5rem 0 2.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

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

.footer-title {
  color: var(--accent-primary);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

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

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .span-8, .span-6, .span-4 {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    border-bottom: 2px solid var(--accent-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    gap: 0.75rem;
    z-index: 50;
  }
  .main-nav.nav-open {
    display: flex;
  }
  .span-12, .span-8, .span-6, .span-4 {
    grid-column: span 12;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3.2rem 0;
  }
  .section {
    padding: 3rem 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}}
