/* ==========================================================================
   AM zone — redesign 2026
   Design tokens · light/dark · animations
   ========================================================================== */

:root {
  color-scheme: light dark;
  interpolate-size: allow-keywords;

  --brand: #c00113;
  --brand-hi: #e3172b;
  --brand-glow: rgba(224, 20, 42, .45);
  --hy: #009ee3;
  --hy-deep: #0a4159;
  --hy-glow: rgba(0, 158, 227, .45);

  /* light (default) */
  --bg: #f5f5f3;
  --bg-2: #ecebe7;
  --surface: #ffffff;
  --surface-2: #f3f2ef;
  --elev: #ffffff;
  --text: #111114;
  --text-2: #3b3c42;
  --muted: #6a6c74;
  --line: rgba(17, 17, 20, .09);
  --line-2: rgba(17, 17, 20, .16);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px -8px rgba(20,20,30,.12);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.04), 0 30px 60px -20px rgba(20,20,30,.25);
  --glass: rgba(255, 255, 255, .72);
  --grid-dot: rgba(17,17,20,.07);
  --map-filter: none;
  --logo-dark-display: none;
  --logo-light-display: block;

  --font-display: "Oxanium", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  accent-color: var(--brand);
  scrollbar-color: var(--line-2) transparent;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #09090b;
    --bg-2: #101013;
    --surface: #131317;
    --surface-2: #1a1a1f;
    --elev: #1d1d23;
    --text: #f4f4f6;
    --text-2: #cfd0d6;
    --muted: #9396a0;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .16);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -10px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 6px rgba(0,0,0,.4), 0 40px 80px -24px rgba(0,0,0,.8);
    --glass: rgba(14, 14, 17, .66);
    --grid-dot: rgba(255,255,255,.06);
    --map-filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.95);
    --logo-dark-display: block;
    --logo-light-display: none;
    --brand: #e0142a;
    --brand-hi: #ff2e44;
  }
}
:root[data-theme="dark"] {
  --bg: #09090b;
  --bg-2: #101013;
  --surface: #131317;
  --surface-2: #1a1a1f;
  --elev: #1d1d23;
  --text: #f4f4f6;
  --text-2: #cfd0d6;
  --muted: #9396a0;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -10px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.4), 0 40px 80px -24px rgba(0,0,0,.8);
  --glass: rgba(14, 14, 17, .66);
  --grid-dot: rgba(255,255,255,.06);
  --map-filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.95);
  --logo-dark-display: block;
  --logo-light-display: none;
  --brand: #e0142a;
  --brand-hi: #ff2e44;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 700; color: var(--text); }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--bg-2); }
.center { text-align: center; }

.ico { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--fill { fill: currentColor; stroke: none; }

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--hy { color: var(--hy); }
.h-xl { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -.025em; }
.h-lg { font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -.02em; }
.h-md { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--text-2); max-width: 62ch; }
.muted { color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-head .lead { margin-inline: inherit; }
.section-head.center .lead { margin-inline: auto; }
.text-grad {
  background: linear-gradient(100deg, var(--brand) 0%, #ff5a4f 35%, var(--brand) 60%, #ff5a4f 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 6s linear infinite;
}
.text-grad--hy { background-image: linear-gradient(100deg, var(--hy) 0%, #7fdcff 35%, var(--hy) 60%, #7fdcff 100%); }
@keyframes gradShift { to { background-position: -250% 0; } }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .04em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s;
  box-shadow: 0 10px 30px -12px var(--brand-glow);
  white-space: nowrap;
}
.btn::after { /* sheen */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px var(--brand-glow); }
.btn:hover::after { transform: translateX(120%); }
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover .ico--arrow { transform: translateX(4px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.btn--light { --btn-bg: #fff; --btn-fg: #111; box-shadow: 0 10px 30px -12px rgba(0,0,0,.4); }
.btn--glass { --btn-bg: rgba(255,255,255,.1); --btn-fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); backdrop-filter: blur(10px); }
.btn--glass:hover { --btn-bg: rgba(255,255,255,.18); }
.btn--hy { --btn-bg: var(--hy); box-shadow: 0 10px 30px -12px var(--hy-glow); }
.btn--hy:hover { box-shadow: 0 18px 40px -14px var(--hy-glow); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--brand); }
.link-arrow .ico { transition: transform .35s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* ---------- header ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), #ff6a4f); }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: transform .5s var(--ease), background-color .4s, box-shadow .4s, color .4s;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--glass); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
  opacity: 1; transition: opacity .4s;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.brand .logo-on-dark { display: var(--logo-dark-display); }
.brand .logo-on-light { display: var(--logo-light-display); }

/* overlay header on hero pages */
.has-overlay .site-header:not(.is-scrolled) { color: #fff; }
.has-overlay .site-header:not(.is-scrolled)::before { opacity: 0; }
.has-overlay .site-header:not(.is-scrolled) .logo-on-dark { display: block; }
.has-overlay .site-header:not(.is-scrolled) .logo-on-light { display: none; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px; letter-spacing: .02em; white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.nav-link:hover, .nav-item:focus-within > .nav-link { background: color-mix(in srgb, currentColor 9%, transparent); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--brand);
}
.nav-link--hy { color: var(--hy); }
.nav-link--hy:hover { text-shadow: 0 0 18px var(--hy-glow); }
.nav-item { position: relative; }
.nav-item .chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav-item:hover .chev, .nav-item.is-open .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 230px;
  padding: 8px; border-radius: 18px; list-style: none; margin: 0;
  background: var(--elev); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.98); transform-origin: top center;
  transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-item:hover .dropdown, .nav-item.is-open .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s;
}
.dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; font-weight: 600; font-size: 14.5px; transition: background-color .2s, padding .3s var(--ease); }
.dropdown a:hover { background: var(--surface-2); padding-left: 18px; }
.dropdown a .ico { opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); color: var(--brand); }
.dropdown a:hover .ico { opacity: 1; transform: none; }
.dropdown hr { border: 0; border-top: 1px solid var(--line); margin: 6px 8px; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 22%, transparent); transition: box-shadow .3s, background-color .3s; }
.header-phone:hover { background: var(--brand); color: #fff; box-shadow: none; }

/* theme toggle */
.theme-toggle {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 22%, transparent);
  transition: box-shadow .3s, transform .5s var(--ease);
}
.theme-toggle:hover { transform: rotate(15deg); box-shadow: inset 0 0 0 1.5px currentColor; }
.theme-toggle svg { width: 22px; height: 22px; overflow: visible; }
.theme-toggle .sun-core { transition: transform .6s var(--ease); transform-origin: center; transform-box: fill-box; }
.theme-toggle .sun-rays { transition: transform .6s var(--ease), opacity .4s; transform-origin: 12px 12px; }
.theme-toggle .moon-mask { transition: transform .6s var(--ease); }
:root[data-scheme="dark"] .theme-toggle .sun-core { transform: scale(1.75); }
:root[data-scheme="dark"] .theme-toggle .sun-rays { transform: rotate(-90deg) scale(.4); opacity: 0; }
:root[data-scheme="dark"] .theme-toggle .moon-mask { transform: translate(5px, -5px); }
.theme-toggle .moon-mask { transform: translate(14px, -14px); }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 22%, transparent); }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95; padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  background: var(--bg); overflow-y: auto;
  clip-path: circle(0 at calc(100% - 44px) 38px);
  transition: clip-path .7s var(--ease-in-out), visibility 0s .7s; visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; transition-delay: 0s; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu > ul > li { opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + .15s); border-bottom: 1px solid var(--line); }
