/* Detailing To You · D2a Trailer Reveal (gold wash) · local preview */
@font-face {
  font-family: Inter;
  src: url("fonts/inter-400-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url("fonts/montserrat-700-latin.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-800-latin.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/barlow-condensed-900-latin.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold-300: #f2d56b;
  --amber-400: #e8b04a;
  --orange-500: #e8893a;
  --orange-700: #c8642e;
  --bronze: #8a4b14;
  --ink-900: #15171a;
  --ink-800: #23272d;
  --ink-700: #2e333a;
  --ink-600: #3a3f46;
  --gray-600: #4a4f57;
  --gray-400: #9aa0a8;
  --gray-300: #b8bdc4;
  --gray-200: #d9dce0;
  --white: #ffffff;
  --gold-25: #fdf8ea;
  --gold-50: #fbf1d6;
  --gold-100: #f6e3b0;
  --gold-200: #edd9a3;
  --umber: #5a4632;
  --cta-hover-a: #f7e08a;
  --cta-hover-b: #eea24e;
  --cta-press-b: #d9742f;
  --space-4: 4px;
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;
  --space-128: 128px;
  --radius-8: 8px;
  --radius-button: 999px;
  --tap: 44px;
  --nav-h: 92px;
  --sticky-h: 89px;
  --gutter: 24px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-drive: cubic-bezier(0.5, 0, 0.75, 0);
  --intro: 0;
  --doors: 0;
  --push: 0;
  --arrived: 0;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink-900);
  background: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
button, a { font: inherit; }
a { color: inherit; }
p, h1, h2, h3 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(1184px, calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

/* Focus: 3px page gap + 6px ring */
:focus { outline: none; }
:focus-visible {
  box-shadow: 0 0 0 3px var(--focus-gap, var(--ink-900)), 0 0 0 6px var(--focus-ring, var(--gold-300));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  min-height: 56px;
  padding: var(--space-16) var(--space-32);
  border-radius: var(--radius-button);
  border: 2px solid transparent;
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, background-image 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn svg { width: 24px; height: 24px; flex: none; }
.btn-gradient {
  background-image: linear-gradient(150.14deg, var(--gold-300) 11%, var(--amber-400) 54%, var(--orange-500) 89%);
  color: var(--ink-900);
  border-color: transparent;
}
.btn-gradient:hover { background-image: linear-gradient(150.14deg, var(--cta-hover-a) 11%, var(--cta-hover-b) 89%); }
.btn-gradient:active { background-image: linear-gradient(150.14deg, var(--amber-400) 11%, var(--cta-press-b) 89%); }
.btn-solid {
  background: var(--ink-900);
  color: var(--white);
}
.btn-solid:hover { background: var(--ink-700); }
.btn-solid:active { background: var(--ink-600); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--gray-400);
}
.btn-outline:hover { background: var(--ink-800); }
.site-nav.is-gold .btn-outline,
.gold-page .btn-outline,
.final-cta .btn-outline,
footer .btn-outline {
  color: var(--ink-900);
  border-color: var(--bronze);
}
.site-nav.is-gold .btn-outline:hover,
.gold-page .btn-outline:hover,
.final-cta .btn-outline:hover {
  background: var(--gold-100);
}

/* Nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  min-height: var(--nav-h);
  padding: var(--space-16) var(--gutter);
  background: var(--ink-900);
  color: var(--white);
  --focus-gap: var(--ink-900);
  --focus-ring: var(--gold-300);
  transition: background-color 280ms ease, color 280ms ease, box-shadow 280ms ease;
}
.site-nav.is-gold {
  background: var(--gold-50);
  background-color: #fbf1d6;
  background-image: none;
  color: var(--ink-900);
  --focus-gap: var(--gold-50);
  --focus-ring: var(--ink-900);
}
.logo-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 60px;
  border: 1px dashed var(--gray-400);
  border-radius: var(--radius-8);
  background: var(--ink-600);
  color: var(--gray-300);
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 20px;
  text-transform: uppercase;
  flex: none;
}
.site-nav.is-gold .logo-mark {
  background: var(--gold-100);
  color: var(--umber);
  border-color: var(--bronze);
}
.nav-links {
  display: none;
  gap: var(--space-24);
  align-items: center;
  margin-left: auto;
  margin-right: var(--space-24);
}
.nav-links a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  color: var(--gray-300);
}
.site-nav.is-gold .nav-links a { color: var(--ink-900); }
.nav-links a:hover { color: var(--gold-300); }
.site-nav.is-gold .nav-links a:hover { color: var(--bronze); }
.nav-ctas { display: none; gap: var(--space-16); align-items: center; flex: none; }

/* Intro */
#intro-track {
  height: 250vh;
  position: relative;
  background: var(--ink-900);
}
html.motion-off #intro-track { height: auto; }
.intro-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
}
html.motion-off .intro-sticky {
  position: relative;
  height: auto;
  min-height: 100vh;
}

