/* ==========================================================================
   FD Canvas
   Direction: rugged and cinematic. Near-black, canvas khaki, off-white.
   Brand red (from the logo ring) is used for calls to action only.
   Barlow Condensed (uppercase, display) + Barlow (text). Square, hard edges.
   Contents
     1 Tokens and base         6 Gullwing (pinned sequence)
     2 Type and buttons        7 Which bakkie (chips, gallery pan), cattle rail, Workhorse
     3 Header and nav          8 Quotes, steps, closing call to action
     4 Hero                    9 Footer, consent, action bar
     5 Proof strip            10 Inner pages: heads, detail, compare, FAQ, gallery, form, prose
   ========================================================================== */

/* ---------- 1 Tokens and base ---------- */
:root {
  --bg: #0d0d0d;
  --bg-2: #141413;
  --bg-3: #1c1b19;
  --paper: #f2efe8;
  --paper-2: #e6e1d6;
  --ink: #0d0d0d;
  --fg-2: #cfcbc1;
  --muted: #a9a59b;
  --khaki: #b9a27a;
  --khaki-deep: #6f5d38;
  --red: #d3222c;
  --red-hi: #e8363f;
  --line: rgba(242, 239, 232, .14);
  --line-dark: rgba(13, 13, 13, .16);

  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --text: "Barlow", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(18px, 4.2vw, 64px);
  --max: 1360px;
  --head-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--paper); font: 400 1.0625rem/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main { overflow-x: clip; }
main:focus { outline: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--khaki); color: var(--ink); }
:focus-visible { outline: 2px solid var(--khaki); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--khaki); color: var(--ink); padding: 12px 18px; font-weight: 600; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 150px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--raised { background: var(--bg-2); }
.small { font-size: .92rem; }
.muted { color: var(--muted); }
.body-max { max-width: 56ch; }

/* ---------- 2 Type and buttons ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: .96; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3rem, 8vw, 7.6rem); }
h2 { font-size: clamp(2.3rem, 5vw, 4.6rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.02; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--fg-2); max-width: 44ch; }
.stack-head { margin-bottom: clamp(32px, 5vw, 64px); max-width: 48rem; }
.stack-head .lede { margin-top: 1.2rem; }

.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 1.7em; font: 600 1rem/1 var(--text); letter-spacing: .02em; white-space: nowrap; text-decoration: none; cursor: pointer; border: 0; border-radius: 2px; color: var(--paper); background: transparent; transition: color .4s var(--ease); }
.btn i { font-size: 1.3em; }
.btn--lg { min-height: 58px; padding: 0 2em; }
.btn--red { background: var(--red); color: #fff; }
.btn--red::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn--red:hover, .btn--red:focus-visible { color: var(--ink); }
.btn--red:hover::before, .btn--red:focus-visible::before { transform: none; }
.btn--ghost { box-shadow: inset 0 0 0 1px rgba(242, 239, 232, .45); }
.btn--ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); }
.btn--ghost:hover::before, .btn--ghost:focus-visible::before { transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.textlink { display: inline-flex; align-items: center; gap: .4em; color: var(--paper); text-decoration: none; padding-bottom: 3px; background: linear-gradient(var(--khaki), var(--khaki)) 0 100% / 100% 1px no-repeat; transition: color .3s, background-size .5s var(--ease); }
.textlink:hover { color: var(--khaki); background-size: 0 1px; background-position: 100% 100%; }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: inherit; }
.tag-soon { display: inline-block; font: 600 .8rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--khaki); padding: 8px 12px; margin-bottom: 16px; }

/* ---------- 3 Header and nav ---------- */
[data-progress] { background: var(--khaki); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; background: linear-gradient(rgba(13, 13, 13, .75), rgba(13, 13, 13, 0)); }
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(13, 13, 13, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transition: opacity .4s; pointer-events: none; }
.site-header.is-scrolled::before, .site-header.is-open::before { opacity: 1; }
.header-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--head-h); max-width: 1560px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1.5rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.brand img { width: 44px; height: 44px; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
.nav ul { display: flex; gap: clamp(18px, 2.6vw, 40px); list-style: none; margin: 0; padding: 0; }
.nav ul a { position: relative; display: inline-block; padding: 12px 0; font: 500 .95rem/1 var(--text); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--khaki); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease); }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav-foot { display: flex; align-items: center; gap: 20px; }
.nav-foot .btn { min-height: 46px; padding: 0 1.3em; font-size: .92rem; }
.nav-quick { display: none; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 4px; background: none; border: 0; cursor: pointer; font: 600 .9rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.menu-btn i { font-size: 1.6rem; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; margin-right: -4px; }
  .nav { position: absolute; top: var(--head-h); left: 0; right: 0; height: calc(100dvh - var(--head-h)); flex-direction: column; align-items: stretch; justify-content: space-between; gap: 28px; padding: 24px var(--gutter) 32px; background: var(--bg); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .35s, transform .5s var(--ease), visibility 0s .5s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul li { border-bottom: 1px solid var(--line); }
  .nav ul a { display: block; padding: 14px 0; font: 700 clamp(2.4rem, 11vw, 3.4rem)/1 var(--display); letter-spacing: .01em; }
  .nav ul a::after { display: none; }
  .nav-foot { flex-direction: column; align-items: stretch; gap: 18px; }
  .nav-foot .btn { min-height: 56px; }
  .nav-quick { display: flex; gap: 28px; }
  .nav-quick a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; text-decoration: none; color: var(--fg-2); }
}

