/* ==========================================================================
   DUROMAK — "Daylight Interior"
   Soft-focus bright room, deep forest-green accent, bold Manrope display.
   ========================================================================== */
:root {
  --font: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-hand: 'Caveat', 'Segoe Script', cursive;

  --paper: #f6f4ef;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --text: #141816;
  --text-dim: #4d5550;
  --muted: #7b827d;
  --line: rgba(20, 24, 22, 0.12);
  --line-strong: rgba(20, 24, 22, 0.24);

  /* Forest green, from the green A in the logo */
  --accent: #1c5a44;
  --accent-hover: #164a38;
  --accent-soft: #e3eee8;
  --accent-wash: rgba(28, 90, 68, 0.08);
  --forest-deep: #123f30;          /* featured "why" card */

  --shadow-card: 0 24px 60px -24px rgba(40, 32, 20, 0.28), 0 2px 6px rgba(40, 32, 20, 0.06);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(20px, 5.5vw, 128px);
}

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

html, body {
  width: 100%;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { overflow-x: hidden; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

::selection { background: var(--accent); color: #fff; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ==========================================================================
   HERO FRAME & BACKGROUND IMAGE
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  isolation: isolate;
}

.scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background: #ece8e1;
}

/* Slight overscan so pointer parallax never reveals an edge */
.scene-img {
  position: absolute;
  inset: -2.5%;
  width: 105%;
  height: 105%;
  object-fit: cover;
  object-position: 62% 55%;
  translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -10px);
  transition: translate 1.6s var(--ease-out);
  animation: scene-in 1.8s var(--ease-out) both;
}

@keyframes scene-in {
  from { opacity: 0; scale: 1.06; }
  to   { opacity: 1; scale: 1; }
}

/* Daylight haze behind the copy so dark text reads on any photo */
.scene-haze {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 246, 241, 0.94) 0%, rgba(248, 246, 241, 0.82) 30%, rgba(248, 246, 241, 0.25) 52%, rgba(248, 246, 241, 0) 65%),
    linear-gradient(180deg, rgba(248, 246, 241, 0.75) 0%, rgba(248, 246, 241, 0) 16%, rgba(248, 246, 241, 0) 78%, rgba(248, 246, 241, 0.7) 100%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: block;
  touch-action: pan-y;
  cursor: grab;
}

.hero-canvas.is-dragging { cursor: grabbing; }

.grain {
  position: absolute;
  inset: -50%;
  z-index: 40;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--gutter);
  background: rgba(250, 249, 246, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: auto;
  height: 40px;
}

.brand-tag {
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-item { position: relative; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.35s var(--ease-out);
}

.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-dim);
  border: 1px solid var(--line-strong);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.icon-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-wash); }
.icon-btn svg { width: 18px; height: 18px; }

.btn-pill {
  height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px -10px rgba(28, 90, 68, 0.6);
  transition: background 0.25s ease, transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.btn-pill:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -10px rgba(28, 90, 68, 0.7);
}

.btn-pill svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.btn-pill:hover svg { transform: translateX(3px); }

/* ==========================================================================
   STAGE
   ========================================================================== */
.stage {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  padding: 0 var(--gutter);
  min-height: 0;
  pointer-events: none;
}

.stage > * { pointer-events: auto; }

.copy { max-width: 640px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(16px, 2.6vh, 26px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow-rule { width: 36px; height: 1.5px; background: var(--accent); }

.title {
  font-weight: 800;
  font-size: clamp(2.9rem, 5.2vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--text);
  margin-bottom: clamp(18px, 3vh, 28px);
}

.title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.title .line > span { display: inline-block; }

.title em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  max-width: 470px;
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: clamp(24px, 4vh, 38px);
}

.ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-bottom: clamp(28px, 5vh, 52px);
}

.btn-primary {
  height: 56px;
  padding: 0 30px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 14px 30px -12px rgba(28, 90, 68, 0.65);
  transition: background 0.25s ease, transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -12px rgba(28, 90, 68, 0.7);
}

