/* Your 3D Map — studio graphite. One ground, one ink, two greys; colour lives only in the object. */
html, body { background: #0b0b0a; }
:root {
  --bg: #0b0b0a; --bg-2: #121211; --bg-3: #191917;
  --ink: #ecebe6; --ink-2: rgba(236,235,230,.72); --ink-3: rgba(236,235,230,.5); --ink-4: rgba(236,235,230,.3);
  --line: rgba(236,235,230,.1); --line-2: rgba(236,235,230,.18);
  --copper: #c4733c; --error: #e8846a;
  --font: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16,1,.3,1);
  --gut: clamp(20px, 4vw, 56px);
  --max: 1680px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; color: var(--ink); font: 400 16px/1.55 var(--font); letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
::selection { background: rgba(236,235,230,.22); }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--ink-3); }
[hidden] { display: none !important; }

/* grain over everything, quiet */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 8px 0 24px; border-radius: 999px;
  font: 500 14.5px/1 var(--font); letter-spacing: -0.005em; cursor: pointer; border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--ink); color: #0b0b0a; }
.btn--solid:hover { background: #fff; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); padding-right: 24px; }
.btn--ghost:hover { border-color: var(--ink-3); background: rgba(236,235,230,.04); }
.btn__dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: #0b0b0a; color: var(--ink); transition: transform .35s var(--ease); }
.btn:hover .btn__dot { transform: translateX(2px) rotate(-45deg); }
.btn__dot svg { width: 13px; height: 13px; }
.btn--sm { height: 40px; font-size: 13.5px; padding: 0 6px 0 18px; }
.btn--sm .btn__dot { width: 28px; height: 28px; }
.btn[disabled] { opacity: .5; cursor: progress; }

/* ---------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(11,11,10,.72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); padding-block: 12px; border-bottom-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 500 19px/1 var(--font); letter-spacing: -0.035em; }
.logo svg { width: 28px; height: 28px; flex: none; }
.logo sup { font: 400 9px/1 var(--mono); color: var(--ink-3); letter-spacing: .06em; margin-left: 2px; }
.nav__links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(236,235,230,.03);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav__links a { padding: 8px 16px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--ink); background: rgba(236,235,230,.06); }
.nav__menu { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; place-items: center; }
.sheet { position: fixed; inset: 0; z-index: 60; background: #0b0b0a; padding: 96px var(--gut) 40px; display: flex; flex-direction: column; gap: 4px; }
.sheet a { font: 400 40px/1.15 var(--font); letter-spacing: -0.04em; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sheet .btn { margin-top: auto; justify-content: space-between; height: 56px; font-size: 16px; }
.sheet__close { position: absolute; top: 18px; right: var(--gut); width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: none; cursor: pointer; display: grid; place-items: center; }

/* ---------------------------------------------------------------- hero: the print */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.hero__canvas:active { cursor: grabbing; }
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s var(--ease); }
.hero.is-live .hero__poster { opacity: 0; }
.hero__fade { position: absolute; inset: auto 0 0; height: 36%; pointer-events: none; background: linear-gradient(to top, #0b0b0a 8%, rgba(11,11,10,.7) 45%, transparent); }
.hero__copy { position: absolute; left: var(--gut); bottom: clamp(32px, 7vh, 72px); max-width: 920px; z-index: 2; }
.hero h1 { margin: 0; font-weight: 400; font-size: clamp(44px, 6.6vw, 104px); line-height: .94; letter-spacing: -0.052em; }
.hero h1 .l { display: block; overflow: hidden; padding-bottom: .06em; white-space: nowrap; }
@media (max-width: 560px) { .hero h1 .l { white-space: normal; } }
.hero h1 .l > span { display: block; }
.hero h1 .dim { color: var(--ink-3); }
.hero__sub { margin: 24px 0 0; max-width: 31rem; font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.readout { position: absolute; right: var(--gut); bottom: clamp(32px, 7vh, 72px); z-index: 2; width: 260px; display: grid; gap: 12px; }
.readout__row { display: flex; justify-content: space-between; font: 400 11.5px/1 var(--mono); letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }
.readout__row b { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.readout__bar { height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.readout__bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--ink); }
.readout__state { display: flex; align-items: center; gap: 8px; }
.readout__state::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--copper); box-shadow: 0 0 10px var(--copper); }
.readout.is-done .readout__state::before { background: var(--ink); box-shadow: none; }
.tag { font: 400 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(11,11,10,.5); backdrop-filter: blur(6px); }
.hero__tag { position: absolute; top: 96px; right: var(--gut); z-index: 2; }
.hero__replay { position: absolute; top: 96px; left: var(--gut); z-index: 2; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-3); }
.hero__replay:hover { color: var(--ink); }

/* ---------------------------------------------------------------- statement */
.statement { padding: clamp(120px, 18vh, 200px) 0 clamp(96px, 14vh, 160px); }
.statement p { margin: 0; max-width: 19.5em; font-size: clamp(30px, 4.3vw, 64px); line-height: 1.06; letter-spacing: -0.04em; }
.statement .w { color: var(--ink-4); transition: color .2s linear; }
.statement .w.on { color: var(--ink); }
.statement__meta { display: flex; gap: 32px; margin-top: 56px; flex-wrap: wrap; }

