/* =========================================================
   DJF'S Tech Appliance Liquidators
   Blue · white · red. Photo-led retail layout.
   ========================================================= */

:root {
  --navy-950: #06132E;
  --navy-900: #0B2350;
  --navy-800: #12306A;
  --navy-700: #1C418A;
  --blue-500: #2556C4;
  --red: #D7192F;
  --red-600: #B8102A;
  --red-700: #8F0C20;
  --red-300: #FF5C6B;
  --red-100: #FDEBEE;
  --green: #0f7a55;
  --green-100: #e3f5ec;
  --ink: #0E1E3A;
  --ink-2: #3c4a60;
  --ink-3: #5b6878;
  --line: #e2e6ec;
  --surface: #ffffff;
  --surface-2: #f5f7fa;
  --surface-3: #eaeef3;
  --cream: #f7f5f0;

  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 35, 80, .06), 0 2px 8px rgba(11, 35, 80, .05);
  --shadow-md: 0 4px 12px rgba(11, 35, 80, .08), 0 16px 40px rgba(11, 35, 80, .1);
  --shadow-lg: 0 24px 60px rgba(6, 19, 46, .28);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--surface);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.06; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; font-stretch: 108%; }
h2 em, .hero__lede em { font-style: italic; font-weight: 700; color: var(--red); }
h3 { font-size: 1.125rem; font-weight: 800; }
p { margin: 0; text-wrap: pretty; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--red); color: #fff; font-weight: 700; border-radius: 8px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* Appliance finishes (read by the drawing sprite) */
.f-steel { --body: url(#g-steel); --trim: #cdd3db; --glass: #1c2533; --line: #9aa4b2; }
.f-black { --body: url(#g-black); --trim: #2a3141; --glass: #0d1219; --line: #556075; }
.f-white { --body: #fbfcfd; --trim: #e7eaef; --glass: #1c2533; --line: #c2c9d3; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--surface-2); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.35em; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none;
  color: var(--fg); background: var(--bg); border: 2px solid transparent; border-radius: 10px; cursor: pointer;
  transition: transform .25s var(--ease-out), background-color .2s, box-shadow .25s var(--ease-out), border-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .3s var(--ease-out); }
.btn { transform: translate3d(var(--mgx, 0px), var(--mgy, 0px), 0); }
.btn:hover { transform: translate3d(var(--mgx, 0px), calc(var(--mgy, 0px) - 2px), 0); }
.btn:hover svg[aria-hidden] { transform: translateX(2px); }
.btn:active { transform: translate3d(var(--mgx, 0px), var(--mgy, 0px), 0) scale(.98); }
.btn--lg { min-height: 56px; padding: .9em 1.6em; font-size: 1.0625rem; }
/* White on brand red: 5.3:1 */
.btn--primary { --bg: var(--red); --fg: #fff; box-shadow: 0 6px 18px rgba(215,25,47,.32); }
.btn--primary:hover { --bg: var(--red-600); box-shadow: 0 10px 26px rgba(215,25,47,.42); }
.btn--glass { --bg: rgba(255,255,255,.08); --fg: #fff; border-color: rgba(255,255,255,.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--glass:hover { --bg: rgba(255,255,255,.18); border-color: #fff; }
.btn--outline { --bg: transparent; --fg: var(--navy-900); border-color: var(--navy-900); }
.btn--outline:hover { --bg: var(--navy-900); --fg: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-600); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--red-300); }
.lede { margin-top: 14px; font-size: 1.0625rem; color: var(--ink-2); max-width: 38rem; }

/* Centered section titles with the logo ornament (Kitchen World style) */
.title-c { text-align: center; margin: 0 auto clamp(28px, 4vw, 44px); max-width: 44rem; }
.title-c h2 { text-transform: uppercase; font-size: clamp(1.625rem, 3.2vw, 2.25rem); font-weight: 900; font-stretch: 110%; letter-spacing: .01em; }
.title-c h2 em { text-transform: none; }
.title-c__sub { margin-top: 12px; color: var(--ink-2); font-size: 1.0625rem; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
.ornament::before, .ornament::after { content: ""; width: 56px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--red)); }
.ornament::after { background: linear-gradient(90deg, var(--navy-900), transparent); }
.ornament svg { width: 22px; height: 22px; }
.title-c--light h2 { color: #fff; text-transform: none; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.01em; }
.title-c--light h2 em { color: var(--red-300); }
.title-c--light .title-c__sub { color: #c4cfe0; }

/* Icon tiles (GE style) */
.tile { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--red); color: #fff; box-shadow: 0 8px 18px rgba(215,25,47,.28); }
.tile svg { width: 26px; height: 26px; }
.tile--sm { width: 42px; height: 42px; border-radius: 12px; box-shadow: none; }
.tile--sm svg { width: 20px; height: 20px; }

/* ---------- Announcement bar ---------- */
.topbar { background: var(--navy-950); color: #c9d3e1; font-size: .8125rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar__welcome { font-weight: 600; color: #fff; }
.topbar__perks { display: flex; gap: 22px; margin-left: auto; }
.topbar__perks li { display: inline-flex; align-items: center; gap: 7px; }
.topbar__perks svg { width: 15px; height: 15px; color: var(--red-300); }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.15); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: #7d8796; flex: none; }
.status.is-open .dot { background: #34d399; animation: pulse 2.2s infinite; }
.status.is-open strong { color: #6ee7b7; }
.status.is-closed strong { color: #fca5a5; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
@media (max-width: 1100px) { .topbar__perks { display: none; } .status { margin-left: auto; } }
@media (max-width: 640px) { .topbar__welcome { display: none; } .topbar__inner { justify-content: center; } .status { margin: 0; padding: 0; border: 0; } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(11,35,80,.08); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo__mark { width: 48px; height: 48px; flex: none; filter: drop-shadow(0 3px 8px rgba(11,35,80,.18)); transition: transform .5s var(--ease-out); }
.logo:hover .logo__mark { transform: scale(1.06); }
.logo__pulse { stroke-dasharray: 100; stroke-dashoffset: 0; animation: pulseDraw 1.4s var(--ease-out) .2s both; }
.logo:hover .logo__pulse { animation: pulseDraw 1s var(--ease-out); }
@keyframes pulseDraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong { font-family: var(--font-display); font-weight: 900; font-stretch: 115%; font-size: 1.5rem; color: var(--navy-900); white-space: nowrap; }
.logo__text strong em { font-style: normal; color: var(--red); }
.logo__text span { font-size: .625rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: 5px; white-space: nowrap; }

.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__menu a:not(.btn) {
  position: relative; display: block; padding: 10px 8px; font-weight: 700; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--ink-2);
  transition: color .2s;
}
.nav__menu a:not(.btn)::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .35s var(--ease-out); }
.nav__menu a:not(.btn):hover, .nav__menu a.is-current { color: var(--red-600); }
.nav__menu a:not(.btn):hover::after, .nav__menu a.is-current::after { transform: scaleX(1); }
.nav__cta-mobile, .nav__toggle { display: none; }
.header__call { min-height: 46px; padding: .6em 1.1em; font-size: .9375rem; white-space: nowrap; }
@media (max-width: 1440px) { .header__call span { display: none; } .header__call { width: 46px; padding: 0; } }

@media (max-width: 1240px) {
  .nav { order: 3; }
  .nav__toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--surface-2); cursor: pointer; }
  .burger, .burger::before, .burger::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease-out), background-color .2s; }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -6px; } .burger::after { top: 6px; }
  .nav__toggle[aria-expanded="true"] .burger { background: transparent; }
  .nav__toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }
  .nav__menu {
    position: fixed; left: 0; right: 0; top: var(--menu-top, 116px); flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - var(--menu-top, 116px)); overflow-y: auto;
    padding: 8px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease-out), transform .35s var(--ease-out), visibility 0s .35s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__menu a:not(.btn) { padding: 15px 4px; font-size: .9375rem; border-bottom: 1px solid var(--surface-3); }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__cta-mobile { display: block; margin-top: 16px; }
  .nav__cta-mobile .btn { width: 100%; }
}
@media (max-width: 400px) { .logo__text strong { font-size: 1.2rem; } .logo__text span { font-size: .5625rem; letter-spacing: .14em; } .logo__mark { width: 40px; height: 40px; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-950); overflow: hidden; }
.hero__photo, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__photo img { object-fit: cover; object-position: 70% center; animation: heroZoom 14s var(--ease-out) both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6,19,46,.94) 0%, rgba(6,19,46,.82) 38%, rgba(6,19,46,.35) 70%, rgba(6,19,46,.25) 100%),
              linear-gradient(0deg, rgba(6,19,46,.85) 0%, transparent 35%); }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; min-height: min(78vh, 720px); padding-block: clamp(56px, 8vw, 96px) clamp(48px, 6vw, 72px); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; margin-bottom: 22px; border-radius: 999px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-300); box-shadow: 0 0 0 4px rgba(255,92,107,.25); }
