/* =========================================================================
   2021 Turtleback Expedition — "Topographic Field Dossier"
   Fonts: Archivo Expanded (display) · Hanken Grotesk (body) · Martian Mono (data)
   ========================================================================= */

:root {
  /* palette */
  --olive: #4a5240;
  --olive-deep: #2e3328;
  --olive-2: #5e6b4e;
  --orange: #c4541a;        /* decorative: fills, borders, buttons */
  --orange-glow: #e0723f;
  --orange-text: #e0723f;   /* AA-contrast orange for text/icons on dark */
  --bedline: #1a1a18;
  --ink: #131310;
  --sand: #c9ba9b;
  --khaki: #e8dfc8;
  --parchment: #f5f0e8;
  --topo: #3d4535;
  --muted: #9aa089;

  /* surfaces & text */
  --bg: #14140f;
  --card: #1d1d18;
  --line: rgba(201, 186, 155, 0.14);
  --line-strong: rgba(201, 186, 155, 0.28);
  --text: #ece6d8;
  --text-dim: #a9a691;

  /* type */
  --display: "Archivo Expanded", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;

  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* faint topographic substrate + film grain across the whole page */
body::before,
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; }
body::before {
  background: url("../assets/topo-substrate.svg");
  background-size: 760px;
  opacity: 0.05;
}
body::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: overlay;
}
main, .nav, .footer { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
  background: var(--orange); color: #fff; padding: 10px 16px; z-index: 200; border-radius: var(--radius);
}
.skip:focus { width: auto; height: auto; clip: auto; left: 12px; top: 12px; }

/* visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--orange-text); outline-offset: 3px; border-radius: var(--radius);
}
.btn:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; }
@media (forced-colors: active) {
  .nav__links a::after { background: ButtonText; }
  .nav__links a.is-active::after { background: Highlight; }
}

/* ---------- shared bits ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
section[id], #main { scroll-margin-top: 76px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--orange-text);
  display: inline-flex; align-items: center; gap: 0.6em; margin: 0 0 1.1rem;
}
.eyebrow--center { justify-content: center; }
.eyebrow__icon { width: 15px; height: 15px; }
.eyebrow .icon { color: var(--orange-text); }

.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 68px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title {
  font-family: var(--display); font-weight: 800; line-height: 1.02;
  font-size: clamp(1.9rem, 4.4vw, 3.3rem); letter-spacing: -0.015em;
  margin: 0; color: var(--parchment); text-wrap: balance;
}
.section__lead { color: var(--text-dim); font-size: 1.075rem; margin: 1.1rem 0 0; max-width: 60ch; }
.section__head--center .section__lead { margin-inline: auto; }

.section--dark { background: linear-gradient(180deg, #20231b, #191a14); }
.section--dark .section__title { color: var(--parchment); }
.section--olive { background: var(--olive); color: var(--parchment); }
/* muted-role text needs to lighten on the olive surface to keep AA contrast */
.section--olive .eyebrow, .section--olive .spec-row dt, .section--olive .seller__role,
.section--olive .section__lead { color: var(--khaki); }

/* coordinate ruler */
.ruler { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gut) 14px; }
.ruler__ticks { display: flex; justify-content: space-between; align-items: flex-end; height: 16px; border-bottom: 1px solid var(--line); }
.tick { width: 1px; height: 6px; background: var(--line-strong); }
.tick--lg { height: 12px; background: var(--sand); opacity: 0.6; }
.ruler__labels { display: flex; gap: 1.5rem; margin-top: 8px; }
.ruler__label { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }

/* topo decorative layers (baked color variants as cached backgrounds) */
.topo-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; background-repeat: no-repeat; background-position: center; background-size: cover; }