.menu-open .mobile-menu > ul > li { opacity: 1; transform: none; }
.mobile-menu a.m-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 6vw, 2rem); }
.mobile-menu .m-sub { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; }
.mobile-menu .m-sub a { padding: 8px 14px; border-radius: 999px; background: var(--surface-2); font-weight: 600; font-size: 14px; }
.mobile-menu .m-contact { margin-top: 28px; display: grid; gap: 10px; color: var(--text-2); }
.mobile-menu .m-contact a { display: flex; gap: 10px; align-items: center; }
body.menu-open { overflow: hidden; }
.menu-open .site-header { color: var(--text) !important; }
.menu-open .site-header::before { opacity: 0 !important; }
.menu-open .site-header .logo-on-dark { display: var(--logo-dark-display) !important; }
.menu-open .site-header .logo-on-light { display: var(--logo-light-display) !important; }

@media (max-width: 1520px) {
  .header-phone span { display: none; }
  .header-phone { padding: 0; width: 44px; height: 44px; justify-content: center; }
}
@media (max-width: 1380px) { .nav-link { padding: 10px 9px; font-size: 14px; } }
@media (max-width: 1240px) {
  .nav > ul { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 60px) 0 clamp(40px, 7vh, 80px);
  background: #07070a;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 115%; object-fit: cover; object-position: center 40%; animation: kenburns 24s var(--ease-in-out) infinite alternate; will-change: transform; }
@keyframes kenburns { from { transform: scale(1.08) translate3d(0, 0, 0); } to { transform: scale(1.2) translate3d(-2%, -2%, 0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 60% at 15% 100%, rgba(192, 1, 19, .45), transparent 60%),
    linear-gradient(180deg, rgba(7,7,10,.55) 0%, rgba(7,7,10,.25) 35%, rgba(7,7,10,.85) 78%, #07070a 100%);
}
.hero::after { /* grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 80px); align-items: end; width: 100%; }
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 6.4rem); line-height: .95; letter-spacing: -.03em; margin-bottom: 26px; color: #fff; }
.hero .lead { color: rgba(255,255,255,.82); margin-bottom: 34px; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--brand); }
.hero-stats { display: grid; gap: 14px; }
.stat-glass {
  padding: 20px 22px; border-radius: 20px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: flex; align-items: center; gap: 18px;
  transition: transform .5s var(--ease), background-color .3s;
}
.stat-glass:hover { transform: translateX(-6px); background: rgba(255,255,255,.12); }
.stat-glass b { font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1; min-width: 3.2ch; }
.stat-glass span { color: rgba(255,255,255,.75); font-size: 14.5px; line-height: 1.35; }
.stat-glass.is-hy b { color: #56c8ff; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border-radius: 20px; border: 2px solid rgba(255,255,255,.45); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .stat-glass { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; }
  .stat-glass span { font-size: 12.5px; }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) { .hero-stats { grid-template-columns: 1fr 1fr; } .hero-stats > :last-child { grid-column: 1 / -1; } }

/* split-text word reveal (on load) */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.split .w > span { display: inline-block; transform: translateY(105%); animation: wordUp 1s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + var(--d, .15s)); }
@keyframes wordUp { to { transform: none; } }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, .5s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- page hero (inner) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px);
  background: var(--bg);
}
.page-hero::before { /* dot grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(var(--grid-dot) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 90% at 70% 0%, #000 30%, transparent 75%);
}
.page-hero .glow { position: absolute; z-index: -1; width: 620px; height: 620px; right: -120px; top: -260px; border-radius: 50%; background: radial-gradient(circle, var(--brand-glow), transparent 65%); filter: blur(20px); animation: drift 14s ease-in-out infinite alternate; }
.page-hero .glow.g2 { width: 420px; height: 420px; right: 30%; top: 40%; background: radial-gradient(circle, rgba(255,110,80,.18), transparent 65%); animation-duration: 18s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.15); } }
.page-hero h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); line-height: 1; letter-spacing: -.028em; margin-bottom: 18px; max-width: 16ch; }
.page-hero .lead { margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; list-style: none; margin: 0 0 26px; padding: 0; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.page-hero--hy .glow { background: radial-gradient(circle, var(--hy-glow), transparent 65%); }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease), clip-path 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal="blur"] { filter: blur(10px); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal="clip"] { transform: none; opacity: 1; clip-path: inset(12% 12% 12% 12% round var(--r-lg)); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0 round var(--r-lg)); }

/* ---------- bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(220px, auto); gap: 18px; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px);
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
  transform-style: preserve-3d;
}
.tile::before { /* spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--spot, var(--brand)) 16%, transparent), transparent 60%);
}
.tile:hover { box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 0; }
.tile p { color: var(--text-2); margin: 0; }
.tile .tile-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: #151518; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.tile .tile-ico img { width: 40px; height: 40px; }
.tile .tile-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 10px; }
.tile--sale { grid-column: span 7; grid-row: span 2; background: linear-gradient(160deg, #1a0205 0%, #0c0c0f 55%); color: #fff; border-color: rgba(255,255,255,.08); }
.tile--sale p { color: rgba(255,255,255,.75); }
.tile--sale strong, .tile--service strong, .tile--hy strong { color: #fff; }
.tile--sale .tile-bg { position: absolute; right: -8%; bottom: -6%; width: 78%; z-index: -1; opacity: .9; transition: transform 1s var(--ease); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.tile--sale:hover .tile-bg { transform: translateX(-3%) scale(1.03); }
.tile--order { grid-column: span 5; }
.tile--buy { grid-column: span 5; }
.tile--service { grid-column: span 6; background: #0f0f12; color: #fff; border-color: rgba(255,255,255,.08); }
.tile--service p { color: rgba(255,255,255,.72); }
.tile--hy {
  --spot: var(--hy);
  grid-column: span 6; color: #fff; border-color: rgba(0,158,227,.35);
  background:
    radial-gradient(70% 90% at 90% 10%, rgba(0,158,227,.75), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(0,158,227,.45), transparent 60%),
    linear-gradient(160deg, #0a4159, #06202d);
  background-size: 140% 140%; animation: hyBg 12s ease-in-out infinite alternate;
}
@keyframes hyBg { to { background-position: 100% 60%; } }
.tile--hy p { color: rgba(255,255,255,.82); }
.tile--hy .hy-logo { width: min(260px, 70%); }
.tile--hy .hy-car { position: absolute; right: -4%; bottom: 8%; width: 56%; z-index: -1; filter: drop-shadow(0 30px 30px rgba(0,0,0,.45)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.car-stack { display: flex; align-items: center; }
.car-stack img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 3px solid #111; margin-left: -14px; transition: transform .4s var(--ease), margin .4s var(--ease); }
.car-stack img:first-child { margin-left: 0; }
.tile:hover .car-stack img { margin-left: -6px; }
.tile:hover .car-stack img:first-child { margin-left: 0; }
.car-stack .more { margin-left: -12px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; border: 3px solid #111; }
@media (max-width: 1000px) {
  .tile--sale, .tile--order, .tile--buy, .tile--service, .tile--hy { grid-column: span 12; }
  .tile--sale { grid-row: auto; min-height: 420px; }
  .tile--hy { min-height: 360px; }
}
@media (min-width: 1001px) and (max-width: 1180px) { .tile--hy .hy-car { width: 48%; } }

/* ---------- marquee ---------- */
.marquee { --gap: 48px; display: flex; overflow: hidden; gap: var(--gap); user-select: none; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { flex: none; display: flex; align-items: center; gap: var(--gap); min-width: 100%; justify-content: space-around; animation: marquee var(--dur, 40s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--rev .marquee__track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }
.band { padding-block: 28px; border-block: 1px solid var(--line); background: var(--surface); }
.band .marquee__track span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.4rem); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; display: inline-flex; align-items: center; gap: var(--gap); }
.band .marquee__track span::after { content: ""; width: 12px; height: 12px; background: var(--brand); transform: rotate(45deg); border-radius: 2px; }
.band .marquee__track span:nth-child(3n+2) { -webkit-text-stroke: 1.2px var(--text); color: transparent; }

/* ---------- scrub text ---------- */
.scrub { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.9rem); line-height: 1.22; letter-spacing: -.012em; }
.scrub .sw { opacity: .16; transition: opacity .25s linear; }
.scrub .sw.on { opacity: 1; }
.no-js .scrub .sw { opacity: 1; }
.promo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.promo-grid .sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.promo-note { margin-top: 28px; padding: 22px 24px; border-left: 3px solid var(--brand); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; color: var(--text-2); }
@media (max-width: 900px) { .promo-grid { grid-template-columns: 1fr; } .promo-grid .sticky { position: static; } }

/* ---------- car cards ---------- */
.cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.car-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
  view-transition-class: car;
}
.car-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent, var(--brand)) 12%, transparent), transparent 60%);
}
.car-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent, var(--brand)) 40%, var(--line)); }
.car-card:hover::after { opacity: 1; }
.car-card.is-hybrid { --accent: var(--hy); }
.car-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.car-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.car-card:hover .car-card__media img { transform: scale(1.07); }
.car-card__media::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(0,0,0,.45)); pointer-events: none; }
.car-card__badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 8px; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: rgba(10,10,12,.7); color: #fff; backdrop-filter: blur(8px); }
.badge--hy { background: var(--hy); box-shadow: 0 6px 20px -6px var(--hy-glow); }
.badge--hy .ico { width: 13px; height: 13px; }
.badge--sold { background: #c00113; margin-left: auto; }
.badge--res { background: #f5a524; color: #111; }
.car-card__price-tag { position: absolute; right: 14px; bottom: 14px; z-index: 1; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.car-card__body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.car-card__title { font-size: 1.35rem; margin: 0 0 4px; }
.car-card__title a::before { content: ""; position: absolute; inset: 0; z-index: 3; }
.car-card__sub { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; min-height: 1.6em; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 0 0 20px; padding: 0; list-style: none; }
.specs li { display: flex; align-items: center; gap: 10px; font-size: 14px; min-width: 0; }
.specs li > span { min-width: 0; }
.specs .ico { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--surface-2); color: var(--accent, var(--brand)); stroke-width: 1.7; }
.specs small { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; line-height: 1.2; }
.specs b { display: block; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.car-card__price { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; }
.car-card__go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--bg); transition: transform .5s var(--ease), background-color .3s; }
.car-card__go .ico { transform: rotate(-45deg); transition: transform .5s var(--ease); }
.car-card:hover .car-card__go { background: var(--accent, var(--brand)); color: #fff; }
.car-card:hover .car-card__go .ico { transform: rotate(0); }
.car-card.is-sold .car-card__media img { filter: grayscale(.55) contrast(.95); }
.car-card[hidden] { display: none; }

/* toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 28px; padding: 10px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 10px); z-index: 20; box-shadow: var(--shadow); transition: top .5s var(--ease); }
.header-hidden .toolbar { top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--text-2); transition: color .3s, background-color .3s; }
.chip:hover { background: var(--surface-2); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.chip .n { margin-left: 6px; font-size: 12px; opacity: .6; }
.toolbar-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search { position: relative; }
.search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input, .select { height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); padding: 0 16px 0 40px; min-width: 220px; outline: none; transition: border-color .3s, box-shadow .3s; }
.select { padding: 0 38px 0 16px; min-width: 0; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; font-weight: 600; font-size: 14px; }
.search input:focus, .select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.result-count { font-size: 14px; color: var(--muted); font-weight: 600; padding-inline: 8px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); display: none; }
.empty-state.show { display: block; }
.load-more-wrap { text-align: center; margin-top: 40px; }
@media (max-width: 720px) {
  .toolbar { position: static; }
  .search input { min-width: 0; width: 100%; }
  .toolbar-right, .search { width: 100%; }
  .toolbar-right .select { flex: 1; }
}

::view-transition-group(.car) { animation-duration: .55s; animation-timing-function: var(--ease); }
::view-transition-new(.car):only-child { animation: vtIn .45s var(--ease) both; }
::view-transition-old(.car):only-child { animation: vtOut .3s ease both; }
@keyframes vtIn { from { opacity: 0; transform: scale(.9); } }
@keyframes vtOut { to { opacity: 0; transform: scale(.9); } }

/* ---------- generic cards / features ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  padding: clamp(24px, 2.6vw, 34px);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx) var(--my), color-mix(in srgb, var(--spot, var(--brand)) 13%, transparent), transparent 60%); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card .num { font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); display: block; margin-bottom: 16px; transition: color .5s, -webkit-text-stroke-color .5s; }
.card:hover .num { color: var(--brand); -webkit-text-stroke-color: var(--brand); }
.card .c-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); margin-bottom: 18px; transition: transform .6s var(--ease); }
.card .c-ico .ico { width: 26px; height: 26px; }
.card:hover .c-ico { transform: rotate(-8deg) scale(1.08); }

.svc-card { padding: 0; display: flex; flex-direction: column; }
.svc-card__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.08); }
.svc-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--surface) 90%, transparent)); }
.svc-card__body { padding: 8px 26px 28px; }
.svc-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--text-2); font-size: 15px; }
.svc-card li { display: flex; gap: 10px; align-items: flex-start; }
.svc-card li .ico { color: var(--brand); margin-top: 4px; width: 16px; height: 16px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checklist .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; margin-top: 1px; }
.checklist .tick .ico { width: 14px; height: 14px; stroke-width: 3; }
.checklist.one { grid-template-columns: 1fr; }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }

.feature-split { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.feature-split__media { position: relative; min-height: 360px; overflow: hidden; }
.feature-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-split__body { padding: clamp(28px, 4.5vw, 64px); }
.feature-split__body h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
@media (max-width: 860px) { .feature-split { grid-template-columns: 1fr; } .feature-split__media { min-height: 240px; } }

/* parallax image (scroll-driven where supported) */
.parallax-img { overflow: hidden; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .parallax-img img { height: 120% !important; top: -10% !important; animation: parallaxY linear both; animation-timeline: view(); }
    @keyframes parallaxY { from { transform: translateY(-8%); } to { transform: translateY(8%); } }
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 80px); color: #fff; text-align: center;
  background: radial-gradient(90% 140% at 50% 120%, #ff3b3b 0%, var(--brand) 40%, #5e0009 100%);
}
.cta-band::before { content: ""; position: absolute; inset: -50%; z-index: -1; background: conic-gradient(from 0deg, transparent 0 70%, rgba(255,255,255,.18) 80%, transparent 90%); animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.2px); background-size: 20px 20px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); }
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 30px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- reviews / photos ---------- */
.reviews-card { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.reviews-card .stars { display: flex; gap: 4px; color: #f5b301; }
.reviews-card .stars .ico { width: 28px; height: 28px; }
.reviews-card .stars .ico:nth-child(n) { animation: starPop .6s var(--ease) both; animation-delay: calc(var(--i) * 90ms + .2s); }
.reviews-card h3 { margin: 0 0 4px; font-size: 1.4rem; }
.reviews-card p { margin: 0; color: var(--muted); }
@keyframes starPop { from { transform: scale(0) rotate(-40deg); opacity: 0; } }
@media (max-width: 760px) { .reviews-card { grid-template-columns: 1fr; text-align: left; } }
.polaroids { padding-block: 36px 20px; --gap: 28px; }
.polaroid { flex: none; width: clamp(220px, 24vw, 300px); padding: 12px 12px 46px; background: #fff; border-radius: 6px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.45); transform: rotate(var(--r, -2deg)); transition: transform .5s var(--ease); position: relative; }
.polaroid:nth-child(odd) { --r: 2.5deg; }
.polaroid:nth-child(3n) { --r: -3.5deg; }
.polaroid:hover { transform: rotate(0) scale(1.06); z-index: 2; }
.polaroid img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: 2px; }
.polaroid::after { content: "AM zone ♥"; position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-family: "Caveat", cursive; font-size: 22px; color: #333; }

.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.partners .plate { background: #fff; border-radius: var(--r-lg); padding: 18px 24px; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .5s var(--ease), box-shadow .5s; }
.partners .plate:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.partners img { max-height: 170px; width: auto; }
@media (max-width: 760px) { .partners { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; }
.contact-card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow); }
.contact-card .c-ico { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px var(--brand-glow); }
.contact-card .c-ico .ico { width: 24px; height: 24px; }
.contact-card small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact-card b { font-family: var(--font-display); font-size: 1.12rem; word-break: break-word; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.person { position: relative; padding: 26px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.avatar { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 16px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--brand), #6e0610); position: relative; transition: border-radius .5s var(--ease), transform .5s var(--ease); }
.person:hover .avatar { border-radius: 50%; transform: rotate(-6deg); }
.person:nth-child(3n+2) .avatar { background: linear-gradient(135deg, #2b2b33, #0d0d10); }
.person:nth-child(4n+3) .avatar { background: linear-gradient(135deg, #ff5a4f, var(--brand)); }
.person .role { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); font-weight: 700; margin-bottom: 4px; }
.person h4 { font-size: 1.15rem; margin-bottom: 12px; font-family: var(--font-display); }
.person a { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); padding: 2px 0; word-break: break-all; transition: color .2s; }
.person a:hover { color: var(--brand); }
.person a .ico { width: 15px; height: 15px; color: var(--muted); }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .team { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .team .person { scroll-snap-align: start; }
}

.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 56px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); margin-top: 22px; }
.form-wrap .hours { margin-top: 26px; display: grid; gap: 10px; }
.form-wrap .hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-radius: 12px; background: var(--surface-2); font-size: 14.5px; }
.form-wrap .hours b { font-family: var(--font-display); }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 24px 18px 10px; border-radius: 14px;
  border: 1.5px solid var(--line-2); background: var(--surface-2);
  outline: none; transition: border-color .3s, box-shadow .3s, background-color .3s;
  appearance: none;
}
.field select { padding: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 19px; top: 17px; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), color .3s, font-size .3s; transform-origin: left top; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 14%, transparent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.78); color: var(--brand); font-weight: 700; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #e5484d; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form .btn { justify-self: start; }
.form-note { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 22px; height: 420px; position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; filter: var(--map-filter); transition: filter .6s; }
.map .map-pin { position: absolute; left: 20px; bottom: 20px; padding: 14px 18px; border-radius: 16px; background: var(--glass); backdrop-filter: blur(14px); border: 1px solid var(--line); font-weight: 700; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); }
.map .map-pin .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 var(--brand-glow); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 14px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: #070709; color: #d9dae0; padding-top: clamp(64px, 8vw, 110px); isolation: isolate; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: -300px; width: 900px; height: 600px; margin-left: -450px; background: radial-gradient(closest-side, rgba(192,1,19,.35), transparent); z-index: -1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h5 { color: #fff; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer .f-brand img { height: 34px; width: auto; margin-bottom: 20px; }
.site-footer .f-brand p { color: #9a9ca5; max-width: 38ch; }
.site-footer .f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer .f-contact .ico { margin-top: 4px; color: var(--brand); }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(255,255,255,.1); padding-bottom: 8px; }
.hours-list b { color: #fff; font-weight: 600; text-align: right; white-space: nowrap; }
.hours-list span { min-width: 0; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: background-color .3s, transform .4s var(--ease), box-shadow .3s; }
.socials a:hover { background: var(--brand); box-shadow: none; transform: translateY(-3px); }
.footer-mega { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 17vw, 16rem); line-height: .8; letter-spacing: -.04em; margin-top: 60px; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); user-select: none; white-space: nowrap; background: linear-gradient(180deg, rgba(255,255,255,.12), transparent 80%); -webkit-background-clip: text; background-clip: text; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: #8b8d96; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--elev); color: var(--text); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px) scale(.8); transition: opacity .4s, transform .5s var(--ease); pointer-events: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--brand); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: calc(151 - 151 * var(--p, 0)); stroke-linecap: round; }
.to-top .ico { width: 20px; height: 20px; transform: rotate(-90deg); }
.to-top:hover .ico { animation: nudge .6s var(--ease); }
@keyframes nudge { 50% { transform: rotate(-90deg) translateX(4px); } }

/* ---------- car detail ---------- */
.detail { padding-top: calc(var(--header-h) + 36px); }
.detail-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 40px; margin-bottom: 28px; }
.detail-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 0; letter-spacing: -.025em; }
.detail-head .sub { color: var(--muted); font-size: 1.15rem; margin: 6px 0 0; }
.detail-head .price { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.8rem); color: var(--brand); line-height: 1; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
@media (max-width: 1060px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-layout > .detail-main { display: contents; }
  .detail-layout .gallery { order: 1; } .detail-layout .aside-sticky { order: 2; position: static; } .detail-layout .panels { order: 3; margin-top: 0; }
}

