/* RS Racing Wheels & Battery
   Palette: black + the brand amber #FEB43F, chrome for the metal.
   Type: Barlow Condensed (display, italic 800/900) + Barlow (body). */

:root {
  --black: #000000;
  --ink: #050505;
  --coal: #111111;
  --slate: #1a1a1a;
  --line: #262626;
  --smoke: #8a8f98;
  --chrome: #c9ccd1;
  --bone: #f7f5f0;
  --amber: #feb43f;
  --amber-deep: #d98a12;
  --amber-pale: #ffe3ad;
  --amber-glow: rgba(254, 180, 63, 0.45);

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;

  --step--1: clamp(0.875rem, 0.84rem + 0.2vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.35rem + 1.2vw, 2.25rem);
  --step-3: clamp(2.2rem, 1.6rem + 2.8vw, 3.6rem);
  --step-4: clamp(2.9rem, 1.6rem + 5vw, 5rem);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: var(--step-4); font-style: italic; font-weight: 900; }
h2 { font-size: var(--step-3); font-style: italic; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--black); padding: 8px 14px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }
.lede { font-size: var(--step-1); color: var(--chrome); line-height: 1.4; }
.muted { color: var(--smoke); }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--bone); --bd: var(--line);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  border-radius: var(--radius);
  font: 600 var(--step-0)/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform 220ms var(--ease-out), background 220ms, border-color 220ms, box-shadow 220ms;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--amber { --bg: var(--amber); --fg: var(--black); --bd: var(--amber); box-shadow: 0 0 0 0 var(--amber-glow); }
.btn--amber:hover { --bg: var(--amber-pale); --bd: var(--amber-pale); box-shadow: 0 10px 30px -8px var(--amber-glow); }
.btn--ghost:hover { --bd: var(--chrome); }
.btn--text { border-color: transparent; padding-inline: 4px; color: var(--amber); }
.btn--text:hover { color: var(--amber-pale); }
.btn--lg { min-height: 58px; padding-inline: 30px; font-size: var(--step-1); font-family: var(--font-display); font-weight: 800; letter-spacing: 0.01em; }

