/* Voltara Ambassadors Program
   Layout: full-bleed photographic heroes over charcoal, then calm warm-paper sections
   on a 1200px measure. Each page gives one full red band the job of carrying the brand. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Inter-Regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/Inter-Medium.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/Inter-SemiBold.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/InterDisplay-SemiBold.woff") format("woff"); }

:root {
  /* Color */
  --paper: #F7F5F2;      /* warm off-white page */
  --paper-2: #EEEAE4;    /* alternate section */
  --card: #FFFFFF;
  --line: #E2DCD3;
  --ink: #242220;        /* warm charcoal */
  --ink-2: #4A4642;
  --muted: #75706A;
  --red: #E82127;        /* Voltara red */
  --red-deep: #C2151B;
  --red-tint: #FBE8E7;
  --night: #1F1D1B;      /* dark sections and footer */
  --night-2: #2B2826;
  --on-night: #F4F0EA;
  --on-night-2: #ADA69D;
  --white: #FFFFFF;

  /* Type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter Display", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Shape and rhythm */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: var(--white); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.skip:focus { top: calc(16px + env(safe-area-inset-top, 0px)); }

/* ---------- Type scale ---------- */
.display {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.75rem, 1.2rem + 5.6vw, 5.75rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
}
.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.h3 { font-weight: 600; font-size: 1.15rem; line-height: 1.35; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 38rem; }
.label { display: inline-block; font-size: .9rem; font-weight: 600; color: var(--red); letter-spacing: .005em; }
.body { color: var(--ink-2); max-width: 36rem; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.prose { display: grid; gap: 16px; color: var(--ink-2); max-width: 40rem; }
.text-link { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.text-link:hover { text-decoration-color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: 0 1.6rem; border-radius: 12px;
  font: 600 .97rem/1 var(--font); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 1.1rem; font-size: .9rem; border-radius: 10px; }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 10px 24px -14px rgba(232, 33, 39, .9); }
.btn-red:hover { background: var(--red-deep); }
.btn-glass { background: rgba(255, 255, 255, .1); color: var(--white); border-color: rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .8); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--paper); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-quiet { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--red-tint); color: var(--red); flex: none; }
.icon-badge--night { background: rgba(255, 255, 255, .08); color: var(--on-night); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; flex: none; }
.wordmark { height: 13px; width: auto; display: block; }
.brand-sub { font-size: .82rem; font-weight: 500; line-height: 1; padding-left: 14px; border-left: 1px solid currentColor; opacity: .85; }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a { display: block; padding: 9px 14px; border-radius: 10px; font-size: .93rem; font-weight: 500; text-decoration: none; transition: background-color .2s; }
.nav-links a:hover { background: rgba(128, 120, 112, .16); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); border-radius: 10px 10px 0 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }

.site[data-nav="overlay"] .nav { color: var(--white); }
.site[data-nav="overlay"] .nav::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(20, 18, 17, .45), rgba(20, 18, 17, 0)); transition: opacity .35s var(--ease); }
.site .nav.is-solid,
.site[data-nav="solid"] .nav {
  color: var(--ink);
  background: rgba(247, 245, 242, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site .nav.is-solid::before { opacity: 0; }

.sheet {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  padding: calc(env(safe-area-inset-top, 0px)) 0 calc(24px + env(safe-area-inset-bottom, 0px));
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.sheet.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.sheet-links { list-style: none; display: grid; gap: 4px; margin-top: 24px; }
.sheet-links a { display: block; padding: 12px 0; font-family: var(--display); font-weight: 600; font-size: 2rem; letter-spacing: -.03em; text-decoration: none; border-bottom: 1px solid var(--line); }
.sheet-cta { margin-top: auto; display: grid; }
.sheet-cta .btn { width: 100%; }
.no-scroll { overflow: hidden; }

@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Heroes ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 980px);
  display: flex; align-items: flex-end;
  color: var(--white);
  background: var(--night);
}
.hero--page { min-height: min(74svh, 760px); }
.media-fallback {
  background:
    radial-gradient(70% 60% at 82% 18%, rgba(232, 33, 39, .38), rgba(232, 33, 39, 0) 70%),
    radial-gradient(60% 50% at 8% 92%, rgba(232, 33, 39, .2), rgba(232, 33, 39, 0) 70%),
    linear-gradient(155deg, #34302C 0%, #1F1D1B 48%, #151413 100%);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: settle 2.6s var(--ease) both; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 18, 17, .5) 0%, rgba(20, 18, 17, .05) 32%, rgba(20, 18, 17, .18) 58%, rgba(20, 18, 17, .86) 100%);
}
.hero-content { width: 100%; padding-block: calc(var(--nav-h) + 72px) clamp(56px, 9vw, 104px); display: grid; gap: 22px; }
.hero .label { color: var(--white); opacity: .9; }
.hero h1 { max-width: 13ch; }
.hero--page h1 { max-width: 16ch; font-size: clamp(2.5rem, 1.3rem + 4.4vw, 4.75rem); }
.hero .lede { color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.rise { animation: rise 1s var(--ease) both; }
.rise-2 { animation-delay: .12s; }
.rise-3 { animation-delay: .24s; }
.rise-4 { animation-delay: .36s; }

.intro { padding-block: calc(var(--nav-h) + clamp(56px, 8vw, 96px)) clamp(40px, 6vw, 64px); display: grid; gap: 20px; }
.intro .display { font-size: clamp(2.5rem, 1.3rem + 4.4vw, 4.75rem); max-width: 16ch; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 11vw, 144px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--alt { background: var(--paper-2); }
.section--night { background: var(--night); color: var(--on-night); }
.section--night .lede, .section--night .body { color: var(--on-night-2); }
.section--night .label { color: #FF5A5F; }
.section--red { background: var(--red); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.section--red .label { color: var(--white); opacity: .85; }
.section--red .lede, .section--red .body { color: rgba(255, 255, 255, .88); }

.section-head { display: grid; gap: 18px; max-width: 44rem; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; }
.section-head--split .lede { justify-self: end; }
@media (max-width: 860px) {
  .section-head--split { grid-template-columns: 1fr; }
  .section-head--split .lede { justify-self: start; }
}

/* At a glance */
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.glance-item { display: flex; gap: 16px; align-items: flex-start; padding: 32px 28px; background: var(--paper); }
.glance-item:first-child { padding-left: 0; }
.glance-item .icon { color: var(--red); margin-top: 2px; }
.glance-item p { color: var(--muted); font-size: .94rem; margin-top: 4px; }
@media (max-width: 960px) {
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance-item, .glance-item:first-child { padding: 28px 20px 28px 0; }
  .glance-item:nth-child(even) { padding-left: 20px; }
}
@media (max-width: 560px) {
  .glance { grid-template-columns: 1fr; }
  .glance-item, .glance-item:first-child, .glance-item:nth-child(even) { padding: 24px 0; }
}

/* Feature grid (duties, support) */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 36px; }
.features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { display: grid; gap: 14px; align-content: start; padding-top: 26px; border-top: 1px solid var(--line); }
.feature p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 1020px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1020px) { .features--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features, .features--3 { grid-template-columns: 1fr; gap: 36px; } }

/* Red earnings band */
.earn { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.earn-head { display: grid; gap: 22px; }
.earn-head .h2 { font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5rem); line-height: 1; }
.earn-list { list-style: none; display: grid; }
.earn-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .3); }
.earn-item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .3); }
.earn-item .icon { width: 28px; height: 28px; margin-top: 2px; }
.earn-item h3 { font-size: 1.2rem; }
.earn-item p { color: rgba(255, 255, 255, .86); margin-top: 6px; }
.earn-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 10px; }
.earn-actions .text-link { color: var(--white); }
.band-mark { position: absolute; right: -4%; bottom: -18%; width: min(60vw, 760px); height: auto; z-index: -1; opacity: .1; pointer-events: none; }
@media (max-width: 900px) { .earn { grid-template-columns: 1fr; } }

/* Vehicle lineup */
.lineup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.vehicle { display: grid; gap: 20px; align-content: start; }
.vehicle-media {
  position: relative; aspect-ratio: 16 / 11; max-width: 100%; border-radius: var(--r-lg); overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(80% 70% at 50% 100%, rgba(232, 33, 39, .22), rgba(232, 33, 39, 0) 70%), linear-gradient(180deg, #2E2B28, #232120);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: border-color .4s var(--ease);
}
.vehicle:hover .vehicle-media { border-color: rgba(255, 255, 255, .22); }
.vehicle-media svg { width: 78%; height: auto; color: rgba(244, 240, 234, .55); }
.vehicle-media .photo-note { position: absolute; left: 16px; bottom: 14px; font-size: .78rem; color: var(--on-night-2); }
.vehicle-type { font-size: .9rem; font-weight: 600; color: #FF5A5F; }
.vehicle h3 { font-family: var(--display); font-size: 1.6rem; letter-spacing: -.02em; margin-top: 2px; }
.vehicle p { color: var(--on-night-2); }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 4px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
.specs dt { font-size: .78rem; color: var(--on-night-2); }
.specs dd { margin: 4px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.ph { color: inherit; border-bottom: 1px dashed currentColor; }
@media (max-width: 960px) { .lineup { grid-template-columns: 1fr; max-width: 560px; } }

/* Sequenced steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.step { display: grid; gap: 12px; align-content: start; padding-top: 26px; border-top: 2px solid var(--ink); }
.step-num { font-size: .95rem; font-weight: 600; color: var(--red); font-variant-numeric: tabular-nums; }
.step p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Split image + text */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 104px); align-items: center; }
.split--flip .split-media { order: 2; }
.split-media { position: relative; aspect-ratio: 5 / 4; max-width: 100%; border-radius: var(--r-lg); overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.split:hover .split-media img { transform: scale(1.03); }
.split-text { display: grid; gap: 22px; align-content: center; }
.split-text .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split-media { order: 0; }
}

.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); }
.checklist .icon { width: 22px; height: 22px; color: var(--red); margin-top: 2px; }