.gallery { position: relative; }
.gallery__stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); cursor: zoom-in; }
.gallery__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform 1s var(--ease); }
.gallery__stage img.is-active { opacity: 1; transform: none; }
.gallery__nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); backdrop-filter: blur(10px); color: var(--text); box-shadow: var(--shadow); z-index: 2; transition: transform .4s var(--ease), background-color .3s; }
.gallery__nav:hover { background: var(--brand); color: #fff; transform: scale(1.08); }
.gallery__nav.prev { left: 16px; } .gallery__nav.next { right: 16px; }
.gallery__nav.prev .ico { transform: rotate(180deg); }
.gallery__count { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 7px 14px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 14px; backdrop-filter: blur(8px); }
.gallery__zoom { position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.6); color: #fff; }
.gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 14px 2px 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.gallery__thumbs button { flex: none; width: 104px; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; opacity: .55; transition: opacity .3s, transform .4s var(--ease), box-shadow .3s; scroll-snap-align: start; }
.gallery__thumbs button:hover { opacity: .9; }
.gallery__thumbs button.is-active { opacity: 1; box-shadow: 0 0 0 2.5px var(--brand); transform: translateY(-2px); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5,5,7,.94); color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox[open] { display: grid; place-items: center; animation: lbIn .4s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: 12px; animation: lbImg .5s var(--ease); }
@keyframes lbImg { from { transform: scale(.94); opacity: 0; } }
.lightbox .lb-close { position: absolute; top: 18px; right: 18px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; }
.lightbox .gallery__nav { background: rgba(255,255,255,.12); color: #fff; }
.lightbox .lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); }

