/* ============================================================
   CAMPER VAN DEPOT - site.css
   ------------------------------------------------------------
   One system, three liveries: Build, Shop, Go. Paper and ink
   carry 80% of every screen; each section owns a hue + a marker
   shape used at small scale (chips, tags, rules). Orange is the
   only CTA colour. The Baja stripe band (cream, sun, orange,
   rust, teal) is the one accent system layered on top. No
   photography: drawings are inline SVG in ink with flat fills.
   ============================================================ */

:root {
  /* surfaces + ink */
  --paper:   #F6F3EC;
  --paper-2: #ECE7DC;
  --card:    #FFFFFF;
  --ink:     #15191E;
  --ink-2:   #4C545C;   /* secondary text, AA on paper */
  --ink-3:   #646C74;   /* placeholders, codes; 4.6:1 on paper */
  --hue-ink: color-mix(in srgb, var(--hue) 52%, var(--ink));  /* AA on both paper surfaces */
  --rule:    #D9D3C7;
  --rule-2:  #C3BCAE;

  /* the three liveries (hue + shape). Hues are never text on paper: text goes through --hue-ink. */
  --build:   #E2601F;   /* square   . burnt orange, also the CTA */
  --shop:    #1F7F8C;   /* circle   . teal */
  --go:      #D29A1C;   /* triangle . mustard; events inside Go */
  --go-camp: #2E7D4F;   /* camp spots inside Go */
  --cta:    var(--build);
  --cta-ink: var(--ink);

  /* Baja stripe set, top to bottom */
  --baja-cream:  #F3E4C3;
  --baja-sun:    #D29A1C;
  --baja-orange: #E2601F;
  --baja-rust:   #9E3B1E;
  --baja-teal:   #1F7F8C;

  /* status */
  --ok:     #2E7D4F;
  --warn:   #B8322B;

  /* type */
  --ff-d: "Archivo", "Helvetica Neue", Arial, "Liberation Sans", sans-serif;
  --ff-b: "Archivo", "Helvetica Neue", Arial, "Liberation Sans", sans-serif;
  --ff-m: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  /* rhythm */
  --gut:  clamp(16px, 4vw, 32px);
  --wrap: 1280px;
  --sect: clamp(56px, 8vw, 112px);
  --r:    6px;
  --r-lg: 12px;
  --shadow: 0 1px 0 rgba(21,25,30,.04), 0 8px 24px -12px rgba(21,25,30,.18);
  --ease: cubic-bezier(.22,.61,.36,1);
  --hue: var(--build);   /* per-page livery; body[data-vertical] sets it */
}
body[data-vertical="build"] { --hue: var(--build); }
body[data-vertical="shop"]  { --hue: var(--shop); }
body[data-vertical="go"]    { --hue: var(--go); }
/* hue utilities for tags and eyebrows inside Go (camp spots are green, events mustard) */
.hue-go   { --hue: var(--go); }
.hue-camp { --hue: var(--go-camp); }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--ff-b); font-size: 17px; line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
.ic { width: 20px; height: 20px; flex: none; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--shop); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--build); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sect { padding-block: var(--sect); }
.sect + .sect { padding-top: 0; }
/* the last section ends flush so the footer's own top margin is the only gap (a hidden trailing section does not count) */
main > .sect:last-of-type, main > .sect:has(+ .sect[hidden]:last-of-type) { padding-bottom: 0; }
[id] { scroll-margin-top: 132px; }

/* ---------- type ---------- */
.d, h1, h2, h3, h4 {
  font-family: var(--ff-d); font-weight: 800; line-height: 1;
  letter-spacing: -0.01em; margin: 0; text-wrap: balance;
}
h1, .h1 { font-size: clamp(40px, 6.4vw, 84px); font-variation-settings: "wdth" 80; text-transform: uppercase; line-height: .92; }
h2, .h2 { font-size: clamp(26px, 3.6vw, 44px); font-variation-settings: "wdth" 86; font-weight: 750; letter-spacing: -0.015em; }
h3, .h3 { font-size: clamp(18px, 1.6vw, 22px); font-variation-settings: "wdth" 96; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
h4, .h4 { font-size: 15px; font-weight: 700; font-variation-settings: "wdth" 100; line-height: 1.3; letter-spacing: 0; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }

/* mono register: eyebrows, chips, codes, meta */
.m, .eyebrow, .chip, .tag, .code, .meta, .btn, .stamp, .count {
  font-family: var(--ff-m); font-variation-settings: normal;
}
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--hue-ink); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .mk { flex: none; }
.meta { font-size: 12.5px; color: var(--ink-2); letter-spacing: .02em; }
.code { font-size: 11px; letter-spacing: .12em; color: var(--ink-3); text-transform: uppercase; }

/* ---------- marker shapes (one per section) ---------- */
.mk { display: inline-block; width: 10px; height: 10px; background: var(--hue); flex: none; }
.mk-build { --hue: var(--build); border-radius: 1px; }
.mk-shop  { --hue: var(--shop);  border-radius: 50%; }
.mk-go    { --hue: var(--go); width: 0; height: 0; background: none; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid var(--go); }
.hue-camp .mk-go, .mk-go.hue-camp { border-bottom-color: var(--go-camp); }
.mk.lg { transform: scale(1.8); margin: 4px 8px; }