/* buttons */
.btn {
  --btn-bg: transparent; position: relative; display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--body); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.01em;
  padding: 0.85em 1.5em; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; overflow: hidden; transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
  background: var(--btn-bg); isolation: isolate;
}
.btn .icon { width: 18px; height: 18px; }
.btn--sm { padding: 0.6em 1.1em; font-size: 0.84rem; min-height: 44px; }
.btn--lg { padding: 1.05em 1.9em; font-size: 1rem; }
.btn--accent { --btn-bg: var(--orange); color: #fff; }
.btn--accent::before {
  content: ""; position: absolute; inset: 0; background: var(--orange-glow); z-index: -1;
  transform: scaleX(0); transform-origin: left; transition: transform 0.32s var(--ease);
}
.btn--accent:hover::before { transform: scaleX(1); }
.btn--accent:hover { transform: translateY(-1px); }
.btn--ghost { color: var(--parchment); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--ink); border-color: var(--sand); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; background: var(--sand); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.3s var(--ease);
}
.btn--ghost:hover::before { transform: scaleY(1); }

/* stamp badge */
.stamp {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange-text); border: 1.5px dashed var(--orange);
  padding: 0.4em 0.7em; border-radius: var(--radius); transform: rotate(-3deg);
  background: rgba(196, 84, 26, 0.08); white-space: nowrap;
}

/* "confirm at sale" dotted underline */
.confirm { text-decoration: underline dotted var(--sand); text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: help; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(20, 21, 16, 0.86); backdrop-filter: blur(12px) saturate(1.1);
  border-bottom-color: var(--line);
}
.nav__inner { max-width: var(--wrap); margin: 0 auto; padding: 0.85rem var(--gut); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__model { font-family: var(--display); font-weight: 800; font-size: 0.98rem; letter-spacing: 0.01em; color: var(--parchment); text-transform: uppercase; }
.brand__year { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; color: var(--orange-text); text-transform: uppercase; }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a { font-size: 0.88rem; font-weight: 600; color: var(--text-dim); position: relative; display: inline-flex; align-items: center; min-height: 44px; transition: color 0.2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--orange); transition: width 0.25s var(--ease); }
.nav__links a:hover { color: var(--parchment); }
.nav:not(.is-stuck) .nav__links a { color: var(--khaki); }
.nav:not(.is-stuck) .nav__links a:hover { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__links a.is-active { color: var(--parchment); }
.nav__right { display: flex; align-items: center; gap: 0.8rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 10px; min-width: 44px; min-height: 44px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--sand); transition: 0.25s var(--ease); }
.nav__drawer { display: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; background: #14140f; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 50%; z-index: 0; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10,11,7,0.6) 0%, rgba(10,11,7,0.12) 12%, rgba(10,11,7,0) 22%),
    linear-gradient(to top, rgba(10,11,7,0.95) 0%, rgba(10,11,7,0.62) 28%, rgba(10,11,7,0.12) 58%, rgba(10,11,7,0) 82%),
    linear-gradient(to right, rgba(10,11,7,0.72) 0%, rgba(10,11,7,0.28) 44%, rgba(10,11,7,0) 70%);
}
.hero__topo { inset: auto 0 0 0; height: 62%; z-index: 1; background-image: url("../assets/topo-hero-sand.svg"); opacity: 0.1; -webkit-mask-image: linear-gradient(180deg, transparent, #000 65%); mask-image: linear-gradient(180deg, transparent, #000 65%); }
.hero__inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(120px, 16vh, 180px) var(--gut) clamp(88px, 12vh, 124px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__copy { max-width: 700px; }
.hero__title {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.7rem, 7.4vw, 6rem); line-height: 0.92; letter-spacing: -0.02em;
  margin: 0 0 1.4rem; color: var(--parchment); text-shadow: 0 2px 30px rgba(0,0,0,0.45);
}
.hero__title br { display: block; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #e6e0d2; max-width: 52ch; margin: 0 0 1.8rem; text-shadow: 0 1px 14px rgba(0,0,0,0.5); }
.taglines { list-style: none; margin: 0 0 1.7rem; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.taglines li { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--sand); display: flex; align-items: center; gap: 0.7rem; }
.tagline-dot { width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); flex: none; }
.hero__price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.4rem 0.9rem; margin: 0 0 2rem;
  padding-left: 1rem; border-left: 3px solid var(--orange);
}
.hero__price-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sand); width: 100%; }
.hero__price-amount {
  font-family: var(--display); font-weight: 900; font-size: clamp(2.1rem, 5vw, 3.1rem);
  line-height: 1; letter-spacing: -0.01em; color: var(--parchment); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
.hero__price-meta { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--khaki); display: inline-flex; align-items: center; gap: 0.4rem; }
.hero__price-meta .icon { width: 14px; height: 14px; color: var(--orange-text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__locale {
  margin-top: 1.9rem; align-self: flex-start; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--khaki); display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--line-strong); padding: 0.5em 0.85em; border-radius: 2px; background: rgba(10,11,7,0.4); backdrop-filter: blur(5px);
}
.hero__locale .icon { width: 14px; height: 14px; color: var(--orange-text); }