.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.panel { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.panel h2 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; margin-bottom: 16px; }
.panel h2 .p-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.panel dl { margin: 0; display: grid; gap: 0; }
.panel dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.panel dl div:last-child { border-bottom: 0; }
.panel dt { color: var(--muted); }
.panel dd { margin: 0; font-weight: 700; text-align: right; word-break: break-word; }
.panel--wide { grid-column: 1 / -1; }
.equip { display: flex; flex-wrap: wrap; gap: 8px; max-height: 250px; overflow: hidden; position: relative; transition: max-height .8s var(--ease); }
.equip.open { max-height: 3000px; }
.equip:not(.open)::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(transparent, var(--surface)); }
.equip span { padding: 8px 14px; border-radius: 999px; background: var(--surface-2); font-size: 14px; font-weight: 600; border: 1px solid var(--line); }
.equip-toggle { margin-top: 16px; }
@media (max-width: 700px) { .panels { grid-template-columns: 1fr; } }

.aside-sticky { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; transition: top .5s var(--ease); }
.header-hidden .aside-sticky { top: 20px; }
.buy-box { padding: 28px; border-radius: var(--r-lg); background: #0e0e11; border: 1px solid rgba(255,255,255,.08); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.buy-box::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, var(--brand-glow), transparent 70%); z-index: -1; animation: drift 10s ease-in-out infinite alternate; }
.buy-box .label { color: rgba(255,255,255,.6); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.buy-box .big { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1.1; margin: 4px 0 6px; }
.buy-box p { color: rgba(255,255,255,.72); }
.buy-box a.fin { color: #fff; text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 4px; }
.buy-box .btn { width: 100%; }
.buy-box .btn + .btn { margin-top: 10px; }
.quick-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-specs div { padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.quick-specs small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.quick-specs b { font-family: var(--font-display); font-size: 1.05rem; }
.sold-banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 16px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-weight: 700; margin-bottom: 20px; border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); }

/* ---------- hybrid zone ---------- */
.hy-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(56px, 8vw, 110px); background: #041620; }
.hy-hero .blob { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; opacity: .85; mix-blend-mode: screen; }
.hy-hero .b1 { width: 60vw; height: 60vw; max-width: 780px; max-height: 780px; left: -15%; top: -40%; background: radial-gradient(circle, #009ee3, transparent 65%); animation: blobA 16s ease-in-out infinite alternate; }
.hy-hero .b2 { width: 50vw; height: 50vw; max-width: 640px; max-height: 640px; right: -10%; bottom: -40%; background: radial-gradient(circle, #0a6d9a, transparent 65%); animation: blobB 20s ease-in-out infinite alternate; }
.hy-hero .b3 { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; right: 30%; top: 10%; background: radial-gradient(circle, rgba(127,220,255,.6), transparent 65%); animation: blobA 12s ease-in-out infinite alternate-reverse; }
@keyframes blobA { to { transform: translate(18%, 22%) scale(1.2); } }
@keyframes blobB { to { transform: translate(-20%, -18%) scale(1.15); } }
.hy-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); }
.hy-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hy-hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.6rem); line-height: .95; letter-spacing: -.03em; color: #fff; }
.hy-hero .lead { color: rgba(255,255,255,.8); }
.hy-hero .breadcrumb { color: rgba(255,255,255,.6); }
.hy-visual { position: relative; }
.hy-visual .hy-logo { width: min(420px, 90%); margin: 0 auto 10px; filter: drop-shadow(0 10px 40px rgba(0,158,227,.5)); }
.hy-visual .hy-car { width: 100%; animation: floaty 6s ease-in-out infinite; filter: drop-shadow(0 40px 40px rgba(0,0,0,.5)); }
.hy-visual .road { position: absolute; left: 5%; right: 5%; bottom: 2%; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); animation: shadowPulse 6s ease-in-out infinite; }
@keyframes shadowPulse { 50% { transform: scaleX(.85); opacity: .6; } }
.energy { position: absolute; inset: 0; pointer-events: none; }
.energy path { fill: none; stroke: url(#eg); stroke-width: 2; stroke-dasharray: 12 16; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -56; } }
.hy-stat { display: inline-flex; gap: 16px; align-items: center; margin-top: 34px; padding: 18px 24px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); }
.hy-stat b { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: #7fdcff; }
.hy-stat a { color: #fff; text-decoration: underline; text-decoration-color: var(--hy); text-underline-offset: 4px; }
@media (max-width: 900px) { .hy-hero-grid { grid-template-columns: 1fr; } }

.hy-page { --brand: var(--hy); --brand-glow: var(--hy-glow); }
.hy-page .eyebrow { color: var(--hy); }

.accordion { display: grid; gap: 12px; }
.acc { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, box-shadow .4s; }
.acc[open] { border-color: color-mix(in srgb, var(--hy) 50%, var(--line)); box-shadow: 0 20px 40px -24px var(--hy-glow); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); position: relative; transition: background-color .3s, transform .5s var(--ease); }
.acc summary .pm::before, .acc summary .pm::after { content: ""; position: absolute; width: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease); }
.acc summary .pm::after { transform: rotate(90deg); }
.acc[open] summary .pm { background: var(--hy); color: #fff; transform: rotate(180deg); }
.acc[open] summary .pm::after { transform: rotate(0); }
.acc::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.acc[open]::details-content { block-size: auto; }
.acc .acc-body { padding: 0 24px 24px; color: var(--text-2); }
.acc dl { margin: 12px 0; display: grid; gap: 12px; }
.acc dt { font-family: var(--font-display); font-weight: 700; color: var(--text); }
.acc dd { margin: 0; }
.modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mode { padding: 16px; border-radius: 14px; background: var(--surface-2); }
.mode b { font-family: var(--font-display); font-size: 1.3rem; color: var(--hy); display: block; margin-bottom: 6px; }
.mode ul { margin: 0; padding-left: 18px; font-size: 14.5px; }
.tech-img { border-radius: var(--r-lg); background: #eef6fb; padding: 10px; margin-top: 24px; border: 1px solid var(--line); }

/* ---------- blog ---------- */
.post-card { padding: 0; display: flex; flex-direction: column; }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.07); }
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 12px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--hy); color: #fff; font-size: 12px; font-weight: 700; }
.post-card h3 a::before { content: ""; position: absolute; inset: 0; }
.post-card .link-arrow { margin-top: auto; }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 72px); }
.article-body { font-size: 1.08rem; line-height: 1.8; color: var(--text-2); }
.article-body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--text); margin-top: 2em; }
.article-body h3 { font-size: 1.3rem; color: var(--text); margin-top: 1.6em; }
.article-body ul { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.article-body ul li { position: relative; padding: 14px 18px 14px 48px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.article-body ul li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 12px; height: 12px; border-radius: 3px; background: var(--brand); transform: rotate(45deg); }
.article-body .lede { font-size: 1.25rem; color: var(--text); font-weight: 500; }
.article-hero-img { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 36px; aspect-ratio: 16/9; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-box { position: sticky; top: calc(var(--header-h) + 20px); padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .sidebar-box { position: static; } }

/* ---------- legal ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.toc { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { padding: 8px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14.5px; color: var(--muted); font-weight: 600; transition: color .2s, border-color .3s; }
.toc a.active, .toc a:hover { color: var(--text); border-color: var(--brand); }
.prose { font-size: 1.05rem; line-height: 1.8; color: var(--text-2); max-width: 75ch; }
.prose h2 { font-size: 1.5rem; color: var(--text); margin-top: 1.8em; padding-top: .4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; color: var(--text); margin-top: 1.4em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--brand); }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- tiers / table ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tier { --metal: #d4af37; position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); padding: 32px; background: var(--surface); border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tier::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--metal), #fff8, var(--metal)); background-size: 200% 100%; animation: gradShift 4s linear infinite; }
.tier::after { content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--metal) 35%, transparent), transparent 70%); z-index: -1; transition: transform .8s var(--ease); }
.tier:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: var(--shadow-lg); }
.tier:hover::after { transform: scale(1.5); }
.tier h3 { font-size: 2rem; background: linear-gradient(120deg, var(--metal), color-mix(in srgb, var(--metal) 50%, #fff), var(--metal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier--silver { --metal: #a8b0b8; }
.tier--bronze { --metal: #c07a3c; }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tier li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.tier li .ico { color: var(--metal); }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; min-width: 620px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp th { font-family: var(--font-display); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; background: var(--surface-2); position: sticky; top: 0; }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp tbody tr { transition: background-color .2s; }
.cmp tbody tr:hover { background: var(--surface-2); }
.yes, .no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.yes { background: color-mix(in srgb, #1fae5b 16%, transparent); color: #1fae5b; }
.no { background: color-mix(in srgb, var(--muted) 14%, transparent); color: var(--muted); }
.yes .ico, .no .ico { width: 16px; height: 16px; stroke-width: 2.6; }

/* ---------- off-road ---------- */
.offroad { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 40px) 0 60px; }
.offroad .ghost { position: absolute; right: -4vw; bottom: -6vw; font-family: var(--font-display); font-weight: 800; font-size: clamp(12rem, 38vw, 34rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--line-2); z-index: -1; user-select: none; animation: ghostIn 1.6s var(--ease) both; }
@keyframes ghostIn { from { opacity: 0; transform: translateY(80px); } }
.offroad .stripe { position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: repeating-linear-gradient(-45deg, var(--brand) 0 14px, transparent 14px 28px); animation: stripeMove 1s linear infinite; background-size: 40px 40px; }
@keyframes stripeMove { to { background-position: 0 40px; } }
.offroad h1 { font-size: clamp(3.2rem, 10vw, 8rem); line-height: .9; letter-spacing: -.03em; margin-bottom: 26px; }
.offroad h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--text); }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); animation: ping 1.8s infinite; box-shadow: 0 0 0 0 var(--brand-glow); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14px; margin-bottom: 26px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; max-width: 900px; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; } .mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 18px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.divider { height: 1px; background: var(--line); margin-block: 48px; }

