:root {
  --ink: #11110f;
  --paper: #ffffff;
  --cream: #e8e6e0;
  --red: #cc1420;
  --orange: #cc1420;
  --blue: #1a4db5;
  --muted: #9a978d;
  --line: rgba(17, 17, 15, 0.12);
  --page-grad: linear-gradient(to bottom, #b2b6ba 0%, #72767b 18%, #42454a 38%, #22242a 58%, #111316 78%, #0a0a0a 100%);
  --on-dark: rgba(255, 255, 255, 0.92);
  --on-dark-muted: rgba(255, 255, 255, 0.62);
  --dark-line: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(18, 20, 24, 0.68);
  --glass-bg-light: rgba(255, 255, 255, 0.05);
  --display: "Oswald", Impact, sans-serif;
  --body: "DM Sans", Arial, sans-serif;

  /* Titanium material tokens */
  --ti-grad: linear-gradient(160deg, #c4c8cf 0%, #888a8e 28%, #64666a 52%, #8d9096 78%, #bbbfc6 100%);
  --ti-grad-accent: linear-gradient(160deg, #e03528 0%, #b51020 28%, #8e0d1a 52%, #be1e28 78%, #d42f2e 100%);
  --ti-shine: rgba(255, 255, 255, 0.54);
  --ti-shadow-rest: 0 2px 5px rgba(0,0,0,0.28), 0 5px 18px rgba(0,0,0,0.32);
  --ti-shadow-hover: 0 8px 24px rgba(0,0,0,0.44), 0 14px 40px rgba(0,0,0,0.36);
  --ti-shadow-active: 0 1px 3px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.18);
  --ti-easing: cubic-bezier(0.2, 0, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--on-dark);
  background: var(--page-grad);
  background-attachment: fixed;
  font-family: var(--body);
  overflow-x: hidden;
}

/* ─── INTRO SPLASH ─────────────────────────────────────────────────────────── */
#intro-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #0a0a08;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

#intro-splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/engine-scroll-poster.jpg') center / cover no-repeat;
  opacity: 0.08;
}

.intro-splash__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.intro-splash__logo {
  width: 108px;
  height: auto;
  opacity: 0;
  animation: splash-fade-in 0.55s ease 0.15s forwards;
}

.intro-splash__tagline {
  margin: 0;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.42);
  opacity: 0;
  animation: splash-fade-in 0.5s ease 0.45s forwards;
}

.intro-splash__divider {
  width: 28px;
  height: 1px;
  background: rgba(204, 20, 32, 0.6);
  opacity: 0;
  animation: splash-fade-in 0.4s ease 0.68s forwards;
}

.intro-splash__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  text-align: left;
}

.intro-splash__facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.48);
  opacity: 0;
  transform: translateY(7px);
  animation: splash-fact-in 0.5s ease forwards;
}

.intro-splash__facts li:nth-child(1) { animation-delay: 0.9s; }
.intro-splash__facts li:nth-child(2) { animation-delay: 1.55s; }
.intro-splash__facts li:nth-child(3) { animation-delay: 2.2s; }
.intro-splash__facts li:nth-child(4) { animation-delay: 2.85s; }

.splash-bullet {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  opacity: 0.9;
}

.splash-phone {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.splash-phone:hover {
  color: var(--red);
}

@keyframes splash-fact-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-splash__bar {
  width: 100px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  margin-top: 4px;
  animation: splash-fade-in 0.4s ease 3.4s forwards;
}

.intro-splash__fill {
  height: 100%;
  width: 0%;
  background: var(--red);
  border-radius: 2px;
  /* Fills over exactly 4 s, matching the JS minimum timer */
  animation: splash-fill 4s cubic-bezier(0.4, 0, 0.6, 1) 0.7s forwards;
}

@keyframes splash-fade-in {
  to { opacity: 1; }
}

@keyframes splash-fill {
  to { width: 100%; }
}

/* Slide the whole overlay up to reveal the site */
#intro-splash.is-leaving {
  animation: splash-exit 0.55s cubic-bezier(0.76, 0, 1, 1) forwards;
  pointer-events: none;
}

@keyframes splash-exit {
  0%   { transform: translateY(0);     opacity: 1; }
  100% { transform: translateY(-100%); opacity: 1; }
}

#intro-splash.is-gone {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  #intro-splash.is-leaving {
    animation: splash-exit-fade 0.3s ease forwards;
  }
  @keyframes splash-exit-fade {
    to { opacity: 0; }
  }
}
/* ────────────────────────────────────────────────────────────────────────────── */

a {
  color: inherit;
  text-decoration: none;
}

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

.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  padding: 0 4vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.35s ease, height 0.35s ease, color 0.35s ease;
}

.site-header.is-solid {
  height: 76px;
  color: white;
  background: rgba(14, 14, 12, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  height: 70px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  animation:
    logo-entrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) both,
    logo-pulse 4s ease-in-out 1s infinite;
  transform-origin: center center;
}

.desktop-nav {
  display: flex;
  gap: 34px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  position: absolute;
  content: "";
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

/* ── Google Translate banner suppression ─────────────────────────────────── */
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

.goog-te-menu-value:hover {
  text-decoration: none !important;
}

body {
  top: 0 !important;
}

.skiptranslate {
  display: none !important;
}

#google_translate_element {
  display: none !important;
}

/* ── Header right grouping ───────────────────────────────────────────────── */
.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 0;
}

/* ── Language toggle button ──────────────────────────────────────────────── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px 5px 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.82);
  font: 600 10px/1 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--orange);
  color: white;
}

.lang-toggle.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

.lang-toggle__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.lang-toggle__label {
  line-height: 1;
}

/* ── Header CTA (phone) ──────────────────────────────────────────────────── */
.header-cta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}

.header-cta span {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
}

.header-cta strong {
  font: 500 18px/1 var(--display);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.scroll-story {
  height: 130vh;
  background: #080a0b;
}

.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  color: white;
}

.story-media,
.story-media canvas,
.story-media video,
.media-vignette,
.media-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story-media {
  background: #080a0b;
  transform-origin: center center;
  will-change: transform;
}

.story-media canvas,
.story-media video {
  object-fit: cover;
  object-position: center;
}

.story-media canvas,
.story-media video {
  z-index: 2;
  display: block;
  filter: saturate(0.82) contrast(1.08);
  will-change: transform;
}

