/* Makeway Africa v3: "Blueprint in the veld"
   Deep veld-night blue-green, bone, ochre. Wide expedition type. */
:root {
  --ink: #13232a;
  --ink-2: #1b313a;
  --ink-3: #24414c;
  --bone: #f1ede4;
  --bone-2: #e4ded1;
  --ochre: #e3a55a;
  --ochre-hi: #f0b96f;
  --rust: #b4532a;
  --sage: #8fa89d;
  --text-dim: rgba(241,237,228,.72);
  --hair: rgba(241,237,228,.14);
  --wide: "Archivo", "Arial Black", sans-serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --max: 82rem;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--sans); font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--wide); margin: 0; line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); font-weight: 850; font-stretch: 112%; }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 750; font-stretch: 105%; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ochre); color: var(--ink); padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--wide); font-weight: 700; font-stretch: 105%; font-size: 1rem; letter-spacing: .005em; padding: .95rem 1.5rem; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-solid { background: var(--ochre); color: var(--ink); }
.btn-solid:hover { background: var(--ochre-hi); }
.btn-line { border-color: rgba(241,237,228,.6); color: var(--bone); backdrop-filter: blur(6px); background: rgba(19,35,42,.2); }
.btn-line:hover { border-color: var(--bone); background: rgba(19,35,42,.45); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--gutter); transition: background .3s, padding .3s, box-shadow .3s; }
.nav.is-solid { background: rgba(19,35,42,.86); backdrop-filter: blur(14px) saturate(1.2); padding-block: .7rem; box-shadow: 0 1px 0 var(--hair); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--wide); font-weight: 800; font-stretch: 115%; font-size: 1.05rem; letter-spacing: .01em; }
.brand-mark { width: 30px; height: 30px; color: var(--ochre); }
.nav nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); font-weight: 500; }
.nav nav a { text-decoration: none; opacity: .88; }
.nav nav a:hover { opacity: 1; }
.nav .nav-cta { opacity: 1; padding: .55rem 1.1rem; border-radius: 999px; background: var(--bone); color: var(--ink); font-weight: 600; }
.nav-toggle { display: none; }
@media (max-width: 820px) {
  .nav-toggle { display: grid; gap: 6px; background: none; border: 0; padding: .6rem; cursor: pointer; color: var(--bone); }
  .nav-toggle span:not(.sr) { width: 26px; height: 2px; background: currentColor; transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.6rem; background: var(--ink); font-family: var(--wide); font-size: 1.8rem; font-weight: 800; font-stretch: 110%; height: 100vh; visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; z-index: -1; }
  .nav nav.open { visibility: visible; opacity: 1; transition: opacity .3s; }
  .nav.menu-open { backdrop-filter: none; background: var(--ink); }
  .nav .nav-cta { font-size: 1.2rem; padding: .8rem 1.6rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19,35,42,.55), rgba(19,35,42,0) 30%), linear-gradient(0deg, rgba(19,35,42,.95) 0%, rgba(19,35,42,.35) 38%, rgba(19,35,42,0) 60%); }
