/* ==========================================================================
   KnowOutdoor — "Field Survey Almanac" design system.
   Kraft-paper ground, bark ink, pine green + burnt sienna, ochre highlight.
   Type: Zilla Slab (display slab) / Hanken Grotesk (body) / Space Mono (labels).
   A distinct visual grammar: mono survey labels, framed field-cards with a
   growing accent bar, squared buttons, contour hero, paper grain. No source-domain
   colors or shapes; difficulty tokens (--diff-*) stay semantic (green -> red).
   ========================================================================== */
:root {
  --pine: #264a34;          /* primary green */
  --pine-deep: #17301f;
  --moss: #5f7148;          /* secondary green */
  --rust: #a9542b;          /* earth accent / links */
  --rust-deep: #8a3f1e;
  --ochre: #bd8329;         /* highlight / kicker */
  --soil: #201e1b;          /* near-black ink */
  --ink: #201e1b;
  --ink-soft: #575651;      /* neutral-warm gray text */
  --paper: #ffffff;         /* clean white ground (no cream) */
  --paper-2: #f3f3f1;       /* faint neutral panel */
  --card: #ffffff;          /* white cards, separated by hairline borders */
  --line: #e6e6e3;
  --line-strong: #d2d2ce;

  --diff-easy: #3f6b34;
  --diff-moderate: #6f7d2b;
  --diff-challenging: #bd8329;
  --diff-difficult: #b85a24;
  --diff-expert: #9a2f1f;

  --measure: 66ch;      /* pure-prose readable line length (hubs, profiles, standalone text) */
  --content: 46rem;     /* article-column width: THE single owner for article text + every block */
  --block-w: var(--content);  /* display blocks live inside .prose and never exceed the text column */
  /* One spacing scale for the whole site (8px base). All section padding,
     heading margins, and grid gaps map to these, so the vertical rhythm is even. */
  --sp-1: .5rem;   /*  8px */
  --sp-2: .75rem;  /* 12px */
  --sp-3: 1rem;    /* 16px */
  --sp-4: 1.5rem;  /* 24px */
  --sp-5: 2rem;    /* 32px */
  --sp-6: 3rem;    /* 48px */
  --sp-7: 4rem;    /* 64px */
  --sp-8: 5rem;    /* 80px */
  --band-pad: var(--sp-7);   /* section band top/bottom padding */
  /* Type scale rebuilt on a 20px body (major-third-ish steps). */
  --fs-xs: .8rem;      /* ~12.8px  mono micro-labels, badges */
  --fs-sm: 1.05rem;    /* ~16.8px  secondary text, captions, card copy */
  --fs-base: 1.25rem;  /* 20px     body */
  --fs-lg: 1.45rem;    /* ~23px    lead / intro */
  --fs-xl: 1.9rem;     /* ~30px    h2 */
  --fs-2xl: 2.5rem;    /* 40px */
  --fs-3xl: 3.35rem;   /* ~54px    h1 max */
  --slab: "Zilla Slab", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono: "Space Mono", ui-monospace, "Cascadia Mono", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--fs-base); line-height: 1.6;
  position: relative;
  /* Sticky footer: keep the footer at the bottom on short pages so the page
     background never shows as a blank band below it. */
  display: flex; flex-direction: column; min-height: 100vh;
}
#main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }
/* Paper grain overlay (subtle, fixed, non-interactive). */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .015;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 2; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3 { font-family: var(--slab); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, var(--fs-3xl)); margin: 0 0 .4em; text-wrap: balance; }
h2 { font-size: var(--fs-xl); }
p { margin: 0 0 1.15em; }   /* paragraph rhythm scales with font size */

/* The single width authority for the whole site: header, breadcrumb, every page
   wrapper, and footer all use .container, so they share an identical width and
   left edge. Readable text is capped by --measure and left-aligned inside it
   (never a narrower, centered box), so nothing drifts inward. */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.measure { max-width: var(--measure); }

/* Mono survey kicker (replaces the centered leading-rule eyebrow). */
.eyebrow {
  display: inline-block; font-family: var(--mono); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--rust); margin-bottom: .7rem;
}
.eyebrow::before { content: "\25C6\00a0\00a0"; color: var(--ochre); }  /* ◆ */
.lead { font-size: var(--fs-lg); color: var(--ink-soft); max-width: var(--measure); }
.section-title { margin: var(--sp-6) 0 var(--sp-4); }
.section-title .eyebrow { display: block; }