.hero__title { font-size: clamp(2rem, 4.1vw, 3.9rem); font-weight: 900; font-stretch: 112%; line-height: .98; text-transform: uppercase; letter-spacing: -.005em; margin-bottom: 22px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .05em; }
.hero__title .line > span { display: inline-block; white-space: nowrap; animation: rise 1s var(--ease-out) both; animation-delay: calc(var(--d) * 90ms + 150ms); }
.hero__title .accent { color: var(--red-300); }
.hero__lede { max-width: 33rem; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: #d3dcea; margin-bottom: 30px; }
.hero__lede em { color: #fff; font-family: var(--font-display); font-size: 1.08em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.reveal-load { animation: fadeUp .9s var(--ease-out) both; animation-delay: calc(var(--d) * 90ms + 150ms); }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Floating glass cards (GE style) */
.hero__cards { position: relative; height: 380px; }
.float { position: absolute; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: var(--shadow-lg); }
.float__label { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red-600); margin-bottom: 10px; }
.float__label svg { width: 16px; height: 16px; }
.float__deal { display: flex; align-items: center; gap: 14px; }
.float__img { width: 64px; height: 84px; flex: none; }
.float__name { font-weight: 700; font-size: .9375rem; line-height: 1.25; max-width: 180px; }
.float__was { font-size: .8125rem; color: var(--ink-3); margin-top: 4px; }
.float__price { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 900; font-size: 1.625rem; line-height: 1.1; }
.float__price b { font-family: var(--font-body); font-size: .75rem; padding: 3px 8px; border-radius: 999px; background: var(--red); color: #fff; }
.float__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--red); color: #fff; }
.float__icon--blue { background: var(--navy-900); }
.float__icon svg { width: 22px; height: 22px; }
.float__k { font-weight: 800; font-size: .9375rem; }
.float__v { font-size: .8125rem; color: var(--ink-3); }
.float--status, .float--repair { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; }
.float--deal { right: 0; top: 30px; width: 300px; animation: pop .9s var(--ease-out) .9s both, bob 7s var(--ease-in-out) 2s infinite; }
.float--status { left: 0; top: 210px; animation: pop .9s var(--ease-out) 1.1s both, bob 8s var(--ease-in-out) 2.4s infinite reverse; }
.float--repair { right: 20px; top: 290px; animation: pop .9s var(--ease-out) 1.3s both, bob 7.5s var(--ease-in-out) 2.8s infinite; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__cards { height: auto; display: flex; flex-wrap: wrap; gap: 12px; }
  .hero__cards .float { position: relative; inset: auto; animation: pop .9s var(--ease-out) 1s both; }
  .float--repair { display: none !important; }
  .float--deal { width: 100%; max-width: 340px; }
  .hero__shade { background: linear-gradient(180deg, rgba(6,19,46,.78) 0%, rgba(6,19,46,.88) 60%, rgba(6,19,46,.96) 100%); }
}
@media (max-width: 560px) { .hero__actions .btn { flex: 1 1 100%; } .float--status { display: none !important; } }

/* Feature strip */
.strip { position: relative; background: rgba(6,19,46,.86); border-top: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.strip__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__list li { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.strip__list li + li { border-left: 1px solid rgba(255,255,255,.1); }
.strip__list svg { width: 34px; height: 34px; flex: none; color: var(--red-300); }
.strip__list strong { display: block; font-size: .875rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.strip__list span span, .strip__list li > span { font-size: .8125rem; color: #a9b6cb; line-height: 1.35; }
@media (max-width: 960px) {
  .strip__list { grid-template-columns: repeat(2, 1fr); }
  .strip__list li:nth-child(3) { border-left: 0; }
  .strip__list li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 420px) { .strip__list li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 12px; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section__head { max-width: 46rem; margin-bottom: clamp(24px, 3vw, 36px); }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
@media (max-width: 720px) { .section__head--row { flex-direction: column; align-items: stretch; } }

/* ---------- Categories (photo tiles) ---------- */
.cats__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.cat { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius-lg); }
.cat__img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-3); box-shadow: var(--shadow-sm); }
.cat__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,35,80,.35)); opacity: 0; transition: opacity .4s; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.cat:hover .cat__img img { transform: scale(1.08); }
.cat:hover .cat__img::after { opacity: 1; }
.cat__row { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.cat__ico { width: 22px; height: 28px; flex: none; }
.cat__name { font-family: var(--font-display); font-weight: 800; font-size: 1rem; font-stretch: 108%; text-transform: uppercase; letter-spacing: .02em; }
.cat__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; font-size: .8125rem; color: var(--ink-3); }
.cat__shop { position: relative; font-weight: 800; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red-600); }
.cat__shop::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: currentColor; transform: scaleX(.35); transform-origin: left; transition: transform .35s var(--ease-out); }
.cat:hover .cat__shop::after { transform: scaleX(1); }
@media (max-width: 960px) { .cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .cat__name { font-size: .875rem; } .cat__meta { flex-direction: column; align-items: flex-start; gap: 2px; } .cat:last-child { grid-column: span 2; } .cat:last-child .cat__img { aspect-ratio: 2 / 1; } }

