/* ==========================================================================
   Pentco Automart — public website layouts
   ========================================================================== */

/* ---------- Demo bar ---------- */
.demo-bar { background: var(--yellow-50); border-bottom: 1px solid #EEDC4A; font-size: var(--fs-xs); color: var(--ink-2); }
.demo-bar .container { display: flex; align-items: center; gap: 8px; min-height: 34px; padding-block: 6px; }
.demo-bar .icon { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: var(--sp-8); height: var(--header-h); }
.site-header__logo { flex: none; display: block; }
.site-header__logo img { height: 34px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; }
.site-nav a {
  position: relative; display: block; padding: 10px 12px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: color var(--dur-1) var(--ease);
}
.site-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease-out); }
.site-nav a:hover { color: var(--black); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--black); font-weight: 600; }
.site-header__actions { display: flex; align-items: center; gap: var(--sp-2); }
.site-header__menu { display: none; }
@media (max-width: 1080px) {
  .site-nav, .site-header__phone span { display: none; }
  .site-header__menu { display: inline-flex; }
  .site-header__actions { margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .site-header__logo img { height: 28px; }
  .site-header__cta span { display: none; }
  .site-header__cta { width: 36px; padding: 0; }
  .site-header__phone { display: none; }
}

.nav-drawer__list { list-style: none; }
.nav-drawer__list a {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 650; text-decoration: none; font-stretch: 110%;
}
.nav-drawer__list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--yellow); padding-left: 16px; }
.nav-drawer__foot { flex-wrap: wrap; }
.nav-drawer__foot .btn { flex: 1 1 auto; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 7vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--black); color: var(--white); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-6); margin-bottom: clamp(24px, 3vw, 40px); }
.section-head__text { display: grid; gap: 10px; max-width: 720px; }
.section-head p { color: var(--ink-3); }
.section--dark .section-head p { color: rgba(255,255,255,.7); }
@media (max-width: 640px) { .section-head { flex-direction: column; align-items: flex-start; } }

.page-head { padding-block: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.page-head__title { font-size: var(--fs-3xl); letter-spacing: -0.025em; margin-top: 10px; }
.page-head p { margin-top: 12px; max-width: 64ch; color: var(--ink-3); font-size: var(--fs-md); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: var(--fs-xs); color: var(--ink-3); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--black); text-decoration: underline; }

/* ---------- Hero ---------- */
/* Dark banner carousel. Slides share one grid cell and crossfade; inactive slides are hidden from
   keyboard and screen readers. The first slide is server-rendered as active, so it works without JS. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--black); color: var(--white); }
.hero__slides { display: grid; }
.hero__slide {
  grid-area: 1 / 1; position: relative; isolation: isolate; opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s var(--ease), visibility 0s; }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; transform: scale(1.05); transition: transform 9s cubic-bezier(.2,.6,.2,1); }
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__slide::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1,1,1,.92) 0%, rgba(1,1,1,.74) 34%, rgba(1,1,1,.18) 66%, rgba(1,1,1,0) 100%),
    linear-gradient(0deg, rgba(1,1,1,.75) 0%, rgba(1,1,1,0) 38%);
}
.hero__inner { min-height: clamp(560px, 82vh, 780px); display: flex; flex-direction: column; justify-content: center; padding-block: clamp(56px, 8vw, 104px) clamp(190px, 19vw, 240px); }
.hero__copy { max-width: 640px; display: grid; gap: var(--sp-5); justify-items: start; }
.hero__title { font-size: var(--fs-display); font-weight: 780; letter-spacing: -0.035em; line-height: 0.96; font-stretch: 112%; color: var(--white); }
.hero__sub { font-size: var(--fs-md); color: rgba(255,255,255,.78); max-width: 46ch; }
.hero__copy .btn-row { margin-top: var(--sp-2); }
/* Copy animates only after the first slide change, so the initial heading is never delayed. */
.hero.has-changed .hero__slide.is-active .hero__copy > * { animation: hero-copy .8s var(--ease-out) both; }
.hero.has-changed .hero__slide.is-active .hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero.has-changed .hero__slide.is-active .hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero.has-changed .hero__slide.is-active .hero__copy > :nth-child(4) { animation-delay: .24s; }
@keyframes hero-copy { from { opacity: 0; transform: translateY(14px); } }