/* ---------- Baja stripe band ---------- */
/* five equal bands, no gaps, full width; renders as an empty block (div or hr) */
.stripes {
  display: block; width: 100%; height: 10px; margin: 0; padding: 0; border: 0;
  background: linear-gradient(180deg, var(--baja-cream) 0 20%, var(--baja-sun) 20% 40%, var(--baja-orange) 40% 60%, var(--baja-rust) 60% 80%, var(--baja-teal) 80% 100%);
}
.stripes.thin { height: 6px; }
hr.stripes { margin-block: 32px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: var(--r);
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
  transition: transform .15s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn:disabled:hover { background: var(--cta); color: var(--cta-ink); }
.btn-cta { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); }
.btn-cta:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ghost { border-color: var(--rule-2); }
.btn-ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-hue { border-color: var(--hue); color: var(--hue-ink); }
.btn-hue:hover { background: var(--hue-ink); border-color: var(--hue-ink); color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: 12px; }
.btn .ic { width: 16px; height: 16px; }
.link {
  font-family: var(--ff-m); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; color: var(--ink); border-bottom: 1.5px solid var(--hue); padding-bottom: 2px;
}
.link:hover { color: var(--hue-ink); }
@media (max-width: 1023px) { .link { min-height: 44px; } }
.link .ic { width: 14px; height: 14px; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 13px;
  border: 1px solid var(--rule-2); border-radius: 999px; background: var(--card);
  font-size: 12.5px; font-weight: 500; letter-spacing: .04em; white-space: nowrap; scroll-snap-align: start;
  transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip .mk { width: 8px; height: 8px; }
.chip.ex { border-style: dashed; color: var(--ink-2); }
.chip.ex:hover { color: var(--ink); border-style: solid; }

/* ---------- tags + stamps (on cards) ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--hue-ink);
}
.tag .mk { width: 8px; height: 8px; }
/* the Go triangle keeps its shape inside chips and tags (the 8px marker box above would flatten it) */
.chip .mk-go, .tag .mk-go { width: 0; height: 0; border-left-width: 5px; border-right-width: 5px; border-bottom-width: 8px; }
.stamp {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px;
  border: 1px solid currentColor; border-radius: 3px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.stamp-published { --hue: var(--ok); color: var(--hue-ink); }
.stamp-featured  { --hue: var(--build); color: var(--hue-ink); }
.stamp-verified  { --hue: var(--shop); color: var(--hue-ink); }
.stamp-sponsored { color: var(--ink-2); background: var(--paper-2); border-color: var(--rule-2); }
.stamp-pending   { --hue: var(--go); color: var(--hue-ink); }
.stamp-hidden    { color: var(--ink-3); }
.stamp-excluded  { color: var(--warn); }
.stamp-free      { --hue: var(--go-camp); color: var(--hue-ink); }
.stamp-deal      { --hue: var(--go); color: var(--hue-ink); background: color-mix(in srgb, var(--baja-sun) 22%, var(--card)); border-color: color-mix(in srgb, var(--baja-sun) 55%, var(--rule-2)); }
.stamp .ic { width: 11px; height: 11px; }

/* ---------- header (the partial places .stripes.thin right after </header>) ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.hdr .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--ff-d); font-weight: 800; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; font-variation-settings: "wdth" 80; white-space: nowrap; }
.wordmark { width: 178px; height: 40px; flex: none; }
.nav { display: none; gap: 4px; margin-inline: auto; }
.nav a {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: var(--r);
  font-family: var(--ff-m); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  position: relative; transition: background .15s;
}
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 7px; height: 2px; background: var(--hue-nav, transparent); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after, .nav a.is-hi::after { transform: scaleX(1); }
.nav a[data-v="build"] { --hue-nav: var(--build); }
.nav a[data-v="shop"]  { --hue-nav: var(--shop); }
.nav a[data-v="go"]    { --hue-nav: var(--go); }
.hdr-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ibtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid transparent; }
.ibtn:hover { border-color: var(--rule-2); background: var(--card); }
.ibtn .ic { width: 20px; height: 20px; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
}
@media (max-width: 359px) { .hdr .wordmark { width: 140px; } }
/* mobile sheet: three items, big type */
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--paper); display: none; flex-direction: column; padding: 0 var(--gut) 24px; overflow: auto; }
.sheet.is-open { display: flex; }
.sheet .top { display: flex; align-items: center; justify-content: space-between; min-height: 60px; border-bottom: 1px solid var(--rule); }
.sheet nav { display: grid; gap: 4px; padding-top: 12px; }
.sheet nav a { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 8px; border-bottom: 1px solid var(--rule); font-family: var(--ff-d); font-variation-settings: "wdth" 85; font-weight: 800; font-size: 26px; text-transform: uppercase; }
.sheet nav a .mk.lg { margin: 0 8px 0 4px; }
.sheet nav a small { margin-left: auto; font-family: var(--ff-m); font-size: 11px; font-weight: 500; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
.sheet .more { display: grid; gap: 10px; padding-top: 20px; }
body.no-scroll { overflow: hidden; }

/* ---------- search bar ---------- */
.search {
  display: flex; align-items: stretch; background: var(--card); border: 1.5px solid var(--rule-2); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden; transition: border-color .15s;
}
.search:focus-within { border-color: var(--ink); }
.search .ic-lead { width: 20px; height: 20px; align-self: center; margin-left: 16px; color: var(--ink-3); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 14px; height: 56px; font-size: 16px; }
.search input:focus-visible, .search .go:focus-visible { outline-offset: -4px; border-radius: 6px; }
.search input::placeholder { color: var(--ink-3); }
.search .go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; background: var(--cta); color: var(--cta-ink); font-family: var(--ff-m); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; flex: none; }
.search .go:hover { background: var(--ink); color: var(--paper); }
.search .go .ic { width: 18px; height: 18px; }
.search .go span { display: none; }
@media (min-width: 640px) { .search .go span { display: inline; } .search .go { padding: 0 24px; } }
.search-lg input { height: 60px; font-size: 17px; }

/* facet bar (search + section pages) */
.facets { display: grid; gap: 10px; grid-template-columns: 1fr; }
.facets .f { display: grid; gap: 4px; min-width: 0; }
.facets label { font-family: var(--ff-m); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.facets select, .facets input {
  height: 48px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: var(--r); background: var(--card); font-size: 16px; width: 100%; min-width: 0;
  appearance: none; -webkit-appearance: none;
}
.facets select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2315191E' stroke-width='1.5'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.facets select:focus, .facets input:focus { border-color: var(--ink); }
.facets .act { display: flex; gap: 8px; align-items: end; }
@media (min-width: 900px) { .facets { grid-template-columns: 1.2fr 1fr 1fr 1fr auto; align-items: end; } }

/* results header */
.rhead { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 20px 0 24px; }
.rhead .count { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; min-width: 0; overflow-wrap: anywhere; }
.rhead .count b { color: var(--hue-ink); }
.rhead .ctx { font-family: var(--ff-m); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.rhead .chip { white-space: normal; max-width: 100%; overflow-wrap: anywhere; }
.rhead .chip .k { white-space: nowrap; }
.rhead .sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-family: var(--ff-m); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.rhead .sort select { height: 44px; border: 1px solid var(--rule-2); border-radius: var(--r); background: var(--card); padding: 0 10px; font-family: var(--ff-m); font-size: 16px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--ff-m); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; }
.toggle input { width: 16px; height: 16px; accent-color: var(--ink); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; min-width: 0;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg);
  transition: border-color .15s, transform .15s var(--ease), box-shadow .2s;
}
.card:hover { border-color: var(--rule-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.card > a.cover { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.card .stamps { display: flex; gap: 6px; flex-wrap: wrap; position: relative; z-index: 2; }
.card h3 { font-size: 17px; line-height: 1.25; }
.card .blurb { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--rule); flex-wrap: wrap; }
.card .price { font-family: var(--ff-d); font-variation-settings: "wdth" 88; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.card .price small { font-family: var(--ff-m); font-size: 11px; font-weight: 500; color: var(--ink-2); margin-left: 4px; letter-spacing: .06em; }
.card .rating { font-family: var(--ff-m); font-size: 12px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 5px; }
.card .rating .ic { width: 12px; height: 12px; color: var(--go); }
.card .access { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-m); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; --hue: var(--go-camp); color: var(--hue-ink); } /* "Van accessible" on camp spots */
.card .access .ic { width: 12px; height: 12px; }
.card .spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; overflow-wrap: break-word; hyphens: auto; }
.card .spec div { font-family: var(--ff-m); font-size: 11px; line-height: 1.3; color: var(--ink-2); letter-spacing: .02em; }
.card .spec b { display: block; font-family: var(--ff-d); font-weight: 800; font-size: clamp(15px, 1.4vw, 18px); color: var(--ink); font-variation-settings: "wdth" 85; letter-spacing: -0.01em; }
.grid-4 .card .spec b { font-size: 15px; } /* four-up columns are narrow: values fit without mid-word breaks */
.card .amen { display: flex; flex-wrap: wrap; gap: 6px; }
.card .amen span { font-family: var(--ff-m); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border: 1px solid var(--rule); border-radius: 3px; color: var(--ink-2); }
.card .acts { display: inline-flex; align-items: center; gap: 12px; position: relative; z-index: 2; flex-wrap: wrap; }
.card .site { display: none; font-family: var(--ff-m); font-size: 11px; color: var(--ink-2); align-items: center; gap: 5px; overflow-wrap: anywhere; }
.card .site .ic { width: 12px; height: 12px; }
@media (min-width: 640px) { .card .site { display: inline-flex; } }
.card .date { display: inline-flex; align-items: center; gap: 10px; }
.card .date .d { width: 48px; height: 48px; display: grid; place-items: center; text-align: center; background: var(--paper-2); border-radius: var(--r); font-size: 11px; line-height: 1; letter-spacing: .06em; font-family: var(--ff-m); }
.card .date .d b { display: block; font-family: var(--ff-d); font-size: 20px; font-weight: 800; margin-bottom: 3px; }
.card.is-featured { border-color: color-mix(in srgb, var(--build) 45%, var(--rule)); }
.card.is-sponsored { background: linear-gradient(180deg, var(--paper-2), var(--card) 40%); }

/* gridded photo slot: proves the page works with and without imagery */
.slot {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); border: 1px solid var(--rule);
  background-color: var(--paper);
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 32px 32px;
  display: grid; place-items: center; overflow: hidden; margin: -4px 0 4px;
}
.slot::after { content: ""; position: absolute; inset: 10px; border: 1px solid var(--rule-2); pointer-events: none; }
.slot .ic { width: 64px; height: 64px; padding: 10px; box-sizing: content-box; background: var(--paper); color: var(--ink-2); }
.slot .draw-van { width: 90%; max-height: 100%; color: var(--ink-2); }
.slot i { position: absolute; left: 10px; bottom: 6px; z-index: 1; font-family: var(--ff-m); font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); padding: 2px 6px; border-radius: 3px; } .slot.wide { aspect-ratio: 16 / 7; }

