/* ==========================================================================
   G&M Auto Sales — site stylesheet
   BRAND TOKENS: change these to re-colour the whole site.
   ========================================================================== */
:root {
  /* Brand accent — from the G&M logo. Use sparingly: primary buttons and key highlights. */
  --brand: #C8102E;
  --brand-dark: #9E0B23;
  --brand-ring: rgba(200, 16, 46, .22);

  /* Black & chrome neutrals (true neutral greys, no colour tint) */
  --night: #111214;          /* matches the G&M logo background */          /* top bar, hero, footer */
  --night-rgb: 17, 18, 20;   /* same colour, for overlays */
  --steel: #19191B;          /* raised dark panels, CTA bands */
  --ink: #111113;            /* body text */
  --muted: #5E5E64;          /* secondary text on light */
  --line: #E4E4E7;           /* borders on light */
  --field: #C4C4C9;          /* form field borders */
  --paper: #F5F5F5;          /* light section ground */
  --white: #FFFFFF;
  --on-dark: #EDEDEE;        /* body text on dark */
  --chrome: #B4B4B9;         /* secondary text on dark */
  --chrome-faint: #86868C;   /* fine print on dark */
  --line-dark: rgba(255, 255, 255, .09);
  --media-top: #F1F1F2;      /* vehicle photo placeholder */
  --media-bottom: #DEDEE0;

  /* Alternate neutral sets — swap the values above to try them:
     Midnight:  --night #0D1520  --steel #18222F  --paper #F5F7FA  --chrome #AEB8C6   (navy-black)
     Gunmetal:  --night #1A1D21  --steel #262A30  --paper #F4F4F2  --chrome #B3B7BD
     Graphite:  --night #1E232A  --steel #2F3741  --paper #F3F5F7  --chrome #C9CED6   (original look) */

  /* Legacy alias */
  --graphite: var(--night);

  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1240px;
  --radius-sm: 4px;
  --radius: 8px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
body { overflow-x: clip; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 .5em; font-weight: 700; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: var(--radius-sm); border: 2px solid transparent; font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); color: var(--white); }
.btn-ghost { border-color: currentColor; color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--graphite); border-color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--graphite); color: var(--chrome); font-size: .9rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; flex-wrap: wrap; padding-block: 6px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar-group { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-item { display: inline-flex; gap: 7px; align-items: center; }
.topbar-item svg { width: 15px; height: 15px; opacity: .8; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #3FB950; display: inline-block; }
.status-dot.closed { background: var(--chrome-faint); }
@media (max-width: 720px) { .topbar .hide-sm { display: none; } }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo img { height: 52px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; font: 600 1rem var(--font-body); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: var(--radius-sm); }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--brand); }
.nav-link.is-current { color: var(--brand); }
.nav-link svg { width: 14px; height: 14px; transition: transform .15s; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-menu { position: relative; }
.submenu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(var(--night-rgb), .35); display: none; }
.submenu.open { display: block; }
/* Invisible bridge over the 8px gap so the cursor can travel from the link into the menu */
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.submenu a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); font-weight: 500; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--paper); color: var(--brand); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-sm); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .header-cta .btn-primary { display: none; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 100%); background: var(--white); padding: 88px 20px 32px; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; overflow-y: auto; box-shadow: -20px 0 40px -20px rgba(0,0,0,.4); z-index: 60; }
  .nav.open { transform: translateX(0); visibility: visible; transition: transform .25s ease; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.1rem; }
  .submenu { position: static; border: 0; box-shadow: none; padding: 0 0 12px 8px; min-width: 0; }
  .nav-close { position: absolute; top: 20px; right: 20px; }
}
.nav .nav-close, .nav .nav-mobile-cta { display: none; }
@media (max-width: 1080px) { .nav .nav-close { display: inline-flex; } .nav .nav-mobile-cta { display: grid; gap: 10px; margin-top: 24px; } }
.scrim { position: fixed; inset: 0; background: rgba(var(--night-rgb), .5); z-index: 55; display: none; }
.scrim.open { display: block; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--graphite) center/cover no-repeat; color: var(--white); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--night-rgb), .92) 0%, rgba(var(--night-rgb), .72) 45%, rgba(var(--night-rgb), .15) 100%); z-index: -1; }
.hero .wrap { padding: clamp(64px, 10vw, 128px) 0 clamp(120px, 14vw, 170px); }
.hero-kicker { display: inline-block; font-weight: 500; color: var(--on-dark); margin-bottom: 18px; min-height: 1.6em; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.5rem); text-transform: uppercase; line-height: .92; max-width: 11ch; margin-bottom: 22px; }
.hero p.lede { font-size: 1.25rem; max-width: 44ch; color: var(--on-dark); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Quick search panel */
.quicksearch { position: relative; z-index: 2; margin-top: -72px; }
.quicksearch form { background: var(--white); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(var(--night-rgb), .45); border-top: 4px solid var(--brand); padding: 22px; display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end; }
.quicksearch .count { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .quicksearch form { grid-template-columns: 1fr 1fr; } .quicksearch .btn { grid-column: 1 / -1; } }
@media (max-width: 520px) { .quicksearch form { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--field); border-radius: var(--radius-sm); }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--brand-ring); }
input[type="checkbox"], input[type="radio"] { width: 20px; min-height: 20px; height: 20px; accent-color: var(--brand); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { flex: none; margin-top: 3px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--brand); }
.error-msg { color: var(--brand-dark); font-size: .85rem; font-weight: 600; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.form-success { display: none; text-align: left; padding: 8px 0; }
.form-success.show { display: block; }
.form-success h3 { color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--graphite); color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 60ch; }
.section-dark .section-head p { color: var(--chrome); }

