:root {
  --sand: #f6efe2;
  --sand-2: #ece2cf;
  --ink: #1b2620;
  --pine: #2f5d50;
  --pine-deep: #16261f;
  --sunset: #e8602c;
  --sunset-deep: #c8481a;
  --sun: #f2b544;
  --muted: #5d6b63;
  --display: "Big Shoulders Display", Impact, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --hand: "Caveat", cursive;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: .95; margin: 0; letter-spacing: .01em; }
.hand { font-family: var(--hand); }

/* ---------- Trail progress ---------- */
.trail { position: fixed; inset: 0 0 auto 0; height: 6px; z-index: 60; pointer-events: none; }
.trail__line {
  height: 100%; width: 0;
  background: repeating-linear-gradient(90deg, var(--sun) 0 14px, transparent 14px 22px);
}
.trail__van {
  position: absolute; top: 4px; left: 0; width: 34px; height: 17px;
  color: var(--sunset); transform: translateX(-50%);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.3));
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  color: var(--sand);
  transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.is-solid { background: rgba(22, 38, 31, .92); backdrop-filter: blur(8px); box-shadow: 0 4px 20px rgba(0,0,0,.15); padding-block: 10px; }
.nav__brand {
  font: 900 26px/1 var(--display); text-decoration: none; letter-spacing: .02em;
  display: flex; align-items: baseline; gap: 8px;
}
.nav__brand span {
  font: 600 22px/1 var(--hand); color: var(--sun); transform: rotate(-4deg); display: inline-block;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: 15px; opacity: .85; }
.nav__links a:hover { opacity: 1; color: var(--sun); }
@media (max-width: 760px) { .nav__links { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid var(--sunset);
  background: var(--sunset); color: #fff; font-weight: 700; text-decoration: none;
  font-size: 16px; transition: transform .15s, background .15s, box-shadow .15s;
  box-shadow: 0 4px 0 var(--sunset-deep);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--sunset-deep); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--sunset-deep); }
.btn--small { padding: 9px 18px; font-size: 14px; }
.btn--ghost { background: transparent; border-color: var(--sand); color: var(--sand); box-shadow: none; }
.btn--ghost:hover { background: rgba(246,239,226,.12); box-shadow: none; }
.btn--ghost-light { background: transparent; border-color: rgba(246,239,226,.5); color: var(--sand); box-shadow: none; }
.btn--ghost-light:hover { border-color: var(--sand); box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--sand); overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  transform: scale(1.08); animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,16,13,.55) 0%, rgba(10,16,13,0) 30%, rgba(10,16,13,.15) 55%, rgba(10,16,13,.85) 100%);
}
.hero__content { position: relative; padding: 0 var(--gutter) clamp(56px, 10vh, 110px); max-width: 920px; }
.eyebrow {
  display: block;
  font: 700 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .14em;
  color: var(--sun); margin: 0 0 14px;
}
.hero h1 { font-size: clamp(64px, 13vw, 168px); font-weight: 900; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--sunset); -webkit-text-stroke: 0; }
.hero__sub { font-size: clamp(17px, 2vw, 20px); max-width: 560px; margin: 20px 0 28px; opacity: .92; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; bottom: 18px; left: 50%; translate: -50% 0; text-decoration: none;
  font-size: 14px; opacity: .7; animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(6px); } }

.sticker {
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--sun); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 0 0 6px var(--sun), 0 0 0 8px var(--ink), 0 12px 30px rgba(0,0,0,.35);
  transform: rotate(12deg);
  font: 700 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em;
}
.sticker strong { font: 900 34px/1 var(--display); letter-spacing: 0; margin: 4px 0; }
.hero__sticker { position: absolute; top: 110px; right: var(--gutter); animation: wobble 5s ease-in-out infinite; }
@keyframes wobble { 0%,100% { transform: rotate(12deg); } 50% { transform: rotate(6deg) scale(1.04); } }
@media (max-width: 600px) {
  .sticker { width: 108px; height: 108px; font-size: 9px; }
  .sticker strong { font-size: 24px; }
  .hero__sticker { top: 84px; }
}

