/* SS Auto Styling — white and blue */

:root {
  --white: #ffffff;
  --paper: #f4f7fc;
  --line: #dce3ee;
  --ink: #0e1a2b;
  --muted: #56657b;
  --blue: #1450d2;
  --blue-hover: #0f41ad;
  --blue-deep: #0b2e77;
  --blue-soft: #e6eefd;
  --focus: #ffb020;

  --radius-panel: 22px;
  --radius-card: 14px;
  --radius-btn: 10px;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue); }

h1, h2, h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-stretch: 115%;
}

/* Major headings in brand blue; smaller headings (h3, step titles) stay navy so these stand out */
h1, h2 { color: var(--blue); }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 760; }
h3 { font-size: 1.2rem; font-weight: 700; font-stretch: 105%; }

p { margin: 0; }

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

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

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute; left: 12px; top: -48px;
  background: var(--blue); color: var(--white);
  padding: 10px 14px; border-radius: var(--radius-btn);
  z-index: 100;
}
.skip:focus { top: 12px; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-small { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--blue-soft); }
.btn-light { background: var(--white); color: var(--blue-deep); }
.btn-light:hover { background: var(--blue-soft); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }

.link-btn {
  background: none; border: 0; padding: 4px 0;
  font: inherit; font-size: .95rem; font-weight: 600;
  color: var(--blue); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 68px;
}
.wordmark {
  display: inline-flex; align-items: baseline; gap: 8px;
  text-decoration: none; color: var(--ink);
}
.wordmark-ss {
  font-weight: 800; font-stretch: 125%;
  font-size: 1.45rem; letter-spacing: -0.03em;
  color: var(--blue);
}
.wordmark-rest { font-weight: 600; font-stretch: 100%; font-size: 1.02rem; }

.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a {
  color: var(--ink); text-decoration: none;
  font-weight: 550; font-size: .97rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--blue); }

@media (max-width: 860px) {
  .nav { display: none; }
  .header-inner .btn { margin-left: auto; }
}

/* ---------- Hero / configurator ---------- */

.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-copy h1 { max-width: 14ch; }
.lede {
  margin-top: 22px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.15rem;
}
.hero-facts {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; gap: 10px;
}
.hero-facts li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600;
}
.hero-facts li::before {
  content: ""; width: 22px; height: 3px; border-radius: 2px;
  background: var(--blue);
}

.configurator {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: clamp(16px, 2.5vw, 28px);
  min-width: 0;
}
/* Preview: two stacked canvases crossfade when a choice changes. Tap for a large view. */
.wheel-stage {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 10 / 9;
  padding: 0;
  border: 0;
  border-radius: calc(var(--radius-panel) - 8px);
  overflow: hidden;
  background: #e2e4e8;
  cursor: zoom-in;
}
.wheel-stage canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity .15s ease;
}
.wheel-stage canvas.is-front { opacity: 1; }
.wheel-stage:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.stage-zoom {
  position: absolute; right: 10px; bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: var(--ink);
  font-size: .75rem; font-weight: 650;
}
/* on phones the chip shrinks to an icon so the render note fits beside it */
@media (max-width: 520px) {
  .stage-zoom { width: 30px; height: 30px; padding: 0; font-size: 0; display: grid; place-items: center; }
  .stage-zoom::before {
    content: ""; width: 14px; height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230e1a2b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='6.5' cy='6.5' r='4.5'/%3E%3Cpath d='M10 10l4.5 4.5M6.5 4.5v4M4.5 6.5h4'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}
@media (prefers-reduced-motion: reduce) { .wheel-stage canvas { transition: none; } }

/* Real close-up of the current choice */
.closeup {
  display: flex; align-items: center; gap: 12px;
  margin-top: 12px;
}
.closeup-btn {
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  overflow: hidden;
  background: var(--white);
  cursor: zoom-in;
}
.closeup-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.closeup-btn img { display: block; height: 76px; width: auto; max-width: 150px; object-fit: cover; }
.closeup-caption { font-size: .88rem; font-weight: 600; color: var(--ink); }
.preview-note { margin-top: 10px; font-size: .8rem; color: var(--muted); }

/* Large view */
.lightbox {
  width: min(92vw, 860px);
  max-height: 92vh;
  padding: 18px;
  border: 0;
  border-radius: var(--radius-card);
  background: var(--white);
  color: var(--ink);
}
.lightbox::backdrop { background: rgba(14,26,43,.72); }
.lightbox-close {
  position: absolute; right: 10px; top: 8px;
  width: 36px; height: 36px;
  border: 0; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
}
.lightbox-close:focus-visible { outline: 3px solid var(--focus); }
.lightbox-body { margin-top: 30px; }
.lightbox-canvas { display: block; width: 100%; height: auto; border-radius: var(--radius-btn); }
.lightbox-photo { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: var(--radius-btn); }
.lightbox-caption { margin-top: 12px; color: var(--muted); font-size: .92rem; text-align: center; }

.step-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin-top: 20px;
}
.step-title { font-size: 1.35rem; font-weight: 760; font-stretch: 110%; }
.step-title:focus { outline: none; }
.step-title:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.step-current { margin-top: 4px; color: var(--muted); font-size: .93rem; }
.step-total {
  flex: 0 0 auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 700; font-size: .9rem; color: var(--blue-deep);
  white-space: nowrap;
}
.step-hint { margin-top: 10px; font-size: .93rem; color: var(--ink); }
.step-body { margin-top: 16px; min-width: 0; }

