/* Bowood Modular. A fixed 3D stage with copy cards scrolling over it, then
   the detail on deep blueprint navy. Mobile first. */

:root {
  --navy-950: #051220;
  --navy-900: #081a2b;
  --navy-800: #0b2338;
  --navy-700: #12324f;
  --rule: rgba(207, 230, 255, .14);
  --rule-strong: rgba(207, 230, 255, .28);
  --ice: #cfe6ff;
  --text: #eef3f7;
  --text-2: #a9bacb;
  --amber: #ffb21a;
  --amber-hover: #ffc54d;
  --on-amber: #1b1200;
  --glass: rgba(8, 26, 43, .74);
  --tbc: #ffe066;
  --display: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --header-h: 58px;
  --bar-h: 76px;
  --gutter: 16px;
  --stage-h: 100vh;
  color-scheme: dark;
}
@supports (height: 100lvh) { :root { --stage-h: 100lvh; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0 0 .45em; line-height: 1.05; text-wrap: balance; }
h2 { font-family: var(--display); font-stretch: 112%; font-weight: 760; letter-spacing: -0.02em; font-size: clamp(1.7rem, 5.4vw, 3rem); }
h3 { font-family: var(--display); font-stretch: 106%; font-weight: 700; letter-spacing: -0.01em; font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.hide-sm { display: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--on-amber); padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.kicker, .eyebrow, .tag, .card-step, .stage-label, .title-block, .check-stamp {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.kicker { font-size: .74rem; color: var(--amber); margin-bottom: 14px; }
.tag { display: inline-block; font-size: .7rem; color: var(--amber); margin: 0 0 8px; }

/* Draft markers ------------------------------------------------------------ */

.draft-banner { position: relative; z-index: 60; background: var(--tbc); color: #1d2125; font-size: .88rem; padding: 8px var(--gutter); }
.draft-banner summary { cursor: pointer; }
.draft-banner ul { list-style: disc; padding-left: 1.25em; margin: 6px 0 4px; }
mark.tbc { background: var(--tbc); color: #1d2125; padding: 0 .3em; border-radius: 3px; outline: 1px dashed #a68700; }
.is-tbc { background: var(--tbc) !important; color: #1d2125 !important; outline: 2px dashed #a68700; outline-offset: -2px; cursor: not-allowed; }

/* Buttons ------------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 12px 22px;
  border: 0; border-radius: 999px;
  font: inherit; font-weight: 650; font-size: 1.02rem; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: var(--on-amber); }
.btn-amber:hover { background: var(--amber-hover); }
.btn-line { background: rgba(8, 26, 43, .35); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--rule-strong); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ice); }
.btn-light { background: var(--text); color: var(--navy-900); }
.btn-lg { min-height: 60px; font-size: 1.12rem; }
.btn-block { display: flex; width: 100%; }

/* Header ------------------------------------------------------------------- */

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(8, 26, 43, .72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h); max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter);
}
.brand { display: flex; align-items: baseline; gap: 9px; text-decoration: none; }
.brand-name { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 1.12rem; letter-spacing: .01em; text-transform: uppercase; }
.brand-sub { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.site-nav { display: none; }
.header-call {
  display: inline-flex; align-items: center; gap: .45em;
  min-height: 40px; padding: 8px 15px; border-radius: 999px;
  background: var(--amber); color: var(--on-amber); font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap;
}
.header-call .icon { width: 1.05em; height: 1.05em; }

/* Story: stage + chapters ------------------------------------------------- */

.story { position: relative; }
.stage {
  position: sticky; top: 0; height: var(--stage-h); overflow: hidden; z-index: 0;
  background-color: var(--navy-800);
  background-image:
    linear-gradient(rgba(207, 230, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207, 230, 255, .07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s ease; }
.is-ready .stage-canvas { opacity: 1; }
.stage-labels { position: absolute; inset: 0; pointer-events: none; }
.stage-label {
  position: absolute; left: 0; top: 0; will-change: transform, opacity;
  font-size: .66rem; color: var(--navy-900); white-space: nowrap;
}
.stage-label span {
  display: inline-block; transform: translate(10px, -50%);
  background: rgba(255, 255, 255, .92); padding: 4px 8px 4px 8px; border-radius: 3px;
  box-shadow: 0 6px 18px rgba(5, 18, 32, .18);
}
.stage-label.is-left span { transform: translate(calc(-100% - 10px), -50%); }
.stage-label::before {
  content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 3px rgba(255, 178, 26, .3);
}
.stage-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 18, 32, .35) 0%, transparent 22%, transparent 62%, rgba(5, 18, 32, .45) 100%);
}

.chapters { position: relative; z-index: 1; margin-top: calc(var(--stage-h) * -1); }
.chapter { position: relative; min-height: calc(var(--stage-h) * 1.2); display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) calc(var(--bar-h) + 18px); }
.chapter-long { min-height: calc(var(--stage-h) * 1.9); }
.chapter-config { min-height: calc(var(--stage-h) * 1.7); }

.card {
  position: sticky; bottom: calc(var(--bar-h) + 14px + env(safe-area-inset-bottom, 0px));
  width: 100%; max-width: 460px;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 48px rgba(5, 18, 32, .35);
  will-change: opacity, transform;
}
.card h2 { font-size: clamp(1.35rem, 5.6vw, 2.05rem); margin-bottom: .4em; }
.card p { color: var(--text-2); font-size: .98rem; margin-bottom: .6em; }
.card p:last-child { margin-bottom: 0; }
.card-step { display: flex; align-items: center; gap: 10px; font-size: .7rem; color: var(--ice) !important; margin-bottom: 10px !important; }
.card-step span { color: var(--amber); font-size: .78rem; }
.card-step span::after { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--rule-strong); margin-left: 10px; vertical-align: middle; }
.card-note { border-top: 1px solid var(--rule); padding-top: 10px; font-size: .9rem !important; }

.check { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.check-bar { flex: 1; height: 4px; border-radius: 2px; background: var(--rule); overflow: hidden; }
.check-bar i { display: block; height: 100%; width: 0; background: var(--amber); }
.check-stamp {
  font-size: .68rem; color: var(--amber); border: 1.5px solid var(--amber); padding: 3px 8px; border-radius: 3px;
  opacity: .25; transform: rotate(-4deg) scale(.92); transition: opacity .25s ease, transform .35s cubic-bezier(.2, 1.6, .4, 1);
}
.check-stamp.is-on { opacity: 1; transform: rotate(-4deg) scale(1); }

/* Hero */
.chapter-hero { min-height: calc(var(--stage-h) * 1.35); justify-content: flex-start; padding-top: 26px; }
.hero-copy { max-width: 640px; }
.eyebrow { font-size: .7rem; color: var(--ice); margin-bottom: 14px; opacity: .85; }
.chapter-hero h1 {
  font-family: var(--display); font-stretch: 118%; font-weight: 800; letter-spacing: -0.025em;
  font-size: clamp(2.35rem, 10.5vw, 5.4rem); line-height: .96; margin-bottom: 16px;
}
.lede { font-size: 1.05rem; color: var(--text-2); max-width: 54ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 12px; }
.cta-row .btn { flex: 1 1 auto; }
.event-link {
  display: inline-flex; align-items: center; gap: .5em; padding: 6px 0;
  font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: var(--amber); text-decoration-thickness: 2px;
}
.event-link .icon { color: var(--amber); }
.title-block { display: none; }
.scroll-cue {
  position: absolute; left: 50%; top: calc(var(--stage-h) - var(--bar-h) - 64px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ice);
  text-decoration: none; white-space: nowrap;
}
.scroll-cue .icon { animation: nudge 1.8s ease-in-out infinite; color: var(--amber); }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Fallback figures: shown without 3D */
.fallback { display: none; margin: 18px 0 0; }
.no-js .fallback, .no-3d .fallback { display: block; }
.fallback svg { width: 100%; height: auto; border-radius: 12px; background: #f0ebe2; }

.no-js .stage, .no-3d .stage { display: none; }
.no-js .chapters, .no-3d .chapters { margin-top: 0; }
.no-js .chapter, .no-3d .chapter { min-height: 0; padding-block: 48px; justify-content: flex-start; }
.no-js .card, .no-3d .card { position: static; }
.no-js .scroll-cue, .no-3d .scroll-cue { display: none; }

/* Configurator */
.card-config { max-width: 520px; padding-bottom: 14px; }
.config-lede { margin-bottom: 12px !important; }
.config-tabs {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -4px 12px; padding: 0 4px;
}
.config-tabs::-webkit-scrollbar { display: none; }
.config-tabs button {
  flex: none; font: inherit; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-2); background: transparent; border: 0; border-bottom: 2px solid transparent;
  padding: 8px 8px; cursor: pointer;
}
.config-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--amber); }
.opt { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.opt legend { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 8px; padding: 0; }
.has-tabs .opt legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chips { display: grid; gap: 7px; }
.chips-2 { grid-template-columns: 1fr 1fr; }
.chips-3 { grid-template-columns: repeat(3, 1fr); }
.chips-4 { grid-template-columns: repeat(4, 1fr); }
.chips label { position: relative; display: block; }
.chips input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chips span {
  display: flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 46px; height: 100%; padding: 8px 8px; border-radius: 10px;
  background: rgba(207, 230, 255, .05); box-shadow: inset 0 0 0 1.5px var(--rule);
  font-weight: 600; font-size: .9rem; line-height: 1.15; text-align: center; color: var(--text);
  transition: box-shadow .15s ease, background-color .15s ease;
}
.chips input:hover + span { box-shadow: inset 0 0 0 1.5px var(--rule-strong); }
.chips input:checked + span { background: rgba(255, 178, 26, .14); box-shadow: inset 0 0 0 2px var(--amber); }
.chips input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.swatch { display: inline-block; width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); flex: none; }
.swatch-render { background: #e4dfd6; }
.swatch-fibre { background-color: #d2cfc7; background-image: linear-gradient(#9d978c 1px, transparent 1px), linear-gradient(90deg, #9d978c 1px, transparent 1px); background-size: 8px 12px; }
.swatch-colorbond { background: repeating-linear-gradient(90deg, #7a8289 0 1px, #3c4146 1px 2px, #4a5056 2px 5px); }
.swatch-timber { background: repeating-linear-gradient(180deg, #a8784e 0 3px, #5a3a20 3px 4px, #9c6c44 4px 7px, #5a3a20 7px 8px); }
.config-preview { display: none; }
.no-3d .config-preview { display: block; margin: 4px 0 10px; }
.no-3d .config-preview svg { width: 100%; height: auto; border-radius: 10px; background: #f0ebe2; }
.config-summary { font-weight: 600; font-size: .9rem !important; color: var(--text) !important; margin: 4px 0 10px !important; }
.config-actions { display: flex; gap: 8px; }
.config-actions .btn { min-height: 48px; padding: 10px 18px; }
.config-actions .btn-amber { flex: 1; }
.fineprint { font-size: .76rem !important; margin: 8px 0 0 !important; }

/* Proof -------------------------------------------------------------------- */

.proof { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy-950); padding: 64px 0; }
.pods { position: absolute; inset: 0; width: 100%; height: 100%; }
.proof::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--navy-950) 8%, rgba(5, 18, 32, .2) 55%, rgba(5, 18, 32, 0) 100%); pointer-events: none; }
.proof-copy { position: relative; z-index: 1; }
.proof h2 { font-size: clamp(1.6rem, 5.4vw, 3.3rem); max-width: 22ch; font-weight: 700; color: var(--text-2); }
.proof-num { display: block; color: var(--text); font-size: clamp(3.4rem, 15vw, 8.5rem); font-stretch: 125%; font-weight: 800; letter-spacing: -0.04em; line-height: .9; margin-bottom: 8px; }

/* Range -------------------------------------------------------------------- */

.range { padding: 88px 0 72px; background: var(--navy-900); }
.sec-head { max-width: 760px; margin-bottom: 36px; }
.sec-head p:last-child { color: var(--text-2); font-size: 1.08rem; margin: 0; }
.products { display: grid; gap: 14px; }
.product {
  display: grid; grid-template-columns: 1fr; overflow: hidden;
  border: 1px solid var(--rule); border-radius: 18px;
  background: radial-gradient(120% 90% at 50% 10%, rgba(207, 230, 255, .1), rgba(207, 230, 255, 0) 60%), var(--navy-800);
}
.product-shot { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 10px; }
.product-shot img, .product-shot svg { width: 100%; height: 100%; object-fit: contain; }
.product-shot img { animation: rise .8s cubic-bezier(.2, .8, .2, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.product-body { padding: 4px 20px 22px; }
.product-body p { color: var(--text-2); margin-bottom: 12px; }
.product-link {
  display: inline-flex; align-items: center; gap: .4em; font-weight: 650; font-size: .95rem;
  color: var(--amber); text-decoration: none;
}
.product-link .icon { transition: transform .18s ease; }
.product-link:hover .icon { transform: translateX(4px); }

.every { display: grid; gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rule); }
.every h3 { font-size: 1.05rem; margin-bottom: .35em; }
.every p { color: var(--text-2); margin: 0; font-size: .98rem; }
.swatches { display: flex; gap: 6px; margin-top: 12px; }
.swatches .swatch { width: 26px; height: 26px; border-radius: 6px; }

/* Who ---------------------------------------------------------------------- */

.who { padding: 80px 0; background: var(--navy-800); border-block: 1px solid var(--rule); }
.who-grid { display: grid; gap: 36px; }
.who h3 { font-size: clamp(1.5rem, 4.6vw, 2.3rem); font-stretch: 112%; font-weight: 760; }
.who p { color: var(--text-2); max-width: 46ch; margin: 0; font-size: 1.05rem; }

/* Contact ------------------------------------------------------------------ */

.contact { padding: 88px 0; background: var(--navy-900); }
.contact-grid { display: grid; gap: 32px; }
.contact h2 { font-size: clamp(2rem, 7vw, 3.6rem); }
.cta-stack { display: grid; gap: 10px; margin: 22px 0 30px; }
.details { display: grid; gap: 16px; }
.details dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.details dd { margin: 3px 0 0; }
.event-card { background: var(--navy-800); border: 1px solid var(--rule); border-top: 3px solid var(--amber); border-radius: 18px; padding: 22px; align-self: start; }
.event-card h3 { font-size: 1.45rem; }
.event-card p { color: var(--text-2); }
.qr-panel { display: none; }

/* Footer ------------------------------------------------------------------- */

.site-footer { background: var(--navy-950); color: var(--text-2); padding: 40px 0 48px; font-size: .88rem; border-top: 1px solid var(--rule); }
.site-footer strong { color: var(--text); }
.footer-legal { line-height: 1.75; }
.footer-privacy, .footer-note { max-width: 72ch; }

/* Mobile action bar -------------------------------------------------------- */

.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(5, 18, 32, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--rule);
}
.action-bar .btn { min-height: 54px; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--bar-h) + 16px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  transform: translateX(-50%); background: var(--text); color: var(--navy-900);
  padding: 10px 16px; border-radius: 999px; font-size: .92rem; font-weight: 650;
}

/* Wider screens ------------------------------------------------------------ */

@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .hide-sm { display: inline; }
  .products { grid-template-columns: 1fr 1fr; }
  .product-lead { grid-column: 1 / -1; grid-template-columns: 1.4fr 1fr; align-items: center; }
  .every { grid-template-columns: 1fr 1fr; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .cta-row .btn { flex: 0 0 auto; }
}

@media (min-width: 900px) {
  :root { --header-h: 66px; }
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .toast { bottom: 24px; }
  .site-nav { display: flex; gap: 26px; margin-left: auto; }
  .site-nav a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--text-2); }
  .site-nav a:hover { color: var(--text); }
  .header-call { min-height: 44px; padding: 10px 18px; font-size: .98rem; }

  .chapter {
    justify-content: flex-start;
    padding: calc(var(--stage-h) * .26) 0 0 max(32px, calc((100vw - 1320px) / 2 + 32px));
  }
  .card { top: calc(var(--stage-h) * .22); bottom: auto; padding: 26px 26px 22px; max-width: 440px; }
  .card h2 { font-size: clamp(1.7rem, 2.4vw, 2.4rem); }
  .card p { font-size: 1.02rem; }
  .card-config { top: calc(var(--header-h) + 24px); max-width: 480px; }
  .chapter-config { padding-top: calc(var(--header-h) + 40px); }

  .chapter-hero { padding-top: calc(var(--stage-h) * .17); }
  .hero-copy { max-width: 600px; }
  .lede { font-size: 1.15rem; }
  .title-block {
    display: grid; grid-template-columns: 1fr 1fr; position: absolute;
    right: max(32px, calc((100vw - 1320px) / 2 + 32px)); top: calc(var(--stage-h) - 200px);
    width: 300px; border: 1px solid var(--rule-strong); font-size: .62rem; color: var(--ice); background: rgba(8, 26, 43, .5);
  }
  .title-block div { padding: 6px 9px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
  .title-block div:nth-child(-n + 1) { border-top: 0; }
  .title-block .tb-wide { grid-column: 1 / -1; border-left: 0; }
  .title-block dt { opacity: .6; font-size: .56rem; }
  .title-block dd { margin: 2px 0 0; color: var(--text); letter-spacing: .08em; }
  .title-block .tb-brand dd { color: var(--amber); }
  .scroll-cue { top: calc(var(--stage-h) - 72px); }

  .no-js .chapter, .no-3d .chapter { padding: 64px var(--gutter); max-width: 1200px; margin: 0 auto; }
  .no-3d .card, .no-js .card { max-width: 640px; }

  .proof { padding: 96px 0; min-height: 100vh; align-items: center; }
  .proof::after { background: linear-gradient(90deg, var(--navy-950) 22%, rgba(5, 18, 32, .55) 48%, rgba(5, 18, 32, 0) 70%); }
  .proof h2 { max-width: 15ch; }
  .range { padding: 120px 0 96px; }
  .products { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .product-lead { grid-template-columns: 1.6fr 1fr; }
  .product-lead .product-body { padding: 28px 36px; }
  .product-lead h3 { font-size: 1.9rem; font-stretch: 112%; }
  .every { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .who { padding: 112px 0; }
  .contact { padding: 120px 0; }
  .contact-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; }
  .cta-stack { grid-template-columns: 1fr 1fr; }
  .details { grid-template-columns: 1fr 1fr; gap: 18px 28px; }
  .event-card { padding: 28px; }
  .qr-panel { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
  .qr-panel .qr { width: 96px; height: 96px; flex: none; border-radius: 6px; }
  .qr-panel p { font-size: .86rem; margin: 0; }
}

@media (min-width: 900px) and (max-height: 760px) {
  .card { top: calc(var(--header-h) + 16px); }
  .chapter-hero h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
}

/* Configurator tabs: phones and tablets show one option group at a time, in a
   compact card so the 3D model stays in view above it. */
@media (max-width: 899px) {
  .has-tabs .opt:not(.is-active) { display: none; }
  .has-3d .card-config { padding: 14px 14px 12px; }
  .has-3d .card-config h2 { font-size: 1.3rem; margin-bottom: 6px; }
  .has-3d .card-config .card-step { margin-bottom: 6px !important; }
  .has-3d .config-lede { display: none; }
  .has-3d .config-tabs { margin-bottom: 8px; }
  .has-3d .config-summary { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .has-3d .config-actions { margin-top: 10px; }
  .has-3d .chips span { min-height: 42px; font-size: .86rem; }
}
@media (min-width: 900px) {
  .config-tabs { display: none !important; }
  .has-tabs .opt legend { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .card-config { max-height: calc(var(--stage-h) - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: thin; padding: 22px 22px 18px; }
  .card-config h2 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
  .config-lede { font-size: .95rem !important; }
  .chips { gap: 6px; }
  .chips span { min-height: 38px; font-size: .86rem; padding: 6px; }
  .opt { margin-bottom: 10px; }
  .opt legend { margin-bottom: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
