/* Self-hosted fonts (SIL Open Font License 1.1, see /fonts/OFL-*.txt) */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/atkinson-hyperlegible-next-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Caprasimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/caprasimo-latin.woff2') format('woff2');
}
/* Organic — design-system tokens and component classes. This file is the source of truth for the system's look; retune it here and see readme.md. */

/* Tokens (colors, fonts, spacing, radii, shadows) live in css/tokens.css, which every page loads before this file. */

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }

.washed{filter:saturate(0.92) contrast(1.02)}

/* ══════════════════════════════════════════════════════════════════════════
   Components — built with the tokens above. Plain CSS
   on plain HTML: no JavaScript, no build step. Each class is documented in
   readme.md and demonstrated in foundations/ and components/.
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; }
h6 { letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: var(--color-neutral-700);
}
.text-muted { color: var(--color-neutral-700); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — rules — */
.hr {
  height: 1px; border: 0; margin: var(--space-4) 0;
  background: var(--color-divider);
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-body); font-weight: 600;
  font-size: 14px; line-height: 1.2; color: var(--color-text); /* matches the .input's 14px —
     the pair sits side by side in sign-up rows */
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-primary:active { background: var(--btn-active); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent-700); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block { width: 100%; margin-top: var(--space-2); }

/* — forms — */
.field > label {
  display: block; margin-bottom: var(--space-2);
  font: 600 18px/1.3 var(--font-heading); color: var(--ink); text-wrap: balance;
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 16px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius-md); /* 3:1 boundary (WCAG 1.4.11) */
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input::placeholder { color: var(--muted); opacity: 1; }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input, .seg-opt input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.radio .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot {
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.seg {
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
}
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: var(--color-neutral-700);
}
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent-700); color: var(--color-accent-700); }

/* — navigation — */
.nav {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: none;
}
.nav-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-right: auto;
}
.nav a { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--link); }

/* — tables — */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  padding: var(--space-2); border-bottom: 1px solid var(--color-divider);
}
.table td {
  padding: var(--space-2);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}
.table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }

/* — dialog — */
.dialog-backdrop {
  position: fixed; inset: 0; display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent);
}
.dialog {
  width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-lg);
  background: var(--color-surface); box-shadow: var(--shadow-lg);
}
.dialog-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px;
}
.dialog-body { font-size: 14px; opacity: 0.85; }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }

/* — rounded frame: everything softens, small controls go pill — */
.card, .dialog { border-radius: calc(var(--radius-lg) * 1.15); }
.btn, .tag, .seg, .input { border-radius: 999px; }
.input { padding-inline: 14px; }


/* — Bushwheel site layer — */
body{margin:0;background:var(--ground)}
a{color:var(--link)}a:where(:not(.btn)):hover{color:var(--link-hover)}
.nav a.btn:hover{color:inherit}
.nav a.btn-primary,.nav a.btn-primary:hover{color:var(--btn-ink)}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.skip{position:absolute;left:-9999px;top:8px;z-index:20;background:var(--ink);color:var(--paper);padding:10px 16px;border-radius:999px}
.skip:focus{left:12px}
.menu>summary{list-style:none;cursor:pointer}
.menu>summary::-webkit-details-marker{display:none}
.menu-panel{position:absolute;left:0;right:0;top:100%;display:flex;flex-direction:column;gap:4px;padding:0 20px 20px;background:color-mix(in srgb, var(--paper) 97%, transparent)}
.menu-panel .btn{justify-content:flex-start;min-height:48px;font-size:17px}
.menu-panel .btn-primary{justify-content:center;margin-top:6px}
/* links collapse into the ☰ menu below this width (raised from 760px to 1000px when Trips joined the nav) */
@media (max-width:999px){.nav-links{display:none!important}}
.chip{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border-radius:999px;border:1px solid var(--line-strong);background:var(--paper);color:var(--ink);font:600 15px/1.2 var(--font-body);cursor:pointer;user-select:none}
.chip input{position:absolute;opacity:0;width:0;height:0;pointer-events:none}
.chip:hover{background:var(--color-neutral-200)}
.chip:has(input:checked){background:var(--color-accent-2-700);border-color:var(--color-accent-2-700);color:var(--paper)}
.chip:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:2px}

/* — Bushwheel site components —
   Shared page pieces live here so a design change is made once, not on every page.
   Inline styles left in the HTML are one-offs for a single element. */
:root{--gutter:clamp(20px,4cqi,56px)}