/* ---------- Stats ---------- */
.stats {
  background: var(--pine-deep); color: var(--sand);
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-block: 4px dashed var(--sun);
}
.stat { padding: 30px 12px; text-align: center; border-right: 1px solid rgba(246,239,226,.12); }
.stat:last-child { border-right: 0; }
.stat__num { font: 700 clamp(24px, 3vw, 36px)/1 var(--mono); color: var(--sun); }
.stat__label { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-top: 8px; opacity: .75; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3n) { border-right: 0; }
  .stat:nth-child(-n+3) { border-bottom: 1px solid rgba(246,239,226,.12); }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat, .stat:nth-child(3n) { border-right: 1px solid rgba(246,239,226,.12); border-bottom: 1px solid rgba(246,239,226,.12); }
  .stat:nth-child(2n) { border-right: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) var(--gutter); position: relative; }
.section__head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section__head h2 { font-size: clamp(44px, 7vw, 84px); font-weight: 900; text-transform: uppercase; margin: 14px 0 18px; }
.section__head p { color: var(--muted); font-size: 18px; margin: 0; }
.section--dark { background: var(--pine-deep); color: var(--sand); }
.section--dark .section__head p { color: rgba(246,239,226,.75); }
.section--sand { background: var(--sand-2); }

.marker {
  display: inline-grid; place-items: center; width: 52px; height: 52px;
  background: var(--sunset); color: #fff; font: 700 16px/1 var(--mono);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.marker--light { background: var(--sun); color: var(--ink); }

/* Topographic-map background */
.topo {
  background-color: var(--sand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%232f5d50' stroke-opacity='.09' stroke-width='1.5'%3E%3Cpath d='M-50 120 C 80 60, 160 180, 300 110 S 520 40, 650 130'/%3E%3Cpath d='M-50 160 C 90 100, 170 220, 300 150 S 520 80, 650 170'/%3E%3Cpath d='M-50 200 C 100 140, 180 260, 300 190 S 520 120, 650 210'/%3E%3Cellipse cx='420' cy='380' rx='120' ry='70'/%3E%3Cellipse cx='420' cy='380' rx='85' ry='48'/%3E%3Cellipse cx='420' cy='380' rx='50' ry='27'/%3E%3Cellipse cx='420' cy='380' rx='18' ry='10'/%3E%3Cpath d='M-50 470 C 60 420, 140 540, 250 480 S 420 560, 650 500'/%3E%3Cpath d='M-50 520 C 70 470, 150 590, 250 530 S 420 610, 650 550'/%3E%3Cellipse cx='110' cy='330' rx='70' ry='45'/%3E%3Cellipse cx='110' cy='330' rx='38' ry='22'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 600px 600px;
}

/* ---------- Polaroids ---------- */
.polaroid {
  margin: 0; background: #fff; padding: 12px 12px 0; border-radius: 4px;
  box-shadow: 0 18px 40px rgba(27,38,32,.22), 0 2px 6px rgba(27,38,32,.12);
}
.polaroid img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: 2px; }
.polaroid figcaption { font: 600 26px/1 var(--hand); text-align: center; padding: 14px 0 16px; color: var(--ink); }
.tilt-l, .shot.tilt-l { rotate: -2deg; }
.tilt-r, .shot.tilt-r { rotate: 2deg; }

/* ---------- Terrain tabs ---------- */
.terrain { max-width: 1120px; margin: 0 auto; }
.terrain__tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px;
}
.terrain__tabs button {
  font: 700 16px/1 var(--body); padding: 14px 22px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
  transition: background .2s, color .2s, transform .15s;
}
.terrain__tabs button:hover { transform: translateY(-2px); }
.terrain__tabs button[aria-selected="true"] { background: var(--ink); color: var(--sand); }
.terrain__panel {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  animation: panelIn .45s ease;
}
.terrain__panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.terrain__copy h3 { font-size: clamp(36px, 4.5vw, 56px); text-transform: uppercase; margin-bottom: 16px; color: var(--pine); }
.terrain__copy p { margin: 0 0 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sunset); color: #fff; font-size: 13px; font-weight: 700;
  display: grid; place-items: center;
}
@media (max-width: 820px) { .terrain__panel { grid-template-columns: 1fr; } }