.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--card); padding: .5rem 1rem; z-index: 100; }

/* ---------- Buttons: squared, mono, uppercase ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5ch; font-family: var(--mono); font-weight: 700;
  font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; padding: .8rem 1.4rem;
  border: 1.5px solid var(--pine); border-radius: 0; cursor: pointer; transition: background .15s, color .15s;
}
.btn:hover { text-decoration: none; }
/* Use .btn.btn-* (specificity 0,2,0) so button text color always wins over
   contextual link colors like .site-nav a (0,1,1). */
.btn.btn-primary { background: var(--pine); color: #fdfaf2; }
.btn.btn-primary:hover { background: var(--pine-deep); border-color: var(--pine-deep); color: #fff; }
.btn.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.btn-outline:hover { border-color: var(--pine); color: var(--pine); background: rgba(38,74,52,.05); }
.section-link { font-family: var(--mono); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Header: utility strip + masthead ---------- */
.site-header { background: var(--paper); border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 40; }
.utility-strip { background: var(--pine-deep); color: var(--paper); font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; }
.utility-strip .container { display: flex; justify-content: space-between; padding-top: .35rem; padding-bottom: .35rem; }
.utility-strip .u-right { color: var(--ochre); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--slab); font-size: 1.45rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--pine); font-size: 1.5rem; display: inline-flex; }
.brand-logo { width: 40px; height: 40px; display: block; }
.brand-accent { color: var(--rust); }
.site-nav { display: flex; align-items: center; gap: var(--sp-4); }
.site-nav ul { display: flex; gap: 1.15rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { position: relative; font-family: var(--mono); color: var(--ink); font-weight: 400; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; padding: .45rem 0; }
/* sliding underline: current section is persistent, hover reveals it too */
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.15rem; height: 2px; background: var(--rust); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.site-nav ul a:hover { color: var(--pine); text-decoration: none; }
.site-nav ul a:hover::after, .site-nav ul a.active::after { transform: scaleX(1); }
.site-nav ul a.active { color: var(--pine); font-weight: 700; }
.nav-cta { padding: .55rem 1rem; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--ink); cursor: pointer; }

/* ---------- Hero: contour background ---------- */
.hero {
  border-bottom: 2px solid var(--ink); padding: var(--sp-8) 0 var(--sp-7);
  background-color: var(--paper-2);
  background-image:
    repeating-radial-gradient(circle at 82% 30%, transparent 0 26px, rgba(38,74,52,.06) 26px 27px);
}
.hero-title { font-size: clamp(2.3rem, 6.4vw, 3.6rem); max-width: 15ch; }
.hero-lead { font-size: var(--fs-lg); color: var(--ink-soft); max-width: 52ch; }
.hero-actions { display: flex; gap: var(--sp-2); margin-top: var(--sp-5); flex-wrap: wrap; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-7); align-items: center; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1.5px solid var(--line-strong); display: block; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 9; }
}

/* ---------- Hub hero banner ---------- */
.hub-hero { margin-top: var(--sp-4); }
.hub-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; border: 1.5px solid var(--line-strong); }
.hub-hero + .container .page-head { padding-top: var(--sp-5); }

/* ---------- Page head / breadcrumb ---------- */
.page-head { padding: var(--sp-6) 0 var(--sp-3); max-width: var(--measure); }
.breadcrumb { border-bottom: 1px solid var(--line); background: var(--paper); font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: .7rem 0; color: var(--ink-soft); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: var(--line-strong); }
.breadcrumb [aria-current="page"] { color: var(--rust); }

/* ---------- Field cards ---------- */
/* auto-fill (not auto-fit) keeps track slots so a lone card stays card-width
   instead of stretching full-width; cards keep a uniform width site-wide. */
