/* =========================================================
   ROVENZA — styles
   ========================================================= */
:root {
  --bg: #000;
  --bg-2: #0d0d0d;
  --card: #161616;
  --line: rgba(255, 255, 255, .16);
  --text: #fff;
  --muted: rgba(255, 255, 255, .62);
  --cream: #f2e3c3;
  --display: "Saira", "Rajdhani", sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --pad: clamp(16px, 3.8vw, 54px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(80px, 11vw, 160px); }

/* ---------- image fallbacks (shown until real images exist) ---------- */
[data-fallback] { background: #111; }
img.is-missing { opacity: 0 !important; }
[data-fallback="1"]  { background: radial-gradient(120% 80% at 70% 40%, #c7782e 0%, #3a3a3a 35%, #0b1520 75%); }
[data-fallback="2"]  { background: radial-gradient(90% 70% at 50% 55%, #6e1a14 0%, #1e2a33 45%, #070a0e 85%); }
[data-fallback="3"]  { background: radial-gradient(90% 70% at 50% 50%, #d5d5d5 0%, #555 40%, #0b0b0b 85%); }
[data-fallback="4"]  { background: linear-gradient(180deg, #d27a4a 0%, #4a3a36 45%, #121212 100%); }
[data-fallback="5"]  { background: radial-gradient(90% 70% at 30% 50%, #7b1010 0%, #33414c 45%, #0b1116 85%); }
[data-fallback="about"] { background: linear-gradient(180deg, #0a0d14 0%, #1c2230 60%, #3b2a22 100%); }
[data-fallback="car1"] { background: radial-gradient(80% 70% at 50% 70%, #1b4bbf 0%, #0a1230 55%, #03050c 100%); }
[data-fallback="car2"] { background: radial-gradient(80% 70% at 50% 60%, #1f4f8f 0%, #0c1626 55%, #04070c 100%); }
[data-fallback="car3"] { background: radial-gradient(80% 70% at 50% 65%, #49b21d 0%, #142a10 55%, #050805 100%); }
[data-fallback="car4"] { background: radial-gradient(80% 70% at 50% 65%, #d11a1a 0%, #3a0a0a 55%, #0b0505 100%); }
[data-fallback="road"] { background: linear-gradient(180deg, #8ea2ad 0%, #6c7f8a 40%, #2d3740 75%, #161b20 100%); }
[data-fallback="testi"] { background: linear-gradient(180deg, #050608 0%, #1a1416 45%, #6b3618 70%, #120c0a 100%); }
[data-fallback="cta"] { background: linear-gradient(110deg, #2a1a12 0%, #4a2f1e 40%, #1a2230 75%, #0b0f16 100%); }
[data-fallback^="post"] { background: linear-gradient(160deg, #6b4a36 0%, #2b3640 60%, #10151a 100%); }
[data-fallback="post2"] { background: linear-gradient(160deg, #3f7c8c 0%, #2a3c44 60%, #0f1517 100%); }
[data-fallback="post3"] { background: linear-gradient(160deg, #7a5326 0%, #3a2e22 60%, #121010 100%); }
[data-fallback="post4"] { background: linear-gradient(160deg, #3a3a4a 0%, #22242c 60%, #0b0b0f 100%); }

/* ---------- custom cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; background: #f1f1f1;
  pointer-events: none; mix-blend-mode: difference;
  transform: translate3d(-100px, -100px, 0) scale(1);
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s;
}
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- bracket corners (buttons / icon boxes) ---------- */
.btn, .bracket-box { position: relative; }
.btn::before, .btn::after, .bracket-box::before, .bracket-box::after,
.thumb::before, .thumb::after {
  content: ""; position: absolute; width: 9px; height: 9px;
  border: 1.5px solid #fff; pointer-events: none;
  transition: transform .45s var(--ease), opacity .3s;
}
.btn::before, .bracket-box::before, .thumb::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.btn::after, .bracket-box::after, .thumb::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.btn > .c, .bracket-box > .c { position: absolute; width: 9px; height: 9px; border: 1.5px solid #fff; pointer-events: none; transition: transform .45s var(--ease); }
.btn > .c--tr, .bracket-box > .c--tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.btn > .c--bl, .bracket-box > .c--bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 20px 30px;
  background: rgba(40, 44, 50, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--display); font-weight: 500;
  font-size: clamp(17px, 1.55vw, 23px); letter-spacing: .01em; line-height: 1;
  transition: background .35s;
}
.btn__arrow { width: 12px; height: 12px; transition: transform .45s var(--ease); }
.btn:hover { background: rgba(70, 76, 86, .7); }
.btn:hover::before, .btn:hover > .c--tr { transform: translate(-5px, -5px); }
.btn:hover::before { transform: translate(-5px, -5px); }
.btn:hover > .c--tr { transform: translate(5px, -5px); }
.btn:hover::after { transform: translate(5px, 5px); }
.btn:hover > .c--bl { transform: translate(-5px, 5px); }
.btn:hover .btn__arrow { transform: translate(3px, -3px) rotate(45deg); }

.bracket-box {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; background: #1b1b1b;
  transition: background .3s;
}
.bracket-box:hover { background: #2a2a2a; }
.bracket-box:hover::before { transform: translate(-3px, -3px); }
.bracket-box:hover::after { transform: translate(3px, 3px); }
.bracket-box:hover > .c--tr { transform: translate(3px, -3px); }
.bracket-box:hover > .c--bl { transform: translate(-3px, 3px); }

/* ---------- eyebrow label ---------- */
.eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: clamp(14px, 1.15vw, 17px); letter-spacing: .02em; font-weight: 500;
  margin-bottom: 22px;
}
.eyebrow i { display: block; width: 32px; height: 1.5px; background: currentColor; opacity: .8; }
.eyebrow--left { justify-content: flex-start; }

.h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(38px, 5.3vw, 76px); line-height: 1.12; letter-spacing: -.015em;
}

/* ---------- section heads ---------- */
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--center { text-align: center; }
.section-head--center .h2 { max-width: 15ch; margin-inline: auto; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head--split .h2 { max-width: 12ch; }
.section-head__side { max-width: 30ch; text-align: right; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; align-self: center; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.15));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: translateY(-100%);
  animation: headerIn 1.1s var(--ease) .2s forwards;
}
@keyframes headerIn { to { transform: none; } }
.header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 88px; position: relative;
}
.header__inner::after {
  content: ""; position: absolute; left: var(--pad); right: var(--pad); bottom: 0;
  height: 1px; background: var(--line);
}
.menu-btn { display: flex; align-items: center; gap: 14px; justify-self: start; z-index: 2; }
.menu-btn__icon {
  width: 46px; height: 50px; background: #1d1d1d;
  display: grid; place-content: center; gap: 9px;
  transition: background .3s;
}
.menu-btn__icon i { display: block; width: 20px; height: 2px; background: #fff; transition: transform .45s var(--ease); }
.menu-btn:hover .menu-btn__icon { background: #2c2c2c; }
.menu-btn:hover .menu-btn__icon i:last-child { transform: scaleX(.6); transform-origin: left; }
.menu-btn__label { font-size: 16px; letter-spacing: .02em; }
.menu-open .menu-btn__icon i:first-child { transform: translateY(5.5px) rotate(45deg); }
.menu-open .menu-btn__icon i:last-child { transform: translateY(-5.5px) rotate(-45deg); }

.logo {
  display: flex; align-items: center;
  font-family: var(--display); font-weight: 600; font-size: 38px; letter-spacing: .01em; line-height: 1;
}
.logo__wheel { width: 30px; height: 30px; margin: 0 1px; color: #fff; transition: transform .8s var(--ease); }
.logo:hover .logo__wheel { transform: rotate(-90deg); }

.find-car { justify-self: end; display: flex; align-items: center; gap: 22px; font-size: 16px; letter-spacing: .02em; z-index: 2; }
.find-car__icon { width: 34px; height: 34px; background: #1b1b1b; }

/* fullscreen menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  visibility: hidden; pointer-events: none;
}
.menu__bg {
  position: absolute; inset: 0; background: #070707;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
}
.menu__content {
  position: relative; height: 100%;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding-top: 120px; padding-bottom: 60px;
}
.menu__list a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(36px, 6vw, 84px); line-height: 1.08;
  opacity: 0; transform: translateY(60px);
  transition: opacity .6s, transform .8s var(--ease), color .3s;
}
.menu__list a:hover { color: var(--cream); }
.menu__num { font-family: var(--body); font-size: 14px; color: var(--muted); }
.menu__side { color: var(--muted); display: grid; gap: 20px; text-align: right; opacity: 0; transition: opacity .6s .4s; }
.menu__side a:hover { color: #fff; }
.menu-open .menu { visibility: visible; pointer-events: auto; }
.menu-open .menu__bg { clip-path: inset(0 0 0 0); }
.menu-open .menu__list a { opacity: 1; transform: none; }
.menu-open .menu__side { opacity: 1; }
.menu-open .menu__list li:nth-child(1) a { transition-delay: .25s; }
.menu-open .menu__list li:nth-child(2) a { transition-delay: .3s; }
.menu-open .menu__list li:nth-child(3) a { transition-delay: .35s; }
.menu-open .menu__list li:nth-child(4) a { transition-delay: .4s; }
.menu-open .menu__list li:nth-child(5) a { transition-delay: .45s; }
.menu-open .menu__list li:nth-child(6) a { transition-delay: .5s; }
.menu-open .menu__list li:nth-child(7) a { transition-delay: .55s; }
.menu-open, .menu-open body { overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.4s ease; overflow: hidden; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.65) 85%, #000 100%),
    radial-gradient(80% 60% at 50% 50%, rgba(0,0,0,.1), rgba(0,0,0,.45));
}
.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding-top: 80px;
}
.hero__title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(54px, 9vw, 132px); line-height: .98; letter-spacing: -.02em;
}
.hero__title .line { display: block; }
.hero__title .word {
  display: inline-block;
  opacity: 0; filter: blur(14px);
  transform: translateY(70px) scale(1.05);
  animation: wordIn 1.4s var(--ease) forwards;
}
@keyframes wordIn { to { opacity: 1; filter: blur(0); transform: none; } }
.hero__text {
  max-width: 50ch; margin: 32px auto 40px;
  font-size: clamp(16px, 1.6vw, 22px); line-height: 1.6; color: rgba(255,255,255,.82);
}
.hero-fade { opacity: 0; transform: translateY(30px); filter: blur(8px); animation: fadeUp 1.2s var(--ease) forwards; }
.hero__text.hero-fade { animation-delay: 1.1s; }
.hero .btn.hero-fade { animation-delay: 1.3s; }
.hero__thumbs.hero-fade { animation-delay: 1.5s; }
@keyframes fadeUp { to { opacity: 1; transform: none; filter: blur(0); } }

.hero__thumbs {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 26px;
  display: flex; justify-content: center; gap: 16px;
}
.thumb {
  position: relative; width: 94px; height: 94px; padding: 7px;
  background: rgba(30,30,30,.7); backdrop-filter: blur(6px);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .6; transition: opacity .4s, transform .6s var(--ease); }
.thumb::before, .thumb::after { opacity: 0; }
.thumb:hover img { opacity: .9; }
.thumb.is-active img { opacity: 1; }
.thumb.is-active::before, .thumb.is-active::after { opacity: 1; }
.thumb .c { opacity: 0; transition: opacity .3s; }
.thumb.is-active .c { opacity: 1; }
.thumb .c { position: absolute; width: 9px; height: 9px; border: 1.5px solid #fff; }
.thumb .c--tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.thumb .c--bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.thumb__bar { position: absolute; left: 7px; right: 7px; bottom: 3px; height: 2px; background: rgba(255,255,255,.2); overflow: hidden; }
.thumb__bar i { display: block; height: 100%; width: 0; background: #fff; }
.thumb.is-active .thumb__bar i { animation: bar var(--slide-ms, 6000ms) linear forwards; }
@keyframes bar { to { width: 100%; } }

/* =========================================================
   BRANDS MARQUEE
   ========================================================= */
.brands {
  padding: clamp(70px, 9vw, 130px) 0 clamp(60px, 8vw, 110px);
  background: #000; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.brands__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.brands:hover .brands__track { animation-play-state: paused; }
.brands__row { display: flex; align-items: center; gap: clamp(80px, 10vw, 160px); padding-right: clamp(80px, 10vw, 160px); }
.emblem { height: 46px; width: auto; filter: drop-shadow(0 2px 6px rgba(255,255,255,.08)); opacity: .9; transition: opacity .3s, transform .4s var(--ease); }
.emblem:hover { opacity: 1; transform: scale(1.08); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   ABOUT
   ========================================================= */
.about { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; padding: 140px 0 160px; }
.about__bg { position: absolute; inset: -10% 0; }
.about__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.about__shade { position: absolute; inset: 0; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.45) 70%, #000 100%); }
.about__content { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.rating { display: flex; align-items: center; gap: 4px; margin: 26px 0 48px; color: rgba(255,255,255,.65); }
.laurel { width: 56px; height: 120px; }
.laurel--r { transform: scaleX(-1); }
.rating__inner { padding: 0 18px; }
.stars { font-size: 28px; letter-spacing: 6px; color: #fff; line-height: 1; }
.rating__score { font-family: var(--display); font-size: 36px; font-weight: 500; color: #fff; margin: 10px 0 4px; }
.rating__count { font-size: 17px; color: var(--muted); }
.about__text {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(28px, 3.9vw, 56px); line-height: 1.22; letter-spacing: -.01em;
  max-width: 22ch; margin-bottom: 52px;
}

/* =========================================================
   COLLECTION
   ========================================================= */
.cars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.car { cursor: pointer; }
.car__img { aspect-ratio: 1 / .78; overflow: hidden; border-radius: 6px; }
.car__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.car:hover .car__img img { transform: scale(1.07); filter: brightness(1.12); }
.car__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 22px; }
.car__meta h3 { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.1; }
.car__price { font-family: var(--display); font-size: clamp(16px, 1.45vw, 21px); white-space: nowrap; }
.car__series { margin-top: 8px; color: var(--muted); font-size: clamp(14px, 1.2vw, 17px); }

/* =========================================================
   FEATURES / DASHBOARD
   ========================================================= */
.features { position: relative; overflow: hidden; padding: clamp(90px, 10vw, 140px) 0 clamp(60px, 7vw, 100px); }
.features__bg { position: absolute; inset: -8% 0; }
.features__bg img { width: 100%; height: 100%; object-fit: cover; }
.features__shade { position: absolute; inset: 0; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 18%, rgba(0,0,0,.05) 50%, rgba(0,0,0,.25) 85%, #000 100%); }
.features__inner { position: relative; z-index: 2; }
.features .section-head { margin-bottom: clamp(40px, 5vw, 70px); }
.features .eyebrow { margin-bottom: 16px; }

.dash { display: grid; grid-template-columns: minmax(0, 280px) 1fr minmax(0, 280px); align-items: center; gap: clamp(20px, 3vw, 50px); }
.dash__col { display: grid; gap: 20px; }
.stat {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 20px;
  background: rgba(70, 82, 92, .38);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 4px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background .35s, transform .5s var(--ease);
}
.stat:hover { background: rgba(80, 94, 106, .55); transform: translateY(-3px); }
.stat__icon {
  flex: none; width: 52px; height: 52px; border-radius: 6px;
  display: grid; place-items: center; background: rgba(110,120,130,.45);
}
.stat__icon svg { width: 22px; height: 22px; fill: rgba(255,255,255,.75); }
.stat h4 { font-family: var(--display); font-weight: 500; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.1; }
.stat p { color: rgba(255,255,255,.75); font-size: 15px; margin-top: 4px; }

.gauge { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin: 0 auto; }
.gauge__svg { width: 100%; height: 100%; overflow: visible; }
.gauge__track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 26; stroke-linecap: round; }
.gauge__fill { fill: none; stroke: var(--cream); stroke-width: 26; stroke-linecap: round; transition: stroke-dashoffset 2.2s var(--ease); }
.gauge__labels text { fill: rgba(255,255,255,.85); font-family: var(--body); font-size: 30px; text-anchor: middle; dominant-baseline: middle; }
.gauge__needle { transform-origin: 400px 400px; transition: transform 1.2s var(--ease); }
.gauge__needle path { fill: url(#needleGrad); fill: rgba(255,255,255,.9); filter: drop-shadow(0 0 8px rgba(255,255,255,.6)); }
.gauge__readout { position: absolute; left: 0; right: 0; bottom: -2%; text-align: center; }
.gauge__speed { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 4.6vw, 66px); line-height: 1; font-variant-numeric: tabular-nums; }
.gauge__label { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; font-size: 20px; color: rgba(255,255,255,.85); }

/* =========================================================
   SERVICES
   ========================================================= */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  background: #181818; border-radius: 6px;
  padding: 24px 24px 30px; min-height: 270px;
  display: flex; flex-direction: column;
  transition: background .4s, transform .6s var(--ease);
}
.service:hover { background: #222; transform: translateY(-6px); }
.service__icon {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1);
  display: grid; place-items: center; background: #121212; margin-bottom: auto;
  transition: transform .6s var(--ease);
}
.service:hover .service__icon { transform: rotate(-12deg) scale(1.08); }
.service__icon svg { width: 24px; height: 24px; fill: #d9cdb3; }
.service h3 { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; margin: 70px 0 18px; }
.service p { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 26ch; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { position: relative; overflow: hidden; padding: clamp(90px, 10vw, 150px) 0 0; }
.testimonials__bg { position: absolute; inset: 0; }
.testimonials__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.testimonials__shade { position: absolute; inset: 0; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.3) 25%, rgba(0,0,0,.2) 55%, rgba(0,0,0,.7) 80%, #000 100%); }
.testimonials__inner { position: relative; z-index: 2; }
.testimonials .section-head { margin-bottom: clamp(160px, 20vw, 320px); }

.arc {
  position: relative; margin: 0 auto; width: min(100%, 1200px);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  padding: 0 8% 90px;
  background: linear-gradient(180deg, rgba(38,36,34,.92) 0%, rgba(20,19,18,.96) 60%, #000 100%);
  isolation: isolate;
}
.arc::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1;
  background: linear-gradient(180deg, rgba(242,227,195,.9), rgba(242,227,195,.15) 45%, transparent 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.arc__slides { display: grid; }
.testi {
  grid-area: 1 / 1; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; visibility: hidden; transform: translateY(20px); filter: blur(8px);
  transition: opacity .8s, transform .8s var(--ease), filter .8s, visibility .8s;
}
.testi.is-active { opacity: 1; visibility: visible; transform: none; filter: none; }
.testi__avatar {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin-top: -48px;
  border: 2px solid var(--cream); background: linear-gradient(160deg, #c8b9a0, #4a4038);
}
.testi__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi h4 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.1vw, 30px); margin-top: 22px; }
.testi__role { color: var(--muted); font-size: 17px; margin-top: 4px; }
.testi__stars { margin: 28px 0 22px; font-size: 20px; color: rgba(255,255,255,.85); }
.testi__stars span { color: var(--cream); letter-spacing: 6px; font-size: 26px; vertical-align: -2px; }
.testi blockquote { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2.5vw, 36px); line-height: 1.32; max-width: 30ch; }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 44px; }
.testi-dots button { width: 26px; height: 3px; background: rgba(255,255,255,.25); transition: background .3s, width .4s var(--ease); }
.testi-dots button.is-active { background: var(--cream); width: 46px; }

/* =========================================================
   JOURNAL SLIDER
   ========================================================= */
.section-head--end { align-items: flex-end; }
.slider-nav { display: flex; gap: 26px; }
.slider-btn { width: 64px; height: 64px; background: #0e0e0e; }
.slider-btn:disabled { opacity: .35; cursor: default; }
.slider { overflow: hidden; }
.slider__track { display: flex; gap: 26px; transition: transform .9s var(--ease); }
.post {
  position: relative; flex: 0 0 calc((100% - 26px) / 2);
  aspect-ratio: 1.9 / 1; overflow: hidden; border-radius: 6px; cursor: pointer;
}
.post img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 30%, rgba(0,0,0,.65) 100%); transition: background .5s; }
.post:hover img { transform: scale(1.06); }
.post__body { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 26px; }
.post h3 { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2.2vw, 32px); line-height: 1.15; }
.post p { color: rgba(255,255,255,.7); margin-top: 14px; font-size: clamp(14px, 1.3vw, 18px); transition: color .3s; }
.post:hover p { color: #fff; }

/* =========================================================
   FAQ
   ========================================================= */
.faq__list { max-width: 940px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { border: 1px solid rgba(255,255,255,.1); border-radius: 6px; background: #050505; transition: border-color .3s, background .3s; }
.faq__item:hover { border-color: rgba(255,255,255,.2); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 28px 26px; text-align: left;
  font-family: var(--display); font-weight: 500; font-size: clamp(19px, 2.1vw, 30px); line-height: 1.2;
}
.faq__icon { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: #1a1a1a; transition: transform .5s var(--ease), background .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: #fff; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(135deg); background: #262626; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.faq__a > p { overflow: hidden; color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.7; padding: 0 26px; max-width: 64ch; transition: padding .55s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > p { padding-bottom: 30px; }

/* =========================================================
   CTA
   ========================================================= */
.cta-wrap { padding-bottom: clamp(100px, 14vw, 210px); }
.cta { position: relative; border-radius: 12px; overflow: hidden; min-height: clamp(420px, 40vw, 560px); display: flex; align-items: center; }
.cta__bg { position: absolute; inset: -10% 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.35) 50%, rgba(10,14,22,.55)); }
.cta__content {
  position: relative; z-index: 2; width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
  padding: clamp(32px, 4vw, 56px);
}
.cta .h2 { max-width: 10ch; }
.cta__right { max-width: 380px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 40px; }
.cta__right p { color: rgba(255,255,255,.75); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1fr .55fr 1.1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.footer__col { padding: 50px 0; }
.footer__news { padding-right: 40px; display: flex; flex-direction: column; }
.footer__news h4 { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2vw, 28px); line-height: 1.3; max-width: 26ch; }
.news-form { position: relative; display: flex; align-items: center; margin-top: 44px; max-width: 440px; border: 1px solid rgba(255,255,255,.28); padding: 4px 4px 4px 0; }
.news-form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 17px; padding: 14px 14px; }
.news-form input::placeholder { color: rgba(255,255,255,.55); }
.news-form .bracket-box { background: transparent; width: 46px; height: 46px; }
.news-form__ok { position: absolute; left: 0; top: calc(100% + 10px); font-size: 14px; color: var(--cream); opacity: 0; transition: opacity .4s; }
.news-form.is-sent .news-form__ok { opacity: 1; }
.socials { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: auto; padding-top: 70px; }
.socials a, .footer__links a { color: var(--muted); font-size: clamp(16px, 1.55vw, 22px); transition: color .3s; position: relative; }
.socials a::after, .footer__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.socials a:hover, .footer__links a:hover { color: #fff; }
.socials a:hover::after, .footer__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__mark { display: grid; place-items: center; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.footer__wheel { width: clamp(90px, 9vw, 130px); height: auto; color: #d6d6d6; }
.footer__links { padding-left: clamp(30px, 7vw, 100px); }
.footer__links h4 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.1vw, 30px); margin-bottom: 40px; }
.footer__links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0 34px; font-size: 16px; color: rgba(255,255,255,.8); }

/* =========================================================
   SCROLL REVEALS
   ========================================================= */
.reveal, .reveal-left, .reveal-right {
  opacity: 0; filter: blur(10px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal { transform: translateY(50px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.is-in { opacity: 1 !important; transform: none !important; filter: blur(0) !important; }

.split-words .w { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(40px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split-words.is-in .w { opacity: 1; filter: blur(0); transform: none; }
.split-words.is-in { filter: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .reveal-left, .reveal-right, .split-words .w { opacity: 1; transform: none; filter: none; }
  .brands__track { animation: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .cars, .service-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .dash { grid-template-columns: 1fr 1fr; }
  .gauge { grid-column: 1 / -1; order: -1; max-width: 480px; margin-bottom: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__mark { display: none; }
  .footer__links { border-left: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .header__inner { height: 72px; grid-template-columns: auto 1fr auto; }
  .menu-btn__label, .find-car > span:first-child { display: none; }
  .logo { justify-self: center; font-size: 28px; }
  .logo__wheel { width: 22px; height: 22px; }
  .menu-btn__icon { width: 40px; height: 42px; }
  .menu__content { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .menu__side { text-align: left; }

  .hero { min-height: 640px; }
  .hero__title { font-size: clamp(42px, 12.5vw, 64px); }
  .hero__thumbs { gap: 8px; bottom: 18px; }
  .thumb { width: 56px; height: 56px; padding: 4px; }

  .section-head--split { flex-direction: column; align-items: flex-start; gap: 28px; }
  .section-head__side { text-align: left; }
  .h2 { font-size: clamp(32px, 9vw, 44px); }

  .cars, .service-grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service h3 { margin-top: 40px; }
  .dash { grid-template-columns: 1fr; }
  .stat { padding: 16px; }

  .laurel { width: 40px; height: 90px; }
  .stars { font-size: 22px; }

  .testimonials .section-head { margin-bottom: 120px; }
  .arc { padding: 0 20px 60px; border-radius: 160px 160px 0 0; }

  .post { flex-basis: 86%; aspect-ratio: 1.1 / 1; }
  .slider-nav { gap: 18px; }
  .slider-btn { width: 52px; height: 52px; }

  .faq__q { padding: 22px 18px; }
  .faq__a > p { padding-inline: 18px; }

  .cta__content { flex-direction: column; align-items: flex-start; }
  .cta__right { text-align: left; align-items: flex-start; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__news { padding-right: 0; }
  .footer__links { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .socials { padding-top: 50px; gap: 12px 24px; }
  .footer__bottom { flex-direction: column; }
}


/* =========================================================
   INTRO — wireframe "before" → design "after" on load
   ========================================================= */
.is-loading body { background: #e9e9e9; }
.is-loading > body > .header,
.is-loading > body > main,
.is-loading > body > .footer { visibility: hidden; }

.intro {
  position: fixed; inset: 0; z-index: 500; overflow: hidden;
  background: #ebebeb; color: #a9a9a9;
  clip-path: inset(0 0 0 0);
  cursor: pointer;
}
.intro.is-revealing { pointer-events: none; clip-path: inset(0 0 0 100%); transition: clip-path 1.3s cubic-bezier(.77, 0, .18, 1); }
.intro *, .intro *::before, .intro *::after {
  animation: none !important; transition: none !important;
  filter: none !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.intro .hero__slide img { transform: none !important; }
.intro .wf-word { display: inline-block; }
.intro .wf-line { background: #cdcdcd; border-radius: 999px; }
.intro img { visibility: hidden; }
.intro .header { transform: none !important; background: #e2e2e2; }
.intro .header__inner::after { background: #cdcdcd; }
.intro .hero { background: transparent; }
.intro .hero__shade { display: none; }
.intro .hero__slides {
  background: #e4e4e4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4b4b4' stroke-width='1.4' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Ccircle cx='15.5' cy='9' r='1.8'/%3E%3Cpath d='M3 17l5.5-6 4.5 5 2.5-2.5L21 18'/%3E%3C/svg%3E") center calc(88px + 4vh) / 84px no-repeat;
}
.intro [data-fallback], .intro .hero__slide { background: transparent !important; }
.intro .thumb {
  background: #d6d6d6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23adadad' stroke-width='1.6'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Cpath d='M3 17l5.5-6 4.5 5 2.5-2.5L21 18'/%3E%3C/svg%3E") center / 34px no-repeat !important;
}
.intro .thumb__bar { display: none; }
.intro .wf-t {
  color: transparent !important;
  background: #c6c6c6; border-radius: 999px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.intro .hero__title .wf-t { background: #bdbdbd; }
.intro .hero__text .wf-t { background: #cdcdcd; }
.intro .btn { background: #d3d3d3; }
.intro .btn .wf-t { background: #b3b3b3; }
.intro .btn::before, .intro .btn::after, .intro .c,
.intro .bracket-box::before, .intro .bracket-box::after,
.intro .thumb::before, .intro .thumb::after { border-color: #a4a4a4 !important; }
.intro .thumb:not(.is-active)::before, .intro .thumb:not(.is-active)::after, .intro .thumb:not(.is-active) .c { opacity: 0 !important; }
.intro .menu-btn__icon, .intro .find-car__icon { background: #d1d1d1; }
.intro .menu-btn__icon i { background: #a9a9a9; }

/* shimmer passing over the skeleton */
.intro::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: wfShimmer 1.6s ease-in-out .2s infinite !important;
}
@keyframes wfShimmer { to { transform: translateX(100%); } }

/* the scan line that draws the final design */
.intro-scan {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 501; width: 2px;
  background: #fff; pointer-events: none;
  box-shadow: 0 0 12px 2px rgba(255,255,255,.9), 0 0 60px 12px rgba(242,227,195,.45);
  opacity: 0;
}
.intro-scan.is-running { opacity: 1; left: 100%; transition: left 1.3s cubic-bezier(.77, 0, .18, 1), opacity .2s; }
.intro-scan.is-done { opacity: 0; transition: opacity .4s; }
/* hold the hero entrance until the wireframe has been wiped away */
.is-loading .header, .is-loading .hero__title .word, .is-loading .hero-fade { animation-play-state: paused; }
/* slim skeleton bars for the big headline instead of fat pills */
.intro .hero__title .wf-t { position: relative; background: none; }
.intro .hero__title .wf-t::after {
  content: ""; position: absolute; left: 0; right: 0; top: 30%; bottom: 26%;
  background: #bdbdbd; border-radius: 999px;
}
.intro .logo__wheel { color: #b3b3b3; }