/* Option cards: a swipeable row on phones, wrapping on wider screens */
.cards {
  display: flex; gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 3px 3px 10px;
  margin: -3px -3px 0;
  scrollbar-width: thin;
}
@media (min-width: 600px) {
  .cards { flex-wrap: wrap; overflow-x: visible; }
}
.card {
  position: relative;
  flex: 0 0 auto;
  width: 112px;
  min-height: 128px;
  display: grid; justify-items: center; align-content: start; gap: 8px;
  padding: 14px 8px 12px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  color: var(--ink);
  font: inherit; font-size: .86rem; font-weight: 620; line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.card:hover { border-color: var(--blue); }
.card[aria-disabled="true"] { opacity: .45; cursor: not-allowed; background: var(--paper); }
.card[aria-disabled="true"]:hover { border-color: var(--line); }
.step-note { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.card[aria-pressed="true"] {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
  background: var(--blue-soft);
}
.card[aria-pressed="true"]::after {
  content: "";
  position: absolute; left: 8px; top: 8px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.card:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-card); }
.card-visual { display: grid; place-items: center; height: 56px; }
.card-visual svg { height: 44px; width: auto; max-width: 92px; }
.card-visual .paddle-svg { height: 56px; max-width: 60px; }
.card-photo {
  width: 56px; height: 56px;
  border-radius: 10px;
  object-fit: cover;
  outline: 1px solid rgba(14,26,43,.14); outline-offset: -1px;
}
.price-chip {
  position: absolute; right: 6px; top: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--blue); color: var(--white);
  font-size: .72rem; font-weight: 700;
}

.car-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.car-hint { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; }
@media (max-width: 520px) { .car-fields { grid-template-columns: 1fr; } }

.yesno + .yesno { margin-top: 14px; }
.yesno-q { font-weight: 650; font-size: .95rem; margin-bottom: 8px; }
.yesno-hint { margin: -2px 0 10px; color: var(--muted); font-size: .88rem; max-width: 60ch; }

.step-error {
  margin-top: 12px;
  background: #fdecec; color: #8f1d22;
  padding: 10px 14px; border-radius: var(--radius-btn);
  font-weight: 560; font-size: .93rem;
}