/* skip link */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: var(--r); font-family: var(--ff-m); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.skip:focus { top: 12px; }

/* one panel for every inert "submit for review" block */
.panel { background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--hue); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.panel .fields { display: grid; gap: 14px; }
@media (min-width: 900px) { .panel .fields { grid-template-columns: 1fr 1fr; } .panel .fields .span { grid-column: 1 / -1; } }

/* zero state + load more */
.zero { padding: 40px 24px; border: 1px dashed var(--rule-2); border-radius: var(--r-lg); text-align: center; display: grid; gap: 12px; justify-items: center; }
.zero .ic { width: 40px; height: 40px; color: var(--ink-3); }
.zero h3 { font-size: 20px; }
.zero-art { width: 128px; height: 80px; color: var(--ink-2); }
.more { display: flex; justify-content: center; padding: 24px 0 0; }

/* ---------- page header band (section pages) ---------- */
.band { border-top: 4px solid var(--hue); background: var(--card); border-bottom: 1px solid var(--rule); }
.band .wrap { display: grid; gap: 20px; padding: 32px 0 28px; align-items: end; }
.band .wrap > div:first-child { display: grid; gap: 14px; }
.band .eyebrow { color: var(--hue-ink); }
.band .lead { max-width: 60ch; }
.band .draw { display: none; border: 1px solid var(--rule); border-radius: var(--r); padding: 12px; background: var(--paper); }
@media (min-width: 900px) {
  .band .wrap { grid-template-columns: 1.3fr 1fr; padding: 44px 0 36px; }
  .band .draw { display: block; justify-self: end; width: 100%; max-width: 420px; }
}
.band .draw svg { width: 100%; height: auto; }
.drawing-caption { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--rule); padding-top: 10px; font: 10px var(--ff-m); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.drawing-caption b { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--hue); border-radius: 50%; color: var(--hue-ink); }
.subnav { background: var(--card); border-bottom: 1px solid var(--rule); position: sticky; top: 60px; z-index: 40; }
.subnav .wrap { padding: 10px 0; }

