/* Hampton — industrial atelier
   Dark studio field (like the product photography), primer-white type,
   one warm radiata-pine accent. Mobile first. */

@font-face { font-family: "Archivo"; src: url(fonts/archivo-wdth.woff2) format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(fonts/instrument-sans.woff2) format("woff2-variations"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(fonts/plex-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(fonts/plex-mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #0d0d0c; --ink-2: #151513; --ink-3: #1f1e1b; --ink-4: #2b2a26;
  --primer: #f2efe8; --primer-2: #e8e3d8; --primer-3: #d9d2c3;
  --text: #f2efe8; --text-dim: #a8a297; --text-faint: #6f6a61;
  --dark-text: #171614; --dark-dim: #5f5a51;
  --pine: #dca46a; --pine-2: #c4864a; --pine-glow: rgba(220, 164, 106, .22);
  --line: rgba(242, 239, 232, .12); --line-dark: rgba(23, 22, 20, .14);
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --pad: clamp(18px, 5vw, 64px);
  --max: 1360px;
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: clamp(72px, 12vw, 160px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 clamp(15px, 1.05vw + 11px, 17px)/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--pine); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }

/* grain over everything — atmosphere, not decoration */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .06; mix-blend-mode: overlay;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- type ---------- */
.display { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: .9; margin: 0; }
.h-xl { font-size: clamp(44px, 10.5vw, 156px); }
.h-l { font-size: clamp(36px, 6.6vw, 96px); }
.h-m { font-size: clamp(28px, 4vw, 56px); line-height: .95; }
.h-s { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.01em; line-height: 1.1; margin: 0; }
.eyebrow { font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); display: inline-flex; gap: 10px; align-items: center; margin: 0; }

.lede { font-size: clamp(17px, 1.4vw + 10px, 22px); line-height: 1.5; color: var(--text-dim); max-width: 38ch; margin: 0; }
.accent { color: var(--pine); }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 22px; min-height: 50px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--pine { background: var(--pine); color: var(--ink); }
.btn--pine:hover { background: #e9b47c; }
.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--text-dim); }
.btn--dark { background: var(--ink); color: var(--primer); }
.btn--dark:hover { background: var(--ink-4); }

/* ---------- header ---------- */
.nav { position: fixed; inset: 12px var(--pad) auto; z-index: 50; display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 16px; max-width: calc(var(--max) - 2 * var(--pad)); margin: 0 auto;
  border-radius: 999px; background: rgba(13,13,12,.62); border: 1px solid var(--line); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); transition: transform .5s var(--ease), background .3s; }