/* ---------- 4 Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-media { position: absolute; inset: -8% 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.fx .hero-media img { animation: settle 2.8s var(--ease) both; }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 13, 13, .8) 0%, rgba(13, 13, 13, .3) 60%, rgba(13, 13, 13, .05) 100%), linear-gradient(180deg, rgba(13, 13, 13, .5) 0%, rgba(13, 13, 13, 0) 30%, rgba(13, 13, 13, .6) 75%, var(--bg) 100%); }
.hero-inner { padding-top: calc(var(--head-h) + 56px); padding-bottom: clamp(28px, 4vw, 56px); max-width: 1560px; }
.hero h1 { max-width: 11em; text-shadow: 0 2px 40px rgba(13, 13, 13, .4); }
.hero .lede { margin-top: clamp(20px, 2.4vw, 30px); color: var(--paper); max-width: 40ch; }
.hero-proof { list-style: none; margin: clamp(40px, 6vw, 80px) 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px clamp(28px, 5vw, 72px); color: var(--fg-2); font-size: .98rem; }
.hero-proof strong { font: 700 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--display); letter-spacing: .01em; color: var(--paper); margin-right: .4em; }

/* ---------- 5 Gullwing (pinned sequence) ---------- */
.gw { background: var(--bg); border-top: 1px solid var(--line); padding-block: clamp(72px, 10vw, 140px) 0; }
.gw-stage { display: grid; gap: clamp(32px, 5vw, 72px); }
.gw-copy h2 { max-width: 7em; }
.gw-copy > p { margin-top: 1.4rem; color: var(--fg-2); max-width: 44ch; }
.gw-frames { display: none; }
.gw-steps { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; gap: clamp(36px, 6vw, 56px); }
.gw-step[data-frame-step] { opacity: 1; }
.gw-thumb { margin: 0 0 18px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.gw-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gw-step h3 { font-size: clamp(2rem, 4vw, 3.2rem); }
.gw-step p { color: var(--muted); margin: .7rem 0 0; }
.gw-more { margin-top: 28px; }
@media (min-width: 900px) {
  .fx:not(.no-gsap) .gw { height: 100svh; min-height: 620px; padding: 0; }
  .fx:not(.no-gsap) .gw-stage { height: 100%; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; padding-top: calc(var(--head-h) + 8px); padding-bottom: 32px; }
  .fx:not(.no-gsap) .gw-copy { display: grid; gap: clamp(16px, 3vh, 36px); }
  .fx:not(.no-gsap) .gw-copy > p { margin: 0; }
  .fx:not(.no-gsap) .gw-frames { display: block; position: relative; justify-self: end; width: min(100%, 78svh); aspect-ratio: 1; background: var(--bg-3); overflow: hidden; }
  .fx:not(.no-gsap) .gw-frame { position: absolute; inset: 0; margin: 0; }
  .fx:not(.no-gsap) .gw-frame img { width: 100%; height: 100%; object-fit: cover; }
  .fx:not(.no-gsap) .gw-steps { margin: 0; display: block; }
  .fx:not(.no-gsap) .gw-step { padding: 10px 0; border-top: 1px solid var(--line); opacity: .35; transition: opacity .4s; }
  .fx:not(.no-gsap) .gw-step[data-frame-step] { opacity: .35; }
  .fx:not(.no-gsap) .gw-step[data-frame-step].is-on { opacity: 1; }
  .fx:not(.no-gsap) .gw-thumb { display: none; }
  .fx:not(.no-gsap) .gw-step h3 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
  .fx:not(.no-gsap) .gw-step-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
  .fx:not(.no-gsap) .gw-step.is-on .gw-step-more { grid-template-rows: 1fr; }
  .fx:not(.no-gsap) .gw-step-more > div { overflow: hidden; }
}

/* ---------- 6 Proof strip (kept compact, real numbers only) ---------- */
.rule { height: 1px; border: 0; margin: 0; background: var(--line); }

/* ---------- 7 Which bakkie, gallery pan, cattle rail, Workhorse ---------- */
.pan { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: clamp(64px, 8vw, 120px); overflow: hidden; }
.pan-head { display: grid; gap: 28px; margin-bottom: clamp(28px, 4vw, 48px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.chips legend { padding: 0; margin-bottom: 14px; font: 600 .85rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--khaki); }
.chip { min-height: 48px; padding: 0 1.5em; background: transparent; border: 1px solid rgba(242, 239, 232, .35); border-radius: 2px; cursor: pointer; font: 600 1rem/1 var(--text); letter-spacing: .03em; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--paper); }
.chip[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pan-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.pan-ask p { margin: 0; color: var(--fg-2); max-width: 52ch; }
.pan-track { display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); scroll-padding-inline: var(--gutter); }
.pan-track::-webkit-scrollbar { display: none; }
.pan.is-panning .pan-track { overflow: visible; width: max-content; scroll-snap-type: none; }
.pan-card { flex: 0 0 clamp(260px, 72vw, 380px); margin: 0; scroll-snap-align: start; }
.pan-card--wide { flex-basis: clamp(300px, 86vw, 640px); }
@media (min-width: 900px) { .pan-card { flex-basis: 360px; } .pan-card--wide { flex-basis: 600px; } }
.ph-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.pan-card:not(.pan-card--wide) .ph-img { aspect-ratio: 4 / 5; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pan-card:hover .ph-img img { transform: scale(1.04); }
.pan-card figcaption { margin-top: 14px; color: var(--muted); font-size: .95rem; max-width: 40ch; }
.fx .pan-card.fade-swap { animation: fade-swap .6s var(--ease); }
@keyframes fade-swap { from { opacity: 0; transform: scale(.96); } }

.bento { display: grid; gap: clamp(14px, 2vw, 28px); grid-template-columns: minmax(0, 1fr); }
.tile { position: relative; background: var(--bg-3); overflow: hidden; display: flex; flex-direction: column; }
.tile-media { aspect-ratio: 4 / 3; overflow: hidden; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-body { padding: clamp(22px, 3vw, 40px); }
.tile-body h3 { margin-bottom: .8rem; font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
.tile-body p { color: var(--fg-2); }
.tile--c { justify-content: flex-end; background: var(--khaki); color: var(--ink); min-height: 320px; }
.tile--c .tile-body p { color: #2a2519; }
.tile--c .tag-soon { background: var(--ink); color: var(--paper); }
.tile--c .textlink { color: var(--ink); background-image: linear-gradient(var(--ink), var(--ink)); }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: auto; }
  .tile--a { grid-column: 1 / span 7; grid-row: span 2; }
  .tile--a .tile-media { aspect-ratio: auto; flex: 1; min-height: 320px; }
  .tile--b { grid-column: 8 / span 5; }
  .tile--c { grid-column: 8 / span 5; }
}

/* ---------- 8 Quotes, steps, closing call to action ---------- */
.quotes-sec { background: var(--paper); color: var(--ink); padding-block: clamp(72px, 10vw, 150px); }
.quotes-sec .lede { color: #3b3a35; }
.quotes { display: grid; gap: 0 clamp(28px, 5vw, 80px); grid-template-columns: minmax(0, 1fr); }
.quote { margin: 0; padding: clamp(22px, 3vw, 36px) 0; border-top: 1px solid var(--line-dark); }
.quote blockquote { margin: 0; }
.quote blockquote p { font: 600 clamp(1.4rem, 2.2vw, 1.9rem)/1.2 var(--display); text-transform: uppercase; letter-spacing: .01em; max-width: 24em; margin: 0; }
.quote--red { grid-column: 1 / -1; }
.quote--red blockquote p { font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: .98; color: var(--ink); }
.q-trans { margin: .8rem 0 0; color: #4b4a44; font-size: .98rem; font-style: italic; max-width: 46ch; }
.quote figcaption { margin-top: 14px; font-size: .92rem; color: #4b4a44; display: flex; align-items: center; gap: 8px; }
.quote figcaption i { font-size: 1.2em; color: var(--khaki-deep); }
.quotes-note { margin-top: clamp(28px, 4vw, 48px); color: #3b3a35; }
.quotes-note .textlink { color: var(--ink); background-image: linear-gradient(var(--khaki-deep), var(--khaki-deep)); }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.steps-sec { padding-block: clamp(72px, 10vw, 140px); background: var(--bg); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 700 1rem/1 var(--display); letter-spacing: .14em; color: var(--khaki); margin-bottom: 14px; }
.steps h3 { margin-bottom: .6rem; font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.steps p { color: var(--muted); margin: 0; max-width: 34ch; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); } .steps li { border-top: 2px solid var(--khaki); } }

.cta { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--line); }
.cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 13, 13, .92) 0%, rgba(13, 13, 13, .72) 60%, rgba(13, 13, 13, .45) 100%); }
.cta-inner { display: grid; gap: clamp(32px, 5vw, 80px); padding-block: clamp(88px, 12vw, 180px); }
.cta h2 { font-size: clamp(2.8rem, 7vw, 6.4rem); max-width: 9em; }
.cta .lede { margin-top: 1.4rem; color: var(--paper); }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; align-content: end; }
.contact-lines a { display: flex; align-items: center; gap: 14px; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--line); transition: color .3s, padding .5s var(--ease); }
.contact-lines a:hover { color: var(--khaki); padding-left: 8px; }
.contact-lines i { font-size: 1.4rem; color: var(--khaki); }
@media (min-width: 900px) { .cta-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; } }