.hero__controls {
  position: absolute; left: 0; right: 0; bottom: clamp(122px, 12.5vw, 150px); z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); pointer-events: none;
}
.hero__controls > * { pointer-events: auto; }
.hero__dots { display: flex; gap: 10px; }
.hero__dot { width: 56px; padding: 12px 0; background: none; border: 0; cursor: pointer; }
.hero__dot-bar { position: relative; display: block; height: 3px; overflow: hidden; background: rgba(255,255,255,.28); border-radius: 2px; transition: background-color var(--dur-2) var(--ease); }
.hero__dot:hover .hero__dot-bar { background: rgba(255,255,255,.5); }
.hero__dot-bar::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.hero__dot[aria-current="true"] .hero__dot-bar::after { transform: scaleX(1); }
.hero.is-playing .hero__dot[aria-current="true"] .hero__dot-bar::after { animation: hero-progress var(--hero-interval, 7s) linear both; }
.hero.is-playing.is-paused .hero__dot[aria-current="true"] .hero__dot-bar::after { animation-play-state: paused; }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__buttons { display: flex; gap: 8px; }
.hero__btn {
  display: grid; place-items: center; width: 44px; height: 44px; color: var(--white);
  background: rgba(1,1,1,.35); border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-sm);
  transition: border-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease);
}
.hero__btn:hover { border-color: var(--yellow); color: var(--yellow); background: rgba(1,1,1,.6); }
.hero__btn .icon { width: 20px; height: 20px; }
[data-hero-toggle] svg:not([data-icon-pause]) { display: none; }
.hero.is-paused [data-hero-toggle] [data-icon-pause] { display: none; }
.hero.is-paused [data-hero-toggle] svg:not([data-icon-pause]) { display: block; }

@media (min-width: 761px) and (max-width: 1180px) {
  .hero__slide::after { background: linear-gradient(90deg, rgba(1,1,1,.94) 0%, rgba(1,1,1,.82) 45%, rgba(1,1,1,.3) 80%), linear-gradient(0deg, rgba(1,1,1,.75) 0%, rgba(1,1,1,0) 38%); }
  .hero__copy { max-width: 520px; }
}
@media (max-width: 760px) {
  .hero__inner { min-height: 540px; justify-content: flex-end; padding-block: 48px 104px; }
  .hero__img { object-position: 72% 40%; }
  .hero__slide::after { background: linear-gradient(180deg, rgba(1,1,1,.35) 0%, rgba(1,1,1,.7) 45%, rgba(1,1,1,.96) 100%); }
  .hero__controls { bottom: 28px; }
  .hero__dot { width: 40px; }
  .hero__btn { width: 40px; height: 40px; }
}

.hero-search {
  position: relative; z-index: 2; margin-top: calc(-1 * clamp(80px, 9vw, 110px));
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--yellow); box-shadow: var(--shadow-pop);
  padding: var(--sp-6);
}
.hero-search__form { display: grid; gap: var(--sp-4); grid-template-columns: 1.6fr 1fr 1fr 1fr auto; align-items: end; }
.hero-search__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--ink-3); }
.hero-search__links a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.hero-search__links a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
@media (max-width: 1080px) { .hero-search__form { grid-template-columns: 1fr 1fr; } .hero-search__form .field--q { grid-column: 1 / -1; } .hero-search__form .btn { grid-column: 1 / -1; } }
@media (max-width: 760px) { .hero-search { margin-top: 0; box-shadow: none; padding: var(--sp-5); } }

/* ---------- Vehicle grid & card ---------- */
.vgrid { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); }
.vgrid--4 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (min-width: 1280px) { .vgrid--4 { grid-template-columns: repeat(4, 1fr); } }

