@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0b1115;
  --graphite: #10171b;
  --steel: #182228;
  --steel-light: #25343b;
  --amber: #f3ad65;
  --amber-light: #ffd3a2;
  --text: #faf7f2;
  --quiet: #c2cacc;
  --line: #4e6269;
  --focus: #a4ebf5;
  --page-pad: clamp(1rem, 4vw, 4.25rem);
  --nav-size: 4.5rem;
  --staged-top: var(--nav-size);
  --mobile-bar: 4.5rem;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--nav-size) + 1rem); }
body { margin: 0; background: var(--graphite); color: var(--text); font: 1rem/1.65 system-ui, sans-serif; }
h1, h2, h3, p, ol, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: .97; }
h2 { font-size: clamp(2.6rem, 6.9vw, 5.8rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
a { color: inherit; text-underline-offset: .25em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
img[width][height] { color: var(--quiet); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: .25rem; }
main:focus, section:focus { outline: none; }
.shell { width: min(1260px, calc(100% - var(--page-pad) * 2)); margin-inline: auto; }
section { scroll-margin-bottom: calc(var(--mobile-bar) + 1rem); }

.skip-link { position: fixed; z-index: 30; inset: .75rem auto auto .75rem; padding: .63rem .95rem; color: var(--black); background: var(--text); transform: translateY(-190%); border-radius: .32rem; }
.skip-link:focus { transform: translateY(0); }
.site-header { z-index: 15; background: #0b1115; border-bottom: 1px solid #405158; }
.site-header.menu-ready { position: sticky; inset-block-start: 0; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1rem; padding-block: .55rem; min-height: var(--nav-size); }
.brand { display: inline-flex; align-items: center; flex: none; gap: .62rem; min-height: 44px; text-decoration: none; }
.brand > span { font: 600 1.85rem/.82 var(--display); letter-spacing: .065em; }
.brand small { display: block; margin-top: .21rem; color: var(--quiet); font: 800 .59rem/1 system-ui, sans-serif; letter-spacing: .16em; }
.navigation, .footer-inner nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0 1rem; }
.navigation a, .footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; font-weight: 670; }
.navigation a { color: var(--quiet); text-decoration: none; }
.navigation a:hover, .footer-inner nav a:hover { color: var(--amber); text-decoration: underline; }
.navigation { flex-basis: 100%; }
.menu-button { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding-inline: .7rem; border: 1px solid var(--line); border-radius: .36rem; background: none; color: var(--text); font-size: .87rem; font-weight: 730; }
.menu-button:hover { border-color: var(--amber); }
.menu-icon { position: relative; display: inline-block; width: 1.05rem; height: .75rem; border-block: 2px solid currentColor; }
.menu-icon::after { position: absolute; inset: calc(50% - 1px) 0 auto; height: 2px; content: ""; background: currentColor; }
.menu-ready .menu-button[aria-expanded="false"] + .navigation { display: none; }
.site-header .header-cta { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .55rem; min-height: 48px; padding: .64rem .9rem; border: 1px solid transparent; border-radius: .4rem; font-size: .89rem; line-height: 1.22; font-weight: 800; text-align: center; text-decoration: none; transition: color .18s, background-color .18s, border-color .18s; }
.button span { font-size: 1.05em; }
.button-primary { color: #1d1b16; background: var(--amber); }
.button-primary:hover { background: var(--amber-light); }
.button-primary:disabled { color: var(--text); background: var(--steel-light); border-color: var(--line); cursor: default; }
.button-outline { color: var(--text); border-color: #809095; background: #0b1115b8; }
.button-outline:hover { border-color: var(--amber); color: var(--amber); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .65rem; }

.hero { position: relative; isolation: isolate; display: grid; overflow: clip; align-content: end; min-height: min(42rem, 80svh); background: #0d181b; }
.hero-image, .hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; }
.hero-image img { object-fit: cover; object-position: 61% center; }
.hero::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(0deg, #0b1115 1%, #0b1115f3 26%, #0b1115a6 59%, #0b11152d 100%); }
.hero-inner { padding-block: clamp(9.8rem, 37vw, 18rem) clamp(1.1rem, 5vw, 4rem); }
.hero-copy { max-width: 45rem; }
.eyebrow { display: flex; align-items: center; gap: .45rem; margin-bottom: .65rem; color: var(--amber); font-size: .76rem; letter-spacing: .105em; font-weight: 820; text-transform: uppercase; }
.signal { width: .46rem; height: .46rem; flex: none; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px #f3ad65a8; }
.hero h1 { color: var(--text); font-size: clamp(3.8rem, 10vw, 9.05rem); letter-spacing: -.059em; }
.hero-line { display: block; overflow: clip; padding-block: 0 .045em; }
.hero-line > span { display: block; }
.hero-accent { color: var(--amber); }
.hero-lead { max-width: 42ch; margin: .75rem 0 1.15rem; color: #ebedeb; font-size: clamp(.98rem, 1.2vw, 1.11rem); }
.hero-caption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0 .85rem; padding-block: .55rem; border-top: 1px solid #637075; color: var(--quiet); font-size: .81rem; }
.hero-caption a, .drive-bottom a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--text); font-size: .86rem; font-weight: 710; }
.hero-caption a:hover, .drive-bottom a:hover { color: var(--amber); }

.drive-section { position: relative; background: var(--black); }
.drive-scene { position: relative; isolation: isolate; overflow: clip; min-height: 24rem; border-bottom: 1px solid #384a4f; }
.drive-floor { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 75% 70%, #334046 0, transparent 52%), linear-gradient(160deg, #19262b, #101519 63%, #0c1518); }
.drive-floor::after { position: absolute; inset: 52% -35% -10%; content: ""; background: repeating-linear-gradient(90deg, #78909700 0, #78909700 5%, #637c8230 5.25%, #586b7200 5.5%); transform: perspective(440px) rotateX(51deg) translateX(var(--drive-background, 0px)); transform-origin: top center; mask-image: linear-gradient(transparent, #000 40%); }
.drive-inner { position: relative; min-height: inherit; }
.drive-title { position: relative; z-index: 5; padding-top: clamp(1.5rem, 4vw, 3.2rem); }
.drive-title h2 { font-size: clamp(2.2rem, 4.1vw, 4.65rem); }
.drive-word { position: absolute; inset: 35% auto auto 50%; z-index: 1; transform: translate(-50%, -5%) scale(var(--drive-word-scale, 1)); color: #819ba3; font: 600 clamp(8rem, 31vw, 27rem)/.72 var(--display); letter-spacing: -.075em; white-space: nowrap; text-shadow: 0 15px 40px #0a1017; }
.drive-car { position: absolute; z-index: 3; left: 50%; bottom: 19%; width: min(93%, 57rem); max-width: none; transform: translate3d(calc(-50% + var(--drive-x, 0px)), var(--drive-y, 0px), 0) scale(var(--drive-scale, 1)) rotate(var(--drive-turn, 0deg)); transform-origin: center 65%; filter: drop-shadow(0 22px 16px #020405a8); }
.drive-bottom { position: absolute; z-index: 5; inset: auto 0 .75rem; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(3rem, 1fr); align-items: center; gap: .55rem 1rem; }
.drive-meter { display: none; min-width: 3rem; height: .25rem; border-radius: 9px; background: #53686f; overflow: hidden; }
.drive-meter span { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--amber); transform: scaleX(var(--drive-progress, 0)); transform-origin: left; }

.story, .gallery, .faq, .process, .contact { padding-block: clamp(3.25rem, 7.4vw, 6.9rem); }
.section-heading { display: grid; gap: .7rem 2rem; align-items: end; margin-bottom: 1.55rem; }
.section-heading > p, .process-inner > div > p:last-child, .contact-inner > div > p:last-of-type { max-width: 44ch; color: var(--quiet); }
.story-index { display: flex; flex-wrap: wrap; gap: .32rem .48rem; padding-block: .1rem .9rem; }
.story-index a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .72rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--black); color: var(--text); font-size: .84rem; font-weight: 690; text-decoration: none; }
.story-index a:hover, .story-index a[aria-current="step"] { border-color: var(--amber); color: var(--amber); }
.story-list { display: grid; gap: .9rem; padding: 0; list-style: none; }
.story-step { display: grid; gap: 1rem; align-items: center; min-width: 0; padding: .95rem; border: 1px solid var(--line); border-radius: .8rem; background: #141f24; }
.story-step:focus { outline-offset: -.214rem; }
.service-copy { min-width: 0; }
.service-copy h3 { margin: .23rem 0 .54rem; font-size: clamp(2.12rem, 6.8vw, 6rem); letter-spacing: -.035em; }
.service-copy p:not(.service-number) { max-width: 43ch; color: var(--quiet); }
.service-number { color: var(--amber); font: 600 1.6rem/1 var(--display); letter-spacing: .065em; }
.service-visual { min-width: 0; overflow: hidden; border-radius: .54rem; background: var(--steel-light); }
.service-visual img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }

.process { color-scheme: light; color: #221e18; background: #ece4db; }
.process :focus-visible { outline-color: #12616e; }
.process .eyebrow { color: #7d381a; }
.process-inner, .faq-inner, .contact-inner { display: grid; gap: 1.4rem 3rem; align-items: start; }
.process-inner > div > p:last-child { margin-top: .75rem; color: #4b493f; }
.process-list { display: grid; gap: .1rem; padding-inline-start: 1.55rem; }
.process-list li { padding: .7rem .15rem .75rem; border-top: 1px solid #8c8178; }
.process-list li::marker { color: #71381d; font-weight: 780; }
.process-list h3 { margin-bottom: .22rem; }
.process-list p { color: #4b493f; }
.gallery-grid { display: grid; gap: .9rem; }
.gallery-grid img { width: 100%; aspect-ratio: 1.64; object-fit: cover; border: 1px solid var(--line); border-radius: .7rem; }
.gallery-grid figcaption { margin-top: .38rem; color: var(--quiet); font-size: .87rem; }

.faq { padding-top: 0; }
.faq-inner > div { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 44px; padding: .61rem .22rem; font-weight: 740; cursor: pointer; }
.faq details p { padding: 0 .22rem .85rem; color: var(--quiet); }
.contact { background: #1b272c; border-block: 1px solid var(--line); }
.contact-inner > div > p:last-of-type { margin-top: .72rem; }
.contact address { display: grid; justify-items: start; gap: .4rem; margin-top: 1rem; font-style: normal; overflow-wrap: anywhere; }
.contact address a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; color: var(--quiet); overflow-wrap: anywhere; font-size: .88rem; }
.hours { margin-top: .95rem; }
.hours > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 .55rem; border-top: 1px solid var(--line); padding-block: .49rem; color: var(--quiet); }
.hours dd { color: var(--text); font-weight: 750; }
.contact-form { display: grid; min-width: 0; padding: clamp(.85rem, 3vw, 1.5rem); border: 1px solid var(--line); border-radius: .75rem; background: var(--black); }
.contact-form p { margin-top: .54rem; color: var(--quiet); font-size: .88rem; }
.contact-form label { margin-block: .58rem .14rem; font-size: .9rem; font-weight: 740; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 45px; padding: .57rem .62rem; border: 1px solid #7d9095; border-radius: .38rem; background: #172228; color: var(--text); }
.contact-form textarea { resize: vertical; }
.contact-form button { width: fit-content; margin-top: .95rem; }
.contact-form .feedback { color: #bcebe2; }
.contact-form .feedback:empty { margin: 0; }

.mobile-contact { position: fixed; z-index: 9; inset: auto 0 0; min-height: var(--mobile-bar); padding: .65rem var(--page-pad) max(.65rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #0b1115; }
.mobile-contact a { width: 100%; }
.site-footer { background: var(--black); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 1rem; min-height: 4.3rem; padding-block: .55rem; color: var(--quiet); font-size: .87rem; }

@media (max-width: 767px) {
  html { scroll-padding-bottom: calc(var(--mobile-bar) + env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: calc(var(--mobile-bar) + env(safe-area-inset-bottom)); }
  body:has(.contact-form :focus) .mobile-contact { display: none; }
}
@media (max-width: 360px) { .hero h1 { font-size: 3.36rem; } }
@media (max-width: 767px) and (max-height: 580px) {
  .mobile-contact { display: none; }
  html { scroll-padding-bottom: 1rem; }
  .site-footer { padding-bottom: 0; }
}
@media (min-width: 650px) {
  .service-visual img { aspect-ratio: 1.43; }
  .story-step { grid-template-columns: .85fr 1.15fr; gap: clamp(1rem, 3.4vw, 2.7rem); padding: 1.25rem; }
  .gallery-grid { grid-template-columns: 1.38fr 1fr; }
}
@media (min-width: 768px) {
  .hero { min-height: min(57rem, 87svh); }
  .hero-inner { padding-block: clamp(3.85rem, 9vw, 8rem) clamp(1.8rem, 8vw, 7rem); }
  .hero::after { background: linear-gradient(90deg, #0b1115f7 2%, #0b1115c2 43%, #10171b0d 74%), linear-gradient(0deg, #0b1115 0%, #0b111500 35%); }
  .hero-image img { object-position: center 52%; }
  .menu-button { display: none; }
  .site-header .navigation, .site-header.menu-ready .menu-button[aria-expanded="false"] + .navigation { display: flex; flex-basis: auto; }
  .site-header .header-cta { display: inline-flex; }
  .mobile-contact { display: none; }
  .drive-scene { min-height: clamp(33rem, 60vw, 44rem); }
  .drive-word { inset-block-start: 33%; }
  .drive-car { bottom: 11%; width: min(70%, 55rem); }
  .section-heading { grid-template-columns: 1.3fr .8fr; }
  .process-inner, .faq-inner, .contact-inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 850px) and (min-height: 600px) and (prefers-reduced-motion: no-preference) {
  .is-scroll-enhanced .drive-section { min-height: 166svh; }
  .is-scroll-enhanced .drive-scene { position: sticky; inset-block-start: var(--staged-top); min-height: calc(100svh - var(--staged-top)); }
  .is-scroll-enhanced .drive-car { will-change: transform; }
  .is-scroll-enhanced .drive-meter { display: block; }
  .is-scroll-enhanced .story-track { min-height: calc(var(--story-count, 3) * 72svh); }
  .is-scroll-enhanced .story-stage { position: sticky; inset-block-start: calc(var(--staged-top) + .7rem); align-content: center; min-height: calc(96svh - var(--staged-top)); }
  .is-scroll-enhanced .story-list { position: relative; display: block; height: clamp(21rem, 63vh, 34rem); overflow: clip; border: 1px solid var(--line); border-radius: .8rem; background: #141f24; }
  .is-scroll-enhanced .story-step { position: absolute; inset: 0; z-index: var(--step-layer, 0); border: 0; padding: clamp(1rem, 3vw, 2.8rem); background: none; pointer-events: none; }
  .is-scroll-enhanced .story-step:focus-visible { outline: none; }
  .is-scroll-enhanced .story-step:focus-visible .service-copy { outline: 3px solid var(--focus); outline-offset: .3rem; border-radius: .25rem; }
  .is-scroll-enhanced .story-step:not(:first-child) { --image-strength: 0; --text-strength: 0; }
  .is-scroll-enhanced .service-copy { z-index: 1; opacity: var(--text-strength, 1); transform: translateY(var(--service-y, 0px)); }
  .is-scroll-enhanced .service-visual { background: transparent; opacity: var(--image-strength, 1); }
  .is-scroll-enhanced .service-visual img { max-height: 47vh; min-height: min(19rem, 36vh); transform: scale(var(--service-scale, 1)); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-line > span { animation: hero-rise .65s cubic-bezier(.18,.72,.23,1) both; }
  .hero-accent > span { animation-delay: .1s; }
  .hero-image img { animation: hero-image-in .78s cubic-bezier(.2,.65,.3,1) both; }
}
@keyframes hero-rise { from { opacity: .25; transform: translateY(32%); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-image-in { from { opacity: .76; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