.hero__scroll { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); width: 28px; height: 44px; border: 1.5px solid var(--line-strong); border-radius: 14px; z-index: 3; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; background: var(--orange); border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 70% { opacity: 1; transform: translate(-50%, 12px); } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* =========================================================================
   STATS
   ========================================================================= */
.stats { background: var(--ink); border-block: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.stat { padding: clamp(28px, 4vw, 48px) 1rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__value { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1; color: var(--orange-text); letter-spacing: -0.01em; }
.stat__label { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 0.7rem; }

/* =========================================================================
   STORY / PROVENANCE
   ========================================================================= */
.story__grid { display: grid; grid-template-columns: 1.4fr 0.95fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.story__copy p { margin: 0 0 1.3rem; color: var(--text); }
.story__copy p:first-child { font-size: 1.18rem; color: var(--parchment); }
.story__copy p:first-child::first-letter { font-family: var(--display); font-weight: 800; font-size: 3.4rem; float: left; line-height: 0.8; margin: 0.1em 0.12em 0 0; color: var(--orange); }
.story__media { display: flex; flex-direction: column; gap: 1.2rem; position: sticky; top: 90px; }

.pullquote { position: relative; margin: clamp(48px, 6vw, 80px) 0 0; padding: clamp(32px, 5vw, 60px); overflow: hidden; border: 1px solid var(--line); border-left: 3px solid var(--orange); background: linear-gradient(120deg, #1f221a, #181811); }
.pullquote__topo { background-image: url("../assets/topo-band-olive.svg"); opacity: 0.22; }
.pullquote blockquote { position: relative; z-index: 1; margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 2.1rem); line-height: 1.2; letter-spacing: -0.01em; color: var(--parchment); text-wrap: balance; }
.pullquote blockquote::before { content: "“"; color: var(--orange-text); margin-right: 0.05em; }
.pullquote blockquote::after { content: "”"; color: var(--orange-text); margin-left: 0.02em; }
.pullquote figcaption { position: relative; z-index: 1; margin-top: 1.4rem; display: flex; flex-direction: column; }
.seller__name { font-family: var(--display); font-weight: 700; color: var(--sand); font-size: 1rem; }
.seller__role { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-top: 0.2rem; }

.seller { margin-top: clamp(32px, 4vw, 48px); padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: var(--radius); background: var(--card); }
.seller p { margin: 0; color: var(--text-dim); font-size: 0.98rem; }

/* =========================================================================
   FEATURES
   ========================================================================= */
.features__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
.feature { position: relative; padding: clamp(24px, 2.6vw, 34px); background: var(--card); border: 1px solid var(--line); border-left: 2px solid var(--line-strong); border-radius: var(--radius); transition: transform 0.2s var(--ease), border-color 0.2s var(--ease); }
.feature:hover { transform: translateX(4px); border-left-color: var(--orange); }
.feature--first { border-left: 3px solid var(--orange); background: linear-gradient(135deg, rgba(196, 84, 26, 0.07), var(--card) 45%); }
.feature__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.feature__icon { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--orange-text); background: rgba(0, 0, 0, 0.2); }
.feature__icon .icon { width: 26px; height: 26px; }
.feature__name { font-family: var(--display); font-weight: 700; font-size: 1.22rem; line-height: 1.1; margin: 0 0 0.5rem; color: var(--parchment); }
.feature__tagline { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--orange-text); margin: 0 0 1.1rem; line-height: 1.5; }
.feature__body p { margin: 0 0 0.9rem; color: var(--text-dim); font-size: 0.96rem; }
.feature__body p:last-child { margin-bottom: 0; }
.feature__why-label { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand); margin-bottom: 0.35rem; }
.feature__why { color: var(--text); }

/* =========================================================================
   VIDEO
   ========================================================================= */
.video__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: linear-gradient(135deg, #1f221a, #121109); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__ph { display: grid; place-content: center; justify-items: center; gap: 1.4rem; cursor: default; color: var(--text-dim); padding: 2rem; border: 0; width: 100%; }
.video__play { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; box-shadow: 0 0 0 0 rgba(196, 84, 26, 0.5); animation: pulse 2.4s var(--ease) infinite; }
.video__play .icon { width: 30px; height: 30px; margin-left: 4px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(196, 84, 26, 0.45); } 70% { box-shadow: 0 0 0 26px rgba(196, 84, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(196, 84, 26, 0); } }
.video__note { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--muted); max-width: 42ch; text-align: center; }

/* =========================================================================
   SPECS
   ========================================================================= */
.specs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.spec-card { background: rgba(0, 0, 0, 0.18); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.2vw, 28px); }
.spec-card__title { font-family: var(--display); font-weight: 700; font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--orange-text); margin: 0 0 1rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line); }
.spec-list { margin: 0; }
.spec-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px dashed var(--line); }
.spec-row:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-row dt { color: var(--muted); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; flex: none; max-width: 46%; overflow-wrap: anywhere; }
.spec-row dd { margin: 0; text-align: right; color: var(--text); font-size: 0.92rem; font-weight: 500; }
.specs__note { display: flex; gap: 0.7rem; align-items: flex-start; margin-top: 2rem; font-size: 0.82rem; color: var(--muted); max-width: 90ch; }
.specs__note .icon { width: 18px; height: 18px; color: var(--olive-2); flex: none; margin-top: 2px; }

