/* =========================================================
   Tennessee Travel Guide — design system
   Palette: white + warm neutrals, deep forest accent, clay accent
   No external fonts or CDNs (system font stacks only)
   ========================================================= */

:root {
  --paper: #ffffff;
  --sand: #f8f5f0;
  --linen: #efeae2;
  --stone: #ded7cb;
  --line: #e6e0d6;
  --ink: #1a1d1b;
  --ink-soft: #3a403b;
  --muted: #6b716a;
  --forest: #2b4539;
  --forest-deep: #1c2c25;
  --forest-tint: #e8eee9;
  --clay: #a4562f;
  --clay-tint: #f6ece5;
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(26, 29, 27, 0.05);
  --shadow: 0 22px 48px -32px rgba(26, 29, 27, 0.5);
  --maxw: 1200px;
  --header-h: 74px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(43, 69, 57, 0.35); }
a:hover { color: var(--clay); text-decoration-color: rgba(164, 86, 47, 0.5); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.35rem); }
h3 { font-size: clamp(1.18rem, 1.9vw, 1.42rem); letter-spacing: -0.005em; }
h4 { font-size: 1.05rem; font-family: var(--font); font-weight: 700; letter-spacing: 0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 650; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.45em; }
li:last-child { margin-bottom: 0; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

section { scroll-margin-top: calc(var(--header-h) + 18px); }

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--forest);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.section { padding-block: clamp(52px, 7vw, 88px); }
.section--tight { padding-block: clamp(38px, 4.5vw, 60px); }
.section--sand { background: var(--sand); }
.section--linen { background: var(--linen); }
.section--forest { background: var(--forest-deep); color: #eceee9; }
.section--forest h2, .section--forest h3 { color: #fff; }
.section--forest p { color: #cfd6cf; }
.section--forest a { color: #f0e6d8; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section--forest .eyebrow { color: #d9b18f; }

.lede {
  font-size: clamp(1.03rem, 1.35vw, 1.16rem);
  color: var(--ink-soft);
  max-width: 68ch;
}
.section--forest .lede { color: #cfd6cf; }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 3.5vw, 46px); }
.section-head p { margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.stack > * + * { margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-deep); color: #fff; }
.btn-ghost { border-color: rgba(26, 29, 27, 0.2); color: var(--ink); background: rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--forest-deep); }
.btn-light:hover { background: var(--sand); color: var(--forest-deep); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  color: var(--forest);
  letter-spacing: 0.01em;
}
.link-arrow::after { content: "→"; transition: transform 0.18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -20px rgba(26, 29, 27, 0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--forest);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 1.16rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-text em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.primary-nav { display: flex; align-items: center; gap: 26px; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; }
.nav-item > a,
.nav-drop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.nav-item > a:hover,
.nav-drop:hover { color: var(--forest); background: var(--sand); }
.nav-item.is-current > a,
.nav-item.is-current > .nav-drop { color: var(--forest); }
.nav-drop::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.6;
}

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 236px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 26px 50px -30px rgba(26, 29, 27, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.nav-item:hover > .submenu,
.nav-item:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.865rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.submenu a:hover { background: var(--sand); color: var(--forest); }
.submenu .submenu-label {
  padding: 8px 12px 4px;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; display: block; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  color: #fff;
  overflow: hidden;
  background: var(--forest-deep);
}
.hero--home { min-height: min(84vh, 760px); display: flex; align-items: flex-end; }
.hero--page { min-height: 440px; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 26, 21, 0.5) 0%, rgba(18, 26, 21, 0.18) 38%, rgba(18, 26, 21, 0.82) 100%),
    radial-gradient(120% 80% at 12% 100%, rgba(18, 26, 21, 0.6), transparent 60%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(56px, 8vw, 88px) clamp(38px, 5vw, 60px); width: 100%; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f3e3d3;
  margin-bottom: 18px;
}
.hero__eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: 0.8; }
.hero h1 { color: #fff; max-width: 20ch; margin-bottom: 18px; }
.hero--page h1 { font-size: clamp(1.95rem, 4.2vw, 3.1rem); max-width: 26ch; }
.hero__lede {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 62ch;
  margin: 0;
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}
.hero__chips li {
  margin: 0;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
}
.hero .btn-row { margin-top: 30px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  position: relative;
  z-index: 3;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 13px 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}
@media (max-width: 720px) {
  .breadcrumbs ol { font-size: 0.82rem; padding: 11px 0; }
}
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: var(--stone); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--forest); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(26px, 4vw, 52px); align-items: start; }

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
a.card:hover,
a.card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--stone);
  color: inherit;
}
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--linen); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
a.card:hover .card__media img { transform: scale(1.045); }
.card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--forest);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
}
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { margin: 0; font-size: 1.2rem; }
.card__body p { margin: 0; font-size: 0.92rem; color: var(--muted); line-height: 1.62; }
.card__meta {
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--clay);
}
.card--flat { box-shadow: none; }
.card--region .card__media { aspect-ratio: 4 / 3; }

