/* Dust Bowl Outfitters
   Layout concept: full-bleed photography bands that slide past each other (parallax),
   separated by quiet caliche-colored reading sections. Type does the talking; no ornament.
   Single deliberate look (light page, dark shortgrass bands), so no dark-mode switch. */
:root {
  --caliche: #E9E7E0;      /* page ground: pale High Plains caliche */
  --paper: #F4F3EE;        /* raised surfaces */
  --ink: #1B1C19;          /* text */
  --ink-soft: #4B4E46;     /* secondary text */
  --sage: #7A8270;         /* sagebrush, quiet accents */
  --shortgrass: #262B22;   /* dark bands, footer */
  --wheat: #B4622B;        /* single accent: brand rust from the logo */
  --wheat-deep: #8C4A1F;
  --rule: rgba(27, 28, 25, .14);
  --rule-light: rgba(244, 243, 238, .18);
  --tbd: #F2D98A;          /* highlight for copy that still needs real info */

  --f-display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
  --f-body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: .8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  --step-4: clamp(3rem, 1.8rem + 5.6vw, 6.5rem);

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --maxw: 1240px;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--caliche);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: .95; letter-spacing: .005em; text-transform: uppercase; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1; }
p { margin: 0; max-width: 64ch; }
:focus-visible { outline: 2px solid var(--wheat); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.eyebrow { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.on-dark .eyebrow, .eyebrow.light { color: rgba(244, 243, 238, .72); }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); }
.on-dark .lede { color: rgba(244, 243, 238, .82); }
.tbd { background: var(--tbd); color: var(--ink); padding: 0 .25em; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6em; font-family: var(--f-mono); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 1rem 1.5rem; border: 1px solid currentColor; color: var(--ink); background: transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.solid { background: var(--wheat); border-color: var(--wheat); color: var(--ink); }
.btn.solid:hover { background: var(--paper); border-color: var(--paper); }
.btn.light { color: var(--paper); }
.btn.light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.textlink { font-family: var(--f-mono); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--wheat); padding-bottom: .2em; }
.textlink:hover { color: var(--wheat-deep); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); color: var(--paper); transition: color .35s; }
/* The solid background lives on a pseudo-element: a backdrop-filter on the header itself would trap the fixed mobile menu inside the bar */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(233, 231, 224, .96); box-shadow: 0 1px 0 var(--rule); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s; pointer-events: none; }
.site-header .bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header.solid, .site-header.always-solid { color: var(--ink); }
.site-header.solid::before, .site-header.always-solid::before { opacity: 1; }
.header-book { display: none; }
.brand { position: relative; z-index: 2; display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand .mark { font-family: var(--f-display); font-weight: 800; font-size: 1.75rem; letter-spacing: .04em; text-transform: uppercase; }
.brand .sub { font-family: var(--f-mono); font-size: .625rem; letter-spacing: .32em; text-transform: uppercase; margin-top: .3rem; opacity: .8; }
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding-block: .4rem; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--wheat); }
.nav .btn { padding: .7rem 1.1rem; color: inherit; }
.nav a.btn, .nav a.btn:hover { border-bottom-color: currentColor; }
.site-header.solid .nav .btn:hover, .site-header.always-solid .nav .btn:hover { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; background: none; border: 0; color: inherit; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .site-header .bar { gap: .9rem; }
  .header-book { display: inline-flex; margin-left: auto; padding: .55rem .85rem; font-size: .68rem; letter-spacing: .14em; background: var(--wheat); border-color: var(--wheat); color: var(--paper); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .3s, transform .3s, visibility 0s linear .3s; }
  .site-header.solid .header-book, .site-header.always-solid .header-book { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s, visibility 0s; }
  body.nav-open .header-book { opacity: 0; visibility: hidden; }
  .nav { visibility: hidden; transition: transform .45s cubic-bezier(.7,0,.2,1), visibility 0s linear .45s; }
  body.nav-open .nav { visibility: visible; transition: transform .45s cubic-bezier(.7,0,.2,1), visibility 0s; }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.6rem; background: var(--shortgrass); color: var(--paper); transform: translateY(-100%); }
  .nav a { font-family: var(--f-display); font-size: 2.4rem; font-weight: 800; letter-spacing: .03em; }
  .nav .btn { font-family: var(--f-mono); font-size: .8rem; margin-top: 1rem; }
  body.nav-open .nav { transform: none; }
  body.nav-open .site-header { color: var(--paper); }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Parallax media ---------- */