/* section heads */
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.head h2 { margin: 0; font-weight: 400; font-size: clamp(36px, 5.2vw, 76px); line-height: .98; letter-spacing: -0.045em; }
.head p { margin: 0; color: var(--ink-2); font-size: 16.5px; }
.head .mono { display: block; margin-bottom: 20px; color: var(--ink-3); }
section { position: relative; }
.sec { padding: clamp(96px, 14vh, 160px) 0; }

/* ---------------------------------------------------------------- process: pinned */
.process { height: 460vh; }
.process__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.process__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.process__copy { position: absolute; left: var(--gut); top: 50%; transform: translateY(-50%); width: min(400px, 34vw); z-index: 2; }
.process__copy > .mono { color: var(--ink-3); display: block; margin-bottom: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.step { padding: 18px 0; border-top: 1px solid var(--line); opacity: .32; transition: opacity .5s var(--ease); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step.on { opacity: 1; }
.step__n { font: 400 11px/1 var(--mono); color: var(--ink-3); letter-spacing: .08em; }
.step h3 { margin: 10px 0 0; font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; line-height: 1.1; }
.step p { margin: 0; max-height: 0; overflow: hidden; color: var(--ink-2); font-size: 15px; transition: max-height .6s var(--ease), margin .6s var(--ease); }
.step.on p { max-height: 120px; margin-top: 10px; }
.process__hud { position: absolute; right: var(--gut); bottom: 40px; z-index: 2; display: grid; gap: 8px; width: 240px; }
.process__place { position: absolute; right: var(--gut); top: 96px; z-index: 2; text-align: right; }
.process__place b { display: block; font-weight: 400; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); text-transform: none; margin-top: 6px; }
.process__progress { position: absolute; left: var(--gut); right: var(--gut); bottom: 0; height: 1px; background: var(--line); z-index: 2; }
.process__progress i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--ink-3); }

/* ---------------------------------------------------------------- finishes: wipe */
.wipe { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: #0b0b0a; border: 1px solid var(--line); user-select: none; touch-action: pan-y; cursor: ew-resize; --x: 50%; }
.wipe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.wipe__top { clip-path: inset(0 0 0 var(--x)); }
.wipe__bar { position: absolute; top: 0; bottom: 0; left: var(--x); width: 1px; background: rgba(236,235,230,.7); }
.wipe__knob { position: absolute; top: 50%; left: var(--x); transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 999px; border: 1px solid rgba(236,235,230,.7);
  background: rgba(11,11,10,.55); backdrop-filter: blur(8px); display: grid; place-items: center; cursor: ew-resize; }
.wipe__knob svg { width: 20px; height: 20px; }
.wipe__label { position: absolute; bottom: 20px; }
.wipe__label--l { left: 20px; } .wipe__label--r { right: 20px; }
.wipe .hero__tag { top: 20px; right: 20px; }
.finish-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; margin-top: 40px; }
.finish-notes h3 { margin: 0 0 8px; font-weight: 400; font-size: 22px; letter-spacing: -0.025em; }
.finish-notes p { margin: 0; color: var(--ink-2); max-width: 34ch; }

/* ---------------------------------------------------------------- specs strip */
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.spec { padding: 32px 24px 8px 0; border-right: 1px solid var(--line); }
.spec + .spec { padding-left: 24px; }
.spec:last-child { border-right: 0; }
.spec .mono { color: var(--ink-3); }
.spec b { display: block; margin: 20px 0 10px; font-weight: 300; font-size: clamp(38px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.spec b small { font-size: .38em; letter-spacing: -0.01em; color: var(--ink-3); margin-left: 4px; }
.spec p { margin: 0; color: var(--ink-2); font-size: 14.5px; max-width: 26ch; }
.spec-note { margin-top: 28px; color: var(--ink-3); }

/* ---------------------------------------------------------------- places */
.places { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.place { position: relative; border-radius: 24px; overflow: hidden; min-height: 420px; isolation: isolate; }
.place:nth-child(1) { grid-column: span 7; } .place:nth-child(2) { grid-column: span 5; }
.place:nth-child(3) { grid-column: span 5; } .place:nth-child(4) { grid-column: span 7; }
.place img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); filter: saturate(.82) contrast(1.02); }
.place:hover img { transform: scale(1.03); }
.place::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11,11,10,.85), rgba(11,11,10,.1) 55%, transparent); }
.place__txt { position: absolute; left: 24px; right: 24px; bottom: 22px; }
.place h3 { margin: 0; font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; }
.place p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; max-width: 36ch; }
.place .tag { position: absolute; top: 18px; left: 18px; }

/* ---------------------------------------------------------------- configurator */
.cfg { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 16px; align-items: start; }
.cfg__side { display: grid; gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: 24px; background: var(--bg-2); padding: 24px; display: grid; gap: 18px; min-width: 0; }
.panel h3 { margin: 0; display: flex; align-items: baseline; gap: 12px; font-weight: 400; font-size: 19px; letter-spacing: -0.02em; }
.panel h3 .mono { color: var(--ink-3); font-size: 11px; }
.cfg__main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.cfg label, .cfg legend { font-size: 13.5px; color: var(--ink-2); }
.row { display: flex; gap: 8px; align-items: center; }
.row > input { flex: 1 1 auto; min-width: 0; }
.field { display: grid; gap: 8px; }
input[type="text"], input[type="search"], input[type="email"], select, textarea {
  height: 48px; padding: 0 16px; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 14px; width: 100%;
  transition: border-color .2s; }