/* text-only cards (used where a page must not repeat photography) */
.card--text {
  background: linear-gradient(160deg, #ffffff 0%, var(--sand) 100%);
  border: 1px solid var(--line);
}
.card--text .card__body { padding: 26px 24px 24px; gap: 8px; }
.card--text .numeral {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--clay);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.card--text h3 { font-size: 1.24rem; }
.card--text p { color: var(--ink-soft); }

.card--tint-east { background: linear-gradient(160deg, #fff 0%, var(--forest-tint) 100%); }
.card--tint-middle { background: linear-gradient(160deg, #fff 0%, var(--sand) 100%); }
.card--tint-west { background: linear-gradient(160deg, #fff 0%, var(--clay-tint) 100%); }

/* region banner cards */
.region-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; min-height: 380px; }
.region-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 26, 21, 0.05) 30%, rgba(18, 26, 21, 0.85) 100%);
}
.region-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.region-card:hover img { transform: scale(1.04); }
.region-card__body { position: relative; z-index: 2; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 380px; }
.region-card__body h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.region-card__body p { color: rgba(255, 255, 255, 0.88); font-size: 0.9rem; margin: 0; }
.region-card:hover { color: #fff; }
.region-card .card__meta { color: #f1d7c2; }

/* ---------- Split / media blocks ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 4vw, 56px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.split__caption { font-size: 0.76rem; color: var(--muted); margin-top: 10px; }
.split__body h2 { margin-bottom: 0.6em; }

.figure-wide img { width: 100%; border-radius: var(--radius); aspect-ratio: 21 / 9; object-fit: cover; }
.figure-wide figcaption { font-size: 0.78rem; color: var(--muted); margin-top: 12px; }

.figure-tall img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.figure-tall figcaption { font-size: 0.76rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }

/* region tiles for text navigation */
.tile-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--stone); color: inherit; }
.tile .tile__label { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--clay); }
.tile h3 { margin: 0; }
.tile p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.tile .card__meta { margin-top: 8px; }
.tile--east { background: linear-gradient(155deg, #fff, var(--forest-tint)); }
.tile--middle { background: linear-gradient(155deg, #fff, var(--sand)); }
.tile--west { background: linear-gradient(155deg, #fff, var(--clay-tint)); }

@media (max-width: 900px) { .tile-row { grid-template-columns: 1fr; } }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.7rem; }
.prose ul, .prose ol { padding-left: 1.1em; }
.prose li { color: var(--ink-soft); }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }

/* ---------- Sidebar ---------- */
.sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--header-h) + 22px); }
.fact-box {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.fact-box h2, .fact-box h3 { font-size: 1.05rem; font-family: var(--font); letter-spacing: 0.01em; margin-bottom: 16px; }
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.fact-list li {
  display: grid;
  gap: 2px;
  margin: 0;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
.fact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.fact-list .k { font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.fact-list .v { font-size: 0.94rem; color: var(--ink); font-weight: 550; }

.cta-box {
  background: var(--forest);
  color: #eef1ec;
  border-radius: var(--radius);
  padding: 26px;
}
.cta-box h3 { color: #fff; font-size: 1.15rem; }
.cta-box p { font-size: 0.9rem; color: #cbd5cd; margin-bottom: 18px; }
.cta-box .btn { width: 100%; }

.toc { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.toc h2 { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--font); color: var(--muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.1em; font-size: 0.9rem; }
.toc a { text-decoration: none; color: var(--ink-soft); }
.toc a:hover { color: var(--forest); text-decoration: underline; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 26px 22px; }
.stat .num { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--forest); line-height: 1; display: block; margin-bottom: 8px; }
.stat .label { font-size: 0.78rem; color: var(--muted); line-height: 1.45; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 620px; }
caption { text-align: left; padding: 16px 18px 0; font-size: 0.78rem; color: var(--muted); }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--sand); font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 650; color: var(--ink); }
td { color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 2px;
  cursor: pointer;
  font-weight: 650;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 9px; height: 9px;
  border-right: 1.8px solid var(--forest);
  border-bottom: 1.8px solid var(--forest);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 4px;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq .faq__answer { padding: 0 2px 20px; color: var(--ink-soft); font-size: 0.95rem; max-width: 74ch; }
.faq .faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Callouts / notes ---------- */
.note {
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 18px;
  background: var(--clay-tint);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.note::before { content: ""; background: var(--clay); border-radius: 3px; }
.note strong { color: var(--ink); }
.note p:last-child { margin-bottom: 0; }

.tip-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tip-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; margin: 0; align-items: start; }
.tip-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--forest-tint);
  color: var(--forest);
  display: grid; place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
}
.tip-list p { font-size: 0.92rem; color: var(--muted); margin: 4px 0 0; }
.tip-list strong { color: var(--ink); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.timeline li:first-child { border-top: 0; padding-top: 0; }
.timeline .when { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--clay); padding-top: 3px; }
.timeline h3 { margin-bottom: 6px; font-size: 1.08rem; }
.timeline p { margin: 0; font-size: 0.93rem; color: var(--muted); }

/* ---------- Link pills ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-row li { margin: 0; }
.pill {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}
.pill:hover { border-color: var(--forest); background: var(--forest-tint); color: var(--forest); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: #c7d0c8;
  padding-top: clamp(46px, 6vw, 72px);
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(26px, 3.6vw, 48px);
  padding-bottom: clamp(34px, 4vw, 52px);
}
.site-footer h2, .site-footer h3 {
  font-family: var(--font);
  font-size: 0.68rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #8fa094;
  font-weight: 700;
  margin: 0 0 16px;
}
.brand--footer { color: #fff; }
.brand--footer .brand-text strong { color: #fff; }
.brand--footer .brand-text em { color: #93a397; }
.brand--footer .brand-mark { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); }
.footer-about { font-size: 0.875rem; line-height: 1.65; color: #a9b5ac; margin: 18px 0 14px; max-width: 34ch; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer li { margin: 0; }
.site-footer a { color: #c7d0c8; text-decoration: none; font-size: 0.875rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-cookie { font-size: 0.8rem; color: #93a397; line-height: 1.6; margin: 0 0 12px; }
.email-reveal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f2f5f1;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}
.email-reveal:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.4); }
.footer-email-slot { margin-top: 12px; font-size: 0.9rem; }
.footer-email-slot a { font-weight: 650; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: #93a397;
  font-family: var(--font);
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-btn:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 20px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.78rem;
  color: #8fa094;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { font-size: 0.78rem; }
.footer-sep { color: rgba(255, 255, 255, 0.22); margin-inline: 6px; }

/* ---------- Cookie bar ---------- */
.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(14px);
  z-index: 150;
  width: min(680px, calc(100vw - 28px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 26px 60px -24px rgba(26, 29, 27, 0.45);
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.cookie-bar.is-visible { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.cookie-bar p { margin: 0; flex: 1 1 300px; line-height: 1.55; }
.cookie-bar a { font-weight: 600; }
.cookie-bar .btn { flex-shrink: 0; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, a.card:hover, .region-card:hover img, .card__media img { transform: none; }
}

/* ---------- 404 ---------- */
.error-page { padding-block: clamp(70px, 12vw, 140px); text-align: center; }
.error-page .code { font-family: var(--serif); font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: var(--stone); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-sidebar { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(26, 29, 27, 0.5);
    padding: 10px clamp(18px, 4vw, 32px) 22px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, visibility 0.3s;
  }
  .primary-nav.is-open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-item > a, .nav-drop { width: 100%; justify-content: space-between; padding: 15px 2px; font-size: 0.98rem; border-radius: 0; }
  .nav-item > a:hover, .nav-drop:hover { background: none; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 12px 6px;
    min-width: 0;
    background: transparent;
  }
  .nav-item.is-open .submenu { display: block; }
  .nav-item.is-open .nav-drop::after { transform: rotate(225deg) translateY(-1px); }
  .submenu a { padding: 10px 8px; font-size: 0.92rem; }
  .nav-cta { margin-top: 18px; width: 100%; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero--home { min-height: 72vh; }
  .hero--page { min-height: 360px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .split--reverse .split__media { order: 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .timeline .when { padding-top: 0; }
  .region-card, .region-card__body { min-height: 320px; }
  .figure-wide img { aspect-ratio: 4 / 3; }
  .cookie-bar { bottom: 10px; padding: 14px; }
  .cookie-bar .btn { width: 100%; }
  .hero__chips li { font-size: 0.7rem; }
}