.px { position: relative; overflow: hidden; isolation: isolate; background: var(--shortgrass); }
.px-img { position: absolute; left: 0; right: 0; top: -22%; height: 144%; will-change: transform; }
.px-img img { width: 100%; height: 100%; object-fit: cover; }
.px::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { min-height: clamp(560px, 92vh, 960px); display: flex; align-items: flex-end; color: var(--paper); }
.hero::after { background: linear-gradient(180deg, rgba(20,22,18,.45) 0%, rgba(20,22,18,0) 30%, rgba(20,22,18,.05) 55%, rgba(20,22,18,.72) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(3rem, 8vh, 6rem); padding-top: calc(var(--header-h) + 3rem); }
.hero h1 { max-width: 12ch; }
.hero .lede { color: rgba(244,243,238,.88); margin-top: 1.4rem; max-width: 46ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero .coords { position: absolute; right: var(--gutter-r); bottom: clamp(3rem, 8vh, 6rem); font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; text-align: right; color: rgba(244,243,238,.7); line-height: 1.9; }
.hero.short { min-height: clamp(420px, 64vh, 640px); }
.hero.short h1 { max-width: 16ch; }
@media (max-width: 760px) { .hero .coords { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section.tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section.paper { background: var(--paper); }
.on-dark { background: var(--shortgrass); color: var(--paper); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split > * { min-width: 0; }
.stack { display: grid; gap: 1.4rem; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Intro statement */
.statement { font-family: var(--f-display); font-weight: 600; text-transform: none; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); line-height: 1.08; letter-spacing: 0; max-width: 24ch; }

/* ---------- Hunt cards (home) ---------- */
.hunt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 1080px) { .hunt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hunt-grid { grid-template-columns: 1fr; } .hunt-card { aspect-ratio: 4 / 3; } }
.hunt-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4.2; max-width: 100%; overflow: hidden; color: var(--paper); text-decoration: none; background: var(--shortgrass); }
.hunt-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hunt-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,18,0) 40%, rgba(20,22,18,.82) 100%); }
.hunt-card .body { position: relative; z-index: 1; padding: 1.5rem; display: grid; gap: .5rem; }
.hunt-card h3 { font-size: 2rem; }
.hunt-card .meta { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.hunt-card .go { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wheat); margin-top: .4rem; }
.hunt-card:hover img { transform: scale(1.05); }

/* ---------- Parallax band ---------- */
.band { min-height: clamp(420px, 70vh, 720px); display: flex; align-items: center; color: var(--paper); }
.band::after { background: rgba(20,22,18,.38); }
.band .wrap { position: relative; z-index: 1; width: 100%; }
.band blockquote { margin: 0; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.6rem); line-height: .98; max-width: 16ch; }
.band cite { display: block; margin-top: 1.6rem; font-style: normal; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }

/* ---------- Region facts ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.facts > div { padding: 1.6rem 1.4rem 1.6rem 0; border-right: 1px solid var(--rule); display: grid; gap: .3rem; align-content: start; }
.facts > div + div { padding-left: 1.4rem; }
.facts > div:last-child { border-right: 0; }
.facts .num { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.facts .label { font-size: .9375rem; color: var(--ink-soft); }
.on-dark .facts { border-color: var(--rule-light); }
.on-dark .facts > div { border-color: var(--rule-light); }
.on-dark .facts .label { color: rgba(244,243,238,.75); }
@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(2) { border-right: 0; }
  .facts > div:nth-child(3) { padding-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .on-dark .facts > div:nth-child(n+3) { border-top-color: var(--rule-light); }
}

/* ---------- Feature rows (image + text) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature.flip .media { order: 2; }
.feature + .feature { margin-top: clamp(4rem, 9vw, 7.5rem); }
.feature .media { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; background: var(--shortgrass); }
.feature .media .px-img { top: -12%; height: 124%; }
.feature .copy { display: grid; gap: 1.2rem; min-width: 0; }
.feature .copy .actions { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; margin-top: .6rem; }
@media (max-width: 860px) { .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip .media { order: 0; } }

/* Spec list (season / duration / price) */
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); margin: .4rem 0 0; }
.specs div { padding: .8rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: .1rem; }
.specs div:nth-child(odd) { padding-right: 1rem; }
.specs dt { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.specs dd { margin: 0; font-weight: 600; }
.on-dark .specs, .on-dark .specs div { border-color: var(--rule-light); }
.on-dark .specs dt { color: rgba(244,243,238,.65); }

/* Checklist */
.included { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.included li { padding-left: 1.6rem; position: relative; }
.included li::before { content: ""; position: absolute; left: 0; top: .72em; width: .8rem; height: 1px; background: var(--wheat); }

/* ---------- Species / field notes ---------- */
.field-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-light); }
.field-notes article { padding: 2rem 1.6rem 2.4rem 0; border-bottom: 1px solid var(--rule-light); display: grid; gap: .8rem; align-content: start; }
.field-notes article:not(:nth-child(3n)) { border-right: 1px solid var(--rule-light); }
.field-notes article:not(:nth-child(3n+1)) { padding-left: 1.6rem; }
.field-notes .figure { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem); line-height: 1; color: var(--wheat); font-variant-numeric: tabular-nums; }
.field-notes h3 { font-size: 1.5rem; }
.field-notes p { color: rgba(244,243,238,.8); font-size: 1rem; }
@media (max-width: 960px) {
  .field-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-notes article { padding-left: 0 !important; border-right: 0 !important; padding-right: 1.4rem; }
  .field-notes article:nth-child(even) { padding-left: 1.4rem !important; border-left: 1px solid var(--rule-light); }
}
@media (max-width: 600px) {
  .field-notes { grid-template-columns: 1fr; }
  .field-notes article:nth-child(even) { padding-left: 0 !important; border-left: 0; }
}
.sci { font-family: var(--f-mono); font-size: .8125rem; letter-spacing: .06em; color: rgba(244,243,238,.6); font-style: italic; }

/* Process steps (a real sequence, so numbered) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.steps li { counter-increment: step; display: grid; gap: .6rem; align-content: start; border-top: 1px solid var(--ink); padding-top: 1.2rem; }
.steps li::before { content: "Step " counter(step); font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wheat-deep); }
.steps h3 { font-size: 1.4rem; }
.steps p { font-size: .975rem; color: var(--ink-soft); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Package sidebar on species pages */
.package { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.4rem); display: grid; gap: 1.2rem; position: sticky; top: calc(var(--header-h) + 1.5rem); border: 1px solid var(--rule); }
.package .price { font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.package .price small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: .5rem; }
.package .btn { justify-content: center; }
@media (max-width: 860px) { .package { position: static; } }

