/* ============================================================
   VESPER Motor Company — main stylesheet
   Palette: near-black studio, ivory paper, warm grey, champagne.
   Type: Cormorant Garamond (display) / Inter (text & UI).
   ============================================================ */

:root {
  --ink: #0a0b0d;
  --coal: #131417;
  --coal-2: #1a1c20;
  --line-dark: rgba(236, 231, 219, 0.14);
  --ivory: #efeae0;
  --paper: #f4f0e7;
  --bone: #d9d3c3;
  --grey: #8d8b87;
  --grey-dark: #5a5955;
  --champagne: #b99b6b;
  --champagne-bright: #d3b98a;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.builder-open { overflow: hidden; }

::selection { background: var(--champagne); color: var(--ink); }

img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ------------------------------------------------ typography */

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--champagne);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: 0.01em;
}

h2 { font-size: clamp(38px, 5.4vw, 72px); }

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 17px 34px 15px;
  border: 1px solid currentColor;
  color: var(--ivory);
  background: transparent;
  transition: background 0.55s var(--ease), color 0.55s var(--ease),
              border-color 0.55s var(--ease), transform 0.55s var(--ease);
  text-align: center;
}
.btn:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn:active { transform: scale(0.985); }

.btn.ghost { border-color: rgba(236, 231, 219, 0.4); color: var(--bone); }
.btn.ghost:hover { border-color: var(--ivory); }

.btn.small { padding: 12px 22px 10px; font-size: 10px; }
.btn.large { padding: 21px 46px 19px; }

/* Solid primary CTA (hero, build sheet) */
.btn.primary { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn.primary:hover { background: var(--champagne-bright); border-color: var(--champagne-bright); }
/* On light paper the primary flips to ink */
.commission-cta .btn.primary { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.commission-cta .btn.primary:hover { background: #2a2c31; border-color: #2a2c31; }

/* On light sections */
main .btn, .commission-cta .btn { color: var(--ink); border-color: rgba(10, 11, 13, 0.55); }
main .btn:hover, .commission-cta .btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* -------------------------------------------------------- navigation */

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  color: var(--ivory);
  transition: background 0.6s var(--ease), color 0.6s var(--ease);
}
.site-nav.solid {
  background: rgba(10, 11, 13, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: 0.42em;
  margin-right: 0.42em; /* optically recenter tracked wordmark */
}
.wordmark:hover { color: var(--champagne-bright); }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.4s, border-color 0.4s;
}
.nav-links a:hover { color: var(--ivory); border-color: var(--champagne); }
.nav-links .nav-cta {
  border: 1px solid rgba(236, 231, 219, 0.4);
  padding: 11px 20px 9px;
  color: var(--ivory);
}
.nav-links .nav-cta:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

/* -------------------------------------------------------------- hero */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  background: radial-gradient(ellipse at 50% 38%, #17181c 0%, #0a0b0d 62%, #060708 100%);
  color: var(--ivory);
  overflow: hidden;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
}
#heroCanvas:active { cursor: grabbing; }
.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(6, 7, 8, 0.55) 0%, rgba(6, 7, 8, 0) 26%),
    linear-gradient(to top, rgba(6, 7, 8, 0.82) 0%, rgba(6, 7, 8, 0) 42%);
}
.hero-copy {
  position: absolute;
  left: clamp(20px, 6vw, 96px);
  bottom: clamp(84px, 14vh, 150px);
  max-width: 640px;
  pointer-events: none;
}
.hero-copy .btn, .hero-copy a { pointer-events: auto; }
.hero-title {
  font-size: clamp(72px, 13vw, 176px);
  font-weight: 300;
  line-height: 0.95;
  margin: 18px 0 10px;
}
.hero-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(19px, 2.4vw, 28px);
  color: var(--bone);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-hint {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(84px, 14vh, 150px);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(217, 211, 195, 0.55);
  writing-mode: vertical-rl;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 1px;
  height: 52px;
  background: rgba(236, 231, 219, 0.18);
  overflow: hidden;
}
.scroll-cue span {
  display: block;
  width: 100%;
  height: 18px;
  background: var(--champagne);
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(-20px); }
  60%, 100% { transform: translateY(56px); }
}

/* --------------------------------------------------------- statement */

.statement {
  padding: clamp(110px, 16vw, 210px) clamp(24px, 8vw, 120px);
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.statement-text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.35;
  color: var(--ink);
}
.statement-aside {
  margin-top: 34px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-dark);
}

/* ------------------------------------------------------------- range */

.range { padding: 0 clamp(20px, 5vw, 72px) clamp(90px, 12vw, 160px); }
.section-head { max-width: 1280px; margin: 0 auto clamp(50px, 7vw, 90px); }
.section-head h2 { margin-top: 16px; }