.nav.is-hidden { transform: translateY(-130%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 36px; height: 24px; }
.brand span { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 17px; letter-spacing: .04em; }
.nav__links { display: none; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: 14.5px; color: var(--text-dim); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.06); }
.nav .btn { padding: 11px 18px; min-height: 42px; font-size: 14px; }
.nav__cta { display: none; }
.burger { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; }
.burger span { width: 16px; height: 1.5px; background: currentColor; display: block; position: relative; transition: transform .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s; }
.burger span::before { top: -5px; } .burger span::after { top: 5px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-5px) rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 45; background: var(--ink); padding: 110px var(--pad) 40px; display: flex; flex-direction: column; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.menu-open .drawer { opacity: 1; visibility: visible; }
.drawer a.big { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 9vw, 56px); text-decoration: none; line-height: 1.1; padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.drawer a.big small { font: 500 12px var(--mono); color: var(--text-faint); }
.drawer__foot { margin-top: auto; display: grid; gap: 8px; color: var(--text-dim); font-size: 15px; }
.drawer__foot a { text-decoration: none; }
@media (min-width: 900px) {
  .nav__links, .nav__cta { display: flex; } .burger, .drawer { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden;
  background: radial-gradient(90% 70% at 62% 42%, #2b231b 0%, #15130f 45%, var(--ink) 80%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35; mask-image: radial-gradient(70% 60% at 60% 45%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 60% 45%, #000 0%, transparent 75%); }
.hero__stage { position: absolute; inset: 0; }
.hero__stage canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.hero__stage canvas:active { cursor: grabbing; }
.hero__fallback { position: absolute; inset: 15% 8% 30% 30%; background: center/contain no-repeat; opacity: 0; }
.no-3d .hero__fallback { opacity: 1; }
.hero__glow { position: absolute; left: 50%; top: 58%; width: min(900px, 120vw); height: 120px; transform: translate(-40%, 0); background: radial-gradient(closest-side, rgba(0,0,0,.65), transparent); pointer-events: none; }
.hero__copy { position: relative; z-index: 2; align-self: end; padding-bottom: clamp(28px, 6vh, 64px); pointer-events: none; }
.hero__copy > * { pointer-events: auto; }
.hero__title { max-width: 11ch; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero__row { display: grid; gap: 22px; margin-top: 22px; }
.hero__row .lede { max-width: 44ch; font-size: clamp(16px, 1.1vw + 10px, 19px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fade-in { opacity: 0; animation: fade .9s .55s var(--ease) forwards; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero__spec { position: absolute; z-index: 3; right: var(--pad); top: 96px; display: grid; gap: 4px; text-align: right; font: 500 11.5px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.hero__spec b { color: var(--text); font-weight: 500; }
.hero__spec .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pine); margin-right: 8px; box-shadow: 0 0 0 4px var(--pine-glow); vertical-align: 1px; }
.hero__hint { position: absolute; z-index: 3; left: 50%; top: 52%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 999px; background: rgba(13,13,12,.55); border: 1px solid var(--line); font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); pointer-events: none; transition: opacity .5s; opacity: 0; animation: fade .8s 2.6s forwards; }
.hero__hint.is-gone { opacity: 0 !important; animation: none; }
.no-3d .hero__hint, .no-3d .hero__spec { display: none; }
.hero__scroll { display: none; }

/* mobile hero: object above, copy below */
@media (max-width: 759px) {
  .hero { grid-template-rows: 54svh auto; min-height: auto; padding-top: 70px; }
  .hero__stage { position: relative; inset: auto; height: 100%; grid-row: 1; }
  .hero__copy { grid-row: 2; padding-top: 4px; }
  .hero__glow { top: 70%; }
  .hero__spec { top: auto; bottom: 10px; right: var(--pad); }
  .hero__hint { top: 50%; }
  .hero::before { mask-image: radial-gradient(90% 40% at 50% 25%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(90% 40% at 50% 25%, #000 0%, transparent 75%); }
}
@media (min-width: 760px) {
  .hero__copy { padding-top: 140px; }
  .hero__row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .hero__scroll { display: flex; position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); gap: 10px; align-items: center; }
  .hero__scroll i { width: 1px; height: 28px; background: linear-gradient(var(--pine), transparent); animation: drip 2s infinite; }
  @keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
}

/* ---------- scroll story (pinned, scroll-scrubbed door set) ---------- */
.story { position: relative; height: 420vh; background: radial-gradient(90% 70% at 60% 42%, #2b231b 0%, #15130f 45%, var(--ink) 80%); }
.story__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story__pin::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .3; mask-image: radial-gradient(70% 60% at 60% 45%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 60% 45%, #000, transparent 75%); }
.story__stage { position: absolute; inset: 0; }
.story__stage canvas { width: 100%; height: 100%; display: block; }
.story__copy { position: absolute; inset: 0; pointer-events: none; }
.story__step { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(28px, 7vh, 72px); max-width: 640px; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.story__step.on { opacity: 1; transform: none; pointer-events: auto; }
.story__intro { max-width: none; }
.story__intro .hero__row { max-width: 1100px; }
.story__n { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pine); margin: 0 0 14px; }
.story__p { color: var(--text-dim); font-size: clamp(16px, 1vw + 11px, 19px); max-width: 40ch; margin: 18px 0 0; }
.story__spec { opacity: calc(1 - var(--room, 0)); position: absolute; z-index: 3; right: var(--pad); top: 96px; display: grid; gap: 4px; text-align: right; font: 500 11.5px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.story__spec b { color: var(--text); font-weight: 500; }
.story__spec .dot, .hero__spec .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pine); margin-right: 8px; box-shadow: 0 0 0 4px var(--pine-glow); vertical-align: 1px; }
.story__hint { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: none; gap: 10px; align-items: center; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.story__hint i { width: 1px; height: 28px; background: linear-gradient(var(--pine), transparent); animation: drip 2s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.story__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.story__progress span { display: block; height: 100%; background: var(--pine); transform-origin: left; transform: scaleX(0); }
@media (min-width: 760px) {
  .story__hint { display: flex; }
  .story__step:not(.story__intro) { top: 50%; bottom: auto; transform: translateY(-40%); max-width: 520px; }
  .story__step.on:not(.story__intro) { transform: translateY(-50%); }
  .story__intro .hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; }
}
@media (max-width: 759px) {
  .story { height: 360vh; }
  .story__step { padding: 60px var(--pad) 28px; background: linear-gradient(transparent, rgba(13,13,12,.9) 38%); left: 0; right: 0; bottom: 0; margin: 0; max-width: none; }
  .story__intro .hero__row { display: grid; gap: 18px; margin-top: 16px; }
  .story__intro .lede { font-size: 15.5px; }
  .story__spec { top: 78px; left: var(--pad); right: auto; text-align: left; font-size: 10.5px; }
  .story__spec span:last-child { display: none; }
}
.no-3d .story { height: auto; }
.no-3d .story__pin { position: relative; height: auto; min-height: 100svh; }
.no-3d .story__step { position: relative; opacity: 1; transform: none; inset: auto; padding: 0 0 40px; background: none; margin: 0; }
.no-3d .story__copy { position: relative; padding-top: 55vh; }
.no-3d .story__spec, .no-3d .story__hint, .no-3d .story__progress { display: none; }
.no-3d .hero__fallback { inset: 90px 8% auto; height: 45vh; }

/* ---------- sections ---------- */
.section { padding: var(--s6) 0; position: relative; }
.section--light { background: var(--primer); color: var(--dark-text); }
.section--light .eyebrow, .section--light .lede { color: var(--dark-dim); }
.section--light ::selection { background: var(--pine); }
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 6vw, 72px); }
@media (min-width: 900px) { .sec-head { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: end; column-gap: 48px; } .sec-head .lede { justify-self: end; } }

/* reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

/* ---------- route + numbers ---------- */
.route { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 1000px) { .route { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.route__map { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); background: var(--primer-2); overflow: hidden; }
.route__map svg { width: 100%; height: 100%; display: block; }
.route__map .arc { stroke: var(--pine-2); stroke-width: 2; fill: none; stroke-dasharray: 6 7; }
.route__map .arc-run { stroke: var(--dark-text); stroke-width: 2.4; fill: none; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.6s var(--ease); }
.in .arc-run { stroke-dashoffset: 0; }
.pin-label { font: 600 14px var(--body); fill: var(--dark-text); }
.pin-sub { font: 500 10.5px var(--mono); letter-spacing: .08em; fill: var(--dark-dim); text-transform: uppercase; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); }
.stat { padding: 22px 0 22px; border-bottom: 1px solid var(--line-dark); }
.stat:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line-dark); }
.stat:nth-child(even) { padding-left: 18px; }
.stat__n { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(34px, 4.4vw, 60px); line-height: 1; letter-spacing: -.03em; }
.stat__n sup { font-size: .42em; vertical-align: .9em; margin-left: 2px; }
.stat__l { margin-top: 8px; font-size: 14px; color: var(--dark-dim); }
.stat--wide { grid-column: 1 / -1; border-right: 0 !important; padding-right: 0 !important; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }

/* ---------- studio (viewer) ---------- */
.studio { background: radial-gradient(70% 60% at 50% 40%, #1d1a16, var(--ink) 75%); }
.viewer { display: grid; gap: 18px; }
@media (min-width: 1000px) { .viewer { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; } }
.viewer__stage { position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--r); border: 1px solid var(--line); background:
  radial-gradient(60% 50% at 50% 55%, rgba(220,164,106,.10), transparent 70%), linear-gradient(180deg, #181714, #0f0f0e); overflow: hidden; }
@media (min-width: 1000px) { .viewer__stage { aspect-ratio: auto; min-height: 560px; } }
.viewer__stage canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.viewer__stage::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: 12%; height: 40px; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); pointer-events: none; }
.viewer__meta { position: absolute; left: 18px; top: 16px; right: 18px; display: flex; justify-content: space-between; gap: 10px; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); pointer-events: none; }
.viewer__fallback { display: none; position: absolute; inset: 0; place-items: center; color: var(--text-dim); text-align: center; padding: 30px; }
.no-3d .viewer__fallback { display: grid; }
.viewer__panel { display: grid; gap: 22px; align-content: start; }
.viewer__title { display: grid; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.viewer__title .h-s { font-size: clamp(24px, 2.4vw, 32px); }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; margin: 0; }
.spec dt { font: 500 11.5px/1.9 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.spec dd { margin: 0; }
.ctrl { display: grid; gap: 10px; }
.ctrl__label { font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 2px var(--pad); scroll-snap-type: x proximity; }
.chips--scroll::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .chips--scroll { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; } }
.chip { flex: none; scroll-snap-align: start; min-height: 42px; padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--text-dim); font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .25s; }
.chip:hover { color: var(--text); border-color: var(--text-faint); }
.chip[aria-pressed="true"] { background: var(--primer); color: var(--ink); border-color: var(--primer); }
.sw { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line); width: 100%; max-width: 320px; }
.seg button { border: 0; background: transparent; min-height: 40px; border-radius: 999px; cursor: pointer; color: var(--text-dim); font-weight: 600; font-size: 14px; transition: all .3s var(--ease); }
.seg button[aria-pressed="true"] { background: var(--primer); color: var(--ink); }
.ctrl--slat { display: none; }
.is-panel .ctrl--timber, .is-panel .ctrl--finish { display: none; }
.is-panel .ctrl--slat { display: grid; }
.is-pvc .ctrl--finish { opacity: .35; pointer-events: none; }
.viewer__note { font-size: 13.5px; color: var(--text-faint); margin: 0; }

/* ---------- product range ---------- */
.range { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.range__item a { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; }
.range__num { font: 500 12px var(--mono); color: var(--pine); letter-spacing: .1em; }
.range__name { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 5.4vw, 76px); line-height: .95; letter-spacing: -.02em; transition: color .3s, transform .5s var(--ease); }
.range__body { display: grid; gap: 10px; }
.range__desc { color: var(--text-dim); font-size: 15px; max-width: 46ch; }
.range__img { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: #000; }
.range__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.range__go { position: absolute; right: 0; top: 24px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .35s var(--ease); }
.range__go svg { width: 16px; }
@media (min-width: 900px) {
  .range__item a { grid-template-columns: 70px minmax(0, 1fr) 260px 60px; align-items: center; padding: 26px 0; }
  .range__body { display: grid; gap: 10px; }
  .range__img { aspect-ratio: 4 / 3; opacity: .0; transform: scale(.94) rotate(-2deg); transition: opacity .45s, transform .6s var(--ease); }
  .range__item a:hover .range__img { opacity: 1; transform: none; }
  .range__item a:hover .range__name { color: var(--pine); transform: translateX(10px); }
  .range__item a:hover .range__go { background: var(--pine); border-color: var(--pine); color: var(--ink); }
  .range__go { position: static; justify-self: end; }
}
@media (hover: none) and (min-width: 900px) { .range__img { opacity: 1; transform: none; } }

/* ---------- process (horizontal) ---------- */
.process { overflow: hidden; }
.track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--pad) 24px; margin: 0 calc(-1 * var(--pad)); scrollbar-width: thin; scrollbar-color: var(--primer-3) transparent; -webkit-overflow-scrolling: touch; }
.step { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; margin: 0; }
.step__img { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--primer-3); position: relative; }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step:hover .step__img img { transform: scale(1.05); }
.step__n { position: absolute; left: 12px; top: 12px; font: 500 11.5px var(--mono); letter-spacing: .1em; background: var(--primer); color: var(--dark-text); padding: 6px 10px; border-radius: 999px; }
.step figcaption { padding-top: 14px; display: grid; gap: 4px; }
.step figcaption b { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 20px; }
.step figcaption span { color: var(--dark-dim); font-size: 14.5px; line-height: 1.45; }
.track-nav { display: flex; gap: 8px; }
.track-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; cursor: pointer; display: grid; place-items: center; }
.track-nav button:hover { background: var(--dark-text); color: var(--primer); }
.track-nav svg { width: 16px; }

/* ---------- quality ---------- */
.quality { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 1000px) { .quality { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.materials { list-style: none; padding: 0; margin: 28px 0 0; display: grid; border-top: 1px solid var(--line); }
.materials li { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.materials .sw { width: 26px; height: 26px; border-radius: 6px; }
.materials small { color: var(--text-faint); font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.certs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cert { margin: 0; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; gap: 14px; cursor: zoom-in; text-align: left; }
.cert__img { background: #fff; border-radius: 8px; aspect-ratio: 3 / 4; overflow: hidden; }
.cert__img img { width: 100%; height: 100%; object-fit: contain; }
.cert b { display: block; color: var(--text); font-family: var(--display); font-stretch: 112%; font-size: 17px; }
.cert span span { font-size: 13.5px; color: var(--text-faint); }

/* ---------- about ---------- */
.quote { font-family: var(--display); font-stretch: 100%; font-weight: 600; font-size: clamp(26px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.02em; margin: 0; max-width: 22ch; }
.quote em { font-style: normal; color: var(--pine-2); }
.about { display: grid; gap: clamp(28px, 5vw, 80px); }
@media (min-width: 1000px) { .about { grid-template-columns: 1.15fr .85fr; align-items: end; } }
.about__text { display: grid; gap: 14px; color: var(--dark-dim); max-width: 52ch; }
.about__text p { margin: 0; }
.mosaic { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; margin-top: clamp(36px, 6vw, 72px); }
.mosaic img { border-radius: 12px; width: 100%; height: 100%; object-fit: cover; }
.mosaic .tall { grid-row: span 2; aspect-ratio: 3 / 4; }
.mosaic .wide { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .mosaic { grid-template-columns: 1.3fr 1fr 1fr; } .mosaic .tall { grid-row: span 2; } }

/* ---------- contact ---------- */
.contact { display: grid; gap: clamp(36px, 5vw, 72px); }
@media (min-width: 1000px) { .contact { grid-template-columns: 1fr 1fr; } }
.offices { display: grid; gap: 14px; margin-top: 34px; }
.office { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: var(--ink-2); display: grid; gap: 12px; }
.office__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.office__head b { font-family: var(--display); font-stretch: 112%; font-size: 19px; }
.office__head span { font: 500 11px var(--mono); letter-spacing: .1em; color: var(--pine); text-transform: uppercase; }
.office ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; }
.office li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
.office li span:first-child { color: var(--text-faint); font: 500 11.5px/1.9 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.office a { text-decoration: none; border-bottom: 1px solid var(--line); }
.office a:hover { color: var(--pine); border-color: var(--pine); }
.form { display: grid; gap: 14px; background: var(--primer); color: var(--dark-text); border-radius: calc(var(--r) + 4px); padding: clamp(20px, 3vw, 36px); align-content: start; }
.form h3 { margin: 0 0 4px; }
.field { display: grid; gap: 6px; }
.field label { font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dark-dim); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--dark-text); background: #fff; border: 1px solid var(--line-dark); border-radius: 10px; padding: 13px 14px; min-height: 50px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pine-2); box-shadow: 0 0 0 4px rgba(196,134,74,.18); }
.row2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.form small { color: var(--dark-dim); font-size: 13px; }

/* ---------- footer ---------- */
.footer { overflow: hidden; border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--ink); }
.footer__big { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: min(15.2vw, 236px); line-height: .8; letter-spacing: -.03em; color: var(--ink-3); margin: 0 0 40px; user-select: none; white-space: nowrap; }
.footer__grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; font-size: 14.5px; color: var(--text-dim); }
.footer__grid h4 { font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 12px; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__grid a { text-decoration: none; } .footer__grid a:hover { color: var(--pine); }
.footer__co { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer__co { grid-column: auto; } }
.footer__legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 12.5px; color: var(--text-faint); }

/* mobile sticky enquiry */
.dock { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 8px; transform: translateY(calc(100% + 60px + env(safe-area-inset-bottom))); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.dock.show { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.dock .btn { flex: 1; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.dock .btn--ghost { flex: 0 0 auto; background: rgba(13,13,12,.85); }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- catalogue page ---------- */
.page-hero { padding: 140px 0 clamp(40px, 6vw, 80px); background: radial-gradient(80% 80% at 80% 0%, #2a2219, var(--ink) 65%); }
.page-hero .display { margin-top: 18px; }
.filter { position: sticky; top: 0; z-index: 30; background: rgba(13,13,12,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 78px 0 12px; margin-top: -66px; }
@media (min-width: 900px) { .filter { padding-top: 84px; } }
.cat { padding: clamp(48px, 8vw, 110px) 0 10px; scroll-margin-top: 52px; }
.cat__head { display: grid; gap: 14px; margin-bottom: 36px; }
@media (min-width: 900px) { .cat__head { grid-template-columns: auto 1fr; align-items: end; gap: 40px; } .cat__head p { justify-self: end; max-width: 46ch; } }
.cat__head p { margin: 0; color: var(--text-dim); }
.group { padding: 26px 0 40px; border-top: 1px solid var(--line); display: grid; gap: 18px; }
@media (min-width: 1000px) { .group { grid-template-columns: 280px 1fr; gap: 40px; } .group__info { position: sticky; top: 150px; align-self: start; } }
.group__info { display: grid; gap: 10px; align-content: start; }
.group__info small { color: var(--text-faint); font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.group__info .btn { justify-self: start; margin-top: 6px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1300px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.tile { border: 0; padding: 0; background: #000; border-radius: 10px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; position: relative; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 95; background: rgba(8,8,7,.96); display: none; grid-template-rows: auto 1fr auto; }
.lb.open { display: grid; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--pad); color: var(--text-dim); font: 500 12px var(--mono); letter-spacing: .08em; }
.lb__img { display: grid; place-items: center; padding: 0 var(--pad); min-height: 0; touch-action: pan-y; }
.lb__img img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 8px; }
.lb__nav { display: flex; justify-content: center; gap: 10px; padding: 16px; }
.lb button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.lb svg { width: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
@media (min-width: 760px) { .story__pin::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(13,13,12,.82) 0%, rgba(13,13,12,.55) 32%, transparent 58%); } .story__copy, .story__spec, .story__hint, .story__progress { z-index: 2; } }

/* ---------- v3: hero height, section drawing, product cards & pages ---------- */
.story { height: 340vh; }
@media (max-width: 759px) { .story { height: 300vh; } }
.story__pin::after { opacity: 1; }

.viewer__panel { gap: 20px; }
.secdraw { margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 10px; background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0/20px 20px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0/20px 20px, var(--ink-2); color: var(--text); }
.secdraw svg { width: 100%; height: auto; display: block; }
.secdraw .dim { font: 500 12px var(--mono); fill: var(--text); }
.secdraw figcaption { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); margin-top: 8px; }
.secdraw figcaption span { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 14px; height: 4px; border-radius: 2px; display: inline-block; }
.lg--coat { background: var(--pine); } .lg--wood { background: repeating-linear-gradient(45deg, var(--text-dim) 0 1px, transparent 1px 4px); height: 10px; border: 1px solid var(--text-dim); }
.is-raw .sec-coat, .is-pvc .sec-coat { opacity: 0; transition: opacity .4s; }
.is-pvc .ctrl--finish { display: none; }
.spec--mini { font-size: 13.5px; }
.viewer__stage { background: radial-gradient(70% 60% at 50% 45%, rgba(220,164,106,.12), transparent 70%), radial-gradient(120% 90% at 50% 100%, #1c1a16, #0c0c0b); }
.viewer__stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .35; mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 80%); -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 80%); }

/* catalogue grid */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1200px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { position: relative; display: grid; text-decoration: none; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--ink-2); transition: border-color .3s, transform .5s var(--ease); }
.pcard:hover { border-color: rgba(220,164,106,.5); transform: translateY(-3px); }
.pcard__img { aspect-ratio: 1; background: #0e0e0d; overflow: hidden; display: block; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard__img.is-sheet { background: #efe6d6; } .pcard__img.is-sheet img { object-fit: contain; padding: 8px; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__body { display: grid; gap: 4px; padding: 14px 52px 16px 14px; }
.pcard__body b { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.15; }
.pcard__body small { color: var(--text-faint); font-size: 12.5px; line-height: 1.35; }
.pcard__go { position: absolute; right: 12px; bottom: 14px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .3s; }
.pcard__go svg { width: 13px; } .pcard:hover .pcard__go { background: var(--pine); border-color: var(--pine); color: var(--ink); }

/* product page */
.pp-hero { padding: 108px 0 10px; background: radial-gradient(80% 60% at 70% 0%, #2a2219, var(--ink) 60%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px; }
.crumbs a { text-decoration: none; color: var(--text-dim); } .crumbs a:hover { color: var(--pine); }
.pp-head { display: grid; gap: 14px; margin-bottom: 28px; }
@media (min-width: 900px) { .pp-head { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); align-items: end; gap: 40px; } .pp-head .lede { justify-self: end; } }
.pp .viewer__stage { aspect-ratio: auto; height: min(62vh, 420px); min-height: 0; }
@media (min-width: 1000px) { .pp .viewer__stage { height: 600px; } }
.pp-body { padding-top: clamp(40px, 6vw, 80px); }
.pp-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .pp-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; } .pp-grid > div:first-child { position: sticky; top: 100px; } }
.sheet { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.sheet th, .sheet td { text-align: left; vertical-align: top; padding: 13px 0; border-bottom: 1px solid var(--line); }
.sheet th { width: 40%; font: 500 11.5px/1.9 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); padding-right: 16px; }
.pp-note { color: var(--text-faint); font-size: 13.5px; margin: 14px 0 0; }
.pgallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
@media (min-width: 700px) { .pgallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile.is-sheet { background: #efe6d6; } .tile.is-sheet img { object-fit: contain; padding: 6px; }

.pp-head .display { font-size: clamp(34px, 5vw, 76px); overflow-wrap: anywhere; }
@media (min-width: 900px) { .pp-head { grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); } .cat__head { grid-template-columns: minmax(0, 1fr) minmax(260px, 440px); } }
.viewer { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .viewer { grid-template-columns: minmax(0, 1fr) 360px; } }
.viewer__stage, .viewer__panel { min-width: 0; }
.viewer__stage canvas { max-width: 100%; }
/* contact cards: square corners, plain type (no mono caps) */
.office { border-radius: 0; }
.office__head span { font: 500 13px/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--pine); }
.office li span:first-child { font: 400 14px/1.6 var(--body); letter-spacing: 0; text-transform: none; color: var(--text-faint); }
.office ul { font-variant-numeric: normal; }
.inline-mails { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }

/* ---------- viewer, restrained: square edges, plain type, no glow/grid ---------- */
.viewer__stage { border-radius: 0; border: 1px solid var(--line); background: linear-gradient(180deg, #171614 0%, #0f0f0e 100%); }
.viewer__stage::before { display: none; }
.viewer__stage::after { left: 20%; right: 20%; bottom: 10%; height: 28px; background: radial-gradient(closest-side, rgba(0,0,0,.5), transparent); }
.viewer__meta { left: 18px; right: auto; top: auto; bottom: 14px; font: 400 13px var(--body); letter-spacing: 0; text-transform: none; color: var(--text-faint); }
.viewer__panel { gap: 26px; }
.viewer__title { padding-bottom: 16px; }
.viewer__title .h-s { font-family: var(--body); font-stretch: 100%; font-weight: 600; font-size: clamp(22px, 2vw, 26px); letter-spacing: -.01em; }
.ctrl { gap: 8px; }
.ctrl__label { font: 400 13px var(--body); letter-spacing: 0; text-transform: none; color: var(--text-faint); }
.viewer .chips { gap: 0; border-top: 1px solid var(--line); }
.viewer .chip { flex: 0 0 auto; min-height: 40px; padding: 9px 12px 9px 0; margin-right: 14px; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: none; color: var(--text-dim); font-size: 14.5px; justify-content: flex-start; }
.viewer .chip:hover { color: var(--text); border-color: transparent; }
.viewer .chip[aria-pressed="true"] { background: none; color: var(--text); border-bottom-color: var(--pine); }
.viewer .sw { width: 11px; height: 11px; border-radius: 0; border: 1px solid rgba(255,255,255,.15); }
.viewer .seg { display: flex; gap: 22px; padding: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; max-width: none; }
.viewer .seg button { min-height: 40px; padding: 9px 0; border-radius: 0; background: none; color: var(--text-dim); font-weight: 500; font-size: 14.5px; border-bottom: 1px solid transparent; }
.viewer .seg button[aria-pressed="true"] { background: none; color: var(--text); border-bottom-color: var(--pine); }
.secdraw { border-radius: 0; background: var(--ink-2); padding: 18px 16px 12px; }
.secdraw figcaption { font: 400 12.5px var(--body); letter-spacing: 0; text-transform: none; }
.secdraw .dim { font: 500 12px var(--body); }
.secdraw__note { margin-left: auto; }
.lg { border-radius: 0; }
.spec--mini dt { font: 400 13px/1.9 var(--body); letter-spacing: 0; text-transform: none; }

/* ---------- no text spills: category heads stack, display sizes capped ---------- */
.h-xl { font-size: clamp(36px, 10vw, 150px); }
.h-l { font-size: clamp(32px, 6.1vw, 88px); }
.cat__head, .pp-head { grid-template-columns: minmax(0, 1fr) !important; align-items: start; gap: 16px; }
.cat__head p, .pp-head .lede { justify-self: start !important; max-width: 60ch; }
.cat__head .display { font-size: clamp(30px, 5.4vw, 80px); }
@media (max-width: 899px) { .range__body { padding-right: 58px; } }

/* ---------- forms, news, downloads ---------- */
.row3 { display: grid; gap: 14px; } @media (min-width: 560px) { .row3 { grid-template-columns: 1fr 1fr 1fr; } }
.spec-toggle { justify-self: start; background: none; border: 0; padding: 4px 0; color: var(--dark-text); font: 600 14.5px var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.spec-box { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--line-dark); background: #fff8; }
.spec-box[hidden] { display: none; }
.estimate { margin: 0; font-size: 14.5px; color: var(--dark-text); padding: 12px 14px; background: #fff; border-left: 3px solid var(--pine-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin-top: 90px; padding: 14px var(--pad); background: var(--ink-3); border: 1px solid var(--line); }
.pp-extra { margin: 14px 0 0; color: var(--text-dim); }
.news-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.news-card { display: grid; text-decoration: none; border: 1px solid var(--line); background: var(--ink-2); transition: border-color .3s; }
.news-card:hover { border-color: rgba(220,164,106,.5); }
.news-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: #000; display: block; } .news-card__img img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { display: grid; gap: 6px; padding: 16px; } .news-card__body time { color: var(--text-faint); font-size: 13px; } .news-card__body b { font-size: 18px; line-height: 1.25; } .news-card__body span { color: var(--text-dim); font-size: 14.5px; }
.article { padding: 120px 0 60px; } .article__wrap { max-width: 780px; }
.article__date { color: var(--text-faint); font-size: 14px; display: block; margin-top: 8px; }
.article__title { font-family: var(--body); font-weight: 600; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.02em; margin: 10px 0 16px; text-wrap: balance; }
.article__cover { width: 100%; margin: 28px 0; }
.article__body { font-size: 17px; line-height: 1.7; color: var(--text); } .article__body img { margin: 20px 0; } .article__body a { color: var(--pine); }
.dl-h { margin: 34px 0 10px; } .dl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dl-list li { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dl-list li div { display: grid; gap: 4px; } .dl-list span { color: var(--text-dim); font-size: 14.5px; }
.gate { border: 1px solid var(--line); background: var(--ink-2); color: var(--text); padding: 24px; width: min(440px, 92vw); }
.gate::backdrop { background: rgba(0,0,0,.6); } .gate form { display: grid; gap: 14px; }
.gate .field input { background: var(--ink); color: var(--text); border-color: var(--line); }
/* quote form: plain labels, square fields, no accent rule */
.form { border-radius: 0; }
.field label { font: 500 13px var(--body); letter-spacing: 0; text-transform: none; }
.field input, .field select, .field textarea { border-radius: 0; }
.estimate { border-left: 0; border: 1px solid var(--line-dark); }
/* home: online quote entry */
.qpromo__card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(18px, 4vw, 56px); align-items: center; text-decoration: none; color: #1c1b19;
  background: radial-gradient(120% 90% at 30% 10%, #fbfaf8, #f2f1ee); border: 1px solid rgba(23,22,20,.08); padding: clamp(22px, 4vw, 52px); transition: transform .5s var(--ease); }
.qpromo__card:hover { transform: translateY(-3px); }
.qpromo__fig svg { display: block; width: 100%; height: auto; }
.qpromo__eyebrow { margin: 0; font-size: 13px; font-weight: 600; color: #77716a; }
.qpromo__h { font: 700 clamp(28px, 3.6vw, 48px)/1.04 var(--display); margin: 10px 0 0; letter-spacing: -.01em; }
.qpromo__p { margin: 14px 0 0; color: #5f5a51; max-width: 46ch; }
.qpromo__steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 24px; counter-reset: s; }
.qpromo__steps li { counter-increment: s; font-size: 14px; font-weight: 600; padding: 7px 11px; border: 1px solid rgba(23,22,20,.14); background: #fff; }
.qpromo__steps li::before { content: counter(s) "  "; color: #1f4fb8; white-space: pre; }
@media (max-width: 820px) { .qpromo__card { grid-template-columns: 1fr; } }
.form__tool { margin: -4px 0 4px; font-size: 14.5px; color: var(--dark-dim); }
.form__tool a { color: var(--dark-text); font-weight: 600; }
.form__tool svg { width: 14px; height: 14px; vertical-align: -2px; }
/* all sizes table on catalogue product pages */
.rtable-wrap { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); }
.rtable { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.rtable th { text-align: left; font-weight: 600; font-size: 13px; color: var(--text-dim); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--ink-2); }
.rtable td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rtable td small { display: block; color: var(--text-faint); font-size: 12.5px; }
.rtable tbody tr { cursor: pointer; transition: background .2s; }
.rtable tbody tr:hover, .rtable tbody tr.on { background: rgba(220, 164, 106, .08); }
.rtable tbody tr.on td:first-child b { color: var(--pine); }
.catdl { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; text-decoration: none; color: var(--text); padding: clamp(18px, 3vw, 36px); border: 1px solid var(--line); background: var(--ink-2); }
.catdl img { width: 100%; height: auto; display: block; box-shadow: 0 24px 50px -24px rgba(0,0,0,.7); transition: transform .5s var(--ease); }
.catdl:hover img { transform: translateY(-4px) rotate(-1deg); }
.catdl small { display: block; color: var(--text-faint); font-size: 13px; }
.catdl b { display: block; font: 700 clamp(26px, 3.2vw, 44px)/1.05 var(--display); margin: 10px 0 12px; }
.catdl > span > span:not(.btn):not(.hero__actions) { display: block; color: var(--text-dim); max-width: 52ch; margin-bottom: 22px; }
@media (max-width: 700px) { .catdl { grid-template-columns: 1fr; } .catdl img { max-width: 260px; } }
.catdl__img { display: block; }
.route__map { border-radius: 0; background: #f4f1ea; }
.route__map .pin-sub { font-family: var(--body); letter-spacing: .02em; text-transform: none; }
/* add to quote */
.addq { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line); background: var(--ink-2); }
.addq span { flex: 1 1 260px; color: var(--text-dim); font-size: 15px; }
.addq-msg { min-height: 1.4em; margin: 10px 0 0; font-size: 14.5px; color: var(--text-dim); }
.addq-msg a { color: var(--pine); }
/* quote list ("cart") in the top bar */
.nav__cart { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; margin-right: 6px; color: var(--text-dim); text-decoration: none; font-size: 14.5px; border-radius: 999px; transition: color .2s, background .2s; }
.nav__cart:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav__cart b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--pine); color: var(--ink); font: 700 12px/20px var(--body); text-align: center; }
.nav__cart.bump b { animation: cart-bump .5s var(--ease); }
@keyframes cart-bump { 40% { transform: scale(1.35); } }
@media (max-width: 1100px) { .nav__cart span { display: none; } }
body:has(main.qt) .dock { display: none !important; }

/* ---------- catalogue by use: tiles, model cards, filters, search ---------- */
.utile { position: relative; display: grid; text-decoration: none; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--ink-2); transition: border-color .3s, transform .5s var(--ease); }
.utile:hover { border-color: rgba(220,164,106,.5); transform: translateY(-3px); }
.utile__img { aspect-ratio: 4 / 3; overflow: hidden; background: #0e0e0d; display: block; }
.utile__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform .9s var(--ease); }
.utile:hover .utile__img img { transform: scale(1.32); }
.utile__body { display: grid; gap: 2px; padding: 14px 16px 16px; }
.utile__body b { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: clamp(18px, 1.4vw + 10px, 24px); color: var(--text); }
.utile__body small { color: var(--text-dim); font-size: 13.5px; }
.mcard .pcard__body b { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.mcard .pcard__body b em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--pine); }
.mcard[hidden] { display: none; }
.ufilter { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: end; margin: 0 0 22px; }
.ufilter .chips { flex-wrap: wrap; overflow: visible; }
.ufilter__n { margin: 0 0 10px; color: var(--text-dim); font-size: 14px; }
.pp-tags { margin-top: 14px; color: var(--text-faint); font-size: 13px; line-height: 1.6; }
.pp-tags span { color: var(--text-dim); }
.search { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.03); color: var(--text-dim); }
.search:focus-within { border-color: var(--pine); }
.search input { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; outline: none; }
.search input::placeholder { color: var(--text-faint); }
.search--big { min-height: 60px; } .search--big input { height: 58px; font-size: 17px; }
.search__res { position: absolute; left: -1px; right: -1px; top: calc(100% + 6px); z-index: 30; background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.7); max-height: min(62vh, 520px); overflow: auto; padding: 6px; }
.search__res a { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 10px; text-decoration: none; color: var(--text); }
.search__res a:hover, .search__res a[aria-selected="true"] { background: var(--ink-3); }
.search__res img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: #0e0e0d; }
.search__res b { display: block; font-weight: 600; }
.search__res span { display: block; color: var(--text-dim); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search__res em { font-style: normal; color: var(--pine); font-size: 12px; }
.search__res p { margin: 10px; color: var(--text-dim); font-size: 14px; }
.home-search { margin-top: 26px; max-width: 760px; }
.chip[hidden]{display:none}
.floor__strip{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:28px}
.floor__strip figure{margin:0;aspect-ratio:3/4;overflow:hidden;border-radius:6px;background:#1a1816}
.floor__strip img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:900px){.floor__strip{grid-template-columns:repeat(3,1fr)}}
@media (max-width:520px){.floor__strip{grid-template-columns:repeat(2,1fr)}}

.pcard__img--r { aspect-ratio: 4 / 3; background: #141414; }
.pcard__img--r img { object-fit: cover; }
.pcard__img--all { aspect-ratio: 4 / 3; background: #141414; display: grid !important; grid-template-columns: 1fr 1fr; gap: 2px; }
.pcard__img--all img { width: 100%; height: 100%; object-fit: cover; }
.tile.is-sheet { background: #efe6d6; } .tile.is-sheet img { object-fit: contain; }

.pcard[aria-expanded="true"] { border-color: #dca46a; }
.pcard__go { transition: transform .3s; }
.pcard[aria-expanded="true"] .pcard__go { transform: rotate(90deg); }
.upanel { grid-column: 1 / -1; border: 1px solid rgba(220,164,106,.35); border-radius: 14px; background: #121110; padding: 16px; }
.upanel[hidden] { display: none; }
.upanel__head { display: flex; align-items: baseline; gap: 14px; margin: 2px 4px 14px; }
.upanel__head b { font-family: var(--display); font-stretch: 112%; font-size: 18px; }
.upanel__head span { color: var(--text-faint); font-size: 13px; }
.upanel__x { margin-left: auto; background: none; border: 0; color: inherit; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 6px; }
.upanel__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
@media (max-width: 520px) { .upanel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* world map: full width, figures in a row below */
.route { grid-template-columns: 1fr !important; }
.route__map { aspect-ratio: 657.8 / 263.2; width: 100%; max-width: 940px; margin-inline: auto; background: transparent; overflow: visible;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(transparent, #000 4%, #000 94%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(transparent, #000 4%, #000 94%, transparent); mask-composite: intersect; }
.route__map .arc { stroke-width: 1.4; stroke-dasharray: 4 5; }
.route__map .ship__hull { fill: #171614; }
.route__map .ship__box { fill: #c4864a; }
.route__map .ship__wake { stroke: #fff; stroke-width: 1.3; fill: none; stroke-linecap: round; opacity: .85; }
.route__map .pin-narrow { display: none; }
@media (max-width: 700px) { .route__map .pin-narrow { display: inline; } }
.route__map .ping { fill: none; stroke: #c4864a; stroke-width: 1.5; }
@media (prefers-reduced-motion: reduce) { .route__map .ships, .route__map .ping { display: none; } }
.route__map .arc-run { stroke-dasharray: 900; stroke-dashoffset: 900; }
@media (min-width: 1000px) {
  .route .stats { grid-template-columns: repeat(4, 1fr); }
  .route .stat:nth-child(n) { padding: 22px 18px; border-right: 1px solid var(--line-dark); }
  .route .stat:nth-child(4) { border-right: 0; } .route .stat:first-child { padding-left: 0; }
  .route .stat--wide { grid-column: 1 / -1; padding-left: 0 !important; border-right: 0; }
}
@media (max-width: 700px) {                       /* the map scales down a lot on phones: bigger labels, no sub-lines */
  .route__map .pin-label { font-size: 19px; } .route__map .pin-sub, .route__map .pin-wide { display: none; }
}