.summary {
  margin-top: 18px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.summary-title { margin: 0 0 10px; font-size: 1rem; font-weight: 750; }
.summary-list {
  margin: 0;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px;
  font-size: .9rem;
}
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--line);
  font-weight: 650;
}
.summary-total strong { font-size: 1.15rem; color: var(--blue-deep); }
.summary-note { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.summary-discount { margin-top: 8px; color: #17603a; font-weight: 650; font-size: .92rem; }
.summary-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.copy-status { color: var(--blue-deep); font-weight: 600; font-size: .9rem; }

.step-nav {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.step-nav .btn[disabled] { visibility: hidden; }
.step-counter-wrap { justify-self: center; }
.step-counter {
  white-space: nowrap;
  font: inherit; font-weight: 700; font-size: .95rem;
  padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink);
  cursor: pointer;
}
.step-counter::after {
  content: ""; display: inline-block; margin-left: 8px;
  width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.step-counter[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.step-counter:hover { border-color: var(--blue); }
.step-list {
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translateX(-50%);
  width: min(320px, 86vw);
  max-height: min(420px, 60vh); overflow-y: auto;
  margin: 0; padding: 6px; list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 18px 40px rgba(11,46,119,.18);
  z-index: 20;
}
.step-list button {
  width: 100%;
  display: grid; grid-template-columns: 26px minmax(0, 1fr) 18px; align-items: center; gap: 10px;
  padding: 8px 10px;
  border: 0; border-radius: var(--radius-btn);
  background: none; color: var(--ink);
  font: inherit; text-align: left;
  cursor: pointer;
}
.step-list button:hover { background: var(--paper); }
.step-list button[aria-current="step"] { background: var(--blue-soft); }
.sl-num {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  font-size: .8rem; font-weight: 700;
}
.sl-text { display: grid; min-width: 0; }
.sl-title { font-weight: 650; font-size: .92rem; }
.sl-choice { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-tick {
  width: 16px; height: 9px;
  border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: translateY(-2px) rotate(-45deg);
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .step-head { flex-direction: column; gap: 8px; }
  .step-nav.is-last { grid-template-columns: auto 1fr; }
  .step-nav.is-last #step-next { grid-column: 1 / -1; }
  .summary-list { grid-template-columns: 1fr; gap: 0; }
  .summary-list dd { margin-bottom: 8px; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tint { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 32px; }
.section-head p { margin-top: 12px; color: var(--muted); }

/* ---------- Chassis filter + products ---------- */

.chassis-filter {
  display: flex; gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 28px;
  scrollbar-width: thin;
}
.chip {
  flex: 0 0 auto;
  font: inherit; font-size: .92rem; font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white); color: var(--ink);
  cursor: pointer;
}
.chip:hover { border-color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.product {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  overflow: hidden;
}
.product-custom { border: 2px dashed var(--blue); }
.product-media {
  background: var(--paper);
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
}
.product-media canvas { width: 100%; height: auto; display: block; }
.product-body {
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 18px 20px;
  flex: 1;
}
.tag {
  align-self: flex-start;
  font-size: .8rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
}
.tag-stock { background: var(--blue-soft); color: var(--blue-deep); }
.tag-order { background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.product-detail { color: var(--muted); font-size: .95rem; }
.product-fits { font-size: .88rem; color: var(--muted); }
.product-fits span { font-weight: 700; color: var(--ink); margin-right: 4px; }
.product-price { font-weight: 750; font-size: 1.08rem; margin-top: auto; padding-top: 8px; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }

.empty-state, .stock-soon {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-card);
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 560;
}

/* ---------- Split layouts ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split > div > p { margin-top: 14px; color: var(--muted); max-width: 52ch; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; font-weight: 560; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 16px; height: 9px;
  border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg);
}

/* Paddle video box: 16:9, or a narrower 9:16 frame for vertical phone videos */
.paddle-video { margin: 28px 0 0; max-width: 52ch; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #0d1420;
}
.video-frame.is-vertical { aspect-ratio: 9 / 16; width: min(100%, 300px); margin: 0 auto; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #0d1420; }
.video-frame.is-placeholder {
  display: grid; place-content: center; justify-items: center; gap: 14px;
  padding: 16px; text-align: center;
  background: radial-gradient(circle at 50% 40%, #1d2a40, #0d1420 70%);
}
.video-play {
  position: relative;
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.75);
}
.video-play::after {
  content: ""; position: absolute; top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border: 13px solid transparent; border-left: 20px solid var(--white); border-right: 0;
}
.video-soon { color: rgba(255,255,255,.88); font-weight: 650; font-size: .95rem; }
/* Carousel: one video at a time; the box takes the shape of the current video */
.vc { position: relative; border-radius: var(--radius-card); }
.vc:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.vc.is-vertical { width: min(100%, 300px); margin: 0 auto; }
.vc-viewport {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: #0d1420;
  touch-action: pan-y;               /* sideways swipes switch videos, up/down scrolls the page */
}
.vc.is-vertical .vc-viewport { aspect-ratio: 9 / 16; }
.vc-track {
  --i: 0;
  display: flex; height: 100%;
  transform: translateX(calc(var(--i) * -100%));
  transition: transform .35s ease;
}
.vc-slide { flex: 0 0 100%; height: 100%; min-width: 0; }
.vc .video-frame { aspect-ratio: auto; width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; }
.vc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; padding: 0;
  border-radius: 50%; border: 0;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(11,46,119,.3);
  cursor: pointer;
}
.vc-prev { left: 10px; }
.vc-next { right: 10px; }
.vc-arrow::before {                  /* chevron in brand blue */
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 11px; height: 11px;
  border-top: 3px solid var(--blue); border-right: 3px solid var(--blue);
  transform: translate(-65%, -50%) rotate(45deg);
}
.vc-prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.vc-arrow:hover { background: var(--blue-soft); }
.vc-arrow:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.vc-foot { display: grid; justify-items: center; gap: 6px; margin-top: 10px; }
.vc-dots { display: flex; gap: 4px; }
.vc-dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.vc-dot::before {
  content: ""; display: block; width: 10px; height: 10px; margin: 7px auto;
  border-radius: 50%; border: 2px solid var(--blue); background: transparent;
}
.vc-dot[aria-current="true"]::before { background: var(--blue); }
.vc-dot:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.vc-caption { color: var(--muted); font-size: .93rem; text-align: center; }
@media (prefers-reduced-motion: reduce) { .vc-track { transition: none; } }

.paddle-finishes {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px;
}
.finish {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 14px 6px 10px;
  text-align: center;
}
.finish svg { display: block; width: 70%; height: auto; aspect-ratio: 1 / 2.4; margin: 0 auto 10px; }
.finish figcaption { font-weight: 650; font-size: .92rem; }
@media (max-width: 520px) { .paddle-finishes { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Steps ---------- */

.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding-top: 20px;
  border-top: 3px solid var(--blue);
}
.steps li::before {
  content: counter(step);
  display: block;
  font-size: 2.6rem; font-weight: 800; font-stretch: 125%;
  line-height: 1; color: var(--blue);
  margin-bottom: 14px;
}
.steps p { margin-top: 10px; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Builds ---------- */

.builds {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.build { margin: 0; }

/* Before/after slider: the "after" photo fills the frame, the "before" photo sits on top and is
   clipped at --pos (set by script.js), with a divider and a round handle there. */
.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--paper);
  touch-action: pan-y;                 /* sideways drags move the slider, up/down still scrolls */
  user-select: none; -webkit-user-select: none;
  cursor: ew-resize;
}
.ba-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 3px; transform: translateX(-50%);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(14,26,43,.18);
  pointer-events: none;
}
.ba-handle {
  position: absolute; top: 50%; left: var(--pos);
  width: 44px; height: 44px; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255,255,255,.95);              /* solid enough to read on any photo */
  border: 2px solid rgba(20,80,210,.35);
  box-shadow: 0 3px 12px rgba(10,20,40,.35), 0 1px 3px rgba(10,20,40,.25);
  cursor: ew-resize;
}
.ba-handle::before, .ba-handle::after {          /* left and right arrows */
  content: ""; position: absolute; top: 50%;
  width: 0; height: 0;
  border: 6px solid transparent;
  transform: translateY(-50%);
}
.ba-handle::before { left: 7px; border-right: 8px solid var(--blue); border-left: 0; }
.ba-handle::after { right: 7px; border-left: 8px solid var(--blue); border-right: 0; }
.ba-handle:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.ba-label {
  position: absolute; top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(14,26,43,.72); color: var(--white);
  font-size: .78rem; font-weight: 700;
  pointer-events: none;
  transition: opacity .15s ease;
}
.ba-label.is-covered { opacity: 0; }         /* the divider is over it (script.js measures) */
@media (prefers-reduced-motion: reduce) { .ba-label { transition: none; } }
.ba-label-before { left: 10px; }
.ba-label-after { right: 10px; }
/* until the photos arrive: placeholder with the slider parts greyed out */
.ba.is-empty .build-placeholder { position: absolute; inset: 0; border-radius: inherit; place-items: end center; padding-bottom: 14px; }
.ba.is-empty .build-placeholder span {     /* clear of the divider and handle in the middle */
  position: relative; z-index: 1;           /* above the divider line */
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: .88rem;
}
.ba.is-empty .ba-line { background: #c4ccd8; box-shadow: none; }
.ba.is-empty .ba-label { background: rgba(86,101,123,.45); }
.build-placeholder {
  display: grid; place-items: center;
  padding: 0 24px; text-align: center;
  background: repeating-linear-gradient(135deg, var(--blue-soft) 0 14px, var(--white) 14px 28px);
  border: 1px solid var(--line);
  color: var(--blue-deep); font-weight: 650;
}
.build figcaption { margin-top: 10px; display: grid; }
.build figcaption span { color: var(--muted); font-size: .93rem; }

/* ---------- FAQ ---------- */

.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); }
@media (max-width: 820px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 40px 18px 0;
  font-weight: 680; font-size: 1.08rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 60ch; }

/* ---------- Quote ---------- */

.quote {
  background: var(--blue-deep);
  color: var(--white);
  padding: clamp(56px, 8vw, 104px) 0;
}
.quote .split { align-items: start; }
.quote h2 { color: var(--white); }                  /* on the dark blue band */
.quote .quote-copy p { color: rgba(255,255,255,.85); }
.contact-list {
  margin: 28px 0 0;
  display: grid; grid-template-columns: auto 1fr; gap: 8px 20px;
}
.contact-list dt { font-weight: 700; }
.contact-list dd { margin: 0; color: rgba(255,255,255,.85); }
.contact-list a { color: var(--white); }

.quote-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  background: var(--white); color: var(--ink);
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-panel);
}
.field { display: grid; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 650; font-size: .93rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem;
  padding: 11px 12px;
  border: 1px solid #c3cddc;
  border-radius: var(--radius-btn);
  background: var(--white); color: var(--ink);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20,80,210,.2);
}
.form-error {
  grid-column: 1 / -1;
  background: #fdecec; color: #8f1d22;
  padding: 10px 14px; border-radius: var(--radius-btn);
  font-weight: 560; font-size: .95rem;
}
.req {
  margin-left: 6px; padding: 1px 7px;
  border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep);
  font-size: .72rem; font-weight: 700; vertical-align: 1px;
}
.field-error { color: #a1232a; font-size: .86rem; font-weight: 600; }
.field-note { color: #7a5a06; background: #fff6dc; border-radius: 8px; padding: 6px 10px; font-size: .86rem; font-weight: 600; }
.opt {
  margin-left: 6px; padding: 1px 7px;
  border-radius: 999px; background: var(--paper); color: var(--muted); border: 1px solid var(--line);
  font-size: .72rem; font-weight: 700; vertical-align: 1px;
}
/* "Where should we fit it?" */
.fit-choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.fit-choice legend { padding: 0; margin-bottom: 6px; font-weight: 650; font-size: .93rem; }
.fit-options { display: flex; flex-wrap: wrap; gap: 10px; }
.fit-option {
  flex: 1 1 160px;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px;
  border: 1px solid #c3cddc; border-radius: var(--radius-btn);
  font-weight: 600; cursor: pointer;
}
.fit-option:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: var(--blue-soft); }
.fit-option input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }
.fit-choice[aria-invalid="true"] .fit-option { border-color: #c2353b; }
/* address: opens smoothly (grid rows 0fr -> 1fr) when "We come to you" is chosen */
.address-wrap { display: grid; grid-template-rows: 0fr; margin-top: -16px; opacity: 0; transition: grid-template-rows .3s ease, opacity .3s ease, margin-top .3s ease; }
.address-wrap.is-open { grid-template-rows: 1fr; margin-top: 0; opacity: 1; }   /* closed: no extra gap in the form grid */
.address-inner { min-height: 0; overflow: hidden; }
.address {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px;
  margin: 2px 0 0; padding: 14px 16px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-card);
  background: var(--paper); min-width: 0;
}
.address legend { padding: 0 6px; font-weight: 700; font-size: .93rem; }
@media (max-width: 560px) { .address { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .address-wrap { transition: none; } }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c2353b; box-shadow: 0 0 0 2px rgba(194,53,59,.15); }
.honeypot { display: none !important; }
/* "Have a discount code?": closed by default */
.discount summary {
  display: inline-flex; align-items: center; gap: 8px;
  list-style: none; cursor: pointer;
  font-weight: 650; font-size: .93rem; color: var(--blue);
  border-radius: 6px;
}
.discount summary::-webkit-details-marker { display: none; }
.discount summary::after {
  content: ""; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.discount[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.discount summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.discount-body { display: grid; gap: 8px; margin-top: 10px; }
.discount-body label { font-weight: 650; font-size: .93rem; }
.discount-row { display: flex; gap: 10px; }
.discount-row input {
  flex: 1 1 auto; min-width: 0;
  font: inherit; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 9px 12px; border: 1px solid #c3cddc; border-radius: var(--radius-btn);
}
.discount-row input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,80,210,.2); }
.code-msg { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; font-weight: 600; border-radius: 8px; padding: 8px 10px; }
.code-msg.is-ok { background: #e7f6ec; color: #17603a; }
.code-msg.is-ok::before {
  content: ""; flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%;
  background: #1f8a4c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.2L11.6 5.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.code-msg.is-ended, .code-msg.is-unknown { background: #fff6dc; color: #7a5a06; }
.code-small { color: var(--muted); font-size: .82rem; }
.captcha { min-height: 78px; }
.form-privacy { color: var(--muted); font-size: .86rem; flex-basis: 100%; }
.form-actions .btn[disabled] { opacity: .7; cursor: progress; }
.form-done {
  background: var(--white); color: var(--ink);
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-panel);
}
.form-done:focus { outline: none; }
.form-done h3 { font-size: 1.3rem; margin-bottom: 8px; }
.quote .form-done p { color: var(--ink); margin-top: 0; max-width: none; }
.form-done p + p { margin-top: 10px; }
.form-done a { color: var(--blue); overflow-wrap: anywhere; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-actions .btn-light { background: var(--blue); color: var(--white); }
.form-actions .btn-light:hover { background: var(--blue-hover); }
.form-actions .btn-outline-light { border-color: var(--blue); color: var(--blue); }
.form-actions .btn-outline-light:hover { background: var(--blue-soft); }
@media (max-width: 560px) { .quote-form { grid-template-columns: 1fr; } }

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

.site-footer { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr auto; gap: 28px; align-items: start; }
.footer-inner p { color: var(--muted); font-size: .92rem; }
.wordmark-footer { margin-bottom: 6px; }
.tagline {
  margin: 0 0 28px; padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: clamp(1.35rem, 3.2vw, 1.9rem); font-weight: 760; font-stretch: 110%;
  line-height: 1.2;
}
@media (max-width: 820px) { .tagline { text-align: center; } }
.disclaimer { max-width: 62ch; }
/* "Contact us" drop-down under the brand block: opens smoothly (grid rows 0fr -> 1fr) */
.footer-contact { margin-top: 16px; }
.footer-contact-chevron { transition: transform .2s ease; }
.footer-contact-btn[aria-expanded="true"] .footer-contact-chevron { transform: rotate(180deg); }
.footer-contact-wrap { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .25s ease, opacity .25s ease; }
.footer-contact-wrap.is-open { grid-template-rows: 1fr; opacity: 1; }
.footer-contact-inner { min-height: 0; overflow: hidden; }
.footer-contact-panel {
  margin-top: 10px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-card);
  background: var(--paper); max-width: 340px;
}
.footer-inner .footer-contact-label { color: var(--ink); font-weight: 700; font-size: .85rem; }
.footer-contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 2px 0 6px; }
.footer-contact-email { font-weight: 650; overflow-wrap: anywhere; }
.footer-contact-copy {
  padding: 3px 10px; min-height: 30px;
  border: 1px solid var(--blue); border-radius: 8px;
  background: var(--white); color: var(--blue);
  font: inherit; font-size: .82rem; font-weight: 650; cursor: pointer;
}
.footer-contact-copy:hover { background: var(--blue-soft); }
.footer-inner .footer-contact-note { font-size: .85rem; }
@media (prefers-reduced-motion: reduce) { .footer-contact-wrap, .footer-contact-chevron { transition: none; } }
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr; } }

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