.model {
  max-width: 1280px;
  margin: 0 auto clamp(80px, 10vw, 150px);
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.model.flip .model-stage { order: 2; }
.model.flip .model-copy { order: 1; }
.model-stage {
  background: radial-gradient(ellipse at 50% 40%, #17181c 0%, #0a0b0d 66%, #07080a 100%);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.model-stage canvas { width: 100%; height: 100%; }
.model-kind {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--champagne);
  font-weight: 500;
}
.model-copy h3 { font-size: clamp(46px, 5vw, 68px); margin: 12px 0 4px; }
.model-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--grey-dark);
  margin-bottom: 22px;
}
.model-desc { max-width: 46ch; color: #3c3b38; margin-bottom: 30px; }
.model-facts {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  border-top: 1px solid rgba(10, 11, 13, 0.16);
  border-bottom: 1px solid rgba(10, 11, 13, 0.16);
  padding: 18px 0;
  margin-bottom: 24px;
}
.model-facts dt {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin-bottom: 5px;
}
.model-facts dd { font-size: 14px; font-weight: 400; }
.model-price { font-size: 14px; margin-bottom: 28px; }
.model-price span { font-family: var(--serif); font-size: 26px; margin-right: 8px; }
.model-price em { font-style: normal; color: var(--grey-dark); font-size: 12px; letter-spacing: 0.08em; }

/* ----------------------------------------------------------- atelier */

.atelier {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(90px, 12vw, 170px) clamp(20px, 5vw, 72px);
}
.atelier .section-head { margin-bottom: clamp(40px, 6vw, 70px); }
.craft-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 3vw, 40px);
}
.craft-panel { position: relative; }
.craft-panel canvas {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--coal);
}
.craft-panel figcaption {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 300;
  color: var(--bone);
  max-width: 44ch;
}
.craft-panel figcaption span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--champagne);
  margin-right: 10px;
}
.numbers {
  max-width: 1280px;
  margin: clamp(60px, 8vw, 110px) auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 40px);
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(34px, 4vw, 54px);
}
.numbers strong {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1;
  color: var(--champagne-bright);
}
.numbers span {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------------------------------------------------------- cta/foot */

.commission-cta {
  text-align: center;
  padding: clamp(110px, 15vw, 200px) 24px;
}
.commission-cta h2 { margin: 16px 0 22px; }
.commission-cta p:not(.eyebrow) {
  max-width: 52ch;
  margin: 0 auto 40px;
  color: #3c3b38;
  font-size: 16px;
}

.site-footer {
  background: var(--ink);
  color: var(--grey);
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 24px 46px;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.site-footer .wordmark { color: var(--ivory); margin: 0 0 22px; }
.site-footer p { margin-bottom: 8px; }
.site-footer .fine { font-style: italic; color: #55554f; }

/* ------------------------------------------------------------ reveal */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   BUILDER
   ============================================================ */

.builder {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: #08090b;
  color: var(--ivory);
}
.builder[hidden] { display: none; }

/* header */
.b-head {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 34px);
  padding: 0 clamp(16px, 3vw, 40px);
  height: 76px;
  flex: none;
  border-bottom: 1px solid var(--line-dark);
}
.b-close {
  font-size: 15px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--bone);
  transition: border-color 0.4s, color 0.4s, transform 0.4s var(--ease);
  flex: none;
}
.b-close:hover { border-color: var(--champagne); color: var(--ivory); transform: rotate(90deg); }
.b-title { min-width: 0; }
.b-title .eyebrow { font-size: 9.5px; }
.b-title h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 2px; white-space: nowrap; }
.b-commission { color: var(--grey); letter-spacing: 0.2em; margin-left: 6px; }
.b-model-switch { margin-left: auto; display: flex; gap: 4px; flex: none; }
.b-model-switch button {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 16px 8px;
  color: var(--grey);
  border: 1px solid transparent;
  transition: color 0.4s, border-color 0.4s;
}
.b-model-switch button:hover { color: var(--bone); }
.b-model-switch button.on { color: var(--ivory); border-color: var(--line-dark); }