/* Body style tiles */
.bodystyles { display: grid; grid-template-columns: repeat(var(--cols, 6), 1fr); gap: 14px; }
.bodystyle { display: grid; justify-items: center; gap: 10px; padding: 22px 10px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--white); transition: border-color .15s, box-shadow .15s; }
.bodystyle:hover { border-color: var(--ink); color: var(--ink); box-shadow: 0 10px 24px -16px rgba(var(--night-rgb), .5); }
.bodystyle img { height: 54px; width: auto; object-fit: contain; }
.bodystyle span { font: 600 1.15rem var(--font-display); }
.bodystyle small { margin-top: -6px; font-size: .85rem; color: var(--muted, #5b6066); }
@media (max-width: 900px) { .bodystyles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .bodystyles { grid-template-columns: repeat(2, 1fr); } }

/* Action strip */
.actions { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.action { display: flex; gap: 16px; align-items: center; padding: 26px 24px; color: var(--ink); text-decoration: none; border-right: 1px solid var(--line); }
.action:last-child { border-right: 0; }
.action:hover { background: var(--night); color: var(--white); }
.action:hover .action-icon { background: var(--brand); color: var(--white); }
.action-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--brand); display: grid; place-items: center; }
.action-icon svg { width: 22px; height: 22px; }
.action strong { display: block; font: 700 1.3rem var(--font-display); }
.action small { color: inherit; opacity: .75; font-size: .9rem; }
@media (max-width: 900px) { .actions { grid-template-columns: 1fr 1fr; } .action:nth-child(2) { border-right: 0; } .action:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .actions { grid-template-columns: 1fr; } .action { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Vehicle cards ---------- */
.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.vehicle-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .vehicle-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .vehicle-grid.three { grid-template-columns: 1fr; } }
.vcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vcard-media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(180deg, var(--media-top), var(--media-bottom)); display: grid; place-items: center; }
.vcard-media img.placeholder { width: 58%; opacity: .55; }
.vcard-media img.photo { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 12px; left: 12px; background: var(--graphite); color: var(--white); font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 3px; }
.tag.sample { background: #F1E05A; color: var(--ink); left: auto; right: 12px; }
.vcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vcard-title { font: 700 1.45rem/1.1 var(--font-display); margin: 0; }
.vcard-title a { color: var(--ink); text-decoration: none; }
.vcard-title a:hover { color: var(--brand); }
.vcard-trim { color: var(--muted); font-size: .95rem; margin-top: -6px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: .9rem; color: var(--muted); margin: 0; }
.specs dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.specs dd { margin: 0; display: flex; gap: 6px; align-items: center; }
.specs svg { width: 15px; height: 15px; flex: none; }
.vcard-price { display: flex; justify-content: space-between; align-items: end; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font: 700 1.9rem/1 var(--font-display); }
.price-sub { font-size: .85rem; color: var(--muted); text-align: right; }
.price-sub strong { color: var(--ink); display: block; font-size: 1rem; }
.vcard-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vcard-actions .btn { min-height: 44px; padding: 0 12px; font-size: .92rem; }
.vcard-call { display: inline-flex; grid-column: 1 / -1; background: #1E8E3E; color: var(--white); border-color: #1E8E3E; }
.vcard-call:hover { background: #177533; color: var(--white); border-color: #177533; }

/* ---------- Inventory layout ---------- */
.inv-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 18px; }
.filters h2 { font-size: 1.5rem; margin: 0; }
.inv-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.inv-toolbar p { margin: 0; font-weight: 600; }
.inv-toolbar select { width: auto; min-width: 220px; }
.filters-toggle { display: none; }
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--field); border-radius: var(--radius); }
@media (max-width: 960px) {
  .inv-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: grid; }
  .filters-toggle { display: inline-flex; }
}

/* ---------- Vehicle detail ---------- */
.vdp { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.vdp > * { min-width: 0; }
.vdp-media { aspect-ratio: 16 / 10; border-radius: var(--radius); background: linear-gradient(180deg, var(--media-top), var(--media-bottom)); display: grid; place-items: center; position: relative; }
.vdp-media img { width: 50%; opacity: .55; }
.vdp-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: sticky; top: calc(var(--header-h) + 16px); }
.vdp-panel .price { font-size: 2.8rem; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.spec-table th { color: var(--muted); font-weight: 500; width: 45%; }
@media (max-width: 900px) { .vdp { grid-template-columns: 1fr; } .vdp-panel { position: static; } }

/* ---------- Reviews ---------- */
.reviews-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.review { scroll-snap-align: start; background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); }
.review blockquote { margin: 0; font-size: 1rem; line-height: 1.6; }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.review footer img { width: 28px; height: 28px; }
.review cite { font-style: normal; font-weight: 700; }
.stars { display: flex; gap: 2px; color: #E8A317; }
.stars svg { width: 18px; height: 18px; }
.scroll-controls { display: flex; gap: 8px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: var(--white); color: var(--graphite); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Split / heritage ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--steel); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.since { position: absolute; left: 0; bottom: 0; background: var(--brand); color: var(--white); padding: 18px 26px; }
.since b { display: block; font: 700 3.4rem/0.9 var(--font-display); }
.since span { font-weight: 500; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--steel); color: var(--white); border-top: 3px solid var(--brand); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 44px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 4px; }
.cta-band p { margin: 0; font-size: 1.1rem; color: var(--chrome); }
.cta-band .btn { background: var(--brand); color: var(--white); }
.cta-band .btn:hover { background: var(--brand-dark); color: var(--white); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--graphite); color: var(--white); position: relative; overflow: hidden; }
.page-hero .wrap { padding: clamp(44px, 7vw, 84px) 0 clamp(40px, 6vw, 72px); position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); text-transform: uppercase; margin-bottom: 12px; max-width: 18ch; }
.page-hero p { color: var(--chrome); font-size: 1.15rem; max-width: 58ch; margin: 0; }
.page-hero::after { content: ""; position: absolute; right: 0; bottom: 0; width: 38%; height: 6px; background: var(--brand); }
.crumbs { font-size: .9rem; margin-bottom: 18px; color: var(--chrome-faint); }
.crumbs a { color: var(--chrome); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }

/* Prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: 2.1rem; margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.aside-card { background: var(--paper); border-radius: var(--radius); padding: 28px; position: sticky; top: calc(var(--header-h) + 16px); }
.aside-card h3 { margin-bottom: 10px; }
.aside-card .btn { margin-top: 10px; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.feature h3 { font-size: 1.45rem; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }
.feature .action-icon { margin-bottom: 14px; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 16px; }
.steps li::before { content: counter(s); font: 700 2.4rem/1 var(--font-display); color: var(--brand); display: block; margin-bottom: 8px; }
.steps h3 { font-size: 1.4rem; margin-bottom: 4px; }
.steps p { color: var(--muted); margin: 0; }

/* Hours tables */
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--line-dark); }
.hours td:last-child { text-align: right; }
.hours tr.today td { font-weight: 700; color: var(--white); }
.light .hours td { border-bottom-color: var(--line); }
.light .hours tr.today td { color: var(--brand); }
.tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.tab { background: transparent; border: 1.5px solid rgba(255,255,255,.3); color: inherit; padding: 6px 14px; border-radius: 999px; font: 600 .9rem var(--font-body); cursor: pointer; min-height: 36px; }
.tab[aria-selected="true"] { background: var(--white); color: var(--graphite); border-color: var(--white); }
.light .tab { border-color: var(--line); }
.light .tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.calc-result { background: var(--steel); color: var(--white); border-radius: var(--radius); padding: 32px; position: sticky; top: calc(var(--header-h) + 16px); }
.calc-result .big { font: 700 clamp(3.2rem, 7vw, 4.6rem)/1 var(--font-display); margin: 6px 0 4px; }
.calc-result dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 24px 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); }
.calc-result dt { color: var(--chrome); }
.calc-result dd { margin: 0; font-weight: 600; text-align: right; }
.calc-result small { color: var(--chrome-faint); display: block; margin-top: 12px; }
.seg { display: inline-flex; border: 1.5px solid var(--field); border-radius: var(--radius-sm); overflow: hidden; flex-wrap: wrap; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 11px 16px; font-weight: 600; cursor: pointer; min-height: 44px; }
.seg input:checked + span { background: var(--ink); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: -3px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-result { position: static; } }

/* Multi-step form */
.stepper { display: flex; gap: 8px; margin-bottom: 28px; list-style: none; padding: 0; flex-wrap: wrap; }
.stepper li { flex: 1; min-width: 0; border-top: 4px solid var(--line); padding-top: 8px; font-weight: 600; color: var(--muted); font-size: .92rem; }
.stepper li.active, .stepper li.done { border-color: var(--brand); color: var(--ink); }
@media (max-width: 520px) { .stepper li { font-size: .8rem; } }
.form-step { display: none; }
.form-step.active { display: grid; gap: 18px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }

/* Specials */
.offer { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; position: relative; background: var(--white); }
.offer .price { color: var(--brand); font-size: 2.6rem; }
.offer p { color: var(--muted); margin: 0; }
.offer small { color: var(--muted); }
.offer .btn { margin-top: auto; align-self: start; }

/* Contact / map */
.contact-cards { display: grid; gap: 18px; }
.contact-cards .aside-card { position: static; }
.map-frame { border: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius); background: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--chrome); border-top: 1px solid var(--line-dark); font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; padding: 64px 0 48px; }
.site-footer h2 { font-size: 1.4rem; color: var(--white); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-logo { background: var(--white); display: inline-block; padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.footer-logo img { height: 44px; width: auto; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--chrome-faint); }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* Sitemap */
.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.sitemap ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

/* Utility */
.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 10px; }

/* ---------- Partner banners (Equifax, Canadian Black Book) ---------- */
.partner-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 860px) { .partner-banners { grid-template-columns: 1fr; } }
.pbanner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--night); color: var(--white); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); overflow: hidden; isolation: isolate; }
.pbanner::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--brand); }
.pbanner h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 6px 0 8px; }
.pbanner p { color: var(--chrome); margin: 0 0 20px; max-width: 42ch; }
.pbanner-partner { font-size: .85rem; font-weight: 600; color: var(--chrome); }
.pbanner-art { width: clamp(96px, 12vw, 140px); color: var(--on-dark); }
.pbanner-art svg { width: 100%; height: auto; display: block; }
.pbanner-compact { grid-template-columns: 1fr 72px; gap: 14px; padding: 20px; }
.pbanner-compact h3 { font-size: 1.35rem; margin-bottom: 12px; }
.pbanner-compact .btn { min-height: 42px; padding: 0 16px; font-size: .92rem; }
.pbanner-compact .pbanner-art { width: 72px; }
@media (max-width: 420px) { .pbanner { grid-template-columns: 1fr; } .pbanner-art { display: none; } }
.partner-embed { margin-bottom: 24px; }

/* ---------- SEO / bilingual additions ---------- */
.footer-top { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
@media (max-width: 1100px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; max-width: 520px; } }
@media (max-width: 620px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .footer-top { grid-template-columns: 1fr; } }
.wrap.narrow { max-width: 860px; }

/* Buying path (home) */
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: p; }
.path-step { counter-increment: p; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.path-step::before { content: counter(p); font: 700 3rem/1 var(--font-display); color: var(--brand); }
.path-step h3 { margin: 0; font-size: 1.7rem; }
.path-step p { color: var(--muted); margin: 0 0 8px; }
.path-step .btn { margin-top: auto; align-self: start; }
.path-step small { color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) { .path { grid-template-columns: 1fr; } }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.section-dark .checklist li { color: var(--on-dark); }
.section-dark .lede-muted { color: var(--chrome); }

/* Town links */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 28px; padding: 0; list-style: none; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.chips a:hover { border-color: var(--ink); color: var(--ink); }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 10px; background: var(--white); }
.svc-card h3 { margin: 0; font-size: 1.6rem; }
.svc-card p { color: var(--muted); margin: 0; }
.svc-card .btn { margin-top: auto; align-self: start; }
.svc-card.feature-dark { background: var(--night); color: var(--white); border-color: var(--night); }
.svc-card.feature-dark p { color: var(--chrome); }
.svc-card .action-icon { margin-bottom: 6px; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font: 700 1.5rem/1 var(--font-display); color: var(--brand); }
.faq-item[open] summary::after { content: "–"; }
.faq-item div { padding: 0 22px 18px; color: var(--muted); }
.faq-item p { margin: 0; }

/* Credit callout */
.callout { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border-radius: var(--radius); padding: 22px; margin-bottom: 24px; }
.callout strong { display: block; font-size: 1.05rem; }
.callout p { margin: 4px 0 0; color: var(--muted); }
.callout .action-icon { background: var(--white); }

/* Two-up content blocks */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 800px) { .cols-2 { grid-template-columns: 1fr; } }
.drive-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 32px; }
.drive-facts div { border-top: 2px solid var(--ink); padding-top: 10px; }
.drive-facts b { display: block; font: 700 2rem/1 var(--font-display); }
.drive-facts span { color: var(--muted); font-size: .92rem; }
@media (max-width: 560px) { .drive-facts { grid-template-columns: 1fr; } }
.path { list-style: none; padding: 0; margin: 0; }
.hero h1 { max-width: 14ch; }
.section-dark .pbanner { background: var(--steel); }
.prose .checklist { padding-left: 0; }