.night-scene {
  position: absolute;
  inset: 0;
  background: var(--ink-900);
  transform-origin: 72% 58%;
  transform: scale(calc(1 + (var(--push) * 2)));
  will-change: transform, opacity;
  opacity: calc(1 - (var(--push) * 0.35));
}
@media (max-width: 767px) {
  .night-scene { transform: scale(calc(1 + (var(--push) * 1.2))); }
}
.sparkle {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  color: var(--gold-300);
  opacity: 0.9;
}
.sparkle svg { width: 100%; height: 100%; display: block; }
.sparkle-1 { left: 52.8%; top: 15.5%; width: 16px; height: 16px; }
.sparkle-2 { left: 68.75%; top: 23.3%; width: 24px; height: 24px; }
.sparkle-3 { left: 90.3%; top: 14.4%; width: 16px; height: 16px; }
.sparkle-4 { left: 82%; top: 33%; width: 12px; height: 12px; }
.sparkle-5 { left: 61%; top: 36.6%; width: 10px; height: 10px; }
@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.08); }
}
html:not(.motion-off) .sparkle { animation: twinkle 2.6s ease-in-out infinite; }
html:not(.motion-off) .sparkle-2 { animation-duration: 3.1s; animation-delay: 0.4s; }
html:not(.motion-off) .sparkle-3 { animation-duration: 2.2s; animation-delay: 0.8s; }

.ground {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 18vh;
  min-height: 140px;
  background: var(--ink-800);
}
.curb {
  position: absolute;
  left: 0; right: 0; bottom: 18vh;
  height: 4px;
  background: var(--ink-600);
  bottom: max(140px, 18vh);
}
.driveway {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  height: calc(max(140px, 18vh) - 4px);
  background: linear-gradient(180deg, #2a2e35 0%, #1c1f24 100%);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

.trailer-stage {
  position: absolute;
  right: -2%;
  bottom: max(24px, calc(var(--sticky-h) + 16px));
  width: min(800px, 78vw);
  height: auto;
  aspect-ratio: 800 / 360;
  pointer-events: none;
  will-change: transform, opacity;
}
@keyframes roll-in {
  from { transform: translateX(110vw); }
  to { transform: translateX(0); }
}
@keyframes settle {
  0% { transform: translateY(0); }
  50% { transform: translateY(3px); }
  100% { transform: translateY(0); }
}
html:not(.motion-off):not(.freeze-intro).is-arriving .trailer-stage,
html:not(.motion-off):not(.freeze-intro):not(.has-arrived) .trailer-stage {
  animation: roll-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both,
             settle 0.24s ease-out 1.35s both;
}
@media (max-width: 767px) {
  html:not(.motion-off):not(.freeze-intro).is-arriving .trailer-stage,
  html:not(.motion-off):not(.freeze-intro):not(.has-arrived) .trailer-stage {
    animation-duration: 1s, 0.24s;
    animation-delay: 0.15s, 1.15s;
  }
}
.trailer-art {
  position: absolute;
  inset: 0;
  overflow: visible;
}
.trailer-art svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}
.trailer-rear svg {
  width: calc(100% * 840 / 800);
  height: calc(100% * 425 / 360);
}
.trailer-side {
  opacity: calc(1 - var(--doors));
}
.trailer-rear {
  opacity: var(--doors);
}
html.motion-off .trailer-side { opacity: 0; }
html.motion-off .trailer-rear { opacity: 1; }
html.motion-off .trailer-stage { transform: none; right: -4%; }

.door-frames {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--push);
  z-index: 3;
}
.door-frame {
  position: absolute;
  top: 0;
  height: 100%;
  width: min(200px, 16vw);
  background: linear-gradient(180deg, #eceef0 0%, #fdf8ea 40%, #e6d3b0 100%);
  box-shadow: inset 0 0 0 1px #b8bdc4;
}
.door-l {
  left: 0;
  transform: translateX(calc(var(--push) * -100%));
  border-right: 4px solid var(--gold-300);
}
.door-r {
  right: 0;
  transform: translateX(calc(var(--push) * 100%));
  border-left: 4px solid var(--gold-300);
}

.gold-wash {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 176, 74, 0.35), transparent 70%),
    var(--gold-50);
  opacity: var(--push);
}

