/* ==========================================================================
   ISMO Automobiles — layout & UX modelled on the "Lunaria" editorial system:
   wide black grotesk display type, hairline boxes, square corners,
   bracket "chips", mask-reveal lines and image-on-hover tiles.
   ========================================================================== */

:root {
  --ink: #0b0b0b;
  --paper: #ffffff;
  --mist: #f3f4f6;
  --line: #0b0b0b;
  --muted: #5d6068;
  --soft: #9a9ca3;
  --red: #e3212b;          /* ISMO badge red */
  --red-deep: #b5161e;

  --display: "Archivo", "Arial Black", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 3.6vw, 48px);
  --maxw: 1440px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
body.is-locked { overflow: hidden; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Display type ---------- */
.display {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: .92;
  margin: 0;
}
.h-xl { font-size: clamp(40px, 7.2vw, 104px); }
.h-lg { font-size: clamp(34px, 5.4vw, 76px); }
.h-md { font-size: clamp(30px, 4vw, 56px); }
.h-sm { font-size: clamp(17px, 1.45vw, 20px); letter-spacing: -0.03em; line-height: 1.05; }

.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}

.link-u {
  display: inline-block; position: relative;
  font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.01em;
  padding-bottom: 2px;
}
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform-origin: right; transition: transform .5s var(--ease);
}
.link-u:hover::after { animation: underline .7s var(--ease); }
@keyframes underline {
  0% { transform: scaleX(1); transform-origin: right; }
  45% { transform: scaleX(0); transform-origin: right; }
  46% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 26px;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em;
  background: var(--ink); color: var(--paper);
  border: 1.5px solid var(--ink);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red); transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--red); }
.btn--sm { height: 32px; padding: 0 22px; font-size: 13px; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.9); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--ink); border-color: #fff; }
.btn-text { font-size: 13px; font-weight: 500; }
.btn-text:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: absolute; inset: 0 0 auto 0; z-index: 50;
  color: var(--ink);
}
.header--over { color: #fff; }
.header__row {
  display: flex; align-items: center; gap: clamp(24px, 4vw, 56px);
  height: clamp(76px, 9vw, 116px);
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__badge { width: 42px; height: 42px; }
.brand__word {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 24px; letter-spacing: -.05em; line-height: .9; text-transform: uppercase;
  display: flex; flex-direction: column;
}
.brand__word small {
  font-size: 8.5px; letter-spacing: .28em; font-weight: 600; margin-top: 3px;
}
.nav { display: flex; gap: 22px; margin-right: auto; }
.nav a {
  font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  position: relative; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
  padding: 120px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-in-out);
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.menu-open .header { color: #fff; position: fixed; }
.mobile-menu a.display { font-size: clamp(40px, 12vw, 64px); display: block; }
.mobile-menu .btn { align-self: flex-start; }

/* sticky compact bar that appears after hero */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 40; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  transform: translateY(-100%); transition: transform .5s var(--ease);
}
.bar.is-shown { transform: none; }
.bar .header__row { height: 68px; }
.bar .brand__badge { width: 34px; height: 34px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; height: 100svh; min-height: 560px; max-height: 1100px;
  color: #fff; overflow: hidden; background: #111;
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% calc(70% + 19px);
  transform: scale(1.08); animation: heroIn 2.2s var(--ease) forwards;
}
@keyframes heroIn { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(0deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.12) 42%, rgba(0,0,0,0) 60%);
}
@media (max-aspect-ratio: 1/1) { .hero__media img { object-position: 62% 50%; height: 112%; translate: 0 calc(-10% + 19px); } }
.hero__inner {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding-bottom: clamp(10px, 1.6vw, 22px);
}
.hero__lead { margin-bottom: clamp(14px, 2vw, 30px); max-width: 360px; }
.hero__lead p { margin: 0 0 6px; font-size: 14px; opacity: .92; }
.hero__lead .link-u { font-size: 17px; }

.wordmark {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  text-transform: uppercase; letter-spacing: -.055em; line-height: .78;
  white-space: nowrap; margin: 0; width: max-content;
  display: flex; align-items: flex-end;
  font-size: 11.4vw; /* JS fits exactly to container width */
}
.wordmark .ch { display: inline-block; overflow: hidden; padding-top: .06em; margin-top: -.06em; }
.wordmark .ch > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.wordmark .sp { width: .24em; }
@keyframes rise { to { transform: none; } }
/* the swapped glyph: the red ISMO disc stands in for an "O" */
.glyph-o {
  display: inline-block; width: .74em; height: .74em; margin: 0 .005em .005em;
  border-radius: 50%; background: var(--red); position: relative;
  box-shadow: inset 0 0 0 .075em #fff;
}
.glyph-o::after {           /* the orbit swoosh from the badge */
  content: ""; position: absolute; left: 14%; right: 14%; top: 44%; height: 12%;
  background: var(--ink); border-radius: 50%; transform: rotate(-18deg);
}

/* ==========================================================================
   Statement (About)
   ========================================================================== */
.statement { padding: clamp(96px, 14vw, 200px) 0 clamp(90px, 12vw, 180px); text-align: center; }
.statement__text { max-width: 1100px; margin: 0 auto; font-size: clamp(30px, 5.6vw, 84px); }
@media (min-width: 861px) { .statement__text .line { white-space: nowrap; } .statement__text { font-size: clamp(30px, 5.2vw, 80px); } }
.statement__text .line { display: block; overflow: hidden; padding: .02em 0 .04em; }
.statement__text .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-in .line > span { transform: none; }
.statement p.lede {
  max-width: 420px; margin: clamp(22px, 2.4vw, 32px) auto clamp(28px, 3vw, 40px);
  font-size: 15px; line-height: 1.45; color: #222;
}

/* Bracket chip — two rounded corner brackets that open around a label */
.chip {
  display: inline-flex; align-items: center; vertical-align: middle;
  height: .78em; margin: 0 .14em; position: relative; top: -.04em;
  font-family: var(--body); font-stretch: 100%; font-weight: 500; letter-spacing: .02em;
  font-size: 1em;
}
.chip__label {
  display: inline-block; overflow: hidden; white-space: nowrap;
  font-size: max(10px, .145em); text-transform: uppercase; letter-spacing: .03em;
  max-width: 0; opacity: 0; line-height: 1;
  transition: max-width 1s var(--ease), opacity .6s ease, padding .9s var(--ease);
}
.chip::before, .chip::after {
  content: ""; width: .1em; height: 100%; flex: none;
  border: .045em solid currentColor; border-radius: .06em;
  -webkit-mask: linear-gradient(#000 0 28%, transparent 28% 72%, #000 72%);
          mask: linear-gradient(#000 0 28%, transparent 28% 72%, #000 72%);
}
.chip::before { border-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.chip::after  { border-left: 0;  border-top-left-radius: 0;  border-bottom-left-radius: 0; }
.is-in .chip .chip__label, .chip.is-open .chip__label { max-width: 6em; opacity: 1; padding: 0 .09em; }
.is-in .chip .chip__label { transition-delay: var(--d, .7s); }
.chip--lg .chip__label { font-size: max(11px, .2em); }

/* bracket frame used on grid cells */
.frame { position: relative; }
.frame > i {
  position: absolute; width: 10px; height: 18px; border: 3px solid var(--ink);
}
.frame > i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.frame > i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.frame > i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.frame > i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }

/* ==========================================================================
   Reveal helpers
   ========================================================================== */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

/* ==========================================================================
   Collection (home cards)
   ========================================================================== */
.collection { background: var(--mist); padding: clamp(80px, 9vw, 130px) 0 clamp(80px, 9vw, 120px); }
.collection__head { text-align: center; margin-bottom: clamp(26px, 3vw, 40px); }
.tiles3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.pcard {
  position: relative; display: block; aspect-ratio: 10 / 11; overflow: hidden; background: #222; color: #fff;
}
.pcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 38%); }
.pcard:hover img { transform: scale(1.05); }
.pcard__meta {
  position: absolute; left: clamp(14px, 1.6vw, 20px); right: clamp(14px, 1.6vw, 20px); bottom: clamp(14px, 1.6vw, 22px);
  z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
}
.pcard__meta small { display: block; font-size: 13px; opacity: .85; margin-top: 4px; }
.collection__foot { text-align: center; margin-top: clamp(30px, 3.4vw, 46px); }

/* small category glyphs */
.ico { width: 18px; height: 18px; flex: none; }

/* ==========================================================================
   Page head (stock page)
   ========================================================================== */
.page-top { padding-top: clamp(76px, 9vw, 116px); }
.page-head { text-align: center; padding: clamp(50px, 7vw, 100px) 0 clamp(36px, 4.4vw, 56px); }

.filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.ftile {
  position: relative; height: clamp(120px, 12.4vw, 160px); border: 1px solid var(--line);
  text-align: left; overflow: hidden; isolation: isolate; background: var(--paper);
  display: flex; align-items: flex-end; padding: clamp(14px, 1.5vw, 20px);
}
.ftile__img {
  position: absolute; inset: 0; z-index: -1;
  clip-path: inset(100% 0 0 0); transition: clip-path .75s var(--ease-in-out);
}
.ftile__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.1s var(--ease); }
.ftile__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.08)); }
.ftile__row { display: flex; width: 100%; align-items: flex-end; justify-content: space-between; gap: 8px; transition: color .5s var(--ease); }
.ftile__row small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; transition: color .5s var(--ease); }
@media (hover: hover) {
  .ftile:hover .ftile__img { clip-path: inset(0 0 0 0); }
  .ftile:hover .ftile__img img { transform: scale(1); }
  .ftile:hover .ftile__row, .ftile:hover .ftile__row small { color: #fff; }
}
.ftile[aria-pressed="true"] { border-width: 2px; padding: calc(clamp(14px, 1.5vw, 20px) - 1px); }
.ftile[aria-pressed="true"]::before {
  content: ""; position: absolute; top: 14px; left: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--red);
}