/* Home hero photo: 1600px default, 2560px on large screens, 1200px on phones */
.hero-home {
  background-image: url("../img/hero-rockland.jpg");
  background-image: image-set(url("../img/hero-rockland-1600.webp") type("image/webp"), url("../img/hero-rockland.jpg") type("image/jpeg"));
  background-position: 70% 60%;
}
@media (min-width: 1440px), (min-width: 1000px) and (min-resolution: 2dppx) {
  .hero-home { background-image: image-set(url("../img/hero-rockland-2560.webp") type("image/webp"), url("../img/hero-rockland.jpg") type("image/jpeg")); }
}
@media (max-width: 800px) {
  .hero-home { background-image: image-set(url("../img/hero-rockland-1200.webp") type("image/webp"), url("../img/hero-rockland-1200.jpg") type("image/jpeg")); }
}
@media (min-width: 801px) {
  .hero-home .wrap { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(110px, 11vw, 150px); }
  .hero-home h1 { font-size: clamp(3rem, 5.6vw, 5.2rem); max-width: 10ch; }
  .hero-home .lede { max-width: 38ch; font-size: 1.15rem; }
  .hero-home { background-position: 62% 55%; }
  .hero-home::before { background: linear-gradient(90deg, rgba(var(--night-rgb), .88) 0%, rgba(var(--night-rgb), .6) 32%, rgba(var(--night-rgb), .1) 56%, rgba(var(--night-rgb), 0) 100%); }
}
/* Mobile: show the photo as a strip on top, copy below on solid black */
@media (max-width: 800px) {
  .hero-home { background-color: var(--night); background-size: 100% auto; background-position: center top; }
  .hero-home::before { background: linear-gradient(180deg, rgba(var(--night-rgb), 0) 0, rgba(var(--night-rgb), .1) 34vw, rgba(var(--night-rgb), 1) 56vw); }
  .hero-home .wrap { padding-top: 54vw; }
}

/* Photos */
.split-media picture, .split-media picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-band { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; background: var(--steel); }
.photo-band picture, .photo-band img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.photo-band figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 28px 22px; color: var(--white); font: 600 clamp(1.15rem, 2vw, 1.5rem)/1.25 var(--font-display); background: linear-gradient(180deg, transparent, rgba(var(--night-rgb), .8)); }
@media (max-width: 640px) { .photo-band { aspect-ratio: 4 / 3; } }

/* ---------- Dark header to match the G&M logo ---------- */
:root { --header-h: 84px; }
.topbar { border-bottom: 1px solid var(--line-dark); }
.site-header { background: var(--night); border-bottom: 1px solid var(--line-dark); }
.logo { display: block; line-height: 0; }
.logo img { height: 64px; width: auto; }
.site-header .nav-link { color: var(--white); position: relative; }
.site-header .nav-link:hover, .site-header .nav-link[aria-expanded="true"] { color: var(--white); }
.site-header .nav-link:hover::after, .site-header .nav-link.is-current::after, .site-header .nav-link[aria-expanded="true"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--brand); }
.site-header .nav-link.is-current { color: var(--white); }
.menu-toggle { background: transparent; border-color: rgba(255, 255, 255, .25); color: var(--white); }
@media (max-width: 1080px) {
  .logo img { height: 54px; }
  .site-header .nav .nav-link { color: var(--ink); }
  .site-header .nav .nav-link::after { display: none; }
  .site-header .nav .nav-link.is-current, .site-header .nav .nav-link[aria-expanded="true"] { color: var(--brand); }
  .nav .nav-close { color: var(--ink); border-color: var(--line); }
}
.footer-logo { background: none; padding: 0; margin-bottom: 18px; }
.footer-logo img { height: 96px; width: auto; }

/* Krown promise strip (home) */
.promise { display: flex; gap: 16px; align-items: center; margin-top: 22px; padding: 20px 24px; border-radius: var(--radius); background: var(--night); color: var(--white); text-decoration: none; }
.promise:hover { color: var(--white); background: var(--steel); }
.promise strong { display: block; font: 700 1.35rem/1.15 var(--font-display); }
.promise small { color: var(--chrome); font-size: .95rem; }
.promise .action-icon { background: var(--brand); color: var(--white); }
.vdp-krown { display: flex; gap: 10px; align-items: center; margin: 4px 0 18px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font-weight: 600; text-decoration: none; }
.vdp-krown svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.vdp-krown:hover { color: var(--ink); background: var(--line); }
/* Drawer sits inside the sticky header's stacking context, so the scrim must stay below the header */
.scrim { z-index: 45; }
/* Line inputs up when one field in a row has a hint */
.form-grid .field { align-content: end; }

/* ---------- Autocorp AVA® widgets ---------- */
.ava-stack { display: grid; gap: 22px; min-width: 0; grid-template-columns: minmax(0, 1fr); }
.ava-slot:empty, .ava-slot > .AskAva-cta:empty { min-height: 0; }
/* v0.137.2: banners inside .wrap (inventory EN/FR, and the same widget elsewhere in a wrap)
   must use the column width. The trade banner's shadow tree otherwise sizes near 850px,
   the auto grid column follows it, and Mobile Safari scales the scrollport so the page
   sits in the left half while the fixed action bar stays full width. */