/* =========================================================================
   GALLERY + SHOT PLACEHOLDERS
   ========================================================================= */
.gallery-group + .gallery-group { margin-top: clamp(46px, 6vw, 82px); }
.gallery-group__head { margin-bottom: clamp(20px, 2.5vw, 32px); }
.gallery-group__title { display: flex; align-items: center; gap: 0.7rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 1.7rem); text-transform: uppercase; letter-spacing: 0.02em; color: var(--parchment); margin: 0; }
.gallery-group__count { font-family: var(--mono); font-size: 0.66rem; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.2em 0.65em; letter-spacing: 0.1em; }
.gallery-group__blurb { color: var(--text-dim); margin: 0.7rem 0 0; max-width: 64ch; font-size: 0.98rem; }
/* uniform grid so photos read left-to-right in sequence (a deliberate walk-around) */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.gallery__grid .shot { aspect-ratio: 4 / 3; }

.shot {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  background:
    radial-gradient(130% 100% at 50% 0%, rgba(94, 107, 78, 0.22), transparent 60%),
    linear-gradient(160deg, #20231b, #131109);
  border: 1px solid var(--line-strong); isolation: isolate;
}
.shot--tall { aspect-ratio: 3 / 4; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease); }
.shot.has-img img { opacity: 1; }
.shot.has-img .shot__ph { display: none; }
/* registration corner ticks on placeholders */
.shot__ph::before, .shot__ph::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--line-strong); }
.shot__ph::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.shot__ph::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.shot__ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.7rem; text-align: center; padding: 1.6rem; color: var(--text-dim);
}
.shot__ph-icon { width: 30px; height: 30px; color: var(--orange-text); opacity: 0.9; }
.shot__tag { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sand); }
.shot__hint { font-size: 0.84rem; color: var(--muted); max-width: 34ch; line-height: 1.45; }
.shot__cap, .shot__badge { position: absolute; z-index: 2; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; }
.shot__cap { left: 12px; bottom: 12px; color: var(--parchment); background: rgba(20, 20, 15, 0.6); padding: 0.35em 0.6em; border-radius: 2px; backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.25s; }
.shot.has-img:hover .shot__cap { opacity: 1; }
.shot__badge { right: 12px; top: 12px; color: var(--sand); border: 1px solid var(--line-strong); padding: 0.35em 0.6em; border-radius: 2px; background: rgba(20, 20, 15, 0.5); transition: opacity 0.25s; }
.shot:not(.has-img) .shot__badge { opacity: 0; }