/* page shell */
.page{max-width:100%;margin:0 auto;background:var(--paper);container-type:inline-size;min-height:100vh;box-shadow:var(--shadow-page);position:relative}
.site-header{position:sticky;top:0;z-index:5;background:color-mix(in srgb, var(--paper) 94%, transparent);backdrop-filter:blur(8px)}
.site-nav{padding:18px var(--gutter);flex-wrap:nowrap;gap:28px}
.brand{display:flex;align-items:center;gap:clamp(12px,2cqi,20px);margin-right:auto}
.nav a.brand,.nav a.brand:hover{color:var(--color-text);text-decoration:none}
.brand-badge{width:clamp(64px,11cqi,108px);height:clamp(64px,11cqi,108px);flex:none;filter:drop-shadow(var(--shadow-badge))}
.brand-text{display:flex;flex-direction:column;gap:2px}
.brand-name{font-family:var(--font-brand);font-size:clamp(28px,4.6cqi,45px);line-height:1}
.brand-tagline{font:400 15px/1 var(--font-heading);letter-spacing:0.24em;color:var(--color-accent-2-700);font-size:clamp(13px,2.1cqi,20px);padding-left:2px}
.nav-links{display:flex;align-items:center;gap:clamp(16px,2.4cqi,28px);white-space:nowrap;flex:none}
.nav-cta{padding:11px 20px}
.menu{flex:none}
.menu>summary{width:44px;height:44px}
.site-footer{background:var(--deep);color:var(--on-deep-soft);border-radius:48px 48px 0 0;padding:clamp(36px,5cqi,64px) var(--gutter) 32px;display:flex;flex-direction:column;gap:36px}
.site-footer a{color:var(--cream);text-decoration:none}
.site-footer a:hover{color:var(--on-deep-soft)}
.footer-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:28px}
.footer-brand{display:flex;flex-direction:column;gap:10px;max-width:320px}
.footer-badge{display:block;width:112px;height:112px;padding:calc(112px * 6 / 212)}
.footer-name{font-family:var(--font-brand);font-size:32px;color:var(--cream);line-height:1;margin-top:8px}
.footer-tagline{font:400 14px/1 var(--font-heading);letter-spacing:0.24em;color:var(--on-deep-soft);padding-left:2px;margin-top:-7px}
.footer-blurb{margin:8px 0 0;font-size:14px;line-height:1.6}
.footer-links{display:flex;flex-wrap:wrap;gap:40px;font-size:15px}
.footer-col{display:flex;flex-direction:column;gap:10px}
.footer-legal{font-size:13px;color:var(--on-deep-soft)}
.footer-legal a{text-decoration:underline;text-underline-offset:2px}

/* sections & type */
.band{background:var(--mist);border-radius:48px 48px 0 0;padding:clamp(48px,6cqi,88px) var(--gutter)}
.band-tail{background:var(--mist);padding:0 var(--gutter) clamp(48px,6cqi,88px)}
.section-head{max-width:560px;margin-bottom:32px}
.section-title{font-size:clamp(30px,3.6cqi,44px);margin:0;text-wrap:balance}
.page-title{font-size:clamp(40px,5.6cqi,68px);line-height:1.04;margin:0;text-wrap:balance}
.eyebrow{color:var(--color-accent-700);margin:0 0 12px}
.stack{display:flex;flex-direction:column;gap:18px}
.stack-start{align-items:flex-start}
.stack>.eyebrow{margin:0}
.lead{font-size:18px;line-height:1.6;margin:0;color:var(--color-neutral-800)}
.pretty{text-wrap:pretty}
.meta{font-size:14px;color:var(--color-neutral-700)}
.btn-lg{padding:14px 26px;font-size:16px;min-height:48px}
.fill{position:absolute;inset:0}

/* 404 & thank-you */
.notice{display:flex;align-items:center;padding:clamp(40px,8cqi,120px) var(--gutter);min-height:50vh}
.notice-title{font-size:clamp(36px,5cqi,56px);line-height:1.08;margin:0;text-wrap:balance}
.notice-body{max-width:560px}
.notice-body .btn-lg{margin-top:8px}