/* ---------- 9 Footer, consent, action bar ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 96px); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: clamp(40px, 5vw, 64px); }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 64px; height: 64px; }
.footer-name { margin: 0; font: 700 clamp(2rem, 4vw, 3.2rem)/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.footer-line { margin: 6px 0 0; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; padding-block: 40px; border-top: 1px solid var(--line); }
.footer-grid h2 { font: 600 .8rem/1.2 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--khaki); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-grid a, .footer-grid .linkbtn { display: inline-block; padding: 7px 0; text-decoration: none; }
.footer-grid a:hover, .footer-grid .linkbtn:hover { color: var(--khaki); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }

.consent { position: fixed; z-index: 90; left: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--bg-3); border: 1px solid var(--line); padding: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.fx .consent:not([hidden]) { animation: rise .8s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.consent h2 { font-size: 1.7rem; margin-bottom: .7rem; }
.consent p { font-size: .95rem; color: var(--fg-2); }
.consent-prefs { margin: 14px 0; display: grid; gap: 10px; font-size: .95rem; }
.consent-prefs label { display: flex; gap: 12px; align-items: flex-start; }
.consent input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--khaki); flex: none; margin-top: 2px; }
.consent .btn-row { margin-top: 16px; }
.consent .btn { min-height: 46px; padding: 0 1.2em; font-size: .92rem; }
@media (max-width: 600px) {
  .consent { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 14px 16px; }
  .consent h2 { display: none; }
  .consent p { font-size: .85rem; line-height: 1.45; }
  .consent .btn-row { margin-top: 10px; gap: 8px; }
  .consent .btn { min-height: 42px; padding: 0 .9em; font-size: .85rem; }
}

.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(13, 13, 13, .95); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .5s var(--ease); }
  .action-bar.is-shown { transform: none; }
}

/* ---------- 10 Inner pages ---------- */
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--khaki); }
.page-head { position: relative; isolation: isolate; overflow: hidden; padding-top: calc(var(--head-h) + clamp(48px, 7vw, 110px)); padding-bottom: clamp(40px, 5vw, 72px); }
.page-head h1 { font-size: clamp(3rem, 7.4vw, 6.6rem); max-width: 11em; }
.page-head .lede { margin-top: 1.4rem; }
.page-head--photo { min-height: clamp(460px, 72svh, 720px); display: flex; align-items: flex-end; padding-top: calc(var(--head-h) + 60px); }
.page-head--photo > .wrap { padding-bottom: 0; }
.page-head--photo .ph-bg { position: absolute; inset: 0; z-index: -2; }
.page-head--photo .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.fx .page-head--photo .ph-bg img { animation: settle 2.4s var(--ease) both; }
.page-head--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 13, 13, .55) 0%, rgba(13, 13, 13, .15) 35%, rgba(13, 13, 13, .88) 85%, var(--bg) 100%); }
.page-head--photo .lede { color: var(--paper); }
.post-meta { color: var(--muted); font-size: .95rem; margin-top: 16px; }