.btn-primary svg { width: 17px; height: 17px; stroke-width: 2; transition: transform 0.35s var(--ease-out); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-sm { height: 46px; padding: 0 22px; font-size: 14px; }

.btn-ghost {
  height: 56px;
  padding: 0 24px 0 12px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.btn-ghost:hover { border-color: var(--accent); background: #fff; }

.play-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  transition: transform 0.35s var(--ease-out);
}

.btn-ghost:hover .play-ring { transform: scale(1.08); }
.play-ring svg { width: 11px; height: 11px; fill: currentColor; margin-left: 2px; }

.stats {
  display: flex;
  max-width: 600px;
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  padding: 0 clamp(14px, 1.8vw, 28px);
  border-left: 1px solid var(--line-strong);
}

.stat:first-child { padding-left: 0; border-left: 0; }

.stat-value {
  font-size: clamp(20px, 1.7vw, 27px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Product HUD ---------- */
.hud {
  justify-self: end;
  align-self: start;
  width: min(320px, 100%);
  margin-top: 6vh;
  padding: 20px 20px 16px;
  border-radius: 18px;
  background: var(--surface);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-card);
}

.hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.hud-count { text-transform: uppercase; }

.hud-grade {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  letter-spacing: 0.06em;
}

.hud-name {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 6px;
}

.hud-sub {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.hud-sub, .hud-grade, .hud-name, .hud-count {
  transition: opacity 0.3s ease, transform 0.5s var(--ease-out);
}

.hud.is-swapping .hud-sub,
.hud.is-swapping .hud-grade,
.hud.is-swapping .hud-name,
.hud.is-swapping .hud-count {
  opacity: 0;
  transform: translateY(6px);
}

.hud-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hud-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
  transition: background 0.25s ease, color 0.25s ease;
}

.hud-toggle:hover { background: #d4e6dc; }
.hud-toggle svg { width: 18px; height: 18px; }
.hud-toggle svg path { transition: transform 0.45s var(--ease-out); }

.hud-toggle[aria-pressed="true"] { background: var(--accent); color: #fff; }
.hud-toggle[aria-pressed="true"] .layer-mid { transform: translateY(1.5px); }
.hud-toggle[aria-pressed="true"] .layer-low { transform: translateY(3px); }

.hud-link {
  min-height: 44px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 5px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.hud-link:hover { color: var(--accent); text-decoration-color: var(--accent); }

.hud-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.hud-hint svg { width: 16px; height: 16px; flex-shrink: 0; }

.no-webgl .hud-hint,
.no-webgl .hud-toggle,
.no-webgl .hero-canvas { display: none; }

/* ---------- Hotspot callouts (positioned by JS from 3D anchors) ---------- */
.hotspots {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  will-change: transform, opacity;
}

.hotspot-dot {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 0 0 5px rgba(28, 90, 68, 0.25);
  transition: transform 0.3s var(--ease-out);
}

.hotspot-line {
  width: 34px;
  height: 1.5px;
  background: var(--accent);
  transform-origin: left;
  transition: width 0.3s var(--ease-out);
}

.hotspot-label {
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px -12px rgba(40, 32, 20, 0.35);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s var(--ease-out);
}

.hotspot-label b {
  font-weight: 800;
  color: var(--accent);
  margin-right: 6px;
}

/* The material currently chosen keeps an accent outline */
.hotspot.is-current .hotspot-label { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 10px 24px -12px rgba(40, 32, 20, 0.35); }

/* The sheet under the cursor gets its label promoted */
.hotspot.is-focus .hotspot-dot { transform: scale(1.3); }
.hotspot.is-focus .hotspot-line { width: 48px; }
.hotspot.is-focus .hotspot-label { background: var(--accent); color: #fff; transform: translateX(2px); }
.hotspot.is-focus .hotspot-label b { color: #bfe0cf; }

/* ==========================================================================
   PRODUCT RAIL
   ========================================================================== */
.rail {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--gutter) 24px;
}

.rail-title {
  align-self: center;
  padding-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.rail-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  flex: 1;
  max-width: 820px;
  border-top: 1px solid var(--line-strong);
}

.rail-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-height: 56px;
  padding: 14px 16px 4px 0;
  text-align: left;
  color: var(--muted);
  transition: color 0.3s ease;
}

.rail-item:hover { color: var(--text-dim); }
.rail-item.is-active { color: var(--text); }

.rail-num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

.rail-item.is-active .rail-num { color: var(--accent); }

.rail-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Auto-advance timer drawn over the rail rule */
.rail-progress {
  position: absolute;
  left: 0;
  right: 16px;
  top: -1px;
  height: 2px;
  overflow: hidden;
}

.rail-progress i {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

/* Only the mobile layout reserves a box for the 3D sheet */
.model-slot { display: none; }

.rail-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
}

.rail-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s;
}

.rail-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.rail-arrow svg { width: 18px; height: 18px; }

/* ==========================================================================
   ENTRANCE SEQUENCE
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal 1.1s var(--ease-out) forwards;
  animation-delay: calc(0.3s + var(--d, 0) * 0.08s);
}

.title .reveal {
  opacity: 1;
  transform: translateY(105%);
}

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   SPEC DRAWER
   ========================================================================== */
.spec-drawer {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 50;
  width: min(940px, calc(100% - 2 * var(--gutter)));
  padding: 26px;
  border-radius: 20px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(40, 32, 20, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px);
  transition: opacity 0.3s ease, transform 0.45s var(--ease-out), visibility 0.3s;
}

.spec-drawer.open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-header h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.drawer-header p { font-size: 14px; color: var(--accent); font-weight: 500; }

.close-btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface-solid);
  transition: background 0.25s ease, transform 0.35s var(--ease-out);
}

.close-btn:hover { background: var(--accent-soft); transform: rotate(90deg); }
.close-btn svg { width: 18px; height: 18px; }

.drawer-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.spec-box {
  padding: 16px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.spec-box-label {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-box-val { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--text-dim); }
.spec-box-val b { color: var(--accent); font-weight: 800; }

/* ==========================================================================
   VIDEO MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 24, 22, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface-solid);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
  transform: scale(0.96) translateY(16px);
  transition: transform 0.5s var(--ease-out);
}

.modal-overlay.active .modal-container { transform: none; }

.modal-close { position: absolute; top: 16px; right: 16px; z-index: 2; }

.video-poster {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(rgba(20, 24, 22, 0.35), rgba(20, 24, 22, 0.35)), url("../img/hero-interior.webp") center / cover;
  color: #fff;
}

.video-poster p {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.video-play {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.25);
}

.video-play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }

.modal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
}

.modal-meta h3 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.modal-meta p { font-size: 14px; color: var(--muted); }

/* ==========================================================================
   ENQUIRY DRAWER
   ========================================================================== */
.enquiry-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(20, 24, 22, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.enquiry-overlay.active { opacity: 1; visibility: visible; }

.enquiry-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  background: var(--surface-solid);
  box-shadow: -30px 0 80px rgba(20, 24, 22, 0.2);
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
}

.enquiry-overlay.active .enquiry-drawer { transform: none; }

.enquiry-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.enquiry-header h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.enquiry-header p { margin-top: 6px; font-size: 14px; color: var(--accent); font-weight: 500; }

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form-input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder { color: #9aa09b; }

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-wash);
}

.btn-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 6px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.3s var(--ease-out);
}

.btn-submit:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-submit.is-sent { background: #2f7a4a; }
.btn-submit.is-sending { opacity: 0.7; }

.enquiry-foot { margin-top: 24px; text-align: center; font-size: 12px; color: var(--muted); }

/* ==========================================================================
   INTRODUCTION — framed material gallery · editorial copy · promise band
   ========================================================================== */
.intro {
  position: relative;
  padding: clamp(72px, 11vh, 128px) var(--gutter) clamp(56px, 9vh, 104px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 96px);
}

/* ---------- Gallery frame ---------- */
.intro-frame {
  position: relative;
  aspect-ratio: 6 / 5;               /* matches the 1440 × 1200 renders, so % annotations stay on target */
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: #e6e0d8;
  box-shadow: var(--shadow-card);
}

.intro-slides,
.intro-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intro-slide {
  object-fit: cover;
  opacity: 0;
  scale: 1.045;
  transition: opacity 0.9s var(--ease-io), scale 1.6s var(--ease-out);
}

.intro-slide.is-active { opacity: 1; scale: 1; }

/* ---------- Dimension annotations (view 1 only) ---------- */
.intro-dims {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.intro-frame:not([data-view="0"]) .intro-dims { opacity: 0; }

.intro-dims svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.intro-dims line {
  stroke: var(--text);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

.intro-dims .dim-thick line:not(.dim-tick):first-child,
.intro-dims .dim-thick line:nth-child(2) { stroke-dasharray: 2 3; opacity: 0.6; }

/* Rules draw in once the section is reached */
.dim-size, .dim-thick {
  transform-box: fill-box;
  transition: transform 1.2s var(--ease-out) 0.5s, opacity 0.8s ease 0.5s;
}

.dim-size { transform-origin: left bottom; }
.dim-thick { transform-origin: center; }

.sr-ready .intro-media:not(.is-in) .dim-size { transform: scale(0); opacity: 0; }
.sr-ready .intro-media:not(.is-in) .dim-thick { transform: scaleY(0); opacity: 0; }

.dim-label {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--text);
  text-shadow: 0 0 10px rgba(250, 248, 243, 0.9), 0 0 2px rgba(250, 248, 243, 0.7);
  transition: opacity 0.8s ease 0.9s, transform 0.8s var(--ease-out) 0.9s;
}

.sr-ready .intro-media:not(.is-in) .dim-label { opacity: 0; transform: translateY(6px); }

.dim-label b {
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.dim-label span {
  font-size: clamp(9px, 0.72vw, 11px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.dim-label--size { left: 61%; top: 61%; }
.dim-label--thick { left: 87.5%; top: 5.2%; }

/* ---------- Frosted spec chip ---------- */
.intro-chip {
  position: absolute;
  top: clamp(16px, 5%, 40px);
  left: clamp(16px, 5%, 40px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 14px 34px -18px rgba(40, 32, 20, 0.35);
  color: var(--text);
}

.intro-chip svg { width: 32px; height: 32px; flex-shrink: 0; }
.intro-chip p { display: flex; flex-direction: column; gap: 3px; }
.intro-chip b { font-size: clamp(18px, 1.5vw, 23px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.intro-chip span { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- Caption, bottom right ---------- */
.intro-caption {
  position: absolute;
  right: clamp(16px, 4.5%, 40px);
  bottom: calc(clamp(16px, 4.5%, 36px) + clamp(56px, 12%, 96px) + 22px);
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text);
  transition: opacity 0.3s ease, transform 0.5s var(--ease-out);
}

.intro-caption::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 1.5px;
  background: var(--text);
}

.intro-caption-sub { font-weight: 500; color: var(--text-dim); }
.intro-caption.is-swapping { opacity: 0; transform: translateY(6px); }

/* ---------- Thumbnails & arrows ---------- */
.intro-controls {
  position: absolute;
  left: clamp(16px, 4%, 36px);
  right: clamp(16px, 4%, 36px);
  bottom: clamp(16px, 4.5%, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.intro-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 1.2%, 12px);
  width: min(74%, 560px);
}

.intro-thumb {
  position: relative;
  aspect-ratio: 5 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 18px -10px rgba(40, 32, 20, 0.45);
  opacity: 0.78;
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out), border-color 0.3s ease;
}

.intro-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.intro-thumb:hover { opacity: 1; transform: translateY(-3px); }
.intro-thumb.is-active { opacity: 1; border-color: var(--accent); }

.intro-arrows { display: flex; gap: 10px; }

.intro-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 22px -12px rgba(40, 32, 20, 0.5);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.intro-arrow:hover { background: var(--accent); color: #fff; }
.intro-arrow svg { width: 18px; height: 18px; }

/* ---------- Copy ---------- */
.intro-copy { max-width: 660px; }

.intro-title {
  font-weight: 800;
  font-size: clamp(2.3rem, 3.7vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--text);
  margin-bottom: clamp(20px, 3vh, 32px);
  text-wrap: balance;
}

.intro-title em { font-style: normal; color: var(--accent); }

.intro-lede {
  max-width: 580px;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.6;
  color: var(--text-dim);
  padding-bottom: clamp(24px, 4vh, 36px);
  margin-bottom: clamp(24px, 4vh, 36px);
  border-bottom: 1px solid var(--line);
}

.intro-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: clamp(28px, 4.5vh, 44px);
}

.feature {
  padding: 4px clamp(12px, 1.4vw, 24px);
  border-left: 1px solid var(--line);
}

.feature:first-child { padding-left: 0; border-left: 0; }

.feature-icon {
  width: 38px;
  height: 38px;
  margin-bottom: clamp(14px, 2.2vh, 22px);
  color: var(--accent);
}

.feature-title {
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-text {
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.55;
  color: var(--muted);
}

.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding-bottom: 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1.5px solid currentColor;
  transition: color 0.2s ease, gap 0.35s var(--ease-out);
}

.intro-link:hover { color: var(--accent-hover); gap: 16px; }
.intro-link svg { width: 16px; height: 16px; }

/* ---------- Promise band ---------- */
.intro-band {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: clamp(40px, 6vh, 64px);
  padding: 24px clamp(20px, 3vw, 48px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.35);
}

.band-cell {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: clamp(16px, 3vw, 48px);
}

.band-cell--end {
  justify-content: flex-end;
  padding: 0 0 0 clamp(16px, 3vw, 48px);
}

.band-icon { width: 42px; height: 42px; flex-shrink: 0; color: var(--accent); }

.band-cell p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 190px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.band-cell b {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.band-center {
  padding: 6px clamp(20px, 5vw, 96px);
  text-align: center;
  border-left: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
}

.band-title {
  font-size: clamp(15px, 1.4vw, 22px);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.band-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Scroll reveal (armed by JS, so content never stays hidden without it) ---------- */
.sr-ready .sr {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 0.09s);
}

.sr-ready .sr.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   WHY DUROMAK — copy + standing sheets · benefit cards · specification bar
   ========================================================================== */
.why {
  position: relative;
  padding: clamp(72px, 11vh, 128px) var(--gutter) clamp(56px, 9vh, 104px);
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(32px, 3vw, 56px);
}

.why-intro {
  display: flex;
  flex-direction: column;
}

.why-title {
  font-weight: 800;
  font-size: clamp(2.4rem, 4.1vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--text);
  margin-bottom: clamp(20px, 3vh, 30px);
}

.why-title em { font-style: normal; color: var(--accent); }

.why-lede {
  max-width: 540px;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
  color: var(--text-dim);
}

/* The photo runs out to the page edge and dissolves upward into the paper */
.why-visual {
  position: relative;
  margin-top: auto;
  margin-left: calc(-1 * var(--gutter));
  padding-top: clamp(16px, 3vh, 32px);
}

.why-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%), linear-gradient(90deg, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%), linear-gradient(90deg, #000 84%, transparent 100%);
  mask-composite: intersect;
}

/* Handwritten call-out; coordinates are % of the 3:2 photo */
.why-note {
  position: absolute;
  inset: clamp(16px, 3vh, 32px) 0 0 0;
  pointer-events: none;
  transition: opacity 0.8s ease 0.8s;
}

.sr-ready .why-visual:not(.is-in) .why-note { opacity: 0; }

.why-note svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.why-note path {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.why-note-dot {
  position: absolute;
  left: 52.4%;
  top: 37.2%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.7);
}

.why-note-text {
  position: absolute;
  left: 61.2%;
  top: 7.4%;
  font-family: var(--font-hand);
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
}

/* ---------- Benefit cards ---------- */
.why-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 20px);
  align-content: start;
}

.why-card {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: clamp(210px, 15vw, 244px);
  padding: clamp(18px, 1.5vw, 24px);
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--line);
  transition: opacity 1s var(--ease-out), transform 0.6s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s ease;
}

.why-card:nth-child(n + 7) { grid-column: span 3; }

.why-card:hover,
.sr-ready .why-card.sr.is-in:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 48px -28px rgba(40, 32, 20, 0.35);
}

.why-card-art {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  height: 100%;
  width: auto;
  max-width: 66%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 48%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 48%);
  transform-origin: right center;
  transition: scale 1.2s var(--ease-out);
}

.why-card:nth-child(n + 7) .why-card-art { max-width: 58%; }
/* Keep the router bit, not just the slab, inside the visible slice */
.why-card:nth-child(8) .why-card-art { max-width: 64%; object-position: 74% center; }
.why-card:hover .why-card-art { scale: 1.04; }

.why-card-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.why-card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: clamp(14px, 1.6vw, 22px);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px -12px rgba(40, 32, 20, 0.4);
  color: var(--accent);
}

.why-card-icon svg { width: 26px; height: 26px; }

.why-card-title {
  max-width: 88%;
  font-size: clamp(16px, 1.15vw, 19px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 10px;
}

.why-card-text {
  max-width: 78%;
  font-size: clamp(13.5px, 0.92vw, 15px);
  line-height: 1.5;
  color: var(--text-dim);
}

.why-card:nth-child(n + 7) .why-card-text { max-width: 56%; }

/* Featured card: deep forest, rain on glass */
.why-card--feature {
  background: var(--forest-deep);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 24px 48px -26px rgba(18, 63, 48, 0.7);
}

.why-card--feature .why-card-art {
  inset: 0;
  width: 100%;
  max-width: none;
  object-position: center;
  -webkit-mask-image: none;
  mask-image: none;
}

.why-card--feature .why-card-num { color: rgba(255, 255, 255, 0.72); }
.why-card--feature .why-card-title { color: #fff; }
.why-card--feature .why-card-text { color: rgba(255, 255, 255, 0.84); max-width: 80%; }

.why-card--feature .why-card-icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
  color: #fff;
}

.why-card-go {
  position: absolute;
  right: clamp(14px, 1.3vw, 20px);
  bottom: clamp(14px, 1.3vw, 20px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--forest-deep);
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s var(--ease-out);
}

.why-card-go:hover { transform: translateX(3px); }
.why-card-go svg { width: 16px; height: 16px; }

/* ---------- Specification bar ---------- */
.why-specs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(28px, 4vh, 40px);
  padding: 20px clamp(20px, 2.6vw, 44px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.4);
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  flex: 1;
  max-width: 1080px;
}

.why-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "icon value" "icon label";
  align-items: center;
  column-gap: 18px;
  row-gap: 4px;
  padding: 6px clamp(14px, 1.8vw, 32px);
  border-left: 1px solid var(--line-strong);
}

.why-stat:first-child { padding-left: 0; border-left: 0; }

.why-stat-icon { grid-area: icon; width: 40px; height: 40px; color: var(--accent); }

.why-stat-value {
  grid-area: value;
  align-self: end;
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--text);
}