/* gallery shots are buttons that open the lightbox */
.shot--btn { appearance: none; -webkit-appearance: none; font: inherit; color: inherit; text-align: left; padding: 0; margin: 0; width: 100%; display: block; cursor: zoom-in; }
.shot--btn.has-img img { transition: opacity 0.6s var(--ease), transform 0.5s var(--ease); }
.shot--btn:hover.has-img img { transform: scale(1.05); }
.shot--btn::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10,11,7,0.5), transparent 38%); opacity: 0; transition: opacity 0.25s; }
.shot--btn:hover::after { opacity: 1; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; background: rgba(8,9,6,0.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: clamp(14px,4vw,56px); opacity: 0; transition: opacity 0.25s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__stage { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.lightbox__img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 90px -30px #000; background: #14140f; }
.lightbox__cap { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; color: var(--khaki); text-align: center; text-transform: uppercase; max-width: 60ch; }
.lightbox__close { position: absolute; top: clamp(12px,2vw,24px); right: clamp(12px,2vw,24px); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(20,20,15,0.6); color: var(--parchment); font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; }
.lightbox__close .icon { display: none; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(20,20,15,0.5); color: var(--parchment); font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 4px; }
.lightbox__prev { left: clamp(10px,2vw,28px); }
.lightbox__next { right: clamp(10px,2vw,28px); }
.lightbox__nav:hover, .lightbox__close:hover { border-color: var(--orange-text); color: var(--orange-text); }
.lightbox__count { position: absolute; bottom: clamp(14px,2vw,26px); left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--muted); }
@media (max-width: 560px) { .lightbox__nav { width: 44px; height: 44px; font-size: 1.5rem; } .lightbox__img { max-height: 72vh; } }
@media (prefers-reduced-motion: reduce) { .lightbox { transition: none; } .shot--btn:hover.has-img img { transform: none; } }

/* =========================================================================
   CONDITION
   ========================================================================= */
.condition { color: var(--parchment); }
.condition::after { content: ""; position: absolute; inset: 0; background: url("../assets/topo-substrate.svg"); background-size: 600px; opacity: 0.06; pointer-events: none; }
.condition .wrap, .condition__copy { position: relative; z-index: 1; }
.condition__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.condition .eyebrow { color: var(--parchment); }
.condition .section__title { color: var(--parchment); }
.condition__statement { font-size: 1.1rem; line-height: 1.7; color: rgba(245, 240, 232, 0.9); }
.condition__list { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0; }
.cond { display: flex; flex-direction: column; gap: 0.2rem; padding: 1.1rem 0 1.1rem 1.6rem; border-bottom: 1px solid rgba(245, 240, 232, 0.18); position: relative; }
.cond:last-child { border-bottom: 0; }
.cond::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 9px; height: 9px; transform: rotate(45deg); }
.cond--good::before { background: var(--orange); }
.cond--honest::before { border: 1.5px solid var(--khaki); }
.cond__label { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--parchment); }
.cond__text { color: var(--parchment); font-size: 1rem; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.faq-group__name { display: flex; align-items: center; gap: 0.7rem; font-family: var(--display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--sand); margin: 0 0 0.6rem; }
.faq-group__dot { width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); }
.faq { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; padding: 1.1rem 0; min-height: 44px; font-weight: 600; font-size: 1.02rem; color: var(--parchment); }
.faq__q::-webkit-details-marker { display: none; }
.faq__chev { width: 20px; height: 20px; color: var(--orange-text); flex: none; transition: transform 0.3s var(--ease); }
.faq[open] .faq__chev { transform: rotate(180deg); }
.faq__a { overflow: hidden; }
.faq__a p { margin: 0 0 1.1rem; color: var(--text-dim); font-size: 0.97rem; }
.faq[open] .faq__a { animation: faqopen 0.4s var(--ease); }
@keyframes faqopen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =========================================================================
   CTA
   ========================================================================= */