/* ---------- Featured deals carousel ---------- */
.deals { background: var(--surface-2); }
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 20px; margin: -6px -2px -20px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > li { scroll-snap-align: start; }
.carousel__btn {
  position: absolute; top: 38%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: #fff; color: var(--navy-900); box-shadow: var(--shadow-md); cursor: pointer; transition: transform .25s var(--ease-out), background-color .2s, color .2s, opacity .2s;
}
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover { background: var(--red); color: #fff; transform: scale(1.06); }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }
.carousel__btn--prev { left: -22px; } .carousel__btn--next { right: -22px; }
.deals__more { text-align: center; margin-top: 32px; }
@media (max-width: 1100px) { .carousel__track { grid-auto-columns: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 760px) {
  .carousel__track { grid-auto-columns: 72%; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .carousel__btn { display: none; }
}

/* Compact product (carousel) */
.pcard { display: flex; flex-direction: column; height: 100%; padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.pcard__media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / .9; border-radius: 10px; background: linear-gradient(180deg, var(--surface-2), var(--surface-3)); margin-bottom: 14px; overflow: hidden; }
.pcard__media svg { width: 52%; height: 86%; transition: transform .6s var(--ease-out); }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .6s var(--ease-out); }
.pcard:hover .pcard__media svg, .pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard:hover .drum { animation: spin 1.6s linear infinite; }
.pcard .drum, .card .drum { transform-origin: 60px 94px; }
.pcard__off { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 6px; background: var(--red); color: #fff; font-weight: 800; font-size: .8125rem; }
.pcard__brand { font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.pcard__title { font-family: var(--font-body); font-size: .9375rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; margin: 3px 0 8px; }
.pcard__cond { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--ink-3); margin-bottom: 10px; }
.pcard__cond::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--red)); }
.pcard__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.pcard__price strong { font-family: var(--font-display); font-weight: 900; font-size: 1.375rem; }
.pcard__price s { font-size: .8125rem; color: var(--ink-3); }
.pcard__btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; margin-top: 12px; border-radius: 8px; background: var(--red); color: #fff; font-weight: 800; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: background-color .2s; }
.pcard__btn:hover { background: var(--red-600); }
.pcard__btn svg { width: 15px; height: 15px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- How it works (split with photo) ---------- */
.how__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.how__media { position: relative; }
.how__media > img { width: 100%; height: auto; aspect-ratio: 6 / 7; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.float--save { left: -24px; bottom: 32px; width: 250px; animation: bob 7s var(--ease-in-out) infinite; }
.float__big { font-family: var(--font-display); font-weight: 900; font-size: 2.25rem; line-height: 1; color: var(--green); }
.float__bar { display: block; height: 6px; margin-top: 12px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.float__bar span { display: block; height: 100%; width: 46%; border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--red-300)); transform-origin: left; }
.how__media.is-in .float__bar span { animation: grow 1.4s var(--ease-out) .4s both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.steps { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--ink-2); }
.conditions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: clamp(40px, 6vw, 64px) 0 0; }
.conditions > div { padding: 20px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.conditions dt { margin-bottom: 10px; }
.conditions dd { margin: 0; font-size: .9375rem; color: var(--ink-2); }
@media (max-width: 960px) { .how__inner { grid-template-columns: 1fr; } .how__media { max-width: 520px; } .conditions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .float--save { left: 12px; bottom: 12px; width: 220px; } .conditions { grid-template-columns: 1fr; } }

.badge { display: inline-block; padding: 5px 10px; border-radius: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.badge--dent { background: #fff4d6; color: #7a4b00; }
.badge--open { background: #e2edff; color: #1d4597; }
.badge--over { background: var(--green-100); color: #0b5c40; }
.badge--used { background: #efe7ff; color: #4c2a99; }

/* ---------- Inventory grid ---------- */
.inv { background: var(--surface-2); border-top: 1px solid var(--line); }
.select { position: relative; flex: none; }
.select select { appearance: none; -webkit-appearance: none; min-height: 48px; padding: 0 44px 0 18px; font: 600 .9375rem var(--font-body); color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .9375rem; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s, transform .2s var(--ease-out); }
.chip:hover { border-color: var(--navy-900); color: var(--ink); }
.chip:active { transform: scale(.96); }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip--sm { min-height: 40px; padding: 0 14px; font-size: .875rem; }
.chips--sub .chip.is-active { background: var(--red-100); border-color: var(--red); color: var(--red-700); }
@media (max-width: 720px) { .chips { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); } }
.inv__meta { font-size: .875rem; color: var(--ink-3); margin-bottom: 16px; }
.inv__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.inv__empty { padding: 40px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); color: var(--ink-2); background: #fff; }

.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s; animation: cardIn .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.card__media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: linear-gradient(180deg, var(--surface-2), var(--surface-3)); overflow: hidden; }
.card__media svg { position: relative; width: 46%; height: 86%; transition: transform .6s var(--ease-out); }
.card__media img { position: relative; width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .6s var(--ease-out); }
.card:hover .card__media svg, .card:hover .card__media img { transform: translateY(-6px) scale(1.04); }
.card:hover .drum { animation: spin 1.6s linear infinite; }
.card__off { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 8px; background: var(--red); color: #fff; font-weight: 800; font-size: .875rem; box-shadow: 0 4px 12px rgba(215,25,47,.3); }
.card__cond { position: absolute; top: 14px; right: 14px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.card__brand { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.card__title { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; margin: 4px 0 10px; }
.card__note { font-size: .875rem; color: var(--ink-2); line-height: 1.5; margin-bottom: 12px; }
.card__feats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.card__feats li { font-size: .75rem; font-weight: 600; padding: 4px 9px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); }
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--surface-3); }
.price { display: flex; flex-direction: column; line-height: 1.1; }
.price__was { font-size: .8125rem; color: var(--ink-3); }
.price__now { font-family: var(--font-display); font-weight: 900; font-stretch: 110%; font-size: 1.75rem; font-variant-numeric: tabular-nums; }
.price__save { font-size: .8125rem; font-weight: 700; color: var(--green); margin-top: 2px; white-space: nowrap; }
.card__cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 10px; background: var(--navy-900); color: #fff; font-weight: 700; font-size: .875rem; text-decoration: none; white-space: nowrap; transition: background-color .2s, transform .25s var(--ease-out); }
.card__cta:hover { background: var(--red); transform: translateY(-1px); }
.card__cta svg { width: 16px; height: 16px; }

/* ---------- Repairs (dark) ---------- */
.repairs { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; }
.repairs::before { content: ""; position: absolute; right: -15%; top: -20%; width: 60vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(37,86,196,.28), transparent 62%); pointer-events: none; }
.repairs::after { content: ""; position: absolute; left: -20%; bottom: -35%; width: 55vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(215,25,47,.18), transparent 62%); pointer-events: none; }
.repairs .wrap { position: relative; z-index: 1; }
.repairs__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-top: 8px; }
.rcards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rcard { padding: 26px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background-color .3s, border-color .3s, transform .45s var(--ease-out); }
.rcard:hover { background: rgba(255,255,255,.08); border-color: rgba(255,92,107,.55); transform: translateY(-4px); }
.rcard .tile { margin-bottom: 18px; }
.rcard .tile svg { width: 30px; height: 30px; }
.rcard h3 { margin-bottom: 6px; transition: color .2s; }
.rcard p { color: #b9c6dd; font-size: .9375rem; }
.rcard:hover h3 { color: var(--red-300); }
.repairs__media { position: relative; }
.repairs__media > img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); }
.float--ticket { left: -36px; bottom: 28px; width: 290px; animation: bob 8s var(--ease-in-out) infinite; }
.tick { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: .8125rem; color: var(--ink-2); }
.tick b { flex: none; font-size: .6875rem; padding: 4px 9px; border-radius: 999px; }
.tick .ok { background: var(--green-100); color: #0b5c40; }
.tick .swap { background: var(--red-100); color: var(--red-700); }
.float--ticket .float__v { padding-top: 10px; border-top: 1px dashed var(--line); font-weight: 600; color: var(--ink); }
.repairs__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(32px, 5vw, 48px); }
@media (max-width: 960px) { .repairs__inner { grid-template-columns: 1fr; } .repairs__media { max-width: 520px; margin-inline: auto; } .float--ticket { left: 12px; } }
@media (max-width: 560px) { .rcards { grid-template-columns: 1fr; } .repairs__actions .btn { flex: 1 1 100%; } .float--ticket { width: 260px; bottom: 12px; } }