/* 404: animated campfire scene */
.camp{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:clamp(28px,4cqi,56px)}
.camp-actions{display:flex;flex-wrap:wrap;gap:12px}
.camp-scene{display:block;width:100%;height:auto;border-radius:44px;box-shadow:var(--shadow-lg)}
.camp-scene .flame,.camp-scene .spark,.camp-scene .smoke,.camp-scene .zzz{transform-box:fill-box}
.camp-scene .flame{transform-origin:50% 100%;animation:camp-flicker 1.3s ease-in-out infinite}
.camp-scene .f2{animation-duration:.95s;animation-delay:-.4s}
.camp-scene .f3{animation-duration:.7s;animation-delay:-.2s}
.camp-scene .glow{animation:camp-glow 2.6s ease-in-out infinite}
.camp-scene .star{animation:camp-twinkle 3.2s ease-in-out infinite}
.camp-scene .s2{animation-duration:4.1s;animation-delay:-1.3s}
.camp-scene .s3{animation-duration:2.6s;animation-delay:-2.1s}
.camp-scene .spark{animation:camp-spark 2.4s ease-out infinite}
.camp-scene .k2{animation-duration:3.1s;animation-delay:-1s}
.camp-scene .k3{animation-duration:2s;animation-delay:-1.6s}
.camp-scene .smoke{transform-origin:50% 50%;opacity:0;animation:camp-smoke 6s ease-out infinite}
.camp-scene .m2{animation-delay:-2s}
.camp-scene .m3{animation-delay:-4s}
.camp-scene .zzz{animation:camp-zzz 3.5s ease-in-out infinite}
.camp-scene .shooting-star{opacity:0;animation:camp-shoot 9s linear infinite 2s}
@keyframes camp-flicker{0%,100%{transform:scale(1,1) skewX(0)}25%{transform:scale(.93,1.08) skewX(3deg)}50%{transform:scale(1.05,.93) skewX(-2deg)}75%{transform:scale(.97,1.05) skewX(1.5deg)}}
@keyframes camp-glow{0%,100%{opacity:.8}50%{opacity:1}}
@keyframes camp-twinkle{0%,100%{opacity:1}50%{opacity:.25}}
@keyframes camp-spark{0%{transform:translate(0,0);opacity:1}100%{transform:translate(14px,-110px);opacity:0}}
@keyframes camp-smoke{0%{transform:translate(0,0) scale(1);opacity:0}15%{opacity:.35}100%{transform:translate(-30px,-150px) scale(3.2);opacity:0}}
@keyframes camp-zzz{0%{transform:translate(0,0);opacity:0}30%{opacity:.9}100%{transform:translate(-8px,-26px);opacity:0}}
@keyframes camp-shoot{0%,90%{transform:translate(0,0);opacity:0}91%{opacity:1}97%,100%{transform:translate(-220px,110px);opacity:0}}
@media (prefers-reduced-motion:reduce){.camp-scene *{animation:none!important}.camp-scene .zzz{opacity:.9}}

/* photos */
.round-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}

/* cream cards on a tinted band (home services, about values) */
.feature-card{background:var(--paper);padding:26px;gap:12px}
.feature-card .card-title{font-size:22px}
.feature-card .card-body{font-size:15px;line-height:1.55}
.step-num{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--font-heading);font-size:20px}

/* about: crew */
.crew{display:flex;flex-direction:column;gap:12px}
.crew-photo{aspect-ratio:1;width:100%;max-width:260px;position:relative}
.crew-name{font-family:var(--font-heading);font-size:20px}