/* Prose */
.prose { display: grid; gap: 1.2rem; }
.prose h2 { margin-top: 1.2rem; }
.prose h3 { margin-top: .8rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-weight: 400; font-size: 1.25rem; line-height: 1; color: var(--wheat-deep); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.4rem; color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.gallery { columns: 3 320px; column-gap: 1rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; position: relative; overflow: hidden; background: var(--shortgrass); cursor: zoom-in; }
.gallery figure img { width: 100%; height: auto; transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.gallery figure:hover img { transform: scale(1.03); opacity: .92; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem; color: var(--paper); font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; background: linear-gradient(180deg, transparent, rgba(20,22,18,.7)); opacity: 0; transition: opacity .3s; }
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { opacity: 1; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1400px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(16,17,14,.92); }
.lightbox img { max-height: 84vh; width: auto; margin-inline: auto; }
.lightbox p { color: var(--paper); font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; text-align: center; margin: 1rem auto 0; }
.lightbox button { position: fixed; top: calc(1rem + env(safe-area-inset-top, 0px)); right: calc(1rem + env(safe-area-inset-right, 0px)); background: none; border: 1px solid rgba(244,243,238,.5); color: var(--paper); font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; padding: .6rem 1rem; cursor: pointer; }

/* ---------- Contact ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1.4rem; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: .45rem; }
.field label { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 0; padding: .9rem 1rem; width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.form-note { font-size: .9375rem; color: var(--ink-soft); }
.form-status { grid-column: 1 / -1; padding: 1rem 1.2rem; background: var(--paper); border-left: 2px solid var(--wheat); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 1.6rem; }
.contact-list div { display: grid; gap: .25rem; }
.contact-list dt { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list dd { margin: 0; font-size: 1.125rem; font-weight: 600; }

/* ---------- CTA + footer ---------- */
.cta { text-align: left; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.cta h2 { max-width: 14ch; }
.site-footer { background: var(--shortgrass); color: var(--paper); padding-top: clamp(4rem, 8vw, 6rem); padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2.4rem; }
.footer-grid h4 { font-family: var(--f-mono); font-weight: 400; font-size: .6875rem; letter-spacing: .16em; color: rgba(244,243,238,.6); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--wheat); }
.footer-grid p { color: rgba(244,243,238,.75); font-size: .9375rem; }
.footer-brand .mark { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: .85; text-transform: uppercase; letter-spacing: .02em; }
.footer-base { margin-top: 4rem; padding-top: 1.4rem; border-top: 1px solid var(--rule-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(244,243,238,.55); }
.footer-base p { max-width: none; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* Breadcrumb */
.crumbs { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,243,238,.75); margin-bottom: 1.2rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--wheat); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .px-img { transform: none !important; }
}

/* Home hero video (toggle HERO_VIDEO in build.py to go back to a still photo) */
.px-img video { width: 100%; height: 100%; object-fit: cover; display: block; }
.px-img.video-layer { top: -6%; height: 112%; }
.video-toggle { position: absolute; z-index: 2; right: var(--gutter-r); bottom: 1.1rem; background: rgba(20,22,18,.35); border: 1px solid rgba(244,243,238,.35); color: var(--paper); font-family: var(--f-mono); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; padding: .45rem .7rem; cursor: pointer; opacity: .7; transition: opacity .25s; }
.video-toggle:hover, .video-toggle:focus-visible { opacity: 1; }

/* Brand logos */
.brand img { height: 46px; width: auto; display: block; }
.brand .logo-dark { display: none; }
.site-header.solid .brand .logo-light, .site-header.always-solid .brand .logo-light { display: none; }
.site-header.solid .brand .logo-dark, .site-header.always-solid .brand .logo-dark { display: block; }
body.nav-open .site-header .brand .logo-light { display: block; }
body.nav-open .site-header .brand .logo-dark { display: none; }
.footer-logo { width: min(320px, 100%); height: auto; }
.intro-badge img { width: min(240px, 60%); height: auto; }
@media (max-width: 860px) { .intro-badge img { width: 150px; } .brand img { height: 38px; } }
.btn.solid { color: var(--paper); }
.btn.solid:hover { color: var(--ink); }
.field-notes .figure { color: #D27A3E; }
.footer-grid li, .contact-list dd { overflow-wrap: anywhere; }
.footer-grid > div { min-width: 0; }
.included.not li::before { background: var(--ink-soft); width: .55rem; }
.included.not li { color: var(--ink-soft); }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.team-card { display: grid; gap: .35rem; align-content: start; }
.team-card > img, .team-ph { aspect-ratio: 4 / 5; width: 100%; max-width: 100%; object-fit: cover; background: var(--shortgrass); margin-bottom: .8rem; }
.team-ph { position: relative; display: grid; place-items: center; color: var(--paper); overflow: hidden; }
.team-ph img { position: absolute; width: 38%; opacity: .18; bottom: 8%; }
.team-ph span { font-family: var(--f-display); font-weight: 800; font-size: 4rem; letter-spacing: .04em; position: relative; }
.team-ph small { position: absolute; bottom: 1rem; font-family: var(--f-mono); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
.team-card h3 { font-size: 1.75rem; }
.team-card p { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wheat-deep); }
@media (max-width: 760px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .team { grid-template-columns: 1fr; } }
.footer-grid a { text-decoration: none; }

/* Mobile: the hero copy covers most of the frame, so darken the video/photo more evenly for legibility */
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(20,22,18,.55) 0%, rgba(20,22,18,.38) 35%, rgba(20,22,18,.42) 60%, rgba(20,22,18,.78) 100%); }
}

/* ---------- Dumas topo map texture ---------- */
.on-dark, .topo-hero, .cta, .topo-band, .site-footer, .section.paper { position: relative; isolation: isolate; }
.on-dark::before, .topo-hero::before, .cta::before, .topo-band::before, .site-footer::before, .section.paper::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/brand/topo-light.png") center / 1100px auto repeat; opacity: .1; }
.site-footer::before { opacity: .08; }
.section.paper::before { background-image: url("../img/brand/topo-rust.png"); opacity: .09; }
.topo-hero { background: var(--shortgrass); min-height: clamp(380px, 54vh, 560px); }
.topo-hero::before { opacity: .2; background-size: 1300px auto; }
.topo-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 15% 100%, rgba(38,43,34,.9) 0%, rgba(38,43,34,0) 60%); }