.hero-copy,
.step-inside {
  position: absolute;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-24);
  width: min(600px, calc(100% - 48px));
  left: var(--gutter);
  top: calc(var(--nav-h) + 44px);
  --focus-gap: var(--ink-900);
  --focus-ring: var(--gold-300);
}
.hero-copy {
  opacity: calc(1 - (var(--push) * 1.4));
  pointer-events: auto;
}
html:not(.motion-off) .hero-copy { pointer-events: none; }
html:not(.motion-off) .hero-copy a,
html:not(.motion-off) .hero-copy .hero-actions { pointer-events: auto; }
/* When push is high, let clicks pass through faded hero */
.step-inside {
  left: 50%;
  width: min(800px, calc(100% - 48px));
  top: 28vh;
  align-items: center;
  text-align: center;
  transform: translateX(-50%);
  opacity: var(--push);
  color: var(--ink-900);
  --focus-gap: var(--gold-50);
  --focus-ring: var(--ink-900);
  pointer-events: none;
}
html.motion-off .step-inside { display: none; }
html.motion-off .hero-copy { opacity: 1; position: relative; left: auto; top: auto; margin: calc(var(--nav-h) + 24px) auto 48px var(--gutter); }

.eyebrow {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.gold-page .eyebrow,
.step-inside .eyebrow,
.final-cta .eyebrow { color: var(--bronze); }
.eyebrow .sparkle-inline {
  display: inline-flex;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -2px;
}

.hero-copy h1,
.step-inside h2 {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--white);
}
.step-inside h2 { color: var(--ink-900); font-size: clamp(40px, 5vw, 72px); }
.lede {
  font-size: 20px;
  line-height: 32px;
  color: var(--gray-300);
  max-width: 36ch;
}
.step-inside .lede { color: var(--umber); text-align: center; max-width: 46ch; }
.hero-ctas, .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
}
.cta-row { justify-content: center; }
.tagline {
  font-size: 14px;
  line-height: 20px;
  color: var(--gray-300);
  font-style: italic;
}
.hero-copy .tagline { color: var(--gray-300); }
.final-cta .tagline, footer .tagline { color: var(--umber); font-style: normal; font-size: 16px; line-height: 24px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-16) var(--space-24);
  min-height: var(--tap);
  order: 5;
}
.hero-copy { display: flex; }
.hero-copy .eyebrow { order: 1; }
.hero-copy h1 { order: 2; }
.hero-copy .lede { order: 3; }
.hero-copy .hero-ctas { order: 4; }
.hero-copy .tagline { order: 6; }

.skip-intro,
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 0 2px;
  background: none;
  border: 0;
  color: var(--gray-300);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
}
.skip-intro svg, .motion-toggle svg { width: 24px; height: 24px; }
.skip-intro:hover, .motion-toggle:hover { color: var(--white); }
html.motion-off .skip-intro { display: none; }

.services-jump {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bronze);
}

/* Gold page */
.gold-page {
  position: relative;
  background:
    radial-gradient(ellipse 80% 420px at 50% 0, rgba(232, 176, 74, 0.35), transparent 70%),
    var(--gold-50);
  color: var(--ink-900);
  --focus-gap: var(--gold-50);
  --focus-ring: var(--ink-900);
}
.section {
  padding: var(--space-64) 0;
}
.section + .section { border-top: 1px solid var(--gold-100); }
.section-head { margin-bottom: var(--space-32); }
.section-head h2 {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 8px 0 12px;
}
.section-head .lede { color: var(--umber); max-width: 46ch; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
}
html.motion-off .reveal,
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}