/* ---------- Visit ---------- */
.visit__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.contact { display: flex; flex-direction: column; gap: 14px; margin: 24px 0; }
.contact li { display: flex; align-items: center; gap: 14px; }
.contact strong { display: block; font-size: 1.0625rem; }
.contact li > span:last-child { font-size: .875rem; color: var(--ink-3); }
.contact a { color: var(--ink); text-decoration: none; }
.contact a:hover { color: var(--red-600); }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 28px; font-size: .9375rem; }
.hours th, .hours td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; }
.hours td { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hours tr.is-today { background: var(--red-100); }
.hours tr.is-today th::after { content: "Today"; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--red); color: #fff; font-size: .6875rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.hours tr.is-today td { color: var(--ink); font-weight: 700; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.visit__map { min-height: 460px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-3); box-shadow: var(--shadow-md); }
.visit__map iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }
@media (max-width: 960px) { .visit__inner { grid-template-columns: 1fr; } .visit__map, .visit__map iframe { min-height: 320px; } }
@media (max-width: 560px) { .visit__actions .btn { flex: 1 1 100%; } }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq__list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--red); }
.faq summary { position: relative; display: block; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 1.0625rem; cursor: pointer; list-style: none; border-radius: var(--radius); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--surface-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230B2350' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .35s var(--ease-out), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--red-100); }
.faq details > div { padding: 0 22px 22px; color: var(--ink-2); }
.faq details > div a { color: var(--red-600); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(48px, 7vw, 80px); background: var(--navy-900); }
.cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,19,46,.95) 0%, rgba(11,35,80,.86) 55%, rgba(11,35,80,.7) 100%); }
.cta__inner { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); }
.cta__ring { position: relative; display: grid; place-items: center; width: 92px; height: 92px; flex: none; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 10px rgba(215,25,47,.22); }
.cta__ring::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,92,107,.6); animation: ring 2.4s var(--ease-out) infinite; }
.cta__ring svg { width: 40px; height: 40px; color: #fff; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.cta__copy { flex: 1; }
.cta h2 { font-size: clamp(1.625rem, 3.2vw, 2.375rem); font-weight: 900; font-stretch: 110%; text-transform: uppercase; }
.cta p { margin: 6px 0 18px; font-size: 1.0625rem; color: #d3dcea; }
.cta__phone { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .02em; }
.cta__perks { display: flex; gap: 28px; }
.cta__perks li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: #d3dcea; text-align: center; }
.cta__perks svg { width: 30px; height: 30px; color: var(--red-300); }
@media (max-width: 960px) { .cta__inner { flex-direction: column; text-align: center; } .cta__perks { justify-content: center; } }
@media (max-width: 560px) { .cta__phone { width: 100%; } .cta__perks { gap: 18px; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #b3bfcf; font-size: .9375rem; padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: 32px; padding-bottom: 48px; }
.footer__logo { width: 248px; height: auto; margin-bottom: 16px; }
.footer__h { font-family: var(--font-display); font-size: .875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer__h::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 8px; border-radius: 2px; background: var(--red); }
.footer ul { display: flex; flex-direction: column; gap: 9px; }
.footer a { color: #d7deea; text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--red-300); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--red-300); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8125rem; color: #8292a8; }
.pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay__label { font-weight: 600; margin-right: 4px; }
.pay__chip { padding: 5px 10px; border-radius: 6px; background: #fff; color: var(--navy-900); font-weight: 800; font-size: .75rem; }
@media (max-width: 960px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__inner { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.actionbar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgba(6,19,46,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -8px 24px rgba(6,19,46,.2); transform: translateY(110%); transition: transform .45s var(--ease-out); }
  .actionbar.is-visible { transform: none; }
  .actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 12px; color: #fff; text-decoration: none; font-size: .75rem; font-weight: 600; }
  .actionbar a:active { background: rgba(255,255,255,.1); }
  .actionbar svg { width: 22px; height: 22px; }
  .actionbar .is-primary { background: var(--red); }
}

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--rd, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* Long headline lines may wrap on small phones */
@media (max-width: 480px) { .hero__title .line > span { white-space: normal; } }

/* ---------- Showroom video: frame expands to full screen on scroll ---------- */
.tour { position: relative; height: calc(var(--tour-len, 1100px) + 100vh); background: var(--navy-950); }
.tour__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.tour__intro { position: absolute; left: 0; right: 0; top: var(--header-h); height: calc(30% - var(--header-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 var(--gutter); text-align: center; color: #fff; }
.tour__intro .eyebrow { margin-bottom: 8px; }
.tour__intro h2 { font-size: clamp(1.625rem, 3.6vw, 2.75rem); font-weight: 900; font-stretch: 110%; }
.tour__intro h2 em { color: var(--red-300); }
/* Start values are set by JS; these are the no-JS / fallback state */
.tour__frame { position: absolute; inset: 0; overflow: hidden; contain: paint; background: #000; --c-t: 30%; --c-x: 20%; --c-b: 14%; --c-r: 24px; clip-path: inset(var(--c-t) var(--c-x) var(--c-b) var(--c-x) round var(--c-r)); }
.tour__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; transform: translateZ(0) scale(1.35); transform-origin: center; backface-visibility: hidden; }
.tour__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,19,46,.88) 0%, rgba(6,19,46,.35) 40%, transparent 65%); opacity: 0; pointer-events: none; }
.tour__copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) clamp(32px, 7vh, 72px); display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; opacity: 0; visibility: hidden; transform: translateY(24px); }
.tour__copy .pill { margin-bottom: 16px; }
.tour__title { font-family: var(--font-display); font-weight: 900; font-stretch: 110%; font-size: clamp(1.75rem, 4vw, 3.25rem); line-height: 1.05; text-wrap: balance; margin-bottom: 22px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.tour__title em { font-style: italic; font-weight: 700; color: var(--red-300); }
.tour__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tour__copy.is-shown { visibility: visible; }
.tour__hint { position: absolute; left: 0; right: 0; bottom: 4%; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #a9b6cb; }
.tour__hint span { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; position: relative; }
.tour__hint span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--red-300); animation: wheel 1.6s var(--ease-in-out) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 760px) {
  .tour { --tour-len: 800px; }
  .tour__frame { --c-t: 32%; --c-x: 6%; --c-b: 22%; --c-r: 18px; }
  .tour__actions .btn { flex: 1 1 100%; }
}
/* Reduced motion: no scroll effect, just the finished frame */
@media (prefers-reduced-motion: reduce) {
  .tour { height: auto; }
  .tour__sticky { position: relative; height: 80vh; min-height: 520px; }
  .tour__frame { clip-path: none; }
  .tour__video { transform: none; }
  .tour__intro, .tour__hint { display: none; }
  .tour__shade, .tour__copy { opacity: 1; visibility: visible; transform: none; }
}
/* Still photo shows until the video is actually playing (also covers blocked autoplay) */
video.tour__video { opacity: 0; transition: opacity .8s var(--ease-out); }
.tour.is-playing video.tour__video { opacity: 1; }
@media (max-width: 720px) {
  /* Clear the fixed Call/Text/Directions bar */
  .tour__copy { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .tour__copy .pill { font-size: .6875rem; letter-spacing: .04em; padding: 6px 12px; }
  .tour__actions .btn--glass { display: none; }
}

/* ---------- Customer reviews ---------- */
.reviews { background: #fff; }
.stars { display: inline-flex; gap: 2px; color: #f5a524; font-size: 1rem; letter-spacing: 0; line-height: 1; }
.stars .off { color: var(--surface-3); }
.stars--lg { font-size: 1.5rem; }
.reviews__summary { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 24px; margin: 0 auto 36px; padding: 20px 28px; max-width: 640px; border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--line); }
.reviews__avg { font-family: var(--font-display); font-weight: 900; font-size: 3rem; line-height: 1; color: var(--navy-900); }
.reviews__count { font-size: .875rem; color: var(--ink-3); margin-top: 6px; }
.reviews__summary .btn { margin-left: auto; }
@media (max-width: 560px) { .reviews__summary .btn { margin-left: 0; width: 100%; } }

.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 380px)); justify-content: center; gap: 20px; margin-bottom: 48px; }
.reviews__grid:empty { display: none; }
.rcard-r { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.rcard-r:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rcard-r::before { content: "\201C"; position: absolute; right: 22px; top: 6px; font-family: var(--font-display); font-size: 4.5rem; font-weight: 900; line-height: 1; color: var(--red-100); }
.rcard-r__text { color: var(--ink-2); font-size: .975rem; }
.rcard-r__item { align-self: flex-start; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--red-100); color: var(--red-700); }
.rcard-r__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--surface-3); }
.rcard-r__avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 800; }
.rcard-r__name { font-weight: 700; line-height: 1.2; }
.rcard-r__meta { font-size: .8125rem; color: var(--ink-3); }

.reviews__first { display: flex; align-items: center; gap: 18px; max-width: 760px; margin: 0 auto 40px; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--surface-2); border: 1.5px dashed var(--line); }
.reviews__first h3 { margin-bottom: 4px; }
.reviews__first p { color: var(--ink-2); }

