/* =========================================================================
   BYD Antigua — monochrome, image-forward
   Matched to the official BYD aesthetic (byd.com / previous bydantigua.com):
     Black header & footer · white pages with soft grey section fills
     Big clean uppercase model wordmarks (no italics), generous tracking
     Ghost-outline CTAs over imagery · solid black CTAs on light
     Type: Montserrat
   ========================================================================= */

:root {
  /* light base */
  --paper:    #ffffff;   /* page base */
  --paper-2:  #ffffff;   /* elevated / cards */
  --paper-3:  #f5f5f7;   /* section fill */
  /* dark bands */
  --coal:     #0a0a0c;   /* near-black (header / performance / footer) */
  --coal-2:   #141417;
  /* brand system — BYD monochrome */
  --navy:     #0a0a0c;   /* structural accent (was Chery navy) — BYD black */
  --navy-2:   #26262b;   /* hover */
  --bronze:   #0a0a0c;   /* primary CTA — BYD black */
  --bronze-2: #26262b;   /* hover */
  --bronze-3: #c9c9cf;   /* light accent on dark bands */
  --red:      #e8312a;   /* BYD red (very sparing — active details) */
  /* neutrals */
  --ink:      #0f0f11;
  --ink-soft: #2b2b30;
  --muted:    #55555c;
  --muted-2:  #8a8a92;
  --line:     rgba(15,15,17,.10);
  --line-2:   rgba(15,15,17,.18);
  --glass:    rgba(15,15,17,.04);
  --maxw:     1280px;
  --shadow:   0 24px 60px rgba(10,10,12,.14);
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --disp: 'Montserrat', var(--sans);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* the hidden attribute must always win — .btn et al set display and would
   otherwise override the UA's [hidden] rule (wizard buttons leaked through) */
[hidden] { display: none !important; }
/* honeypot field — offscreen (not display:none) so naive bots still fill it */
.hp { position: absolute !important; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); color: var(--ink);
  background: #fff;
  line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--muted); }