/* main split */
.b-main { flex: 1; display: flex; min-height: 0; }
.b-stage {
  position: relative;
  flex: 1.35;
  min-width: 0;
  background: radial-gradient(ellipse at 50% 40%, #15161a 0%, #0a0b0d 64%, #060708 100%);
}
#builderCanvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
#builderCanvas:active { cursor: grabbing; }

.b-view-toggle {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  border: 1px solid var(--line-dark);
  background: rgba(8, 9, 11, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.b-view-toggle button {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 11px 22px 9px;
  color: var(--grey);
  transition: background 0.45s var(--ease), color 0.45s;
}
.b-view-toggle button.on { background: var(--ivory); color: var(--ink); }

.b-angles {
  position: absolute;
  right: 20px; bottom: 22px;
  display: flex; gap: 8px;
}
.b-angles button {
  width: 34px; height: 34px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  position: relative;
  background: rgba(8, 9, 11, 0.6);
  transition: border-color 0.4s, background 0.4s;
}
.b-angles button::after {
  content: '';
  position: absolute; inset: 0;
  margin: auto;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grey);
  transition: background 0.4s;
}
.b-angles button:hover { border-color: var(--bone); }
.b-angles button.on { border-color: var(--champagne); }
.b-angles button.on::after { background: var(--champagne); }

/* panel */
.b-panel {
  flex: 1;
  max-width: 560px;
  min-width: 380px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line-dark);
  background: #0c0d10;
  min-height: 0;
}
.b-tabs {
  flex: none;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line-dark);
}
.b-tabs::-webkit-scrollbar { display: none; }
.b-tabs button {
  flex: none;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 18px 18px 14px;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color 0.4s, border-color 0.4s;
  position: relative;
  white-space: nowrap;
}
.b-tabs button:hover { color: var(--bone); }
.b-tabs button.on { color: var(--ivory); border-bottom-color: var(--champagne); }
.b-tabs button .tab-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: var(--champagne);
  margin-right: 7px;
  letter-spacing: 0;
  text-transform: none;
}
.b-tabs button.done::before {
  content: '';
  position: absolute;
  top: 12px; right: 7px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--champagne);
  opacity: 0.7;
}
.b-content {
  flex: 1;
  overflow-y: auto;
  padding: clamp(20px, 3vw, 36px);
  outline: none;
  scrollbar-width: thin;
  scrollbar-color: #2c2e33 transparent;
}

/* section content */
.sec-intro { margin-bottom: 26px; }
.sec-intro h3 { font-size: clamp(26px, 3vw, 36px); margin: 10px 0 10px; }
.sec-intro p { font-size: 13.5px; color: var(--grey); max-width: 52ch; }
.sub-head {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 30px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.sub-head:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.opt-grid.wide { grid-template-columns: 1fr; }

.opt-card {
  position: relative;
  text-align: left;
  border: 1px solid var(--line-dark);
  padding: 14px 14px 13px;
  transition: border-color 0.45s var(--ease), background 0.45s var(--ease), transform 0.45s var(--ease);
  color: var(--ivory);
}
.opt-card:hover { border-color: rgba(236, 231, 219, 0.42); transform: translateY(-1px); }
.opt-card.sel { border-color: var(--champagne); background: rgba(185, 155, 107, 0.07); }
.opt-card.sel::after {
  content: '';
  position: absolute;
  top: 10px; right: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--champagne);
}
.opt-card .swatch {
  display: block;
  width: 100%;
  height: 52px;
  margin-bottom: 12px;
  border: 1px solid rgba(236, 231, 219, 0.1);
}
.opt-card .swatch.round {
  width: 52px;
  border-radius: 50%;
}
.opt-card .opt-name { display: block; font-size: 13px; font-weight: 400; letter-spacing: 0.02em; }
.opt-card .opt-sub { display: block; font-size: 11px; color: var(--grey); margin-top: 3px; line-height: 1.45; }
.opt-card .opt-price {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--champagne-bright);
  margin-top: 9px;
}
.opt-card .opt-desc { display: block; font-size: 12px; color: var(--grey); margin-top: 6px; line-height: 1.5; }

/* segmented choices (sizes, grades) */
.seg { display: flex; gap: 10px; flex-wrap: wrap; }
.seg .opt-card { flex: 1; min-width: 140px; }

/* packages */
.pkg-card { display: flex; gap: 16px; align-items: flex-start; }
.pkg-card .pkg-check {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 2px;
  border: 1px solid var(--line-dark);
  position: relative;
  transition: border-color 0.4s, background 0.4s;
}
.pkg-card.sel .pkg-check { border-color: var(--champagne); background: var(--champagne); }
.pkg-card.sel .pkg-check::after {
  content: '';
  position: absolute;
  left: 7px; top: 3px;
  width: 5px; height: 10px;
  border: solid var(--ink);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(42deg);
}
.pkg-feats { display: block; margin-top: 9px; }
.pkg-feats span { display: block; font-size: 12px; color: var(--grey); padding: 2px 0 2px 16px; position: relative; }
.pkg-feats span::before { content: '—'; position: absolute; left: 0; color: var(--champagne); }