/* Review form */
.rform { max-width: 760px; margin: 0 auto; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--navy-950); color: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 18px; }
.rform__hp { position: absolute; left: -9999px; }
.rform__head h3 { font-size: 1.5rem; }
.rform__head p { color: #b9c6dd; font-size: .9375rem; margin-top: 4px; }
.rform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .rform__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .rate legend { font-size: .875rem; font-weight: 700; color: #dfe6f1; }
.field i, .rate legend span, .check i { font-style: normal; color: var(--red-300); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 500 1rem var(--font-body); color: #fff;
  background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.18); border-radius: 10px; transition: border-color .2s, background-color .2s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #8090a8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-300); background: rgba(255,255,255,.1); }
.rate { border: 0; margin: 0; padding: 0; }
.rate legend { margin-bottom: 6px; }
/* Stars are in reverse order so "this and every star before it" can light up with ~ */
.rate__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate__stars label { width: 44px; height: 44px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4-4.7-4.4 6.4-.8z' fill='%23334566'/%3E%3C/svg%3E") center / 34px no-repeat; transition: transform .2s var(--ease-out); }
.rate__stars label:hover, .rate__stars label:hover ~ label, .rate__stars input:checked ~ label {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4-4.7-4.4 6.4-.8z' fill='%23f5a524'/%3E%3C/svg%3E");
}
.rate__stars label:hover { transform: scale(1.12); }
.rate__stars input:focus-visible + label { outline: 3px solid var(--red-300); outline-offset: 2px; border-radius: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; color: #c4cfe0; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--red); }
.rform__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.rform__status { font-size: .9375rem; font-weight: 600; }
.rform__status.is-ok { color: #6ee7b7; }
.rform__status.is-err { color: #fca5a5; }
.rform__status a { color: #fff; }
.rform.is-sent .field, .rform.is-sent .rate, .rform.is-sent .check, .rform.is-sent .rform__row, .rform.is-sent [data-rv-submit] { display: none; }

/* =========================================================
   Micro-interactions
   ========================================================= */

/* Headings come into focus rather than just fading in */
.js .title-c.reveal, .js .section__head.reveal, .js .how__copy h2.reveal, .js .visit__info.reveal h2 { filter: blur(8px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); }
.js .title-c.reveal.is-in, .js .section__head.reveal.is-in, .js .how__copy h2.reveal.is-in, .js .visit__info.reveal.is-in h2 { filter: none; }

/* Hand-drawn underline under the red italic words */
h2 em {
  padding-bottom: .04em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9.5C46 4.5 104 2.8 197 6.2' fill='none' stroke='%23D7192F' stroke-width='3.2' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E") no-repeat 0 100% / 0% .3em;
  transition: background-size 1s cubic-bezier(.65,0,.35,1) .45s;
}
.repairs h2 em, .title-c--light h2 em {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9.5C46 4.5 104 2.8 197 6.2' fill='none' stroke='%23FF5C6B' stroke-width='3.2' stroke-linecap='round' opacity='.6'/%3E%3C/svg%3E");
}
.is-in h2 em, h2.is-in em, .tour h2 em { background-size: 100% .3em; }

/* Heartbeat divider draws itself in */
.ornament svg { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s var(--ease-out) .35s; }
.is-in .ornament svg { stroke-dashoffset: 0; }
.ornament::before, .ornament::after { transform: scaleX(0); transition: transform .9s var(--ease-out) .2s; }
.ornament::before { transform-origin: right; } .ornament::after { transform-origin: left; }
.is-in .ornament::before, .is-in .ornament::after { transform: scaleX(1); }

/* Cursor light on cards (mouse only; JS sets --mx/--my) */
.pcard, .rcard, .rcard-r, .conditions > div { position: relative; }
.card::after, .pcard::after, .rcard-r::after, .conditions > div::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease-out);
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(215,25,47,.07), transparent 45%);
}
/* Dark repair cards: the border lights up near the cursor */
.rcard::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease-out);
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255,92,107,.95), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.rcard::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease-out);
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.06), transparent 50%);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover::after, .pcard:hover::after, .rcard-r:hover::after, .conditions > div:hover::after, .rcard:hover::after, .rcard:hover::before { opacity: 1; }
  .rcard:hover { border-color: rgba(255,255,255,.1); }
  /* Gentle tilt toward the cursor */
  .card:hover, .pcard:hover { transform: perspective(1000px) translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s; }
  .conditions > div { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s; }
  .conditions > div:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--shadow-sm); }
}

/* Prices count down from retail */
.price__now, .pcard__price strong { display: inline-block; transition: color .4s; }
.price__now.is-counting, .pcard__price strong.is-counting { color: var(--ink-3); }
.price__now.is-landed, .pcard__price strong.is-landed { animation: land .5s var(--ease-out); }
@keyframes land { 0% { transform: scale(1); } 40% { transform: scale(1.06); color: var(--red-600); } 100% { transform: scale(1); } }