.story-media canvas {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.story-media video {
  opacity: 1;
  transition: opacity 0.6s ease;
}

.story-media canvas.is-ready,
.story-media video.is-ready {
  opacity: 1;
}

.story-poster-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url('assets/engine-scroll-poster.jpg') center / cover no-repeat;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.story-poster-overlay.is-fading {
  opacity: 0;
}

.story-poster-overlay__spinner {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  animation: story-spinner 0.85s linear infinite;
}

@keyframes story-spinner {
  to { transform: translateX(-50%) rotate(360deg); }
}

.story-poster-overlay.is-fading .story-poster-overlay__spinner,
.story-poster-overlay.is-error .story-poster-overlay__spinner {
  display: none;
}

.media-vignette {
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(4, 5, 5, 0.9) 0%, rgba(4, 5, 5, 0.3) 35%, transparent 58%, rgba(4, 5, 5, 0.42) 100%),
    linear-gradient(0deg, rgba(4, 5, 5, 0.82) 0%, transparent 38%, rgba(4, 5, 5, 0.48) 100%);
  will-change: opacity;
}

.media-grid {
  z-index: 4;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  will-change: transform;
}

@keyframes grid-pulse {
  0%   { opacity: 0.08; }
  18%  { opacity: 0.28; }
  100% { opacity: 0.08; }
}