.why-stat-label {
  grid-area: label;
  align-self: start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}

.why-cta { flex-shrink: 0; white-space: nowrap; }

/* ==========================================================================
   TECHNICAL SPECIFICATIONS — copy + spec table · annotated sheets · summary bar
   ========================================================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.specs {
  position: relative;
  padding: clamp(72px, 11vh, 128px) var(--gutter) clamp(56px, 9vh, 104px);
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.specs-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 2.5vw, 48px);
}

.specs-copy { position: relative; z-index: 1; }

.specs-title {
  font-weight: 800;
  font-size: clamp(2.4rem, 4.1vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--text);
  margin-bottom: clamp(20px, 3vh, 30px);
}

.specs-title em { font-style: normal; color: var(--accent); }

.specs-lede {
  max-width: 560px;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: clamp(28px, 4.5vh, 44px);
}

/* ---------- Spec table ---------- */
.specs-table {
  width: 100%;
  max-width: 660px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 48px -32px rgba(40, 32, 20, 0.3);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.45;
}

.specs-table th,
.specs-table td {
  padding: clamp(11px, 1.5vh, 14px) clamp(16px, 1.8vw, 28px);
  text-align: left;
  vertical-align: middle;
  border-top: 1px solid var(--line);
}

.specs-table tr:first-child > * { border-top: 0; }