/* Filter chips: a highlight slides to the active one */
.chips.has-ind { position: relative; }
.chips__ind { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; background: var(--navy-900); box-shadow: 0 6px 16px rgba(11,35,80,.22); pointer-events: none; transition: transform .5s cubic-bezier(.34,1.3,.5,1), width .5s cubic-bezier(.34,1.3,.5,1); }
.chips--sub .chips__ind { background: var(--red-100); box-shadow: inset 0 0 0 1.5px var(--red); }
.chips.has-ind .chip { position: relative; z-index: 1; background: transparent; }
.chips.has-ind .chip.is-active { background: transparent; border-color: transparent; }
.chips.has-ind .chip:not(.is-active):hover { background: rgba(255,255,255,.7); }

/* Carousel progress line */
.carousel__progress { position: relative; height: 3px; max-width: 220px; margin: 26px auto 0; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.carousel__progress span { display: block; height: 100%; border-radius: inherit; background: var(--red); transition: transform .25s linear; }

/* "How we save" steps: a line draws between the icon tiles */
.steps li { position: relative; }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 60px; bottom: -18px; width: 2px; border-radius: 2px; background: linear-gradient(var(--red), rgba(215,25,47,.4)); transform: scaleY(0); transform-origin: top; transition: transform .9s var(--ease-out) .5s; }
.steps li.is-in::before { transform: scaleY(1); }
.steps .tile { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.steps li:hover .tile { transform: translateY(-2px) rotate(-4deg); box-shadow: 0 12px 24px rgba(215,25,47,.32); }

/* Primary buttons: a quiet sheen on hover */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.28) 48%, transparent 66%); transform: translateX(-120%); }
@media (hover: hover) and (pointer: fine) { .btn--primary:hover::after { transform: translateX(120%); transition: transform .8s var(--ease-out); } }

/* FAQ: accent bar and smoother states */
.faq summary { transition: color .25s, padding-left .35s var(--ease-out); }
.faq summary::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--red); transform: scaleY(0); transition: transform .35s var(--ease-out); }
.faq summary:hover::before, .faq details[open]:not(.is-closing) summary::before { transform: scaleY(1); }
.faq summary:hover { color: var(--red-600); }
.faq details.is-closing summary::after { transform: rotate(0); background-color: var(--surface-2); }

/* Map: muted until you engage, with a floating store card */
.visit__map { position: relative; }
@media (hover: hover) { .visit__map iframe { filter: grayscale(.85) contrast(1.05) brightness(1.02); transition: filter .7s var(--ease-out); } .visit__map:hover iframe { filter: none; } }
.map-card { position: absolute; left: 16px; top: 16px; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-md); text-decoration: none; color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.map-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.map-card__mark { width: 38px; height: 38px; flex: none; }
.map-card strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1rem; line-height: 1.1; }
.map-card__status { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--ink-3); }
.map-card__status.is-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
.map-card__go { width: 18px; height: 18px; color: var(--red); margin-left: 4px; transition: transform .3s var(--ease-out); }
.map-card:hover .map-card__go { transform: translateX(3px); }

/* Hours: rows respond under the cursor */
.hours tbody tr { transition: background-color .25s; }
@media (hover: hover) { .hours tbody tr:not(.is-today):hover { background: var(--surface-2); } }

/* Contact tiles */
.contact .tile { transition: transform .4s var(--ease-out); }
.contact li:hover .tile { transform: rotate(-6deg) scale(1.05); }

/* Footer links: underline draws in */
.footer ul a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 1px; transition: color .2s, background-size .35s var(--ease-out); }
.footer ul a:hover { background-size: 100% 1px; }
.footer__logo { transition: transform .5s var(--ease-out); }
.footer__logo:hover { transform: translateY(-2px); }