.vcard { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.vcard:hover { border-color: var(--line-2); box-shadow: 0 16px 32px -24px rgba(1,1,1,.35); }
.vcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.vcard:hover .vcard__media img { transform: scale(1.035); }
.vcard__noimg { display: grid; place-items: center; height: 100%; color: var(--grey); }
.vcard__noimg .icon { width: 40px; height: 40px; }
.vcard__badges { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.vcard__badges .badge:not(.badge--reserved):not(.badge--sold) { background: rgba(255,255,255,.94); }
.vcard.is-sold .vcard__media img { filter: grayscale(.85); opacity: .8; }
.vcard__body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-5); gap: 4px; }
.vcard__meta { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.vcard__title { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.01em; }
.vcard__title a { text-decoration: none; }
.vcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.vcard__variant { font-size: var(--fs-sm); color: var(--ink-3); }
.vcard__specs { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin-top: 10px; font-size: var(--fs-sm); color: var(--ink-2); }
.vcard__specs li:not(:last-child)::after { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 10px 3px; border-radius: 50%; background: var(--grey); }
.vcard__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-top: auto; padding-top: var(--sp-4); }
.vcard__price { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vcard__price.is-por { font-size: var(--fs-base); font-weight: 600; color: var(--ink-2); }
.vcard__actions { position: relative; z-index: 1; display: flex; gap: 6px; }
.vcard__compare, .vcard__wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; min-width: 36px; padding: 0 10px;
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-sm); text-decoration: none;
  transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.vcard__wa { padding: 0; }
.vcard__wa .icon { color: #128C4B; }
.vcard__compare:hover, .vcard__wa:hover { border-color: var(--black); }
.vcard__compare[aria-pressed="true"] { background: var(--yellow); border-color: var(--black); color: var(--black); }
.vcard__compare .icon, .vcard__wa .icon { width: 16px; height: 16px; }
.vcard__cta { position: relative; z-index: 1; margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.vcard__cta .icon { width: 16px; height: 16px; }

/* List view */
.vgrid.is-list { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .vgrid.is-list .vcard { flex-direction: row; }
  .vgrid.is-list .vcard__media { flex: 0 0 min(40%, 340px); aspect-ratio: 4 / 3; }
  .vgrid.is-list .vcard__body { padding: var(--sp-6); }
}

/* Skeleton card */
.vcard--skeleton { pointer-events: none; }
.vcard--skeleton .vcard__media { background: none; }
.vcard--skeleton .vcard__media .skeleton { width: 100%; height: 100%; border-radius: 0; }
.vcard--skeleton .skeleton-line { height: 12px; margin-top: 10px; }

/* ---------- Home: body types ---------- */
.body-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 1100px) { .body-types { grid-template-columns: repeat(4, 1fr); } }
.body-type {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-6); min-height: 140px; padding: var(--sp-5);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; background: var(--white);
  transition: background-color var(--dur-2) var(--ease);
}
.body-type::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-3) var(--ease-out); }
.body-type:hover { background: var(--surface); }
.body-type:hover::before { transform: scaleX(1); }
.body-type__name { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 700; font-stretch: 110%; margin-top: auto; }
.body-type { gap: var(--sp-3); min-height: 196px; }
.body-type__icon { width: 144px; height: auto; margin: -4px 0 var(--sp-3) -6px; color: var(--ink); transition: transform var(--dur-3) var(--ease-out); }
.body-type:hover .body-type__icon { transform: translateX(6px); }
.body-icon { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.body-icon__shell { stroke-width: 1.35; fill: var(--white); transition: fill var(--dur-2) var(--ease); }
.body-icon__detail { stroke: var(--ink-3); stroke-width: 1; }
.body-icon__wheel { stroke-width: 1.35; fill: var(--white); transition: fill var(--dur-2) var(--ease); }
.body-icon__hub { stroke: var(--ink-3); stroke-width: 1; fill: var(--white); transition: fill var(--dur-2) var(--ease), stroke var(--dur-2) var(--ease); }
.body-icon__shadow { fill: var(--surface-2); stroke: none; }
.body-type:hover .body-icon__shell, .body-type:hover .body-icon__wheel { fill: var(--surface); }
.body-type:hover .body-icon__hub { fill: var(--yellow); stroke: var(--ink); }
.body-type:hover .body-icon__shadow { fill: var(--line); }
.body-type__count { display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-sm); color: var(--ink-3); }
.body-type__count .icon { transition: transform var(--dur-2) var(--ease); color: var(--black); }
.body-type:hover .body-type__count .icon { transform: translateX(4px); }