/* Facts list */
.facts { display: grid; margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }

/* Two-column requirements */
.reqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.req-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); display: grid; gap: 22px; align-content: start; }
.req-card--plain { background: transparent; }
@media (max-width: 760px) { .reqs { grid-template-columns: 1fr; } }

/* Callout */
.callout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }

/* Closing call to action */
.closer { display: grid; gap: 28px; justify-items: start; }
.closer .display { max-width: 14ch; }

/* Dealer note on night/red */
.note { font-size: .92rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-group { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 2fr); gap: 24px 56px; padding-block: 44px; border-top: 1px solid var(--line); }
.faq-group:first-of-type { border-top: 0; padding-top: 0; }
.faq-group h2 { font-size: 1.3rem; letter-spacing: -.015em; position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.faq-list { display: grid; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 1.06rem; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform .35s var(--ease), color .2s; }
.faq-list summary:hover .icon { color: var(--red); }
.faq-list details[open] summary .icon { transform: rotate(180deg); color: var(--red); }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
.answer { padding: 0 0 24px; color: var(--ink-2); max-width: 62ch; display: grid; gap: 12px; }
@media (max-width: 860px) {
  .faq-group { grid-template-columns: 1fr; }
  .faq-group h2 { position: static; }
}

/* ---------- Apply ---------- */
.apply { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 88px); align-items: start; padding-bottom: clamp(80px, 10vw, 128px); }
.apply-aside { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 28px; }
.aside-block { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.aside-block h2 { font-size: 1rem; font-weight: 600; }
@media (max-width: 960px) {
  .apply { grid-template-columns: 1fr; }
  .apply-aside { position: static; order: 2; }
}

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4.5vw, 52px); box-shadow: 0 40px 80px -56px rgba(36, 34, 32, .45); min-width: 0; }
.progress { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 36px; }
.progress li { display: grid; gap: 10px; font-size: .8rem; font-weight: 500; color: var(--muted); min-width: 0; }
.progress .bar { position: relative; height: 4px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.progress .bar::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.progress li.is-done .bar::after, .progress li.is-current .bar::after { transform: scaleX(1); }
.progress li.is-current { color: var(--ink); }
.progress .p-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .progress { margin-bottom: 28px; } .progress .p-label { display: none; } }

.step-panel { display: grid; gap: 24px; }
.step-panel:focus { outline: none; }
.step-title { font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); letter-spacing: -.025em; }
.step-title:focus { outline: none; }
.step-intro { color: var(--muted); margin-top: -12px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-weight: 600; font-size: .94rem; margin-bottom: 10px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-weight: 600; font-size: .94rem; }
.opt { font-weight: 400; color: var(--muted); }
.hint { font-size: .86rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px; min-height: 50px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
textarea { min-height: 128px; resize: vertical; line-height: 1.55; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375706A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
input:hover, select:hover, textarea:hover { border-color: #CFC7BC; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background-color: var(--card); box-shadow: 0 0 0 4px rgba(36, 34, 32, .08); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); box-shadow: 0 0 0 4px rgba(232, 33, 39, .1); }
.error { font-size: .86rem; font-weight: 500; color: var(--red-deep); }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; font-weight: 500; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.choice:hover { border-color: #CFC7BC; }
.choice input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex: none; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--card); }
.choice:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.choice--block { font-weight: 400; color: var(--ink-2); line-height: 1.5; }
.choice--block strong { color: var(--ink); font-weight: 600; }
.field.has-error .choice { border-color: var(--red); }
.consent-note { font-size: .82rem; color: var(--muted); margin-top: 6px; display: block; }

.notice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--red-tint); color: var(--red-deep); font-size: .94rem; font-weight: 500; }
.notice .icon { width: 20px; height: 20px; margin-top: 2px; }

.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-nav .spacer { flex: 1; }
.step-count { font-size: .88rem; color: var(--muted); }

