/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:   #2D4A3E;
  --green-mid:    #3d6354;
  --green-light:  #c8d8c4;
  --green-pale:   #EAF3DE;
  --stone:        #F5F0E8;
  --stone-mid:    #e8e2d8;
  --stone-dark:   #d4cec6;
  --amber:        #C4832A;
  --amber-pale:   #FAEEDA;
  --teal-pale:    #E1F5EE;
  --teal-dark:    #085041;
  --ink:          #1C1C1A;
  --ink-mid:      #3a4a3a;
  --ink-light:    #5a6b5a;
  --ink-faint:    #7a8f7a;
  --white:        #ffffff;
  --font-serif:   Georgia, 'Times New Roman', serif;
  --font-sans:    -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:       8px;
  --radius-lg:    12px;
  --nav-h:        60px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--stone);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Nav ──────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-dark);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--stone);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: var(--green-light);
  transition: color 0.15s;
  padding-bottom: 2px;
}

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

.nav-links a.active {
  border-bottom: 1.5px solid var(--amber);
}

/* ── Page wrapper ─────────────────────────────────────────── */
.page { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 13px;
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.1s;
}
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.98); }

.btn-primary   { background: var(--green-dark); color: var(--stone); }
.btn-secondary { background: transparent; color: var(--green-dark); border: 1px solid var(--green-dark); }
.btn-amber     { background: var(--amber); color: var(--white); }
.btn-sm        { padding: 8px 16px; font-size: 12.5px; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--green-dark);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
}

footer p {
  color: var(--ink-faint);
  font-size: 12px;
}

/* ── Tag pills ────────────────────────────────────────────── */
.tag {
  display: inline-block;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}
.tag-genus    { background: var(--green-pale);  color: #27500A; }
.tag-location { background: var(--teal-pale);   color: var(--teal-dark); }
.tag-trip     { background: var(--amber-pale);  color: #633806; }

/* ── Card illustrations (line art) ────────────────────────── */
.section-card-illustration {
  width: 84px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--green-pale);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 7px;
}

.section-card-illustration--warm {
  background: var(--amber-pale);
  color: #4a3820;
}

.section-card-illustration svg {
  width: 100%;
  height: 100%;
  display: block;
}

.section-card-illustration--wide {
  width: 96px;
}

.section-card-illustration svg .stroke-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-card-illustration svg .fill-accent {
  fill: currentColor;
}

.section-card-illustration--warm svg .cutout {
  stroke: var(--amber-pale);
}

.section-card-illustration svg .cutout {
  stroke: var(--green-pale);
  fill: none;
}

/* ── Home hero ────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(320px, 540px) 1fr;
  gap: 48px;
  align-items: center;
  background: var(--stone);
  padding: 64px 40px;
  text-align: left;
}

.hero-content {
  align-self: center;
}

.hero-eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-sub {
  font-size: 16px;
  color: var(--ink-light);
  max-width: 100%;
  line-height: 1.7;
}

.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: center;
}

.section-card {
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--stone-dark);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 2px rgba(28, 28, 26, 0.05),
    0 4px 16px rgba(45, 74, 62, 0.07);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.section-card:hover {
  border-color: var(--green-mid);
  box-shadow:
    0 2px 4px rgba(28, 28, 26, 0.06),
    0 8px 24px rgba(45, 74, 62, 0.12);
  transform: translateY(-1px);
}

.section-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.section-card h2 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.section-card p {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.65;
  margin-bottom: 16px;
}

.section-card p a {
  color: var(--green-dark);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-card p a:hover {
  opacity: 0.8;
}

main { padding-bottom: 48px; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 40px;
  }
}

@media (max-width: 700px) {
  .hero h1 { font-size: 36px; }
}

/* ── Utility ──────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (max-width: 700px) {
  nav { padding: 0 20px; }
  .page { padding: 0 20px; }
  .nav-links { gap: 18px; }
}