.hero-inner { padding: 0 var(--gutter) clamp(3rem, 9vh, 6rem); max-width: var(--max); width: 100%; }
.hero h1 { font-size: clamp(2.9rem, 1rem + 7.4vw, 8.4rem); font-weight: 900; font-stretch: 118%; line-height: .9; letter-spacing: -0.035em; }
.hero-sub { max-width: 34rem; margin: 1.5rem 0 2rem; font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); color: rgba(241,237,228,.86); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-card { position: absolute; right: var(--gutter); bottom: clamp(3rem, 9vh, 6rem); width: min(19rem, 30vw); padding: 1.3rem 1.4rem; border-radius: var(--r); background: rgba(19,35,42,.45); border: 1px solid rgba(241,237,228,.18); backdrop-filter: blur(16px) saturate(1.3); font-size: .95rem; }
.hero-card p { margin: 0 0 .7rem; color: rgba(241,237,228,.84); }
.hero-card .hero-card-title { font-family: var(--wide); font-weight: 750; font-stretch: 108%; color: var(--ochre); font-size: 1.05rem; }
.hero-card a { font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 1000px) { .hero-card { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero picture img { animation: drift 2.6s cubic-bezier(.2,.7,.2,1) both; }
  .hero-inner > * { animation: up 1s cubic-bezier(.2,.7,.2,1) both; }
  .hero-inner > :nth-child(2) { animation-delay: .15s; } .hero-inner > :nth-child(3) { animation-delay: .3s; }
  @keyframes drift { from { transform: scale(1.08); } }
  @keyframes up { from { opacity: 0; transform: translateY(24px); } }
}

/* ---------- build explorer ---------- */
.build { position: relative; display: grid; grid-template-columns: 1fr; background: var(--ink); border-top: 1px solid var(--hair); }
.build-sticky { position: sticky; top: 0; height: auto; min-height: 15rem; display: flex; flex-direction: column; justify-content: center; padding: 4.5rem var(--gutter) 1rem; background: var(--ink); z-index: 2; border-bottom: 1px solid var(--hair); }
.blueprint { width: 100%; max-width: 900px; }
.build-steps { padding: 2rem var(--gutter) 6rem; }
.build-title { margin: 2rem 0 3rem; }
.step { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; max-width: 30rem; opacity: .35; transition: opacity .4s; }
.step.is-active { opacity: 1; }
.step-no { font-family: var(--wide); font-weight: 900; font-stretch: 120%; font-size: 1rem; color: var(--ink); background: var(--ochre); width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; margin: 0 0 1.2rem; }
.step h3 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); margin-bottom: 1rem; }
.step p:last-child { color: var(--text-dim); margin: 0; }
@media (min-width: 960px) {
  .build { grid-template-columns: 1.35fr 1fr; }
  .build-sticky { height: 100vh; padding: 5rem 1rem 2rem var(--gutter); border-bottom: 0; }
  .build-steps { padding: 0 var(--gutter) 0 3rem; border-left: 1px solid var(--hair); }
  .build-title { margin: 8rem 0 0; }
  .step { min-height: 100vh; }
}

/* the drawing: Land Cruiser 79 double cab + Makeway pop-top camper */
.lc { width: 100%; height: auto; color: var(--bone); overflow: visible; }
.lc .ground { stroke: var(--hair); stroke-width: 2; stroke-dasharray: 2 8; }
.lc .body { fill: var(--ink-2); stroke: var(--bone); stroke-width: 2; stroke-linejoin: round; }
.lc .glass { fill: rgba(143,168,157,.2); stroke: var(--sage); stroke-width: 1.4; }
.lc .pl { fill: none; stroke: rgba(241,237,228,.38); stroke-width: 1.2; }
.lc .pl.soft { stroke: rgba(241,237,228,.2); }
.lc .detail { fill: var(--ink); stroke: rgba(241,237,228,.6); stroke-width: 1.2; }
.lc .lamp { fill: rgba(241,237,228,.12); stroke: var(--bone); stroke-width: 1.4; }
.lc .flare { fill: none; stroke: var(--bone); stroke-width: 6; stroke-linecap: round; opacity: .9; }
.lc .bumper rect { fill: var(--ink-3); stroke: var(--bone); stroke-width: 1.6; }
.lc .bumper .pl-fill { fill: var(--ink); stroke: var(--sage); }
.lc .chassis, .lc .towbar, .lc .step { fill: var(--ink-3); stroke: rgba(241,237,228,.5); stroke-width: 1.2; }
.lc .chassis-line { stroke: rgba(241,237,228,.3); stroke-width: 1.2; }
.lc .tyre { fill: var(--ink); stroke: var(--bone); stroke-width: 2; }
.lc .tread { fill: none; stroke: rgba(241,237,228,.35); stroke-width: 8; stroke-dasharray: 3 4; }
.lc .rim { fill: var(--ink-2); stroke: var(--sage); stroke-width: 1.6; }
.lc .spokes { stroke: var(--sage); stroke-width: 5; stroke-linecap: round; }
.lc .hub { fill: var(--bone); }