/* ---------- Home: intro / reasons ---------- */
.intro { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: 1fr 1fr; align-items: center; }
.intro__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.intro__media img { width: 100%; height: 100%; object-fit: cover; }
.intro__text { display: grid; gap: var(--sp-5); }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }

.reasons { display: grid; gap: var(--sp-8); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: reason; }
.reason { padding-top: var(--sp-5); border-top: 2px solid var(--black); counter-increment: reason; display: grid; gap: var(--sp-3); align-content: start; }
.reason::before { content: counter(reason, decimal-leading-zero); font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 700; color: var(--ink-3); letter-spacing: .08em; }
.reason h3 { font-size: var(--fs-lg); }
.reason p { color: var(--ink-3); }

/* ---------- Import steps ---------- */
.steps { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { position: relative; padding: var(--sp-6) var(--sp-6) var(--sp-6) 0; counter-increment: step; display: grid; gap: var(--sp-3); align-content: start; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 800; line-height: 1; color: var(--yellow); font-stretch: 112%; }
.step h3 { font-size: var(--fs-lg); }
.step p { color: rgba(255,255,255,.72); }
.section:not(.section--dark) .step::before { color: var(--black); -webkit-text-stroke: 0; }
.section:not(.section--dark) .step { border-top: 1px solid var(--line); }
.section:not(.section--dark) .step p { color: var(--ink-3); }
.section--dark .step { border-top: 1px solid rgba(255,255,255,.16); }

/* ---------- Testimonials & deliveries ---------- */
.quotes { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.quote { display: grid; gap: var(--sp-4); align-content: space-between; padding: var(--sp-6); border: 1px solid var(--line); background: var(--white); }
.quote blockquote { margin: 0; font-size: var(--fs-md); line-height: 1.55; }
.quote blockquote::before { content: "“"; display: block; font-family: var(--font-display); font-size: 48px; line-height: .6; color: var(--yellow); -webkit-text-stroke: 1px var(--black); }
.quote figcaption { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-sm); }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; }
.deliveries { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.delivery { margin: 0; }
.delivery img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--surface-2); }
.delivery figcaption { margin-top: 10px; font-size: var(--fs-sm); color: var(--ink-3); }

/* ---------- CTA band ---------- */
.cta-band { display: grid; gap: var(--sp-6); grid-template-columns: 1.4fr auto; align-items: center; padding: clamp(28px, 4vw, 56px); background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--yellow); }
.cta-band h2 { font-size: var(--fs-2xl); }
.cta-band p { color: var(--ink-3); margin-top: 8px; max-width: 56ch; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Inventory ---------- */
.inventory { display: grid; gap: clamp(24px, 3vw, 40px); grid-template-columns: 300px minmax(0, 1fr); align-items: start; padding-block: var(--sp-8) var(--sp-20); }
.inventory__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.inventory__count { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 700; }
.inventory__count .muted { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 400; }
.inventory__tools { display: flex; align-items: center; gap: var(--sp-3); }
.inventory__tools .select { width: auto; min-width: 210px; }
.inventory__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: var(--sp-4) 0 0; }
.inventory__notices { display: grid; gap: 8px; margin-top: var(--sp-4); }
.inventory__results { margin-top: var(--sp-6); position: relative; min-height: 200px; }
.inventory__results[aria-busy="true"] .vgrid:not(.is-skeleton) { opacity: .45; transition: opacity var(--dur-2) var(--ease); }
.inventory__mobilebar { display: none; }