/* Back to top with scroll-progress ring */
.totop { position: fixed; right: 22px; bottom: 22px; z-index: 55; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-md); color: var(--navy-900); opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), background-color .25s; }
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { width: 52px; height: 52px; }
.totop__track { fill: none; stroke: var(--surface-3); stroke-width: 3; }
.totop__ring { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: center; }
.totop__arrow { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.totop:hover { background: var(--navy-900); color: #fff; }
.totop:hover .totop__arrow { transform: translateY(-2px); }
@media (max-width: 720px) { .totop { right: 14px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 46px; height: 46px; } .totop svg { width: 46px; height: 46px; } }

@media (prefers-reduced-motion: reduce) {
  .js .title-c.reveal, .js .section__head.reveal, .js .how__copy h2.reveal, .js .visit__info.reveal h2 { filter: none; }
  h2 em { background-size: 100% .3em; }
  .ornament svg { stroke-dashoffset: 0; }
  .ornament::before, .ornament::after, .steps li::before { transform: none; }
}

/* Showroom: scroll-driven version. Runs in step with the scroll itself
   (Chrome, Edge, Safari 26+); other browsers use the light JS fallback. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tour { view-timeline: --tour block; }
    .tour__frame, .tour__video, .tour__intro, .tour__hint, .tour__shade, .tour__copy { animation-fill-mode: both; animation-timeline: --tour; animation-duration: auto; }
    .tour__frame { animation-name: tourClip; animation-timing-function: cubic-bezier(.45, 0, .4, 1); animation-range: contain 0% contain 80%; }
    .tour__video { animation-name: tourZoom; animation-timing-function: cubic-bezier(.45, 0, .4, 1); animation-range: contain 0% contain 80%; }
    .tour__intro { animation-name: tourOut; animation-timing-function: linear; animation-range: contain 0% contain 33%; }
    .tour__hint { animation-name: tourFade; animation-timing-function: linear; animation-range: contain 0% contain 25%; }
    .tour__shade { animation-name: tourIn; animation-timing-function: linear; animation-range: contain 68% contain 92%; }
    .tour__copy { animation-name: tourCopy; animation-timing-function: cubic-bezier(.16, 1, .3, 1); animation-range: contain 70% contain 92%; }
  }
}
@keyframes tourClip { from { clip-path: inset(var(--c-t) var(--c-x) var(--c-b) var(--c-x) round var(--c-r)); } to { clip-path: inset(0 0 0 0 round 0); } }
@keyframes tourZoom { from { transform: translateZ(0) scale(1.35); } to { transform: translateZ(0) scale(1); } }
@keyframes tourOut { to { opacity: 0; transform: translateY(-30px); } }
@keyframes tourFade { to { opacity: 0; } }
@keyframes tourIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes tourCopy { from { opacity: 0; visibility: hidden; transform: translateY(24px); } to { opacity: 1; visibility: visible; transform: none; } }

/* =========================================================
   Cursor & micro-movements
   ========================================================= */

/* Cursor companion (mouse only; the real cursor stays visible) */
.cursor { position: fixed; left: 0; top: 0; z-index: 9999; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor.is-hidden { opacity: 0; }
.cursor::before {
  content: ""; position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid rgba(11,35,80,.22);
  transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .3s, opacity .3s;
}
.cursor.is-dark::before { border-color: rgba(255,255,255,.28); }
.cursor.is-hover::before { transform: scale(1.35); border-color: rgba(215,25,47,.4); }
.cursor.is-down::before { transform: scale(.85); }
.cursor.is-hover.is-down::before { transform: scale(1.15); }
/* Context hint: a small quiet tag beside the cursor, not a bubble over it */
.cursor__label {
  position: absolute; left: 16px; top: 14px; padding: 4px 8px; border-radius: 6px; white-space: nowrap;
  background: rgba(11,35,80,.78); color: #fff; font: 600 .625rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .4s cubic-bezier(.16,1,.3,1);
}
.cursor.is-label::before { transform: scale(1.2); border-color: rgba(11,35,80,.3); }
.cursor.is-dark.is-label::before { border-color: rgba(255,255,255,.35); }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }

/* Magnetic elements settle back smoothly */
.carousel__btn.is-magnet { transform: translate3d(var(--mgx, 0px), var(--mgy, 0px), 0); }
.totop.is-magnet.is-visible { transform: translate3d(var(--mgx, 0px), var(--mgy, 0px), 0); }
.map-card.is-magnet { transform: translate3d(var(--mgx, 0px), calc(var(--mgy, 0px) - 2px), 0); }

/* Hero depth (JS sets --px/--py from -0.5 to 0.5) */
.hero__photo { transform: translate3d(calc(var(--px, 0) * -8px), calc(var(--py, 0) * -5px), 0) scale(1.02); transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.hero__cards { transform: translate3d(calc(var(--px, 0) * 9px), calc(var(--py, 0) * 6px), 0); transition: transform 1s cubic-bezier(.16,1,.3,1); }
.hero__copy { transform: none; transition: transform 1.4s cubic-bezier(.16,1,.3,1); }

/* The tag dot beats like a heart (lub-dub) */
.pill__dot { animation: lubdub 1.8s ease-in-out infinite; }
@keyframes lubdub { 0%, 40%, 100% { transform: scale(1); } 10% { transform: scale(1.45); } 20% { transform: scale(1); } 28% { transform: scale(1.3); } }

/* Category tiles: the photo pans gently with the cursor (uses --mx/--my) */
@media (hover: hover) and (pointer: fine) {
  .cat:hover .cat__img img { transform: scale(1.06) translate(calc((50% - var(--mx, 50%)) * .03), calc((50% - var(--my, 50%)) * .03)); transition: transform 1s cubic-bezier(.16,1,.3,1); }
}

/* Deals row: drag to scroll */
@media (hover: hover) and (pointer: fine) {
  .carousel__track { cursor: grab; }
  .carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
  .carousel__track.is-dragging .pcard { transform: scale(.985); transition: transform .3s var(--ease-out); }
}

/* Header: a single gliding underline */
@media (min-width: 1241px) { .nav__menu.has-ind { position: relative; } }
.nav__ind { position: absolute; left: 0; bottom: 4px; height: 2px; border-radius: 2px; background: var(--red); opacity: 0; pointer-events: none; transition: transform .55s cubic-bezier(.34,1.2,.5,1), width .55s cubic-bezier(.34,1.2,.5,1), opacity .3s; }
.nav__menu.has-ind a:not(.btn)::after { display: none; }
@media (max-width: 1240px) { .nav__ind { display: none; } }

/* Feature strip icons lift on hover */
.strip__list svg { transition: transform .5s cubic-bezier(.34,1.4,.5,1); }
.strip__list li:hover svg { transform: translateY(-3px) rotate(-6deg); }

/* Footer heart-monitor line with a travelling red blip */
.footer { position: relative; }
.footer__pulse { position: absolute; left: 0; right: 0; top: 10px; height: 44px; pointer-events: none; }
.footer__pulse svg { width: 100%; height: 100%; overflow: visible; }
.footer__pulse path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fp-base { stroke: rgba(255,255,255,.09); stroke-width: 1.5; }
.fp-blip { stroke: var(--red-300); stroke-width: 2; stroke-dasharray: 7 93; stroke-dashoffset: 100; filter: drop-shadow(0 0 4px rgba(255,92,107,.8)); opacity: 0; }
.footer__pulse.is-live .fp-blip { opacity: 1; animation: blip 5.5s cubic-bezier(.45,.05,.55,.95) infinite; }
@keyframes blip { 0% { stroke-dashoffset: 100; } 70%, 100% { stroke-dashoffset: -7; } }

@media (prefers-reduced-motion: reduce) {
  .hero__photo, .hero__cards, .hero__copy { transform: none; }
  .pill__dot { animation: none; }
  .footer__pulse .fp-blip { animation: none; opacity: 0; }
}

/* =========================================================
   Mobile pass: what to hide, tighten and resize on phones
   ========================================================= */
.card__cond-m { display: none; }
.inv__more { text-align: center; margin-top: 24px; }

@media (max-width: 720px) {
  .totop { display: none; } /* the bottom action bar already covers this */
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .hide-sm { display: none; }

  /* Rhythm: tighter sections and titles */
  .section { padding-block: 52px; }
  .title-c { margin-bottom: 24px; }
  .title-c__sub, .lede { font-size: 1rem; }
  .section__head { margin-bottom: 18px; }

  /* Header */
  .logo__mark { width: 40px; height: 40px; }
  .logo__text strong { font-size: 1.3rem; }
  .header__call, .nav__toggle { width: 44px; height: 44px; min-height: 44px; }

  /* Hero: side-by-side buttons, leaner strip */
  .hero__inner { padding-block: 40px 28px; gap: 22px; }
  .pill { margin-bottom: 16px; }
  .hero__title { margin-bottom: 16px; }
  .hero__lede { font-size: 1rem; margin-bottom: 22px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1 1 0; min-height: 52px; padding: .8em 1em; font-size: 1rem; }
  .float--deal { max-width: none; }
  .strip__list li { flex-direction: row; align-items: center; gap: 10px; padding: 14px 12px; }
  .strip__list svg { width: 24px; height: 24px; }
  .strip__list strong { font-size: .75rem; letter-spacing: .03em; line-height: 1.25; }
  .strip__list li > span { font-size: 0; } /* keep the bold label, drop the description */
  .strip__list li > span strong { font-size: .75rem; }

  /* Categories: one swipeable row instead of a tall grid */
  .cats__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding-inline: var(--gutter); }
  .cats__grid::-webkit-scrollbar { display: none; }
  .cat { scroll-snap-align: start; }
  .cat:last-child { grid-column: auto; }
  .cat:last-child .cat__img { aspect-ratio: 1; }
  .cat__img { border-radius: 16px; }
  .cat__row { margin-top: 10px; gap: 6px; }
  .cat__ico { display: none; }
  .cat__name { font-size: .8125rem; }
  .cat__shop { display: none; }

  /* Deals carousel */
  .carousel__track { grid-auto-columns: 64%; gap: 12px; }
  .pcard { padding: 12px; }
  .pcard__title { font-size: .875rem; }
  .pcard__price strong { font-size: 1.2rem; }
  .deals__more { margin-top: 24px; }

  /* How we save: shorter photo, compact conditions */
  .how__media > img { aspect-ratio: 16 / 10; }
  .float--save { width: auto; display: flex; align-items: baseline; gap: 8px; padding: 9px 14px; left: 10px; bottom: 10px; border-radius: 12px; }
  .float--save .float__label, .float--save .float__bar { display: none; }
  .float--save .float__big { font-size: 1.25rem; }
  .float--save .float__v { font-size: .75rem; }
  .steps { gap: 18px; margin-top: 24px; }
  .steps li { gap: 14px; }
  .steps .tile { width: 44px; height: 44px; }
  .steps .tile svg { width: 22px; height: 22px; }
  .steps li:not(:last-child)::before { left: 21px; top: 50px; }
  .steps h3 { font-size: 1rem; }
  .steps p { font-size: .9375rem; }
  .conditions { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; }
  .conditions > div { padding: 14px; }
  .conditions dt { margin-bottom: 6px; }
  .conditions dd { font-size: .8125rem; line-height: 1.45; }
  .badge { font-size: .6875rem; padding: 4px 8px; }

  /* Inventory: compact row cards */
  .filters { gap: 10px; }
  .inv__grid { gap: 12px; }
  .card { flex-direction: row; border-radius: 16px; }
  .card__media { width: 112px; flex: none; aspect-ratio: auto; }
  .card__media svg { width: 70%; height: 72%; }
  .card__off { top: 8px; left: 8px; padding: 3px 7px; font-size: .75rem; border-radius: 6px; }
  .card__cond, .card__note, .card__feats { display: none; }
  .card__cond-m { display: inline; text-transform: none; letter-spacing: 0; font-weight: 600; }
  .card__body { padding: 12px 14px; min-width: 0; }
  .card__brand { font-size: .6875rem; }
  .card__title { font-size: .9375rem; margin: 2px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card__foot { padding-top: 10px; gap: 8px; align-items: center; }
  .price__now { font-size: 1.35rem; }
  .price__was, .price__save { font-size: .75rem; }
  .card__cta { width: 44px; padding: 0; font-size: 0; gap: 0; border-radius: 12px; }
  .card__cta svg { width: 18px; height: 18px; }

  /* Repairs: compact rows; ticket sits under the photo */
  .rcards { gap: 10px; }
  .rcard { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; align-items: start; padding: 16px; border-radius: 16px; }
  .rcard .tile { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .rcard .tile svg { width: 26px; height: 26px; }
  .rcard h3 { font-size: 1rem; margin: 0; }
  .rcard p { font-size: .875rem; }
  .repairs__media > img { aspect-ratio: 16 / 10; }
  .float--ticket { position: relative; left: auto; bottom: auto; width: auto; margin: -40px 12px 0; animation: none; }
  .repairs__actions { margin-top: 28px; }

  /* Visit */
  .contact { gap: 12px; margin: 18px 0; }
  .contact strong { font-size: 1rem; }
  .hours { font-size: .875rem; margin-bottom: 22px; }
  .hours th, .hours td { padding: 8px 10px; }
  .visit__map, .visit__map iframe { min-height: 260px; }
  .map-card { left: 10px; top: 10px; padding: 8px 12px 8px 8px; }
  .map-card__mark { width: 32px; height: 32px; }

  /* Reviews & FAQ */
  .reviews__summary { padding: 16px 18px; gap: 12px 16px; }
  .reviews__avg { font-size: 2.4rem; }
  .reviews__first { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; }
  .rform { padding: 20px; gap: 14px; border-radius: 18px; }
  .rform__head h3 { font-size: 1.25rem; }
  .rate__stars label { width: 40px; height: 40px; background-size: 30px; }
  .faq summary { padding: 16px 48px 16px 16px; font-size: 1rem; }
  .faq summary::after { right: 14px; }
  .faq details > div { padding: 0 16px 16px; font-size: .9375rem; }

  /* CTA band */
  .cta { padding-block: 44px; }
  .cta__inner { gap: 16px; }
  .cta__ring { width: 64px; height: 64px; box-shadow: 0 0 0 7px rgba(215,25,47,.22); }
  .cta__ring svg { width: 28px; height: 28px; }
  .cta h2 { font-size: 1.5rem; }
  .cta p { margin: 4px 0 16px; font-size: 1rem; }
  .cta__perks { display: none; }

  /* Footer: link columns side by side */
  .footer { padding-top: 56px; font-size: .875rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 32px; }
  .footer__brand, .footer__inner > div:last-child { grid-column: 1 / -1; }
  .footer__logo { width: 210px; }
  .footer__h { margin-bottom: 12px; }
  .footer ul { gap: 7px; }
  .footer__base { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 18px; }
  .footer__pulse { top: 6px; height: 34px; }

  /* Showroom section intro */
  .tour__intro h2 { font-size: 1.5rem; }
}

@media (max-width: 360px) {
  .logo__text span { display: none; }
  .hero__actions .btn { font-size: .9375rem; padding: .8em .7em; }
  .conditions { grid-template-columns: 1fr; }
}

/* Product titles link to product pages (Shopify) */
.card__title a, .pcard__title a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out), color .2s; }
.card__title a:hover, .pcard__title a:hover { color: var(--red-600); background-size: 100% 1px; }

/* ---------- Financing ---------- */
.fin { background: #fff; border-top: 1px solid var(--line); }
.fin__steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 0 auto 36px; padding: 0; list-style: none; counter-reset: none; }
.fin__steps li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); }
.fin__steps span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy-900); color: #fff; font: 800 .8125rem var(--font-body); }
.fin__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fin__card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--line); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s, border-color .3s; }
.fin__card::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--red); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .fin__card:hover { transform: translateY(-4px); background: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
  .fin__card:hover::before { transform: scaleX(1); }
}
.fin__name { font-family: var(--font-display); font-weight: 900; font-stretch: 108%; font-size: 1.375rem; line-height: 1.1; color: var(--navy-900); }
.fin__types { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fin__types span { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.fin__points { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fin__points li { position: relative; padding-left: 28px; color: var(--ink-2); font-weight: 500; }
.fin__points li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 6px; background: var(--red-100)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23B8102A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.fin__apply { margin-top: auto; width: 100%; font-size: .9375rem; }
.fin__legal { max-width: 860px; margin: 28px auto 0; font-size: .8125rem; line-height: 1.6; color: var(--ink-3); text-align: center; }
.fin__legal a { color: var(--ink-2); font-weight: 700; }
@media (max-width: 960px) { .fin__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
@media (max-width: 600px) {
  .fin__steps { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; padding-left: 4px; }
  .fin__steps li { font-size: .9375rem; }
  .fin__card { padding: 20px; gap: 14px; border-radius: 18px; }
  .fin__card::before { left: 20px; right: 20px; }
  .fin__name { font-size: 1.2rem; }
  .fin__legal { text-align: left; margin-top: 20px; }
}

/* ---------- Directions from nearby towns ---------- */
.routes { margin: 0 0 24px; }
.routes__label { display: flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.routes__label svg { width: 16px; height: 16px; color: var(--red-600); }
.routes__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.routes__list a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .875rem; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: border-color .2s, color .2s, background-color .2s, transform .25s var(--ease-out); }
.routes__list a:hover { border-color: var(--navy-900); color: var(--ink); transform: translateY(-1px); }
.routes__list a::after { content: "→"; margin-left: 6px; color: var(--red); transition: transform .3s var(--ease-out); }
.routes__list a:hover::after { transform: translateX(2px); }
@media (max-width: 600px) { .routes__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 2px; } .routes__list::-webkit-scrollbar { display: none; } .routes__list li { flex: none; } }

/* Top bar link */
.topbar__perks a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); transition: border-color .2s, color .2s; }
.topbar__perks a:hover { color: #fff; border-color: var(--red-300); }
/* Let the swipeable town row scroll instead of widening its column */
.visit__info, .visit__map { min-width: 0; }
@media (max-width: 960px) { .visit__inner { grid-template-columns: minmax(0, 1fr); } }