/* Service cards */
.groups {
  display: grid;
  gap: var(--space-24);
}
.group-label {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: var(--space-16);
}
.card-stack { display: grid; gap: var(--space-16); }
.service-card {
  background: var(--gold-25);
  border-radius: var(--radius-8);
  padding: var(--space-24) var(--space-24) var(--space-16);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.accent-bar {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-300), var(--amber-400) 50%, var(--orange-700));
}
.tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: var(--radius-8);
  background: var(--gold-100);
  color: var(--bronze);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.02em;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}
.service-card ul { display: grid; gap: 0; }
.service-card li {
  position: relative;
  padding-left: 1.1em;
  color: var(--umber);
  font-size: 16px;
  line-height: 24px;
}
.service-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--umber);
}

/* Split Call / text quote links: 24×24 min, no overlap, underline, own focus rings */
.quote-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  color: var(--bronze);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
.quote-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 4px 6px;
  margin: 0;
  color: var(--bronze);
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 4px;
  flex: none;
  position: relative;
}
.quote-link + .quote-sep { margin-left: 0; }
.quote-sep { color: var(--bronze); font-weight: 600; padding: 0 2px; }
.quote-rest { color: var(--bronze); font-weight: 600; }
.quote-link:focus-visible {
  box-shadow: 0 0 0 3px var(--gold-25), 0 0 0 6px var(--ink-900);
}

.closer {
  margin-top: var(--space-48);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-24);
}
.closer p {
  font-size: 20px;
  line-height: 32px;
  max-width: 760px;
}
.closer p a[href^="tel"] { color: inherit; text-decoration: underline; text-underline-offset: 3px; border-radius: 2px; }

/* Photos */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}
.photo-grid figure { margin: 0; }
.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-8);
  background: var(--gold-200);
}

/* Area */
.area-split {
  display: grid;
  gap: var(--space-32);
  align-items: center;
}
.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: var(--space-24);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--bronze);
  border-radius: var(--radius-button);
  color: var(--ink-900);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
}
.chip svg { width: 20px; height: 20px; color: var(--bronze); }
.map-panel {
  min-height: 280px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 40% 45%, rgba(138, 75, 20, 0.12), transparent 42%),
    radial-gradient(circle at 62% 58%, rgba(138, 75, 20, 0.1), transparent 38%),
    var(--gold-200);
  position: relative;
}
.map-panel::after {
  content: "";
  position: absolute;
  inset: 18% 16%;
  border: 1.5px solid rgba(138, 75, 20, 0.35);
  border-radius: 40% 60% 45% 55%;
  pointer-events: none;
}

/* FAQ */
.faq-list { display: grid; }
.faq-item {
  border-bottom: 1px solid var(--gold-100);
}
.faq-item[open] { background: var(--gold-50); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  min-height: 80px;
  padding: var(--space-16) var(--space-16) var(--space-16) var(--space-24);
  cursor: pointer;
  list-style: none;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 200ms ease-out;
}
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 200ms ease-out;
}
.faq-item[open] .faq-answer { grid-template-rows: 1fr; }
.faq-answer > p {
  overflow: hidden;
  padding: 0 var(--space-24) var(--space-16);
  color: var(--umber);
  font-size: 16px;
  line-height: 24px;
}
html.motion-off .faq-answer { transition: none; }

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: var(--space-96) 0 0;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 40% at 50% 20%, rgba(232, 176, 74, 0.28), transparent 70%),
    var(--gold-50);
}
.final-cta .wrap {
  padding-bottom: clamp(280px, 36vw, 460px);
}
.final-cta .eyebrow { margin-bottom: 8px; }
.phone-xl {
  display: inline-block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: clamp(56px, 10vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  text-decoration: none;
  border-radius: 8px;
}
.final-cta .lede {
  color: var(--umber);
  margin: var(--space-16) auto var(--space-24);
  max-width: 36ch;
  font-size: 20px;
}
.drive-trailer {
  position: absolute;
  left: -40px;
  bottom: 8%;
  width: min(800px, 70vw);
  aspect-ratio: 800 / 360;
  pointer-events: none;
  z-index: 0;
}
.drive-trailer svg { width: 100%; height: 100%; display: block; overflow: visible; }
.final-cta .wrap { position: relative; z-index: 1; }
html:not(.motion-off) .drive-trailer.is-off {
  transform: translateX(-120vw);
  transition: transform 900ms var(--ease-drive);
}
html:not(.motion-off) .phone-xl {
  opacity: 0;
  transform: translateY(24px);
}
html:not(.motion-off) .phone-xl.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 600ms var(--ease-out) 300ms, transform 600ms var(--ease-out) 300ms;
}
html.motion-off .drive-trailer { opacity: 1; transform: none; }
.final-sparkle { position: absolute; pointer-events: none; width: 24px; height: 24px; }
.final-sparkle-1 { left: 14%; top: 18%; }
.final-sparkle-2 { right: 14%; top: 22%; width: 32px; height: 32px; }