.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 4px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: var(--sp-3); border-bottom: 2px solid var(--black); }
.filters__title { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700; }
.filters__clear { font-size: var(--fs-sm); font-weight: 600; background: none; border: 0; padding: 4px; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.filters__clear:disabled { color: var(--ink-3); text-decoration: none; cursor: default; }
.filter-group { border-bottom: 1px solid var(--line); }
.filter-group__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0; background: none; border: 0; text-align: left;
  font-size: var(--fs-sm); font-weight: 650;
}
.filter-group__toggle .filter-group__sel { margin-left: auto; margin-right: 8px; min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 10px; background: var(--yellow); font-size: var(--fs-2xs); font-weight: 700; }
.filter-group__toggle .filter-group__sel:empty { display: none; }
.filter-group__body { padding-bottom: var(--sp-4); display: grid; gap: 10px; }
.filter-group__hint { font-size: var(--fs-xs); color: var(--ink-3); }
.filter-group__scroll { max-height: 260px; overflow-y: auto; display: grid; gap: 10px; padding: 2px; scrollbar-width: thin; }
.filter-opt { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.filter-opt .check { flex: 1; }
.filter-opt__count { font-size: var(--fs-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: 2px; transition: opacity var(--dur-2); }
.filter-opt.is-zero .filter-opt__count { opacity: .55; }
.filter-subhead { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.range span { color: var(--ink-3); font-size: var(--fs-sm); }
.range .input { height: 40px; font-size: var(--fs-sm); padding: 0 10px; }
.range-error { font-size: var(--fs-xs); color: var(--danger); }
.filters__submit { margin-top: var(--sp-5); }
.js .filters__submit--nojs { display: none; }

@media (max-width: 1023px) {
  .inventory { grid-template-columns: 1fr; padding-top: 0; }
  .inventory__mobilebar {
    display: flex; gap: var(--sp-2); position: sticky; top: var(--header-h); z-index: 30; margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter);
    background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px);
  }
  .inventory__mobilebar .input-icon { flex: 1; }
  .inventory__mobilebar .btn { flex: none; }
  .filters-count { min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 10px; background: var(--black); color: var(--yellow); font-size: var(--fs-2xs); font-weight: 700; }
  .filters-count:empty { display: none; }
  .inventory__tools .view-toggle { display: none; }
  .inventory__head { margin-top: var(--sp-5); }
  .inventory__tools .select { min-width: 0; }
  /* The filter panel becomes a full-height drawer (JS only — without JS it stays inline) */
  html:not(.js) .filters-panel__head, html:not(.js) .filters-panel__foot { display: none; }
  .js .filters-panel { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: var(--white); visibility: hidden; transform: translateX(-100%); transition: transform var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3); }
  .js .filters-panel.is-open { visibility: visible; transform: none; transition-delay: 0s; }
  .filters-panel .filters { position: static; max-height: none; }
  .js .filters-panel .filters { flex: 1; overflow-y: auto; padding: 0 var(--gutter) var(--sp-6); }
  .filters-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); min-height: 64px; }
  .filters-panel__foot { display: flex; gap: var(--sp-3); padding: 12px var(--gutter); padding-bottom: max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
  .filters-panel__foot .btn:last-child { flex: 1; }
  .js .filters .filters__head { display: none; }
  .filters-backdrop { position: fixed; inset: 0; z-index: 89; background: rgba(1,1,1,.45); opacity: 0; pointer-events: none; transition: opacity var(--dur-2) var(--ease); }
  .filters-backdrop.is-open { opacity: 1; pointer-events: auto; }
  .filters-draft-note { font-size: var(--fs-xs); color: var(--ink-3); padding: 8px var(--gutter) 0; }
}
@media (min-width: 1024px) {
  .filters-panel__head, .filters-panel__foot, .filters-backdrop, .filters-draft-note { display: none !important; }
}

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: var(--sp-12); flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; font-size: var(--fs-sm); font-weight: 600;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); text-decoration: none; transition: border-color var(--dur-1), background-color var(--dur-1);
}
.pagination a:hover { border-color: var(--black); }
.pagination [aria-current="page"] { background: var(--black); border-color: var(--black); color: var(--yellow); }
.pagination .is-gap { border: 0; min-width: 20px; padding: 0; color: var(--ink-3); }
.pagination .is-disabled { opacity: .4; }

.no-results { display: grid; gap: var(--sp-5); padding: clamp(32px, 5vw, 64px); border: 1px solid var(--line); background: var(--surface); }
.no-results h2 { font-size: var(--fs-2xl); }
.no-results__suggest { display: grid; gap: 8px; list-style: none; }
.no-results__suggest a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }

/* ---------- Vehicle detail ---------- */
.vd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-6); flex-wrap: wrap; padding-block: var(--sp-6) var(--sp-6); }
.vd-head__title { font-size: var(--fs-3xl); letter-spacing: -0.025em; }
.vd-head__variant { font-size: var(--fs-lg); color: var(--ink-3); margin-top: 6px; }
.vd-head__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.vd { display: grid; gap: clamp(24px, 3vw, 48px); grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
@media (max-width: 1023px) { .vd { grid-template-columns: 1fr; } }

.status-banner { display: flex; gap: 12px; align-items: center; padding: 14px 18px; margin-bottom: var(--sp-6); font-weight: 600; }
.status-banner--sold { background: var(--black); color: var(--white); }
.status-banner--reserved { background: var(--yellow); }
.status-banner--arriving { background: var(--info-bg); color: var(--info); }
.status-banner--preview { background: var(--warning-bg); color: var(--warning); }

.gallery { display: grid; gap: 10px; }
.gallery__stage { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; touch-action: pan-y; user-select: none; }
.gallery__track { display: flex; height: 100%; transition: transform .5s var(--ease-out); }
.gallery__slide { flex: 0 0 100%; height: 100%; display: grid; place-items: center; }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery__slide button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery__slide button:focus-visible { outline: 2px solid var(--black); outline-offset: -4px; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__nav .btn { background: rgba(255,255,255,.94); border-color: transparent; box-shadow: var(--shadow-sm); }
.gallery__nav .btn:hover { background: var(--yellow); }
.gallery__counter { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 4px 10px; font-size: var(--fs-xs); font-weight: 600; background: rgba(1,1,1,.72); color: #fff; border-radius: var(--r-sm); }
.gallery__expand { position: absolute; left: 12px; bottom: 12px; z-index: 2; }
.gallery__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 96px; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.gallery__thumb { position: relative; aspect-ratio: 4 / 3; padding: 0; border: 0; background: var(--surface-2); cursor: pointer; scroll-snap-align: start; opacity: .7; transition: opacity var(--dur-2) var(--ease); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; transition: border-color var(--dur-2) var(--ease); }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb[aria-selected="true"] { opacity: 1; }
.gallery__thumb[aria-selected="true"]::after { border-color: var(--black); box-shadow: inset 0 -4px 0 var(--yellow); }
.gallery__thumb--video { display: grid; place-items: center; background: var(--black); color: var(--yellow); opacity: 1; }
.gallery__thumb--video span { display: grid; justify-items: center; gap: 4px; font-size: var(--fs-2xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.js .gallery__track { will-change: transform; }
.no-js-gallery .gallery__track { overflow-x: auto; scroll-snap-type: x mandatory; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(1,1,1,.96); color: #fff; display: none; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fade-in var(--dur-2) var(--ease); }
.lightbox.is-closing { animation: fade-out var(--dur-2) var(--ease) forwards; }
.lightbox::backdrop { background: transparent; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-size: var(--fs-sm); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px; touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; animation: lb-in var(--dur-3) var(--ease-out); }
.lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__btn--prev { left: 12px; } .lightbox__btn--next { right: 12px; }
.lightbox .btn { background: rgba(255,255,255,.1); color: #fff; border-color: transparent; }
.lightbox .btn:hover { background: var(--yellow); color: var(--black); }
.lightbox__caption { padding: 12px 16px 20px; text-align: center; font-size: var(--fs-sm); color: rgba(255,255,255,.7); }
@keyframes lb-in { from { opacity: 0; transform: scale(.985); } }
@media (max-width: 640px) { .lightbox__stage { padding: 0 8px; } .lightbox__btn { display: none; } }

.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--black); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.vd-panel { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: var(--sp-5); padding: var(--sp-6); border: 1px solid var(--line); background: var(--white); }
.vd-panel__price { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 760; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.vd-panel__price.is-por { font-size: var(--fs-2xl); }
.vd-panel__ref { font-size: var(--fs-xs); color: var(--ink-3); letter-spacing: .04em; }
.vd-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.vd-facts > div { background: var(--white); padding: 12px; display: grid; gap: 2px; }
.vd-facts dt { font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; }
.vd-facts dd { font-weight: 650; font-size: var(--fs-sm); }
.vd-facts .is-unknown dd { color: var(--ink-3); font-weight: 400; }
.vd-actions { display: grid; gap: 8px; }
.vd-actions__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vd-actions__row > :only-child { grid-column: 1 / -1; }
.vd-note { font-size: var(--fs-xs); color: var(--ink-3); }
@media (max-width: 1023px) { .vd-panel { position: static; } }

.vd-section { padding-block: var(--sp-10); border-top: 1px solid var(--line); }
.vd-section:first-child { border-top: 0; }
.vd-section h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-5); }
.features-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.features-grid h3 { font-family: var(--font-body); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 10px; font-weight: 700; }
.features-grid ul { list-style: none; display: grid; gap: 8px; }
.features-grid li { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-sm); }
.features-grid li .icon { width: 16px; height: 16px; margin-top: 2px; padding: 2px; background: var(--yellow); border-radius: 50%; stroke-width: 3; flex: none; }
.docs { display: grid; gap: 8px; list-style: none; }
.docs a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); transition: border-color var(--dur-1); }
.docs a:hover { border-color: var(--black); }

.sticky-actions { display: none; }
@media (max-width: 1023px) {
  .sticky-actions {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 8px;
    padding: 10px var(--gutter); padding-bottom: max(10px, env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(1,1,1,.3);
    transform: translateY(110%); transition: transform var(--dur-3) var(--ease-out);
  }
  .sticky-actions.is-visible { transform: none; }
  .sticky-actions__price { flex: 1; min-width: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); line-height: 1.1; }
  .sticky-actions__price small { display: block; font-family: var(--font-body); font-size: var(--fs-2xs); color: var(--ink-3); font-weight: 500; }
  body.has-sticky-actions .compare-tray { bottom: 68px; }
  body.has-sticky-actions { padding-bottom: 72px; }
}

/* ---------- Compare ---------- */
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; background: var(--black); color: #fff; animation: tray-in var(--dur-3) var(--ease-out); }
.compare-tray__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 64px; padding-block: 10px; }
.compare-tray__items { display: flex; gap: 8px; min-width: 0; overflow-x: auto; }
.compare-tray__item { position: relative; display: flex; align-items: center; gap: 8px; padding: 4px 30px 4px 4px; background: #1c1c1d; border-radius: var(--r-sm); font-size: var(--fs-xs); max-width: 240px; flex: none; }
.compare-tray__item img { width: 48px; height: 36px; object-fit: cover; border-radius: 1px; }
.compare-tray__item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-tray__item button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 22px; height: 22px; background: none; border: 0; color: rgba(255,255,255,.7); }
.compare-tray__item button:hover { color: var(--yellow); }
.compare-tray__actions { display: flex; gap: 8px; flex: none; }
.compare-tray .btn--ghost { color: #fff; }
.compare-tray .btn--ghost:hover { background: rgba(255,255,255,.1); }
@keyframes tray-in { from { transform: translateY(100%); } }
@media (max-width: 640px) { .compare-tray__item span { display: none; } .compare-tray__item { padding-right: 28px; } }

.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; border: 1px solid var(--line); }
.compare-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.compare-table th, .compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: var(--fs-sm); }
.compare-table thead td { vertical-align: top; }
.compare-table tbody th { position: sticky; left: 0; z-index: 1; width: 180px; background: var(--surface); font-weight: 600; color: var(--ink-2); }
.compare-table thead th { position: sticky; left: 0; z-index: 2; background: var(--white); width: 180px; }
.compare-table td + td, .compare-table th + td { border-left: 1px solid var(--line); }
.compare-table .is-missing { color: var(--ink-3); font-style: italic; }
.compare-table .is-best { box-shadow: inset 3px 0 0 var(--yellow); font-weight: 650; }
.compare-table .group th, .compare-table .group td { background: var(--black); color: #fff; font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: .1em; padding-block: 8px; }
.compare-col { display: grid; gap: 8px; }
.compare-col img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--surface-2); }
.compare-col h3 { font-size: var(--fs-md); }
.compare-col h3 a { text-decoration: none; }
.compare-col__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.compare-empty-col { display: grid; place-items: center; gap: 8px; min-height: 220px; padding: 16px; border: 1px dashed var(--line-2); text-align: center; color: var(--ink-3); font-size: var(--fs-sm); }
.compare-yes { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); align-items: center; justify-content: center; }
.compare-yes .icon { width: 12px; height: 12px; stroke-width: 3; }
.compare-no { color: var(--ink-3); }
@media (max-width: 640px) {
  .compare-table { min-width: calc(140px + var(--cols, 3) * 62vw); }
  .compare-table tbody th, .compare-table thead th { width: 120px; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}

/* ---------- Content pages ---------- */
.content-grid { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: minmax(0, 1fr) 360px; align-items: start; padding-block: var(--sp-12) var(--sp-20); }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } }
.info-card { display: grid; gap: var(--sp-5); padding: var(--sp-6); border: 1px solid var(--line); background: var(--white); }
.info-card h2 { font-size: var(--fs-lg); }
.info-list { list-style: none; display: grid; gap: var(--sp-4); }
.info-list li { display: flex; gap: 12px; font-size: var(--fs-sm); }
.info-list .icon { margin-top: 2px; }
.info-list a { font-weight: 600; }
.hours { display: grid; gap: 6px; font-size: var(--fs-sm); }
.open-status { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grey); }
.open-status.is-open { color: var(--success); }
.open-status.is-open::before { background: var(--success); box-shadow: 0 0 0 3px var(--success-bg); }
.hours > div { display: flex; justify-content: space-between; gap: var(--sp-4); padding-bottom: 6px; border-bottom: 1px dashed var(--line); }
.hours dt { color: var(--ink-3); }
.hours dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.hours .is-today dt, .hours .is-today dd { color: var(--black); font-weight: 700; }