.specs-table th {
  width: 36%;
  font-weight: 500;
  color: var(--text-dim);
  border-right: 1px solid var(--line);
}

.specs-table td { font-weight: 500; color: var(--text); }

.specs-table tr { transition: background 0.25s ease; }
.specs-table tbody tr:hover { background: var(--accent-wash); }

.specs-note {
  margin-top: 14px;
  padding-left: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Annotated sheets: the photo bleeds off the right edge and dissolves into the paper ---------- */
.specs-visual {
  position: relative;
  margin-right: calc(-1 * var(--gutter));
  margin-top: calc(-1 * clamp(72px, 11vh, 128px));
  margin-bottom: clamp(-120px, -7vw, -32px);
  align-self: start;
  aspect-ratio: 14 / 15;
}

.specs-visual img {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%), linear-gradient(180deg, transparent 0%, #000 9%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 15%), linear-gradient(180deg, transparent 0%, #000 9%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

/* Everything inside is placed in % of the 1400 × 1500 photo */
.specs-dims {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--text);
  transition: opacity 0.8s ease 0.7s;
}

.sr-ready .specs-visual:not(.is-in) .specs-dims { opacity: 0; }

.specs-dims svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.specs-dims path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

.specs-dim path { stroke-width: 1; opacity: 0.8; }

.specs-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.7);
}