/* Footer */
.site-footer {
  background: var(--gold-100);
  color: var(--ink-900);
  padding: var(--space-64) 0 var(--space-48);
  --focus-gap: var(--gold-100);
  --focus-ring: var(--ink-900);
}
.footer-grid {
  display: grid;
  gap: var(--space-32);
}
.site-footer .brand-name {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 8px;
}
.site-footer .foot-label {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 8px;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-links { display: grid; gap: 4px; }
.foot-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.copyright {
  margin-top: var(--space-32);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.02em;
  color: var(--umber);
}

/* Mobile sticky bar */
.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: flex;
  gap: var(--space-8);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--ink-900);
  box-shadow: 0 -8px 24px rgba(21, 23, 26, 0.28);
  --focus-gap: var(--ink-900);
  --focus-ring: var(--gold-300);
}
.sticky-bar .btn { flex: 1; min-height: 56px; }
@media (max-width: 767px) {
  .site-footer { padding-bottom: calc(var(--space-48) + var(--sticky-h) + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 768px) {
  :root { --gutter: 64px; }
  .nav-ctas { display: flex; }
  .sticky-bar { display: none; }
  .hero-ctas .btn { flex: none; }
  .photo-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .groups { grid-template-columns: 1fr 1fr; }
  .area-split { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.1fr 1.2fr 0.8fr; }
  .trailer-stage { right: 2%; width: min(720px, 54vw); bottom: 6vh; }
  html.motion-off .trailer-stage { right: 2%; }
}
@media (min-width: 1200px) {
  :root { --gutter: 64px; }
  .site-nav { padding-left: 64px; padding-right: 64px; }
  .nav-links { display: flex; }
  .groups { grid-template-columns: 1fr 1fr 1fr; }
  .hero-copy { left: 64px; }
  .trailer-stage { right: 1%; width: 720px; bottom: 8vh; }
}

/* Wheel spin during roll-in / drive-off (transform only) */
.trailer-wheel,
#Wheel, g.trailer-wheel {
  transform-box: fill-box;
  transform-origin: center;
}
.is-arriving .trailer-side .trailer-wheel,
.is-arriving .trailer-side #Wheel {
  animation: wheel-spin 1.2s linear 0.15s both;
}
@media (max-width: 767px) {
  .is-arriving .trailer-side .trailer-wheel,
  .is-arriving .trailer-side #Wheel { animation-duration: 1s; }
}
@keyframes wheel-spin { to { transform: rotate(-720deg); } }
.drive-trailer.is-off .trailer-wheel,
.drive-trailer.is-off #Wheel {
  animation: wheel-spin-out 0.9s linear both;
}
@keyframes wheel-spin-out { to { transform: rotate(-1080deg); } }

@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) .sparkle { animation: none !important; }
}

.site-nav.is-gold .btn-gradient {
  background-image: none;
  background: var(--ink-900);
  color: var(--white);
}
.site-nav.is-gold .btn-gradient:hover { background: var(--ink-700); background-image: none; }
.site-nav.is-gold .btn-gradient:active { background: var(--ink-600); background-image: none; }
html.is-inside .hero-copy { pointer-events: none; opacity: 0; }
html.is-inside .step-inside { pointer-events: auto; }

