/* KO Motorworks: light, minimal, black + yellow
   Layout notes: everything works as a normal stacked page by default (phones, reduced motion,
   or if the animation scripts fail). main.js adds .fx to <html> on larger screens, which switches
   the hero, series and fitments sections to their pinned, scroll-animated layouts. */
:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --tint: #f2f1ec;
  --ink: #111111;
  --ink-2: #4a4a48;
  --ink-3: #8a8a86;
  --line: #e4e3dd;
  --yellow: #ffd22f;   /* sampled from the logo */
  --night: #0b0b0b;
  --radius: 14px;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .95rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #ffdc5c; }
.btn--sm { padding: .7em 1.15em; font-size: .88rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s, transform .35s var(--ease);
}
.nav.is-scrolled { background: rgba(250, 250, 247, .86); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand__logo { height: 36px; width: auto; }
.brand__logo--dark { display: none; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; font-size: .93rem; color: var(--ink-2); position: relative; transition: color .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s, background .3s; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Nav while over the dark cockpit */
.nav--dark:not(.is-open) .brand__logo--light { display: none; }
.nav--dark:not(.is-open) .brand__logo--dark { display: block; }
.nav--dark:not(.is-open) .nav__links a { color: rgba(255, 255, 255, .78); }
.nav--dark:not(.is-open) .nav__links a:hover { color: #fff; }
.nav--dark:not(.is-open) .nav__toggle span { background: #fff; }
.nav--dark.is-scrolled:not(.is-open) { background: rgba(11, 11, 11, .45); box-shadow: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--yellow); }
.eyebrow--yellow { color: var(--yellow); }
.eyebrow--light { color: rgba(255, 255, 255, .8); }

/* ============================================================
   1. DRIVER'S SEAT
   ============================================================ */
.drive { position: relative; background: var(--night); color: #fff; overflow: hidden; }

/* The stage keeps the photo's aspect ratio so the wheel always lands on the steering column.
   --sw is the stage width; the hub sits at 42% / 72.8% of the photo. */
.drive__stage {
  --sw: max(100vw, min(257vw, 1714px));
  position: relative;
  width: var(--sw);
  aspect-ratio: 1672 / 941;
  margin-left: clamp(calc(100vw - var(--sw)), calc(50vw - var(--sw) * .42), 0px);
  transform-origin: 42% 72.8%;
}
.drive__bg, .drive__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.drive__bg img { object-fit: cover; }
.drive__hub {
  position: absolute; left: 42%; top: 72.8%; width: 35%;
  aspect-ratio: 1; transform: translate(-50%, -50%);
}
.drive__tilt { position: absolute; inset: 0; }
.drive__wheel {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
}
.drive__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, var(--night) 0%, rgba(11, 11, 11, 0) 35%);
}

.drive__copy { position: relative; padding: 8px 0 72px; }
.drive__title { font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 700; letter-spacing: -.04em; line-height: .98; }
.drive__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.drive__title .line > span { display: inline-block; }
.drive__title em { font-style: normal; color: var(--yellow); }
.drive__lead { font-size: 1.1rem; color: rgba(255, 255, 255, .75); max-width: 28em; margin-top: 22px; }
.drive__final { margin-top: 28px; }
.drive__final .eyebrow, .drive__final-title { display: none; }
.drive__final-title { font: 700 clamp(2.4rem, 5vw, 4.4rem)/1 var(--display); letter-spacing: -.035em; margin-bottom: 28px; }
.drive__scroll, .drive__fade { display: none; }

/* Pinned, scroll-animated version */
.fx .drive { height: 100vh; height: 100svh; }
.fx .drive__stage {
  --sh: calc(var(--sw) / 1.7768);
  --sw: max(100vw, calc(100vh * 1.7768));
  position: absolute; margin: 0; aspect-ratio: auto;
  height: var(--sh);
  left: clamp(calc(100vw - var(--sw)), calc(50vw - var(--sw) * .42), 0px);
  top: clamp(calc(100vh - var(--sh)), calc(58vh - var(--sh) * .728), 0px);
}
.fx .drive__wheel { will-change: transform, opacity; }
.fx .drive__stage, .fx .drive__hub, .fx .drive__tilt, .fx .drive__bg { will-change: transform; }
.fx .drive__shade {
  background:
    linear-gradient(90deg, rgba(11, 11, 11, .78) 0%, rgba(11, 11, 11, 0) 42%, rgba(11, 11, 11, 0) 62%, rgba(11, 11, 11, .7) 100%),
    linear-gradient(0deg, rgba(11, 11, 11, .55) 0%, rgba(11, 11, 11, 0) 28%);
}
.fx .drive__copy { position: absolute; inset: 0; padding: 0; margin-inline: auto; pointer-events: none; }
.fx .drive__copy a { pointer-events: auto; }
.fx .drive__intro { position: absolute; left: 0; top: 24vh; max-width: 560px; }
.fx .drive__final { position: absolute; right: 0; top: 18vh; text-align: right; margin: 0; max-width: 420px; opacity: 0; }
.fx .drive__final .eyebrow { display: inline-flex; }
.fx .drive__final-title { display: block; }
.drive__scroll {
  align-items: center; gap: 12px; position: absolute; right: 32px; bottom: 44px;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
}
.fx .drive__scroll { display: flex; }

/* "Take the wheel" prompt, shown after the wheel lands and wiggles */
.drive__hint {
  display: none; position: absolute; z-index: 3; align-items: center; gap: 12px;
  padding: 10px 18px 10px 12px; border-radius: 999px; pointer-events: none;
  background: rgba(11, 11, 11, .62); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .14); color: #fff;
  opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.drive__hint svg { width: 30px; height: 30px; fill: none; stroke: var(--yellow); stroke-width: 1.7; stroke-linecap: round; flex: none; animation: hintturn 2.4s var(--ease) infinite; }
.drive__hint strong { display: block; font: 600 .98rem/1.2 var(--display); }
.drive__hint em { display: block; font-style: normal; font-size: .78rem; color: rgba(255, 255, 255, .7); margin-top: 2px; }
.drive__hint.is-on { opacity: 1; }
@keyframes hintturn { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-28deg); } 60% { transform: rotate(24deg); } }
.fx .drive__hint { display: flex; left: max(16px, (100vw - var(--wrap)) / 2); bottom: 44px; transform: translateY(12px); }
.fx .drive__hint.is-on { transform: none; }