.detail { display: grid; gap: clamp(32px, 5vw, 96px); grid-template-columns: minmax(0, 1fr); align-items: start; }
.detail-media { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-media figure { margin: 0; overflow: hidden; background: var(--bg-3); aspect-ratio: 1; }
.detail-media figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.detail-media img, .split figure img { width: 100%; height: 100%; object-fit: cover; }
.sticky-copy h2 { margin-bottom: 1.2rem; }
.sticky-copy .btn { margin-top: 1rem; }
@media (min-width: 900px) {
  .detail { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .detail--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .detail--flip .detail-media { order: 2; }
  .sticky-copy { position: sticky; top: 110px; }
}
.feature-list { list-style: none; margin: 1.6rem 0; padding: 0; }
.feature-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list strong { display: block; font: 700 1.5rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.feature-list span { display: block; margin-top: 6px; color: var(--muted); }
.split { display: grid; gap: clamp(32px, 5vw, 88px); grid-template-columns: minmax(0, 1fr); align-items: center; }
.split figure { margin: 0; overflow: hidden; background: var(--bg-3); aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.values { display: grid; gap: 0 clamp(24px, 4vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.values > div { padding: 26px 0; border-top: 2px solid var(--khaki); }
.values h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-bottom: .7rem; }
.values p { color: var(--muted); margin: 0; }

.compare { display: grid; gap: 28px clamp(28px, 5vw, 80px); grid-template-columns: minmax(0, 1fr); }
.compare-col h3 { font-size: clamp(2rem, 3.2vw, 3rem); padding-bottom: 16px; border-bottom: 2px solid var(--khaki); }
.compare dl { margin: 0; }
.compare dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.compare dt { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.compare dd { margin: 0; font-weight: 500; }
@media (min-width: 800px) { .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.faq-grid { display: grid; gap: 32px clamp(32px, 6vw, 96px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } .faq-grid > div:first-child { position: sticky; top: 110px; } }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 48px 20px 0; position: relative; font-weight: 600; font-size: 1.1rem; min-height: 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--khaki); border-bottom: 2px solid var(--khaki); transform: rotate(45deg); transition: transform .4s var(--ease); }
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq-item p { color: var(--fg-2); padding-bottom: 10px; max-width: 62ch; }

.masonry { columns: 2; column-gap: clamp(10px, 1.4vw, 20px); }
@media (min-width: 900px) { .masonry { columns: 3; } }
@media (max-width: 480px) { .masonry { columns: 1; } }
.masonry button { position: relative; display: block; width: 100%; margin: 0 0 clamp(10px, 1.4vw, 20px); padding: 0; border: 0; background: var(--bg-3); cursor: zoom-in; overflow: hidden; break-inside: avoid; }
.masonry img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.masonry button:hover img { transform: scale(1.04); }
.masonry-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; text-align: left; font: 600 1.15rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; background: linear-gradient(transparent, rgba(13, 13, 13, .85)); transform: translateY(30%); opacity: 0; transition: opacity .4s, transform .5s var(--ease); }
.masonry button:hover .masonry-cap, .masonry button:focus-visible .masonry-cap { opacity: 1; transform: none; }
@media (hover: none) { .masonry-cap { opacity: 1; transform: none; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; color: var(--paper); }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(8, 8, 8, .96); }
.lb-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; color: var(--muted); }
.lb-bar button, .lb-nav button { width: 52px; height: 52px; display: grid; place-items: center; background: none; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; font-size: 1.4rem; }
.lb-bar button:hover, .lb-nav button:hover { background: var(--paper); color: var(--ink); }
.lb-stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: 0 16px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fx .lb-stage img { animation: lb-in .5s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.98); } }
.lb-nav { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px 20px; }

.form-wrap { display: grid; gap: clamp(40px, 6vw, 96px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .form-wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.form { display: grid; gap: 22px; }
.form .row { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-weight: 600; font-size: .95rem; }
.hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; font: inherit; color: var(--paper); background: var(--bg-2); border: 1px solid #3a3a37; border-radius: 2px; transition: border-color .3s, background .3s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--khaki) 50%), linear-gradient(135deg, var(--khaki) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #5a5a55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--khaki); outline-offset: 0; background: var(--bg-3); }
.field [aria-invalid="true"] { border-color: #ef8e7a; }
.field-error { margin: 0; color: #f4a591; font-size: .9rem; min-height: 0; }
.form-status { margin: 0; color: var(--fg-2); }
.form-status.is-ok { padding: 16px 18px; border-left: 3px solid var(--khaki); background: var(--bg-2); }
.aside-card { padding: clamp(24px, 3vw, 40px); background: var(--bg-2); border-top: 2px solid var(--khaki); align-self: start; }
.aside-card h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-bottom: 1.2rem; }
.callout { background: var(--bg-3); border-left: 3px solid var(--khaki); padding: 18px 22px; margin: 0 0 1.5em; }
.callout p:last-child { margin: 0; }

.posts { display: grid; gap: clamp(28px, 4vw, 48px) clamp(18px, 2.4vw, 32px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { display: block; text-decoration: none; }
.post-art { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.post-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-art img { transform: scale(1.05); }
.post-card-body { padding-top: 18px; }
.post-kicker { margin: 0 0 .6rem; font: 600 .8rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--khaki); }
.post-card h2 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin-bottom: .8rem; }
.post-card p { color: var(--muted); }
.post-card:hover h2 { color: var(--khaki); }

.prose { max-width: 70ch; }
.wrap.prose { max-width: var(--max); }
.wrap.prose > * { max-width: 70ch; }
.prose h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 1.6em; margin-bottom: .5em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--fg-2); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--khaki); }
.prose strong { color: var(--paper); }
.prose a:not(.btn):not(.textlink) { color: var(--paper); text-decoration-color: var(--khaki); text-underline-offset: 3px; }
.prose p .textlink, .prose li .textlink, .lede .textlink { display: inline; }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 1.4em; font-size: .98rem; }
.prose th, .prose td { text-align: left; padding: 12px 16px 12px 0; vertical-align: top; }
.prose thead th { border-bottom: 1px solid rgba(242, 239, 232, .3); color: var(--paper); }
.prose tbody tr + tr > * { border-top: 1px solid var(--line); }
.table-scroll { overflow-x: auto; }
.post-figure { margin: 0 0 2em; overflow: hidden; }
.post-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nf { min-height: 80svh; display: flex; align-items: center; padding-top: calc(var(--head-h) + 40px); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