.review { display: grid; gap: 22px; }
.review-group { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; display: grid; gap: 14px; }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review-head h3 { font-size: 1rem; }
.review-edit { background: none; border: 0; padding: 4px 2px; font: 600 .9rem var(--font); color: var(--red-deep); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.review dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 10px 18px; margin: 0; font-size: .94rem; }
.review dt { color: var(--muted); }
.review dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
@media (max-width: 520px) { .review dl { grid-template-columns: 1fr; gap: 2px; } .review dd { margin-bottom: 10px; } }

.success { display: grid; gap: 20px; justify-items: start; padding-block: 12px; }
.success-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: var(--white); animation: pop .6s var(--ease) both; }
.success-mark .icon { width: 30px; height: 30px; stroke-width: 2.2; }
.success .preview-note { font-size: .88rem; color: var(--muted); padding: 12px 14px; border-radius: 10px; background: var(--paper); border: 1px dashed var(--line); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

.eeo { margin-top: 28px; font-size: .86rem; color: var(--muted); max-width: 60ch; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-card { display: grid; gap: 16px; align-content: start; padding: clamp(26px, 3vw, 36px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); scroll-margin-top: calc(var(--nav-h) + 32px); }
.contact-card:target { border-color: var(--red); box-shadow: 0 0 0 4px rgba(232, 33, 39, .12); }
.contact-card p { color: var(--ink-2); }
.contact-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.contact-line .icon { width: 20px; height: 20px; color: var(--red); }
.contact-line a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-line a:hover { text-decoration: underline; text-underline-offset: 3px; }
.copy-btn { margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; font: 500 .8rem var(--font); color: var(--muted); cursor: pointer; transition: border-color .2s, color .2s; }
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
address { font-style: normal; color: var(--ink-2); line-height: 1.7; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .93rem; transition: border-color .2s, background-color .2s; }
.socials a:hover { border-color: var(--ink); background: var(--card); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; max-width: 640px; } }

/* ---------- Privacy ---------- */
.policy { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 2fr); gap: 48px; padding-bottom: clamp(80px, 10vw, 128px); }
.policy-toc { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; display: grid; gap: 4px; list-style: none; font-size: .92rem; }
.policy-toc a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; }
.policy-toc a:hover { color: var(--ink); }
.policy-body { display: grid; gap: 44px; max-width: 46rem; min-width: 0; }
.policy-body section { display: grid; gap: 14px; scroll-margin-top: calc(var(--nav-h) + 28px); }
.policy-body h2 { font-size: 1.35rem; letter-spacing: -.02em; }
.policy-body p, .policy-body li { color: var(--ink-2); }
.policy-body ul { padding-left: 1.2rem; display: grid; gap: 8px; }
@media (max-width: 860px) { .policy { grid-template-columns: 1fr; } .policy-toc { position: static; } }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--on-night); padding-block: clamp(64px, 8vw, 96px) 36px; border-top: 4px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px 40px; }
.footer-brand { display: grid; gap: 22px; align-content: start; justify-items: start; }
.footer-brand .wordmark { height: 20px; color: var(--on-night); }
.footer-brand p { color: var(--on-night-2); max-width: 30ch; }
.footer-h { font-size: .9rem; font-weight: 600; color: var(--on-night); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: var(--on-night-2); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--white); }
.footer li { color: var(--on-night-2); overflow-wrap: anywhere; }
.legal { margin-top: clamp(48px, 7vw, 80px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .84rem; color: var(--on-night-2); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ---------- */
.js-anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-anim .reveal.is-in { opacity: 1; transform: none; }
.js-anim .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-anim .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js-anim .reveal-stagger.is-in > *:nth-child(2) { transition-delay: .07s; }
.js-anim .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .14s; }
.js-anim .reveal-stagger.is-in > *:nth-child(4) { transition-delay: .21s; }
.js-anim .reveal-stagger.is-in > *:nth-child(5) { transition-delay: .28s; }
.js-anim .reveal-stagger.is-in > *:nth-child(6) { transition-delay: .35s; }
.js-anim .reveal-stagger.is-in > *:nth-child(7) { transition-delay: .42s; }
.js-anim .reveal-stagger.is-in > *:nth-child(8) { transition-delay: .49s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js-anim .reveal, .js-anim .reveal-stagger > * { opacity: 1; transform: none; }
}

/* Menu sheet close button stays visible at every width */
.sheet .menu-btn { display: inline-flex; }
.sheet-body { display: flex; flex-direction: column; flex: 1; }


/*Additions*/

.vehicle-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.vehicle:hover .vehicle-media img { transform: scale(1.03); }