.specs-label {
  position: absolute;
  font-size: clamp(12px, 1vw, 16px);
  line-height: 1.3;
  color: var(--text);
  white-space: nowrap;
}

.specs-label b { font-weight: 700; }
.specs-label span { display: block; }

.specs-label--height { left: 20.21%; top: 44.4%; transform: translate(-50%, -50%); text-align: center; }
.specs-label--width  { left: 30%; top: 72.13%; transform: translate(-50%, -50%) rotate(5.4deg); }

.specs-label--thick {
  left: 72.4%;
  top: 42.53%;
  text-shadow: 0 0 12px rgba(250, 246, 238, 0.9), 0 0 3px rgba(250, 246, 238, 0.9);
}

.specs-hand {
  position: absolute;
  right: 79.6%;
  top: 12.67%;
  font-family: var(--font-hand);
  font-size: clamp(17px, 1.45vw, 23px);
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--text);
}

/* ---------- Summary bar: sits over the foot of the photo ---------- */
.specs-bar {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 48px -32px rgba(40, 32, 20, 0.35);
}

.specs-bar .btn-primary:hover svg { transform: translateY(2px); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .hud { width: 270px; }
}

/* --------------------------------------------------------------------------
   MOBILE — one column story:
   copy + buttons  →  3D sheet with the thickness rail beside it  →  stats row
   .stage and .copy become display: contents so their children join the
   hero grid directly and can be placed in any order.
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .hero {
    height: auto;
    min-height: 100svh;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto auto auto minmax(300px, 46svh) auto;
    grid-template-areas:
      "header  header"
      "eyebrow eyebrow"
      "title   title"
      "lede    lede"
      "ctas    ctas"
      "model   rail"
      "stats   stats";
  }

  .site-header { grid-area: header; }
  .stage, .copy { display: contents; }

  .hero .eyebrow, .title, .lede, .ctas, .stats { margin-inline: var(--gutter); }

  .hero .eyebrow {
    grid-area: eyebrow;
    margin-top: 28px;
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 0.34em;
  }

  .title {
    grid-area: title;
    font-size: clamp(2.4rem, 11vw, 3.4rem);
    margin-bottom: 14px;
  }

  .lede {
    grid-area: lede;
    max-width: 520px;
    font-size: 15px;
    margin-bottom: 20px;
  }

  /* Both buttons share one row */
  .ctas {
    grid-area: ctas;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 4px;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    height: 50px;
    padding: 0 10px;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
  }

  .btn-primary svg { display: none; }
  .play-ring { width: 28px; height: 28px; }

  /* 3D sheet area; the board is positioned into this box from JS */
  .model-slot {
    display: block;
    grid-area: model;
    margin-left: var(--gutter);
  }

  /* HUD shrinks to its two actions, floating at the foot of the model area */
  .hud {
    grid-area: model;
    align-self: end;
    justify-self: start;
    width: auto;
    margin: 0 0 12px var(--gutter);
    padding: 5px;
    border-radius: 14px;
  }

  .hud-top, .hud-name, .hud-sub, .hud-hint { display: none; }
  .hud-actions { padding-top: 0; border-top: 0; gap: 2px; }
  .hud-toggle { min-height: 40px; font-size: 13px; }
  .hud-link { min-height: 40px; padding: 0 12px; font-size: 13px; }

  /* Thickness rail runs vertically beside the model */
  .rail {
    grid-area: rail;
    align-self: center;
    flex-direction: column;
    gap: 10px;
    padding: 0 var(--gutter) 0 10px;
  }

  .rail-title { padding-top: 0; font-size: 10px; letter-spacing: 0.22em; }

  .rail-items {
    display: flex;
    flex-direction: column;
    max-width: none;
    border-top: 0;
    border-left: 1px solid var(--line-strong);
  }

  .rail-item {
    min-height: 48px;
    padding: 10px 0 10px 14px;
    align-items: center;
  }

  .rail-num { font-size: 19px; }
  .rail-name { display: none; }

  /* While the materials are fanned out their bubbles stand in for the rail */
  .rail { transition: opacity 0.35s ease; }
  .hero.is-comparing .rail { opacity: 0.12; pointer-events: none; }

  .rail-progress {
    left: -1px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
  }

  .rail-progress i {
    width: 100%;
    transform: scaleY(var(--p, 0));
    transform-origin: top;
  }

  .rail-nav { display: none; }

  /* Four specs in one row under the model */
  .stats {
    grid-area: stats;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
    margin-top: 4px;
    margin-bottom: 26px;
    padding-top: 14px;
    border-top: 1px solid var(--line-strong);
  }

  .stat { padding: 0 8px; justify-content: flex-end; }   /* column-reverse: flex-end packs to the top, so values line up */
  .stat-value { font-size: clamp(15px, 4.4vw, 20px); white-space: nowrap; }
  .stat-label { font-size: 9.5px; letter-spacing: 0.08em; line-height: 1.3; }

  /* Keep the copy legible at the top and the stats at the bottom; let the room show in between */
  .scene-img { object-position: 64% 60%; }
  .scene-haze {
    background: linear-gradient(180deg,
      rgba(248, 246, 241, 0.95) 0%,
      rgba(248, 246, 241, 0.88) 42%,
      rgba(248, 246, 241, 0.15) 58%,
      rgba(248, 246, 241, 0.1) 80%,
      rgba(248, 246, 241, 0.92) 94%);
  }

  .hotspots { z-index: 25; }
  .hotspot-line { width: 14px; }
  .hotspot-label {
    max-width: 128px;
    white-space: normal;
    font-size: 11.5px;
    line-height: 1.3;
    padding: 5px 9px;
  }

  .drawer-specs-grid { grid-template-columns: 1fr 1fr; }
  .spec-drawer { bottom: 16px; padding: 20px; }
}