.story-sticky.is-transitioning .media-grid {
  animation: grid-pulse 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-topline {
  position: absolute;
  z-index: 5;
  top: clamp(100px, 12vh, 130px);
  left: 4vw;
  right: 4vw;
  display: flex;
  justify-content: space-between;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow i {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--orange);
}

.eyebrow--dark {
  color: var(--on-dark-muted);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-chapter-count {
  font: 400 12px/1 var(--display);
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  white-space: nowrap;
}

.header-chapter-count b {
  color: var(--orange);
  font-weight: 400;
}

.story-copy {
  position: relative;
  z-index: 5;
  height: 100%;
}

.story-chapter {
  position: absolute;
  top: 50%;
  left: 4vw;
  width: min(570px, 46vw);
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.22s ease,
    filter 0.15s ease;
  filter: blur(7px);
}

.story-chapter--right {
  right: 4vw;
  left: auto;
  text-align: right;
}

.story-chapter--right .chapter-description,
.story-chapter--right .button {
  margin-left: auto;
}

.story-chapter--high {
  top: 38%;
}

.story-chapter--mid {
  top: 50%;
}

.story-chapter--low {
  top: 62%;
}

.story-chapter.is-active {
  opacity: 1;
  transform: translate3d(0, -44%, 0);
  pointer-events: auto;
  filter: blur(0);
  transition:
    opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.32s ease;
  transition-delay: 0.04s;
}

.chapter-label {
  margin: 0 0 18px;
  max-width: 38ch;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  color: var(--orange);
  font: 500 11px/1.3 var(--display);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.story-chapter h1,
.story-chapter h2 {
  margin: 0;
  font: 500 clamp(62px, 7.5vw, 132px)/0.84 var(--display);
  letter-spacing: -0.055em;
  text-transform: uppercase;
  -webkit-text-stroke: 2px rgba(0, 0, 0, 0.92);
  paint-order: stroke fill;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.chapter-description {
  max-width: 410px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

.chapter-subtext {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.button {
  position: relative;
  overflow: hidden;
  display: flex;
  width: fit-content;
  min-width: 220px;
  margin-top: 28px;
  padding: 18px 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  background: var(--ti-grad);
  color: #fff;
  border: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  box-shadow:
    inset 0 1px 0 var(--ti-shine),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    var(--ti-shadow-rest);
  transition:
    transform 0.32s var(--ti-easing),
    box-shadow 0.32s var(--ti-easing);
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.36) 50%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.button:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 var(--ti-shine),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    var(--ti-shadow-hover);
}

.button:hover::after {
  transform: translateX(120%);
}

.button:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 var(--ti-shine),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    var(--ti-shadow-active);
}

.button--orange,
.button--red {
  background: var(--ti-grad-accent);
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255, 140, 130, 0.52),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 2px 5px rgba(170, 18, 28, 0.38),
    0 5px 18px rgba(170, 18, 28, 0.42);
}

.button--orange:hover,
.button--red:hover {
  background: var(--ti-grad-accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 140, 130, 0.52),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 8px 24px rgba(170, 18, 28, 0.52),
    0 14px 40px rgba(170, 18, 28, 0.4);
}

.button--orange:active,
.button--red:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 140, 130, 0.52),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 1px 3px rgba(170, 18, 28, 0.32),
    0 2px 6px rgba(170, 18, 28, 0.26);
}

.button--ghost {
  background: rgba(190, 195, 205, 0.08);
  color: rgba(255, 255, 255, 0.88);
  border: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(210, 215, 225, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    var(--ti-shadow-rest);
}

.button--ghost:hover {
  background: rgba(190, 195, 205, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 0 0 1px rgba(210, 215, 225, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    var(--ti-shadow-hover);
}

.button--ghost:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 0 0 1px rgba(210, 215, 225, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    var(--ti-shadow-active);
}

.button span {
  font-size: 17px;
}

.scroll-meter {
  position: absolute;
  z-index: 5;
  right: 4vw;
  bottom: 32px;
  left: 4vw;
  display: flex;
  align-items: center;
  gap: 20px;
}

.scroll-meter > span {
  flex: 0 0 auto;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
}

.scroll-meter__track {
  position: relative;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.scroll-meter__track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--orange);
}

.trust-strip {
  padding: 18px 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--on-dark-muted);
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid var(--dark-line);
  flex-wrap: wrap;
}

.trust-strip__label,
.trust-strip__stat {
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.trust-strip__marquee-wrap {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.trust-strip__marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-brands 24s linear infinite;
}

@keyframes marquee-brands {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.trust-strip__brands {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
}

.trust-strip__brands strong {
  color: var(--on-dark);
  font: 500 15px/1 var(--display);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.trust-strip__brands i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.section {
  padding: 140px 6vw;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10vw;
  align-items: end;
}

.section-heading h2,
.process-copy h2,
.about-copy h2,
.final-cta h2 {
  margin: 18px 0 0;
  font: 500 clamp(58px, 7vw, 112px)/0.9 var(--display);
  letter-spacing: -0.05em;
}

h2 em {
  color: var(--orange);
  font-style: normal;
}

.section-intro {
  max-width: 460px;
  margin: 0 0 5px;
  color: var(--on-dark-muted);
  font-size: 16px;
  line-height: 1.8;
}

.quote-tool {
  margin-top: 75px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  color: var(--on-dark);
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 4px solid var(--red);
  border: 1px solid var(--dark-line);
  border-top: 4px solid var(--red);
}

.quote-tool__intro {
  padding: 58px 48px;
  background:
    linear-gradient(145deg, rgba(204, 20, 32, 0.12), transparent 45%),
    rgba(12, 13, 16, 0.55);
  border-right: 1px solid var(--dark-line);
}

.quote-tool__intro h3 {
  margin: 28px 0 24px;
  font: 500 clamp(48px, 5vw, 76px)/0.9 var(--display);
  letter-spacing: -0.045em;
}

.quote-tool__intro > p:not(.eyebrow) {
  max-width: 410px;
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 14px;
  line-height: 1.8;
}

.quote-tool__intro ul {
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.quote-tool__intro li {
  padding: 14px 0;
  color: var(--on-dark-muted);
  border-top: 1px solid var(--dark-line);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quote-tool__intro li strong {
  color: var(--on-dark);
}

/* ─── DIAGNOSTIC FORM — APPLE-STYLE REDESIGN ─────────────────────────────── */

.diagnostic-form {
  position: relative;
  padding: 36px 5vw 0;
  overflow: hidden;
}

/* ── Pill progress tracker ──────────────────────────────────────────────── */
.step-pills {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-pill-track {
  display: flex;
  gap: 6px;
}

.step-pill {
  width: 28px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.35s ease, width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-pill.is-done {
  background: rgba(204, 20, 32, 0.4);
}

.step-pill.is-active {
  width: 44px;
  background: var(--orange);
  animation: pill-pulse-ring 1.6s ease 0.1s 1;
  box-shadow: 0 0 0 0 rgba(204, 20, 32, 0.5);
}

@keyframes pill-pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(204, 20, 32, 0.5); }
  55%  { box-shadow: 0 0 0 5px rgba(204, 20, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(204, 20, 32, 0); }
}

.step-pill-label {
  color: rgba(255, 255, 255, 0.45);
  font: 500 10px/1 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.step-pill-label b {
  color: var(--red);
}

/* ── Step transitions ───────────────────────────────────────────────────── */
.diagnostic-step {
  display: none;
  margin: 40px 0 100px;
  padding: 0;
  border: 0;
}

.diagnostic-step.is-active {
  display: block;
  animation: step-enter-right 380ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.diagnostic-step.is-leaving {
  display: block;
  position: absolute;
  top: auto;
  left: 5vw;
  right: 5vw;
  pointer-events: none;
  animation: step-exit-left 380ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

[data-direction="back"] .diagnostic-step.is-active {
  animation-name: step-enter-left;
}

[data-direction="back"] .diagnostic-step.is-leaving {
  animation-name: step-exit-right;
}

@keyframes step-enter-right {
  from { opacity: 0; transform: translateX(38px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes step-enter-left {
  from { opacity: 0; transform: translateX(-38px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes step-exit-left {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-38px); }
}

@keyframes step-exit-right {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(38px); }
}

.diagnostic-step legend {
  padding: 0;
  font: 500 clamp(36px, 4vw, 58px)/1 var(--display);
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.step-help {
  margin: 12px 0 28px;
  color: var(--on-dark-muted);
  font-size: 12px;
}

/* ── Choice label (above card grids) ───────────────────────────────────── */
.choice-label {
  margin: 22px 0 10px;
  color: rgba(255, 255, 255, 0.4);
  font: 600 9px/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── Choice grid + cards ────────────────────────────────────────────────── */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.choice-grid--symptom,
.choice-grid--urgency {
  grid-template-columns: repeat(4, 1fr);
}

.choice-grid--urgency {
  margin-bottom: 4px;
}

.choice-grid--contact {
  margin-top: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.choice-card {
  position: relative;
  cursor: pointer;
  animation: card-cascade-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.choice-card:nth-child(1)  { animation-delay: 0ms; }
.choice-card:nth-child(2)  { animation-delay: 60ms; }
.choice-card:nth-child(3)  { animation-delay: 120ms; }
.choice-card:nth-child(4)  { animation-delay: 180ms; }
.choice-card:nth-child(5)  { animation-delay: 240ms; }
.choice-card:nth-child(6)  { animation-delay: 300ms; }
.choice-card:nth-child(7)  { animation-delay: 360ms; }
.choice-card:nth-child(8)  { animation-delay: 420ms; }

@keyframes card-cascade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-card span {
  min-height: 80px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--on-dark-muted);
  background: var(--glass-bg-light);
  font: 500 11px/1.25 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border 0.18s ease, color 0.18s ease, background 0.18s ease,
    transform 0.18s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

.choice-grid--symptom .choice-card span,
.choice-grid--urgency .choice-card span,
.choice-grid--contact .choice-card span {
  min-height: 52px;
  flex-direction: row;
  align-items: center;
}

.choice-card:hover span {
  color: var(--on-dark);
  border-color: rgba(204, 20, 32, 0.55);
  background: rgba(204, 20, 32, 0.1);
}

.choice-card input:checked + span {
  color: #fff;
  border-color: var(--red);
  background: rgba(204, 20, 32, 0.2);
  box-shadow: inset 3px 0 var(--red), 0 0 0 1px rgba(204, 20, 32, 0.3);
  transform: scale(1.04);
}

.choice-card input:focus-visible + span {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ── Card icon ──────────────────────────────────────────────────────────── */
.card-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  opacity: 0.65;
  transition: opacity 0.18s ease;
}

.choice-card input:checked + span .card-icon,
.choice-card:hover span .card-icon {
  opacity: 1;
}

/* ── Shake validation ───────────────────────────────────────────────────── */
.choice-grid.is-invalid,
.float-field.is-invalid input,
.field.is-invalid textarea {
  animation: field-shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.choice-grid.is-invalid .choice-card span {
  border-color: #ff8e5f;
}

@keyframes field-shake {
  10%, 90%  { transform: translateX(-3px); }
  20%, 80%  { transform: translateX(5px); }
  30%, 50%, 70% { transform: translateX(-5px); }
  40%, 60%  { transform: translateX(5px); }
}

/* ── Field styles ───────────────────────────────────────────────────────── */
.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.field > span {
  color: var(--on-dark-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field small {
  color: rgba(255, 255, 255, 0.32);
  font-weight: 400;
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 14px;
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  font: 400 13px/1.4 var(--body);
  outline: none;
  transition: border 0.2s ease, background 0.2s ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--red);
  background: rgba(204, 20, 32, 0.08);
}

.field :invalid.is-touched {
  border-color: #ff8e5f;
}

/* ── Character counter ──────────────────────────────────────────────────── */
.char-count {
  color: #bbb;
  font-size: 10px;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.char-count.is-good {
  color: rgba(130, 200, 130, 0.75);
}

/* ── Floating-label inputs (Step 3) ─────────────────────────────────────── */
.float-field {
  position: relative;
  margin-top: 20px;
}

.float-field input {
  width: 100%;
  padding: 22px 14px 8px;
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  font: 400 14px/1 var(--body);
  outline: none;
  transition: border-color 0.22s ease, background 0.22s ease;
}

.float-field input:focus {
  background: rgba(204, 20, 32, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  border-bottom-color: var(--red);
}

.float-field label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #aaa;
  font: 400 13px/1 var(--body);
  pointer-events: none;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    font-size 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.22s ease;
}

.float-field input:focus + label,
.float-field input:not(:placeholder-shown) + label {
  transform: translateY(-18px);
  font-size: 9px;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.float-optional {
  color: #bbb;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Step 3 contact cards stagger override */
.choice-grid--contact .choice-card:nth-child(1) { animation-delay: 80ms; }
.choice-grid--contact .choice-card:nth-child(2) { animation-delay: 120ms; }
.choice-grid--contact .choice-card:nth-child(3) { animation-delay: 160ms; }

/* ── Photo upload field ─────────────────────────────────────────────────── */
.photo-upload-field {
  margin-top: 22px;
}

.photo-upload-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--on-dark-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.photo-upload-label small {
  text-transform: none;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
}

.photo-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.photo-upload-zone[hidden] {
  display: none;
}

.photo-upload-zone:hover,
.photo-upload-zone:focus-within {
  background: rgba(204, 20, 32, 0.08);
  border-color: rgba(204, 20, 32, 0.45);
}

.photo-upload-icon {
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.photo-upload-prompt {
  font-size: 13px;
  color: var(--on-dark-muted);
}

.photo-upload-hint {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
}

.photo-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.photo-preview {
  margin-top: 10px;
  position: relative;
  display: inline-flex;
  align-items: flex-start;
}

.photo-preview[hidden] {
  display: none;
}

.photo-thumb {
  display: block;
  max-width: 120px;
  max-height: 90px;
  width: auto;
  height: auto;
  border-radius: 2px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.photo-remove {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: #fff;
  font-size: 9px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* ── Checkbox fields ────────────────────────────────────────────────────── */
.check-field {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--on-dark-muted);
  font-size: 11px;
  line-height: 1.5;
}

.check-field input {
  margin-top: 1px;
  accent-color: var(--orange);
}

/* ── Sticky CTA bar ─────────────────────────────────────────────────────── */
.cta-bar {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 14px 0 18px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  background: linear-gradient(to top, rgba(18, 20, 24, 0.98) 70%, transparent);
  transition: bottom 0.15s ease;
}

.form-button {
  position: relative;
  overflow: hidden;
  min-width: 150px;
  padding: 16px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #1c1c1a;
  background: linear-gradient(160deg, #d6dae1 0%, #a6aab1 28%, #8c8f95 52%, #a2a6ad 78%, #c8ccd3 100%);
  border: none;
  font: 600 10px/1 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 2px 5px rgba(0, 0, 0, 0.14),
    0 5px 16px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.32s var(--ti-easing),
    box-shadow 0.32s var(--ti-easing),
    opacity 0.2s ease;
}

.form-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.42) 50%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.form-button:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 8px 22px rgba(0, 0, 0, 0.22),
    0 12px 32px rgba(0, 0, 0, 0.2);
}

.form-button:hover::after {
  transform: translateX(120%);
}

.form-button:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 2px 5px rgba(0, 0, 0, 0.14);
}

.form-button--next,
.form-button--submit {
  min-width: 220px;
  background: var(--ti-grad-accent);
  border: none;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 140, 130, 0.52),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 2px 5px rgba(170, 18, 28, 0.38),
    0 5px 18px rgba(170, 18, 28, 0.42);
}

.form-button--next:hover,
.form-button--submit:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 140, 130, 0.52),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 8px 24px rgba(170, 18, 28, 0.52),
    0 14px 38px rgba(170, 18, 28, 0.4);
}

.form-button--next:active,
.form-button--submit:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 140, 130, 0.52),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 1px 3px rgba(170, 18, 28, 0.32),
    0 2px 6px rgba(170, 18, 28, 0.26);
}

.form-button--back {
  display: none;
}

.form-button--submit {
  display: none;
}

/* CTA pulse — fires once on step entry */
@keyframes cta-pulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.form-button--next.do-pulse,
.form-button--submit.do-pulse {
  animation: cta-pulse 600ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* ── Result / success screen ────────────────────────────────────────────── */
.diagnostic-result {
  display: none;
  padding: 48px 0 40px;
}

.diagnostic-result.is-active {
  display: block;
}

/* Checkmark SVG animation */
.result-check {
  margin-bottom: 28px;
  opacity: 0;
  animation: result-fade-up 0.4s ease 0.05s both;
}

.check-svg {
  width: 52px;
  height: 52px;
}

.check-circle {
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
  animation: draw-circle 600ms ease-out 0.1s both;
}

.check-mark {
  stroke-dasharray: 38;
  stroke-dashoffset: 38;
  animation: draw-mark 400ms ease-out 0.62s both;
}

@keyframes draw-circle {
  to { stroke-dashoffset: 0; }
}

@keyframes draw-mark {
  to { stroke-dashoffset: 0; }
}

@keyframes result-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.result-eyebrow {
  opacity: 0;
  animation: result-fade-up 0.4s ease 0.72s both;
}

.result-headline {
  margin: 20px 0;
  color: var(--on-dark);
  font: 500 clamp(42px, 5vw, 72px)/0.9 var(--display);
  letter-spacing: -0.04em;
  opacity: 0;
  animation: result-fade-up 0.4s ease 0.84s both;
}

.result-summary {
  max-width: 620px;
  color: var(--on-dark-muted);
  font-size: 13px;
  line-height: 1.75;
  opacity: 0;
  animation: result-fade-up 0.4s ease 0.96s both;
}

.result-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  animation: result-fade-up 0.4s ease 1.08s both;
}

.result-cta {
  animation: none;
}

.result-call {
  color: var(--on-dark-muted);
  font-size: 11px;
}

.result-submit-error {
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(204, 20, 32, 0.45);
  border-radius: 4px;
  background: rgba(204, 20, 32, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  line-height: 1.55;
}

.result-submit-error a {
  color: #fff;
  text-decoration: underline;
}

.diagnostic-result > small {
  display: block;
  max-width: 660px;
  margin-top: 28px;
  color: #bbb;
  font-size: 9px;
  line-height: 1.6;
}

/* ── Locate section (map + eBay, above process) ──────────────────────────── */
.locate-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px 6vw;
  background: linear-gradient(175deg, #141516 0%, #1c1d20 50%, #141516 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.5);
}

.locate-section__map {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #111214;
  border: 1px solid rgba(200, 200, 200, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 8px 32px rgba(0, 0, 0, 0.65);
}

.locate-section__map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: 6px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.06) 0%,
    transparent 40%,
    rgba(0,0,0,0.1) 100%);
  pointer-events: none;
}

.locate-section__find-us {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 16px 28px;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);
  pointer-events: none;
}

.locate-section__map-panel {
  position: relative;
}

.locate-section__map-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.locate-section__map-panel:hover .locate-section__map-img {
  transform: scale(1.025);
}

.locate-section__map-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.locate-section__map-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-bottom: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 50%, transparent 100%);
  transition: background 0.3s ease;
  pointer-events: none;
}

.locate-section__map-overlay a {
  pointer-events: auto;
}

.locate-section__map-panel:hover .locate-section__map-overlay {
  background: rgba(0, 0, 0, 0.35);
}

.locate-section__address {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  margin: 0;
}

.locate-section__alts {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.locate-section__alts a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.locate-section__alts a:hover {
  color: #fff;
}

.locate-section__ebay {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  border-radius: 6px;
  background: #111214;
  border: 1px solid rgba(200, 200, 200, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 8px 32px rgba(0, 0, 0, 0.65);
  transition: box-shadow 0.3s ease;
}

.locate-section__ebay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: 6px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.07) 0%,
    transparent 40%,
    rgba(0,0,0,0.08) 100%);
  pointer-events: none;
}

.locate-section__ebay:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 12px 48px rgba(0, 0, 0, 0.8);
}

.locate-section__ebay-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.locate-section__ebay:hover .locate-section__ebay-img {
  transform: scale(1.025);
}

.locate-section__ebay-cta {
  position: absolute;
  bottom: 20px;
  right: 24px;
  padding: 9px 18px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* ── Footer banner (right column only now) ───────────────────────────────── */
.footer-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 28px 6vw;
  border-bottom: 1px solid var(--dark-line);
}

.service-note {
  width: fit-content;
  margin: 28px 0 0 auto;
  padding-left: 18px;
  color: var(--on-dark-muted);
  border-left: 2px solid var(--orange);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.process {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 4vw;
  padding: 80px 6vw;
  color: var(--on-dark);
  background: transparent;
}

.process-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-motor-img {
  width: 160%;
  max-width: none;
  pointer-events: none;
  object-fit: contain;
  filter: drop-shadow(-24px 16px 60px rgba(0, 0, 0, 0.95));
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%);
}

.image-frame {
  position: absolute;
  overflow: hidden;
  background: #080909;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65);
  transition: transform 1s cubic-bezier(0.2, 0.75, 0.2, 1), filter 0.5s ease;
}

.image-frame:hover img {
  transform: scale(1.035);
  filter: saturate(0.9);
}

.image-frame span {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 7px 9px;
  font: 500 9px/1 var(--display);
  letter-spacing: 0.15em;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}

.image-frame--apart {
  top: 0;
  left: 0;
  width: 82%;
  height: 62%;
}

.image-frame--together {
  right: 0;
  bottom: 0;
  width: 68%;
  height: 56%;
  border: 9px solid rgba(28, 30, 36, 0.85);
}

.process-copy {
  align-self: center;
}

.process-copy h2 {
  font-size: clamp(40px, 4vw, 64px);
}

.process-copy ol {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.warranty-callout {
  margin-top: 24px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-left: 3px solid var(--blue);
  background: rgba(26, 77, 181, 0.18);
}

.warranty-callout__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.warranty-callout strong {
  display: block;
  font: 500 16px/1 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: white;
}

.warranty-callout p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.65;
}

.process-copy li {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 16px;
  border-top: 1px solid var(--dark-line);
}

.process-copy li > span {
  padding-top: 5px;
  color: var(--orange);
  font: 500 10px/1 var(--display);
  letter-spacing: 0.14em;
}

.process-copy li strong {
  font: 500 22px/1 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.process-copy li p {
  margin: 7px 0 0;
  color: var(--on-dark-muted);
  font-size: 12px;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  padding: 70px 6vw;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  overflow: visible;
  margin-top: -60px;
}

.about-generator-img {
  width: 100%;
  max-width: 580px;
  object-fit: contain;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    ellipse 78% 82% at 55% 55%,
    black 28%,
    rgba(0, 0, 0, 0.7) 55%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 78% 82% at 55% 55%,
    black 28%,
    rgba(0, 0, 0, 0.7) 55%,
    transparent 100%
  );
}

.about-years-badge {
  display: inline-block;
  margin-bottom: 20px;
  line-height: 1;
}

.about-years-badge strong {
  display: block;
  color: var(--orange);
  font: 500 clamp(80px, 10vw, 160px)/0.82 var(--display);
  letter-spacing: -0.07em;
}

.about-years-badge span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font: 500 11px/1.5 var(--display);
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.about-copy h2 {
  font-size: clamp(48px, 5.4vw, 88px);
}

.about-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--on-dark-muted);
  font-size: 15px;
  line-height: 1.75;
}

.about-tags {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-tags span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.testimonials {
  background: #111110;
  border-top: none;
  border-bottom: none;
  overflow: hidden;
}

.testimonials .section-heading h2 {
  color: #ffffff;
}

.testimonials .section-intro {
  color: rgba(255, 255, 255, 0.5);
}

.testimonials .eyebrow--dark {
  color: rgba(255, 255, 255, 0.38);
}

.testimonials .eyebrow--dark i {
  background: var(--red);
  opacity: 0.7;
}

.testimonials-carousel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 52px;
}

.carousel-viewport {
  flex: 1;
  overflow: hidden;
  cursor: grab;
}

.carousel-viewport:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 20px;
  will-change: transform;
  user-select: none;
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.22s, transform 0.22s;
}

.carousel-dot.active {
  background: var(--red);
  transform: scale(1.5);
}

.carousel-google-link {
  display: block;
  text-align: center;
  margin-top: 18px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: color 0.18s;
}

.carousel-google-link:hover {
  color: rgba(255, 255, 255, 0.6);
}

.testimonial-card {
  padding: 22px 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom-color: rgba(180, 180, 175, 0.4);
  border-right-color: rgba(180, 180, 175, 0.4);
  background: linear-gradient(
    145deg,
    #f4f3f1 0%,
    #e8e7e3 30%,
    #d8d6d0 55%,
    #e4e3df 75%,
    #f0efec 100%
  );
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.13),
    0 1px 4px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.35) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.testimonial-card:hover {
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.22),
    0 3px 10px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.testimonial-quote {
  margin: 0;
  color: #3a3835;
  font-size: 12.5px;
  line-height: 1.75;
  font-style: italic;
}

.testimonial-quote::before {
  content: "\201C";
  display: block;
  font: 500 36px/0.7 var(--display);
  color: var(--red);
  margin-bottom: 8px;
  font-style: normal;
  opacity: 0.8;
}

.testimonial-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial-footer strong {
  font: 600 11.5px/1 var(--display);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #1e1c19;
}

.testimonial-footer span {
  font-size: 10px;
  color: #7a7872;
  letter-spacing: 0.03em;
}

.testimonial-stars {
  margin: 0;
  font-size: 13px;
  color: #c8861a;
  letter-spacing: 1.5px;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.testimonial-source {
  font-size: 9.5px !important;
  color: #8a8880 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase;
  margin-top: 2px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 24px;
}

.about-stat {
  padding: 22px 18px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid var(--red);
}

.about-stat strong {
  display: block;
  font: 500 clamp(28px, 3.5vw, 46px)/1 var(--display);
  letter-spacing: -0.03em;
  color: var(--red);
}

.about-stat__label {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}

.about-stat__desc {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.final-cta {
  position: relative;
  min-height: 88vh;
  padding: 10vw 6vw;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background: #060707;
}

.final-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.8) contrast(1.08);
}

.final-cta__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 9, 9, 0.28) 0%, rgba(8, 9, 9, 0.1) 42%, rgba(8, 9, 9, 0.06) 100%);
}

.final-cta__content {
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  font-size: clamp(72px, 9vw, 150px);
}

.cta-actions {
  margin-top: 45px;
  display: flex;
  align-items: center;
  gap: 35px;
}

.location-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  line-height: 1.6;
}

.location-link span {
  margin-left: 8px;
  color: var(--orange);
}

footer {
  display: flex;
  flex-direction: column;
  color: var(--on-dark);
  background: transparent;
  border-top: 1px solid var(--dark-line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.brand--footer .brand-logo {
  height: 40px;
  animation: none;
  opacity: 0;
  transform: scale(0.8) rotate(-10deg);
}

.brand--footer .brand-logo.is-animated {
  animation:
    logo-entrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) both,
    logo-pulse 4s ease-in-out 1.1s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .brand--footer .brand-logo,
  .brand--footer .brand-logo.is-animated {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.footer-tagline {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-info {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.footer-info__group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-info__label {
  font-size: 7.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-info__group a,
.footer-info__group span {
  font-size: 11px;
  font-weight: 500;
  color: var(--on-dark-muted);
  line-height: 1.45;
}

.footer-info__group a:hover {
  color: var(--red);
}

.footer-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 4vw;
  border-top: 1px solid var(--dark-line);
}

.footer-meta p,
.footer-meta > a {
  color: var(--on-dark-muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 1.2s ease, transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    height: 78px;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta span {
    display: none;
  }

  .story-topline {
    top: clamp(85px, 11vh, 110px);
  }

  .story-chapter,
  .story-chapter--right {
    top: auto;
    right: 6vw;
    bottom: max(80px, env(safe-area-inset-bottom, 0px) + 60px);
    left: 6vw;
    width: auto;
    text-align: left;
  }

  .story-chapter.is-active {
    transform: translateY(0);
  }

  .story-chapter--right .chapter-description,
  .story-chapter--right .button {
    margin-left: 0;
  }

  .story-chapter h1,
  .story-chapter h2 {
    font-size: clamp(58px, 14vw, 90px);
  }

  .story-media canvas,
  .story-media video {
    object-position: 58% center;
  }

  .section-heading,
  .process,
  .section-heading {
    gap: 35px;
  }

  .quote-tool {
    grid-template-columns: 1fr;
  }

  .quote-tool__intro {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .diagnostic-form {
    min-height: 700px;
  }

  .process {
    gap: 70px;
    grid-template-columns: 1fr;
  }

  .process-visual {
    display: none;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-visual {
    display: none;
  }

  .final-cta > img {
    opacity: 0.8;
  }

  .trust-strip__stat {
    display: none;
  }

  .testimonials-carousel {
    gap: 8px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .footer-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 28px;
  }

  .footer-info {
    flex-wrap: wrap;
    gap: 20px 28px;
  }
}


@media (max-width: 640px) {
  .site-header {
    padding: 0 20px;
  }

  .brand-logo {
    height: 52px;
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .header-cta strong {
    font-size: 15px;
  }

  .scroll-story {
    height: 130vh;
  }

  .story-sticky {
    min-height: 580px;
  }

  .story-media video {
    object-fit: cover;
    object-position: center center;
  }

  .story-topline {
    right: 20px;
    left: 20px;
  }

  .story-topline .eyebrow {
    font-size: 8px;
  }

  /* ── Mobile chapter layout: half-screen panels, alternating left/right ── */
  .story-chapter,
  .story-chapter--right {
    top: auto;
    left: 16px;
    right: auto;
    width: min(72vw, 300px);
    bottom: max(75px, env(safe-area-inset-bottom, 0px) + 55px);
    text-align: left;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.85);
  }

  /* right-side chapters anchor to the right */
  .story-chapter--right {
    right: 16px;
    left: auto;
    text-align: right;
  }

  .story-chapter--right .chapter-description,
  .story-chapter--right .button {
    margin-left: auto;
  }

  /* vertical positions — three rows that avoid the header and scroll meter */
  .story-chapter--high {
    top: auto;
    bottom: 22%;
  }

  .story-chapter--mid {
    top: auto;
    bottom: 30%;
  }

  /* --low chapters keep the base bottom value from the shared rule above */
  .story-chapter--low {
    top: auto;
    bottom: max(75px, env(safe-area-inset-bottom, 0px) + 55px);
  }

  /* gentler entry/active transform so chapters don't slide off-screen */
  .story-chapter.is-active {
    transform: translate3d(0, 0, 0);
  }

  .story-chapter h1,
  .story-chapter h2 {
    font-size: clamp(26px, 8.5vw, 42px);
  }

  .chapter-label {
    font-size: 9px;
    letter-spacing: 0.1em;
    max-width: none;
  }

  .chapter-description {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.45;
  }

  /* keep buttons inside the narrow column */
  .story-chapter .button,
  .story-chapter .button--ghost {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    font-size: 10px;
    padding: 9px 14px;
  }

  .scroll-meter {
    right: 20px;
    bottom: 25px;
    left: 20px;
  }

  .trust-strip {
    gap: 12px;
    padding: 14px 20px;
  }

  .trust-strip__label,
  .trust-strip__stat {
    display: none;
  }

  .trust-strip__brands {
    gap: 10px;
  }

  .trust-strip__brands strong {
    font-size: 13px;
  }

  .testimonials-carousel {
    gap: 6px;
    margin-top: 36px;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .testimonial-card {
    padding: 20px 18px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .locate-section {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 12px;
  }

  .footer-banner {
    padding: 20px;
  }

  .section {
    padding: 95px 20px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .process-copy h2,
  .about-copy h2 {
    font-size: 52px;
  }

  .quote-tool {
    margin-top: 50px;
  }

  .quote-tool__intro {
    padding: 42px 24px;
  }

  .quote-tool__intro h3 {
    font-size: 52px;
  }

  .diagnostic-form {
    padding: 28px 20px 0;
  }

  .diagnostic-step {
    margin-top: 32px;
    margin-bottom: 100px;
  }

  .diagnostic-step legend {
    font-size: 38px;
  }

  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .choice-grid--symptom {
    grid-template-columns: repeat(2, 1fr);
  }

  .choice-grid--urgency {
    grid-template-columns: repeat(2, 1fr);
  }

  .choice-grid--contact {
    grid-template-columns: repeat(3, 1fr);
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .float-field input {
    min-height: 52px;
    padding: 22px 14px 8px;
  }

  .step-pills {
    flex-wrap: wrap;
    gap: 10px;
  }

  .cta-bar {
    padding: 14px 0;
    padding-bottom: max(14px, env(safe-area-inset-bottom, 14px));
    background: linear-gradient(to top, rgba(17, 17, 15, 1) 60%, transparent);
  }

  .form-button {
    min-width: 0;
    flex: 1;
    font-size: 11px;
    padding: 15px 12px;
    letter-spacing: 0.06em;
  }

  .form-button--next,
  .form-button--submit {
    min-width: 0;
  }

  .result-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-headline {
    font-size: 45px;
  }

  .service-note {
    margin-left: 0;
  }

  .image-frame--apart {
    width: 90%;
    height: 59%;
  }

  .image-frame--together {
    width: 72%;
    height: 50%;
  }

  .final-cta {
    min-height: 760px;
    padding: 100px 20px;
    align-items: flex-end;
  }

  .final-cta > img {
    object-position: 63% center;
    opacity: 0.66;
  }

  .final-cta h2 {
    font-size: 67px;
  }

  .cta-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

}

/* ── Very narrow phones (≤ 480px / iPhone SE class) ───────────────────── */
@media (max-width: 480px) {
  .story-topline {
    top: clamp(80px, 10vh, 95px);
  }

  .story-chapter h1,
  .story-chapter h2 {
    font-size: clamp(36px, 13vw, 54px);
  }

  .chapter-description {
    max-width: 100%;
    font-size: 11px;
  }

  .diagnostic-step legend {
    font-size: clamp(28px, 8.5vw, 36px);
  }

  .step-pill-label {
    font-size: 9px;
  }

  .choice-grid--symptom,
  .choice-grid--urgency {
    grid-template-columns: repeat(2, 1fr);
  }

  .choice-grid--symptom .choice-card span,
  .choice-grid--urgency .choice-card span {
    min-height: 48px;
    font-size: 10px;
  }

  .choice-grid--contact {
    grid-template-columns: repeat(3, 1fr);
  }

  .choice-grid--contact .choice-card span {
    min-height: 48px;
    font-size: 9.5px;
    padding: 10px 8px;
    justify-content: center;
  }

  .float-field input {
    min-height: 56px;
    font-size: 16px;
  }

  .float-field input:focus + label,
  .float-field input:not(:placeholder-shown) + label {
    transform: translateY(-20px);
  }

  .form-button {
    font-size: 10px;
    padding: 16px 10px;
    letter-spacing: 0.04em;
  }

  .cta-bar {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .trust-strip__marquee-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .trust-strip__marquee-track {
    animation: none;
  }

  .trust-strip__brands:last-child {
    display: none;
  }
}

/* ===== Workshop corner backgrounds (one corner of the shop per section) ===== */
.quote-tool {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.quote-tool::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: url("assets/workshop-workbench.webp") center/cover no-repeat;
  z-index: 0;
  opacity: 0.04;
}

.quote-tool__intro,
.diagnostic-form {
  position: relative;
  z-index: 1;
}

.quote-tool__intro {
  background: linear-gradient(
    160deg,
    rgba(204, 20, 32, 0.14),
    rgba(12, 13, 16, 0.62) 55%,
    rgba(10, 11, 14, 0.72)
  );
}

.process {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.process::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: url("assets/workshop-engine.webp") center/cover no-repeat;
  z-index: 0;
  opacity: 0.04;
}

.process-visual,
.process-copy {
  position: relative;
  z-index: 1;
}

.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--on-dark);
}

.about::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: url("assets/workshop-storage.webp") center/cover no-repeat;
  z-index: 0;
  opacity: 0.04;
}

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

.about-copy > p:not(.eyebrow) {
  color: var(--on-dark-muted);
}

.about-tags span {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--on-dark-muted);
}

.final-cta__shade {
  background: linear-gradient(
    90deg,
    rgba(8, 9, 9, 0.85) 0%,
    rgba(8, 9, 9, 0.62) 42%,
    rgba(8, 9, 9, 0.28) 100%
  );
}

@keyframes workshop-drift {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.14) translate3d(-2%, -1.5%, 0);
  }
}

/* ── Logo animations ── */
@keyframes logo-entrance {
  from {
    opacity: 0;
    transform: scale(0.72) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes logo-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
}

/* ── Motor PNG animations ── */
@keyframes motor-enter {
  from {
    opacity: 0;
    transform: translateX(70px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes motor-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-16px);
  }
}

.process-motor-img.is-animated {
  animation:
    motor-enter 1.1s cubic-bezier(0.16, 1, 0.3, 1) both,
    motor-float 7s ease-in-out 1.1s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo {
    animation: logo-entrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .process-motor-img.is-animated {
    animation: motor-enter 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .quote-tool::before,
  .process::before,
  .about::before,
  .final-cta > img {
    animation: workshop-drift 34s ease-in-out infinite alternate;
  }

  .process::before {
    animation-duration: 40s;
    animation-direction: alternate-reverse;
  }

  .about::before {
    animation-duration: 46s;
  }

  .final-cta > img {
    animation-duration: 42s;
    animation-direction: alternate-reverse;
  }
}

@media (max-width: 900px) {
  .quote-tool::after {
    background: linear-gradient(
      180deg,
      rgba(10, 10, 9, 0.6) 0%,
      rgba(12, 12, 11, 0.93) 70%
    );
  }
}

/* ── Ultra-wide screens (1920px+) ─────────────────────────────────────── */
@media (min-width: 1920px) {
  .story-chapter {
    width: min(640px, 46vw);
    max-width: 640px;
  }

  .story-chapter h1,
  .story-chapter h2 {
    font-size: clamp(62px, 7.5vw, 96px);
  }
}

/* ─── WORK GALLERY ─────────────────────────────────────────────────────────── */
.work-gallery {
  background: transparent;
  padding: 80px 6vw 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.work-gallery__header {
  margin-bottom: 36px;
}

.work-gallery__header h2 {
  font: 700 clamp(32px, 4.5vw, 58px)/1 var(--display);
  letter-spacing: -0.03em;
  color: #fff;
  margin-top: 10px;
}

.work-gallery__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.work-gallery__tab {
  padding: 9px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.work-gallery__tab:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.9);
}

.work-gallery__tab.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.work-gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  overflow: hidden;
}

.work-gallery__card {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
  cursor: default;
}

.work-gallery__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.work-gallery__card:hover img {
  transform: scale(1.04);
}

.work-gallery__card figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, transparent 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.work-gallery__card:hover figcaption,
.work-gallery__card:focus-within figcaption {
  opacity: 1;
  transform: translateY(0);
}

.work-gallery__card[data-hidden="true"] {
  display: none;
}

.work-gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.work-gallery__arrow {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.work-gallery__arrow:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.work-gallery__dots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 240px;
}

.work-gallery__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.work-gallery__dot.is-active {
  background: var(--red);
  transform: scale(1.3);
}

.work-gallery .about-tags {
  margin-top: 48px;
}

@media (min-width: 600px) {
  .work-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .work-gallery {
    padding: 100px 6vw 80px;
  }

  .work-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .work-gallery__card figcaption {
    opacity: 0;
  }
}

/* ─── CHAT WIDGET ──────────────────────────────────────────────────────────── */
.chat-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(160deg, #e03528 0%, #b51020 28%, #8e0d1a 52%, #be1e28 78%, #d42f2e 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(170,18,28,0.5), 0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.25s cubic-bezier(0.2,0,0,1), box-shadow 0.25s cubic-bezier(0.2,0,0,1);
  color: #fff;
}

.chat-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(170,18,28,0.6), 0 14px 40px rgba(0,0,0,0.45);
}

.chat-bubble__icon {
  width: 24px;
  height: 24px;
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chat-bubble__icon--close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.7);
}

.chat-bubble.is-open .chat-bubble__icon--open {
  opacity: 0;
  transform: scale(0.7);
}

.chat-bubble.is-open .chat-bubble__icon--close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.chat-bubble__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  color: #cc1420;
  font-size: 10px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  animation: chat-badge-pop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes chat-badge-pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.chat-panel {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 8999;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #12141a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: calc(100vh - 120px);
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.2,0,0,1), opacity 0.25s ease;
  transform-origin: bottom right;
}

.chat-panel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.chat-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #1c0204 0%, #2a0608 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.chat-panel__header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-panel__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(204,20,32,0.2);
  border: 1px solid rgba(204,20,32,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.chat-panel__name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.chat-panel__status {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 1px;
}

.chat-panel__close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s;
}

.chat-panel__close:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.chat-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

.chat-panel__body::-webkit-scrollbar { width: 4px; }
.chat-panel__body::-webkit-scrollbar-track { background: transparent; }
.chat-panel__body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

.chat-msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  animation: chat-msg-in 0.25s cubic-bezier(0.2,0,0,1) both;
}

@keyframes chat-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chat-msg--bot {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.9);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-msg--bot a {
  color: #f87171;
  text-decoration: underline;
}

.chat-msg--user {
  background: linear-gradient(135deg, #cc1420, #9e0e19);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  text-align: right;
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
}

.chat-typing span {
  width: 7px;
  height: 7px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  animation: chat-dot 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chat-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: rgba(255,255,255,0.7);
  border-radius: 50%;
  animation: chat-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes chat-spin { to { transform: rotate(360deg); } }

.chat-panel__input-area {
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
  background: rgba(0,0,0,0.2);
}

.chat-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chat-choice-btn {
  padding: 8px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.88);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.chat-choice-btn:hover:not(:disabled) {
  background: rgba(204,20,32,0.18);
  border-color: rgba(204,20,32,0.5);
  color: #fff;
}

.chat-choice-btn.is-selected {
  background: rgba(204,20,32,0.25);
  border-color: #cc1420;
  color: #fff;
}

.chat-choice-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.chat-text-form {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chat-text-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 9px 12px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s;
  resize: none;
  font-family: inherit;
  width: 100%;
}

.chat-text-input:focus {
  border-color: rgba(204,20,32,0.6);
}

.chat-text-input.is-shake {
  animation: chat-shake 0.35s ease;
}

@keyframes chat-shake {
  0%, 100% { transform: translateX(0); }
  25%  { transform: translateX(-6px); }
  75%  { transform: translateX(6px); }
}

.chat-send-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #cc1420, #9e0e19);
  border: none;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}

.chat-send-btn:hover { opacity: 0.88; transform: scale(1.05); }

.chat-contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-submit-btn {
  width: 100%;
  padding: 11px 16px;
  background: linear-gradient(160deg, #e03528 0%, #b51020 28%, #8e0d1a 52%, #be1e28 78%, #d42f2e 100%);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  margin-top: 4px;
}

.chat-submit-btn:hover { opacity: 0.9; }

.chat-done-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-done-btn {
  display: block;
  width: 100%;
  padding: 11px 16px;
  text-align: center;
  background: linear-gradient(160deg, #e03528 0%, #b51020 28%, #8e0d1a 52%, #be1e28 78%, #d42f2e 100%);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}

.chat-done-btn--ghost {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
}

.chat-done-btn:hover { opacity: 0.88; }

@media (max-width: 480px) {
  .chat-bubble {
    bottom: 16px;
    right: 16px;
  }

  .chat-panel {
    bottom: 84px;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 96px);
    border-radius: 16px 16px 0 0;
    border-bottom: none;
  }
}
/* ──────────────────────────────────────────────────────────────────────────── */