/* services */
.panel{background:var(--mist);border-radius:36px;padding:clamp(24px,3.5cqi,40px)}
.service{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:24px 40px;align-items:start}
.service-intro{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.service-photo{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:24px;display:block}
@container (min-width:1000px){.service:has(> .service-photo){grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr) minmax(0,1fr) minmax(0,.75fr)}}
.tag-lg{font-size:12px;padding:4px 12px}
.service-title{font-size:clamp(26px,2.8cqi,34px);margin:0}
.service-desc{margin:0;font-size:16px;line-height:1.6;color:var(--color-neutral-800);text-wrap:pretty}
.ticks{display:flex;flex-direction:column;gap:8px;font-size:15px;color:var(--color-neutral-900);list-style:none;margin:0;padding:0}
.ticks li{display:flex;gap:10px;align-items:flex-start}
.tick{width:8px;height:8px;border-radius:50%;background:var(--color-accent-2);flex:none;margin-top:8px}
.service-price{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.price-label{font-size:13px;color:var(--color-neutral-700)}
.price{font-family:var(--font-heading);font-size:36px;line-height:1;color:var(--color-accent-700)}
.service-cta{padding:12px 22px;font-size:15px;min-height:44px;margin-top:4px}
.price-tier{display:flex;flex-direction:column;gap:8px}
.price-tier+.price-tier{padding-top:12px;border-top:1px solid var(--line);align-self:stretch}

/* contact */
.contact-line{display:flex;gap:12px;align-items:center}
.contact-icon{width:40px;height:40px;border-radius:50%;background:var(--color-accent-2-200);color:var(--color-accent-2-800);display:flex;align-items:center;justify-content:center;flex:none}
.contact-form{display:flex;flex-direction:column;gap:18px}
.contact-form .input{min-height:46px;background:var(--paper)}
.contact-form textarea.input{border-radius:24px;min-height:120px;padding:12px 16px}
.contact-form .btn-lg{align-self:flex-start}

/* builds: index cards (2×2 on wide screens, stacked on phones) */
.build-grid{display:grid;grid-template-columns:1fr;gap:clamp(28px,3.5cqi,40px) clamp(20px,3cqi,32px)}
@container (min-width:720px){.build-grid{grid-template-columns:repeat(2,1fr)}}
.build-card{display:flex;flex-direction:column;gap:14px;color:inherit;text-decoration:none}
.build-photo{position:relative;aspect-ratio:4/3;border-radius:32px;overflow:hidden;box-shadow:var(--shadow-md);background:var(--color-surface)}
.build-photo img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.build-card:hover .build-photo img{transform:scale(1.04)}
.build-photo .tag{position:absolute;top:16px;left:16px;box-shadow:var(--shadow-sm)}
.build-name{font-family:var(--font-heading);font-size:clamp(24px,2.6cqi,30px);line-height:1.1;margin:0;color:var(--color-text)}
.build-card:hover .build-name{color:var(--color-accent-700)}
.build-blurb{margin:0;font-size:15px;line-height:1.6;color:var(--color-neutral-800);text-wrap:pretty;max-width:60ch}
@media (prefers-reduced-motion:reduce){.build-photo img{transition:none}}

/* builds: individual build page */
.draft-note{margin:0 0 20px;padding:10px 16px;border:2px dashed var(--color-accent-400);border-radius:16px;font-size:14px;color:var(--color-accent-800);background:var(--color-accent-100)}
/* top of each build page: back to the Builds grid + prev/next (mirrors the pager at the bottom) */
.build-topbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:clamp(20px,3cqi,32px)}
.topbar-back{min-height:46px;padding:10px 20px 10px 16px;font-size:16px;background:var(--color-bg);border:1.5px solid color-mix(in srgb,var(--color-text) 28%,transparent);box-shadow:var(--shadow-sm)}
.topbar-back:hover{background:var(--color-surface)}
.topbar-pager{display:flex;flex-wrap:wrap;gap:8px}
.topbar-pager .btn{min-height:40px;padding:8px 16px;font-size:14px}
.build-hero{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:clamp(28px,4cqi,56px);align-items:center}
.build-hero-photo{aspect-ratio:4/3;border-radius:48px;overflow:hidden;box-shadow:var(--shadow-lg)}
.build-hero-photo img{width:100%;height:100%;object-fit:cover}
.tag-row{display:flex;flex-wrap:wrap;gap:8px}
.sub-title{font-size:clamp(24px,2.8cqi,32px);margin:0 0 20px}
.specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:12px;margin:0 0 clamp(36px,5cqi,56px)}
.spec{background:var(--paper);border-radius:24px;padding:16px 20px}
.spec dt{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--color-neutral-700)}
.spec dd{margin:4px 0 0;font-family:var(--font-heading);font-size:19px;line-height:1.25}
/* masonry: cards keep their own height and stack down columns, so long and short lists sit together without gaps */
.mod-grid{columns:3 260px;column-gap:18px}
.mod-grid>.card{break-inside:avoid;margin-bottom:18px}
.card-todo .tick{background:none;box-shadow:inset 0 0 0 2px var(--color-accent)}
.timeline{list-style:none;margin:0;padding:0 0 0 26px;border-left:2px solid var(--color-accent-2-300);display:flex;flex-direction:column;gap:32px;max-width:720px}
.log-entry{position:relative;display:flex;flex-direction:column;gap:6px}
.log-entry::before{content:"";position:absolute;left:-34px;top:4px;width:14px;height:14px;border-radius:50%;background:var(--color-accent);box-shadow:0 0 0 4px var(--mist)}
.log-date{font-size:13px;letter-spacing:.06em;text-transform:uppercase;font-weight:700;color:var(--color-accent-700)}
.log-title{font-family:var(--font-heading);font-size:21px;line-height:1.2}
.log-entry p{margin:0;font-size:15px;line-height:1.6;color:var(--color-neutral-800)}
/* galleries hold multiples of three photos, so columns are fixed at 1 / 2 / 3 to keep rows even */
.photo-grid{display:grid;grid-template-columns:1fr;gap:20px 16px;margin-bottom:clamp(32px,4cqi,48px)}
@container (min-width:480px){.photo-grid{grid-template-columns:repeat(2,1fr)}}
@container (min-width:760px){.photo-grid{grid-template-columns:repeat(3,1fr)}}
.photo-grid img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:24px}
.photo-grid figcaption{font-size:13px;margin-top:8px;color:var(--color-neutral-700)}
.build-pager{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-top:clamp(32px,4cqi,48px)}
.pager-link{display:flex;flex-direction:column;gap:2px;padding:14px 22px;border:1px solid var(--color-divider);border-radius:24px;text-decoration:none;color:var(--color-text);min-width:180px;background:var(--paper)}
.pager-link:hover{border-color:var(--color-accent)}
.pager-next{text-align:right;margin-left:auto}
.pager-label{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--color-neutral-700)}
.pager-name{font-family:var(--font-heading);font-size:20px}