@media (max-width: 520px) {
  .brand-tag { display: none; }
  .brand-mark { font-size: 23px; }
  .btn-pill { padding: 0 16px; height: 44px; font-size: 14px; }
  .btn-pill svg { display: none; }
  .site-header { padding-block: 14px; }
}

@media (max-width: 360px) {
  .btn-primary, .btn-ghost { font-size: 13px; }
  .play-ring { display: none; }
  .stat { padding: 0 5px; }
}

/* ---------- Introduction ---------- */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: minmax(0, 1fr); }
  .intro-title br { display: none; }
  .intro-copy { max-width: 720px; }
}

@media (max-width: 860px) {
  .intro-band { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px; }
  .band-cell, .band-cell--end { justify-content: flex-start; padding: 0; }
  .band-cell p { max-width: none; }
  .band-center {
    order: -1;
    padding: 0 0 20px;
    text-align: left;
    border: 0;
    border-bottom: 1px solid var(--line-strong);
  }
}

@media (max-width: 600px) {
  .intro { padding-top: 56px; }
  .intro-frame { border-radius: 16px; }

  .intro-chip { gap: 10px; padding: 9px 14px 9px 11px; border-radius: 12px; }
  .intro-chip svg { width: 24px; height: 24px; }
  .intro-chip span { font-size: 9px; }

  .dim-label b { font-size: 12px; }
  .dim-label span { font-size: 8.5px; letter-spacing: 0.14em; }
  .dim-label--size { left: 54%; top: 60%; }
  .dim-label--thick { left: auto; right: 16%; top: 4.5%; text-align: right; }

  .intro-caption, .intro-arrows { display: none; }
  .intro-controls { left: 12px; right: 12px; bottom: 12px; }
  .intro-thumbs { width: 100%; gap: 6px; }
  .intro-thumb { border-radius: 6px; }

  /* Features become rows: icon beside its text */
  .intro-features { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .feature {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 16px;
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .feature:first-child { padding-top: 0; border-top: 0; }
  .feature-icon { grid-row: span 2; width: 32px; height: 32px; margin: 0; }
  .feature-title { margin-bottom: 4px; }

  .band-title { letter-spacing: 0.16em; }
  .band-sub { letter-spacing: 0.22em; }
}

/* ---------- Why DUROMAK ---------- */
@media (max-width: 1180px) {
  .why-grid { grid-template-columns: minmax(0, 1fr); }

  /* Copy on the left, photo beside it running off the right edge */
  .why-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(24px, 4vw, 56px);
  }
  .why-intro > :not(.why-visual) { grid-column: 1; }
  .why-visual {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: end;
    margin: 0 calc(-1 * var(--gutter)) 0 0;
    padding-top: 0;
  }
  .why-visual img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%), linear-gradient(270deg, #000 84%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%), linear-gradient(270deg, #000 84%, transparent 100%);
  }
  .why-note { inset: 0; }

  .why-specs { flex-direction: column; align-items: stretch; }
  .why-stats { max-width: none; }
  .why-cta { align-self: flex-start; }
}