/* ---------- Off-grid calc ---------- */
.calc {
  max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
}
.calc__controls { display: grid; gap: 12px; }
.toggle {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius);
  background: rgba(246,239,226,.06); border: 1px solid rgba(246,239,226,.14); cursor: pointer;
  transition: background .2s, border-color .2s;
}
.toggle:hover { background: rgba(246,239,226,.1); }
.toggle:has(input:checked) { border-color: var(--sun); background: rgba(242,181,68,.1); }
.toggle:has(input:disabled) { cursor: default; opacity: .75; }
.toggle input { appearance: none; width: 22px; height: 22px; flex: none; border-radius: 6px; border: 2px solid var(--sand); display: grid; place-items: center; margin: 0; }
.toggle input:checked { background: var(--sun); border-color: var(--sun); }
.toggle input:checked::after { content: "✓"; color: var(--ink); font-weight: 700; font-size: 14px; }
.toggle span { display: flex; flex-direction: column; font-weight: 500; }
.toggle small { font-family: var(--mono); font-size: 12px; opacity: .6; }

.range { padding: 10px 4px 0; }
.range label { display: flex; justify-content: space-between; font-weight: 500; margin-bottom: 8px; }
.range output { font-family: var(--mono); color: var(--sun); }
input[type=range] { width: 100%; accent-color: var(--sunset); height: 28px; }

.calc__result { text-align: center; }
.gauge { position: relative; max-width: 380px; margin: 0 auto; }
.gauge__svg { width: 100%; overflow: visible; }
.gauge__track { fill: none; stroke: rgba(246,239,226,.12); stroke-width: 18; stroke-linecap: round; }
.gauge__fill { fill: none; stroke: var(--sun); stroke-width: 18; stroke-linecap: round; transition: stroke-dashoffset .6s cubic-bezier(.3,1.4,.5,1), stroke .3s; }
.gauge__readout { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; }
.gauge__num { font: 900 clamp(64px, 9vw, 96px)/.9 var(--display); color: var(--sand); }
.gauge__unit { font: 700 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; opacity: .7; margin-top: 6px; }
.calc__verdict { font: 600 28px/1.2 var(--hand); color: var(--sun); min-height: 2.4em; margin: 22px 0 10px; }
.fine { font-size: 13px; opacity: .6; margin: 0; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } .calc__result { order: -1; } }

/* ---------- Inside ---------- */
.inside {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto auto; gap: 20px;
}
.inside figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 30px rgba(27,38,32,.18); }
.inside img { width: 100%; height: 100%; object-fit: cover; }
.inside__big { grid-row: span 2; min-height: 420px; }
.inside__small { aspect-ratio: 16/10; }
.inside__small figcaption {
  position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: 26px;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.inside__cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 22px;
  border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--sunset); }
.card__icon { font-size: 30px; }
.card h4 { font: 900 24px/1 var(--display); text-transform: uppercase; margin: 10px 0 8px; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) {
  .inside { grid-template-columns: 1fr 1fr; }
  .inside__big { grid-column: 1 / -1; grid-row: auto; min-height: 0; aspect-ratio: 4/3; }
  .inside__cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .inside { grid-template-columns: 1fr; }
  .inside__cards { grid-template-columns: 1fr; }
}

