:root {
  --bg-canvas: #eef7f2;
  --bg-surface: #ffffff;
  --bg-surface-hover: #e2f1e8;
  --text-primary: #1f2937;
  --text-muted: #4b5563;
  --accent-primary: #14532d;
  --accent-secondary: #166534;
  --accent-shadow: #0a2e18;
  --border-subtle: #c5ddd0;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(20, 83, 45, 0.12);
  --glow-accent: 0 0 0 3px rgba(20, 83, 45, 0.22);
  --radius-panel: 20px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-canvas);
}

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

h1, h2, h3, h4, .heading-track {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  line-height: 1.18;
  color: var(--accent-primary);
  margin-top: 0;
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: 0.08em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin-bottom: 0.85rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p { margin: 0 0 1.1rem; max-width: 70ch; }
ul, ol { margin: 0 0 1.25rem; padding-left: 1.25rem; max-width: 70ch; }
li { margin-bottom: 0.45rem; }

a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease-kinetic);
}
a:hover { color: var(--accent-secondary); }
:focus-visible { outline: 3px solid var(--accent-primary); outline-offset: 3px; }

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

.prose-cap { max-width: 70ch; }

/* Header */
.site-header {
  position: relative;
  background-color: transparent;
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.25s var(--ease-kinetic);
  z-index: 20;
}
.site-header.is-solid,
.site-header:hover {
  background-color: var(--bg-surface);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--accent-primary);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--accent-primary);
  color: #ffffff;
  border-radius: 6px;
  flex-shrink: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.desktop-nav a {
  text-decoration: none;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}

.mobile-menu-btn {
  display: none;
  background-color: var(--bg-surface);
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-nav-drawer {
  display: none;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 2px solid var(--accent-primary);
  padding: 0.75rem 1.25rem 1.25rem;
}
.mobile-nav-drawer.is-open { display: block; }
.mobile-nav-drawer a {
  display: block;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-primary);
}
.mobile-nav-drawer a:last-child { border-bottom: none; }

/* Shallow Mint Hero */
.hero-band {
  position: relative;
  background-color: var(--bg-canvas);
  padding: 2.25rem 0 2rem;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}
.hero-headline-wrap { max-width: 780px; }
.hero-band h1 { margin-bottom: 0; }
.hero-subline {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 58ch;
}

/* Geometric Hero Accents (Flat Solid Shapes, No Gradients) */
.hero-geo {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  background-color: var(--accent-primary);
  opacity: 0.12;
}
.hero-geo--sq {
  width: 26px;
  height: 26px;
  top: 18px;
  right: 12%;
  animation: driftA 11s ease-in-out infinite;
}
.hero-geo--dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  bottom: 20px;
  right: 26%;
  animation: driftB 9s ease-in-out infinite;
}
.hero-geo--bar {
  width: 44px;
  height: 8px;
  top: 52%;
  right: 5%;
  animation: driftA 13s ease-in-out infinite reverse;
}

@keyframes driftA {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-8px, 10px) rotate(12deg); }
}
@keyframes driftB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -8px); }
}

/* Solid Green Buttons with 4px Hard Shadow */
.btn-solid {
  display: inline-block;
  background-color: var(--accent-primary);
  color: #ffffff;
  border: 2px solid var(--accent-primary);
  padding: 0.72rem 1.35rem;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--accent-shadow);
  transition: transform 0.18s var(--ease-kinetic), box-shadow 0.18s var(--ease-kinetic), background-color 0.18s;
}
.btn-solid:hover {
  color: #ffffff;
  background-color: var(--accent-secondary);
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--accent-shadow);
}

.btn-outline {
  display: inline-block;
  background-color: var(--bg-surface);
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
  padding: 0.68rem 1.2rem;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--accent-primary);
  transition: transform 0.18s var(--ease-kinetic), box-shadow 0.18s var(--ease-kinetic);
}
.btn-outline:hover {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--accent-primary);
}

/* Numbered Section Track with Connected Left-Hand Rule */
.fieldnote-stream {
  background-color: var(--bg-surface);
  padding: 2.5rem 0 3.5rem;
}
.section-band-mint { background-color: var(--bg-canvas); }
.section-band-white { background-color: var(--bg-surface); }

.numbered-section {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 1.5rem;
  padding: 2.25rem 0;
}
.numbered-section:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 72px;
  bottom: -24px;
  width: 2px;
  background-color: var(--accent-primary);
  opacity: 0.45;
}
.section-marker {
  width: 50px;
  height: 50px;
  background-color: var(--bg-canvas);
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.section-body { min-width: 0; }
.section-lead {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 68ch;
}

/* Icon-Led List Rows (No Content Cards) */
.icon-row-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 100%;
  border-top: 1px solid var(--border-subtle);
}
.icon-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: start;
  gap: 1rem 1.25rem;
  padding: 1.15rem 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.2s var(--ease-kinetic);
}
.icon-row:hover { background-color: var(--bg-canvas); }
.row-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-canvas);
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  flex-shrink: 0;
}
.row-content h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.row-content p { margin: 0; color: var(--text-muted); font-size: 0.96rem; }
.row-action { align-self: center; white-space: nowrap; }

