/* =========================================================
   Physics Motors — shared stylesheet
   Tokens taken from the Figma prototype: red / black / white,
   salmon table + chip accents, near-black maroon footer.
   ========================================================= */
:root {
  --red: #e31e24;
  --red-dark: #b3141a;
  --ink: #0d0d0d;
  --text: #2a2a2a;
  --muted: #666;
  --watermark: #c9c9c9;
  --salmon: #ff7a7a;
  --salmon-soft: #fff1f1;
  --line: #ececec;
  --footer: #1c0505;
  --bg: #ffffff;
  --radius: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --nav-h: 84px;
  --topbar-h: 34px;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* ---------- scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1200; background: transparent; }
.progress span { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- preloader + page transition ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 2000; background: var(--ink);
  display: grid; place-items: center; color: #fff;
  transition: transform .9s var(--ease-in-out) .15s, visibility 0s 1.1s;
}
.preloader.done { transform: translateY(-100%); visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader__ring { width: 84px; height: 84px; animation: spin 1.4s linear infinite; }
.preloader__word { font-weight: 800; letter-spacing: .38em; font-size: 12px; text-transform: uppercase; }
.preloader__bar { width: 160px; height: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; animation: load 1.1s var(--ease) forwards; }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

.curtain {
  position: fixed; inset: 0; z-index: 1900; background: var(--red);
  transform: translateY(100%); pointer-events: none;
  transition: transform .7s var(--ease-in-out);
}
.curtain.in { transform: translateY(0); pointer-events: all; }

/* ---------- custom cursor (fine pointers only) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 1500; pointer-events: none; display: none; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.cursor i {
  position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  border: 1.5px solid var(--red); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s;
}
.cursor.hover i { width: 52px; height: 52px; margin: -26px 0 0 -26px; background: rgba(227,30,36,.12); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------- header ---------- */
.topbar {
  position: relative; z-index: 60; height: var(--topbar-h);
  background: linear-gradient(100deg, transparent 0 46%, var(--red) 46.1% 100%);
  color: #fff; font-size: 12px; font-weight: 500;
}
.topbar .wrap { height: 100%; display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.topbar a { opacity: .95; transition: opacity .2s; white-space: nowrap; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar .sep { width: 1px; height: 12px; background: rgba(255,255,255,.7); }

.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .3s, height .3s var(--ease);
}
.header.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.07); }
.header .wrap { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; transition: height .3s var(--ease); }
.header.scrolled .wrap { height: 68px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; gap: 2px; }
.logo svg { width: 44px; height: 22px; }
.logo b { font-weight: 800; font-size: 19px; letter-spacing: -.01em; color: var(--ink); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); position: relative; padding: 6px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav a.active { color: var(--red); }
.nav a.btn { color: #fff; }
.nav a.btn:hover { color: #fff; }

.btn {
  --pad: 12px 26px;
  display: inline-flex; align-items: center; gap: 10px; padding: var(--pad);
  border-radius: 999px; border: 2px solid var(--red); background: var(--red); color: #fff;
  font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate; transition: color .35s, transform .35s var(--ease), box-shadow .35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover { border-color: var(--ink); box-shadow: 0 14px 30px -12px rgba(227,30,36,.55); }
.btn:hover::before { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost::before { background: var(--red); }
.btn--ghost:hover { color: #fff; border-color: var(--red); }
.btn--sm { --pad: 8px 18px; font-size: 11.5px; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 26px; }
.burger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- section scaffolding ---------- */
.section { position: relative; padding: clamp(40px, 4vw, 132px) 0; }
.section--tint { background: linear-gradient(180deg, #fff, #fafafa); }
.section__side {
  position: absolute; left: clamp(6px, 2vw, 28px); top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-weight: 800; font-size: clamp(30px, 4.2vw, 62px); letter-spacing: .2em;
  text-transform: uppercase; color: var(--watermark); line-height: 1; user-select: none; pointer-events: none; white-space: nowrap;
}
.section__body { padding-left: clamp(40px, 8vw, 120px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.h2 { font-size: clamp(32px, 4.4vw, 60px); font-weight: 800; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 60ch; }

/* ---------- reveal system ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); will-change: transform, opacity; }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].in { opacity: 1; transform: none; }
.split { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.in .split > span, .split.in > span { transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100vh - var(--topbar-h) - var(--nav-h)); min-height: calc(100svh - var(--topbar-h) - var(--nav-h)); overflow: hidden; background: #fff; }
.hero__slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s 1.1s; }
.slide.active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 2; }
.slide .wrap { height: 100%; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 32px; padding-left: clamp(40px, 8vw, 120px); }
.slide__art { position: relative; display: grid; place-items: center; }
.rotor-art { width: 100%; filter: drop-shadow(0 46px 34px rgba(0,0,0,.28)); transition: transform .5s var(--ease); will-change: transform; }
.spinner { will-change: transform; }
.motor { width: 100%; height: auto; }
.slide__art .rotor-art { width: min(540px, 100%); }
.slide__art .motor { transform: scale(1.02); transition: transform 1.6s var(--ease); }
.slide:not(.active) .motor { transform: translateX(-60px) scale(.9); }
.slide.active .motor { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.slide__copy h1 { font-size: clamp(34px, 4.6vw, 68px); font-weight: 800; }
.slide__copy p { color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); margin-top: 18px; max-width: 42ch; }
.slide__copy .btn { margin-top: 28px; }
.slide__copy > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.slide.active .slide__copy > * { opacity: 1; transform: none; }
.slide.active .slide__copy > *:nth-child(2) { transition-delay: .18s; }
.slide.active .slide__copy > *:nth-child(3) { transition-delay: .3s; }
.slide.active .slide__copy > *:nth-child(4) { transition-delay: .42s; }
.slide__made {
  position: absolute; right: 4vw; bottom: 38px; font-weight: 800; font-size: clamp(16px, 2vw, 26px); letter-spacing: .16em; color: #a9a9a9; text-transform: uppercase;
}
.hero__wm {
  position: absolute; left: clamp(6px, 2vw, 28px); top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-weight: 800; letter-spacing: .2em; font-size: clamp(26px, 6.2vh, 64px); color: var(--watermark); text-transform: uppercase; z-index: 1; pointer-events: none; line-height: 1; white-space: nowrap;
}
.hero__ctrl { position: absolute; z-index: 5; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; }
.dot { width: 34px; height: 4px; border: 0; background: rgba(0,0,0,.15); border-radius: 4px; position: relative; overflow: hidden; padding: 0; }
.dot i { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; }
.dot.active i { animation: fill var(--dur, 6500ms) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.scrollcue { position: absolute; z-index: 5; left: clamp(20px, 4vw, 60px); bottom: 26px; display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .24em; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.scrollcue i { width: 1.5px; height: 40px; background: linear-gradient(var(--red), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- marquee strip ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marq 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-weight: 800; font-size: clamp(18px, 2.2vw, 28px); letter-spacing: .04em; text-transform: uppercase; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee__track span::after { content: "✦"; color: var(--red); font-size: .7em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 44px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(38px, 5vw, 68px); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stat b sup { font-size: .4em; color: var(--red); margin-left: 2px; vertical-align: top; position: relative; top: .35em; }
.stat span { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- product cards ---------- */
.portfolio-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard {
  position: relative; display: block; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  padding: 22px 18px 20px; text-align: center; transform-style: preserve-3d; transition: box-shadow .5s var(--ease), border-color .3s;
  overflow: hidden;
}
.pcard::before { content: ""; position: absolute; inset: auto 0 0 0; height: 0; background: linear-gradient(180deg, transparent, var(--salmon-soft)); transition: height .6s var(--ease); z-index: 0; }
.pcard:hover { box-shadow: 0 30px 60px -28px rgba(0,0,0,.35); border-color: rgba(227,30,36,.35); }
.pcard:hover::before { height: 100%; }
.pcard > * { position: relative; z-index: 1; }
.pcard .motor { width: 78%; margin: 0 auto 10px; transition: transform .8s var(--ease); filter: drop-shadow(0 18px 14px rgba(0,0,0,.22)); }
.pcard:hover .motor { transform: scale(1.1) rotate(-4deg); }
.pcard h3 { font-size: 15px; font-weight: 800; letter-spacing: 0; }
.pcard small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.pcard small.live { color: var(--red); }
.pcard .tag { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--red); color: #fff; padding: 4px 10px; border-radius: 99px; }
.pcard .tag.soon { background: var(--ink); }
.subhead { font-size: clamp(22px, 1.6vw, 28px); font-weight: 800; margin: 54px 0 22px; display: flex; align-items: center; gap: 18px; }
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.subhead:first-of-type { margin-top: 0; }

/* ---------- technology callouts ---------- */
.tech { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: center; gap: 24px; min-height: 520px; }
.tech__col { display: grid; gap: 36px; }
.chip {
  background: var(--salmon); color: #fff; font-weight: 700; font-size: 14px; text-align: center; padding: 16px 22px; border-radius: 6px; position: relative;
  box-shadow: 0 14px 30px -14px rgba(255,90,90,.7); transition: transform .5s var(--ease), background .3s;
}
.chip:hover { transform: translateY(-6px) scale(1.03); background: var(--red); }
.chip::after { content: ""; position: absolute; top: 50%; width: 46px; height: 1.5px; background: var(--salmon); transform-origin: left; }
.tech__col:first-child .chip::after { left: 100%; }
.tech__col:last-child .chip::after { right: 100%; transform-origin: right; }
.tech__art { position: relative; display: grid; place-items: center; }
.tech__art .rotor-art { width: min(460px, 100%); position: relative; z-index: 1; }
.tech__ring { position: absolute; width: 112%; aspect-ratio: 1; border: 1.5px dashed rgba(227,30,36,.35); border-radius: 50%; animation: spin 40s linear infinite; }
.tech__ring.r2 { width: 132%; border-color: rgba(0,0,0,.12); animation-direction: reverse; animation-duration: 60s; }

/* ---------- about ---------- */
.cols-2 { column-count: 2; column-gap: 44px; text-align: justify; hyphens: auto; font-size: 15px; }
.cols-2 p { break-inside: avoid-column; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.vcard {
  border: 1px solid rgba(227,30,36,.55); border-radius: 10px; padding: 28px 22px; text-align: center; background: #fff;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s; position: relative; overflow: hidden;
}
.vcard::before { content: ""; position: absolute; inset: 0; background: var(--red); transform: translateY(101%); transition: transform .55s var(--ease); }
.vcard > * { position: relative; }
.vcard:hover { transform: translateY(-8px); box-shadow: 0 28px 50px -26px rgba(227,30,36,.6); }
.vcard:hover::before { transform: translateY(0); }
.vcard h3 { color: var(--red); font-size: 17px; font-weight: 800; letter-spacing: .02em; margin-bottom: 14px; text-transform: uppercase; transition: color .3s; }
.vcard p { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #333; margin: 0; transition: color .3s; }
.vcard:hover h3, .vcard:hover p { color: #fff; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 56px; margin-top: 44px; }
.member { display: grid; grid-template-columns: 170px 1fr; gap: 26px; align-items: start; }
.member__img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: #f3f3f3; }
.member__img svg, .member__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.member:hover .member__img img, .member:hover .member__img svg { transform: scale(1.07); }
.member__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.member:hover .member__img::after { transform: scaleX(1); }
.member small { display: block; color: #e8590c; font-weight: 700; font-size: 12px; margin-bottom: 6px; }
.member h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.member p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- contact ---------- */
.offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px; }
.office { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; background: #fff; position: relative; overflow: hidden; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.office:hover { box-shadow: 0 30px 60px -30px rgba(0,0,0,.3); transform: translateY(-6px); }
.office::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.office:hover::before { transform: scaleY(1); }
.office h3 { font-size: 13px; letter-spacing: .2em; font-weight: 800; color: var(--red); margin-bottom: 14px; }
.office b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.office address { font-style: normal; color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.office a.row { display: flex; align-items: center; gap: 10px; font-weight: 600; padding: 4px 0; color: var(--ink); }
.office a.row:hover { color: var(--red); }
.office svg.i { width: 17px; height: 17px; stroke: var(--red); fill: none; stroke-width: 2; flex: none; }

.form { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 2px solid var(--line); background: transparent; padding: 22px 0 10px; font: inherit; color: var(--ink); outline: 0; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field label { position: absolute; left: 0; top: 22px; color: var(--muted); font-size: 15px; pointer-events: none; transition: transform .35s var(--ease), color .3s, font-size .3s; transform-origin: left; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-20px) scale(.78); color: var(--red); font-weight: 700; }
.form__note { font-size: 14px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 220%); background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 99px; z-index: 1600; font-weight: 600; font-size: 14px; opacity: 0; visibility: hidden; max-width: calc(100vw - 32px); text-align: center; transition: transform .6s var(--ease), opacity .4s, visibility 0s .6s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition-delay: 0s; }

/* ---------- product page ---------- */
.pp-hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 20px; overflow: hidden; }
.pp-hero .wrap { display: grid; grid-template-columns: 1fr; justify-items: start; }
.pp-hero h1 { font-size: clamp(38px, 5.6vw, 78px); font-weight: 800; }
.pp-hero .model { font-size: clamp(16px, 1.6vw, 22px); font-weight: 600; color: var(--ink); margin-top: 6px; }
.pp-stage { position: relative; display: grid; place-items: center; padding: 10px 0 30px; }
.pp-stage .rotor-art { width: min(560px, 80vw); position: relative; }
.pp-stage .halo { position: absolute; width: min(760px, 96vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(227,30,36,.10), transparent 62%); z-index: -1; }
.spec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 16px; }
.spec-head h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; }
.dl-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); background: transparent; border: 0; padding: 6px 4px; border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.dl-link:hover { color: var(--red); border-color: var(--red); }
.dl-link svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.spec { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 22px; overflow: hidden; border-radius: 8px; border: 1px solid #ffb3b3; }
.spec th { background: var(--salmon); color: #fff; font-weight: 700; font-size: 14px; padding: 13px 10px; text-align: center; }
.spec td { text-align: center; padding: 16px 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); border-right: 1px solid var(--line); background: #fff; }
.spec td:last-child { border-right: 0; }
.spec tbody tr { transition: background .3s; }
.spec tbody tr:hover td { background: var(--salmon-soft); }
.spec-wrap [data-reveal] { --d: calc(var(--n, 0) * .12s); }
.more-info { text-align: center; font-weight: 500; margin: 34px 0 0; }
.more-info a { color: var(--red); font-weight: 700; border-bottom: 1px solid currentColor; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 1700; display: grid; place-items: center; background: rgba(10,10,10,.55); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; padding: 24px; }
.modal.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.modal__box { width: min(420px, 100%); background: #fff; border-radius: 18px; padding: 30px; transform: translateY(40px) scale(.96); transition: transform .6s var(--ease); position: relative; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); }
.modal.open .modal__box { transform: none; }
.modal__box h3 { font-size: 15px; letter-spacing: .18em; font-weight: 800; margin-bottom: 20px; }
.modal__x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f4f4f4; font-size: 20px; line-height: 1; transition: background .3s, transform .4s var(--ease), color .3s; }
.modal__x:hover { background: var(--red); color: #fff; transform: rotate(90deg); }
.dl-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; font-weight: 600; background: #fff; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.dl-item:hover { transform: translateX(6px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.4); border-color: var(--red); }
.dl-item svg { width: 18px; height: 18px; stroke: var(--red); fill: none; stroke-width: 2; }

/* coming soon */
.cs { min-height: 56vh; display: grid; place-items: center; padding: 70px 0; }
.cs__box { width: min(760px, 100% - 48px); background: #fafafa; border-radius: 18px; padding: clamp(44px, 8vw, 100px) 28px; text-align: center; border: 1px solid var(--line); }
.cs__box h1 { color: var(--red); font-size: clamp(30px, 4vw, 52px); font-weight: 800; margin-bottom: 14px; }
.cs__box h1 span::after { content: "…"; display: inline-block; width: 1.1em; text-align: left; animation: dots 1.6s steps(4, end) infinite; overflow: hidden; vertical-align: bottom; }
@keyframes dots { 0% { width: 0; } 100% { width: 1.1em; } }
.cs__box a.mail { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--red); }
.cs__box .rotor { width: 88px; margin: 0 auto 26px; animation: spin 6s linear infinite; }

/* page hero (inner pages) */
.page-title { padding: clamp(44px, 6vw, 84px) 0 0; position: relative; }
.crumbs { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.crumbs a:hover { color: var(--red); }
.crumbs i { color: var(--red); font-style: normal; margin: 0 8px; }

/* CTA band */
.cta { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta .wrap { display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 30px; padding: clamp(50px, 6vw, 86px) 0; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 48px); font-weight: 800; }
.cta p { color: rgba(255,255,255,.7); margin: 12px 0 0; max-width: 52ch; }
.cta .bg-ring { position: absolute; right: -140px; top: 50%; width: 520px; aspect-ratio: 1; border: 2px dashed rgba(227,30,36,.5); border-radius: 50%; transform: translateY(-50%); animation: spin 50s linear infinite; }
.cta .btn--ghost { color: #fff; border-color: #fff; }

/* ---------- footer ---------- */
.footer { background: var(--footer); color: #fff; font-size: 12.5px; }
.footer .wrap { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; min-height: 64px; gap: 16px; padding: 14px 0; }
.footer .follow { display: flex; align-items: center; gap: 12px; font-weight: 600; justify-content: center; }
.footer .follow a { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--red); border-radius: 5px; color: var(--red); transition: background .3s, color .3s, transform .4s var(--ease); }
.footer .follow a:hover { background: var(--red); color: #fff; transform: translateY(-3px); }
.footer .follow svg { width: 13px; height: 13px; fill: currentColor; }
.footer .copy { text-align: center; opacity: .85; }
.footer .copy a { color: var(--red); text-decoration: underline; }
.totop { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid #fff; border-radius: 5px; background: transparent; color: #fff; font-size: 12px; font-weight: 600; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.totop i { width: 18px; height: 18px; background: var(--red); border-radius: 4px; display: grid; place-items: center; }
.totop svg { width: 10px; height: 10px; stroke: #fff; fill: none; stroke-width: 3; }
.totop:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .tech { grid-template-columns: 1fr; }
  .tech__col { grid-template-columns: repeat(2, 1fr); }
  .tech__col .chip::after { display: none; }
  .tech__art { order: -1; }
}
@media (max-width: 900px) {
  :root { --nav-h: 70px; }
  .burger { display: block; }
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav {
    position: fixed; inset: 0; height: 100vh; height: 100dvh; background: #fff; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 6px; padding: calc(var(--nav-h) + 28px) 24px 28px; transform: translateX(100%); visibility: hidden; transition: transform .6s var(--ease-in-out), visibility 0s .6s; z-index: -1; overflow: auto;
  }
  .nav.open { visibility: visible; transition-delay: 0s; }
  .nav.open { transform: none; }
  .nav a { font-size: 26px; font-weight: 800; padding: 10px 0; text-transform: none; letter-spacing: -.01em; }
  .nav a.btn { margin-top: 18px; font-size: 14px; }
  .nav a:not(.btn)::after { display: none; }
  .topbar { background: var(--red); }
  .topbar .wrap { justify-content: center; font-size: 11px; gap: 10px; }
  .topbar .sep, .topbar .hide-sm { display: none; }
  .slide .wrap { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: center; padding-left: 36px; gap: 8px; padding-top: 20px; }
  .slide__art { order: -1; }
  .slide__art .motor { width: min(300px, 70%); }
  .slide__copy { padding-bottom: 80px; }
  .slide__made { display: none; }
  .scrollcue { display: none; }
  .cols-2 { column-count: 1; }
  .team, .offices { grid-template-columns: 1fr; }
  .cta .wrap { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .totop { justify-self: center; }
  .form { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { width: min(var(--wrap), 100% - 36px); }
  .grid-4, .cards-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .member { grid-template-columns: 110px 1fr; gap: 16px; }
  .member h3 { font-size: 18px; }
  .section__side, .hero__wm { font-size: 26px; left: 2px; }
  .section__body { padding-left: 34px; }
  .spec th, .spec td { font-size: 11.5px; padding: 10px 4px; }
  .tech__col { grid-template-columns: 1fr; gap: 14px; }
  .stat { padding: 28px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], .split > span { opacity: 1; transform: none; }
}

/* footer credit */
.footer .copy .credit { color: var(--red); font-weight: 600; }

/* real photography (used automatically when files exist in assets/img) */
.footer .copy a.credit { color: var(--red); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s; }
.footer .copy a.credit:hover { border-color: var(--red); }
.rotor-art.photo { filter: none; }
.rotor-art.photo .motor { object-fit: contain; }
img.motor { display: block; height: auto; }
.member__img img { object-position: center top; }
.logo img { height: 48px; width: auto; display: block; transition: height .3s var(--ease); }
.header.scrolled .logo img { height: 40px; }
.member__img img { background: #f3f3f3; }
.rotor-art.photo { filter: drop-shadow(0 34px 28px rgba(0,0,0,.16)); }
img.motor.fade-top { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%); mask-image: linear-gradient(to bottom, transparent 0, #000 14%); }
.pcard img.motor { filter: drop-shadow(0 16px 12px rgba(0,0,0,.16)); }
.tech__art .rotor-art.photo { width: min(600px, 118%); }
.pp-stage .rotor-art.photo { width: min(700px, 90vw); }

/* =====================================================================
   v2 — layouts matched to the Figma frames
   ===================================================================== */

/* ---- Home: slider only, products shown very large ---- */
.hero { --hh: calc(100svh - var(--topbar-h)); height: var(--hh); min-height: 560px; margin-top: calc(var(--nav-h) * -1); }
@media (min-width: 901px) {
  body[data-page="index"] .header:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
}
.slide__art { position: absolute; z-index: 1; height: var(--ah); width: calc(var(--ah) * var(--r)); }
.slide__art .rotor-art, .slide__art .spinner { width: 100%; height: 100%; }
.slide__art img.motor { width: 100%; height: 100%; object-fit: contain; -webkit-mask-image: none; mask-image: none; }
.slide__copy { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); }
.slide__copy h1 { font-size: clamp(28px, 3.35vw, 66px); line-height: 1.12; font-weight: 800; }
.slide__copy p { font-size: clamp(14px, 1.25vw, 22px); max-width: 34ch; margin-top: 14px; color: var(--muted); }

.slide--a { --ah: min(calc(var(--hh) * .82), calc(47vw / var(--r))); }
.slide--a .slide__art { left: 15vw; bottom: 3%; }
.slide--a .slide__copy { left: calc(15vw + var(--ah) * var(--r) + 3vw); right: 4vw; }

.slide--b { --ah: min(calc(var(--hh) * .95), calc(58vw / var(--r))); }
.slide--b .slide__art { right: 1vw; bottom: 1%; }
.slide--b .slide__copy { left: 14vw; top: 36%; width: max-content; max-width: 44vw; }
.slide--b:not(.active) .motor { transform: translateX(60px) scale(.9); }

.hero__made { position: absolute; z-index: 4; right: 4vw; bottom: 4.5%; font-weight: 800; font-size: clamp(16px, 1.9vw, 34px); letter-spacing: .14em; color: #a9a9a9; text-transform: uppercase; pointer-events: none; }
.hero__ctrl { z-index: 6; }

@media (max-width: 900px) {
  .hero { margin-top: 0; min-height: 640px; }
  .slide--a, .slide--b { --ah: min(calc(var(--hh) * .40), calc(74vw / var(--r))); }
  .slide--a .slide__art, .slide--b .slide__art { left: 50%; right: auto; top: 14px; bottom: auto; transform: translateX(-50%); }
  .slide--a .slide__copy, .slide--b .slide__copy { left: 28px; right: 20px; top: auto; bottom: 92px; transform: none; width: auto; max-width: none; }
  .hero__made { right: 20px; bottom: 56px; font-size: 14px; }
}

/* ---- Products: size ladder + per-model artwork ---- */
.page-title + .section { padding-top: clamp(16px, 2.5vw, 40px); }
.pcard__art { height: 250px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 14px; }
.pcard__art .motor { margin: 0; max-width: 100%; height: auto; transform-origin: 50% 100%; }
.pcard__art .motor.ev { height: 100%; width: auto; object-fit: contain; }
.pcard .tag { z-index: 3; }
@media (max-width: 620px) { .pcard__art { height: 170px; } }

/* ---- Technology: full Figma composition ---- */
.section--tech { position: relative; padding: 0 0 clamp(24px, 3vw, 48px); overflow: hidden; }
.techx { position: relative; width: min(100% - 24px, 1560px); margin: 0 auto; aspect-ratio: 2000 / 1250; container-type: inline-size; }
.techx__title { position: absolute; left: 12.4%; top: 2%; z-index: 3; font-size: clamp(28px, 4.1vw, 62px); font-size: 4.1cqw; font-weight: 800; letter-spacing: -.02em; }
.techx__art { position: absolute; left: 24.8%; top: 10.5%; width: 51%; z-index: 1; }
.techx__art .rotor-art { width: 100%; }
.techx__art img.motor { width: 100%; height: auto; }
.tlabel {
  position: absolute; z-index: 2; width: 14.8%; height: 7.5%; display: grid; place-items: center; text-align: center; padding: 0 .8cqw;
  background: var(--salmon); color: #fff; font-weight: 600; font-size: 1.12cqw; line-height: 1.28; border-radius: .55cqw;
  box-shadow: 0 1.1cqw 2.2cqw -1.1cqw rgba(255, 80, 80, .75);
  transition: opacity 1s var(--ease), transform .5s var(--ease), translate .5s ease-out, background .3s;
}
.tlabel:hover { background: var(--red); transform: scale(1.05); }
.tlabel.in:hover { transform: scale(1.05); }
@media (max-width: 900px) {
  .techx { aspect-ratio: auto; container-type: normal; width: min(100% - 36px, 640px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 0 8px; }
  .techx__title { position: static; grid-column: 1 / -1; font-size: 34px; padding-left: 34px; }
  .techx__art { position: static; grid-column: 1 / -1; width: min(92%, 440px); margin: 0 auto; }
  .tlabel { position: static; width: auto; height: auto; padding: 14px 12px; font-size: 13px; border-radius: 6px; }
}
@media (max-width: 900px) { .hero__wm { display: none; } }

/* ---- v3: technology polish + nav button ---- */
.nav a.btn { padding: 11px 24px; line-height: 1; border-radius: 999px; font-size: 12px; letter-spacing: .08em; }
.nav a.btn.btn--sm { padding: 11px 24px; }
.techx__title { left: 0; right: 0; text-align: center; top: 1.6%; }
.tlabel { width: 16.5%; height: auto; min-height: 7.5%; padding: .5cqw .5cqw; }
.techx__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.tl__base { fill: none; stroke: var(--salmon); stroke-opacity: .8; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.tl__flow { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 9 91; animation: tlflow 2.4s linear infinite; animation-delay: calc(var(--i) * -.35s); filter: drop-shadow(0 0 4px rgba(227,30,36,.8)); }
@keyframes tlflow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
.tl__end { fill: var(--red); }
.tl__ring { fill: none; stroke: var(--red); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: tlring 2s ease-out infinite; animation-delay: calc(var(--i) * .25s); vector-effect: non-scaling-stroke; }
@keyframes tlring { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.tl__dot { fill: #fff; stroke: var(--red); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(227,30,36,.9)); vector-effect: non-scaling-stroke; }
@media (max-width: 900px) { .techx__lines { display: none; } .techx__title { position: static; text-align: center; padding: 0; } }
@media (prefers-reduced-motion: reduce) { .tl__flow, .tl__ring { animation: none; } .tl__dot { display: none; } }

/* =====================================================================
   v4 — client revisions (Nov 2026)
   ===================================================================== */
/* no page transitions */
.curtain { display: none !important; }
.seen .preloader { display: none; }

/* inner pages: remove the wide gap under the nav */
.page-title { padding: clamp(14px, 1.6vw, 24px) 0 0; }
.crumbs { margin-bottom: 6px; }
.page-title + .section, .page-title + div + .section { padding-top: clamp(10px, 1.6vw, 22px); }
.page-title + .section .eyebrow { margin-top: 0; }

/* home slide 2: motor a little closer to the middle */
.slide--b { --ah: min(calc(var(--hh) * .92), calc(54vw / var(--r))); }
.slide--b .slide__art { right: 6vw; }
@media (max-width: 900px) { .slide--b .slide__art { right: auto; } }

/* technology: static connector lines */
.tl__base { stroke-opacity: .9; }

/* coming soon: stationary */
.cs__box .rotor { animation: none; }
.cs__box h1 span { display: none; }

/* team: LinkedIn pops up on hover */
.member__li {
  position: absolute; left: 50%; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; background: #0a66c2; color: #fff;
  display: grid; place-items: center; z-index: 2; box-shadow: 0 10px 22px -8px rgba(10,102,194,.7);
  opacity: 0; transform: translate(-50%, 16px) scale(.6); transition: opacity .35s var(--ease), transform .45s var(--ease), background .3s;
}
.member__li svg { width: 20px; height: 20px; fill: currentColor; }
.member__li:hover { background: #004182; }
.member:hover .member__li, .member__li:focus-visible { opacity: 1; transform: translate(-50%, 0) scale(1); }
@media (hover: none) { .member__li { opacity: 1; transform: translate(-50%, 0) scale(.85); } }

/* investors (light, same style as the rest of the site) */
.section--investors { padding-top: clamp(30px, 4vw, 56px); }
.investors { display: grid; gap: 28px; margin-top: 36px; }
.investor { display: grid; grid-template-columns: 170px 1fr; gap: 30px; align-items: start; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .4s, border-color .4s; }
.investor:hover { box-shadow: 0 24px 50px -30px rgba(0,0,0,.25); border-color: #ffd0d0; }
.investor__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5/6; background: #f3f3f3; }
.investor__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.investor small { display: block; color: #e8590c; font-weight: 700; font-size: 12.5px; margin-bottom: 6px; }
.investor h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.investor h4 { font-size: 14px; font-weight: 800; margin: 16px 0 6px; }
.investor p { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
@media (max-width: 700px) { .investor { grid-template-columns: 96px 1fr; gap: 16px; padding: 16px; } .investor h3 { font-size: 19px; } }

/* EV motor detail pages */
.evp { position: relative; min-height: min(86vh, 760px); display: grid; grid-template-rows: 1fr auto; overflow: hidden; }
.evp__art { position: absolute; right: 4vw; top: -40px; height: calc(100% - 20px); width: min(52vw, 760px); display: flex; justify-content: center; align-items: flex-end; pointer-events: none; }
.evp__art img, .evp__art svg { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); }
.evp__copy { position: relative; z-index: 2; padding-top: clamp(14px, 1.6vw, 24px); }
.evp__copy h1 { font-size: clamp(34px, 4.6vw, 70px); font-weight: 800; line-height: 1.08; margin-top: clamp(24px, 6vw, 90px); }
.evp__foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 26px; }
.evp__foot p { max-width: 44ch; font-size: 14px; color: var(--muted); margin: 0; }
.evp__foot b { font-size: 13px; letter-spacing: .08em; }
@media (max-width: 900px) {
  .evp { min-height: 0; grid-template-rows: auto; }
  .evp__art { position: static; width: 100%; height: 320px; margin-top: 10px; order: 2; }
  .evp__foot { flex-direction: column; align-items: flex-start; }
}
.evp__copy h1 { font-size: clamp(32px, 3.8vw, 58px); max-width: 44%; }
@media (max-width: 900px) { .evp__copy h1 { max-width: none; } }
.spec { table-layout: fixed; }
.pp-hero { padding-top: clamp(14px, 1.6vw, 24px); }

/* product artwork never crosses the content edge (same as nav / .wrap) */
:root { --edge: max(24px, calc((100vw - var(--wrap)) / 2)); }
@media (max-width: 900px) { :root { --edge: 18px; } }
.slide--b .slide__art { right: var(--edge); }
.hero__made { right: var(--edge); }
.evp__art { right: var(--edge); }
@media (max-width: 900px) { .slide--b .slide__art { right: auto; } .evp__art { right: auto; } }