/* home: rotating hero — CSS-only crossfade. Timing is tuned for 5 photos:
   6s each (1s fade), 30s loop. To change the count N: set the duration to
   6s×N, give child k a delay of 6s×(k−1) − 1s, and scale the keyframe
   percentages to 100/N (fade-in ends at 1/(6N), fade-out starts at 1/N). */
.hero-rotator{position:relative;aspect-ratio:5/4;width:100%;border-radius:44px;overflow:hidden;background:var(--color-surface)}
.hero-rotator img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;animation:hero-fade 30s linear infinite both}
.hero-rotator img:nth-child(1){opacity:1;animation-delay:-1s}
.hero-rotator img:nth-child(2){animation-delay:5s}
.hero-rotator img:nth-child(3){animation-delay:11s}
.hero-rotator img:nth-child(4){animation-delay:17s}
.hero-rotator img:nth-child(5){animation-delay:23s}
.hero-rotator:hover img{animation-play-state:paused}
@keyframes hero-fade{0%{opacity:0}3.33%{opacity:1}20%{opacity:1}23.33%{opacity:0}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.hero-rotator img{animation:none}.hero-rotator img:not(:first-child){display:none}}

/* builds: photo lightbox — CSS only. Each gallery photo links to #lb-<page>-<n>;
   :target shows that overlay. Close links go to #close (no such element), which
   clears :target without scrolling. Full-size images are loading="lazy", so they
   only download when their overlay is opened. */
.photo-link{display:block;border-radius:24px;cursor:zoom-in}
.photo-link img{transition:filter .2s ease}
.photo-link:hover img{filter:brightness(1.07)}
.lightbox{display:none;position:fixed;inset:0;z-index:50;padding:clamp(12px,3vw,40px);background:var(--scrim);color:var(--on-deep)}
.lightbox:target{display:flex}
.lb-backdrop{position:absolute;inset:0;cursor:zoom-out}
.lightbox figure{position:relative;margin:auto;display:flex;flex-direction:column;align-items:center;gap:12px;max-width:100%;pointer-events:none}
.lightbox img{width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 120px);object-fit:contain;border-radius:16px;background:var(--color-neutral-900);pointer-events:auto}
.lightbox figcaption{font-size:15px;text-align:center;color:var(--on-deep);max-width:60ch}
.lb-btn{position:fixed;width:48px;height:48px;display:grid;place-items:center;padding-bottom:4px;border-radius:50%;background:color-mix(in srgb, var(--on-deep) 16%, transparent);color:var(--on-deep);font:400 32px/1 var(--font-body);text-decoration:none}
.lb-btn:hover{background:color-mix(in srgb, var(--on-deep) 30%, transparent);color:var(--on-deep)}
.lb-close{top:16px;right:16px}
.lb-prev,.lb-next{top:50%;transform:translateY(-50%)}
.lb-prev{left:16px}
.lb-next{right:16px}
@media (max-width:640px){.lb-prev,.lb-next{top:auto;bottom:16px;transform:none}}
html:has(.lightbox:target){overflow:hidden}