/* category intro */
.cat-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding: clamp(70px, 8vw, 120px) 0 clamp(40px, 4.6vw, 64px);
}
.cat-intro p { margin: 0 0 14px; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.45; max-width: 540px; color: #1d1d1f; }
.cat-intro .display { transition: opacity .35s ease; }

/* ==========================================================================
   Stock grid
   ========================================================================== */
.grid4 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px);
  grid-auto-flow: row dense; padding-bottom: clamp(90px, 10vw, 150px);
}
.card {
  border: 1px solid #c9cacd; background: var(--paper);
  padding: clamp(16px, 1.5vw, 20px) clamp(16px, 1.5vw, 20px) clamp(16px, 1.5vw, 18px);
  display: flex; flex-direction: column; min-height: 214px; cursor: pointer;
  transition: background .45s var(--ease), border-color .45s var(--ease);
  animation: cardIn .8s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.card:hover, .card:focus-within { background: var(--mist); border-color: #b9bbc0; }
.card h3 { margin-bottom: 2px; }
.why .card h3 { margin-bottom: 10px; }
.card__price { display: flex; align-items: center; gap: 14px; margin: 10px 0 14px; }
.card__price b { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 17px; letter-spacing: -.03em; }
.meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.meta svg { width: 14px; height: 14px; }
.card__desc { font-size: 14px; line-height: 1.4; color: #262628; margin: 0 0 16px; flex: 1; }
.card__foot { position: relative; height: 32px; }
.card__foot > * { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; gap: 18px; transition: opacity .35s ease, transform .45s var(--ease); }
.card__actions { opacity: 0; transform: translateY(8px); pointer-events: none; }
.card:hover .card__actions, .card:focus-within .card__actions { opacity: 1; transform: none; pointer-events: auto; }
.card:hover .card__stats, .card:focus-within .card__stats { opacity: 0; transform: translateY(-8px); }
@media (hover: none) {
  .card__actions { opacity: 1; transform: none; pointer-events: auto; }
  .card__stats { display: none !important; }
}
.card--img { grid-column: span 2; grid-row: span 2; padding: 0; overflow: hidden; border: 0; cursor: default; min-height: 440px; background: #ddd; }
.card--img img { width: 100%; height: 100%; object-fit: cover; }
.card--frame {
  border: 0; background: transparent; align-items: center; justify-content: center; cursor: default;
  font-size: 15px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
}
.card--frame:hover { background: transparent; }
.empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--muted); }

/* ==========================================================================
   Modal
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  padding: clamp(12px, 3vw, 48px); visibility: hidden;
}
.modal__scrim { position: absolute; inset: 0; background: rgba(210,210,212,.66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s ease; }
.modal__panel {
  position: relative; width: min(1060px, 100%); max-height: calc(100svh - 2 * clamp(12px, 3vw, 48px));
  overflow: auto; background: var(--paper); border: 1px solid #9c9ea3;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 40px);
  padding: clamp(18px, 3vw, 40px);
  opacity: 0; transform: translateY(24px) scale(.985); transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.modal.is-open { visibility: visible; }
.modal.is-open .modal__scrim { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; color: #999; }
.modal__close:hover { color: var(--ink); }
.modal__media { display: grid; gap: 18px; align-content: start; }
.modal__media img { width: 100%; aspect-ratio: 16 / 10.2; object-fit: cover; background: #eee; }
.modal__body { align-self: start; padding-top: 4px; }
.modal__status { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.modal__status .dot { width: 8px; height: 8px; border-radius: 50%; background: #1faa59; box-shadow: 0 0 0 4px rgba(31,170,89,.15); }
.modal__title { margin: 14px 0 16px; font-size: clamp(26px, 2.7vw, 38px); line-height: .98; }
.modal__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 22px; }
.modal__facts b { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 20px; letter-spacing: -.03em; }
.modal__body h4 { font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 13px; letter-spacing: -.01em; text-transform: uppercase; margin: 22px 0 4px; }
.modal__body p { margin: 0; font-size: 14.5px; line-height: 1.45; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 10px; border-top: 1px solid #e3e4e7; }
.specs div { padding: 9px 0; border-bottom: 1px solid #e3e4e7; font-size: 13.5px; display: flex; justify-content: space-between; gap: 10px; padding-right: 14px; }
.specs div:nth-child(even) { padding-left: 14px; padding-right: 0; border-left: 1px solid #e3e4e7; }
.specs span { color: var(--muted); }
.included { list-style: none; margin: 8px 0 26px; padding: 0; }
.included li { margin-bottom: 12px; opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .7s var(--ease); }
.modal.is-open .included li { opacity: 1; transform: none; }
.included li:nth-child(1) { transition-delay: .25s; } .included li:nth-child(2) { transition-delay: .4s; }
.included li:nth-child(3) { transition-delay: .55s; } .included li:nth-child(4) { transition-delay: .7s; }
.included b { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.included b::before { content: ""; width: 6px; height: 6px; background: var(--ink); }
.included span { display: block; font-size: 13.5px; color: #333; margin-top: 2px; }

/* booking form (inside modal) */
.form { display: grid; gap: 14px; margin-top: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--paper);
  border: 1px solid #c9cacd; border-radius: 0; padding: 12px 14px; width: 100%;
  transition: border-color .3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__note { font-size: 13px; color: var(--muted); margin: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.modal__panel--form { grid-template-columns: 1fr 1.1fr; }

/* ==========================================================================
   Why ISMO (home) – reuses grid4 + card styling
   ========================================================================== */
.why { padding: clamp(90px, 10vw, 150px) 0 0; }
.why .cat-intro { padding-top: 0; }
.why .card { cursor: default; min-height: 200px; }
.why .card__num { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 13px; color: var(--red); margin-bottom: 26px; }

/* ==========================================================================
   Process strip
   ========================================================================== */
.process { background: var(--ink); color: #fff; padding: clamp(80px, 9vw, 130px) 0; overflow: hidden; }
.process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(36px, 4vw, 60px); flex-wrap: wrap; }
.process__head p { max-width: 380px; margin: 0; color: #c9cacd; font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.25); }
.step { padding: 26px clamp(10px, 1.6vw, 24px) 0 0; position: relative; }
.step + .step { padding-left: clamp(10px, 1.6vw, 24px); border-left: 1px solid rgba(255,255,255,.25); }
.step__n { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(44px, 5vw, 72px); letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.7); }
.step h3 { margin: 22px 0 8px; }
.step p { margin: 0; font-size: 14px; color: #c9cacd; line-height: 1.5; max-width: 280px; }

/* ==========================================================================
   Visit / contact
   ========================================================================== */
.visit { padding: clamp(90px, 10vw, 150px) 0; }
.visit__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 3vw, 48px); margin-top: clamp(36px, 4vw, 56px); }
.visit__img { position: relative; min-height: 420px; overflow: hidden; }
.visit__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit__info { display: grid; gap: 0; align-content: start; }
.info-row { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid #d7d8db; }
.info-row:last-of-type { border-bottom: 1px solid #d7d8db; }
.info-row dt { font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.info-row dd { margin: 0; font-size: 17px; line-height: 1.45; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 30px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--ink); color: #fff; padding-top: clamp(60px, 7vw, 100px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: clamp(50px, 6vw, 90px); }
.footer__top p { color: #a9abb1; font-size: 14px; max-width: 320px; margin: 16px 0 0; }
.footer h5 { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #8b8d93; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer ul a:hover { color: var(--red); }
.footer .wordmark { color: #fff; }
.footer .wordmark .ch > span { transform: none; animation: none; }
.footer__legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 18px 0 22px; font-size: 12px; color: #8b8d93; border-top: 1px solid rgba(255,255,255,.14); margin-top: clamp(10px, 1.4vw, 20px); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 140%);
  background: var(--ink); color: #fff; padding: 14px 22px; font-size: 14px; max-width: calc(100% - 32px);
  transition: transform .6s var(--ease);
}
.toast.is-shown { transform: translate(-50%, 0); }

/* Floating buttons: calculator above WhatsApp */
.fabs { position: fixed; right: clamp(16px, 2.4vw, 28px); bottom: clamp(16px, 2.4vw, 28px); z-index: 90; display: grid; gap: 12px; justify-items: center; }
.fab {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.22);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.fab--calc { background: var(--ink); width: 50px; height: 50px; }
.fab--calc svg { width: 24px; height: 24px; }
.fab--calc:hover { background: var(--red); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.wa-float { background: #25d366; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { box-shadow: 0 12px 28px rgba(0,0,0,.28); animation: wa-nudge .7s var(--ease) both; }
@keyframes wa-nudge {
  0% { transform: none; }
  20% { transform: translateY(-4px) rotate(-12deg) scale(1.06); }
  40% { transform: translateY(-4px) rotate(10deg) scale(1.06); }
  60% { transform: translateY(-4px) rotate(-6deg) scale(1.06); }
  80% { transform: translateY(-4px) rotate(3deg) scale(1.06); }
  100% { transform: translateY(-3px) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) { .wa-float:hover { animation: none; transform: translateY(-3px) scale(1.05); } }
.menu-open .fabs { display: none; }

/* Car calculator popup */
.modal__panel--calc { grid-template-columns: 1fr; width: min(880px, 100%); }
.ccalc .modal__title { margin-top: 0; }
.ccalc__tabs { margin-bottom: 22px; }
.ccalc__pane { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(18px, 2.6vw, 30px); }
.ccalc__pane[hidden], .ccalc [hidden] { display: none; }
.ccalc .calc__inputs { gap: 16px; }
.ccalc .seg span { font-size: 13px; padding: 0 8px; text-align: center; line-height: 1.15; }
.ccalc .seg input:disabled + span { color: #b5b6ba; cursor: not-allowed; }
.ccalc .calc__out { align-self: start; position: sticky; top: 0; }
.ccalc__check { display: flex; align-items: center; gap: 10px; font-size: 14px; align-self: end; padding-bottom: 12px; cursor: pointer; }
.ccalc__check input { width: 18px; height: 18px; accent-color: var(--ink); }
@media (max-width: 760px) { .ccalc__pane { grid-template-columns: 1fr; } .ccalc .calc__out { position: static; } }

/* ==========================================================================
   About page
   ========================================================================== */
.band { position: relative; height: clamp(320px, 42vw, 620px); overflow: hidden; background: #111; color: #fff; }
.band img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 45%); }
.band__cap { position: absolute; left: clamp(16px, 2.4vw, 32px); right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.2vw, 30px); z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.band__cap p { margin: 0; font-size: 14px; max-width: 340px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(24px, 3vw, 40px) clamp(14px, 2vw, 28px); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__n { font-family: var(--display); font-stretch: 125%; font-weight: 800; letter-spacing: -.05em; line-height: .9; font-size: clamp(48px, 6.4vw, 96px); }
.stat__n em { font-style: normal; color: var(--red); }
.roll { display: inline-flex; }
.roll__col { display: inline-block; height: 1em; line-height: 1; overflow: hidden; }
.roll__stack { display: flex; flex-direction: column; transform: translateY(0); transition: transform 1.9s cubic-bezier(.2, .75, .15, 1); transition-delay: calc(var(--i) * .16s + .1s); }
.roll__stack span { height: 1em; display: block; text-align: center; }
.is-rolled .roll__stack { transform: translateY(calc(var(--to) * -1em)); }
.stat__n em { display: inline-block; opacity: 0; transform: scale(.4) rotate(-90deg); transition: opacity .5s ease 1.6s, transform .7s cubic-bezier(.3, 1.6, .5, 1) 1.6s; }
.stat__n.is-rolled em { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .roll__stack { transform: translateY(calc(var(--to) * -1em)); } .stat__n em { opacity: 1; transform: none; } }
.stat p { margin: 12px 0 0; font-size: 15px; color: #262628; max-width: 260px; }

/* CTA band (home + about) */
.cta { background: var(--mist); padding: clamp(80px, 9vw, 140px) 0; text-align: center; }
.cta p { max-width: 440px; margin: 22px auto 34px; font-size: 15px; color: #262628; }
.cta__row { display: flex; justify-content: center; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.cta__follow { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: clamp(36px, 4vw, 56px); }
.cta__follow .socials { justify-content: center; }
.cta--follow { padding-bottom: clamp(36px, 4vw, 56px); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 90px); padding-bottom: clamp(70px, 8vw, 120px); }
.contact__side .display { margin-bottom: 26px; }
.contact__side .visit__cta { margin-top: 26px; }
.contact__form { border: 1px solid var(--line); padding: clamp(20px, 3vw, 40px); align-self: start; }
.contact__form .h-md { margin-bottom: 8px; }
.contact__form > p { margin: 0; font-size: 15px; color: #262628; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { border: 1px solid var(--line); padding: 8px 16px; font-size: 13px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; transition: background .35s var(--ease), color .35s var(--ease); }
.socials a:hover { background: var(--ink); color: #fff; }
.socials a[aria-label] { width: 46px; height: 46px; padding: 0; border-radius: 50%; display: grid; place-items: center; }
.socials a svg { width: 21px; height: 21px; }
.socials a.socials__facebook:hover { background: #0866ff; border-color: #0866ff; }
.socials a.socials__instagram:hover { background: #e4405f; border-color: #e4405f; }
.socials a.socials__tiktok:hover { background: #000; border-color: #000; }

.map { position: relative; height: clamp(320px, 38vw, 520px); background: var(--mist); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); transition: filter .6s ease; }
.map:hover iframe { filter: none; }

.faq { padding: clamp(70px, 8vw, 120px) 0 clamp(90px, 10vw, 150px); }
.faq .cat-intro { padding: 0; align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--display); font-stretch: 115%; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(16px, 1.4vw, 19px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 2px 100% no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 22px; font-size: 15px; line-height: 1.5; color: #262628; max-width: 560px; }

@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
}

/* ==========================================================================
   Delivery page
   ========================================================================== */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: clamp(30px, 3.4vw, 48px); }
.pill { border: 1px solid var(--line); height: 40px; padding: 0 18px; font-size: 13px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; transition: background .35s var(--ease), color .35s var(--ease); }
.pill span { font-size: 11px; color: var(--muted); transition: color .35s var(--ease); }
.pill:hover, .pill[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pill:hover span, .pill[aria-pressed="true"] span { color: #bbb; }

.dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); grid-auto-flow: row dense; padding-bottom: clamp(90px, 10vw, 150px); }
.dcard { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #222; color: #fff; text-align: left; animation: cardIn .8s var(--ease) both; }
.dcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,0) 42%); transition: background .5s ease; }
.dcard:hover img, .dcard:focus-visible img { transform: scale(1.05); }
.dcard__meta { position: absolute; z-index: 2; left: clamp(14px, 1.6vw, 22px); right: clamp(14px, 1.6vw, 22px); bottom: clamp(14px, 1.6vw, 22px); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.dcard__meta small { display: block; font-size: 13px; opacity: .85; margin-top: 4px; }
.dcard .ico { transition: transform .6s var(--ease); }
.dcard:hover .ico { transform: rotate(90deg); }
.dcard--feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.dcard--feature .h-sm { font-size: clamp(20px, 2vw, 28px); }
.dframe { display: flex; align-items: center; justify-content: center; text-align: center; aspect-ratio: 4 / 5; font-size: 15px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4; }
.dquote { font-family: var(--display); font-stretch: 110%; font-weight: 600; font-size: clamp(18px, 1.6vw, 22px) !important; letter-spacing: -.02em; line-height: 1.3 !important; margin: 4px 0 6px !important; }
.dshare { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(24px, 3vw, 36px) 0; margin-bottom: clamp(60px, 7vw, 100px); }
.dshare p { margin: 0; max-width: 520px; font-size: 15px; color: #262628; }

@media (max-width: 860px) {
  .dgrid { grid-template-columns: 1fr 1fr; }
  .dframe { display: none; }
}
@media (max-width: 560px) {
  .dgrid { grid-template-columns: 1fr; }
  .dcard--feature { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; }
}

/* ==========================================================================
   Drive — two MINIs meet as you scroll (home)
   ========================================================================== */
.drive { position: relative; height: 210vh; }
.statement:has(+ .drive) { padding-bottom: 0; }
.drive__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: auto auto; align-content: start; padding: 76px 0 60px;
}
.drive__head { text-align: center; padding-top: clamp(22px, 3.4vh, 40px); }
.drive__head .eyebrow { color: var(--muted); margin: 0 0 14px; }
.drive__title { font-size: clamp(32px, 5.4vw, 84px); }
.drive__title .line { display: block; overflow: hidden; padding: .02em 0 .04em; }
.drive__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.drive__title.is-in .line > span { transform: none; }

.drive__road {
  --w: min(38vw, 540px);
  --road: 0%;
  position: relative; height: calc(var(--w) * .6);
}
.drive__road::after {          /* the road line */
  content: ""; position: absolute; left: 0; right: 0; bottom: var(--road); height: 1px; background: var(--line); opacity: .9;
}
.car { position: absolute; left: 0; will-change: transform; z-index: 1; }
/* width normalised so both cars share the same wheelbase; bottom aligns tyre contact to the road */
.car--jcw { width: var(--w); bottom: calc(var(--road) - var(--w) * .0619); }
.car--gp  { width: calc(var(--w) * 1.0627); bottom: calc(var(--road) - var(--w) * 1.0627 * .142); }
.car--jcw .car__inner { transform: scaleX(-1); }
.car__inner { position: relative; }
.car__body { width: 100%; height: auto; display: block; }
.car__wheel { position: absolute; height: auto; aspect-ratio: 1; will-change: transform; }

.drive__foot { display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* All vehicles line-up (home) */
.lineup { padding: 0 0 clamp(80px, 9vw, 130px); overflow: hidden; }
.lineup__text { text-align: center; max-width: 1000px; margin: 0 auto; }
.lineup__text .eyebrow { color: var(--red); margin: 0 0 14px; }
.lineup__text .display .line { display: block; overflow: hidden; padding: .02em 0 .04em; }
.lineup__text .display .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.lineup__text .display.is-in .line > span { transform: none; }
.lineup__text .display .line:nth-child(2) > span { transition-delay: .09s; }
.lineup__lede { max-width: 560px; margin: 20px auto 0; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.5; color: #262628; }
.lineup__img { display: block; margin: clamp(30px, 4vw, 56px) auto 0; max-width: 1320px; }
.lineup__img img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.lineup__img:hover img { transform: scale(1.02); }
.lineup__img.rv { transform: translateX(8%); opacity: 0; transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.lineup__img.rv.is-in { transform: none; opacity: 1; }
.lineup__cta { text-align: center; margin-top: clamp(26px, 3vw, 40px); }
@media (max-width: 860px) { .lineup__img { margin-left: -8%; margin-right: -8%; } }
/* Running luxury-brand logos under the line-up image */
.marques {
  position: relative; overflow: hidden; max-width: 1320px; margin: clamp(22px, 3vw, 40px) auto 0;
  padding: clamp(14px, 1.6vw, 20px) 0; border-top: 1px solid #e3e4e7; border-bottom: 1px solid #e3e4e7;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marques__track { display: flex; gap: clamp(40px, 5vw, 72px); width: max-content; list-style: none; margin: 0; padding: 0 clamp(20px, 2.5vw, 36px); will-change: transform; }
.marques__item { display: flex; align-items: center; gap: 12px; flex: none; }
.marques__item img { height: clamp(30px, 3vw, 40px); width: auto; opacity: .45; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.marques__item:hover img { opacity: 1; transform: scale(1.15) rotate(-4deg); }
.marques.is-still { overflow-x: auto; scrollbar-width: none; }
/* MINI trio */
.trio { padding: 0 0 clamp(70px, 9vw, 130px); position: relative; z-index: 1; }
.trio__img { display: block; max-width: 1100px; margin: 0 auto; }
.trio__img img { width: 100%; height: auto; }
.trio__img.rv { transform: translateY(40px) scale(.96); transition: opacity 1s var(--ease), transform 1.3s var(--ease); }
.trio__img.rv.is-in { transform: none; }
.trio__img--minis { margin: 0 auto 28px; }
.trio__text { text-align: center; max-width: 1080px; margin: clamp(34px, 4vw, 56px) auto 0; }
.trio__text .eyebrow { color: var(--red); margin: 0 0 14px; }
.trio__text .display .line { display: block; overflow: hidden; padding: .02em 0 .04em; }
.trio__text .display .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.trio__text .display.is-in .line > span { transform: none; }
.trio__text .display .line:nth-child(2) > span { transition-delay: .09s; }
.trio__text .display .line:nth-child(3) > span { transition-delay: .18s; }
.trio__lede { max-width: 600px; margin: 20px auto 22px; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.5; color: #262628; }
@media (min-width: 861px) { .trio__text .display .line { white-space: nowrap; } .trio__text .display { font-size: clamp(34px, 4.6vw, 64px); } }
/* Latest TikTok videos above the source-to-order section */
.tiktok { padding: 0 0 clamp(36px, 4vw, 56px); position: relative; z-index: 1; text-align: center; }
.reviews:not([hidden]) + .tiktok { padding-top: clamp(70px, 9vw, 130px); }
.tiktok .eyebrow { color: var(--red); margin: 0 0 14px; }
.tiktok .display { margin-bottom: clamp(26px, 3vw, 44px); }
.tiktok .display .line { display: block; overflow: hidden; padding: .02em 0 .04em; }
.tiktok .display .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.tiktok .display.is-in .line > span { transform: none; }
.tiktok .display .line:nth-child(2) > span { transition-delay: .09s; }
.tiktok__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); max-width: 960px; margin: 0 auto clamp(22px, 2.6vw, 34px); }
.tiktok__socials { justify-content: center; margin-top: clamp(20px, 2.4vw, 30px); }
.tiktok__grid iframe { width: 100%; aspect-ratio: 9 / 16; border: 0; background: var(--ink); display: block; }
@media (max-width: 700px) {
  .tiktok__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 66vw; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: none; }
  .tiktok__grid iframe { scroll-snap-align: center; }
}
.trio__specs { list-style: none; padding: 0; margin: 0 auto 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.trio__specs li { border: 1px solid var(--line); padding: 7px 14px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; transition: background .3s var(--ease), color .3s var(--ease); }
.trio__specs li:hover { background: var(--ink); color: #fff; }
.trio__foot { margin-top: clamp(24px, 3vw, 40px); padding-top: 16px; border-top: 1px solid #e3e4e7; }

@media (max-width: 860px) {
  .drive { height: 200vh; }
  .drive__road { --w: 44vw; --road: 0%; }
  .drive__title { font-size: clamp(30px, 9vw, 48px); }
}
@media (prefers-reduced-motion: reduce) {
  .drive { height: auto; }
  .drive__stage { position: relative; height: auto; min-height: 80vh; }
}

/* ==========================================================================
   Marketplace — listings (stock.html) & car detail (car.html)
   ========================================================================== */
.market { background: #f6f6f7; padding-bottom: clamp(70px, 8vw, 120px); }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); padding: 22px 0 0; }
.crumbs svg { width: 12px; height: 12px; opacity: .6; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); }

.market__head { padding-bottom: 22px; }
.market--stock { background: var(--paper); padding-bottom: 0; }
.market__body { background: #f6f6f7; padding: 36px 0 clamp(70px, 8vw, 120px); }
.market__title { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 40px; flex-wrap: wrap; margin: 22px 0 26px; }
.market__title p { margin: 0; color: var(--muted); font-size: 15px; max-width: 420px; }

.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; height: 42px; padding: 0 18px; border: 1px solid #d5d6da; background: #fff; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: border-color .25s, background .25s, color .25s; }
.tabs button span { font-size: 12px; color: var(--muted); }
.tabs button:hover { border-color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabs button[aria-selected="true"] span { color: #bbb; }

.mk { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.fp-scrim { display: none; }
.market__title .display { font-size: clamp(32px, 4.2vw, 60px); }

/* filter panel */
.fp { background: #fff; border: 1px solid #e3e4e7; position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; scrollbar-width: thin; }
.fp__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid #ececef; position: sticky; top: 0; background: #fff; z-index: 2; }
.fp__head h2 { font-family: var(--display); font-stretch: 115%; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; font-size: 16px; margin: 0 auto 0 0; }
.fp__reset { font-size: 13px; color: var(--red); font-weight: 500; }
.fp__reset:hover { text-decoration: underline; }
.fp__close { display: none; width: 34px; height: 34px; place-items: center; }
.fp__close svg { width: 16px; height: 16px; }
.fp__group { padding: 16px 20px; border-bottom: 1px solid #ececef; }
.fp__label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; list-style: none; margin-bottom: 0; }
.fp__label::-webkit-details-marker { display: none; }
details.fp__group > summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-2px); transition: transform .3s; }
details.fp__group[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
details.fp__group[open] > summary { margin-bottom: 12px; }
div.fp__group > .fp__label { margin-bottom: 10px; cursor: default; }
.fp__search input, .fp__pair select, .fp__full, .toolbar select {
  width: 100%; height: 42px; border: 1px solid #d5d6da; background: #fff; padding: 0 12px; font: inherit; font-size: 14px; color: var(--ink); border-radius: 0;
}
.fp__search input { padding-left: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='5.5' fill='none' stroke='%235d6068' stroke-width='1.6'/%3E%3Cpath d='M13 13l4.5 4.5' stroke='%235d6068' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") 12px 50% / 16px no-repeat; }
.fp input:focus, .fp select:focus, .toolbar select:focus { outline: none; border-color: var(--ink); }
.fp__pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; color: var(--muted); }
.fp__checks { display: grid; gap: 2px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14.5px; }
.check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1.5px solid #b9bbc0; flex: none; margin: 0; display: grid; place-items: center; transition: background .2s, border-color .2s; cursor: pointer; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.check input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.check span { flex: 1; }
.check em { font-style: normal; font-size: 12px; color: var(--muted); background: #f1f2f4; padding: 1px 8px; border-radius: 10px; }
.check--switch input { border-radius: 10px; width: 34px; height: 20px; position: relative; display: block; }
.check--switch input::before { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #b9bbc0; transition: transform .25s var(--ease), background .25s; }
.check--switch input:checked::before { transform: translateX(14px); background: #fff; }
.check--switch input:checked::after { display: none; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid #d5d6da; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; height: 40px; font-size: 13.5px; transition: background .2s, color .2s; }
.seg label + label span { border-left: 1px solid #d5d6da; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: -2px; }
.fp__apply { display: none; }

/* toolbar */
.toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar__count { font-size: 15px; margin-right: auto; }
.toolbar__count b { font-family: var(--display); font-stretch: 115%; font-size: 18px; }
.toolbar__filters { display: none; }
.toolbar__sort { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.toolbar__sort select { width: auto; min-width: 200px; height: 40px; color: var(--ink); }
.vtoggle { display: flex; border: 1px solid #d5d6da; background: #fff; }
.vtoggle button { width: 40px; height: 38px; display: grid; place-items: center; color: var(--muted); }
.vtoggle button + button { border-left: 1px solid #d5d6da; }
.vtoggle button svg { width: 18px; height: 18px; }
.vtoggle button[aria-pressed="true"] { color: #fff; background: var(--ink); }
.btn--line { background: #fff; color: var(--ink); }
.btn--line:hover { color: #fff; }
.badge { min-width: 20px; height: 20px; border-radius: 10px; background: var(--red); color: #fff; font-size: 11px; display: inline-grid; place-items: center; padding: 0 6px; }
.badge[hidden] { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips[hidden] { display: none; }
.fchip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 14px; background: #fff; border: 1px solid #d5d6da; font-size: 13px; transition: border-color .2s; }
.fchip svg { width: 12px; height: 12px; }
.fchip:hover { border-color: var(--ink); }
.fchip--clear { border: 0; background: none; color: var(--red); text-decoration: underline; text-underline-offset: 3px; padding: 0 6px; }

/* results */
.results { display: grid; gap: 18px; }
.results--grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.results--list { grid-template-columns: 1fr; }
.lcard { position: relative; background: #fff; border: 1px solid #e3e4e7; display: flex; flex-direction: column; transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; animation: cardIn .6s var(--ease) both; }
.lcard:hover { box-shadow: 0 14px 34px -12px rgba(0,0,0,.18); transform: translateY(-2px); border-color: #d5d6da; }
.lcard__media { position: relative; display: block; aspect-ratio: 16 / 10.5; overflow: hidden; background: #e9eaec; }
.lcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.lcard:hover .lcard__media img { transform: scale(1.04); }
.lcard__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.tag { height: 24px; padding: 0 9px; display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: #fff; }
.tag--red { background: var(--red); }
.tag--amber { background: #f5a524; color: #1a1300; }
.lcard__count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; background: rgba(0,0,0,.62); color: #fff; font-size: 12px; font-weight: 500; }
.lcard__count svg { width: 14px; height: 14px; }
.stockno { position: absolute; top: 10px; right: 10px; z-index: 3; display: inline-flex; flex-direction: column; align-items: flex-end; padding: 5px 9px 6px; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.12); font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 13px; letter-spacing: -.01em; line-height: 1.05; pointer-events: none; }
.stockno small { font-family: var(--body); font-stretch: 100%; font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.stockno--inline { position: static; box-shadow: none; background: #f1f2f4; pointer-events: auto; flex: none; }
.panel__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.panel__actions .icon-btn { width: 100%; }
.lcard__body { padding: 16px 18px 0; display: flex; flex-direction: column; flex: 1; }
.lcard__kicker { font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.lcard__title { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 18px; letter-spacing: -.02em; line-height: 1.15; margin: 6px 0 2px; text-transform: uppercase; }
.lcard__title a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.lcard__variant { font-size: 14px; color: #3a3b40; }
.lcard__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 14px 0 14px; }
.lcard__price b { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.lcard__price span { font-size: 13px; color: var(--muted); }
.specs-row { list-style: none; margin: 0; padding: 12px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 12px; border-top: 1px solid #ececef; font-size: 13.5px; color: #2b2c30; }
.specs-row li { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; }
.specs-row svg { width: 17px; height: 17px; flex: none; color: var(--muted); }
.lcard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0 14px; border-top: 1px solid #ececef; font-size: 13px; color: var(--muted); }
.lcard__foot > span { display: inline-flex; align-items: center; gap: 5px; }
.lcard__foot svg { width: 15px; height: 15px; }
.lcard__more { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 600; }
.lcard__more svg { transition: transform .3s var(--ease); }
.lcard:hover .lcard__more svg { transform: translateX(3px); }

/* list view */
.results--list .lcard { flex-direction: row; }
.results--list .lcard__media { width: 38%; flex: none; aspect-ratio: auto; min-height: 230px; }
.results--list .lcard__body { padding: 20px 24px 0; }
.results--list .specs-row { grid-template-columns: repeat(4, auto); justify-content: start; gap: 10px 26px; }
.results--list .lcard__title { font-size: 21px; }

.no-results { grid-column: 1 / -1; background: #fff; border: 1px solid #e3e4e7; padding: 56px 24px; text-align: center; }
.no-results p { color: var(--muted); max-width: 420px; margin: 10px auto 24px; }

.source-cta { margin-top: 28px; background: var(--ink); color: #fff; padding: clamp(22px, 3vw, 34px); display: flex; justify-content: space-between; align-items: center; gap: 18px 30px; flex-wrap: wrap; }
.source-cta p { margin: 8px 0 0; color: #c9cacd; font-size: 15px; max-width: 520px; }
.source-cta .btn { background: #fff; color: var(--ink); border-color: #fff; }
.source-cta .btn:hover { color: #fff; border-color: var(--red); }

/* ---------- Car detail ---------- */
.cd { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; margin-top: 18px; }
.gallery { background: #fff; border: 1px solid #e3e4e7; padding: 10px; }
.gallery__stage { position: relative; aspect-ratio: 16 / 10; background: #e9eaec; overflow: hidden; }
.gallery__stage img { width: 100%; height: 100%; object-fit: cover; animation: fadeImg .45s ease; }
@keyframes fadeImg { from { opacity: .35; } }
.gallery__nav { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.15); transition: transform .25s var(--ease); }
.gallery__nav svg { width: 18px; height: 18px; }
.gallery__nav--prev { right: auto; left: 14px; }
.gallery__nav--prev svg { transform: scaleX(-1); }
.gallery__nav:hover { transform: translateY(-50%) scale(1.07); }
.gallery__count { position: absolute; right: 14px; bottom: 14px; background: rgba(0,0,0,.62); color: #fff; font-size: 13px; padding: 4px 10px; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery__thumbs button { width: 110px; flex: none; aspect-ratio: 16 / 10; opacity: .55; outline: 2px solid transparent; outline-offset: -2px; transition: opacity .2s, outline-color .2s; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button[aria-current="true"], .gallery__thumbs button:hover { opacity: 1; outline-color: var(--ink); }

.cd__block { background: #fff; border: 1px solid #e3e4e7; padding: clamp(20px, 2.4vw, 30px); margin-top: 18px; }
.cd__h { font-family: var(--display); font-stretch: 115%; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; font-size: 18px; margin: 0 0 18px; }
.cd__lead { font-size: 17px; line-height: 1.5; margin: 0 0 12px !important; }
.cd__block p { margin: 0; color: #2b2c30; }
.keyspecs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #ececef; border: 1px solid #ececef; }
.keyspecs > div { background: #fff; padding: 16px; display: grid; gap: 2px; }
.keyspecs svg { width: 22px; height: 22px; color: var(--red); margin-bottom: 8px; }
.keyspecs span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.keyspecs b { font-size: 15px; font-weight: 600; }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin: 0; }
.spec-table div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid #ececef; font-size: 14.5px; }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; font-weight: 500; text-align: right; }
.included--static { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.included--static li { opacity: 1; transform: none; }

.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.calc__inputs { display: grid; gap: 22px; align-content: start; }
.calc__row label { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.calc__row label b { color: var(--ink); font-weight: 600; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: linear-gradient(var(--ink), var(--ink)) 0 / var(--fill, 50%) 100% no-repeat, #dcdde0; outline: none; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.calc input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: pointer; }
.calc input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(227,33,43,.3); }
.calc__out { background: #f6f6f7; padding: 22px; display: grid; gap: 4px; align-content: start; }
.calc__out > span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.calc__out > b { font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: 34px; letter-spacing: -.03em; }
.calc__out dl { margin: 12px 0; }
.calc__out dl div { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid #e3e4e7; font-size: 14px; }
.calc__out dt { color: var(--muted); }
.calc__out dd { margin: 0; font-weight: 500; }
.calc__out small { font-size: 12px; color: var(--muted); line-height: 1.4; }

.cd__side { position: sticky; top: 84px; display: grid; gap: 18px; }
.panel { background: #fff; border: 1px solid #e3e4e7; padding: 24px; }
.cd__title { font-family: var(--display); font-stretch: 115%; font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; font-size: 28px; line-height: 1; margin: 8px 0 6px; }
.panel__price { font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: 34px; letter-spacing: -.03em; margin-top: 18px; }
.panel__monthly { font-size: 14px; color: var(--muted); }
.panel__monthly b { color: var(--ink); }
.panel__monthly:hover { text-decoration: underline; text-underline-offset: 3px; }
.specs-row--panel { margin-top: 16px; border-bottom: 1px solid #ececef; }
.panel__actions { display: grid; gap: 10px; margin-top: 18px; }
.panel__actions .btn { width: 100%; height: 50px; }
.icon-btn { height: 44px; border: 1px solid #d5d6da; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 500; transition: border-color .2s; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { border-color: var(--ink); }
.dealer { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid #ececef; }
.dealer b { display: block; font-size: 15px; }
.dealer span { font-size: 13px; color: var(--muted); }
.dealer__list { list-style: none; padding: 0; margin: 14px 0 16px; display: grid; gap: 10px; font-size: 14px; }
.dealer__list li { display: flex; gap: 10px; }
.dealer__list svg { width: 18px; height: 18px; flex: none; color: var(--red); margin-top: 1px; }

.similar { margin-top: clamp(50px, 6vw, 80px); }
.similar__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .mk { grid-template-columns: 1fr; }
  .fp { position: fixed; inset: 0 auto 0 0; top: 0; width: min(380px, 92vw); max-height: none; height: 100%; z-index: 120; transform: translateX(-102%); transition: transform .5s var(--ease-in-out); border: 0; display: flex; flex-direction: column; }
  .fp-scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 110; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .filters-open .fp { transform: none; }
  .filters-open .fp-scrim { opacity: 1; visibility: visible; }
  .fp__close { display: grid; }
  .fp__apply { display: block; position: sticky; bottom: 0; margin-top: auto; padding: 14px 20px; background: #fff; border-top: 1px solid #ececef; }
  .fp__apply .btn { width: 100%; }
  .toolbar__filters { display: inline-flex; }
  .cd { grid-template-columns: 1fr; }
  .cd__side { position: static; order: 2; }
  .cd__main { display: contents; }
  .cd .gallery { order: 1; }
  .cd__block { order: 3; margin-top: 0; }
  .cd { gap: 18px; }
}
@media (max-width: 860px) {
  .keyspecs { grid-template-columns: repeat(2, 1fr); }
  .spec-table, .included--static, .calc { grid-template-columns: 1fr; }
  .results--list .lcard { flex-direction: column; }
  .results--list .lcard__media { width: 100%; aspect-ratio: 16 / 10.5; min-height: 0; }
  .results--list .specs-row { grid-template-columns: repeat(2, 1fr); }
  .toolbar__sort span { display: none; }
  .toolbar__sort select { min-width: 0; }
  .vtoggle { display: none; }
}
@media (max-width: 560px) {
  .toolbar__count { width: 100%; }
  .toolbar__sort { flex: 1; }
  .toolbar__sort select { width: 100%; }
  .results--grid { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
}

/* ==========================================================================
   Import countries (About)
   ========================================================================== */
.origins { padding: clamp(80px, 9vw, 130px) 0 0; }
.origins__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.origin { border: 1px solid #c9cacd; background: var(--paper); display: flex; flex-direction: column; transition: background .45s var(--ease), border-color .45s var(--ease); }
.origin:hover { background: var(--mist); border-color: #b9bbc0; }
.origin__flag { padding: clamp(22px, 2.6vw, 34px); border-bottom: 1px solid #e3e4e7; display: grid; place-items: center; background: var(--mist); overflow: hidden; }
.flag { display: block; width: min(100%, 240px); aspect-ratio: 3 / 2; height: auto; box-shadow: 0 10px 26px -12px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.08); transform: perspective(600px) rotateY(-8deg) rotateX(2deg); transition: transform .8s var(--ease); }
.flag--wide { aspect-ratio: 2 / 1; width: min(100%, 270px); }
.origin__flag { min-height: clamp(180px, 16vw, 230px); }
.origin:hover .flag { transform: perspective(600px) rotateY(0) rotateX(0) scale(1.04); }
.origin__b { padding: clamp(18px, 1.8vw, 24px); }
.origin__n { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 13px; color: var(--red); margin-bottom: 18px; }
.origin__b p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.45; color: #262628; }
@media (max-width: 860px) { .origins__grid { grid-template-columns: 1fr; } .origin { flex-direction: row; } .origin__flag { border-bottom: 0; border-right: 1px solid #e3e4e7; width: 42%; flex: none; } }
@media (max-width: 480px) { .origin { flex-direction: column; } .origin__flag { width: auto; border-right: 0; border-bottom: 1px solid #e3e4e7; } }

/* ==========================================================================
   Reviews (home)
   ========================================================================== */
.reviews { padding: clamp(80px, 9vw, 130px) 0; background: var(--mist); }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.4vw, 48px); }
.reviews__head .eyebrow { color: var(--red); margin: 0 0 14px; }
.reviews .display .line { display: block; overflow: hidden; padding: .02em 0 .04em; }
.reviews .display .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.reviews .display.is-in .line > span { transform: none; }
.reviews .display .line:nth-child(2) > span { transition-delay: .09s; }
.reviews__summary { display: flex; align-items: center; gap: 16px; background: var(--paper); border: 1px solid #d9dadd; padding: 14px 20px; }
.reviews__summary:empty { display: none; }
.reviews__score { font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: 40px; letter-spacing: -.04em; line-height: 1; }
.reviews__summary small { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.reviews__summary a { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.stars { display: inline-flex; gap: 2px; color: #f5a524; }
.stars svg { width: 16px; height: 16px; }
.stars .off { color: #d5d6da; }

.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.reviews__track::-webkit-scrollbar { display: none; }
.reviews__track:focus-visible { outline-offset: 6px; }
.rcard { scroll-snap-align: start; background: var(--paper); border: 1px solid #d9dadd; padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 16px; min-height: 260px; }
.rcard__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rcard__src { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rcard blockquote { margin: 0; font-size: clamp(15.5px, 1.3vw, 17.5px); line-height: 1.5; color: #1d1d1f; flex: 1; }
.rcard blockquote::before { content: "“"; display: block; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: .6; color: var(--red); margin-bottom: 10px; }
.rcard__who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #ececef; }
.rcard__av { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; text-transform: uppercase; }
.rcard__who b { display: block; font-size: 15px; }
.rcard__who span { font-size: 13px; color: var(--muted); }
.reviews__nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
.reviews__nav[hidden] { display: none; }
.rnav { width: 46px; height: 46px; border: 1px solid var(--line); display: grid; place-items: center; background: var(--paper); transition: background .3s var(--ease), color .3s var(--ease); }
.rnav svg { width: 18px; height: 18px; }
.rnav:hover:not(:disabled) { background: var(--ink); color: #fff; }
.rnav:disabled { opacity: .35; cursor: default; }

/* ==========================================================================
   Source to order (home)
   ========================================================================== */
.source { background: var(--ink); color: #fff; padding: clamp(80px, 9vw, 130px) 0; }
.source__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.source .eyebrow { color: var(--red); margin: 0 0 14px; }
.source .display .line { display: block; overflow: hidden; padding: .02em 0 .04em; }
.source .display .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.source .display.is-in .line > span { transform: none; }
.source .display .line:nth-child(2) > span { transition-delay: .09s; }
.source .h-lg { font-size: clamp(32px, 3.7vw, 60px); }
.source__lede { margin: 22px 0 30px; max-width: 480px; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.5; color: #c9cacd; }
.source__steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; border-top: 1px solid rgba(255,255,255,.18); }
.source__steps li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.source__steps b { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 13px; color: var(--red); padding-top: 2px; }
.source__steps strong { display: block; font-size: 16px; margin-bottom: 2px; }
.source__steps span { color: #a9abb1; font-size: 14.5px; }
.source__flags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.source__flags li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #dcdde0; }
.mflag { display: block; height: 22px; width: auto; aspect-ratio: 3 / 2; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.mflag--wide { aspect-ratio: 2 / 1; }

.source__form { background: var(--paper); color: var(--ink); padding: clamp(22px, 3vw, 40px); display: grid; gap: 14px; }
.source__form .h-sm { font-size: clamp(20px, 1.8vw, 26px); }
.source__note { margin: -6px 0 6px; font-size: 14px; color: var(--muted); }
.source__form .field label span { color: var(--red); }
.source__form .btn { width: 100%; height: 52px; margin-top: 6px; }
.btn--red { background: var(--red); border-color: var(--red); }
.btn--red::before { background: var(--ink); }
.btn--red:hover { border-color: var(--ink); }
.source__done { text-align: center; padding: 30px 10px; }
.source__done svg { width: 54px; height: 54px; color: #1faa59; margin: 0 auto 16px; }
.source__done p { color: var(--muted); margin: 10px auto 22px; max-width: 360px; }

@media (max-width: 1080px) {
  .reviews__track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 860px) {
  .source__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .reviews__track { grid-auto-columns: 86%; gap: 12px; }
  .source__form .form__row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .source__form .field select { padding-left: 10px; padding-right: 6px; }
  .reviews__summary { width: 100%; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid4 { grid-template-columns: repeat(3, 1fr); }
  .card--img { grid-column: span 2; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 860px) {
  .nav, .header .btn, .bar .btn { display: none; }
  .burger { display: block; }
  .tiles3 { grid-template-columns: 1fr; }
  .pcard { aspect-ratio: 4 / 3; }
  .filters { grid-template-columns: 1fr 1fr; }
  .cat-intro { grid-template-columns: 1fr; gap: 20px; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .card--img { grid-column: 1 / -1; grid-row: span 1; min-height: 0; aspect-ratio: 16 / 10; }
  .card--frame { display: none; }
  .modal__panel, .modal__panel--form { grid-template-columns: 1fr; }
  .modal__media { grid-template-columns: 1fr 1fr; gap: 10px; }
  .visit__grid { grid-template-columns: 1fr; }
  .visit__img { min-height: 280px; }
}
@media (max-width: 560px) {
  .grid4 { grid-template-columns: 1fr; }
  .ftile .h-sm { font-size: 13.5px; }
  .ftile__row { align-items: flex-end; }
  .ftile .ico { width: 14px; height: 14px; }
  .card { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; padding-left: 0; }
  .form__row { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .footer__top { grid-template-columns: 1fr; }
  .chip__label { display: none; }
  .chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rv, .statement__text .line > span, .wordmark .ch > span { opacity: 1; transform: none; }
}