.form-card { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); background: var(--white); }
.form-card__tabs { margin-bottom: var(--sp-6); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: grid; gap: var(--sp-3); justify-items: start; padding: var(--sp-6); background: var(--success-bg); border-left: 3px solid var(--success); }

.faq-topic + .faq-topic { margin-top: var(--sp-12); }
.faq-topic h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-4); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); padding: 18px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: var(--fs-md); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform var(--dur-2) var(--ease); flex: none; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item__answer { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }
.faq-item[open] .faq-item__answer { animation: faq-in var(--dur-3) var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }

.team { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.team-member img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; background: var(--surface-2); }
.team-member h3 { font-size: var(--fs-md); margin-top: 12px; }
.team-member p { font-size: var(--fs-sm); color: var(--ink-3); }
.gallery-strip { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gallery-strip img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; background: var(--surface-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.78); font-size: var(--fs-sm); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__top { display: grid; gap: var(--sp-10); grid-template-columns: 1.4fr repeat(3, 1fr); padding-block: clamp(48px, 6vw, 88px); }
.site-footer__brand { display: grid; gap: var(--sp-5); align-content: start; max-width: 340px; }
.site-footer__brand img { width: 200px; height: auto; }
.site-footer__title { font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: var(--sp-4); font-stretch: 118%; }
.site-footer__col ul { list-style: none; display: grid; gap: 10px; }
.site-footer__contact li { display: flex; gap: 10px; }
.site-footer__contact .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--grey); }
.site-footer__muted a { text-decoration: underline; }
.site-footer__hours { display: grid; gap: 6px; }
.site-footer__hours > div { display: flex; justify-content: space-between; gap: 12px; }
.site-footer__hours dd { color: #fff; font-variant-numeric: tabular-nums; }
.site-footer__social { display: flex; gap: 8px; list-style: none; }
.site-footer__social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-sm); transition: border-color var(--dur-1), color var(--dur-1); }
.site-footer__social a:hover { border-color: var(--yellow); }
.site-footer__social .icon { width: 18px; height: 18px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; padding-block: var(--sp-6); border-top: 1px solid rgba(255,255,255,.12); font-size: var(--fs-xs); color: rgba(255,255,255,.55); }
@media (max-width: 960px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__top { grid-template-columns: 1fr; } }

/* ---------- Error page ---------- */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: var(--sp-16) var(--gutter); }
.error-page__code { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: .9; letter-spacing: -.04em; font-stretch: 115%; }
.error-page__code span { background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 90%, transparent 90%); }
.error-page p { margin: 16px auto 24px; max-width: 48ch; color: var(--ink-3); }
.error-debug { margin-top: 24px; max-width: 900px; text-align: left; white-space: pre-wrap; font-size: 12px; background: var(--surface); padding: 16px; overflow: auto; }

@media print {
  .site-header, .site-footer, .compare-tray, .sticky-actions, .demo-bar, .vd-actions, .gallery__thumbs { display: none !important; }
}