/* trips: trip planning page */
.trip-hero{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:clamp(28px,4cqi,56px);align-items:center;padding:clamp(28px,5cqi,72px) var(--gutter) clamp(48px,7cqi,96px)}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.trip-hero-photo{aspect-ratio:3/2;border-radius:44px;overflow:hidden;box-shadow:var(--shadow-lg)}
.trip-hero-photo img{width:100%;height:100%;object-fit:cover}
.trip-intro{max-width:40em;margin:-12px 0 clamp(36px,5cqi,56px)}
.steps{list-style:none;margin:0 0 clamp(36px,5cqi,56px);padding:0;display:grid;grid-template-columns:1fr;gap:24px 28px}
/* five steps: a numbered vertical list until there is room for all five across */
.step{flex-direction:row;align-items:flex-start;gap:18px}
.step .step-num{flex:none}
@container (min-width:1000px){.steps{grid-template-columns:repeat(5,1fr)}.step{flex-direction:column;gap:14px}}
.step{display:flex}
.step .card-title{font-size:21px;margin-bottom:6px}
.step p{margin:0;font-size:15px;line-height:1.6;color:var(--color-neutral-800);text-wrap:pretty}
.plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:18px;margin-bottom:clamp(36px,5cqi,56px)}
/* each plan card gets its own palette: three light tints on top, then deep lake, sand and deep olive, so no two cards share a color */
.plan-grid>.card{--tint:var(--color-accent-100);--edge:var(--color-accent);--ink:var(--color-accent-800);--body:var(--color-neutral-800);background:var(--tint);border-top:5px solid var(--edge);box-shadow:var(--shadow-sm)}
.plan-grid>.card .card-title{color:var(--ink)}
.plan-grid>.card .card-body{opacity:1;color:var(--body)}
.plan-grid>.card:nth-child(2){--tint:var(--color-accent-2-100);--edge:var(--color-accent-2);--ink:var(--color-accent-2-800)}
.plan-grid>.card:nth-child(3){--tint:var(--sky);--edge:var(--lake);--ink:var(--lake)}
.plan-grid>.card:nth-child(4){--tint:var(--deep);--edge:var(--sky-deep);--ink:var(--on-deep);--body:var(--on-deep-soft)}
.plan-grid>.card:nth-child(5){--tint:var(--color-surface);--edge:var(--color-neutral-600);--ink:var(--color-neutral-900)}
.plan-grid>.card:nth-child(6){--tint:var(--olive-deep);--edge:var(--olive);--ink:var(--cream);--body:var(--cream)}
@container (min-width:760px){.plan-grid{grid-template-columns:repeat(3,1fr)}}
.addon-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px;margin-bottom:clamp(36px,5cqi,56px)}
.addon-grid>.card{display:flex;flex-direction:column}
.addon-price{display:flex;align-items:baseline;gap:10px;margin-top:auto;padding-top:16px}
.addon-price .price{font-size:30px}
/* trips/sample-plan: the full sample trip plan page */
.sp-hero{padding:clamp(20px,3cqi,40px) var(--gutter) clamp(32px,4cqi,56px);display:grid;gap:18px;justify-items:start}
.sp-hero .eyebrow{margin:0}
.sp-back{margin-left:-14px;font-size:15px;gap:6px}
.sp-section{padding:clamp(40px,5cqi,72px) var(--gutter)}
.sp-lead{max-width:44em;margin:-16px 0 28px}
.sp-hero .sp-lead{margin:0}
.sp-meta{display:flex;flex-wrap:wrap;gap:6px 18px}
.sp-note{margin:0;max-width:60em;padding:12px 18px;border:1px dashed var(--color-accent);border-radius:var(--radius-md);background:var(--color-accent-100);color:var(--color-neutral-800);font-size:14px;line-height:1.6}
.sp-stats{justify-self:stretch;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1px;margin:8px 0 0;background:var(--line);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}
.sp-stats>div{background:var(--paper);padding:18px 20px;display:grid;gap:6px;align-content:start}
.sp-stats dt{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--color-neutral-700)}
.sp-stats dd{margin:0;font-family:var(--font-heading);font-size:32px;line-height:1;font-variant-numeric:tabular-nums}
.sp-stats small{font-size:16px;color:var(--color-neutral-700);white-space:nowrap}
@container (max-width:520px){.sp-stats{grid-template-columns:1fr 1fr}.sp-stats>div:last-child:nth-child(odd){grid-column:1/-1}}
.sp-days{border-top:1px solid var(--line)}
.sp-day{display:grid;grid-template-columns:92px minmax(0,1.5fr) minmax(0,1fr) 160px;gap:8px 24px;padding:18px 0;border-bottom:1px solid var(--line);align-items:start}
.sp-when{display:grid;gap:2px}
.sp-when b{font-family:var(--font-heading);font-weight:400;font-size:22px;line-height:1}
.sp-when span,.sp-k,.sp-nums dt{font-size:13px;color:var(--color-neutral-700)}
.sp-route{display:grid;gap:6px;min-width:0}
.sp-route h3{font-size:19px;margin:0}
.sp-route p{margin:0;font-size:14px;line-height:1.6;color:var(--color-neutral-800)}
.sp-camp{display:grid;gap:4px;font-size:14px;min-width:0}
.sp-k{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.sp-nums{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;margin:0;font-size:14px;font-variant-numeric:tabular-nums}
.sp-nums dt{font-size:14px}
.sp-nums dd{margin:0;text-align:right}
@container (max-width:759px){
  .sp-day{grid-template-columns:72px minmax(0,1fr)}
  .sp-camp,.sp-nums{grid-column:2}
  .sp-nums{grid-template-columns:repeat(4,auto);justify-content:start}
  .sp-nums dd{text-align:left;margin-right:10px}
}
@container (max-width:479px){.sp-nums{grid-template-columns:auto 1fr}}
.sp-flag{display:inline-block;margin-right:6px;padding:1px 9px;border-radius:999px;font-size:12px;font-weight:600;vertical-align:1px}
.sp-flag-fuel{background:var(--color-accent-100);color:var(--color-accent-800)}
.sp-flag-permit{background:var(--color-accent-2-100);color:var(--color-accent-2-800)}
.sp-flag-tech{background:var(--color-surface);color:var(--color-text)}
.sp-flag-fun{background:var(--mist);color:var(--color-neutral-800)}
.sp-fuel-wrap{padding-top:0}
.sp-fuel{background:var(--deep);color:var(--on-deep-soft);border-radius:40px;padding:clamp(28px,5cqi,64px)}
.sp-fuel .eyebrow,.sp-fuel .sp-lead{color:var(--on-deep-soft)}
.sp-fuel .section-title{color:var(--on-deep)}
.sp-fuelgrid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:32px;align-items:start}
@container (max-width:759px){.sp-fuelgrid{grid-template-columns:1fr}}
.sp-chart{width:100%;height:auto;display:block}
.sp-chart-sm,.sp-chart-key{display:none}
@container (max-width:520px){.sp-chart-lg{display:none}.sp-chart-sm{display:block}.sp-chart-key{display:block;margin:12px 0 0;font-size:14px;line-height:1.6}}
.sp-chart text{font-family:var(--font-body);font-size:13px;fill:var(--on-deep-soft)}
.sp-chart .sp-lbl{font-weight:600;fill:var(--on-deep)}
.sp-grid line{stroke:color-mix(in srgb, var(--on-deep-soft) 22%, transparent);stroke-width:1}
.sp-bar-dry{fill:var(--rust)}
.sp-bar-need{fill:var(--sky-deep)}
.sp-bar-range{fill:var(--olive)}
.sp-dot circle{fill:var(--cream)}
.sp-mark{stroke:var(--cream);stroke-width:1.5;stroke-dasharray:4 4}
.sp-math{display:grid;gap:10px;padding:22px;border-radius:28px;background:color-mix(in srgb, var(--on-deep) 8%, transparent);border:1px solid color-mix(in srgb, var(--on-deep) 14%, transparent)}
.sp-row{display:flex;justify-content:space-between;gap:12px;font-size:15px}
.sp-row b{font-family:var(--font-heading);font-weight:400;font-size:20px;color:var(--on-deep)}
.sp-total{border-top:1px solid color-mix(in srgb, var(--on-deep-soft) 30%, transparent);padding-top:10px}
.sp-math p{margin:0;font-size:14px;line-height:1.6}
.sp-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px}
.sp-cols>.card{display:grid;gap:14px;align-content:start}
.sp-tscroll{overflow-x:auto}
.sp-nowrap{white-space:nowrap}
.sp-prep{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:28px}
.sp-prep .card-title{margin:0 0 12px}
.sp-timeline{display:grid;gap:14px;font-size:14px;line-height:1.55}
.sp-timeline>div{display:grid;grid-template-columns:110px 1fr;gap:12px}
.sp-timeline b{font-family:var(--font-heading);font-weight:400;color:var(--color-accent-700)}
.sp-ticks{list-style:none;margin:0;padding:0;display:grid;gap:7px;font-size:14px;line-height:1.55}
.sp-ticks li{position:relative;padding-left:18px}
.sp-ticks li::before{content:"";position:absolute;left:0;top:7px;width:8px;height:8px;border-radius:50%;background:var(--color-accent-2)}
.sp-ticks em{font-style:normal;font-size:12px;font-weight:600;color:var(--color-accent-700);margin-left:4px}
.sp-lessons{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:24px}
.sp-lesson{display:grid;gap:8px;align-content:start;padding-top:16px;border-top:2px solid var(--color-accent)}
.sp-lesson q{font-family:var(--font-heading);font-size:18px;line-height:1.3;quotes:none}
.sp-lesson p{margin:0;font-size:14px;line-height:1.6;color:var(--color-neutral-800)}
.sp-close{display:grid;gap:18px;justify-items:start}
.sp-close .eyebrow{margin:0}
.sp-close .sp-lead{margin:0}
.where{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:28px 40px;padding:clamp(24px,3.5cqi,36px);background:var(--paper);border-radius:36px}
.where>div:first-child{flex:1 1 380px}
.fine-print{margin:20px 0 0;padding:14px 20px;border-left:3px solid var(--color-accent-2);font-size:14px;line-height:1.6;color:var(--color-neutral-700);max-width:60em}
.fine-print strong{color:var(--color-text)}
#planning,#whats-in,#sample{scroll-margin-top:110px}