/* Phone version: pinned to the visible screen. Cockpit fills the top ~70%, copy swaps underneath.
   The wheel's lower rim sits at ~72.8% of the screen height, so the finish copy starts just below it. */
.mfx .drive { height: 100vh; height: 100svh; touch-action: pan-y; } /* sideways drags steer, vertical drags scroll */
.mfx .drive__stage {
  --sw: max(100vw, calc(70svh * 1.7768));
  margin-left: clamp(calc(100vw - var(--sw)), calc(50vw - var(--sw) * .42), 0px);
  will-change: transform;
}
.mfx .drive__wheel, .mfx .drive__tilt { will-change: transform; }
.mfx .drive__copy { position: absolute; left: 0; right: 0; top: 0; bottom: 0; padding: 0; pointer-events: none; }
.mfx .drive__copy a { pointer-events: auto; }
.mfx .drive__intro, .mfx .drive__final { position: absolute; left: 0; right: 0; margin: 0; }
.mfx .drive__intro { top: calc(70svh + 6px); }   /* starts below the cockpit photo */
.mfx .drive__final { top: calc(72.8svh + 18px); opacity: 0; }
.mfx .drive__final .eyebrow { display: inline-flex; }
.mfx .drive__final-title { display: block; font-size: clamp(2.2rem, 10vw, 2.8rem); margin-bottom: 20px; }
.mfx .drive__intro .eyebrow { margin-bottom: 10px; font-size: .68rem; letter-spacing: .1em; white-space: nowrap; }
.mfx .drive__title { font-size: clamp(2.2rem, 10.5vw, 2.8rem); }
.mfx .drive__lead { font-size: .95rem; margin-top: 10px; }
@media (max-height: 720px) { .mfx .drive__lead { display: none; } } /* short phones: headline only */
.mfx .drive__hint { display: flex; left: 50%; top: 84px; transform: translate(-50%, -10px); white-space: nowrap; }
.mfx .drive__hint.is-on { transform: translate(-50%, 0); }
.mfx .drive__scroll { display: flex; right: 16px; bottom: auto; top: calc(70svh - 64px); font-size: .7rem; }
.drive__scroll span { width: 1.5px; height: 44px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.drive__scroll span::after { content: ""; position: absolute; inset: 0; background: var(--yellow); animation: scrollcue 1.8s var(--ease) infinite; }
@keyframes scrollcue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.fx .drive__fade { display: block; position: absolute; inset: 0; background: var(--bg); opacity: 0; pointer-events: none; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 20px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { font: 600 clamp(1.1rem, 2vw, 1.5rem)/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.marquee i { width: 10px; height: 10px; background: var(--yellow); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   2. THE SERIES
   ============================================================ */
.show { padding: clamp(80px, 11vw, 140px) 0; position: relative; overflow: hidden; }
.show__words, .show__frame, .show__dots { display: none; }
.show__items { display: grid; gap: 72px; }
.show__mwrap { position: relative; width: min(320px, 78%); margin: 0 auto 28px; }
.show__mimg { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .18)); }
.show__num { font: 600 .85rem/1 var(--display); color: var(--ink-3); display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.show__num::after { content: ""; width: 32px; height: 2px; background: var(--yellow); }
.show__item h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.03em; }
.show__item p { color: var(--ink-2); font-size: 1.08rem; margin-top: 16px; max-width: 30em; }

.fx .show { height: 100vh; height: 100svh; padding: 0; }
.fx .show__inner { position: relative; height: 100%; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 48px; }
.fx .show__text { position: relative; z-index: 2; }
.fx .show__items { position: relative; height: 330px; display: block; }
.fx .show__item { position: absolute; inset: 0; will-change: transform, opacity; }
.fx .show__mwrap { display: none; }
.fx .show__dots { display: flex; gap: 8px; margin-top: 8px; }
.show__dots i { width: 28px; height: 3px; border-radius: 2px; background: var(--line); transition: background .4s, width .4s var(--ease); }
.show__dots i.is-active { background: var(--ink); width: 48px; }

.fx .show__frame { display: block; position: relative; width: min(100%, 76vh); aspect-ratio: 1; justify-self: center; }
.show__disc { position: absolute; inset: 9%; border-radius: 50%; background: var(--yellow); }
.show__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(17, 17, 17, .22); }
.show__wheels { position: absolute; inset: 4%; }
.show__wheel {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .28));
}
.fx .show__disc, .fx .show__ring, .fx .show__wheels, .fx .show__wheel { will-change: transform, opacity; }
.fx .show__words {
  display: block; position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  height: 1em; font: 700 clamp(7rem, 17vw, 16rem)/1 var(--display); letter-spacing: -.05em; z-index: 0; pointer-events: none;
}
/* Phone version: one pinned card, wheel on top, text swapping underneath */
.mfx .show { height: 100vh; height: 100svh; padding: 0; }
.mfx .show__inner { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-top: 48px; }
.mfx .show__frame { display: block; position: relative; order: -1; flex: none; width: min(74vw, 40svh); aspect-ratio: 1; margin: 0 auto; }
.mfx .show__mwrap { display: none; }
.mfx .show__text .eyebrow { margin-bottom: 12px; }
.mfx .show__items { position: relative; display: block; height: 270px; }
.mfx .show__item { position: absolute; inset: 0; will-change: transform, opacity; }
.mfx .show__item h2 { font-size: 1.9rem; }
.mfx .show__item p { font-size: .95rem; margin-top: 10px; }
.mfx .show__item .chips { margin-top: 14px; }
.mfx .show__num { margin-bottom: 10px; }
.mfx .show__dots { display: flex; gap: 8px; }
.mfx .show__disc, .mfx .show__ring, .mfx .show__wheels, .mfx .show__wheel { will-change: transform, opacity; }

