:root {
  --bg-canvas: #29251f;
  --bg-surface: #38342b;
  --bg-surface-hover: #443f34;
  --text-primary: #ffffff;
  --text-muted: #d6d3cb;
  --accent-primary: #a3e635;
  --accent-secondary: #84cc16;
  --border-subtle: rgba(163, 230, 53, 0.25);
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(0, 0, 0, 0.35);
  --glow-accent: 0 0 24px -4px rgba(163, 230, 53, 0.3);
  --glass-backdrop: blur(16px) saturate(180%);
}

*, *::before, *::after {
  box-sizing: border-box;
  border-radius: 0px !important;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  line-height: 1.25;
  margin-top: 0;
  color: var(--text-primary);
}

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

a:hover, a:focus-visible {
  color: var(--text-primary);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  background-color: #221f1a;
}

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

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

/* Header & Navigation */
.site-header {
  position: relative;
  background-color: var(--bg-canvas);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 0 0 0;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand-link:hover {
  color: var(--accent-primary);
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  background-color: var(--accent-primary);
  display: inline-block;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  background-color: var(--bg-canvas);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}

.nav-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 0;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.25rem;
  flex-wrap: wrap;
}

.nav-list a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

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

/* Headline Band / Short Hero */
.headline-band {
  background-color: var(--bg-surface);
  padding: 2.25rem 0;
  border-bottom: 2px solid var(--accent-primary);
}

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

.headline-band h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin: 0 0 0.35rem 0;
}

.headline-band p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

/* Diagonal Section Architecture */
.section-diagonal {
  position: relative;
  padding: 4.5rem 0;
  background-color: var(--bg-canvas);
}

.section-diagonal-alt {
  position: relative;
  padding: 5.5rem 0;
  background-color: #312d25;
  clip-path: polygon(0 2.5rem, 100% 0, 100% calc(100% - 2.5rem), 0 100%);
  margin: -1.5rem 0;
  z-index: 1;
}

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

.section-kicker {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-primary);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.section-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--accent-primary);
  border: 1.5px solid var(--accent-primary);
  padding: 0.75rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease-kinetic), background-color 0.25s var(--ease-kinetic), color 0.25s var(--ease-kinetic), box-shadow 0.25s var(--ease-kinetic);
}

.btn-outline:hover, .btn-outline:focus-visible {
  background-color: var(--accent-primary);
  color: var(--bg-canvas);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--glow-accent);
}

/* Panels & Cards (Borderless, soft shadows, hover lift, 0px radius) */
.panel, .card {
  background-color: var(--bg-surface);
  border: none;
  box-shadow: var(--shadow-elevation);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease-kinetic), box-shadow 0.3s var(--ease-kinetic), background-color 0.3s var(--ease-kinetic);
}

.card:hover {
  transform: translateY(-5px) scale(1.01);
  background-color: var(--bg-surface-hover);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Fact Strips */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  background-color: #221f1a;
  padding: 1.25rem;
  margin: 1.75rem 0;
  box-shadow: var(--shadow-elevation);
}

.fact-item {
  padding: 0.5rem 0.75rem;
  border-left: 3px solid var(--accent-primary);
}

.fact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.fact-value {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-top: 0.15rem;
  display: block;
}

/* Zone-Selection Tabs */
.tabs-wrapper {
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-elevation);
  padding: 1.75rem;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 1rem;
}

.tab-btn {
  background-color: #29251f;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.6rem 1.1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s var(--ease-kinetic);
}

.tab-btn[aria-selected="true"], .tab-btn:hover {
  background-color: var(--accent-primary);
  color: var(--bg-canvas);
  border-color: var(--accent-primary);
  font-weight: 600;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

/* Labelled Garden Diagram */
.diagram-box {
  background-color: #221f1a;
  padding: 1.25rem;
  position: relative;
}

.diagram-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--accent-primary);
  margin-right: 0.4rem;
}

/* Accordions */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.accordion-item {
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-elevation);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 1.15rem 1.5rem;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-trigger:hover {
  color: var(--accent-primary);
}

.accordion-icon {
  color: var(--accent-primary);
  font-family: monospace;
  font-size: 1.25rem;
}

.accordion-content {
  display: none;
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.accordion-item.open .accordion-content {
  display: block;
  padding-top: 1rem;
}

/* Aspect Ratio Containers */
.media-16x9 {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  margin-bottom: 1rem;
}

.media-4x3 {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  margin-bottom: 1rem;
}

.media-1x1 {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  margin-bottom: 1rem;
}

.media-16x9 img, .media-4x3 img, .media-1x1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-elevation);
}

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

th, td {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
  background-color: #221f1a;
  color: var(--accent-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #221f1a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
}

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

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

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

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

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

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .grid-2col, .tab-panel.active {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: inline-block;
  }
  .nav-row {
    display: none;
    background-color: var(--bg-surface);
    padding: 1rem;
  }
  .nav-row.open {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .section-diagonal-alt {
    clip-path: none;
    margin: 0;
    padding: 3.5rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .panel, .card, .tabs-wrapper {
    padding: 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}}