/* ---------- Specs ---------- */
.specs { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.spec {
  background: var(--sand); border-radius: var(--radius); padding: 26px;
  border-top: 6px solid var(--pine);
}
.spec:nth-child(3n+2) { border-top-color: var(--sunset); }
.spec:nth-child(3n) { border-top-color: var(--sun); }
.spec h3 { font-size: 30px; text-transform: uppercase; margin-bottom: 16px; }
.spec dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.spec dt, .spec dd { padding: 9px 0; border-bottom: 1px dashed rgba(27,38,32,.2); margin: 0; }
.spec dt { font: 700 12px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-right: 14px; }
.spec dd { font-weight: 500; text-align: right; }
@media (max-width: 900px) { .specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .specs { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { max-width: 1240px; margin: 0 auto; columns: 4 260px; column-gap: 22px; }
.shot {
  all: unset; box-sizing: border-box; display: block; cursor: zoom-in; width: 100%;
  break-inside: avoid; margin-bottom: 26px; background: #fff; padding: 10px 10px 0; border-radius: 4px;
  box-shadow: 0 10px 24px rgba(27,38,32,.16);
  transition: rotate .25s, transform .25s, box-shadow .25s;
}
.shot:hover, .shot:focus-visible { rotate: 0deg; transform: scale(1.03); box-shadow: 0 20px 40px rgba(27,38,32,.25); z-index: 1; position: relative; }
.shot:focus-visible { outline: 3px solid var(--sunset); outline-offset: 3px; }
.shot img { width: 100%; border-radius: 2px; }
.shot span { display: block; font: 600 22px/1 var(--hand); text-align: center; padding: 12px 0 14px; }

/* ---------- Owner note ---------- */
.note { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: center; max-width: 1180px; margin: 0 auto; }
.note.section { max-width: none; padding-inline: max(var(--gutter), calc((100% - 1100px) / 2)); }
.note__photo img { aspect-ratio: 1; }
.note__copy h2 { font-size: clamp(40px, 5.5vw, 68px); text-transform: uppercase; margin: 14px 0 20px; }
.note__text { font-size: 19px; margin: 0 0 14px; }
.note__sig { font-size: 32px; color: var(--sunset); margin: 0; }
@media (max-width: 820px) { .note { grid-template-columns: 1fr; } .note__photo { max-width: 380px; margin: 0 auto; } }

/* ---------- Buy ticket ---------- */
.ticket {
  max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr;
  background: var(--sand); color: var(--ink); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.ticket__main { padding: clamp(24px, 4vw, 44px); position: relative; }
.ticket__label { font: 700 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0; }
.ticket__price { font: 900 clamp(60px, 9vw, 104px)/1 var(--display); color: var(--sunset); margin: 6px 0 22px; }
.ticket__facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.ticket__facts dt { font: 700 12px/1.8 var(--mono); text-transform: uppercase; color: var(--muted); }
.ticket__facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.ticket__stub {
  background: var(--pine); color: var(--sand); padding: clamp(24px, 4vw, 44px);
  display: flex; flex-direction: column; gap: 12px; justify-content: center;
  border-left: 3px dashed var(--sand); position: relative;
}
.ticket__stub::before, .ticket__stub::after {
  content: ""; position: absolute; left: -16px; width: 30px; height: 30px; border-radius: 50%; background: var(--pine-deep);
}
.ticket__stub::before { top: -15px; }
.ticket__stub::after { bottom: -15px; }
.ticket__stub .fine { margin-top: 6px; }
@media (max-width: 760px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket__stub { border-left: 0; border-top: 3px dashed var(--sand); }
  .ticket__stub::before, .ticket__stub::after { display: none; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(246,239,226,.7); text-align: center; padding: 40px var(--gutter); font-size: 14px; }
.footer__van { width: 64px; height: 32px; color: var(--sunset); margin: 0 auto 10px; animation: drive 3s ease-in-out infinite; }
@keyframes drive { 0%,100% { transform: translateX(-40px); } 50% { transform: translateX(40px); } }
.footer p { margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; overflow: hidden;
}
.lightbox::backdrop { background: rgba(10,16,13,.92); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 80vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__cap { color: var(--sand); font-size: 30px; margin: 16px 0 0; }
.lightbox button {
  position: absolute; background: rgba(246,239,226,.12); color: var(--sand); border: 0; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 28px; line-height: 1;
}
.lightbox button:hover { background: var(--sunset); }
.lightbox__close { top: 18px; right: 18px; font-size: 20px !important; }
.lightbox__prev { left: 18px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 18px; top: 50%; translate: 0 -50%; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: #fff; border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--ink); transition: box-shadow .15s;
}
.faq details[open] { box-shadow: 4px 4px 0 var(--sunset); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font: 900 22px/1.15 var(--display); text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%;
  width: 28px; height: 28px; border-radius: 50%; background: var(--sunset); color: #fff;
  display: grid; place-items: center; font: 700 20px/1 var(--body); transition: rotate .2s;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.faq a { color: var(--sunset-deep); font-weight: 700; }