/* about: "Present, not posting" note */
.present-note{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px clamp(28px,5cqi,64px);align-items:start;background:var(--paper);border-radius:40px;padding:clamp(28px,5cqi,56px)}
/* spacing lives on the section (padding), not the panel (margin): a top margin here escaped the section and exposed a strip of page background */
.band-tail:has(>.present-note){padding-top:clamp(24px,4cqi,48px)}
.present-body p{font-size:17px;line-height:1.7;color:var(--color-neutral-800);text-wrap:pretty;margin:0 0 14px}
.present-body p:last-child{margin:0}

/* about: "The crew" teaser linking to the Friends & Family page */
.crew-teaser-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px 24px;margin-bottom:24px}
.crew-strip{display:grid;grid-template-columns:1fr;gap:16px}
@container (min-width:560px){.crew-strip{grid-template-columns:repeat(3,1fr)}}
.crew-strip a{display:block;border-radius:24px;overflow:hidden}
.band-tail:has(>.crew-strip){padding-bottom:clamp(16px,2.5cqi,28px)}
.crew-strip img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;transition:transform .4s ease}
.crew-strip a:hover img{transform:scale(1.04)}
@media (prefers-reduced-motion:reduce){.crew-strip img{transition:none}}

/* home: "Recent builds" — compact version of the Builds page cards */
.section-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px 24px;margin-bottom:32px}
.build-grid-compact{gap:24px 18px}
@container (min-width:560px){.build-grid-compact{grid-template-columns:repeat(2,1fr)}}
@container (min-width:1000px){.build-grid-compact{grid-template-columns:repeat(4,1fr)}}
.build-grid-compact .build-photo{border-radius:24px}
.build-grid-compact .build-name{font-size:22px}
.build-grid-compact .build-blurb{font-size:14px;line-height:1.5}