/* ---------- Announcement + header ---------- */
.announce {
  display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--amber); color: var(--black);
  padding: 8px var(--gutter); font-size: var(--step--1); font-weight: 500; text-align: center;
}
.announce p { margin: 0; }
.announce a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid currentColor; }
.announce a svg { width: 16px; height: 16px; }
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 5, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; gap: 20px; list-style: none; }
.site-nav ul a { text-decoration: none; font-weight: 500; color: var(--chrome); padding: 8px 0; position: relative; white-space: nowrap; }
.site-nav ul a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--amber); transition: right 260ms var(--ease-out); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current]::after { right: 0; }
.site-nav ul a[aria-current] { color: var(--bone); }
.site-nav__cta { display: flex; gap: 10px; }
.site-nav__cta .btn { min-height: 42px; padding-inline: 14px; font-size: var(--step--1); white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 861px) { .site-nav__cta .btn--ghost { display: none; } }
.burger { display: none; background: none; border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--bone); width: 46px; height: 46px; padding: 0; cursor: pointer; place-items: center; }
.burger svg { width: 24px; height: 24px; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

/* ---------- Logo: the real RS badge, lit ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bone); }
.logo__badge { position: relative; width: 52px; height: 52px; flex: none; }
.logo__badge img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 6px rgba(254, 180, 63, 0.55)) drop-shadow(0 0 18px rgba(254, 180, 63, 0.35)); animation: badgeGlow 3.2s ease-in-out infinite; }
.logo__sparkles { position: absolute; inset: -14%; width: 128%; height: 128%; overflow: visible; pointer-events: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: 'Montserrat', var(--font-body); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.logo__name small { font-size: 0.72em; font-weight: 700; color: var(--chrome); letter-spacing: 0.06em; }
.logo__cn { font-weight: 600; font-size: 0.7rem; letter-spacing: 0.28em; color: var(--amber); margin-top: 3px; white-space: nowrap; }
.logo--sm .logo__badge { width: 44px; height: 44px; }
.logo--sm .logo__name { font-size: 0.78rem; }
.logo--sm .logo__cn { font-size: 0.68rem; }
.sparkle { transform-box: fill-box; transform-origin: center; opacity: 0; animation: sparkle 4s ease-in-out infinite; }
.sparkle.s2 { animation-delay: 0.8s; }
.sparkle.s3 { animation-delay: 1.6s; }
.sparkle.s4 { animation-delay: 2.5s; }
.sparkle.s5 { animation-delay: 3.2s; }
@keyframes badgeGlow {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(254, 180, 63, 0.45)) drop-shadow(0 0 14px rgba(254, 180, 63, 0.25)); }
  50% { filter: drop-shadow(0 0 8px rgba(255, 214, 128, 0.9)) drop-shadow(0 0 26px rgba(254, 180, 63, 0.55)); }
}
@keyframes sparkle { 0%, 72%, 100% { opacity: 0; transform: scale(0.1) rotate(0deg); } 82% { opacity: 1; transform: scale(1.15) rotate(40deg); } 92% { opacity: 0.5; transform: scale(0.6) rotate(80deg); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 7vw, 96px) 0 0;
  background:
    radial-gradient(900px 500px at 78% 30%, rgba(254, 180, 63, 0.16), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(254, 180, 63, 0.06), transparent 60%),
    var(--ink);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; position: relative; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--amber); font-weight: 600; font-size: var(--step--1); margin-bottom: 20px; }
.hero__eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--amber); }
.hero h1 { margin-bottom: 20px; }
.hero h1 .line { display: block; }
.hero h1 .line--chrome { color: transparent; -webkit-text-stroke: 1.5px var(--chrome); }
.hero .lede { margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--smoke); font-size: var(--step--1); list-style: none; }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--amber); }
.hero__visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.hero__strip { position: relative; margin-top: clamp(28px, 5vw, 64px); height: 230px; border-top: 1px solid var(--line); overflow: hidden; }
.hero__strip::after { content: ''; position: absolute; left: 0; right: 0; bottom: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--amber) 30%, var(--amber) 70%, transparent); opacity: 0.6; }
.hero__road { position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: repeating-linear-gradient(90deg, var(--amber) 0 48px, transparent 48px 96px); background-size: 96px 2px; background-repeat: repeat-x; background-position: 0 50%; opacity: 0.35; animation: road 1.2s linear infinite; }
@keyframes road { to { background-position: -96px 50%; } }

/* Rim: real bronze photo. The barrel and lip stay put; only the spoke face
   (unwarped to a circle, then squashed back to the photo's ellipse) spins
   about its own axis. Back halo, god rays, sweep and glints sit around it. */
.rim-stage { perspective: 1400px; width: min(100%, 540px); aspect-ratio: 1; }
.rim-tilt { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(4deg) rotateY(-8deg); transition: transform 600ms var(--ease-out); will-change: transform; }
.rim-glow { position: absolute; inset: 8% 4% -2% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(254,180,63,0.42), rgba(254,180,63,0.12) 55%, transparent 72%); filter: blur(30px); transform: translateZ(-140px) translateY(30px); }
.rim-fx { position: absolute; left: 47%; top: 51%; width: 100%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.rim-fx::after { content: ''; position: absolute; left: 50%; top: 50%; width: 92%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255,250,232,0.55) 0%, rgba(255,226,150,0.42) 18%, rgba(254,180,63,0.28) 34%, rgba(214,140,40,0.12) 52%, transparent 70%);
  filter: blur(14px); opacity: 0.8; animation: rimBreath 8.5s ease-in-out infinite; }
.rim-fx::before { content: ''; position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(255,214,140,0.16) 0deg 1.4deg, transparent 1.4deg 7.5deg),
    conic-gradient(from 0deg, transparent 0 6%, rgba(255,226,160,0.42) 11%, transparent 17%, transparent 22%, rgba(254,190,80,0.32) 28%, transparent 35%, transparent 44%, rgba(255,240,200,0.38) 50%, transparent 56%, transparent 63%, rgba(254,180,63,0.3) 70%, transparent 77%, transparent 84%, rgba(255,220,150,0.36) 90%, transparent 96%);
  -webkit-mask-image: radial-gradient(closest-side, transparent 22%, #000 34%, rgba(0,0,0,0.55) 62%, transparent 96%); mask-image: radial-gradient(closest-side, transparent 22%, #000 34%, rgba(0,0,0,0.55) 62%, transparent 96%);
  opacity: 0.85; animation: rimRays 46s linear infinite; }