::placeholder { color: #9aa2ab; }
::selection { background: rgba(10,10,12,.16); }

h1,h2,h3,h4 { font-family: var(--disp); font-weight: 700; line-height: 1.08; letter-spacing: .01em; color: var(--ink); }

/* clean uppercase display headlines — the BYD treatment */
.hero h1, .mhero h1, .mband h2, .section-title, .cta-band h2, .perf-title {
  text-transform: uppercase; letter-spacing: .04em;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

/* overline label */
.overline {
  font-family: var(--sans); font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 12px;
}
.overline::before { content: ""; width: 26px; height: 1px; background: var(--ink); opacity: .55; }
.overline.center { justify-content: center; }
.overline.light { color: var(--bronze-3); }
.overline.light::before { background: var(--bronze-3); }

.section { padding: clamp(56px, 7vw, 100px) 0; }
.section-title { font-size: clamp(30px, 4.6vw, 52px); margin: 18px 0 14px; color: var(--ink); }
.section-sub { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 640px; font-weight: 300; }
.center { text-align: center; margin-inline: auto; }

/* ---- full-viewport sections + sticky in-page tabs ---- */
html { scroll-padding-top: 116px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.snap { }
.fill { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.page-tabs { position: sticky; top: 64px; z-index: 80; background: rgba(255,255,255,.92); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.page-tabs .wrap { display: flex; gap: 6px; height: 54px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.page-tabs .wrap::-webkit-scrollbar { display: none; }
.page-tabs a { font-family: var(--disp); font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 9px 18px; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.page-tabs a:hover { color: var(--ink); }
.page-tabs a.active { color: #fff; background: var(--ink); }
@media (max-width: 940px) { .page-tabs { top: 64px; } .page-tabs .wrap { height: 50px; } }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--disp); font-weight: 500; font-size: 13.5px; letter-spacing: .18em;
  padding: 15px 34px; border-radius: 3px; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap; text-transform: uppercase;
}
.btn:active { transform: translateY(1px); }
/* solid black — THE BYD CTA on light contexts */
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; box-shadow: 0 14px 34px rgba(10,10,12,.3); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { border-color: var(--navy-2); color: #fff; background: var(--ink); }
/* ghost — for use over imagery (the BYD EXPLORE / TEST DRIVE outline) */
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.92); border-color: #fff; color: var(--ink); }
/* over hero imagery, the primary flips to solid white (BYD treatment) */
.hero .btn-primary, .mhero .btn-primary { background: #fff; color: var(--ink); }
.hero .btn-primary:hover, .mhero .btn-primary:hover { background: rgba(255,255,255,.85); color: var(--ink); box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.btn-lg { padding: 17px 40px; font-size: 14px; }
.btn-link { font-family: var(--disp); font-weight: 600; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.btn-link .arw { transition: transform .2s var(--ease); }
.btn-link:hover { color: var(--muted); }
.btn-link:hover .arw { transform: translateX(5px); }

/* ---------------------------------------------------------------- header */
/* solid black header — the BYD treatment */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 80px;
  display: flex; align-items: center;
  background: rgba(10,10,12,.94); backdrop-filter: blur(12px);
  transition: height .35s var(--ease), box-shadow .35s;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header.scrolled {
  height: 66px; box-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { height: 22px; width: auto; flex: none; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a.link { font-family: var(--disp); color: #fff; font-weight: 500; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; transition: opacity .2s, color .2s; }
.nav-links a.link:hover { opacity: 1; color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .btn { padding: 12px 26px; font-size: 12px; background: #fff; color: var(--ink); }
.nav-actions .btn:hover { background: rgba(255,255,255,.85); color: var(--ink); }
/* 20% smaller nav quote button */
.nav-actions .btn.btn-sm { padding: 9.5px 21px; font-size: 11px; letter-spacing: .14em; }
/* Test Drive nav icon — glyph that expands to reveal its label on hover */
.nav-icon-btn { display: inline-flex; align-items: center; gap: 0; height: 40px; padding: 0 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #fff; transition: border-color .25s var(--ease), background .25s var(--ease); overflow: hidden; }
.nav-icon-btn .ni-glyph { display: inline-flex; flex: none; }
.nav-icon-btn .ni-glyph svg { display: block; transition: transform .5s var(--ease); }
.nav-icon-btn .ni-label { max-width: 0; opacity: 0; white-space: nowrap; overflow: hidden;
  font-family: var(--disp); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  transition: max-width .4s var(--ease), opacity .3s var(--ease), margin-left .4s var(--ease); }
.nav-icon-btn:hover, .nav-icon-btn:focus-visible { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); color: #fff; }
.nav-icon-btn:hover .ni-glyph svg, .nav-icon-btn:focus-visible .ni-glyph svg { transform: rotate(-28deg); }
.nav-icon-btn:hover .ni-label, .nav-icon-btn:focus-visible .ni-label { max-width: 140px; opacity: 1; margin-left: 8px; }
.mobile-cta { display: none; }
.hamburger { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }

/* heroes start below the black header bar */
.hero, .mhero { margin-top: 0; }

/* ---------------------------------------------------------- mega menu */
.nav-item { position: static; }
.has-mega > .link { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.has-mega .caret { opacity: .65; transition: transform .25s var(--ease); }
.has-mega:hover .caret, .has-mega:focus-within .caret { transform: rotate(180deg); opacity: 1; }
.mega {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
  background: rgba(12,12,14,.97); backdrop-filter: blur(18px) saturate(1.2);
  border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 26px 0; box-shadow: 0 24px 50px rgba(0,0,0,.4);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 26px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.mega-item {
  display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; overflow: hidden; background: var(--coal-2);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s;
}
.mega-item:hover { border-color: rgba(255,255,255,.45); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.mega-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--coal-2); }
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.mega-item:hover .mega-thumb img { transform: scale(1.06); }
.mega-tx { padding: 12px 14px 14px; }
.mega-name { display: block; font-family: var(--disp); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.mega-type { display: block; font-size: 10.5px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--coal); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { position: absolute; top: -24%; left: 0; width: 100%; height: 135%; object-fit: cover; object-position: center 42%; transform: translate3d(0,0,0); will-change: transform; animation: heroFade 1.4s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(0,0,0,.22), rgba(0,0,0,.22)),
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.05) 26%, rgba(0,0,0,.18) 58%, rgba(0,0,0,.78) 96%),
    linear-gradient(75deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.26) 46%, transparent 72%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 9vw, 110px); padding-top: 120px; }
.hero h1 { font-size: clamp(44px, 6.6vw, 92px); font-weight: 700; max-width: 15ch; color: #fff; }
.hero h1 .accent { color: rgba(255,255,255,.55); }
.hero .overline { color: rgba(255,255,255,.75); }
.hero .overline::before { background: rgba(255,255,255,.6); }
.hero .lede { color: #fff; opacity: .92; font-size: clamp(17px, 1.9vw, 21px); font-weight: 300; margin: 24px 0 34px; max-width: 52ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll { position: absolute; z-index: 2; bottom: 26px; right: clamp(20px, 5vw, 48px); color: rgba(255,255,255,.75); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px; }
.hero-scroll::after { content: ""; width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* -------------------------------------------------------------- offer strip */
.offer-strip { background: var(--paper-3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.offer-strip .wrap { padding-block: clamp(40px, 5vw, 64px); }
.offer-head { text-align: center; margin-bottom: 40px; }
.offer-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.offer-cell { text-align: center; padding: 8px clamp(16px, 3vw, 40px); position: relative; }
.offer-cell + .offer-cell::before { content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: var(--line-2); }
.offer-cell .num { font-family: var(--disp); font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; color: var(--ink); line-height: 1; }
.offer-cell .lbl { font-family: var(--disp); font-weight: 600; margin-top: 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.offer-cell .desc { color: var(--muted); font-size: 14px; margin-top: 6px; font-weight: 300; }

/* -------------------------------------------------------------- model bands */
.models-intro { text-align: center; padding: clamp(70px, 9vw, 120px) 0 clamp(30px, 4vw, 50px); }
.mband { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; min-height: 92svh; background: transparent; }
.mband .media { position: relative; overflow: hidden; }
.mband .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.1s var(--ease); }
.mband:hover .media img { transform: scale(1.07); }
.mband .content { display: flex; flex-direction: column; justify-content: center; padding: clamp(44px, 6vw, 96px) clamp(28px, 6vw, 88px); position: relative; }
.mband.rev { grid-template-columns: .92fr 1.08fr; }
.mband.rev .media { order: 2; }
.mband .mtype { font-family: var(--sans); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: 11.5px; color: var(--muted-2); margin-bottom: 14px; }
.mband h2 { font-size: clamp(38px, 5vw, 64px); font-weight: 700; color: var(--ink); }
.mband .tagline { font-family: var(--disp); font-weight: 400; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-size: clamp(13px, 1.4vw, 16px); margin-top: 12px; }
.mband .blurb { color: var(--muted); font-size: clamp(15px, 1.5vw, 17px); font-weight: 300; margin: 18px 0 26px; max-width: 46ch; }
.mband .mini-specs { display: flex; gap: clamp(20px, 3vw, 44px); margin-bottom: 34px; flex-wrap: wrap; }
.mband .mini-specs .ms .v { font-family: var(--disp); font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); color: var(--ink); }
.mband .mini-specs .ms .v small { font-size: 13px; color: var(--muted-2); font-weight: 400; }
.mband .mini-specs .ms .k { color: var(--muted-2); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }
.mband .band-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
/* over light content the ghost button flips to a black outline */
.mband .btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); backdrop-filter: none; }
.mband .btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------------------------------------------------------------- why band */
.why { background: var(--paper-3); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
/* full-bleed background image fills the tall row's dead space; a layered
   light wash keeps the middle (text) crisp while imagery shows at top/bottom */
.row-bg { position: absolute; inset: 0; z-index: 0; }
.row-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.row-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(245,245,247,.72) 0%, rgba(245,245,247,.97) 34%, rgba(245,245,247,.97) 66%, rgba(245,245,247,.74) 100%),
  linear-gradient(90deg, rgba(245,245,247,.5), transparent 55%); }
.why .wrap, .offer-strip .wrap { position: relative; z-index: 1; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: 56px; }
.why-card { border-top: 2px solid var(--ink); padding-top: 26px; }
.why-card .ic { color: var(--ink); margin-bottom: 20px; }
.why-card h3 { font-size: 19px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .02em; }
.why-card p { color: var(--muted); font-size: 15px; font-weight: 300; }

/* ---------------------------------------------------------------- cta band */
.cta-band { position: relative; overflow: hidden; background: var(--coal); border-radius: 8px; padding: clamp(40px, 5vw, 68px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; box-shadow: var(--shadow); }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(255,255,255,.1), transparent 70%); }
/* CTA band with a background vehicle — revealed on the right, text stays left */
.cta-band.has-bg { min-height: clamp(300px, 34vw, 400px); }
.cta-band.has-bg::before { display: none; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10,10,12,.97) 0%, rgba(10,10,12,.86) 38%, rgba(10,10,12,.45) 72%, rgba(10,10,12,.15) 100%),
  linear-gradient(0deg, rgba(10,10,12,.4), transparent 55%); }
.cta-band .txt { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); margin-top: 10px; font-size: 17px; font-weight: 300; }
.cta-band .btn { position: relative; z-index: 1; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: rgba(255,255,255,.85); color: var(--ink); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--coal); border-top: 1px solid rgba(255,255,255,.08); padding: clamp(50px, 7vw, 84px) 0 32px; }
.site-footer, .site-footer h4 { color: #e8eaec; }
.site-footer .brand .mark { height: 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; }
.footer-grid h4 { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.45); margin-bottom: 20px; font-weight: 600; }
.footer-grid a { display: block; color: #e8eaec; font-weight: 400; margin-bottom: 12px; font-size: 15px; opacity: .85; }
.footer-grid a:hover { color: #fff; opacity: 1; }
.footer-about p { color: rgba(255,255,255,.65); font-size: 15px; margin-top: 18px; max-width: 340px; font-weight: 300; }
.foot-addr { line-height: 1.7; }
.foot-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.foot-contact a { color: #e8eaec; font-weight: 500; font-size: 15px; opacity: .88; cursor: pointer; }
.foot-contact a:hover { color: #fff; opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,.4); font-size: 13px; }
.socials { display: flex; gap: 16px; }
.socials a { color: rgba(255,255,255,.6); }
.socials a:hover { color: #fff; }
/* light-context socials (contact page aside) */
.contact-info .socials a { color: var(--muted); }
.contact-info .socials a:hover { color: var(--ink); }

/* ------------------------------------------------------------- floating */
.floating { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(10,10,12,.3); cursor: pointer; border: 0; transition: transform .16s var(--ease); }
.fab:hover { transform: scale(1.08); }
.fab-wa { background: #25D366; color: #fff; }
.fab-wa svg { width: 30px; height: 30px; }
.fab-call { background: var(--coal); border: 1px solid rgba(255,255,255,.25); }

/* -------------------------------------------------------- model detail */
.mhero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--coal); }
.mhero-bg { position: absolute; inset: 0; }
.mhero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: heroZoom 14s var(--ease) forwards; }
.mhero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(0deg, rgba(0,0,0,.14), rgba(0,0,0,.14)),
  linear-gradient(180deg, rgba(0,0,0,.42) 0, rgba(0,0,0,.05) 30%, rgba(0,0,0,.18) 62%, rgba(0,0,0,.8) 100%); }
.mhero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(44px, 6vw, 84px); padding-top: 120px; text-align: center; }
/* the big clean model wordmark — BYD hero treatment (centred, tracked out) */
.mhero h1 { font-size: clamp(44px, 7.4vw, 104px); font-weight: 700; color: #fff; letter-spacing: .06em; line-height: 1; }
.mhero .mtag { font-family: var(--disp); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; font-size: clamp(13px, 1.6vw, 18px); color: rgba(255,255,255,.92); margin: 16px 0 32px; }
.mhero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.back-link { position: absolute; top: 96px; left: 0; right: 0; z-index: 3; }
.back-link a { color: rgba(255,255,255,.85); font-family: var(--disp); font-weight: 400; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.back-link a:hover { color: #fff; }

.spec-band { background: var(--coal); border-bottom: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.spec { padding: clamp(30px, 4vw, 52px) clamp(16px, 2vw, 32px); position: relative; text-align: center; }
.spec + .spec::before { content: ""; position: absolute; left: 0; top: 24%; height: 52%; width: 1px; background: rgba(255,255,255,.16); }
.spec .k { color: rgba(255,255,255,.5); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
.spec .v { font-family: var(--disp); font-size: clamp(22px, 2.8vw, 34px); font-weight: 700; margin-top: 12px; color: #fff; }
.spec .v small { font-size: 13px; color: rgba(255,255,255,.55); font-weight: 300; display: block; margin-top: 2px; }

.feature-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 40px; }
.feature-list li { list-style: none; display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; font-weight: 400; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.feature-list .tick { flex: none; width: 22px; height: 22px; color: var(--ink); margin-top: 3px; }
.disclaimer { color: var(--muted-2); font-size: 13px; margin-top: 34px; font-style: italic; max-width: 70ch; font-weight: 300; }

/* -------------------------------------------------- performance band (dark) */
.perf-band { background: var(--coal); color: #fff; padding: clamp(70px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.perf-band::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 420px at 85% 20%, rgba(255,255,255,.07), transparent 65%); }
.perf-title { font-size: clamp(28px, 4vw, 48px); color: #fff; font-weight: 700; margin-top: 16px; letter-spacing: .06em; }
.perf-row { display: flex; gap: clamp(40px, 8vw, 120px); margin-top: clamp(36px, 5vw, 60px); flex-wrap: wrap; }
.perf-cell .pnum { font-family: var(--disp); font-weight: 700; font-size: clamp(56px, 8vw, 110px); line-height: 1; color: #fff; }
.perf-cell .pnum small { font-size: clamp(18px, 2.4vw, 30px); font-weight: 600; color: var(--bronze-3); margin-left: 8px; }
.perf-cell .plbl { margin-top: 10px; color: rgba(255,255,255,.6); font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }

/* ------------------------------------------------------------ cockpit */
.cockpit { background: var(--paper-3); border-top: 1px solid var(--line); }
.ck-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); margin: 44px 0; }
.ck-tile { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px 20px; text-align: center; }
.ck-tile .ck-v { font-family: var(--disp); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); color: var(--ink); }
.ck-tile .ck-k { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }
/* 1 wide feature + 3 tiles */
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.int-img { overflow: hidden; border-radius: 8px; aspect-ratio: 4 / 3; }
.int-img:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.int-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.int-img:hover img { transform: scale(1.04); }

/* ------------------------------------------- home technology showcase */
.showcase { text-align: center; }
.showcase-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 6px; margin-top: 44px; }
.sc-item { overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3; margin: 0; }
.sc-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sc-item:hover img { transform: scale(1.05); }
@media (max-width: 940px) { .showcase-grid { grid-template-columns: 1fr; } .sc-item { aspect-ratio: 16 / 10; } }

/* ------------------------------------------------- lux mosaic gallery */
.lux-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* 3-col mosaic: one 2x2 feature + five 1x1 = 9 cells = exactly 3 full rows, so
   it always fills — no orphan gaps. Row height tracks the column width so every
   cell lands near 3:2 and photos are never harshly cropped. */
.lux-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: calc((min(var(--maxw), 100vw - 2 * clamp(20px, 5vw, 48px)) - 12px) / 3 * 0.667); gap: 6px; margin-top: 40px; grid-auto-flow: dense; }
.lux-item { position: relative; overflow: hidden; border-radius: 8px; margin: 0; }
.lux-item.w2 { grid-column: span 2; }
.lux-item.h2 { grid-row: span 2; }
.lux-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.lux-item:hover img { transform: scale(1.05); }
.lux-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px;
  background: linear-gradient(0deg, rgba(10,10,12,.6), transparent); color: #fff;
  font-family: var(--disp); font-weight: 500; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transition: opacity .3s var(--ease); }
.lux-item:hover figcaption { opacity: 1; }

/* ------------------------------------------------------------------ modal */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,12,.6); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: #fff; border: 1px solid var(--line); border-radius: 10px; width: 100%; max-width: 470px; box-shadow: var(--shadow); position: relative; max-height: 94vh; overflow-y: auto; animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { padding: 30px 30px 6px; }
.modal-head h3 { font-size: 24px; margin-top: 12px; text-transform: uppercase; letter-spacing: .01em; }
.modal-head p { color: var(--muted); font-size: 14.5px; margin-top: 8px; font-weight: 300; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--glass); border: 1px solid var(--line); color: var(--ink); cursor: pointer; font-size: 19px; display: grid; place-items: center; }
.modal-close:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.modal form { padding: 18px 30px 30px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-family: var(--disp); font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 7px; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--paper-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 13px 15px; transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field textarea { resize: vertical; min-height: 74px; }
.field select option { background: #fff; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.modal .btn-primary { width: 100%; margin-top: 8px; }
.form-fine { color: var(--muted-2); font-size: 12px; text-align: center; margin-top: 14px; font-weight: 300; }
.thankyou { display: none; padding: 46px 34px 50px; text-align: center; }
.thankyou.show { display: block; }
.thankyou .check { width: 70px; height: 70px; border-radius: 50%; background: rgba(37,211,102,.14); color: #1faf53; display: grid; place-items: center; margin: 0 auto 22px; font-size: 34px; }
.thankyou h3 { font-size: 24px; margin-bottom: 12px; text-transform: uppercase; }
.thankyou p { color: var(--muted); font-weight: 300; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-links.mobile-open { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; position: absolute; top: 100%; left: 0; right: 0; background: var(--coal); border-bottom: 1px solid rgba(255,255,255,.1); padding: 26px clamp(20px,5vw,48px); max-height: calc(100svh - 66px); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 24px 40px rgba(0,0,0,.5); }
  .nav-links.mobile-open a.link { font-size: 17px; opacity: 1; }
  .hamburger { display: block; }
  .nav-actions .btn { display: none; }
  .nav-links.mobile-open .mobile-cta { display: inline-flex; width: 100%; justify-content: center; margin-top: 8px; padding: 15px 24px; font-size: 13px; background: #fff; color: var(--ink); }
  .field input, .field select, .field textarea { font-size: 16px; }
  .nav-item.has-mega { display: flex; flex-direction: column; align-items: flex-start; width: 100%; gap: 6px; }
  .has-mega .caret { display: none; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; background: transparent;
    backdrop-filter: none; border: 0; box-shadow: none; padding: 2px 0 8px; }
  .mega::before { display: none; }
  .mega-inner { grid-template-columns: 1fr; gap: 2px; padding: 0; }
  .mega-item { flex-direction: row; align-items: center; gap: 12px; border: 0; background: transparent; border-radius: 0; padding: 7px 0; box-shadow: none; }
  .mega-item:hover { transform: none; border: 0; box-shadow: none; }
  .mega-thumb { width: 56px; height: 38px; aspect-ratio: auto; border-radius: 6px; flex: none; }
  .mega-tx { padding: 0; }
  .mega-name { font-size: 15px; }
  .mband, .mband.rev { grid-template-columns: 1fr; min-height: 0; }
  .mband .media { order: -1 !important; height: clamp(280px, 52vw, 460px); }
  .mband.rev .media { order: -1; }
  .mband .media img { position: absolute; }
  .why-grid { grid-template-columns: 1fr; gap: 8px; }
  .why-card { padding-block: 28px 0; }
  .feature-split { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .spec-row { grid-template-columns: 1fr 1fr; }
  .spec:nth-child(3)::before, .spec:nth-child(1)::before { display: none; }
  .ck-row { grid-template-columns: 1fr 1fr; }
  .int-grid { grid-template-columns: 1fr 1fr; }
  .int-img:first-child { aspect-ratio: 16 / 9; }
  .lux-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: calc((100vw - 2 * clamp(20px,5vw,48px) - 6px) / 2 * 0.667); }
  .lux-item.w2 { grid-column: span 2; }
  .lux-item.h2 { grid-row: span 1; }
  .lux-item figcaption { opacity: 1; }
}
@media (max-width: 560px) {
  .offer-row { grid-template-columns: 1fr; gap: 30px; }
  .offer-cell + .offer-cell::before { display: none; }
  .offer-cell { padding-block: 0; }
  .feature-list { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero-scroll { display: none; }
  .row-2 { grid-template-columns: 1fr; }
  .perf-row { gap: 30px; }
}

/* ==================================================================
   Signature motion — the BYD Antigua differentiator.
   Imagery unveils with a cinematic clip + settle (compositor-only:
   clip-path & transform, no layout thrash), and key stats count up.
   ================================================================== */
.wipe { clip-path: inset(5% 7% 5% 7%); transition: clip-path 1.15s cubic-bezier(.6,.05,.2,1); }
.wipe img { transform: scale(1.09); transition: transform 1.7s var(--ease); }
.wipe.in { clip-path: inset(0 0 0 0); }
.wipe.in img { transform: scale(1); }
/* hover zooms still apply after settle */
.lux-item.wipe.in:hover img, .sc-item.wipe.in:hover img { transform: scale(1.05); }
.int-img.wipe.in:hover img { transform: scale(1.04); }
.mband:hover .media.wipe.in img { transform: scale(1.07); }
@media (prefers-reduced-motion: reduce) {
  .wipe { clip-path: none; transition: none; }
  .wipe img { transform: none; transition: none; }
}

/* hairline nav underline — quiet, precise */
.nav-links a.link { position: relative; }
.nav-links a.link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: #fff; transition: right .35s var(--ease); }
.nav-links a.link:hover::after { right: 0; }
@media (max-width: 940px) { .nav-links a.link::after { display: none; } }