/* Long forms (trip request, participant profile): numbered steps and chip groups */
.form-step{display:flex;flex-direction:column;gap:var(--space-6);border:0;margin:0;padding:0}
.form-step+.form-step{border-top:1px solid color-mix(in srgb, var(--ink) 12%, transparent);padding-top:26px;margin-top:8px}
.form-step-title{font-size:clamp(24px,2.6cqi,28px);margin:0}
.form-step-num{display:block;font:600 12px/1.2 var(--font-body);letter-spacing:.08em;text-transform:uppercase;color:var(--color-accent-700);margin-bottom:6px}
.field-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:var(--space-6) 16px;align-items:end}
.chip-group{border:0;margin:0;padding:0;min-width:0}
.chip-group legend{display:block;margin-bottom:var(--space-2);padding:0;font:600 18px/1.3 var(--font-heading);color:var(--ink);text-wrap:balance}
.chip-group > .field-hint{margin:-4px 0 var(--space-2)}
.chip-group .chips{display:flex;flex-wrap:wrap;gap:8px}
.field-hint{font-size:14px;line-height:1.5;margin:4px 0 0;color:var(--muted)}

/* privacy policy and other long legal pages */
.legal{max-width:760px;margin:0 auto;padding:clamp(40px,6cqi,80px) var(--gutter)}
.legal .page-title{margin-bottom:12px}
.legal-date{color:var(--muted);font-size:14px;margin:0 0 32px}
.legal h2{font-size:clamp(24px,2.8cqi,32px);margin:48px 0 12px;text-wrap:balance}
.legal p,.legal li{line-height:1.6}
.legal ul{padding-left:1.25em;margin:0 0 16px}
.legal li{margin-bottom:6px}
.legal a{color:var(--link);text-decoration:underline;text-underline-offset:2px}
.legal a:hover{color:var(--link-hover)}
.legal-table{overflow-x:auto;margin:16px 0 24px}
.legal-table .table td{vertical-align:top;line-height:1.5}
.legal-table .table td:first-child{font-weight:600;min-width:9em}
@media (max-width:560px){
.legal-table .table thead{display:none}
.legal-table .table tr{display:grid;grid-template-columns:1fr 1fr;column-gap:16px;border-bottom:1px solid color-mix(in srgb, var(--color-text) 8%, transparent)}
.legal-table .table td{border-bottom:0}
.legal-table .table td:first-child{grid-column:1/-1;min-width:0;padding-bottom:0}
.legal-table .table td:last-child:nth-child(2){grid-column:1/-1}
}