textarea { height: auto; padding: 14px 16px; line-height: 1.5; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--ink-4); }
input:hover, select:hover, textarea:hover { border-color: var(--ink-4); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--ink); }
[aria-invalid="true"] { border-color: var(--error) !important; box-shadow: 0 0 0 1px var(--error); }
.field__error { margin: 0; font-size: 13.5px; color: var(--error); }
.status { margin: 0; min-height: 1.3em; font-size: 13.5px; color: var(--ink-3); }
.status.is-error, .is-error { color: var(--error); }
.results { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.results li + li { border-top: 1px solid var(--line); }
.results button { width: 100%; text-align: left; background: none; border: 0; padding: 12px 16px; min-height: 48px; cursor: pointer; }
.results button:hover, .results button:focus-visible { background: var(--bg-3); }
.results small { display: block; color: var(--ink-3); font-size: 12.5px; }
.current { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.current b { color: var(--ink); font-weight: 400; }
.mapbox { position: relative; height: clamp(340px, 54vh, 560px); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #151514; z-index: 0; }
.mapbox .leaflet-container { background: #151514; }
.mapbox .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) grayscale(1) brightness(.98) contrast(1.08); }
.mapbox .leaflet-control-zoom { border: 1px solid var(--line-2) !important; border-radius: 14px !important; overflow: hidden; }
.mapbox .leaflet-control-zoom a { width: 40px !important; height: 40px !important; line-height: 40px !important; background: rgba(11,11,10,.8) !important; color: var(--ink) !important; border-color: var(--line) !important; }
.mapbox .leaflet-control-attribution { background: rgba(11,11,10,.7) !important; color: var(--ink-3) !important; font-size: 10px; }
.mapbox .leaflet-control-attribution a { color: var(--ink-2) !important; }
.crop { position: absolute; left: 50%; top: 50%; z-index: 500; pointer-events: none; transform: translate(-50%, -50%);
  border: 1.5px solid var(--ink); box-shadow: 0 0 0 9999px rgba(11,11,10,.55); }
.crop::before, .crop::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); transform: translate(-50%, -50%); }
.crop::before { width: 12px; height: 1.5px; } .crop::after { width: 1.5px; height: 12px; }
.crop span { position: absolute; left: -1px; bottom: calc(100% + 8px); font: 400 10.5px/1 var(--mono); letter-spacing: .08em; background: var(--ink); color: #0b0b0a; padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.hint { margin: 0; font-size: 13px; color: var(--ink-3); }
.slider { display: flex; align-items: center; gap: 10px; }
input[type="range"] { flex: 1; appearance: none; -webkit-appearance: none; height: 44px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--line-2); border-radius: 2px; }
input[type="range"]::-moz-range-track { height: 2px; background: var(--line-2); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 99px; background: var(--ink); margin-top: -9px; border: 4px solid var(--bg-2); box-shadow: 0 0 0 1px var(--ink); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 99px; background: var(--ink); border: 4px solid var(--bg-2); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--ink-3); background: rgba(236,235,230,.04); }
.icon-btn svg { width: 17px; height: 17px; }
.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { width: 100%; margin-bottom: 10px; padding: 0; display: flex; align-items: center; gap: 10px; }
.seg label { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; color: var(--ink-2); font-size: 14px; transition: all .2s var(--ease); }
.seg label:hover { border-color: var(--ink-3); color: var(--ink); }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--ink); color: #0b0b0a; border-color: var(--ink); }
.seg label:has(input:focus-visible) { outline: 1.5px solid var(--ink); outline-offset: 3px; }
.seg--stack { display: grid; }
.seg--stack label { border-radius: 14px; justify-content: flex-start; }
.seg--stack small { margin-left: auto; font: 400 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.note { font: 400 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 99px; padding: 4px 7px; }
.swatch { width: 18px; height: 18px; border-radius: 99px; flex: none; border: 1px solid rgba(0,0,0,.25); }
.swatch--mono { background: #e9e2d3; }
.swatch--classic { background: conic-gradient(#96a080 0 25%, #d2c6a0 0 50%, #d0b48e 0 75%, #86aabb 0); }
.preview { position: relative; height: clamp(340px, 54vh, 560px); border-radius: 16px; overflow: hidden; background: #121211; border: 1px solid var(--line); }
.preview canvas { width: 100%; height: 100%; touch-action: none; cursor: grab; }
.preview__state { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(11,11,10,.7); white-space: nowrap; }
.preview__state:empty { display: none; }
.preview .tag { position: absolute; top: 14px; left: 14px; }
.preview .tag.is-sample { color: #0b0b0a; background: var(--ink); border-color: var(--ink); }
.tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 13.5px; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: #0b0b0a; border-color: var(--ink); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px 20px; }
.facts dt { font: 400 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 6px 0 0; font-variant-numeric: tabular-nums; font-size: 15px; }
.fallback { display: grid; gap: 12px; padding: 16px; border-radius: 14px; border: 1px solid var(--line-2); }
.fallback p { margin: 0; color: var(--ink-2); font-size: 14px; }
.cfg__next { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; border: 1px solid var(--line); border-radius: 24px; }
.cfg__summary { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ---------------------------------------------------------------- quote */
.quote { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: start; }
.yourmap { position: sticky; top: 96px; }
.thumb { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: #121211; }
dl.spec-list { margin: 0; display: grid; }
dl.spec-list > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
dl.spec-list dt { color: var(--ink-3); }
dl.spec-list dd { margin: 0; }
.link { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; font-size: 14px; }
.link:hover { text-decoration-color: var(--ink); }
.qform { display: grid; gap: 18px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qform .opt { color: var(--ink-3); }
.brief summary { cursor: pointer; font-size: 14px; color: var(--ink-2); min-height: 44px; display: flex; align-items: center; }
.brief textarea { font: 400 13px/1.55 var(--mono); }
.custom-btn { width: 100%; margin-top: 4px; }
.link-btn { background: none; border: 0; padding: 10px 0; min-height: 44px; cursor: pointer; font-size: 13.5px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.done h3 { font-size: 28px; }

/* ---------------------------------------------------------------- questions */
.qa { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.factors { list-style: none; margin: 0; padding: 0; }
.factors li { display: grid; grid-template-columns: 2.4rem 1fr; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.factors li span { font: 400 11px/1.9 var(--mono); color: var(--ink-3); }
.factors b { color: var(--ink); font-weight: 400; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 28px; height: 28px; border-radius: 99px; border: 1px solid var(--line-2); flex: none; position: relative; transition: transform .35s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 60ch; }

/* ---------------------------------------------------------------- footer */
.footer { padding: clamp(96px, 14vh, 160px) 0 32px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__cta { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.footer__cta h2 { margin: 0; font-weight: 400; font-size: clamp(36px, 5.2vw, 76px); letter-spacing: -0.045em; line-height: .98; max-width: 12em; }
.wordmark { margin: clamp(64px, 10vw, 140px) 0 0; padding-bottom: .12em; font-weight: 500; font-size: clamp(48px, 13vw, 210px); line-height: .9; letter-spacing: -0.075em; color: var(--ink); white-space: nowrap; }
.wordmark span { color: var(--copper); }
.footer__contact { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: 32px; font-size: 15px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 8px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.footer__contact a:hover { text-decoration-color: var(--ink); }
.footer__contact .muted { color: var(--ink-3); font-size: 13px; }
.footer__row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.footer__row nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__row a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .cfg { grid-template-columns: minmax(0, 1fr); }
  .cfg__side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__menu { display: grid; }
  .nav .btn { display: none; }
  .readout { left: var(--gut); right: auto; top: 96px; bottom: auto; width: 210px; }
  .hero__tag { top: 96px; }
  .hero__replay { display: none; }
  .head { grid-template-columns: 1fr; }
  .process__copy { top: auto; bottom: 28px; transform: none; width: auto; right: var(--gut); }
  .process__copy > .mono { margin-bottom: 14px; }
  .step { padding: 12px 0; }
  .step h3 { font-size: 20px; }
  .step.on p { max-height: 90px; font-size: 14px; }
  .process__hud { display: none; }
  .process__place { top: 84px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .spec { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .places { grid-template-columns: 1fr; }
  .place { grid-column: auto !important; min-height: 340px; }
  .cfg__main, .cfg__side { grid-template-columns: minmax(0, 1fr); }
  .quote, .qa { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .yourmap { position: static; }
  .finish-notes { grid-template-columns: 1fr; }
  .wipe { aspect-ratio: 4 / 5; border-radius: 20px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(40px, 12.4vw, 60px); }
  .hero__sub { font-size: 15.5px; margin-top: 18px; }
  .hero__ctas .btn { flex: 1 1 100%; justify-content: space-between; }
  .hero__ctas .btn--ghost { justify-content: center; }
  .pair { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .cfg__next .btn { width: 100%; justify-content: space-between; }
  .panel { padding: 18px; border-radius: 20px; }
  dl.spec-list > div { grid-template-columns: 7rem minmax(0, 1fr); }
}

/* phones: the model gets the clear space */
@media (max-width: 900px) {
  .readout { top: 84px; left: var(--gut); width: 150px; gap: 8px; }
  .readout__row:nth-child(n+3) { display: none; }
  .hero__tag { top: 80px; }
  .process__copy > .mono { display: none; }
  .step:not(.on) { display: none; }
  .step.on { border-bottom: 1px solid var(--line); }
  .step.on p { max-height: 120px; }
  .process__place { top: 80px; left: var(--gut); right: auto; text-align: left; }
  .process__place b { font-size: 13px; }
}
@media (max-width: 560px) {
  .hero__sub { font-size: 15px; }
  .hero__ctas { margin-top: 22px; gap: 8px; }
  .hero__ctas .btn { height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .statement .w { color: var(--ink); }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------------------------------------------------------------- hero caption */
.cap { position: absolute; right: var(--gut); bottom: clamp(32px, 7vh, 72px); z-index: 2; width: 280px; display: grid; gap: 12px; font: 400 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.cap__row { display: flex; align-items: center; gap: 10px; }
.cap__dot { width: 6px; height: 6px; border-radius: 99px; background: var(--copper); box-shadow: 0 0 10px var(--copper); flex: none; }
.cap.is-done .cap__dot { background: var(--ink-3); box-shadow: none; }
.cap__bar { height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.cap__bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--ink); }
.hero { background: radial-gradient(110% 80% at 62% 42%, #1f1d1a 0%, #121110 55%, #0b0b0a 100%); }
/* ---------------------------------------------------------------- how it works */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.how li { padding: 28px 24px 0 0; }
.how li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.how .mono { color: var(--ink-3); }
.how h3 { margin: 20px 0 10px; font-weight: 400; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.025em; }
.how p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 30ch; }
@media (max-width: 900px) {
  .how { grid-template-columns: 1fr 1fr; }
  .how li { padding: 24px 0 24px !important; border-left: 0 !important; border-bottom: 1px solid var(--line); }
  .cap { left: var(--gut); right: auto; top: 84px; bottom: auto; width: 230px; }
}
@media (max-width: 560px) { .how { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .cap { width: calc(100% - 2 * var(--gut) - 150px); font-size: 10.5px; }
  .cap__row span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------------------------------------------------------------- hero: place tabs and replay */
.ptabs { position: absolute; top: 96px; left: var(--gut); z-index: 3; display: flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(11,11,10,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); max-width: calc(100% - 2 * var(--gut)); overflow-x: auto; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs button { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); font-size: 13px; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); white-space: nowrap; }
.ptabs button:hover { color: var(--ink); background: rgba(236,235,230,.06); }
.ptabs button[aria-pressed="true"] { background: var(--ink); color: #0b0b0a; }
.replay { justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(11,11,10,.45); backdrop-filter: blur(8px); color: var(--ink); font: 400 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, background .2s; }
.replay:hover { border-color: var(--ink-3); background: rgba(236,235,230,.06); }
.replay svg { width: 15px; height: 15px; transition: transform .5s var(--ease); }
.replay:hover svg { transform: rotate(-200deg); }
@media (max-width: 900px) {
  .ptabs { top: 76px; }
  .cap { top: auto; bottom: auto; }
  .hero__tag { top: 128px; }
  .cap { position: absolute; top: 128px; left: var(--gut); }
}
@media (max-width: 900px) {
  .ptabs { top: 76px; }
  .cap { top: 128px; left: var(--gut); right: auto; bottom: auto; width: auto; }
  .cap__row, .cap__bar { display: none; }
  .cap .replay { height: 36px; }
  .hero__tag { top: 130px; right: var(--gut); }
}
@media (max-width: 560px) {
  .hero__ctas .btn--ghost { display: none; }
  .hero h1 { font-size: clamp(36px, 10.6vw, 48px); }
  .hero__sub { font-size: 14.5px; margin-top: 14px; }
}

/* ---------------------------------------------------------------- showcase still */
.showcase { padding: clamp(24px, 4vw, 48px) var(--gut) 0; }
.showcase__frame { position: relative; margin: 0 auto; max-width: 1600px; border-radius: 28px; overflow: hidden; background: #0b0b0a; aspect-ratio: 16 / 10; }
.showcase__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.showcase__frame.in img { transform: scale(1); }
.showcase__cap { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.showcase__cap .mono { font-size: 11px; }
@media (max-width: 640px) {
  .showcase__frame { aspect-ratio: 4 / 5; border-radius: 20px; }
  .showcase__frame img { object-position: 42% 50%; }
  .showcase__cap .mono { display: none; }
}

/* ================================================================ v3: rendered hero, examples, designer */
.hero { background: #0b0b0a; }
.hero__stage { position: absolute; top: 0; bottom: 0; right: 0; width: min(64vw, 100vh); }
.hero__video, .hero__turn { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block;
  -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); }
.hero__turn { opacity: 0; transition: opacity .5s var(--ease); cursor: grab; touch-action: pan-y; outline-offset: -6px; }
.hero__turn:active { cursor: grabbing; }
.hero.is-turn .hero__turn { opacity: 1; }
.hero.is-turn .hero__video { opacity: 0; transition: opacity .5s var(--ease) .1s; }
.hero__copy { max-width: 760px; }
.hero .hero__tag { top: 96px; right: var(--gut); }
.cap { right: var(--gut); bottom: clamp(32px, 7vh, 72px); }
@media (max-width: 900px) {
  .hero { height: auto; min-height: 0; padding: 84px 0 40px; }
  .hero__stage { position: relative; width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: 64svh; margin: 0 auto; right: auto; }
  .hero__copy { position: relative; left: auto; bottom: auto; padding: 8px var(--gut) 0; }
  .hero .hero__tag { top: 72px; right: var(--gut); }
  .cap { position: absolute; top: 72px; left: var(--gut); width: auto; bottom: auto; }
  .cap__row, .cap__bar { display: none; }
}

.examples { padding: clamp(28px, 4vw, 48px) 0 clamp(64px, 9vw, 112px); border-bottom: 1px solid var(--line); }
.examples__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.examples__head h2 { margin: 0; color: var(--ink-2); }
.examples__head p { margin: 0; font-size: 14px; }
.examples__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ex { position: relative; display: grid; gap: 10px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); }
.ex__img { display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #121211; border: 1px solid var(--line); }
.ex__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1s var(--ease); }
.ex:hover .ex__img img, .ex:focus-visible .ex__img img { transform: scale(1.1); }
.ex__txt { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 0 4px; }
.ex__txt b { font-weight: 400; font-size: 16px; letter-spacing: -0.015em; }
.ex__txt small { color: var(--ink-3); font-size: 12.5px; }
.ex__go { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font: 400 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  background: rgba(11,11,10,.6); backdrop-filter: blur(6px); border: 1px solid var(--line-2); opacity: 0; transform: translateY(-4px); transition: all .3s var(--ease); }
.ex__go svg { width: 10px; height: 10px; }
.ex:hover .ex__go, .ex:focus-visible .ex__go { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .examples__row { grid-template-columns: repeat(5, 62vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .ex { scroll-snap-align: start; }
  .ex__go { opacity: 1; transform: none; }
}

/* designer */
.dz { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.dz__map { position: sticky; top: 84px; }
.dz__bar { position: relative; }
.dz__search { display: flex; gap: 8px; }
.dz__search input { flex: 1; }
.dz__bar .results { position: absolute; left: 0; right: 52px; top: calc(100% + 6px); z-index: 900; background: var(--bg-2); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.dz .mapbox { height: clamp(380px, 58vh, 620px); }
.dz .mapbox .leaflet-tile-pane { filter: saturate(.85) contrast(1.02) brightness(.95); }
.mapbox.is-drawing, .mapbox.is-drawing .leaflet-container { cursor: crosshair; }
.draw { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 520; pointer-events: none; }
.draw__path { fill: none; stroke: #c8402f; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.draw__bound { fill: rgba(236,235,230,.08); stroke: #ecebe6; stroke-width: 2; stroke-dasharray: 8 6; }
.draw__draft { opacity: .9; }
.draw__pt { fill: #ecebe6; stroke: #0b0b0a; stroke-width: 1.5; }
.drawbar { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 600; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 999px; background: rgba(11,11,10,.82); backdrop-filter: blur(8px); border: 1px solid var(--line-2); font-size: 13.5px; }
.drawbar span { flex: 1; }
.chip--on { background: var(--ink); color: #0b0b0a; border-color: var(--ink); }
.dz__crop { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.dz__extras { display: grid; gap: 12px; }
.extra { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: grid; gap: 12px; }
.extra.is-hint { border-color: var(--ink-3); }
.extra__body { display: grid; gap: 12px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.5px; min-height: 36px; }
.check input { width: 20px; height: 20px; accent-color: #ecebe6; }
.check small { margin-left: 4px; }
.file { cursor: pointer; }
.strava svg { width: 16px; height: 16px; }
.swatches { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.swatches legend { width: 100%; padding: 0; margin-bottom: 10px; font-size: 13.5px; color: var(--ink-2); }
.sw { position: relative; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; cursor: pointer; border: 1px solid transparent; }
.sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sw i { width: 28px; height: 28px; border-radius: 999px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 1px 3px rgba(0,0,0,.4); }
.sw:has(input:checked) { border-color: var(--ink); }
.sw:has(input:focus-visible) { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.dotc { display: inline-block; width: 10px; height: 10px; border-radius: 99px; background: var(--c); margin: 0 4px 0 6px; vertical-align: -1px; }
.dz__side { display: grid; gap: 16px; }
.dz .preview { height: clamp(320px, 46vh, 500px); }
.tools__sp { flex: 1; }
.buy { gap: 14px; }
.buy__row { display: flex; justify-content: space-between; align-items: baseline; }
.buy__price { font-weight: 300; font-size: clamp(40px, 4vw, 56px); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.buy__lines { margin: 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.buy__lines div { display: flex; justify-content: space-between; gap: 12px; }
.buy__lines dd { margin: 0; color: var(--ink); }
.buy__btn { justify-content: space-between; height: 54px; font-size: 15.5px; }
@media (max-width: 1100px) { .dz { grid-template-columns: minmax(0, 1fr); } .dz__map { position: static; } }
@media (max-width: 560px) { .dz__crop { grid-template-columns: minmax(0, 1fr); } .dz .mapbox { height: 62svh; max-height: 460px; } }

/* ================================================================ v4: live motion-graphic hero driven by the examples */
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.hero__canvas:active { cursor: grabbing; }
.hero__stage, .hero__video, .hero__turn { display: none; }
.cap__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.replay--solid { background: var(--ink); color: #0b0b0a; border-color: var(--ink); }
.replay--solid:hover { background: #fff; }
.replay--solid svg { width: 12px; height: 12px; }
.replay--solid:hover svg { transform: translateX(2px); }
.cap.is-done .cap__dot { background: var(--ink-3); box-shadow: none; }
.ex[aria-pressed="true"] .ex__img { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.ex[aria-pressed="true"] .ex__txt b::after { content: " · building"; color: var(--copper); font-size: 12px; }
.examples__row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .hero { height: 100svh; min-height: 640px; padding: 0; }
  .hero__copy { position: absolute; left: var(--gut); right: var(--gut); bottom: 28px; padding: 0; }
  .cap { top: 76px; }
  .cap__row, .cap__bar { display: none; }
  .hero .hero__tag { display: none; }
  .examples__row { grid-template-columns: repeat(6, 62vw); }
}
.hero__copy { max-width: 940px; }
.cap { width: 340px; }
.cap__btns { flex-wrap: nowrap; }
@media (max-width: 900px) { .cap { width: auto; } }

/* ================================================================ v5: places as hero tabs */
.ptabs--places { gap: 2px; }
.ptab { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 4px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 13px; cursor: pointer; white-space: nowrap; flex: none; transition: background .25s var(--ease), color .25s var(--ease); }
.ptab img { width: 32px; height: 32px; border-radius: 999px; object-fit: cover; object-position: 50% 45%; }
.ptab:hover { color: var(--ink); background: rgba(236,235,230,.06); }
.ptab[aria-pressed="true"] { background: var(--ink); color: #0b0b0a; }
@media (max-width: 900px) { .ptabs--places { top: 72px; } .cap { top: 128px; } }
/* ================================================================ v6: the object leads, the text supports */
.hero h1 { font-size: clamp(32px, 3.4vw, 52px); line-height: 1; letter-spacing: -0.04em; }
.hero h1 .l { white-space: normal; }
.hero__copy { max-width: 460px; bottom: clamp(28px, 6vh, 56px); }
.hero__sub { font-size: 15px; margin-top: 14px; max-width: 26rem; color: var(--ink-3); }
.hero__ctas { margin-top: 20px; }
.hero__fade { height: 26%; }
@media (max-width: 560px) { .hero h1 { font-size: 30px; } .hero__sub { font-size: 14px; } }

/* v7: finish choice, contour density, extras panel */
.panel__h { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2, #b9b6ad); }
.topo-opts { display: grid; gap: 14px; }
.topo-opts[hidden] { display: none; }
.slider--labelled span { font-size: 12.5px; min-width: 40px; }
.slider--labelled span:last-child { text-align: right; }
.slider--labelled input { flex: 1; }
.extra__body .hint { margin: 0; }
.preview.is-loading canvas { opacity: .55; transition: opacity .2s; } .preview canvas { transition: opacity .3s; }

/* v8: wider page; designer = big map and steady preview side by side, options in a row underneath */
#design .wrap { width: min(100% - 2 * var(--gut), 1880px); }
.dz { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: stretch; }
.dz__map { position: static; }
.dz .mapbox { height: clamp(460px, 68vh, 780px); }
.dz__view { display: flex; flex-direction: column; gap: 16px; }
.dz .dz__view .preview { height: auto; flex: 1 1 auto; min-height: clamp(420px, 60vh, 700px); }
.dz__view .facts { min-height: 116px; align-content: start; }
.dz__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; align-items: start; }
.dz__opts .buy { position: sticky; top: 96px; }
.preview.is-loading canvas { opacity: .8; }
.crop.is-round { border-radius: 50%; }
@media (max-width: 1100px) {
  .dz { grid-template-columns: minmax(0, 1fr); }
  .dz__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dz__opts .buy { grid-column: 1 / -1; position: static; }
  .dz .dz__view .preview { min-height: clamp(340px, 52vh, 520px); }
}
@media (max-width: 700px) {
  .dz__opts { grid-template-columns: minmax(0, 1fr); }
  .dz .mapbox { height: 62svh; max-height: 480px; }
  .dz .dz__view .preview { min-height: 340px; }
}

/* Strava upload guide */
.guide { width: min(100% - 32px, 980px); max-height: calc(100svh - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: 24px; background: var(--bg-2); color: var(--ink); overflow: auto; }
.guide::backdrop { background: rgba(5,5,4,.72); backdrop-filter: blur(4px); }
.guide__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.guide__x { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(11,11,10,.7); }
.guide__fig { position: relative; margin: 0; background: #121211; min-height: 100%; }
.guide__fig { display: grid; place-items: center; }
.guide__fig img { width: 100%; height: auto; display: block; }
.guide__fig .tag { position: absolute; left: 14px; top: 14px; }
.guide__txt { padding: 32px 30px 30px; display: grid; gap: 16px; align-content: start; }
.guide__txt h3 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 400; letter-spacing: -0.03em; }
.guide__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.guide__steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.guide__steps li > span { width: 26px; height: 26px; border-radius: 999px; border: 1px solid var(--line-2); display: grid; place-items: center; font: 400 12px var(--mono); color: var(--ink); }
.guide__steps b { color: var(--ink); font-weight: 500; }
.guide code { font: 400 12.5px var(--mono); background: rgba(236,235,230,.07); padding: 1px 5px; border-radius: 6px; }
.guide .btn.file { justify-self: start; cursor: pointer; }
@media (max-width: 760px) { .guide__in { grid-template-columns: 1fr; } .guide__fig { aspect-ratio: 4 / 3; min-height: 0; } .guide__txt { padding: 22px 20px 24px; } }

/* v9: on a computer the designer is one screen: map | fixed preview | options, nothing below the fold */
.colours { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.colours .swatches[hidden] { display: none; }
.dz__view .preview canvas { cursor: default; }
@media (min-width: 720px) {
  #design .wrap { width: min(100% - 2 * var(--gut), 2000px); }
  .dz { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(330px, 400px); height: calc(100svh - 104px); min-height: 600px; max-height: 1100px; gap: 12px; align-items: stretch; }
  .dz > * { min-height: 0; }
  .dz .panel { padding: 16px; gap: 12px; border-radius: 20px; }
  /* map column */
  .dz__map { display: flex; flex-direction: column; }
  .dz .mapbox { height: auto; flex: 1 1 auto; min-height: 220px; }
  .dz__crop { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .dz__crop .field { gap: 4px; }
  .current { padding-top: 10px; font-size: 13px; }
  /* preview column */
  .dz__view { gap: 12px; }
  .dz .dz__view .preview { min-height: 200px; height: auto; flex: 1 1 auto; }
  .dz__view .facts { min-height: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; }
  .dz__view .facts dd { font-size: 13.5px; margin-top: 3px; }
  .dz__view .tools .chip { min-height: 36px; padding: 0 14px; font-size: 13px; }
  /* options column: three compact panels; only if a short screen runs out of room does it scroll */
  .dz__opts { display: flex; flex-direction: column; gap: 12px; margin: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  .dz__opts > .panel { flex: none; }
  .dz__opts .buy { position: static; }
  .dz .seg legend, .dz .swatches legend, .dz .field label, .panel__h { margin-bottom: 6px; font-size: 13px; }
  .dz .seg { gap: 6px; }
  .dz .seg label { min-height: 34px; padding: 0 12px; font-size: 13px; gap: 6px; }
  .dz .seg--stack { display: flex; }
  .dz .seg--stack label { border-radius: 999px; flex: 1 1 0; justify-content: center; }
  .dz .seg--stack small { display: none; }
  .dz .hint { font-size: 12px; line-height: 1.4; }
  .dz .sw { width: 30px; height: 30px; }
  .dz .sw i { width: 20px; height: 20px; }
  .dz .swatches { gap: 4px; }
  .dz .slider--labelled span { font-size: 11.5px; min-width: 32px; }
  .dz .icon-btn { width: 36px; height: 36px; }
  .dz .extra { padding: 6px 12px; gap: 10px; border-radius: 14px; }
  .dz .check { min-height: 30px; font-size: 13.5px; }
  .dz__extras { gap: 8px; }
  .dz .buy { gap: 10px; }
  .dz .buy__price { font-size: 40px; }
  .dz .buy__lines { font-size: 12.5px; gap: 3px; }
  .dz .buy__btn { min-height: 48px; }
  .dz #price-note { display: none; }
  .dz .btn--sm { min-height: 34px; font-size: 13px; }
}

/* v9b: the options column as one panel with dividers; price and Buy pinned at its foot */
@media (min-width: 720px) {
  .dz__opts { align-items: stretch; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 4px 16px 0; gap: 0; }
  .dz__opts > .panel { border: 0; background: none; border-radius: 0; padding: 12px 0; gap: 10px; }
  .dz__opts > .panel + .panel { border-top: 1px solid var(--line); }
  .dz__opts .buy { position: sticky; bottom: 0; margin-top: auto; background: var(--bg-2); padding-bottom: 14px; gap: 8px; }
  .dz .panel__h { font-size: 12px; margin: 0; }
  .dz #water-hint { display: none; }
  .dz .seg legend, .dz .swatches legend, .dz .field label { margin-bottom: 4px; }
  .dz .seg label { min-height: 32px; }
  .dz .sw { width: 28px; height: 28px; }
  .dz .sw i { width: 19px; height: 19px; }
  .dz .slider { gap: 8px; }
  .dz .slider input[type=range] { height: 24px; }
  .dz .buy__row { align-items: center; }
  .dz .buy__price { font-size: 34px; }
  .dz .buy__lines { display: none; }
  .dz .buy__btn { min-height: 44px; }
}
@media (min-width: 720px) and (min-height: 960px) { .dz .buy__lines { display: grid; } }
@media (min-width: 720px) and (max-height: 840px) {
  .dz { height: calc(100svh - 96px); }
  .dz .buy { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 16px; row-gap: 4px; padding-top: 10px; padding-bottom: 10px; }
  .dz .buy__row { display: grid; gap: 0; }
  .dz .buy__row .mono { font-size: 10px; }
  .dz .buy__price { font-size: 30px; line-height: 1; }
  .dz .buy__btn { min-height: 42px; }
  .dz #to-quote, .dz #buy-status { grid-column: 1 / -1; font-size: 12.5px; }
  .dz #buy-status:empty { display: none; }
  .dz .topo-opts .field { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; }
  .dz .topo-opts .field label { margin: 0; white-space: nowrap; }
  .dz .seg legend, .dz .swatches legend, .dz .field label { font-size: 12.5px; }
  .dz__opts > .panel { padding: 10px 0; gap: 8px; }
}

/* v10: narrower windows (720–1099 px, e.g. a half-screen browser): still one screen, two columns:
   the map over the preview on the left, every option on the right */
@media (min-width: 720px) and (max-width: 1099px) {
  #design .wrap { width: calc(100% - 24px); }
  .dz { grid-template-columns: minmax(0, 1fr) minmax(290px, 330px); grid-template-rows: minmax(0, 1.1fr) minmax(0, 1fr); height: calc(100svh - 92px); min-height: 620px; max-height: 1300px; gap: 10px; }
  .dz__map { grid-column: 1; grid-row: 1; }
  .dz__view { grid-column: 1; grid-row: 2; }
  .dz__opts { grid-column: 2; grid-row: 1 / span 2; }
  .dz .mapbox { min-height: 160px; }
  .dz .dz__view .preview { min-height: 150px; }
  .dz__crop { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .dz__crop .seg label { padding: 0 10px; }
  .dz__map .status:empty { display: none; }
  .dz .current { display: none; }
  .dz__view .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; }
  .dz__view .facts dt { font-size: 9.5px; }
  .dz__view .facts dd { font-size: 12.5px; }
  .dz .dz__search input { font-size: 14px; }
  .dz .panel { padding: 12px; gap: 10px; }
  .dz__opts { padding: 2px 14px 0; }
  .dz .seg label { padding: 0 9px; font-size: 12.5px; }
  .dz .hint { font-size: 11.5px; }
}
@media (min-width: 720px) and (max-width: 999px) {
  .dz__crop { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (min-width: 720px) and (max-width: 1099px) and (max-height: 840px) { .dz__opts > .panel { padding: 8px 0; gap: 7px; } .dz .seg label { min-height: 30px; } }
/* drawing bar: slim, along the top edge, so it never covers the ground being clicked */
.dz .drawbar { top: 8px; bottom: auto; left: 60px; right: 8px; padding: 4px 4px 4px 12px; font-size: 12.5px; gap: 6px; }
.dz .drawbar .chip { min-height: 30px; padding: 0 12px; font-size: 12.5px; }
.dz .drawbar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.select-sm { height: 34px; padding: 0 28px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); font: inherit; font-size: 13px; }
@media (min-width: 720px) { .dz .extra { padding: 3px 12px; } .dz .check { min-height: 28px; } .dz__extras { gap: 6px; } }
@media (min-width: 900px) { .finish-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 48px; } }