.lc .shell { fill: var(--ink-3); stroke: var(--bone); stroke-width: 2; stroke-linejoin: round; }
.lc .roof path:first-child { fill: var(--ochre); stroke: var(--ochre-hi); stroke-width: 1; }
.lc .roof .pl.soft { stroke: rgba(19,35,42,.35); }
.lc .hatch rect:first-child { fill: var(--ink-3); stroke: rgba(241,237,228,.55); stroke-width: 1.4; }
.lc .bay { fill: var(--ink); stroke: rgba(241,237,228,.25); stroke-dasharray: 4 4; }
.lc .mod-box { fill: var(--ink-2); stroke: rgba(241,237,228,.35); stroke-width: 1.2; transition: fill .35s, stroke .35s, transform .5s cubic-bezier(.3,.8,.2,1); }
.lc .mod-line { fill: none; stroke: rgba(241,237,228,.35); stroke-width: 1.2; }
.lc .mod-label { fill: var(--bone); font: 600 13px var(--sans); opacity: .8; }

.lc .fabric { fill: #c9c4b6; stroke: var(--bone); stroke-width: 1.5; }
.lc .seam { stroke: rgba(19,35,42,.25); stroke-width: 1.2; }
.lc .tent-win { fill: url(#glow); stroke: #3a3328; stroke-width: 3; }
.lc .tent-mesh { fill: rgba(19,35,42,.55); stroke: #3a3328; stroke-width: 3; }
.lc .strut { stroke: #3a3328; stroke-width: 2; }
.lc .bed { fill: #8b7a5e; }
.lc .bed-out { fill: transparent; transition: fill .35s; }

.lc .callout { opacity: 0; transition: opacity .45s .3s; }
.lc .callout path { fill: none; stroke: var(--ochre); stroke-width: 1.4; }
.lc .callout text { fill: var(--bone); font: 600 15px var(--sans); }
@media (max-width: 700px) { .lc .callout text { font-size: 22px; } }

/* motion: the roof lifts, the tent unfolds, the hatch swings up */
.lc .roof, .lc .tent, .lc .hatch { transform-box: view-box; transition: transform .9s cubic-bezier(.3,.8,.2,1), opacity .5s; }
.lc .tent { transform-origin: 0 206px; transform: scaleY(.05); opacity: 0; }
.lc .hatch { transform-origin: 0 222px; }
.lc .bays { opacity: 0; transition: opacity .4s .2s; }

.lc[data-state="closed"] .c-closed, .lc[data-state="open"] .c-open,
.lc[data-state="hatch"] .c-hatch, .lc[data-state="modules"] .c-mods { opacity: 1; }
.lc:not([data-state="closed"]) .roof { transform: translateY(-108px); }
.lc:not([data-state="closed"]) .tent { transform: none; opacity: 1; }
.lc[data-state="hatch"] .hatch, .lc[data-state="modules"] .hatch { transform: translateY(-18px) scaleY(.18); }
.lc[data-state="hatch"] .bays, .lc[data-state="modules"] .bays { opacity: 1; }
.lc[data-state="modules"] .mod.on .mod-box { fill: var(--ochre); stroke: var(--ochre-hi); transform: translate(5px, 5px); }
.lc[data-state="modules"] .mod.on .mod-line { stroke: rgba(19,35,42,.55); }
.lc[data-state="modules"] .mod.on .mod-label { fill: var(--ink); opacity: 1; }
.lc[data-state="modules"] .mod-bed.on .bed-out { fill: var(--ochre); }

.module-picker { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.2rem; opacity: 0; pointer-events: none; transition: opacity .4s; }
.module-picker.show { opacity: 1; pointer-events: auto; }
.module-picker .chip { font: 600 .9rem var(--sans); padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--hair); background: transparent; color: var(--bone); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.module-picker .chip[aria-pressed="true"] { background: var(--ochre); color: var(--ink); border-color: var(--ochre); }
@media (prefers-reduced-motion: reduce) { .lc *, .module-picker { transition: none !important; } }

/* ---------- range (light) ---------- */
.range { background: var(--bone); color: var(--ink); padding: clamp(5rem, 11vw, 9rem) var(--gutter); }
.range-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; max-width: var(--max); margin: 0 auto 3rem; }
.range-head p { max-width: 24rem; margin: 0; color: #4a5559; }
.range-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.range-item { border-radius: var(--r); background: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 15rem; border: 1px solid var(--bone-2); }
.range-feature { position: relative; min-height: 28rem; color: var(--bone); border: 0; }
.range-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.range-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(19,35,42,.92), rgba(19,35,42,0) 60%); }
.range-copy { position: relative; z-index: 1; padding: 1.8rem; }
.range-copy p { margin: .5rem 0 0; max-width: 24rem; }
.range-item:not(.range-feature) .range-copy p:not(.price) { color: #4a5559; }
.price { font-family: var(--wide); font-weight: 800; font-stretch: 110%; font-size: 1.35rem; margin-top: 1.2rem !important; }
.range-feature .price { color: var(--ochre); }
@media (min-width: 900px) {
  .range-grid { grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; }
  .range-feature { grid-row: span 2; min-height: 34rem; }
}
.fits { max-width: var(--max); margin: 2.5rem auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; }
.fits p { margin: 0; font-weight: 600; }
.fits ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.fits li { padding: .45rem .95rem; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 500; font-size: .95rem; }

/* ---------- places ---------- */
.places { padding: clamp(5rem, 10vw, 8rem) 0; background: var(--ink); }
.places h2 { padding: 0 var(--gutter); margin-bottom: 2.5rem; max-width: var(--max); }
.places-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(16rem, 30vw); gap: 1rem; overflow-x: auto; padding: 0 var(--gutter) 1rem; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent; }
.places-track figure { margin: 0; scroll-snap-align: start; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.places-track img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.places-track figure:hover img { transform: scale(1.04); }
.places-track figcaption { position: absolute; inset: auto 0 0 0; padding: 3rem 1.2rem 1.1rem; background: linear-gradient(0deg, rgba(19,35,42,.9), transparent); color: var(--text-dim); font-size: .95rem; }
.places-track figcaption strong { display: block; color: var(--bone); font-family: var(--wide); font-weight: 750; font-stretch: 108%; font-size: 1.3rem; }
@media (max-width: 700px) { .places-track { grid-auto-columns: 78vw; } }

/* ---------- how ---------- */
.how { background: var(--ink-2); padding: clamp(5rem, 10vw, 8rem) var(--gutter); }
.how h2 { max-width: var(--max); margin: 0 auto 3rem; }
.how-list { list-style: none; counter-reset: s; margin: 0 auto; padding: 0; max-width: var(--max); display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.how-list li { counter-increment: s; position: relative; padding-top: 3.6rem; }
.how-list li::before { content: counter(s); position: absolute; top: 0; left: 0; font-family: var(--wide); font-weight: 900; font-stretch: 120%; font-size: 1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--ochre); color: var(--ochre); }
.how-list li::after { content: ""; position: absolute; top: 1.1rem; left: 2.8rem; right: -1rem; height: 1.5px; background: var(--hair); }
.how-list li:last-child::after { display: none; }
.how-list p { color: var(--text-dim); margin: .6rem 0 0; }

/* ---------- motto ---------- */
.motto { position: relative; min-height: 70vh; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.motto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: brightness(.5) saturate(.9); }
.motto p { margin: 0; padding: 0 var(--gutter); font-family: var(--wide); font-weight: 900; font-stretch: 118%; font-size: clamp(2.4rem, 1rem + 6vw, 6.8rem); line-height: .95; letter-spacing: -0.03em; }

/* ---------- quote ---------- */
.quote { background: var(--bone); color: var(--ink); padding: clamp(5rem, 10vw, 8rem) var(--gutter); display: grid; gap: clamp(2.5rem, 6vw, 6rem); max-width: none; }
.quote > * { max-width: 40rem; }
@media (min-width: 960px) { .quote { grid-template-columns: 1fr 1.1fr; align-items: start; justify-content: center; } .quote > * { max-width: none; } }
.quote-copy p { color: #3f4a4e; max-width: 30rem; }
.quote-copy h2 { margin-bottom: 1.4rem; }
.quote-direct a { font-weight: 600; text-decoration-color: var(--rust); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.quote-form { background: #fff; border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; gap: 1.25rem; box-shadow: 0 30px 60px -40px rgba(19,35,42,.45); }
.field { display: grid; gap: .45rem; border: 0; margin: 0; padding: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
.field input, .field select, .field textarea { font: inherit; padding: .8rem .9rem; border-radius: 10px; border: 1.5px solid #cfcabd; background: #fbfaf7; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(227,165,90,.45); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid #cfcabd; font-weight: 500; transition: background .2s, border-color .2s; }
.chips input:checked + span { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--ochre); outline-offset: 2px; }
.quote-form .btn { justify-self: start; }
.form-note { margin: -.4rem 0 0; font-size: .88rem; color: #5d676b; }
.form-error { margin: 0; color: var(--rust); font-weight: 600; }

/* ---------- footer ---------- */
.foot { padding: 3.5rem var(--gutter) 4rem; color: var(--text-dim); }
.foot .brand { color: var(--bone); margin-bottom: 1rem; }
.foot p { margin: 0 0 .35rem; }
.foot-small { font-size: .85rem; margin-top: 1.2rem !important; max-width: 40rem; }

@media (max-width: 959px) { .build-sticky { padding: 4.2rem var(--gutter) .6rem; min-height: 0; } .module-picker:not(.show) { display: none; } .module-picker { margin-top: .6rem; } .module-picker .chip { font-size: .8rem; padding: .4rem .8rem; } }

/* ---------- v3.2 detail: steps, both-side modules, 3D pull-out ---------- */
.lc .antenna { stroke: rgba(241,237,228,.5); stroke-width: 1.4; fill: none; }
.lc .seal, .lc .roof-line { stroke: rgba(241,237,228,.3); stroke-width: 1; fill: none; }
.lc .tail { fill: var(--rust); }
.lc .ind { fill: var(--ochre); }
.lc .rivets { stroke: rgba(241,237,228,.35); stroke-width: 1.6; stroke-dasharray: 1 9; stroke-linecap: round; fill: none; }
.lc .latch { fill: var(--ochre); opacity: .8; }
.lc .mesh-x { stroke: rgba(241,237,228,.25); stroke-width: .8; fill: none; }
.lc .led { fill: url(#ledGlow); opacity: 0; transition: opacity .5s .2s; }
.lc[data-state="hatch"] .led, .lc[data-state="modules"] .led { opacity: 1; }
.lc .steps-out { transform-box: view-box; transform-origin: 0 332px; transform: scaleY(0); opacity: 0; transition: transform .7s cubic-bezier(.3,.8,.2,1) .25s, opacity .3s .25s; }
.lc .stringer { stroke: var(--bone); stroke-width: 3; fill: none; stroke-linecap: round; }
.lc .tread { stroke: var(--ochre); stroke-width: 4; stroke-linecap: round; }
.lc:not([data-state="closed"]) .steps-out { transform: scaleY(1); opacity: 1; }
.lc .steps-stowed { fill: var(--ochre); transition: opacity .3s; }
.lc:not([data-state="closed"]) .steps-stowed { opacity: 0; }
.lc .callout.c-steps { opacity: 0; }
.lc[data-state="open"] .c-steps { opacity: 1; }
/* 3D pull-out */
.lc .mod-front { transition: transform .55s cubic-bezier(.3,.8,.2,1); }
.lc .mod-depth { fill: #b97f3d; stroke: var(--ochre-hi); stroke-width: .8; opacity: 0; transition: opacity .35s; }
.lc .mod-depth.top { fill: #f3c584; }
.lc[data-state="modules"] .mod.on .mod-box { transform: none; }
.lc[data-state="modules"] .mod.on .mod-front { transform: translate(-12px, 12px); }
.lc[data-state="modules"] .mod.on .mod-depth { opacity: 1; }
.lc .mod-front { filter: none; }
.lc[data-state="modules"] .mod.on .mod-front { filter: drop-shadow(0 6px 6px rgba(0,0,0,.35)); }
.lc.flip .mod-front { transition: none; }
/* side switch */
.side-switch { display: inline-flex; padding: 4px; border: 1px solid var(--hair); border-radius: 999px; gap: 4px; margin-bottom: .8rem; }
.side-btn { font: 600 .85rem var(--sans); color: var(--bone); background: none; border: 0; border-radius: 999px; padding: .45rem 1rem; cursor: pointer; }
.side-btn[aria-pressed="true"] { background: var(--ochre); color: var(--ink); }
.side-btn:focus-visible { outline: 2px solid var(--ochre-hi); outline-offset: 2px; }
.chips-row { display: flex; flex-wrap: wrap; gap: .5rem; }
/* module library */
.modules { background: var(--ink-2); padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem); }
.modules-head { max-width: 42rem; margin-bottom: 2.5rem; }
.mod-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); background: var(--hair); border: 1px solid var(--hair); border-radius: 14px; overflow: hidden; }
.mod-grid li { background: var(--ink-2); padding: 1.6rem 1.4rem; transition: background .3s; }
.mod-grid li:hover { background: var(--ink-3); }
.mod-grid svg { width: 56px; height: 56px; stroke: var(--ochre); fill: none; stroke-width: 1.6; margin-bottom: 1rem; }
.mod-grid h3 { font-family: var(--wide); font-size: 1.1rem; margin: 0 0 .4rem; }
.mod-grid p { margin: 0; opacity: .75; font-size: .95rem; }

/* ---------- v3.3: sturdy steps, planner, top view ---------- */
.lc .steps-out .stringer { stroke: none; }
.lc .stringer.back { fill: #8d9aa0; }
.lc .stringer.front { fill: #c9ced0; stroke: rgba(19,35,42,.5); stroke-width: 1; }
.lc .tread-plate rect { fill: var(--ochre); stroke: #9c6a2c; stroke-width: 1; }
.lc .tread-plate .nose { stroke: var(--ochre-hi); stroke-width: 2; fill: none; }
.lc .tread-plate .perf circle { fill: rgba(19,35,42,.55); }
.lc .brace { stroke: rgba(19,35,42,.35); stroke-width: 1.5; fill: none; }
.lc .foot { fill: #0c171b; stroke: rgba(241,237,228,.35); }
.lc .hinge { fill: var(--ink); stroke: var(--bone); stroke-width: 1.5; }
.lc .grab { fill: none; stroke: #c9ced0; stroke-width: 4; stroke-linecap: round; }
.lc .mod-label.sm { font-size: 11px; }
.lc .mod:not(.on) .mod-box { fill: var(--ink-3); stroke: rgba(227,165,90,.7); }
.lc[data-state="modules"] .mod.on .mod-front { transform: translate(var(--dx, -12px), 12px); }
.text-link { color: var(--ochre); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(227,165,90,.4); }
.text-link:hover { border-color: var(--ochre); }

.planner { padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem); background: var(--ink); border-top: 1px solid var(--hair); }
.planner-head { max-width: 44rem; margin-bottom: 2rem; }
.eyebrow { font: 600 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); margin: 0 0 .6rem; }
.planner-ui { display: grid; gap: 1.5rem; }
@media (min-width: 1000px) { .planner-ui { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.view-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--hair); border-radius: 999px; margin-bottom: 1rem; }
.view-tab { font: 600 .9rem var(--sans); color: var(--bone); background: none; border: 0; padding: .5rem 1.1rem; border-radius: 999px; cursor: pointer; }
.view-tab[aria-selected="true"] { background: var(--ochre); color: var(--ink); }
.view-tab:focus-visible, .pal-chip:focus-visible, .btn-sm:focus-visible { outline: 2px solid var(--ochre-hi); outline-offset: 2px; }
.planner-canvas { border: 1px solid var(--hair); border-radius: 16px; background: var(--ink-2); padding: .5rem; }
.planner-canvas svg { display: block; width: 100%; height: auto; color: var(--bone); }
.planner-canvas svg[hidden] { display: none; }
.planner-hint { margin: .8rem 0 0; font-size: .92rem; opacity: .75; min-height: 1.4em; }
.planner-svg .cells rect, .lc-top .top-cells rect { fill: none; stroke: rgba(241,237,228,.12); stroke-dasharray: 2 3; }
.is-dragging .cells rect, .is-dragging .top-cells rect { stroke: rgba(227,165,90,.4); }
.planner-svg .mod, .lc-top .mod { cursor: grab; touch-action: none; outline: none; }
.planner-svg .mod.is-dragging, .lc-top .mod.is-dragging { cursor: grabbing; opacity: .85; }
.planner-svg .mod.is-selected .mod-box, .lc-top .mod.is-selected .mod-box, .planner-svg .mod:focus-visible .mod-box, .lc-top .mod:focus-visible .mod-box { stroke: var(--bone); stroke-width: 2.5; }
.drop { fill: none; stroke-width: 2; stroke-dasharray: 5 4; pointer-events: none; }
.drop.ok { stroke: #8fd1a6; fill: rgba(143,209,166,.12); }
.drop.bad { stroke: #e0705a; fill: rgba(224,112,90,.12); }
/* top view */
.lc-top .body, .lc-top .cab-top { fill: var(--ink-3); stroke: var(--bone); stroke-width: 2; }
.lc-top .cab-top { fill: #2b4a56; stroke-width: 1.2; }
.lc-top .bumper-top { fill: #0f1d22; stroke: rgba(241,237,228,.5); }
.lc-top .tyre-top { fill: #0c171b; stroke: rgba(241,237,228,.35); }
.lc-top .glass { fill: rgba(143,168,157,.35); stroke: var(--bone); stroke-width: 1.2; }
.lc-top .pl { stroke: rgba(241,237,228,.35); fill: none; }
.lc-top .pl.soft { stroke: rgba(241,237,228,.18); }
.lc-top .detail { fill: var(--ink-2); stroke: rgba(241,237,228,.5); }
.lc-top .tail { fill: var(--rust); }
.lc-top .shell-top { fill: #33545f; stroke: var(--bone); stroke-width: 2; }
.lc-top .floor-top { fill: #1a2f37; stroke: rgba(241,237,228,.25); }
.lc-top .top-steps rect { fill: var(--ochre); opacity: .85; }
.lc-top .top-steps path { stroke: rgba(19,35,42,.6); stroke-width: 2; }
.lc-top .roof-ghost { fill: none; stroke: var(--ochre); stroke-width: 1.5; stroke-dasharray: 8 6; opacity: .6; pointer-events: none; }
.lc-top .top-labels text { fill: var(--bone); font: 600 14px var(--sans); }
.lc-top .top-labels .faint { opacity: .55; font-size: 12px; font-weight: 500; }
.lc-top .front-arrow { stroke: rgba(241,237,228,.55); fill: none; stroke-width: 1.5; }
.lc-top .mod-box { fill: var(--ochre); stroke: var(--ochre-hi); stroke-width: 1.2; }
.lc-top .mod.inside .mod-box { fill: var(--sage); stroke: #b4c8bf; }
.lc-top .mod-label { fill: var(--ink); font: 600 11px var(--sans); }
.lc-top .mod-ghost { fill: none; stroke: rgba(227,165,90,.6); stroke-dasharray: 3 3; }
/* side panel */
.sel-card { border: 1px solid var(--ochre); border-radius: 14px; padding: 1.1rem 1.2rem; margin-bottom: 1.4rem; background: rgba(227,165,90,.06); }
.sel-card h3 { font-family: var(--wide); font-size: 1.15rem; margin: 0 0 .35rem; }
.sel-card p { margin: 0 0 .5rem; font-size: .95rem; }
.sel-meta { opacity: .65; font-size: .85rem !important; }
.sel-actions { display: flex; gap: .5rem; margin-top: .7rem; }
.btn-sm { font: 600 .88rem var(--sans); padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--ochre); background: var(--ochre); color: var(--ink); cursor: pointer; }
.btn-sm.ghost { background: none; color: var(--bone); border-color: var(--hair); }
.btn-sm[hidden] { display: none; }
.pal-title { font: 600 .8rem var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin: 0 0 .6rem; }
.palette { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.3rem; }
.pal-chip { font: 500 .88rem var(--sans); padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--hair); background: none; color: var(--bone); cursor: pointer; transition: border-color .2s, background .2s; }
.pal-chip:hover { border-color: var(--ochre); background: rgba(227,165,90,.08); }
.link-btn { background: none; border: 0; color: var(--ochre); font: 500 .9rem var(--sans); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.planner-canvas { overflow: hidden; }
/* range gallery (v3.4) */
.gallery { max-width: var(--max); margin: 0 auto; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.gal { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; background: var(--bone-2); }
.gal img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.3,.8,.2,1); }
.gal:hover img { transform: scale(1.03); }
@media (min-width: 760px) { .gallery { grid-template-columns: 1.5fr 1fr; } .gallery .gal:first-child { grid-row: span 2; aspect-ratio: auto; } .gal-wide:nth-child(4) { grid-column: 1 / -1; aspect-ratio: 21 / 9; } }
.range-list { list-style: none; padding: 0; max-width: var(--max); margin: 2.5rem auto 0; display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.range-list h3 { font-family: var(--wide); font-size: 1.2rem; margin: 0 0 .4rem; }
.range-list p { margin: 0; color: #4a5559; }