.card-grid { display: grid; gap: var(--sp-4); margin: var(--sp-4) 0 var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card-grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
/* single-item safety: never balloon one card across the whole row. */
.card-grid > .card:only-child { max-width: 380px; }
.card { background: var(--card); border: 1.5px solid var(--line-strong); position: relative; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--rust); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.card:hover::before { transform: scaleX(1); }
.card-link { display: block; color: inherit; height: 100%; }
.card-link:hover { text-decoration: none; }
.card-link:hover .card-title { color: var(--pine); }
.card-media { aspect-ratio: 16 / 10; background: var(--paper-2); display: flex; align-items: center; justify-content: center; color: var(--pine); font-size: 2.6rem; border-bottom: 1.5px solid var(--line-strong); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: var(--sp-4); }
.card-badge { margin-bottom: .55rem; }
.card-title { font-family: var(--slab); font-weight: 600; font-size: var(--fs-lg); margin: 0 0 .4rem; }
.card-desc { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0 0 .8rem; }
.card-more { font-family: var(--mono); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--rust); }

/* ---------- Difficulty tag (semantic, mono, leading dot) ---------- */
.difficulty-badge { display: inline-flex; align-items: center; gap: .45ch; font-family: var(--mono); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .22rem .55rem; color: #fff; }
.difficulty-badge::before { content: "\25CF"; font-size: .7em; }
.difficulty-badge i { display: none; }
.difficulty-easy { background: var(--diff-easy); }
.difficulty-moderate { background: var(--diff-moderate); }
.difficulty-challenging { background: var(--diff-challenging); }
.difficulty-difficult { background: var(--diff-difficult); }
.difficulty-expert { background: var(--diff-expert); }
.tag-reviewer { font-family: var(--mono); background: var(--pine); color: var(--paper); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; padding: .22rem .55rem; }

/* ---------- Article / prose ---------- */
.article-wrap { padding: var(--sp-6) 0 var(--sp-7); }
/* THE canonical readable-content-width owner. Every article-family page wraps its
   content in .article-col, so text, hero images, and every block share ONE width
   and one left edge. The column owns the width; children fill it (their own
   --measure caps are neutralized inside the column) so nothing is narrower or
   wider than the column. --content is a bit wider than the pure-prose --measure so
   the content area fills the page rather than sitting in a narrow left strip. */
.article-col { max-width: var(--content); margin-inline: auto; }
/* Any direct child of the column fills it (no brittle per-class allowlist), plus
   the nested page-body used by institutional templates. New block components need
   no entry here: they render inside .prose, which is itself neutralized below. */
.article-col > *,
.article-col .page-body { max-width: none; }
.article-head { max-width: var(--measure); }
.article-meta { margin: .5rem 0 1rem; }
.article-intro { font-size: var(--fs-lg); color: var(--ink-soft); font-family: var(--slab); font-weight: 400; }
.prose { max-width: var(--measure); }
/* Reading rhythm: clear space above section headings, tight below; generous,
   consistent space around block components so text and components never crowd. */
.prose h2 { margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.prose h3 { margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.prose > :first-child, .page-body section > :first-child { margin-top: 0; }
.prose .step-list, .prose .bullet-list, .page-body ul, .page-body ol { margin-top: var(--sp-3); margin-bottom: var(--sp-4); }
/* Bold = scannable key terms (weight only). Highlight = the one key takeaway per
   section (ochre marker). Two distinct jobs, two distinct treatments. */
.prose strong, .page-body strong { font-weight: 700; color: var(--ink); }
.highlight { background: linear-gradient(transparent 55%, rgba(189,131,41,.42) 55%); color: inherit; padding: 0 .1em; border-radius: 1px; font-weight: 500; }
mark.highlight { color: inherit; }
.step-list, .bullet-list, .source-list { padding-left: 1.2rem; }
.bullet-list li { margin-bottom: .5rem; }
.step-list { counter-reset: step; list-style: none; padding-left: 0; }
.step-list li { position: relative; padding-left: 2.6rem; margin-bottom: .85rem; }
.step-list li::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: .05rem; font-family: var(--mono); font-weight: 700; font-size: var(--fs-sm); color: var(--paper); background: var(--pine); width: 1.9rem; height: 1.6rem; display: flex; align-items: center; justify-content: center; }
.source-list { list-style: none; padding-left: 0; }
.source-list li { margin-bottom: .35rem; font-size: var(--fs-sm); }
.source-list li::before { content: "\2192\00a0"; color: var(--moss); }
.ext-link::after { content: " \2197"; font-size: .8em; color: var(--ink-soft); }
.article-foot { max-width: var(--measure); margin-top: var(--sp-6); border-top: 2px solid var(--ink); padding-top: var(--sp-3); }
.related-links { margin-top: var(--sp-7); }
.related-links ul { list-style: none; padding: 0; margin: var(--sp-4) 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--sp-3); }
.related-links li a { display: block; border: 1.5px solid var(--line-strong); border-left: 4px solid var(--rust); padding: var(--sp-3) var(--sp-4); color: var(--ink); background: var(--card); }
.related-links li a:hover { border-left-color: var(--pine); color: var(--pine); text-decoration: none; }
.rl-kind { display: block; font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--rust); margin-bottom: .15rem; }