.wrap .ava-slot.ava-banner { min-width: 0; max-width: 100%; }
.wrap .ava-slot.ava-banner > .AskAva-cta { display: block; min-width: 0; max-width: 100%; }
.ava-embed { min-height: 560px; }
.ava-embed iframe { width: 100%; border: 0; }
.ava-fallback { padding: 18px 22px; border: 1px dashed var(--field); border-radius: var(--radius); color: var(--muted); }
.ava-section { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.narrow-col { max-width: 720px; }
.section-dark .narrow-col .checklist { grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .section-dark .narrow-col .checklist { grid-template-columns: 1fr; } }
.callout + .ava-embed { margin-top: 8px; }
.ava-embed:has(iframe) { min-height: 0; }
/* AVA® Credit banner directly under the header on the home page */
/* Full-width, flush AVA® banners (home: credit under the header, Black Book trade under the financing section).
   The background colour fills any space the widget itself leaves, so the bar reads edge to edge. */
.ava-bleed { background: var(--ava-bg, #424242); padding: 0; line-height: 0; }
.ava-bleed .ava-slot, .ava-bleed .AskAva-cta { margin: 0; padding: 0; width: 100%; max-width: none; }
.ava-bleed .AskAva-cta > *, .ava-bleed iframe { display: block; width: 100% !important; max-width: none !important; margin: 0 !important; border-radius: 0 !important; }
.ava-bleed-trade { --ava-bg: #424242; }   /* change if the Black Book banner uses a different background */

/* ---------- Sticky action bar (phones) ---------- */
.action-bar { display: none; }
@media (max-width: 800px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1.25fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--night); border-top: 1px solid var(--line-dark); padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(0); transition: transform .25s ease; }
  .action-bar.is-hidden { transform: translateY(110%); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; color: var(--white); text-decoration: none; font-size: .8rem; font-weight: 600; }
  .action-bar a svg { width: 20px; height: 20px; }
  .action-bar a.primary { background: var(--brand); }
  .action-bar a:active { opacity: .85; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Gentle motion (only when JS is on and the visitor hasn't asked for reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .motion [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
  .motion [data-reveal].in { opacity: 1; transform: none; }
  .motion .hero-home .wrap > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .motion .hero-home .wrap > :nth-child(2) { animation-delay: .06s; }
  .motion .hero-home .wrap > :nth-child(3) { animation-delay: .12s; }
  .motion .hero-home .wrap > :nth-child(4) { animation-delay: .18s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .vcard, .svc-card, .path-step, .bodystyle, .team-card, .offer { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
  .vcard:hover, .svc-card:hover, .path-step:hover, .offer:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -22px rgba(var(--night-rgb), .45); }
  .bodystyle:hover { transform: translateY(-2px); }
  .bodystyle img { transition: transform .35s ease; }
  .bodystyle:hover img { transform: translateX(4px); }
  .btn:active { transform: scale(.98); }
  .split-media img, .photo-band img, .team-photo img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
  .split-media:hover img, .photo-band:hover img, .team-card:hover .team-photo img { transform: scale(1.03); }
}
.bodystyle img { height: 58px; width: auto; }
.vcard-media img.placeholder { width: 62%; opacity: .5; }

/* ---------- Meet the team ---------- */
.team-intro { max-width: 760px; margin-bottom: 56px; }
.team-lede { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; color: var(--ink); }
.team-group + .team-group { margin-top: 64px; }
.team-group > h2 { display: flex; align-items: center; gap: 16px; font-size: 1.9rem; margin-bottom: 26px; }
.team-group > h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 24px; }
.team-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--night); }
.team-photo img, .team-photo .team-ph { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-meta { padding-top: 14px; }
.team-meta h3 { font-size: 1.55rem; margin: 0; }
.team-title { color: var(--muted); margin: 2px 0 8px; }
.team-lang { display: inline-block; font-size: .8rem; font-weight: 600; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.team-bio { margin: 10px 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- 404 ---------- */
.nf { background: var(--night); color: var(--white); padding: clamp(56px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.nf .wrap { position: relative; }
.nf-code { position: absolute; right: -1vw; top: 50%; transform: translateY(-50%); margin: 0; font: 700 clamp(9rem, 26vw, 22rem)/.8 var(--font-display); color: rgba(255,255,255,.05); pointer-events: none; }
.nf h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; max-width: 12ch; margin-bottom: 14px; }
.nf-lede { color: var(--chrome); font-size: 1.15rem; max-width: 52ch; }
.nf-fr { color: var(--chrome); }
.nf-fr a { color: var(--white); }
.nf-search { display: flex; gap: 10px; max-width: 620px; margin: 28px 0 40px; }
.nf-search input { flex: 1; }
.nf-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.nf-links a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--white); text-decoration: none; transition: border-color .2s, background .2s; }
.nf-links a:hover { border-color: var(--brand); background: var(--steel); color: var(--white); }
.nf-links strong { display: block; font: 700 1.3rem var(--font-display); }
.nf-links span { color: var(--chrome); font-size: .92rem; }
.nf-links span a { display: inline; padding: 0; border: 0; color: inherit; }
@media (max-width: 900px) { .nf-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .nf-links { grid-template-columns: 1fr; } .nf-search { flex-direction: column; } }
.team-grid { grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }
.team-dept { display: block; font-size: .8rem; font-weight: 700; color: var(--brand); letter-spacing: .02em; margin-bottom: 4px; }
.team-meta { padding-top: 16px; }

/* Vehicle page gallery */
.vdp-media.has-photo { display: block; width: 100%; max-width: 100%; background: var(--night); overflow: hidden; }
.vdp-media.has-photo .vdp-main { display: block; width: 100%; max-width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.vdp-count { position: absolute; right: 12px; bottom: 12px; background: rgba(var(--night-rgb), .8); color: var(--white); font-size: .85rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.vdp-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 96px; max-width: 100%; overscroll-behavior-x: contain; scrollbar-width: thin; gap: 8px; overflow-x: auto; margin-top: 10px; padding-bottom: 6px; }
.vdp-thumb { padding: 0; width: 96px; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; background: var(--paper); }
.vdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vdp-thumb.is-active { border-color: var(--brand); }
.vdp-desc { color: var(--muted); max-width: 70ch; }

/* DealerOS additions (v0.112.0) */
.tag.pending { background: #B45309; color: #fff; }
.vdp-panel .tag.pending { position: static; display: inline-block; margin-bottom: 8px; }
.vdp-highlights, .vdp-features { columns: 2; column-gap: 32px; padding-left: 1.2em; }
@media (max-width: 640px) { .vdp-highlights, .vdp-features { columns: 1; } }

/* Vehicle page: "About this vehicle" (vehicle description + dealership standard text) */
.vdp-about { margin-top: 48px; max-width: 72ch; }
.vdp-about > h2 { margin-bottom: .6em; }
.vdp-about p { margin: 0 0 1em; }
.about-own { color: var(--ink); margin-bottom: 28px; }
.about-std { border-top: 1px solid var(--line); padding-top: 24px; }
.about-lead { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3; font-weight: 700; color: var(--ink); background: var(--paper); border-left: 4px solid var(--brand); border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 24px !important; }
.about-item { margin: 0 0 20px; }
.about-item h3 { font-size: 1.15rem; letter-spacing: .02em; margin: 0 0 .3em; color: var(--ink); }
.about-item p { color: var(--muted); }
.about-fine { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 18px; font-size: .85rem; line-height: 1.55; color: var(--muted); }
.about-fine p { margin: 0 0 .8em; }
@media (max-width: 640px) { .vdp-about { margin-top: 36px; } .about-lead { font-size: 1.15rem; padding: 12px 14px; } }

/* Vehicle page photo viewer */
.vdp-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.vdp-open:focus-visible, .vdp-expand:focus-visible, .vdp-count:focus-visible, .lb-btn:focus-visible { outline: 3px solid var(--white); outline-offset: -3px; box-shadow: 0 0 0 5px var(--brand); }
.vdp-expand { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 999px; background: rgba(var(--night-rgb), .7); color: var(--white); cursor: pointer; }
.vdp-expand svg { width: 20px; height: 20px; }
button.vdp-count { border: 0; cursor: pointer; font-family: inherit; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .92); display: grid; place-items: center; overscroll-behavior: contain; touch-action: pan-y; }
.lb-stage { margin: 0; width: 100vw; height: 100vh; height: 100dvh; display: grid; place-items: center; padding: 56px 64px; box-sizing: border-box; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; }
.lb-counter { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); color: var(--white); font-weight: 600; font-size: .95rem; background: rgba(0, 0, 0, .5); padding: 4px 12px; border-radius: 999px; }
.lb-btn { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: var(--white); width: 48px; height: 48px; border-radius: 999px; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .28); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-stage { padding: 60px 8px; } .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; } .lb-counter { bottom: 20px; } }

/* Online service booking (v0.113.0) */
.booking { display: grid; gap: 22px; }
.booking-title { margin: 0; }
.booking-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.booking-step legend, .booking-details legend { font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; padding: 0; }
.booking-details fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.booking-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.booking-service { position: relative; display: block; cursor: pointer; }
.booking-service input { position: absolute; opacity: 0; inset: 0; }
.booking-service span { display: grid; gap: 4px; border: 2px solid #d4d4d8; border-radius: var(--radius-sm); padding: 14px; background: #fff; min-height: 64px; }
.booking-service small { color: #52525b; }
.booking-service input:checked + span { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.booking-service input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.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; }
/* v0.114.1 month-calendar picker */
.booking-pick { display: grid; gap: 18px; }
.booking-cal-step { container-type: inline-size; }
@container (min-width: 640px) { .booking-pick { grid-template-columns: minmax(300px, 360px) 1fr; align-items: start; gap: 28px; } }
.booking-cal { border: 1px solid #e4e4e7; border-radius: 12px; padding: 12px; background: #fff; }
.booking-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.booking-cal-title { margin: 0; font-size: 1.05rem; font-weight: 700; text-align: center; flex: 1; }
.booking-cal-nav { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid #d4d4d8; background: #fff; color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.booking-cal-nav:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.booking-cal-nav:disabled { opacity: .3; cursor: default; }
.booking-cal-nav:focus-visible, .booking-cal-day:focus-visible, .booking-time:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.booking-cal-grid { display: grid; gap: 2px; }
.booking-cal-grid[aria-busy="true"] { opacity: .55; }
.booking-cal-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.booking-cal-wd .booking-cal-cell { text-align: center; font-size: .75rem; font-weight: 600; color: #71717a; padding: 4px 0; text-transform: uppercase; }
.booking-cal-wd abbr { text-decoration: none; }
.booking-cal-cell { display: flex; justify-content: center; }
.booking-cal-day { width: 100%; max-width: 46px; aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 999px; background: transparent; font: 500 .95rem/1 var(--font-body); color: #a1a1aa; cursor: default; position: relative; }
.booking-cal-day.is-open { color: var(--ink); background: #f4f4f5; font-weight: 700; cursor: pointer; }
.booking-cal-day.is-open:hover { background: var(--brand-ring); color: var(--brand); }
.booking-cal-day[aria-disabled="true"] { text-decoration: line-through; text-decoration-color: #d4d4d8; }
.booking-cal-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 999px; background: var(--brand); }
.booking-cal-day.is-today { box-shadow: inset 0 0 0 1.5px #a1a1aa; }
.booking-cal-day.is-selected { background: var(--brand); color: #fff; }
.booking-cal-day.is-selected.is-today::after { background: #fff; }
.booking-times-day { margin: 0 0 10px; font-size: 1rem; }
.booking-time-group { margin-bottom: 12px; }
.booking-time-group h5 { margin: 0 0 6px; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: #52525b; }
.booking-tz { font-size: .82rem; margin: 10px 0 0; }
.booking-days .muted { font-size: .9rem; margin: 0; }
.booking-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.booking-time { font: 600 .92rem/1 var(--font-body); border: 1.5px solid #a1a1aa; background: #fff; color: var(--ink); border-radius: 999px; padding: 11px 10px; cursor: pointer; min-height: 44px; }
.booking-time:hover { border-color: var(--brand); color: var(--brand); }
.booking-time.is-selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.booking-chosen { font-weight: 600; color: var(--brand); min-height: 1.4em; margin: 0 0 8px; }
.booking-msg { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: var(--radius-sm); padding: 12px 14px; }
.booking-details .btn[disabled] { opacity: .5; cursor: not-allowed; }
.booking-fallback { font-size: .9rem; margin: 0; }
@media (max-width: 560px) { .booking-services { grid-template-columns: 1fr 1fr; } }

/* ---------- Website specials (v0.115.0) ---------- */
.specials-grid { margin-bottom: 32px; }
.specials-heading { margin: 8px 0 18px; }
.offer.special { overflow: hidden; }
.special-photo { display: block; margin: -26px -26px 6px; }
.special-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.offer .was-price { color: var(--muted); font-size: 1.4rem; margin-right: 6px; }
.specials-more .btn { border-color: var(--brand); color: var(--brand); }
.offer .special-fine { font-size: .82rem; }
.specials-more { margin-top: 8px; }

/* Vehicle options & specifications accordion */
.vdp-options { margin-top: 40px; }
.vdp-about .vdp-options { margin: 24px 0; }
.vdp-options > h2 { margin-bottom: 14px; }
.opt-sec { border: 1px solid var(--line, #e3e3e3); border-radius: 8px; margin-bottom: 10px; overflow: hidden; background: #fff; }
.opt-h { margin: 0; font-size: 1rem; }
.opt-toggle { all: unset; box-sizing: border-box; display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; font-weight: 700; background: #f2f2f2; color: var(--ink, #222); }
.opt-toggle:hover { background: #e9e9e9; }
.opt-toggle:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.opt-sec.open .opt-toggle { background: var(--brand); color: #fff; }
.opt-icon { position: relative; width: 14px; height: 14px; flex: none; }
.opt-icon::before, .opt-icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; transition: transform .2s; }
.opt-icon::after { transform: rotate(90deg); }
.opt-sec.open .opt-icon::after { transform: rotate(0deg); }
.opt-panel { padding: 6px 18px 16px; }
.opt-group h4 { margin: 14px 0 6px; font-size: .95rem; color: var(--brand); }
.opt-items { columns: 2; column-gap: 32px; padding-left: 1.2em; margin: 0; }
.opt-items li { break-inside: avoid; margin: 2px 0; }
.opt-specs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.opt-specs li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--line, #eee); }
.opt-v { font-weight: 600; text-align: right; }
@media (max-width: 640px) { .opt-items { columns: 1; } .opt-specs { grid-template-columns: 1fr; } .opt-toggle { padding: 13px 14px; } .opt-panel { padding: 4px 14px 14px; } }

/* ---------- v0.137.0: home service & Krown coverage (G&M design update 2026-11-03) ---------- */
/* ---------- Home: icon shortcuts (top of page) ---------- */
.quick-tiles { background: var(--night); border-bottom: 1px solid var(--line-dark); }
.quick-tiles .wrap { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.qt { display: flex; align-items: center; gap: 14px; padding: 16px 20px; color: var(--white); text-decoration: none; border-left: 1px solid var(--line-dark); transition: background .2s; }
.qt:last-child { border-right: 1px solid var(--line-dark); }
.qt:hover { background: var(--steel); color: var(--white); }
.qt:focus-visible { outline: 3px solid var(--white); outline-offset: -3px; color: var(--white); }
.qt-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--white); transition: transform .2s, background .2s; }
/* v0.137.4: distinct accents on the home shortcuts. Krown's own wordmark is not recoloured. */
.qt:nth-child(1) .qt-icon { background: var(--brand); color: var(--white); }
.qt:nth-child(2) .qt-icon { background: #1F4B99; color: var(--white); }
.qt-krown { box-shadow: inset 0 -3px 0 #FCD00A; }
.qt:nth-child(1):hover .qt-icon, .qt:nth-child(1):focus-visible .qt-icon { background: var(--brand-dark); transform: translateY(-1px); }
.qt:nth-child(2):hover .qt-icon, .qt:nth-child(2):focus-visible .qt-icon { background: #16366E; transform: translateY(-1px); }
.qt-krown:hover, .qt-krown:focus-visible { background: #241f12; }
.qt-icon svg { width: 24px; height: 24px; }
.qt-logo { width: auto; padding: 0 10px; background: none !important; }
.qt-logo img { height: 26px; width: auto; display: block; }
.qt-text strong { display: block; font: 700 1.25rem/1.1 var(--font-display); }
.qt-text small { color: var(--chrome); font-size: .85rem; }
@media (max-width: 700px) {
  .quick-tiles .wrap { width: 100%; }
  .qt { flex-direction: column; text-align: center; gap: 8px; padding: 14px 6px 12px; border-left: 0; border-right: 1px solid var(--line-dark); }
  .qt:last-child { border-right: 0; }
  .qt-icon { width: 52px; height: 52px; border-radius: 14px; }
  .qt-logo { width: 100%; height: 52px; }
  .qt-logo img { height: 20px; margin: 0 auto; }
  .qt-text small { display: none; }
  .qt-text strong { font-size: 1.05rem; }
}

/* ---------- Home hero: the whole photo opens the Equifax credit check ---------- */
.hero-clickable { cursor: pointer; }
.hero-hit { position: absolute; inset: 0; z-index: 1; }
.hero-hit:focus-visible { outline: 3px solid var(--white); outline-offset: -6px; }
.hero-clickable .wrap { position: relative; z-index: 2; pointer-events: none; }
.hero-clickable .wrap a { pointer-events: auto; }
.hero-score { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; }
.score-btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 30px; border-radius: 999px; background: var(--white); color: var(--night); font: 700 1.05rem var(--font-body); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); transition: transform .2s, box-shadow .2s; }
.hero-clickable:hover .score-btn, .score-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(0,0,0,.7); color: var(--night); }
.score-note { color: var(--white); font-size: .98rem; font-style: italic; line-height: 1.3; }
.score-note em { display: block; font-style: normal; font-size: .82rem; color: var(--chrome); font-weight: 600; }
.hero-shop { display: inline-block; margin-top: 20px; color: var(--white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero-shop:hover { color: var(--white); }

/* ---------- Tire season promo ---------- */
.promo-wrap { padding: clamp(36px, 5vw, 56px) 0 0; }
.promo { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 22px 26px; border-radius: var(--radius); background: var(--night); color: var(--white); text-decoration: none; position: relative; overflow: hidden; }
.promo::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--brand); }
.promo:hover { color: var(--white); background: var(--steel); }
.promo-badge { width: 92px; height: 92px; border-radius: 50%; background: var(--brand); display: grid; place-content: center; text-align: center; line-height: 1; }
.promo-badge b { font: 700 2.2rem/1 var(--font-display); }
.promo-badge small { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.promo-eyebrow { display: inline-flex; gap: 8px; align-items: center; color: var(--chrome); font-weight: 600; font-size: .9rem; }
.promo-eyebrow svg { width: 18px; height: 18px; }
.promo-copy strong { display: block; font: 700 clamp(1.4rem, 2.6vw, 2rem)/1.1 var(--font-display); margin: 4px 0 6px; }
.promo-copy small { color: var(--chrome); font-size: .95rem; }
.promo-cta { pointer-events: none; }
@media (max-width: 760px) { .promo { grid-template-columns: auto 1fr; } .promo-cta { grid-column: 1 / -1; } .promo-badge { width: 72px; height: 72px; } .promo-badge b { font-size: 1.7rem; } }
.promo-inline { grid-template-columns: auto 1fr; margin-bottom: 28px; padding: 18px 20px; }
.promo-inline .promo-badge { width: 70px; height: 70px; } .promo-inline .promo-badge b { font-size: 1.6rem; }
.promo-inline .promo-copy strong { font-size: 1.35rem; }

/* ---------- Home: service + Krown duo ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo-card { border-radius: var(--radius); padding: clamp(26px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.duo-card h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 0; }
.duo-card .hero-actions { margin-top: auto; padding-top: 8px; }
.duo-service { background: var(--paper); }
.duo-service .checklist { margin: 0; }
.duo-krown { background: #18181a; color: var(--white); position: relative; overflow: hidden; }
.duo-krown::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 160px; height: 160px; background: #FCD00A; transform: rotate(45deg); }
.duo-krown p { color: var(--chrome); margin: 0; max-width: 46ch; }
.duo-logo { height: 44px; width: auto; align-self: flex-start; }
.btn-krown { background: #FCD00A; color: #18181a; }
.btn-krown:hover { background: #ffe14d; color: #18181a; }
.btn svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

.duo-service .action-icon { background: var(--white); }

/* v0.137.5: homepage only. The car photo runs behind the hours bar, the logo header
   and the shortcut row. Shortcut icons are yellow. Other pages keep the solid header. */
body.home { --home-lift: 220px; }
body.home .topbar,
body.home .quick-tiles { background: transparent; position: relative; z-index: 4; }
/* Every header dropdown hangs out of the header. The shortcut row used to share
   z-index 4 and, coming later, painted over those menus. Keep the header sticky
   and above that row so every group stays clickable. */
body.home .site-header { background: transparent; position: sticky; top: 0; z-index: 50; }
body.home .topbar { border: 0; }
body.home .site-header { border-bottom-color: transparent; }
body.home .quick-tiles { border-bottom-color: transparent; }
body.home .hero-home { margin-top: calc(-1 * var(--home-lift)); background-size: cover; background-position: center 42%; }
body.home .hero-home .wrap { padding-top: calc(var(--home-lift) + clamp(20px, 3vw, 40px)); }
body.home .hero-home::before { background: linear-gradient(180deg, rgba(var(--night-rgb), .72) 0%, rgba(var(--night-rgb), .5) 42%, rgba(var(--night-rgb), .78) 100%); }
body.home:not(.home-scrolled) .site-header .nav-link,
body.home:not(.home-scrolled) .site-header .menu-toggle { color: var(--white); }
body.home:not(.home-scrolled) .menu-toggle { background: transparent; border-color: rgba(255,255,255,.45); }
body.home .nav.open .nav-link,
body.home .nav.open .nav-close { color: var(--ink); }
body.home.home-scrolled .site-header { background: var(--white); border-bottom-color: var(--line); }
body.home.home-scrolled .site-header .nav-link,
body.home.home-scrolled .menu-toggle { color: var(--ink); }
body.home.home-scrolled .menu-toggle { background: var(--white); border-color: var(--line); }
body.home .qt:nth-child(1) .qt-icon,
body.home .qt:nth-child(2) .qt-icon { background: transparent; color: #FCD00A; }
body.home .qt:nth-child(1):hover .qt-icon,
body.home .qt:nth-child(2):hover .qt-icon,
body.home .qt:nth-child(1):focus-visible .qt-icon,
body.home .qt:nth-child(2):focus-visible .qt-icon { background: transparent; color: #ffe14d; }
body.home .qt-krown { box-shadow: none; }
/* Sales and Service glyphs are 24px in a 46px slot (52px on a phone). 32px is
   still inside that slot, so the row, the touch target and the Krown wordmark stay put. */
body.home .qt:nth-child(1) .qt-icon svg,
body.home .qt:nth-child(2) .qt-icon svg { width: 32px; height: 32px; }
body.home .qt-text strong,
body.home .qt-text small { color: var(--white); }
/* v0.137.13: frosted-glass homepage shortcuts over the photo. Icon size and layout stay. */
body.home .quick-tiles .wrap { gap: 10px; }
body.home .qt {
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  background: rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,.55);
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
body.home .qt:last-child { border-right: 1px solid rgba(255,255,255,.28); }
body.home .qt:hover,
body.home .qt:focus-visible {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.42);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -16px rgba(0,0,0,.6);
}
body.home .qt:focus-visible { outline: 3px solid rgba(255,255,255,.85); outline-offset: 2px; }
body.home .qt-krown:hover,
body.home .qt-krown:focus-visible { background: rgba(255,255,255,.2); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.home .qt { background: rgba(24,24,26,.72); }
  body.home .qt:hover,
  body.home .qt:focus-visible { background: rgba(24,24,26,.88); }
}
@media (max-width: 700px) {
  body.home .quick-tiles .wrap { gap: 8px; }
  body.home .qt { border-right: 1px solid rgba(255,255,255,.28); }
  body.home .qt:last-child { border-right: 1px solid rgba(255,255,255,.28); }
}
body.home .home-credit { margin: 8px 0 0; }
/* The search card is pulled up 72px so it can sit on the hero. The Equifax banner
   now stands between them, and that pull covers the vendor "Get your free score"
   graphic at the bottom of the banner (the same creditTool banner as inventory).
   Keep the card below the banner on every width. */
body.home .home-credit + .quicksearch { margin-top: 32px; }
@media (max-width: 800px) {
  body.home .hero-home { background-size: cover; background-position: center 38%; }
  body.home .hero-home::before { background: linear-gradient(180deg, rgba(var(--night-rgb), .66) 0%, rgba(var(--night-rgb), .42) 36%, rgba(var(--night-rgb), .8) 100%); }
  body.home .hero-home .wrap { padding-top: calc(var(--home-lift) + 12px); }
}
/* v0.137.0: special shown under a service in online booking step 1 (from the Specials manager) */
.booking-service .booking-deal{display:block;font-style:normal;font-size:.8rem;font-weight:700;color:var(--red,#c8102e);margin-top:.15rem}
/* v0.137.1: Krown wordmark on the Krown page. Original artwork, never recoloured or stretched; dark plate + clear space. */
.hero-brand-logo { display: block; height: clamp(40px, 5vw, 60px); width: auto; margin: 6px 0 22px; }
.aside-brand-logo { display: inline-block; background: var(--graphite); border-radius: 6px; padding: 12px 16px; margin-bottom: 16px; line-height: 0; }
.aside-brand-logo img { display: block; height: 28px; width: auto; }