/* ---------- sections ---------- */
.shead { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.shead > div { display: grid; gap: 10px; }
.shead .link { flex: none; }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.dark { background: var(--ink); color: var(--paper); --rule: #2A3037; --rule-2: #3A4149; --card: #1D2228; --ink-2: #AEB5BC; --ink-3: #7F878F; --paper-2: #23292F; }
.dark .card { color: var(--paper); }
.dark .card h3, .dark .card .price, .dark .card .spec b { color: var(--paper); }
.dark :focus-visible, .ftr :focus-visible { outline-color: var(--paper); }
.paper2 { background: var(--paper-2); }
.two { display: grid; gap: 40px; }
@media (min-width: 1024px) { .two { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* ---------- lists ---------- */
.list { display: grid; }
.list a, .list .row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.list .row:first-child, .list a:first-child { border-top: 1px solid var(--rule); }
.list h4 { font-size: 16px; }
.list .meta { display: block; margin-top: 2px; }
.list .ic { width: 22px; height: 22px; color: var(--hue); }
.list .chev { width: 16px; height: 16px; color: var(--ink-3); }

/* ---------- drawings (section band line art, zero-state art) ---------- */
.draw-van path, .draw-van line, .draw-van circle, .draw-van rect, .draw-van polyline, .draw-van polygon {
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: round; vector-effect: non-scaling-stroke;
}
.draw-van .hid { stroke-dasharray: 4 3; }
.draw-van .cl { stroke-dasharray: 12 4 2 4; stroke-width: 1; opacity: .6; }
/* with pathLength=1 the dash units are fractions of the path, so scale the patterns */
.draw-van [pathLength].hid { stroke-dasharray: .035 .025; }
.draw-van [pathLength].cl { stroke-dasharray: .06 .02 .012 .02; }
.draw-van .dim { stroke-width: 1; opacity: .8; }
.draw-van .dim-t { font-family: var(--ff-m); font-size: 11px; fill: currentColor; stroke: none; letter-spacing: .08em; }
.draw-van .fill { fill: var(--paper-2); stroke: none; }
.draw-van .glass { fill: color-mix(in srgb, var(--shop) 5%, var(--paper)); }
.draw-van .tread { stroke-width: 1; }
.draw-van .part { transition: stroke .2s, fill .2s; }
.draw-van .part.is-hi { stroke: var(--build); stroke-width: 2.25; }
.draw-van .callout { cursor: pointer; }
.draw-van .callout .hit { fill: transparent; stroke: none; }
.draw-van .callout circle.disc { fill: var(--build); stroke: none; transition: transform .25s var(--ease); transform-box: fill-box; transform-origin: center; }
.draw-van .callout text { font-family: var(--ff-m); font-size: 11px; font-weight: 600; fill: var(--ink); stroke: none; letter-spacing: .02em; }
.draw-van .callout .lbl { font-size: 11px; letter-spacing: .14em; fill: currentColor; font-weight: 600; }
.draw-van .callout .lead { stroke-width: 1; }
.draw-van .callout:hover .lead, .draw-van .callout:focus-visible .lead, .draw-van .callout.is-hi .lead { stroke: var(--build); stroke-width: 1.5; }
.draw-van .callout:hover .disc, .draw-van .callout.is-hi .disc { transform: scale(1.18); }
.draw-van .callout:hover .lbl, .draw-van .callout.is-hi .lbl { fill: var(--build); }
.draw-van .callout:focus-visible { outline: none; }
.draw-van .callout:focus-visible .hit { stroke: var(--shop); stroke-width: 2; }
/* draw-on: paths carry pathLength=1 */
.draw-van.anim [pathLength]:not(.hid):not(.cl) { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawon 1.3s var(--ease) forwards; }
.draw-van.anim .hid, .draw-van.anim .cl { opacity: 0; animation: fadein .5s var(--ease) 1.1s forwards; }
.draw-van.anim .cl { animation-name: fadein-cl; }
@keyframes fadein-cl { to { opacity: .6; } }
.draw-van.anim .callout { opacity: 0; animation: fadein .4s var(--ease) forwards; animation-delay: 1.15s; }
.draw-van.anim .callout:nth-child(2) { animation-delay: 1.27s; } .draw-van.anim .callout:nth-child(3) { animation-delay: 1.39s; }
@keyframes drawon { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.sheet-grid {
  background-image: linear-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-size: 32px 32px;
}
.pict { width: 24px; height: 24px; } .pict.lg { width: 48px; height: 48px; } .pict.xl { width: 72px; height: 72px; }

/* ---------- hero van (inline SVG from _partials/hero-van.svg; index.html adds the three callouts) ---------- */
.hero-van { width: 100%; height: auto; color: var(--ink); overflow: visible; }
.hero-van :is(path, rect, circle, ellipse, line, polygon, polyline) { vector-effect: non-scaling-stroke; }
.hero-van .hv { transition: stroke .2s, stroke-width .2s; }
.hero-van .hv.is-hi { stroke: var(--build); stroke-width: 2.5; }
.hero-van .callout { cursor: pointer; }
.hero-van .callout .hit { fill: transparent; stroke: none; }
.hero-van .callout .lead { fill: none; stroke: currentColor; stroke-width: 1; transition: stroke .2s; }
.hero-van .callout .disc { fill: var(--build); stroke: none; transition: transform .25s var(--ease); transform-box: fill-box; transform-origin: center; }
.hero-van .callout text { font-family: var(--ff-m); font-size: 11px; font-weight: 600; fill: var(--ink); stroke: none; letter-spacing: .02em; }
.hero-van .callout .lbl { letter-spacing: .14em; transition: fill .2s; }
.hero-van .callout:hover .disc, .hero-van .callout:focus-visible .disc, .hero-van .callout.is-hi .disc { transform: scale(1.18); }
.hero-van .callout:hover .lbl, .hero-van .callout:focus-visible .lbl, .hero-van .callout.is-hi .lbl { fill: var(--hue-ink); }
.hero-van .callout:hover .lead, .hero-van .callout:focus-visible .lead, .hero-van .callout.is-hi .lead { stroke: var(--build); stroke-width: 1.5; }
.hero-van .callout:focus-visible { outline: none; }
.hero-van .callout:focus-visible .hit { stroke: var(--shop); stroke-width: 2; }

/* ---------- forms (generic) ---------- */
.field { display: grid; gap: 6px; }
.field label { font-family: var(--ff-m); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea { min-height: 48px; padding: 10px 12px; border: 1px solid var(--rule-2); border-radius: var(--r); background: var(--card); font-size: 16px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.note { font-family: var(--ff-m); font-size: 12px; color: var(--ink-2); line-height: 1.5; padding: 12px 14px; border-left: 3px solid var(--hue); background: var(--card); border-radius: 0 var(--r) var(--r) 0; }

/* ---------- tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-family: var(--ff-m); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 10px 12px; border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tbl tr:hover td { background: var(--card); }
.tbl .num { font-family: var(--ff-m); font-size: 13px; text-align: right; white-space: nowrap; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--card); scroll-padding-inline: 100px 16px; }
.tbl-wrap .tbl { min-width: 640px; }

/* ---------- Go calendar (events in --go, camp spots in --go-camp) ---------- */
.cal { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.cal .cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.cal .cal-head :is(h2, h3, .mh) { font-family: var(--ff-d); font-variation-settings: "wdth" 84; font-weight: 800; font-size: clamp(18px, 2vw, 24px); line-height: 1; letter-spacing: 0; text-transform: uppercase; }
.cal .cal-head .ibtn { border-color: var(--rule-2); }
.cal .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal .dow { font-family: var(--ff-m); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 8px 6px 6px; text-align: center; border-left: 1px solid var(--rule); }
.cal .day { position: relative; min-height: 76px; min-width: 0; padding: 6px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.cal .dow:nth-child(7n + 1), .cal .day:nth-child(7n + 1) { border-left: 0; }
.cal .day.is-out { background: var(--paper-2); color: var(--ink-3); } .cal .day.is-today { outline: 2px solid var(--ink); outline-offset: -2px; }
.cal .day .n { display: block; font-family: var(--ff-m); font-size: 11px; letter-spacing: .04em; } .cal .day.is-today .n { font-weight: 600; }
.cal .ev { display: block; width: 100%; text-align: left; font: 11px/1.25 var(--ff-m); padding: 3px 6px; margin-top: 4px; border-radius: 3px; border-left: 3px solid var(--go); background: color-mix(in srgb, var(--go) 18%, var(--card)); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal .ev:hover { background: color-mix(in srgb, var(--go) 32%, var(--card)); } .cal .ev.is-camp:hover { background: color-mix(in srgb, var(--go-camp) 26%, var(--card)); }
.cal .ev.is-camp { border-left-color: var(--go-camp); background: color-mix(in srgb, var(--go-camp) 14%, var(--card)); }
.cal .more-n { display: block; margin-top: 4px; font-family: var(--ff-m); font-size: 11px; letter-spacing: .04em; color: var(--ink-2); }
.cal .legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 10px 12px; border-top: 1px solid var(--rule); font-family: var(--ff-m); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.cal .legend span { display: inline-flex; align-items: center; gap: 6px; } .cal .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--go); }
.cal .legend .is-camp i, .cal .legend i.is-camp { background: var(--go-camp); }
@media (max-width: 639px) {
  .cal .day { min-height: 44px; padding: 4px; }
  .cal .day .n { font-size: 11px; }
  /* phones: each item is an 8px dot with its text visually hidden; the day cell is the tap target */
  .cal .ev { display: inline-block; vertical-align: top; width: 8px; height: 8px; padding: 0; margin: 4px 3px 0 0; border: 0; border-radius: 50%; background: var(--go); color: transparent; text-indent: 200%; }
  .cal .ev.is-camp { background: var(--go-camp); }
  .cal .more-n { font-size: 11px; }
}
/* touch tablets get the desktop grid: give each event chip a usable target */
@media (pointer: coarse) and (min-width: 640px) { .cal .ev { min-height: 32px; padding-block: 8px; } }

/* ---------- GO MAP (go.html: Leaflet panel beside the calendar; pins in --go / --go-camp) ---------- */
.gowrap { display: grid; gap: 16px; align-items: start; }
.gowrap.no-map { grid-template-columns: 1fr; } /* Leaflet did not load: the calendar takes the full width */
.viewtoggle { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule-2); border-radius: var(--r); background: var(--card); overflow: hidden; }
.viewtoggle button { min-height: 44px; font-family: var(--ff-m); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.viewtoggle button + button { border-left: 1px solid var(--rule-2); }
.viewtoggle button:hover { color: var(--ink); }
.viewtoggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.viewtoggle button:focus-visible { outline-offset: -3px; border-radius: 0; }
.gomap { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; }
.gomap-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.gomap-head h2 { font-family: var(--ff-d); font-variation-settings: "wdth" 84; font-weight: 800; font-size: clamp(18px, 2vw, 24px); line-height: 1; letter-spacing: 0; text-transform: uppercase; }
.gomap-head .n { margin-left: auto; font-family: var(--ff-m); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.gomap-head .n b { color: var(--hue-ink); font-weight: 600; }
.gomap .map { position: relative; z-index: 0; isolation: isolate; height: 380px; background: var(--paper-2); } /* isolate keeps Leaflet's panes under the sticky header */
.gomap .legend { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 10px 12px; border-top: 1px solid var(--rule); font-family: var(--ff-m); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.gomap .legend span { display: inline-flex; align-items: center; gap: 6px; }
.gomap .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--go); }
.gomap .legend .is-camp i { background: var(--go-camp); }
.gomap .legend .hint { margin-left: auto; }
@media (max-width: 639px) {
  /* phones: the hint is its own caption row under the swatches, left-aligned like the calendar legend */
  .gomap .legend { row-gap: 6px; }
  .gomap .legend .hint { flex-basis: 100%; margin-left: 0; }
}
/* the calendar in the narrow column beside the map (under about 560px) uses the phone dot treatment:
   each event is an 8px dot, the day cell is the target and the day sheet carries the names (go.html renders that mode) */
.cal-wrap { container-type: inline-size; }
@container (max-width: 560px) {
  .cal .ev, .cal .ev:hover { display: inline-block; vertical-align: top; width: 8px; height: 8px; min-height: 0; padding: 0; margin: 4px 3px 0 0; border: 0; border-radius: 50%; background: var(--go); color: transparent; text-indent: 200%; }
  .cal .ev.is-camp, .cal .ev.is-camp:hover { background: var(--go-camp); }
  .cal .more-n { font-size: 11px; }
}
/* pins: an inline SVG teardrop (the #i-pin shape) filled with the hue, ink outline, paper center */
.pin { fill: var(--ink); }
.pin-event { fill: var(--go); }
.pin-camp { fill: var(--go-camp); }
.pin svg { width: 28px; height: 36px; overflow: visible; transform-origin: 50% 100%; transition: transform .15s var(--ease); filter: drop-shadow(0 1px 1px color-mix(in srgb, var(--ink) 30%, transparent)); }
.pin svg path { stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.pin svg circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.pin.is-hi svg { transform: scale(1.15); }
@media (pointer: coarse) { .pin::before { content: ''; position: absolute; left: -8px; right: -8px; top: -4px; bottom: -4px; } } /* a 44x44 tap area around the 28x36 drawing */
/* groups (Leaflet.markercluster): a 36px count disc in the hue of what it holds; a mixed group splits the ring, mustard left and green right,
   under a paper center so the count stays readable */
.pin-cluster { display: grid; place-items: center; width: 36px; height: 36px; border: 1.5px solid var(--ink); border-radius: 50%; background: color-mix(in srgb, var(--go) 55%, var(--card)); color: var(--ink); font-family: var(--ff-m); font-size: 12px; font-weight: 600; line-height: 1; transition: scale .15s var(--ease); }
.pin-cluster.is-camp { background: color-mix(in srgb, var(--go-camp) 55%, var(--card)); }
.pin-cluster.is-mixed { background: conic-gradient(from 180deg, color-mix(in srgb, var(--go) 55%, var(--card)) 0 50%, color-mix(in srgb, var(--go-camp) 55%, var(--card)) 50% 100%); }
.pin-cluster.is-mixed span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); }
.pin-cluster:hover, .pin-cluster.is-hi { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); } /* a ring, not a scale: the disc must not move under the pointer */
.gomap .leaflet-marker-icon:focus-visible { outline: 3px solid var(--shop); outline-offset: 2px; border-radius: 4px; }
.gomap .pin-cluster:focus-visible { border-radius: 50%; } /* the pins' ring, round for the disc */
.gomap .leaflet-container:focus-visible { outline-offset: -3px; } /* the panel clips overflow, so the ring draws inside the map */
/* Leaflet chrome in the site's registers (site.css loads after leaflet.css, so these win) */
.gomap .leaflet-container { font-family: inherit; font-size: 13px; background: var(--paper-2); }
.gomap .leaflet-control-attribution { font-family: var(--ff-m); font-size: 11px; letter-spacing: .02em; color: var(--ink-2); background: color-mix(in srgb, var(--paper) 85%, transparent); padding: 2px 6px; }
.gomap .leaflet-control-attribution a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.gomap .leaflet-tooltip { font-family: var(--ff-m); font-size: 11.5px; letter-spacing: .02em; color: var(--ink); background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--r); box-shadow: var(--shadow); padding: 4px 8px; }
.gomap .leaflet-tooltip::before { display: none; } /* no speech-bubble arrow: a plain outlined card floating above the pin */
.gomap .leaflet-bar { border: 1px solid var(--rule-2); border-radius: var(--r); box-shadow: var(--shadow); background-clip: padding-box; }
.gomap .leaflet-bar a { width: 36px; height: 36px; line-height: 36px; color: var(--ink); background: var(--card); border-bottom: 1px solid var(--rule); font-family: var(--ff-m); font-size: 18px; }
.gomap .leaflet-bar a:last-child { border-bottom: 0; }
.gomap .leaflet-bar a:hover, .gomap .leaflet-bar a:focus { background: var(--paper-2); color: var(--ink); }
.gomap .leaflet-bar a.leaflet-disabled { color: var(--ink-3); background: var(--paper-2); }
.gomap .leaflet-bar a:focus-visible { outline: 3px solid var(--shop); outline-offset: -3px; border-radius: 0; }
@media (pointer: coarse), (max-width: 639px) { .gomap .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; } }
@media (max-width: 1023px) {
  /* one panel at a time under the Map / Calendar toggle */
  .gowrap[data-view="map"] .cal-wrap, .gowrap[data-view="cal"] .gomap { display: none; }
}
@media (min-width: 1024px) {
  .gowrap { grid-template-columns: 3fr 2fr; gap: 20px; }
  .viewtoggle { display: none; }
  .gomap .map { height: 472px; } /* about 560px for the whole panel with its head and legend */
}

/* ---------- footer (the partial starts with .stripes) ---------- */
.ftr { background: var(--ink); color: var(--paper); margin-top: var(--sect); }
.ftr .wrap { padding: 40px 0 28px; display: grid; gap: 32px; }
.ftr .brand { font-size: 18px; }
.ftr .tag-line { font-family: var(--ff-m); font-size: 12px; letter-spacing: .14em; line-height: 1.6; text-transform: uppercase; color: var(--build); margin-top: 8px; max-width: 30ch; }
.ftr .cols { display: grid; gap: 16px 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); } /* three liveries, three columns at every width */
@media (max-width: 399px) { .ftr ul { font-size: 13.5px; } }
@media (min-width: 900px) { .ftr .wrap { grid-template-columns: 1.1fr 2fr; } .ftr .bar { grid-column: 1 / -1; } }
.ftr h4 { font-family: var(--ff-m); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: 14px; }
.ftr li a, .ftr .bar a { display: inline-flex; align-items: center; min-height: 44px; color: #C9CFD5; }
.ftr li a:hover, .ftr .bar a:hover { color: var(--paper); }
.ftr .bar { border-top: 1px solid #2A3037; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-family: var(--ff-m); font-size: 11.5px; color: #8B939B; letter-spacing: .04em; }

/* ---------- preview ribbon ---------- */
.preview-note { background: var(--ink); color: var(--paper); font-family: var(--ff-m); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 8px var(--gut); }
.preview-note b { color: var(--build); font-weight: 600; }

/* ---------- reveal on scroll (cheap) ---------- */
.rv { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .draw-van.anim [pathLength]:not(.hid):not(.cl) { stroke-dasharray: none; stroke-dashoffset: 0; }
  .draw-van.anim .callout, .draw-van.anim .hid { opacity: 1; }
  .draw-van.anim .cl { opacity: .6; }
}

/* ============================================================
   HOME
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; gap: 28px; padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); align-items: center; }
.hero .title { display: grid; gap: 18px; }
/* the h1 is the slogan: two lines, the second in mustard-ink */
.hero .slogan { font-size: clamp(30px, 3.3vw, 44px); font-variation-settings: "wdth" 80; text-transform: uppercase; line-height: .96; letter-spacing: -0.015em; }
.hero .slogan > :is(span, b, em) { display: block; font: inherit; font-style: normal; --hue: var(--go); color: var(--hue-ink); }
.hero .sub { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); }
.hero .search-wrap { display: grid; gap: 12px; margin-top: 8px; }
.hero .drawing { color: var(--ink); }
.hero .drawing svg { width: 100%; height: auto; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 5fr 6fr; gap: 24px 48px; }
  .hero .doors { margin-top: 12px; grid-column: 1 / -1; }
}
@media (max-width: 899px) { .hero .title { order: 1; } .hero .doors { order: 2; } .hero .drawing-col { order: 3; } .hero .slogan { font-size: clamp(28px, 5.4vw, 44px); } }

.doors { display: grid; gap: 12px; grid-template-columns: 1fr; }
.door {
  position: relative; display: grid; gap: 10px; padding: 22px 22px 20px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg);
  border-top: 4px solid var(--hue); transition: transform .15s var(--ease), box-shadow .2s;
}
.door:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.door .ic { width: 34px; height: 34px; color: var(--hue); }
.door h2 { font-size: clamp(28px, 3vw, 36px); font-variation-settings: "wdth" 78; text-transform: uppercase; letter-spacing: 0; }
.door p { font-size: 15px; color: var(--ink-2); }
/* live count inside each door: big number, small mono unit */
.door .num { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--ff-d); font-variation-settings: "wdth" 84; font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -0.01em; color: var(--ink); }
.door .num b { font-weight: inherit; font-variant-numeric: tabular-nums; min-width: 2ch; }
.door .num small { font-family: var(--ff-m); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.door .go { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-m); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hue-ink); margin-top: 4px; }
.door .go .ic { width: 16px; height: 16px; }
.door .sub-links { display: flex; gap: 8px; flex-wrap: wrap; }
.door .sub-links a { position: relative; z-index: 2; }
.door > a.cover { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.door-build { --hue: var(--build); } .door-shop { --hue: var(--shop); } .door-go { --hue: var(--go); }
@media (min-width: 640px) { .doors { grid-template-columns: repeat(3, 1fr); gap: 16px; } }


/* ============================================================
   DETAIL SHEET (opens from any card)
   ============================================================ */
dialog.detail { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; }
dialog.detail::backdrop { background: rgba(21,25,30,.55); backdrop-filter: blur(2px); }
dialog.detail .detail-in { position: fixed; inset: auto 0 0 0; max-height: 92vh; overflow: auto; background: var(--paper); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 24px var(--gut) 40px; box-shadow: 0 -12px 40px rgba(21,25,30,.25); }
@media (min-width: 900px) { dialog.detail .detail-in { inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(720px, 92vw); max-height: 88vh; border-radius: var(--r-lg); padding: 32px 36px 36px; } }
dialog.detail .close { position: sticky; top: 0; float: right; margin: -8px -8px 0 0; background: var(--card); border: 1px solid var(--rule); z-index: 2; }
dialog.detail .detail-in > .body { display: grid; gap: 14px; }
dialog.detail .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-right: 56px; }
dialog.detail .stamps { display: flex; gap: 6px; flex-wrap: wrap; }
dialog.detail .detail-in > .body h2 { font-size: clamp(26px, 3vw, 36px); }
dialog.detail .detail-in > .body h3 { font-family: var(--ff-m); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-top: 8px; }
dialog.detail .pricerow { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
dialog.detail .price { font-family: var(--ff-d); font-variation-settings: "wdth" 88; font-weight: 800; font-size: 28px; }
dialog.detail .price small { font-family: var(--ff-m); font-size: 12px; font-weight: 500; color: var(--ink-2); margin-left: 4px; }
dialog.detail .rating { font-family: var(--ff-m); font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
dialog.detail .rating .ic { width: 14px; height: 14px; color: var(--go); }
dialog.detail .access { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-m); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; --hue: var(--go-camp); color: var(--hue-ink); }
dialog.detail .access .ic { width: 14px; height: 14px; }
dialog.detail .kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: 15px; }
dialog.detail .kv dt { font-family: var(--ff-m); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
dialog.detail .kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
dialog.detail .kv dd a { display: inline-block; padding-block: 14px; margin-block: -14px; } /* 44px tap target on the inline phone link, no layout change */
dialog.detail .amen { display: flex; flex-wrap: wrap; gap: 6px; }
dialog.detail .amen span { font-family: var(--ff-m); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border: 1px solid var(--rule-2); border-radius: 3px; background: var(--card); }
dialog.detail .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
dialog.detail .note.inert { margin: 0; }
dialog.detail .slot { margin: 4px 0; }
.detail-dock { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.detail-dock .btn { white-space: normal; line-height: 1.35; padding-block: 10px; }

/* Shared illustration and interaction refinements. */
* { --hue-ink: color-mix(in srgb, var(--hue) 52%, var(--ink)); }
.chips.scroll { scroll-snap-type: x proximity; scroll-padding-inline: var(--gut); padding-block: 4px; }
.chips.scroll > *, .tray .chips > * { flex: none; }
.chips.scroll:focus-within { mask-image: none !important; }
.chips.scroll.can-scroll:not(.at-start):not(.at-end) { mask-image: linear-gradient(90deg, transparent, black 14px, black calc(100% - 14px), transparent); }
.chips.scroll.can-scroll.at-start:not(.at-end) { mask-image: linear-gradient(90deg, black calc(100% - 14px), transparent); }
.chips.scroll.can-scroll.at-end:not(.at-start) { mask-image: linear-gradient(90deg, transparent, black 14px); }
#cmp-wrap:focus-visible { outline-offset: 3px; }
body[data-page="shop"] .tbl td.lo { color: var(--hue-ink); --hue: var(--ok); }
body[data-page="shop"] .cmp.is-on { color: var(--hue-ink); }
@media (max-width: 1023px) {
  html { scroll-padding-top: 76px; scroll-padding-bottom: calc(var(--tray-h, 0px) + 16px); }
  [id], input, select, button, a { scroll-margin-top: 76px; }
  .hdr .wrap { gap: 8px; }
  .hdr-tools { gap: 4px; }
  .subnav { position: static; }
  .band .wrap { padding-block: 24px; }
  .band .lead { font-size: 17px; }
  .draw-van.anim [pathLength]:not(.hid):not(.cl) { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
  .draw-van.anim .callout, .draw-van.anim .hid { animation: none; opacity: 1; }
  .draw-van.anim .cl { animation: none; opacity: .6; }
  .rv { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 639px) {
  .hero .wrap { padding-block: 22px 28px; gap: 18px; }
  .hero .title { gap: 12px; min-width: 0; }
  .hero .slogan { font-size: clamp(24px, 7.6vw, 34px); }
  .hero .sub { font-size: 16px; }
  .hero .search-wrap { margin-top: 2px; gap: 8px; }
  .hero .search input { height: 52px; font-size: 16px; }
  .hero .doors { gap: 8px; }
  .hero .door { grid-template-columns: 32px 1fr auto; align-items: center; gap: 4px 12px; padding: 12px; border-top-width: 1px; border-left: 4px solid var(--hue); }
  .hero .door > .ic { grid-column: 1; grid-row: 1 / span 2; width: 28px; height: 28px; }
  .hero .door h2 { grid-column: 2; font-size: 25px; }
  .hero .door .num { grid-column: 3; grid-row: 1 / span 2; align-self: center; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 24px; text-align: right; }
  .hero .door .num small { font-size: 11px; letter-spacing: .06em; }
  .hero .door p { display: none; }
  .hero .door .go { grid-column: 2 / -1; margin: 0; font-size: 11px; }
  .hero .door .sub-links { grid-column: 2 / -1; }
  .hero .drawing-col { margin-top: 12px; }
  .sheet-grid { background-size: 40px 40px; }
  body[data-page="shop"] .tbl td.k, body[data-page="shop"] .tbl th.k { min-width: 96px; max-width: 96px; white-space: normal; overflow-wrap: anywhere; padding-inline: 10px; }
  body[data-page="shop"] .tray .wrap { gap: 6px 8px; padding-block: 8px; }
  body[data-page="shop"] .tray .chips { scroll-snap-type: x proximity; }
  body[data-page="shop"] .tray .chip { max-width: 260px; white-space: normal; font-size: 11px; line-height: 1.3; padding-block: 6px; }
  body[data-page="shop"] .tray .msg { max-height: 48px; overflow: auto; }
}
@media (max-width: 899px) {
  dialog.detail .detail-in { display: flex; flex-direction: column; max-height: calc(100dvh - 16px); padding: 0; overflow: hidden; }
  dialog.detail .close { position: static; order: 3; float: none; width: auto; margin: 0; border: 0; border-top: 1px solid var(--rule); border-radius: 0; min-height: 48px; height: auto; padding-bottom: env(safe-area-inset-bottom); flex-shrink: 0; gap: 8px; }
  dialog.detail .close::after { content: "Close"; font: 12px var(--ff-m); text-transform: uppercase; letter-spacing: .1em; }
  dialog.detail .detail-in > .body { padding: 22px var(--gut); overflow: auto; min-height: 0; overscroll-behavior: contain; }
  dialog.detail .top { padding-right: 0; }
  dialog.detail .detail-dock { flex: none; margin: 0; padding: 10px var(--gut); border-top: 1px solid var(--rule); background: var(--paper); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  dialog.detail .detail-dock .btn { font-size: 11px; letter-spacing: .05em; padding-inline: 10px; }
  dialog.detail .note.inert { max-height: 100px; overflow: auto; flex-shrink: 0; }
  dialog.detail .kv { grid-template-columns: minmax(72px, 30%) 1fr; gap: 8px 12px; }
}

/* ---- 2026-11-04: product photos, moved disclosure, Go side-by-side lists, Build placeholders ---- */
.card .ph { position: relative; z-index: 0; aspect-ratio: 4 / 3; border-radius: 6px; background: transparent; overflow: hidden; }
.card .ph img, .ph.lg img { width: 100%; height: 100%; object-fit: contain; display: block; }
.card-product .ph img, .ph.lg.product img { padding: 6%; filter: drop-shadow(0 6px 10px color-mix(in srgb, var(--ink) 14%, transparent)); }
.ph.lg { aspect-ratio: 16 / 10; max-height: 340px; border-radius: 8px; background: transparent; overflow: hidden; margin-bottom: 16px; }
.note.disclose.end { margin-top: 18px; margin-left: auto; max-width: 62ch; text-align: right; }
.gocols { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .gocols.is-cols { grid-template-columns: 1fr 1fr; align-items: start; }
  .gocols.is-cols .grid { grid-template-columns: 1fr; }
}
@media (min-width: 1400px) { .gocols.is-cols .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rhead .vt { display: inline-flex; border: 1px solid var(--rule-2); border-radius: var(--r); background: var(--card); overflow: hidden; }
.rhead .vt button { min-height: 44px; padding: 0 12px; font-family: var(--ff-m); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.rhead .vt button + button { border-left: 1px solid var(--rule-2); }
.rhead .vt button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.rhead .vt[hidden] { display: none; }
@media (max-width: 1023px) { .rhead #vt-cols { display: none; } }
#results.is-compact .card .blurb, #results.is-compact .card .amen, #results.is-compact .card .ph, #results.is-compact .card .spec { display: none; }
#results.is-compact .card { padding: 12px 14px; gap: 6px; }
#results.is-compact .grid { gap: 10px; }
.soon-grid { position: relative; }
.soon-grid .grid { filter: blur(5px); opacity: .55; pointer-events: none; user-select: none; }
.soon-grid .soon-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.soon-grid .soon-msg > div { background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--r); padding: 22px 26px; max-width: 46ch; box-shadow: var(--shadow); display: grid; gap: 10px; justify-items: center; }
.soon-grid .soon-msg h3 { font-size: 20px; line-height: 1.25; }
.soon-grid .soon-msg p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.soon-grid .soon-msg a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* map-snapshot thumbnails on camp and event cards (rendered offline from OpenStreetMap tiles, attribution baked in) */
.ph.map { aspect-ratio: 3 / 2; background: var(--paper-2); }
.ph.map img { object-fit: cover; mix-blend-mode: normal; }
.ph.lg.map { aspect-ratio: 3 / 2; max-height: 300px; }
.credit { margin: -8px 0 12px; font-size: 12px; color: var(--ink-2); }
.credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ph.lg.map.photo img, .ph.map.photo img { object-fit: cover; }
.card .date .d { text-transform: uppercase; } /* month abbreviation is sentence case in the markup; the main site shows it in caps */
.ph.tile { display: grid; place-items: center; align-content: center; gap: 8px; aspect-ratio: 3 / 2; border-radius: 12px; background: color-mix(in srgb, var(--go) 26%, var(--paper)); color: var(--ink); }
.ph.tile .tile-ic { width: 44px; height: 44px; stroke-width: 1.25; }
.ph.tile span { font-size: 13px; font-weight: 600; }
.go2 #results .card .ph.tile { aspect-ratio: 1 / 1; margin-bottom: 9px; order: 0; }
@media (max-width: 639px) { .hero .hero-sub { display: none; } } /* the hero line is desktop only */
.preview-note { display: none; } /* the preview ribbon stays in the markup (noindex gate) but is not shown */

/* ---- home: two stacked rails of photo tiles (Camping Nearby, Upcoming Events) ---- */
.hrows { display: grid; gap: 44px; margin-top: 6px; }
.hrowh { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hrowh h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; text-transform: none; font-variation-settings: "wdth" 96; }
.hrows .rail-nav { display: inline-flex; align-items: center; gap: 8px; }
.hrows .rail-nav .link { font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; font-family: var(--ff-b, inherit); }
.hrows .rail-btn { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule-2); background: var(--card); place-items: center; color: var(--ink); }
.hrows .rail-btn .ic { width: 16px; height: 16px; }
.hrows .rail-btn[data-dir="-1"] .ic { transform: scaleX(-1); }
.hrows .rail-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .hrows .rail-btn { display: grid; } }
.hrail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 290px); gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 2px 2px 12px; scrollbar-width: thin; }
.hrail .card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 3px; padding: 0; border: 0; background: transparent; box-shadow: none; border-radius: 12px; }
.hrail .card:hover { transform: none; box-shadow: none; }
.hrail .card .top, .hrail .card .amen, .hrail .card .spec { display: none; }
.hrail .card .ph { order: 0; aspect-ratio: 1 / 1; border-radius: 12px; margin-bottom: 9px; }
.hrail .card .ph img { transition: transform .35s var(--ease); }
.hrail .card:hover .ph img { transform: scale(1.03); }
.hrail .card .stamps { order: 1; position: absolute; top: 10px; left: 10px; z-index: 2; }
.hrail .card .stamps .stamp { background: var(--card); border-color: transparent; box-shadow: 0 1px 4px color-mix(in srgb, var(--ink) 25%, transparent); font-family: var(--ff-b, inherit); font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 600; }
.hrail .card h3 { order: 2; font-size: 17px; line-height: 1.3; font-weight: 600; }
.hrail .card .meta { order: 3; display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--ink-2); font-family: var(--ff-b, inherit); letter-spacing: 0; text-transform: none; }
.hrail .card .blurb { order: 4; font-size: 15px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.hrail .card .foot { order: 5; border: 0; padding-top: 4px; margin-top: 0; justify-content: flex-start; gap: 14px; }
.hrail .card .foot .price { font-size: 16px; font-weight: 600; font-family: var(--ff-b, inherit); letter-spacing: 0; }
.hrail .card-camp .foot .price::before { content: 'from '; font-weight: 400; color: var(--ink-2); }
.hrail .card .foot .price small { font-family: var(--ff-b, inherit); font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-2); margin-left: 2px; }
.hrail .card .foot .access, .hrail .card .foot .meta { font-family: var(--ff-b, inherit); font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 600; }
.hrail .card-event h3 { order: 1; }
.hrail .card .date { order: 2; margin-bottom: 2px; }
.hrail .card .date .d { text-transform: none; letter-spacing: 0; font-family: var(--ff-b, inherit); font-size: 12px; }
.hrail .card .date .d b { font-size: 20px; }
.hrail .card .ph.tile { aspect-ratio: 1 / 1; }
@media (max-width: 639px) { .hrail { grid-auto-columns: 78%; gap: 14px; } }
.hrows, .hrow { min-width: 0; max-width: 100%; }
.hrail { max-width: 100%; }

/* a section that follows a hidden section keeps its own top space */
.sect[hidden] + .sect { padding-top: var(--sect); }
/* rail titles carry their view link; the gear rail's controls sit in the section header */
.hrowt { display: flex; align-items: baseline; gap: 14px 18px; flex-wrap: wrap; min-width: 0; }
.seeview { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--hue-ink, var(--ink)); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; font-family: var(--ff-b, inherit); }
.seeview .ic { width: 14px; height: 14px; }
.shead .rail-nav { display: inline-flex; align-items: center; gap: 8px; }
.shead .rail-nav .link { font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; font-family: var(--ff-b, inherit); white-space: nowrap; }
.shead .rail-btn { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule-2); background: var(--card); place-items: center; color: var(--ink); }
.shead .rail-btn .ic { width: 16px; height: 16px; }
.shead .rail-btn[data-dir="-1"] .ic { transform: scaleX(-1); }
.shead .rail-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .shead .rail-btn { display: grid; } }
.hrows-gear { margin-top: 0; }
.hrail .card-product .ph { aspect-ratio: 1 / 1; background: transparent; }
.hrail .card-product .rating { display: none; }
.hrail .card-product .foot .price { font-size: 15px; color: var(--ink-2); font-weight: 600; }

/* phones: the two rail links get a 44px tap area */
@media (max-width: 1023px) { .seeview { min-height: 44px; } }