/* ---------- Byline ---------- */
.byline { display: flex; flex-wrap: wrap; gap: var(--sp-4); padding: var(--sp-3) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: var(--sp-4) 0; }
.byline-person { display: flex; align-items: center; gap: .7rem; }
.byline-avatar { width: 2.5rem; height: 2.5rem; background: var(--pine); color: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: var(--fs-sm); }
.byline-reviewer .byline-avatar { background: var(--rust); }
.byline-text { display: flex; flex-direction: column; font-size: var(--fs-sm); }
.byline-role { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.byline-cred { font-size: var(--fs-xs); color: var(--ink-soft); }

/* ---------- Safety callout ---------- */
.safety-callout { background: var(--paper-2); border: 1.5px solid var(--rust); border-top: 5px solid var(--rust); padding: var(--sp-4); margin: var(--sp-5) 0; max-width: var(--measure); }
.safety-callout-head { display: flex; align-items: center; gap: .5rem; font-family: var(--slab); color: var(--rust-deep); font-size: var(--fs-lg); margin-bottom: .6rem; }
.safety-sub { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin: .7rem 0 .25rem; }
.safety-list { margin: 0 0 .5rem; padding-left: 1.2rem; }
.safety-threshold { font-weight: 600; color: var(--diff-expert); }
.safety-emergency { font-size: var(--fs-sm); color: var(--ink-soft); border-top: 1px solid var(--line-strong); padding-top: .6rem; margin-top: .6rem; }

/* ---------- Profile ---------- */
.profile-wrap { padding: var(--sp-6) 0 var(--sp-7); }
.profile-grid { display: grid; grid-template-columns: 1fr 330px; gap: var(--sp-6); align-items: start; }
.profile-side > * { margin-bottom: 1.3rem; }
.fact-card, .fresh-card, .related-card { background: var(--card); border: 1.5px solid var(--line-strong); padding: var(--sp-4); }
.fact-card h2, .fresh-card h2, .related-card h2 { font-family: var(--slab); font-size: var(--fs-lg); margin: 0 0 .8rem; }
.fact-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.fact-row:last-child { border-bottom: 0; }
.fact-row dt { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin: 0; }
.fact-row dd { margin: 0; text-align: right; font-weight: 500; }
.fresh-card.is-unverified { border-color: var(--rust); background: var(--paper-2); }
.fresh-card h2 i { color: var(--rust); }
.fresh-card.is-verified h2 i { color: var(--diff-easy); }
.related-card ul { list-style: none; margin: 0; padding: 0; }
.related-card li { padding: .35rem 0; border-bottom: 1px solid var(--line); }
.related-card li:last-child { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: var(--measure); margin-top: var(--sp-6); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { font-family: var(--slab); font-weight: 600; cursor: pointer; padding: .8rem 0; }
.faq-answer { color: var(--ink-soft); padding-bottom: .8rem; }

/* ---------- Glossary ---------- */
.glossary-list { max-width: var(--measure); }
.glossary-item { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.glossary-item dt { font-family: var(--slab); font-size: var(--fs-lg); font-weight: 600; }
.glossary-item dd { margin: .3rem 0 0; color: var(--ink-soft); }

/* ---------- Home extras ---------- */
.home-section { padding: 1.2rem 0 1.6rem; }
.home-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.link-list, .link-row { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.link-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.link-row li a { display: inline-flex; align-items: center; gap: .4ch; background: var(--card); border: 1.5px solid var(--line-strong); padding: .5rem .85rem; font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.link-row li a:hover { border-color: var(--pine); color: var(--pine); text-decoration: none; }

/* ---------- Search / sitemap / errors ---------- */
.search-form { display: flex; gap: .6rem; margin: 1.3rem 0; max-width: var(--measure); }
.search-form input { flex: 1; padding: .8rem .9rem; border: 1.5px solid var(--line-strong); background: var(--card); font-family: var(--sans); font-size: var(--fs-base); border-radius: 0; }
.search-results { list-style: none; padding: 0; max-width: var(--measure); }
.search-results li { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.result-silo { font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.empty-note { color: var(--ink-soft); }
.sitemap-cols { columns: 3 220px; column-gap: 2.2rem; }
.sitemap-group { break-inside: avoid; margin-bottom: 1.5rem; }
.sitemap-group h2 { font-family: var(--slab); font-size: var(--fs-lg); }
.sitemap-group ul { list-style: none; padding: 0; margin: .4rem 0 0; }
.sitemap-group li { padding: .22rem 0; font-size: var(--fs-sm); }
.error-page { padding: 4.5rem 0; text-align: center; max-width: 640px; margin: 0 auto; }
.error-links { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }
.tool-placeholder { background: var(--card); border: 1.5px dashed var(--line-strong); padding: 1.3rem; margin-top: 1.6rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: #d8ceb4; margin-top: var(--sp-7); border-top: 4px solid var(--rust); padding: var(--sp-6) 0 var(--sp-4); }
/* brand + 5 nav columns = 6 tracks (brand wider). */
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(5, 1fr); gap: var(--sp-5) var(--sp-4); }
.footer-brand .brand-name { font-family: var(--slab); font-size: 1.4rem; color: #fff; }
.footer-brand p { font-size: var(--fs-sm); color: #b3ab90; }
.footer-note { font-size: var(--fs-xs) !important; border-top: 1px solid rgba(255,255,255,.14); padding-top: .6rem; margin-top: .6rem; }
.footer-col h2 { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--ochre); margin: 0 0 .7rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: .24rem 0; }
.footer-col a { color: #cdc4a9; font-size: var(--fs-sm); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 1.7rem; padding-top: 1rem; font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: .04em; color: #97906f; }

/* ---------- Expert head ---------- */
.expert-head { display: flex; gap: 1.2rem; align-items: flex-start; }
.expert-avatar-lg { width: 4rem; height: 4rem; background: var(--pine); color: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; font-size: 1.3rem; flex: none; }
.expert-cred { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }

/* ---------- Homepage section bands (contrast) ---------- */
.band { padding: var(--band-pad) 0; }
.band-kraft { background: var(--paper); }
.band-muted { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--pine-deep); color: #d5cbb1; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: var(--ochre); }
.band-dark .band-lead { color: #b6ae90; }

.band-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-5); margin-bottom: var(--sp-5); flex-wrap: wrap; }
.band-head h2 { margin: 0; }
.band-lead { max-width: 44ch; color: var(--ink-soft); margin: 0; }

/* Credential ribbon */
.cred-band { padding: var(--sp-5) 0; }
.cred-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.cred { display: flex; gap: .7rem; align-items: flex-start; }
.cred > i { color: var(--ochre); font-size: 1.5rem; margin-top: .05rem; }
.cred strong { display: block; color: #fff; font-family: var(--slab); font-weight: 600; }
.cred span { font-size: var(--fs-sm); color: #b3ab8d; line-height: 1.4; }

/* Split layouts */
.band-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--sp-6); align-items: center; }
.band-split-wide { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); align-items: center; }

/* Safety hazard list (dark band) */
.hazard-list { list-style: none; margin: 0; padding: 0; }
.hazard-list li a { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.045); margin-bottom: .55rem; color: #ece3cd; }
.hazard-list li a:hover { border-color: var(--ochre); text-decoration: none; }
.hazard-list li a > i:first-child { color: var(--ochre); font-size: 1.25rem; }
.hazard-list span { display: flex; flex-direction: column; flex: 1; font-family: var(--slab); font-weight: 600; }
.hazard-list em { font-family: var(--sans); font-style: normal; font-weight: 400; font-size: var(--fs-sm); color: #a7a082; }
.hazard-list .go { color: #7f7a60; }
.hazard-emergency { display: flex; gap: .5rem; align-items: center; font-size: var(--fs-sm); color: var(--ochre); padding-top: .5rem; }

/* Kickers inside tiles */
.card-kicker, .feature-kicker { display: inline-block; font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--rust); margin-bottom: .45rem; }

/* "Browse all" card tile */
.card-cta-tile { background: var(--pine); border-color: var(--pine); }
.card-cta-tile::before { display: none; }
.card-cta-tile .card-title { color: #fff; }
.card-cta-tile .card-desc { color: #c9d3bf; }
.card-cta-tile .card-more { color: var(--ochre); }

/* Feature card (bordered) */
.feature-card { display: block; background: var(--card); border: 1.5px solid var(--line-strong); border-left: 5px solid var(--rust); padding: var(--sp-5); color: inherit; }
.feature-card:hover { border-left-color: var(--pine); text-decoration: none; }
.feature-card:hover h3 { color: var(--pine); }
.feature-card h3 { font-family: var(--slab); font-size: var(--fs-xl); margin: .2rem 0 .5rem; }
.feature-card p { color: var(--ink-soft); }
.tool-tile { border-left-color: var(--moss); }

/* Destination / trail / compare feature grid */
.place-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-auto-rows: min-content; gap: var(--sp-4); }
.place-grid > .place-feature:first-child { grid-row: 1 / span 2; }
.place-feature, .compare-tile { background: var(--card); border: 1.5px solid var(--line-strong); color: inherit; display: block; }
.place-feature:hover h3, .compare-tile:hover h3 { color: var(--pine); }
.place-feature:hover, .compare-tile:hover { text-decoration: none; border-color: var(--pine); }
.place-media { aspect-ratio: 16/9; background: var(--paper-2); display: flex; align-items: center; justify-content: center; color: var(--pine); font-size: 2.6rem; border-bottom: 1.5px solid var(--line-strong); overflow: hidden; }
.place-media img { width: 100%; height: 100%; object-fit: cover; }
.place-body { padding: var(--sp-4); }
.place-body h3 { font-family: var(--slab); margin: .2rem 0 .3rem; }
.place-meta { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin: 0 0 .5rem; }
.mini-facts { list-style: none; padding: 0; margin: .5rem 0 .8rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.mini-facts li { font-family: var(--slab); font-weight: 600; }
.mini-facts span { display: block; font-family: var(--mono); font-size: var(--fs-xs); font-weight: 400; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.compare-tile { padding: var(--sp-4); border-left: 5px solid var(--ochre); }
.compare-tile h3 { font-family: var(--slab); margin: .3rem 0 .5rem; }
.compare-tile h3 em { font-style: normal; color: var(--rust); font-size: .82em; }

/* Experts + editorial + CTA (dark band) */
.expert-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-bottom: var(--sp-5); }
.expert-tile { display: flex; gap: .8rem; align-items: center; padding: 1rem; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.045); color: #ece3cd; }
.expert-tile:hover { border-color: var(--ochre); text-decoration: none; }
.expert-tile .expert-avatar { width: 2.9rem; height: 2.9rem; background: var(--moss); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 700; flex: none; }
.expert-tile strong { display: block; color: #fff; font-family: var(--slab); }
.expert-tile .expert-role { display: block; font-size: var(--fs-sm); color: #b3ab8d; }
.editorial-row { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); flex-wrap: wrap; padding: var(--sp-4) 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.editorial-row p { margin: 0; color: #c9c0a3; }
.editorial-links { display: flex; gap: .7rem; flex-wrap: wrap; }
.home-cta { text-align: center; padding-top: var(--sp-6); }
.home-cta .hero-actions { justify-content: center; }
.link-light { color: var(--ochre); }
.btn.btn-ghost { background: transparent; color: #ece3cd; border-color: rgba(255,255,255,.35); }
.btn.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.07); }
.btn.btn-accent { background: var(--rust); color: #fff; border-color: var(--rust); }
.btn.btn-accent:hover { background: var(--rust-deep); border-color: var(--rust-deep); }

@media (max-width: 1000px) {
  .band-split, .band-split-wide { grid-template-columns: 1fr; }
  .cred-strip { grid-template-columns: repeat(2, 1fr); }
  .place-grid { grid-template-columns: 1fr; }
  .place-grid > .place-feature:first-child { grid-row: auto; }
  .expert-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cred-strip { grid-template-columns: 1fr; }
  .editorial-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- Institutional page blocks (trust / legal) ---------- */
.page-hero-img { margin: var(--sp-5) 0 var(--sp-6); border: 1.5px solid var(--line-strong); aspect-ratio: 16/8; overflow: hidden; }
.safety-callout { margin: var(--sp-6) 0; }
.steps { margin-top: var(--sp-6); }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.page-body { max-width: var(--measure); }
.page-body > section { margin-bottom: var(--sp-6); }
.page-body h2 { margin: 0 0 var(--sp-3); }
.page-body h3 { margin: var(--sp-4) 0 var(--sp-2); font-size: var(--fs-lg); }
.page-body ul, .page-body ol { padding-left: 1.3rem; }
.page-body li { margin-bottom: var(--sp-2); }
.page-body .lede { font-family: var(--slab); font-weight: 400; font-size: var(--fs-lg); color: var(--ink-soft); }

/* Callouts */
.callout { border: 1.5px solid var(--line-strong); border-left: 5px solid var(--moss); background: var(--card); padding: var(--sp-4); margin: var(--sp-6) 0; }
.callout > strong:first-child { display: block; font-family: var(--slab); font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.callout p:last-child { margin-bottom: 0; }
.callout-note { border-left-color: var(--pine); }
.callout-note > strong:first-child { color: var(--pine); }
.callout-warning { border-left-color: var(--rust); background: var(--paper-2); }
.callout-warning > strong:first-child { color: var(--rust-deep); }
.callout-tip { border-left-color: var(--ochre); }
.callout-tip > strong:first-child { color: #916118; }

/* Principle / values grid */
.principle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--sp-4); margin: var(--sp-6) 0; }
.principle { border: 1.5px solid var(--line-strong); border-top: 4px solid var(--rust); background: var(--card); padding: var(--sp-4); }
.principle .n { font-family: var(--mono); font-size: var(--fs-xs); color: var(--rust); letter-spacing: .1em; }
.principle h3 { margin: var(--sp-1) 0 var(--sp-2); font-family: var(--slab); }
.principle p { margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); }

/* Numbered process (reuses step-list look) */
.process-steps { counter-reset: step; list-style: none; padding-left: 0; margin: var(--sp-6) 0; }
.process-steps > li { position: relative; padding-left: 2.8rem; margin-bottom: var(--sp-4); }
.process-steps > li::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--mono); font-weight: 700; font-size: var(--fs-sm); color: var(--paper); background: var(--pine); width: 2rem; height: 1.7rem; display: flex; align-items: center; justify-content: center; }
.process-steps > li strong { display: block; font-family: var(--slab); }

/* Key-value definition rows */
.keyvalue { border: 1.5px solid var(--line-strong); background: var(--card); padding: var(--sp-2) var(--sp-4); margin: var(--sp-6) 0; }
.keyvalue > div { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
.keyvalue > div:last-child { border-bottom: 0; }
.keyvalue dt { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin: 0; flex: none; width: 34%; }
.keyvalue dd { margin: 0; text-align: right; }

.page-updated { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-top: var(--sp-6); padding-top: var(--sp-3); border-top: 2px solid var(--ink); }

.page-toc { border: 1.5px solid var(--line-strong); background: var(--card); padding: var(--sp-4); margin: 0 0 var(--sp-6); }
.page-toc strong { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--rust); }
.page-toc ol { margin: var(--sp-2) 0 0; padding-left: 1.3rem; }
.page-toc li { margin-bottom: var(--sp-1); }

@media (max-width: 560px) {
  .keyvalue > div { flex-direction: column; gap: var(--sp-1); }
  .keyvalue dt { width: auto; }
  .keyvalue dd { text-align: left; }
}

/* ---------- Article body blocks (rendered by Template::richBody) ----------
   Every block below lives inside .prose, so it fills the text column (--block-w =
   --content) and shares the body width by construction. None declares a wider
   max-width, so "table width" and "body width" can never diverge. */

/* Inline mono chip (a small label/tag inside running text) */
.chip { display: inline-block; font-family: var(--mono); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--rust); background: var(--paper-2); border: 1px solid var(--line-strong); padding: .08em .5em; }

/* Checklist (ticked bullets, distinct from plain bullet-list) */
.checklist { list-style: none; padding-left: 0; margin: var(--sp-4) 0; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: var(--sp-2); }
.checklist li::before { content: "\2713"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--pine); }

/* Real data table (the ONE <table> in the system; scrolls inside its wrap on narrow screens) */
.table-wrap { margin: var(--sp-6) 0; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.data-table th, .data-table td { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); border-bottom: 1.5px solid var(--line-strong); }
.data-table tbody th { font-weight: 700; color: var(--ink); }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }

/* Pull quote */
.pull-quote { margin: var(--sp-6) 0; padding: var(--sp-2) 0 var(--sp-2) var(--sp-4); border-left: 4px solid var(--ochre); font-family: var(--slab); font-size: var(--fs-lg); color: var(--ink); }
.pull-quote p { margin: 0 0 .4em; }
.pull-quote cite { display: block; font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-style: normal; }
.pull-quote cite::before { content: "\2014\00a0"; }

/* Stat strip (big figures) */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--sp-4); margin: var(--sp-6) 0; border-top: 1.5px solid var(--line-strong); border-bottom: 1.5px solid var(--line-strong); padding: var(--sp-4) 0; }
.stat-value { display: block; font-family: var(--slab); font-size: var(--fs-2xl); line-height: 1; color: var(--pine); }
.stat-label { display: block; margin-top: var(--sp-1); font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }

/* Score bars (comparison intensity / rating) */
.score-group { display: grid; gap: var(--sp-3); margin: var(--sp-6) 0; }
.score-row { display: grid; grid-template-columns: 10rem 1fr auto; align-items: center; gap: var(--sp-3); }
.score-label { font-size: var(--fs-sm); }
.score-track { height: .7rem; background: var(--paper-2); border: 1px solid var(--line-strong); }
.score-fill { display: block; height: 100%; background: var(--moss); }
.score-num { font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink-soft); }

/* Pros / cons (two-column, semantic green/red edges) */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin: var(--sp-6) 0; }
.proscons > div { border: 1.5px solid var(--line-strong); padding: var(--sp-4); }
.proscons .pros { border-top: 4px solid var(--diff-easy); }
.proscons .cons { border-top: 4px solid var(--diff-expert); }
.proscons h4 { margin: 0 0 var(--sp-2); font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; }
.proscons .pros h4 { color: var(--diff-easy); }
.proscons .cons h4 { color: var(--diff-expert); }
.proscons ul { list-style: none; padding-left: 0; margin: 0; }
.proscons li { position: relative; padding-left: 1.5rem; margin-bottom: var(--sp-2); font-size: var(--fs-sm); }
.proscons .pros li::before { content: "\002B"; position: absolute; left: 0; color: var(--diff-easy); font-weight: 700; }
.proscons .cons li::before { content: "\2212"; position: absolute; left: 0; color: var(--diff-expert); font-weight: 700; }

/* Inline CTA button (internal paths only) */
.cta-inline-wrap { margin: var(--sp-6) 0; }
.cta-inline { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--paper); background: var(--pine); padding: .7rem 1.2rem; border: 1.5px solid var(--pine); }
.cta-inline:hover { background: var(--pine-deep); border-color: var(--pine-deep); text-decoration: none; }

@media (max-width: 560px) {
  .proscons { grid-template-columns: 1fr; }
  .score-row { grid-template-columns: 1fr auto; }
}

/* ---------- Page-load reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { opacity: 0; animation: rise .6s ease forwards; }
  .hero-title { animation-delay: .05s; }
  .hero-lead { animation-delay: .15s; }
  .hero-actions { animation-delay: .25s; }
  .hero .eyebrow { animation-delay: 0s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .profile-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
/* Collapse the dense mono nav to a menu button before it can overflow.
   With the wider item spacing the full 8-item nav needs ~1140px; below that,
   use the menu button. The active-item underline still applies in the drawer. */
@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 2px solid var(--ink); flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1.1rem 1.5rem; display: none; z-index: 41; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: .6rem; width: 100%; }
  .nav-cta { align-self: flex-start; }
}
@media (max-width: 760px) {
  .utility-strip .u-right { display: none; }
  .home-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap-cols { columns: 1; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
}