/* ---------- theme switch view transition ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.theme-vt::view-transition-new(root) { animation: themeReveal .7s var(--ease-in-out); }
@keyframes themeReveal { from { clip-path: circle(0 at var(--tx, 50%) var(--ty, 0)); } to { clip-path: circle(var(--tr, 150vmax) at var(--tx, 50%) var(--ty, 0)); } }

/* cross-document page transitions */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  :root:not(.theme-vt)::view-transition-old(root) { animation: pageOut .35s var(--ease) both; }
  :root:not(.theme-vt)::view-transition-new(root) { animation: pageIn .55s var(--ease) both; }
  @keyframes pageOut { to { opacity: 0; transform: translateY(-12px); } }
  @keyframes pageIn { from { opacity: 0; transform: translateY(18px); } }
  ::view-transition-group(car-hero) { animation-duration: .6s; animation-timing-function: var(--ease); }
  ::view-transition-group(site-header) { animation: none; }
}
.site-header { view-transition-name: site-header; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; clip-path: none; }
  .split .w > span { transform: none; }
  .fade-up { opacity: 1; transform: none; }
  .scrub .sw { opacity: 1; }
  .marquee__track { animation: none; }
}

.acc-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 860px) { .acc-sticky { position: static; } }
.sold-banner a { text-decoration: underline; text-underline-offset: 3px; }
.sold-banner .ico { margin-top: 3px; }