/* footer bar */
.b-foot {
  flex: none;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  padding: 14px clamp(16px, 3vw, 40px);
  border-top: 1px solid var(--line-dark);
  background: rgba(10, 11, 13, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  min-height: 74px;
}
.b-spec {
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  color: var(--grey);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.b-spec strong { color: var(--bone); font-weight: 400; }
.b-price { flex: none; text-align: right; }
.b-price-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey);
}
.b-price strong {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
}
.b-price strong.bump { color: var(--champagne-bright); }
.b-nav-btns { flex: none; display: flex; gap: 10px; }
.builder .btn { color: var(--ivory); border-color: rgba(236, 231, 219, 0.5); }
.builder .btn:hover { background: var(--ivory); color: var(--ink); }
.builder .btn.ghost { border-color: var(--line-dark); color: var(--bone); }
.builder .btn.ghost:hover { border-color: var(--ivory); background: transparent; color: var(--ivory); }

/* confirm dialog */
.b-confirm {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(5, 6, 7, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 1;
  transition: opacity 0.4s var(--ease);
}
.b-confirm[hidden] { display: none; }
.b-confirm-card {
  background: var(--coal);
  border: 1px solid var(--line-dark);
  padding: clamp(28px, 4vw, 48px);
  max-width: 420px;
  text-align: center;
}
.b-confirm-card h3 { font-size: 30px; margin-bottom: 12px; }
.b-confirm-card p { font-size: 13px; color: var(--grey); margin-bottom: 28px; }
.b-confirm-card div { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* -------------------------------------------------------- build sheet */

.sheet-head { text-align: left; margin-bottom: 8px; }
.sheet-head .eyebrow { font-size: 9.5px; }
.sheet-head h3 { font-size: clamp(30px, 3.4vw, 42px); margin: 10px 0 8px; }
.sheet-head .sheet-sub { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--grey); }
.sheet-car {
  margin: 24px 0 6px;
  border: 1px solid var(--line-dark);
  background: radial-gradient(ellipse at 50% 42%, #15161a 0%, #0a0b0d 70%);
}
.sheet-car canvas { width: 100%; aspect-ratio: 16 / 9; }

.spec-group { margin-top: 30px; }
.spec-group > h4 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--champagne);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.spec-group > h4 button {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.35s, border-color 0.35s;
}
.spec-group > h4 button:hover { color: var(--ivory); border-color: var(--champagne); }
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(236, 231, 219, 0.06);
  font-size: 13px;
}
.spec-row .sr-label { color: var(--bone); font-weight: 400; }
.spec-row .sr-detail { color: var(--grey); font-size: 11.5px; display: block; margin-top: 2px; }
.spec-row .sr-swatch {
  display: inline-block;
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(236, 231, 219, 0.25);
  margin-right: 9px;
  vertical-align: -1px;
}
.spec-row .sr-price { font-variant-numeric: tabular-nums; color: var(--bone); flex: none; }
.spec-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--champagne);
}
.spec-total .st-label { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey); }
.spec-total strong {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--champagne-bright);
  font-variant-numeric: tabular-nums;
}
.sheet-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.sheet-note { margin-top: 28px; font-size: 11px; color: var(--grey-dark); line-height: 1.7; }

/* ---------------------------------------------------------- responsive */

@media (max-width: 1020px) {
  .b-main { flex-direction: column; }
  .b-stage { flex: none; height: 44vh; min-height: 300px; }
  .b-panel { flex: 1; max-width: none; min-width: 0; border-left: none; border-top: 1px solid var(--line-dark); }
  .model { grid-template-columns: 1fr; gap: 26px; }
  .model.flip .model-stage { order: 0; }
  .model.flip .model-copy { order: 1; }
  .craft-grid { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-copy { left: 20px; right: 20px; bottom: 96px; }
  .hero-hint { display: none; }
  .hero-actions .btn { flex: 1; padding-left: 12px; padding-right: 12px; }
  .model-facts { flex-wrap: wrap; gap: 14px 26px; }
  .b-head { height: 64px; gap: 10px; }
  .b-title h2 { font-size: 21px; }
  .b-model-switch button { padding: 8px 9px 6px; font-size: 9px; letter-spacing: 0.14em; }
  .b-stage { height: 38vh; min-height: 260px; }
  .b-angles { display: none; }
  .b-foot { flex-wrap: wrap; row-gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .b-spec { order: 3; flex-basis: 100%; white-space: normal; }
  .b-price { margin-right: auto; }
  .opt-grid { grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); }
  .numbers { gap: 26px 18px; }
  .statement { text-align: left; }
}

/* ----------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .scroll-cue { display: none; }
}

/* --------------------------------------------------------------- print */

@media print {
  .site-nav, .b-head, .b-foot, .b-stage, .b-tabs, .sheet-actions, .b-confirm { display: none !important; }
  .builder { position: static; background: #fff; color: #000; }
  .b-panel { max-width: none; border: none; background: #fff; }
  .b-content { overflow: visible; }
}