/* ---------- Resources ---------- */
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.res-card { position: relative; display: grid; gap: .6rem; align-content: start; padding: 1.6rem 1.5rem 1.8rem; background: var(--caliche); text-decoration: none; color: var(--ink); transition: background .25s; }
.section.paper .res-card { background: var(--paper); }
.res-card:hover { background: var(--shortgrass); color: var(--paper); }
.res-card h3 { font-size: 1.5rem; padding-right: 1.5rem; }
.res-card p { font-size: .975rem; color: inherit; opacity: .8; }
.res-src { font-family: var(--f-mono); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wheat); }
.res-go { position: absolute; top: 1.4rem; right: 1.4rem; font-size: 1.1rem; color: var(--wheat); transition: transform .25s; }
.res-card:hover .res-go { transform: translate(3px, -3px); }
.waiver-band .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.waiver-band h2 { max-width: 16ch; }
.form-note a { color: inherit; }

/* ---------- Waiver ---------- */
.wrap.narrow { max-width: 820px; }
.waiver fieldset { border: 0; padding: 0; margin: 0 0 3.5rem; min-width: 0; }
.waiver legend { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); text-transform: uppercase; line-height: 1.05; margin-bottom: 1.4rem; padding: 0; }
.waiver .form + .form { margin-top: 1.2rem; }
.w-warn { padding: 1rem 1.2rem; background: var(--paper); border-left: 2px solid var(--wheat); margin-bottom: 1.4rem; font-weight: 600; }
.w-text { border-top: 1px solid var(--rule); }
.w-clause { padding: 1.4rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: .6rem; }
.w-clause h3 { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.w-clause p { font-size: 1rem; line-height: 1.65; }
.w-clause.loud p { font-weight: 700; }
.initial { display: flex; align-items: center; gap: .8rem; margin-top: .4rem; }
.initial label { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wheat-deep); }
.initial input { width: 5.5rem; font: inherit; font-weight: 700; text-transform: uppercase; text-align: center; padding: .55rem .6rem; background: var(--paper); border: 1px solid var(--ink); border-radius: 0; }
.check { display: flex; gap: .8rem; align-items: flex-start; font-size: 1rem; line-height: 1.5; margin-bottom: 1.1rem; cursor: pointer; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; flex: none; accent-color: var(--wheat); }
.guardian { margin: -.2rem 0 1.3rem; }
.sig { margin-top: 1.4rem; border: 1px solid var(--ink); background: var(--paper); }
.sig-head { display: flex; justify-content: space-between; align-items: center; padding: .6rem .9rem; border-bottom: 1px solid var(--rule); font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.sig-clear { font: inherit; letter-spacing: inherit; text-transform: inherit; background: none; border: 0; color: var(--wheat-deep); cursor: pointer; padding: .2rem .4rem; }
.sig canvas { display: block; width: 100%; height: 190px; touch-action: none; cursor: crosshair; }
.w-submit { margin-top: 1.8rem; }
.waiver .form-status { margin-top: 1.2rem; }
.waiver .invalid { border-color: #A33 !important; }
.sig.invalid { border-color: #A33; }
@media (max-width: 760px) { .waiver .form { grid-template-columns: 1fr; } .sig canvas { height: 170px; } }

/* Mobile menu panel gets the topo too */
@media (max-width: 900px) {
  .nav { background: url("../img/brand/topo-light.png") center / 1100px auto repeat, var(--shortgrass); background-blend-mode: normal; }
  .nav::before { content: ""; position: absolute; inset: 0; background: rgba(38,43,34,.9); z-index: -1; }
  .nav { isolation: isolate; }
}

/* Home intro: badge centered in its column */
.intro-badge { display: flex; justify-content: center; align-items: center; align-self: stretch; }
@media (max-width: 900px) {
  .nav { gap: 1rem; padding-top: var(--header-h); }
  .nav a { font-size: clamp(1.8rem, 7vw, 2.3rem); }
}