.cta { background: linear-gradient(160deg, var(--olive-deep), #14130d); overflow: hidden; text-align: center; }
.cta__topo { background-image: url("../assets/topo-band-orange.svg"); opacity: 0.13; }
.cta__inner { position: relative; z-index: 1; max-width: 760px; }
.cta__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; color: var(--parchment); margin: 0 0 1.2rem; text-wrap: balance; }
.cta__sub { color: var(--text-dim); font-size: 1.1rem; max-width: 56ch; margin: 0 auto 2.2rem; }
.cta__row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta__meta { margin-top: 1.8rem; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--khaki); display: inline-flex; align-items: center; gap: 0.5rem; }
.cta__meta .icon { width: 16px; height: 16px; color: var(--orange-text); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: #0f0f0b; border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 64px) 0; }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__model { font-family: var(--display); font-weight: 800; text-transform: uppercase; color: var(--parchment); margin: 0; font-size: 1rem; }
.footer__coords { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; color: var(--muted); margin: 0.3rem 0 0; text-transform: uppercase; }
.footer__disclaimer { font-size: 0.78rem; color: var(--muted); margin: 0; max-width: 92ch; line-height: 1.6; }

/* =========================================================================
   REVEAL ANIMATIONS
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span, .video__play { animation: none; }
  .faq[open] .faq__a { animation: none; }
  .feature, .nav__drawer { transition: none; }
  .feature:hover, .btn:hover { transform: none; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .specs__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__drawer { display: flex; flex-direction: column; gap: 0.2rem; padding: 0 var(--gut) 1rem; max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); background: rgba(20, 21, 16, 0.96); backdrop-filter: blur(12px); }
  .nav.is-open .nav__drawer { max-height: 420px; padding-top: 0.5rem; border-top: 1px solid var(--line); }
  .nav__drawer a:not(.btn) { padding: 0.85rem 0; border-bottom: 1px solid var(--line); color: var(--text-dim); font-weight: 600; }
  .nav__drawer .btn { margin-top: 0.8rem; justify-content: center; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .shot--hero { aspect-ratio: 16 / 11; }
  .hero__scroll { display: none; }
  .story__grid, .condition__grid, .faq__grid { grid-template-columns: 1fr; }
  .story__media { position: static; flex-direction: row; }
  .story__media .shot { flex: 1; aspect-ratio: 4 / 3; }
  .features__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(3n) { border-right: 0; }
  .stat:nth-child(n+4) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .specs__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(even) { border-right: 0; }
  .stat:nth-child(n+5) { border-bottom: 0; }
  .story__media { flex-direction: column; }
  .story__media .shot { aspect-ratio: 16 / 11; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { margin-bottom: 0.5rem; }
  .hero__title { font-size: clamp(2.4rem, 13vw, 3.4rem); }
}