@keyframes rimRays { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes rimBreath { 0%, 100% { filter: blur(14px) brightness(0.92); } 50% { filter: blur(18px) brightness(1.1); } }
.rim-spin { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 40px 36px rgba(0,0,0,0.75)) drop-shadow(0 0 18px rgba(254,170,60,0.22)); }
.rim-img { width: 100%; height: 100%; display: block; }
/* face ellipse in the 1024 photo: centre 482,524; semi-axes 272 x 318 */
.rim-face { position: absolute; left: calc((482 - 318) / 1024 * 100%); top: calc((524 - 318) / 1024 * 100%); width: calc(636 / 1024 * 100%); aspect-ratio: 1; transform: scaleX(0.8553); }
.rim-face img { display: block; width: 100%; height: 100%; border-radius: 50%; will-change: transform; }
.is-loaded .rim-face img { animation: faceSpinIn 2.8s cubic-bezier(.2,.7,.2,1) 0.2s 1 both, faceSpin 14s linear 3s infinite; }
@keyframes faceSpinIn { from { transform: rotate(-540deg); } to { transform: rotate(0deg); } }
@keyframes faceSpin { to { transform: rotate(360deg); } }
.rim-shine { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0.8;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0) 44%, rgba(255,240,210,0.5) 50%, rgba(255,255,255,0) 56%, transparent 62%);
  background-size: 260% 100%; background-position: 130% 0;
  -webkit-mask-image: url('/img/rim-photo-640.webp'); mask-image: url('/img/rim-photo-640.webp');
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: rimShine 6s var(--ease-in-out) infinite; }
.glint { position: absolute; width: 26px; height: 26px; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: radial-gradient(circle, #fff 0 8%, rgba(255,236,190,0.7) 14%, transparent 60%), linear-gradient(90deg, transparent 46%, rgba(255,240,200,0.9) 50%, transparent 54%), linear-gradient(0deg, transparent 46%, rgba(255,240,200,0.9) 50%, transparent 54%);
  transform: translate(-50%, -50%) scale(0.4); animation: glint 5.5s ease-in-out infinite; }
.glint.g1 { left: 30%; top: 19%; } .glint.g2 { left: 73%; top: 30%; animation-delay: 1.8s; } .glint.g3 { left: 19%; top: 70%; animation-delay: 3.4s; }
@keyframes glint { 0%, 70%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.4) rotate(0deg); } 80% { opacity: 1; transform: translate(-50%, -50%) scale(1.2) rotate(45deg); } }
.rim-floor { position: absolute; left: 14%; right: 10%; bottom: 7%; height: 8%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0,0,0,0.9), transparent 70%); transform: translateZ(-60px); filter: blur(6px); }
@keyframes rimShine { 0% { background-position: 130% 0; } 45% { background-position: -30% 0; } 100% { background-position: -30% 0; } }

/* Car drive-in */
@keyframes driveIn { 0% { transform: translateX(-120%); } 70% { transform: translateX(calc(50vw - 50%)); } 100% { transform: translateX(calc(50vw - 50%)); } }
@keyframes wheelSpin { to { transform: rotate(360deg); } }
@keyframes wheelSettle { from { transform: rotate(0deg); } to { transform: rotate(140deg); } }
@keyframes bodyBob { 0% { transform: rotate(0); } 30% { transform: rotate(-1.4deg) translateY(2px); } 100% { transform: rotate(0); } }
@keyframes beam { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0.55; } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--coal { background: var(--coal); }
.section--amber { background: var(--amber); color: var(--black); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p { margin: 10px 0 0; color: var(--smoke); }
.section--amber .section__head p { color: rgba(0,0,0,0.7); }
.kicker { color: var(--amber); font-weight: 600; font-size: var(--step--1); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.section--amber .kicker { color: var(--black); }

/* Values: four pillars as a ruled row */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); position: relative; }
.pillar + .pillar { padding-left: 24px; border-left: 1px solid var(--line); }
.pillar h3 { font-size: var(--step-1); margin-bottom: 10px; }
.pillar p { color: var(--smoke); font-size: var(--step--1); margin: 0; }
.pillar svg { width: 30px; height: 30px; color: var(--amber); margin-bottom: 18px; }