/* Asymmetric Split Layout for Editorial + Image */
.split-field {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 2rem;
  align-items: start;
  margin: 1.5rem 0;
}

.field-photo {
  margin: 0;
}
.field-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-panel);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}
.field-photo--16x9 img { aspect-ratio: 16 / 9; }
.field-photo--4x3 img { aspect-ratio: 4 / 3; }
.field-photo--1x1 img { aspect-ratio: 1 / 1; }
.field-photo figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Comparison Table Wrapper */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-panel);
  background-color: var(--bg-surface);
  margin: 1.25rem 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  text-align: left;
}
th, td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}
th {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
  background-color: var(--bg-canvas);
  color: var(--accent-primary);
}
tr:last-child td { border-bottom: none; }

/* Vertical Itinerary */
.itinerary-track {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 2px solid var(--accent-primary);
  max-width: 72ch;
}
.itinerary-stop {
  position: relative;
  padding: 0 0 1.35rem 1rem;
}
.itinerary-stop:last-child { padding-bottom: 0.25rem; }
.itinerary-stop::before {
  content: "";
  position: absolute;
  left: -1.9rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  background-color: var(--accent-primary);
  border: 2px solid var(--bg-surface);
}
.itinerary-time {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--accent-primary);
  margin-bottom: 0.2rem;
}

/* Expandable Looking Prompts & FAQs */
.prompt-list {
  border-top: 1px solid var(--border-subtle);
  margin: 1rem 0;
}
.prompt-item {
  border-bottom: 1px solid var(--border-subtle);
}
.prompt-item summary {
  cursor: pointer;
  padding: 1rem 0.25rem;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.prompt-item summary::-webkit-details-marker { display: none; }
.prompt-item summary::after {
  content: "+";
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-primary);
  flex-shrink: 0;
}
.prompt-item[open] summary::after { content: "−"; }
.prompt-body {
  padding: 0 0.25rem 1.1rem;
  color: var(--text-muted);
  max-width: 68ch;
}

/* Utility Panels (20px corners) */
.utility-panel {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-panel);
  padding: 1.5rem;
  margin: 1.25rem 0;
}
.utility-panel--white { background-color: var(--bg-surface); }

.checklist-items {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.checklist-items li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.checklist-items li:last-child { border-bottom: none; }
.checklist-items label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.checklist-items input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--accent-primary);
  flex-shrink: 0;
}

/* Notebook Tool on Contact Page */
.notebook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}
.field-group { margin-bottom: 1rem; }
.field-group label {
  display: block;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--accent-primary);
  margin-bottom: 0.35rem;
}
.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--accent-primary);
  border-radius: 10px;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  font: inherit;
}
.notebook-preview {
  white-space: pre-wrap;
  background-color: var(--bg-surface);
  border: 1px dashed var(--accent-primary);
  border-radius: 12px;
  padding: 1rem;
  min-height: 180px;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.status-note { font-size: 0.88rem; color: var(--accent-primary); font-weight: 600; min-height: 1.3em; }

/* Subpage Content Layout */
.page-main {
  background-color: var(--bg-surface);
  padding: 2.5rem 0 3.5rem;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.5rem;
  align-items: start;
}
.aside-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s var(--ease-kinetic), transform 0.65s var(--ease-kinetic);
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-geo { animation: none; }
}

/* Footer */
.site-footer {
  background-color: var(--bg-canvas);
  border-top: 2px solid var(--accent-primary);
  padding: 2.5rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2rem;
}
.footer-col h2 {
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  color: var(--accent-primary);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0.4rem; }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  color: var(--text-muted);
}

/* Print Rules for Checklist */
@media print {
  .site-header, .site-footer, .btn-solid, .btn-outline, .mobile-nav-drawer, .hero-geo { display: none !important; }
  body, .fieldnote-stream, .page-main { background: #ffffff !important; color: #000000 !important; }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .split-field { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .numbered-section { grid-template-columns: 1fr; gap: 0.85rem; }
  .numbered-section:not(:last-child)::before { display: none; }
  .icon-row { grid-template-columns: 40px 1fr; }
  .row-action { grid-column: 2; justify-self: start; margin-top: 0.35rem; }
  .notebook-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-band { padding: 1.65rem 0 1.45rem; }
  .utility-panel { padding: 1.1rem; }
}