.show__word {
  position: absolute; right: -2vw; top: 0; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(17, 17, 17, .09);
}

/* ============================================================
   3. FITMENTS
   ============================================================ */
.fit { padding: clamp(80px, 11vw, 140px) 0; background: var(--tint); overflow: hidden; }
.fit__head { margin-bottom: 40px; }
.fit__title { font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: -.03em; max-width: 14em; }
.fit__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 max(16px, (100vw - var(--wrap)) / 2) 16px; scrollbar-width: none;
}
.fit__track::-webkit-scrollbar { display: none; }
.fit__card {
  flex: 0 0 min(78vw, 340px); scroll-snap-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; text-decoration: none;
}
.fit__wheel { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .18)); }
.fit__card span { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.fit__card h3 { margin-top: 6px; }
.fit__card--cta { background: var(--ink); color: #fff; border-color: var(--ink); justify-content: flex-end; }
.fit__card--cta span { color: rgba(255, 255, 255, .6); }
.fit__card--cta h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.fit__card--cta b { color: var(--yellow); display: block; margin-top: 12px; }

.fx .fit { height: 100vh; height: 100svh; padding: 0; display: flex; flex-direction: column; justify-content: center; }
.fx .fit__track { overflow: visible; width: max-content; padding-bottom: 0; will-change: transform; }
.fx .fit__card { flex-basis: clamp(260px, 26vw, 380px); }
.fx .fit__wheel { will-change: transform; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--night); color: #fff; }
.section__head { max-width: 720px; margin-bottom: 56px; }

/* Why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why__item { background: var(--surface); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.why__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--yellow); display: grid; place-items: center; margin-bottom: 24px; }
.why__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why__item p { color: var(--ink-2); margin-top: 12px; }
.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .8rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--tint); }
.show .chips li { background: var(--surface); border: 1px solid var(--line); }

/* Process */
.process { position: relative; }
.process__line { position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: var(--line); }
.process__line span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.process__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.process__n {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--ink); font: 700 1rem/1 var(--display); margin-bottom: 24px;
  transition: background .4s, border-color .4s;
}
.process__steps li.is-active .process__n { background: var(--yellow); border-color: var(--yellow); }
.process__steps p { color: var(--ink-2); margin-top: 10px; font-size: .97rem; }

/* Range */
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.range__card {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); padding-top: 260px;
}
.range__card h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 18px; }
.range__card > p { color: var(--ink-2); margin-top: 14px; }
.range__img { position: absolute; top: 24px; right: 24px; width: 210px; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .2)); }
.range__soon {
  position: absolute; top: 40px; right: -10px; font: 700 clamp(6rem, 11vw, 10rem)/1 var(--display); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 2px var(--yellow);
}
.tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--ink-3); color: var(--ink-2); }
.tag--live { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.ticks li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd22f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Standards (dark band) */
.section--dark h2 { color: #fff; }
.standards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.standards > div { border-top: 2px solid var(--yellow); padding-top: 24px; }
.standards p { color: #b9b9b4; margin-top: 12px; }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact__intro > p { color: var(--ink-2); margin-top: 18px; font-size: 1.05rem; }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact__list li { display: grid; gap: 2px; }
.contact__list span { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); font-weight: 600; }
.contact__list a { font: 600 1.15rem/1.3 var(--display); text-decoration: none; border-bottom: 2px solid var(--yellow); justify-self: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: .85rem; font-weight: 500; color: var(--ink-2); }
.form input, .form select, .form textarea {
  font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 210, 47, .5); }
.form .is-invalid { border-color: #c4361d; }
.form__status { font-size: .92rem; min-height: 1.4em; text-align: center; }
.form__status.is-ok { color: #1d7a3a; }
.form__status.is-err { color: #c4361d; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { background: var(--night); color: #fff; padding: 64px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__inner p { color: #a3a39e; margin-top: 18px; max-width: 28em; }
.brand--footer .brand__logo { height: 52px; }
.footer__links { display: grid; gap: 14px; align-content: start; }
.footer__links a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; transition: color .2s; }
.footer__links a:hover { color: var(--yellow); }
.footer__links svg { width: 20px; height: 20px; fill: none; stroke: var(--yellow); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.footer__base { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid #262624; font-size: .85rem; color: #7d7d78; }
.footer__base a { text-decoration: none; }
.footer__base a:hover { color: var(--yellow); }

/* Scroll progress bar */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Reveal on scroll (all screen sizes) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee__track, .drive__scroll span::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .why, .standards { grid-template-columns: 1fr 1fr; }
  .process__steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process__line { display: none; }
  .fx .show__inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 767px) {
  .nav__links, .nav__inner > .btn { display: none; }
  .nav__toggle { display: block; }
  .mobile-menu {
    display: grid; gap: 4px; padding: 0 16px; max-height: 0; overflow: hidden;
    background: var(--bg); transition: max-height .4s var(--ease), padding .4s var(--ease);
  }
  .nav.is-open { background: var(--bg); }
  .nav.is-open .mobile-menu { max-height: 360px; padding: 8px 16px 24px; border-bottom: 1px solid var(--line); }
  .mobile-menu a { text-decoration: none; font: 600 1.3rem/1 var(--display); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .brand__logo { height: 30px; }
  .why, .standards, .process__steps, .form__row, .range { grid-template-columns: 1fr; }
  .section__head { margin-bottom: 40px; }
  .range__card { padding-top: 220px; }
  .range__img { width: 180px; }
  .footer__base { flex-direction: column; gap: 10px; }
}