/* Services grid */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--ink); padding: 30px 28px 32px; text-decoration: none; display: flex; flex-direction: column; gap: 14px; transition: background 260ms; position: relative; overflow: hidden; }
.service::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 360ms var(--ease-out); }
.service:hover { background: var(--coal); }
.service:hover::after { transform: scaleX(1); }
.service svg { width: 34px; height: 34px; color: var(--amber); }
.service h3 { font-size: var(--step-1); }
.service p { color: var(--smoke); font-size: var(--step--1); margin: 0; flex: 1; }
.service .link { color: var(--amber); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; font-size: var(--step--1); }
.service .link svg { width: 18px; height: 18px; transition: transform 260ms var(--ease-out); }
.service:hover .link svg { transform: translateX(4px); }

/* Equipment statement */
.machine { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.machine__stat { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.machine__stat div { border-left: 2px solid var(--amber); padding-left: 16px; }
.machine__stat strong { display: block; font-family: var(--font-display); font-size: var(--step-3); font-style: italic; line-height: 1; }
.machine__stat span { color: var(--smoke); font-size: var(--step--1); }

/* Comparison table, lazy-loaded */
.compare { margin-top: 28px; min-height: 240px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare__skel { padding: 24px; display: grid; gap: 14px; }
.compare__skel span { display: block; height: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--slate) 25%, var(--line) 50%, var(--slate) 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.table-wrap { overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; font-size: var(--step--1); min-width: 560px; }
table.cmp caption { text-align: left; padding: 16px 20px 8px; font-family: var(--font-display); font-size: var(--step-1); font-weight: 800; }
table.cmp th, table.cmp td { padding: 12px 20px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
table.cmp thead th { color: var(--amber); font-weight: 600; border-top: 0; }
table.cmp th[scope="row"] { color: var(--chrome); font-weight: 500; width: 34%; }
table.cmp td.yes { color: var(--amber-pale); }
table.cmp td.no { color: var(--smoke); }

/* Fitment explainer */
.fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.fit dl { display: grid; gap: 18px; margin: 24px 0 0; }
.fit dt { font-family: var(--font-display); font-size: var(--step-1); font-weight: 800; color: var(--amber); }
.fit dd { margin: 4px 0 0; color: var(--chrome); }
.fitment { width: 100%; height: auto; }

/* Process: a real sequence, so it is numbered */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; counter-reset: step; }
.step { background: rgba(0,0,0,0.12); padding: 26px 22px; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: var(--step-3); display: block; line-height: 1; margin-bottom: 14px; opacity: 0.85; }
.step h3 { font-size: var(--step-1); margin-bottom: 8px; }
.step p { margin: 0; font-size: var(--step--1); }

/* Area list */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 20px; }
.areas li { border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-size: var(--step--1); color: var(--chrome); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3, .faq__item summary h2 { font-size: var(--step-1); font-style: normal; }
.faq__chev { flex: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--amber); transition: transform 260ms var(--ease-out), border-color 200ms; }
.faq__chev svg { width: 18px; height: 18px; }
.faq__item[open] .faq__chev { transform: rotate(180deg); border-color: var(--amber); }
.faq__body { padding: 0 0 22px; color: var(--chrome); max-width: 70ch; }
.faq__body p { margin: 0; }

/* Guides */
.guides { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.guide { background: var(--ink); padding: 30px 28px; text-decoration: none; display: flex; flex-direction: column; gap: 12px; transition: background 220ms; }
.guide:hover { background: var(--coal); }
.guide h3 { font-size: var(--step-2); font-style: italic; }
.guide p { color: var(--smoke); margin: 0; flex: 1; }
.guide .meta { color: var(--smoke); font-size: var(--step--1); }

/* CTA climax */
.cta { position: relative; overflow: hidden; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.cta h2 { font-size: var(--step-4); }
.cta .btn--lg { white-space: nowrap; }
.cta__note { margin: 14px 0 0; color: rgba(0,0,0,0.7); }

/* ---------- Inner pages ---------- */
.crumbs { padding: 18px 0 0; font-size: var(--step--1); color: var(--smoke); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.crumbs a { color: var(--chrome); text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.page-head { padding: clamp(28px, 5vw, 64px) 0 clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 16px; }
.page-head .lede { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose h2 { font-size: var(--step-2); margin: 44px 0 14px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin: 30px 0 10px; }
.prose p, .prose li { color: var(--chrome); }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--bone); }
.checks { list-style: none; display: grid; gap: 12px; margin: 20px 0 30px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--chrome); }
.checks svg { width: 22px; height: 22px; color: var(--amber); flex: none; margin-top: 1px; }
.aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.card { background: var(--coal); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h2, .card h3 { font-size: var(--step-1); margin-bottom: 12px; font-style: normal; }
.card .btn { width: 100%; justify-content: center; }
.card p { color: var(--smoke); font-size: var(--step--1); }
.card ul { list-style: none; display: grid; gap: 8px; }
.card ul a { text-decoration: none; color: var(--chrome); }
.card ul a:hover, .card ul a[aria-current] { color: var(--amber); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); margin-top: 32px; }
.contact-cell { background: var(--ink); padding: 26px; }
.contact-cell h2 { font-size: var(--step-1); font-style: normal; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.contact-cell h2 svg { width: 22px; height: 22px; color: var(--amber); }
.contact-cell a { display: block; color: var(--chrome); text-decoration: none; margin-bottom: 6px; }
.contact-cell a:hover { color: var(--amber); }
.map { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; background: var(--coal); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) invert(0.92) contrast(1.1); }
.hours { list-style: none; display: grid; gap: 6px; color: var(--chrome); }
.hours li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); padding: 6px 0; }

/* ---------- Footer ---------- */
.site-foot { background: var(--black); border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 0; }
.site-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 40px; }
.site-foot__brand p { color: var(--smoke); font-size: var(--step--1); margin: 18px 0; max-width: 40ch; }
.site-foot__h { font-size: var(--step-1); font-style: normal; margin-bottom: 14px; color: var(--amber); }
.site-foot__list { list-style: none; display: grid; gap: 8px; }
.site-foot__list a { color: var(--chrome); text-decoration: none; font-size: var(--step--1); }
.site-foot__list a:hover { color: var(--amber); }
.site-foot__addr { font-style: normal; display: grid; gap: 6px; }
.site-foot__addr a { color: var(--chrome); text-decoration: none; font-size: var(--step--1); }
.site-foot__addr a:hover { color: var(--amber); }
.site-foot__hours { color: var(--smoke); font-size: var(--step--1); margin-top: 14px; }
.social { list-style: none; display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--chrome); transition: color 200ms, border-color 200ms; }
.social a:hover { color: var(--amber); border-color: var(--amber); }
.social svg { width: 18px; height: 18px; }
.site-foot__legal { margin-top: 40px; padding: 20px 0 110px; border-top: 1px solid var(--line); color: var(--smoke); font-size: var(--step--1); }
.site-foot__legal p { margin: 0; max-width: none; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #052e16; padding: 12px 18px 12px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.7); transition: transform 200ms var(--ease-out); }
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Reveal on scroll (one orchestrated pass per section) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .burger { display: grid; }
  .site-nav { position: fixed; inset: 0; background: var(--ink); flex-direction: column; align-items: stretch; justify-content: center; gap: 40px; padding: 90px var(--gutter) 40px; clip-path: inset(0 0 0 100%); transition: clip-path 420ms var(--ease-out), visibility 0s 420ms; visibility: hidden; z-index: 40; overflow-y: auto; }
  .site-nav.open { clip-path: inset(0); visibility: visible; transition: clip-path 420ms var(--ease-out); }
  .site-nav ul { flex-direction: column; gap: 6px; }
  .site-nav ul a { display: block; font-family: var(--font-display); font-size: var(--step-3); font-style: italic; font-weight: 800; padding: 10px 0; }
  .site-nav ul a::after { display: none; }
  .site-nav__cta { flex-direction: column; }
  .site-nav__cta .btn { min-height: 52px; justify-content: center; font-size: var(--step-0); }
  .burger { position: relative; z-index: 45; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 0; margin-top: 12px; }
  .rim-stage { width: min(100%, 400px); margin-inline: auto; }
  .logo__name { font-size: 0.74rem; }
  .logo__cn { display: none; }
  .rim-tilt { transform: rotateX(6deg) rotateY(-14deg); }
  .machine, .fit, .two-col, .cta__grid { grid-template-columns: 1fr; }
  .aside { position: static; }
  .section__head { grid-template-columns: 1fr; align-items: start; }
  .guides { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 12px; }
}
@media (max-width: 560px) {
  .pillars, .services, .steps, .site-foot__grid { grid-template-columns: 1fr; }
  .pillar + .pillar { padding-left: 0; border-left: 0; }
  .announce { font-size: 0.8rem; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .machine__stat { grid-template-columns: 1fr; }
  .hero__strip { height: 150px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .rim-tilt { transition: none; }
  .rim-face img, .rim-fx::before, .rim-fx::after, .glint, .rim-shine { animation: none !important; }
  .rim-shine { display: none; }
}

/* Featured page image */
.feature { margin: 8px 0 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(254,180,63,.18); box-shadow: 0 30px 80px -40px rgba(254,180,63,.35); width: 100%; aspect-ratio: 21 / 9; background: #0b0b0b; }
.feature img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .feature { border-radius: 10px; aspect-ratio: 16 / 10; } }

/* ---------- Hero truck: scroll-driven drive, left to right ---------- */
.truck-smoke { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; filter: blur(3px); }
.truck { position: absolute; left: 0; bottom: 14px; width: min(46vw, 440px); aspect-ratio: 900 / 445; z-index: 2; transform: translate3d(-30%, 0, 0); will-change: transform; --lit: 0; --spd: 0; }
.truck__bounce { position: absolute; inset: 0; will-change: transform; }
.truck__body, .truck__blur { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.truck__blur { opacity: calc(var(--spd) * 0.95); }
.truck__shadow { position: absolute; left: 2%; right: 4%; bottom: -4%; height: 16%; border-radius: 50%; background: radial-gradient(ellipse at 55% 50%, rgba(0,0,0,0.85), rgba(0,0,0,0.4) 45%, transparent 72%); filter: blur(5px); }
.lamp { position: absolute; width: 4.6%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); opacity: var(--lit); transition: opacity 0.35s; mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(circle, #fff 0 18%, rgba(255,240,200,0.9) 30%, rgba(254,200,90,0.45) 52%, transparent 72%); box-shadow: 0 0 18px 6px rgba(255,214,140,0.45); }
.lamp--roof { width: 5.4%; }
.lamp--head { width: 6%; }
.lamp--led { width: 11%; aspect-ratio: 4 / 1; border-radius: 40%; background: radial-gradient(ellipse, #fff 0 22%, rgba(220,240,255,0.85) 38%, rgba(160,210,255,0.3) 60%, transparent 75%); box-shadow: 0 0 22px 6px rgba(200,230,255,0.4); }
.lamp--fog { width: 3.6%; }
.truck__beams { position: absolute; left: 80%; top: 30%; width: 120%; height: 70%; opacity: var(--lit); transition: opacity 0.4s; pointer-events: none; }
.beam { position: absolute; left: 0; top: 0; width: 100%; height: 100%; mix-blend-mode: screen; filter: blur(6px);
  background: linear-gradient(90deg, rgba(255,236,190,0.42), rgba(255,220,150,0.12) 55%, transparent 90%);
  clip-path: polygon(0 36%, 100% 0, 100% 100%, 0 52%); }
.beam--b { top: -30%; height: 60%; left: -40%; width: 120%; opacity: 0.5; clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 55%); }
@media (max-width: 860px) { .truck { width: min(62vw, 320px); } }
@media (prefers-reduced-motion: reduce) { .truck { --lit: 1; transform: translate3d(calc(50vw - 50%), 0, 0); } .truck__blur { opacity: 0; } }