.step-inside .btn-outline {
  color: var(--ink-900);
  border-color: var(--bronze);
  background: transparent;
}
.step-inside .btn-outline:hover { background: var(--gold-100); }
.hero-ctas .btn { flex: none; }
@media (max-width: 767px) {
  .hero-ctas { width: 100%; flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .sticky-bar .btn {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 16px;
    min-width: 0;
  }
  .sticky-bar .btn svg { width: 20px; height: 20px; }
  .night-scene .sparkle-1,
  .night-scene .sparkle-5 { display: none; } /* avoid sitting on the headline */
  html.motion-off .trailer-stage,
  html.freeze-intro .trailer-stage { bottom: calc(var(--sticky-h) + 24px); }
  .intro-sticky { padding-bottom: var(--sticky-h); }
}

@media (max-width: 767px) {
  .intro-sticky {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    overflow: hidden;
  }
  .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    margin: calc(var(--nav-h) + 8px) var(--gutter) 8px;
  }
  .hero-copy .lede { font-size: 16px; line-height: 24px; }
  .hero-copy { gap: 16px; }
  .trailer-stage {
    position: relative;
    width: 130%;
    max-width: 520px;
    aspect-ratio: 800 / 360;
    right: auto;
    left: 8%;
    bottom: auto;
    margin: 0 0 calc(var(--sticky-h) + 12px);
  }
  html.motion-off .trailer-stage { bottom: auto; }
  .step-inside {
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    margin: 0;
  }
  html.motion-off .hero-copy { margin: calc(var(--nav-h) + 8px) var(--gutter) 8px; }
}

html.is-inside .site-nav,
.site-nav.is-gold {
  background: #fbf1d6 !important;
  background-image: none !important;
  color: #15171a !important;
}
html.is-inside .site-nav .nav-links a,
.site-nav.is-gold .nav-links a { color: #15171a !important; }
html.is-inside .site-nav .btn-gradient,
.site-nav.is-gold .btn-gradient {
  background: #15171a !important;
  background-image: none !important;
  color: #ffffff !important;
}
html.is-inside .site-nav .btn-outline,
.site-nav.is-gold .btn-outline {
  color: #15171a !important;
  border-color: #8a4b14 !important;
}

/* 1114 Engineer fixes: logo image, no map, centered area, nowrap phones */
.logo-mark{border:0;background:none;padding:0;width:160px;height:auto}
.logo-mark img{display:block;width:160px;height:auto;border-radius:6px}
.site-nav.is-gold .logo-mark{background:none;border:0}
.area-split{grid-template-columns:1fr !important;justify-items:center;text-align:center}
.area-split .towns{justify-content:center}
.area-split > div{max-width:720px}
a[href^="tel:"]{white-space:nowrap}

/* 1114 Designer D2a fixes: parked drive-off when motion off, mobile hero trailer, sticky bar reveal, 44px quote links */
.drive-parked{display:none}
html.motion-off .drive-trailer{display:none}
html.motion-off .drive-parked{display:block;position:absolute;left:-20px;bottom:8%;width:min(800px,70vw);height:auto;pointer-events:none;z-index:0}
.quote-link{min-height:44px}
.sticky-bar{transition:transform 250ms ease, visibility 0s linear 0s}
.sticky-bar.is-hidden{transform:translateY(110%);visibility:hidden;transition:transform 250ms ease, visibility 0s linear 250ms}
html.motion-off .sticky-bar, html.motion-off .sticky-bar.is-hidden{transition:none}
@media (max-width: 767px){
  .trailer-stage, html.motion-off .trailer-stage, html.freeze-intro .trailer-stage{width:92vw;max-width:92vw;left:auto;right:auto;bottom:auto;align-self:center;margin:8px auto calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px) + 12px)}
}
@media (max-width:767px){html.motion-off .drive-parked{left:4vw;width:80vw}}
/* 1114 Designer fix: dark chip behind logo on light (gold) nav */
.site-nav.is-gold .logo-mark,html.is-inside .site-nav .logo-mark{background:var(--ink-900) !important;padding:6px 10px !important;border-radius:10px !important;width:auto}
.site-nav.is-gold .logo-mark img,html.is-inside .site-nav .logo-mark img{opacity:1 !important;filter:none !important;border-radius:0}