@media (max-width: 860px) {
  .why-intro { display: flex; }
  .why-visual { margin: 20px calc(-1 * var(--gutter)) 0; padding-top: 0; }
  .why-visual img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  }

  .why-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-card, .why-card:nth-child(n + 7) { grid-column: auto; }
  .why-card:nth-child(n + 7) .why-card-art { max-width: 66%; }
  .why-card:nth-child(n + 7) .why-card-text { max-width: 78%; }
}

/* Four stats with nowrap labels no longer fit one row below this width */
@media (max-width: 1024px) {
  .why-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .why-stat:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 560px) {
  .why { padding-top: 56px; }
  .why-cards { grid-template-columns: minmax(0, 1fr); }
  .why-card { min-height: 0; }
  .why-card-text { max-width: 70%; }
  .why-card--feature .why-card-text { max-width: 78%; padding-right: 36px; }
  .why-note-text { font-size: 17px; }

  .why-specs { padding: 20px; }
  .why-stat { column-gap: 12px; padding: 4px 12px; }
  .why-stat-icon { width: 30px; height: 30px; }
  .why-stat-label { font-size: 9.5px; letter-spacing: 0.12em; white-space: normal; }
  .why-cta { align-self: stretch; justify-content: center; }
}

/* ---------- Technical specifications ---------- */
@media (max-width: 1024px) {
  .specs-grid { grid-template-columns: minmax(0, 1fr); }
  .specs-table { max-width: none; }
  .specs-visual {
    width: min(100% + 2 * var(--gutter), 720px);
    margin: 0 calc(-1 * var(--gutter)) clamp(-56px, -5vw, -24px);
    justify-self: center;
  }
  .specs-visual img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 9%, #000 86%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 9%, #000 86%, transparent 100%);
  }
}

@media (max-width: 560px) {
  .specs { padding-top: 56px; }
  .specs-title br { display: none; }
  .specs-table th, .specs-table td { padding: 11px 14px; }
  .specs-table th { width: 40%; }
  .specs-note { padding-left: 0; }

  .specs-label { font-size: 10.5px; }
  .specs-label--thick { left: 70.5%; }
  .specs-hand { right: auto; left: 3%; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .title .reveal { animation: none; opacity: 1; transform: none; }
  .specs-dims { transition: none; }
  .scene-img { animation: none; transition: none; }
  .sr-ready .sr { opacity: 1; transform: none; transition: none; }
  .intro-slide { transition: opacity 0.2s linear; scale: 1; }
  .dim-size, .dim-thick, .dim-label { transition: none; }
  .why-card, .why-card-art, .why-note { transition: none; }
}
