/* ============================================================
   PG SICA — High-Performance Brake Discs
   Premium dark, cinematic, motorsport editorial · multi-page
   ============================================================ */

:root {
  --bg:        #0a0a0b;
  --bg-2:      #0e0e10;
  --surface:   #131316;
  --surface-2: #191920;
  --ink:       #f4f3ef;
  --ink-2:     #b9b7b0;
  --ink-3:     #7b7a75;
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.16);

  --gold:        #c9a24b;
  --gold-bright: #eccb7c;
  --gold-deep:   #8f6f2c;
  --red:         #e01818;
  --red-deep:    #9c1212;

  --t-green:  #1d7a4d;
  --t-orange: #d98200;
  --t-red:    #c8195c;

  --studio:    #f1efe9;
  --studio-2:  #e7e4dc;

  --font-display: 'Saira', 'Noto Sans SC', system-ui, sans-serif;
  --font-body:    'Inter', 'Noto Sans SC', system-ui, sans-serif;

  --maxw: 1280px;
  --gut: clamp(20px, 5vw, 72px);
  --radius: 14px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__scroll i::after, .hero__ticker { animation: none !important; }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: #0a0a0b; }

body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(201,162,75,.05), transparent 60%),
    radial-gradient(100% 60% at 50% 110%, rgba(0,0,0,.5), transparent 55%);
  mix-blend-mode: screen;
  opacity: .8;
}

/* ---------- Brand wordmark ---------- */
.logo-pg, .logo-sica {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
}
.logo-pg { position: relative; color: var(--ink); padding-right: .12em; }
.logo-sica { font-weight: 500; color: var(--ink); letter-spacing: .12em; margin-left: .28em; }
.logo-flag {
  position: absolute; top: -.02em; right: -.05em;
  width: .34em; height: .34em;
  background:
    linear-gradient(45deg, currentColor 25%, transparent 25%) 0 0 / 50% 50%,
    linear-gradient(45deg, transparent 75%, currentColor 75%) 0 0 / 50% 50%,
    linear-gradient(45deg, currentColor 25%, transparent 25%) 50% 50% / 50% 50%,
    linear-gradient(45deg, transparent 75%, currentColor 75%) 50% 50% / 50% 50%;
  background-repeat: no-repeat;
  color: var(--gold);
  transform: rotate(8deg);
}

/* ---------- Shared atoms ---------- */
.kicker {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: .8em;
}
.kicker::before {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.kicker--red { color: #ff5c5c; }
.kicker--red::before { background: linear-gradient(90deg, var(--red), transparent); }

.section-head { max-width: var(--maxw); margin: 0 auto clamp(36px, 6vw, 76px); padding: 0 var(--gut); }
.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--center .kicker::before { display: none; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin-top: .4em;
}
.section-sub {
  color: var(--ink-2);
  font-size: clamp(15px, 1.5vw, 18px);
  max-width: 66ch; margin-top: 1.1em;
}
.section-head--center .section-sub { margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* chips */
.chip {
  display: inline-flex; align-items: center; gap: .5em;
  border: 1px solid var(--line-2); border-radius: 100px;
  padding: 8px 16px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-2);
  transition: border-color .3s, color .3s, background .3s, transform .3s var(--ease);
  background: rgba(255,255,255,.02);
}
a.chip:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
.chip--gold { border-color: rgba(201,162,75,.5); color: var(--gold-bright); }
.chip--red { border-color: rgba(224,24,24,.55); color: #ff6b6b; }
.chip--warn { border-color: rgba(224,24,24,.4); color: #ff9d9d; background: rgba(224,24,24,.06); }
.chip--paint { gap: .35em; }

/* paint dots */
.pd { display: inline-block; width: 11px; height: 11px; border-radius: 50%; vertical-align: -1px; }
.pd--g { background: #2eb573; }
.pd--o { background: #f3902a; }
.pd--r { background: #e8365f; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  font-family: var(--font-display);
  font-weight: 600; font-size: 14px; letter-spacing: .06em;
  padding: .92em 1.7em;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .4s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .4s var(--ease);
  white-space: nowrap;
}
.btn--solid {
  background: var(--gold); color: #0a0a0b;
  box-shadow: 0 8px 30px -10px rgba(201,162,75,.6);
}
.btn--solid:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(201,162,75,.75); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.04); border-color: var(--line); color: var(--ink); padding: .7em 1.25em; }
.btn--ghost:hover { background: var(--gold); color: #0a0a0b; border-color: var(--gold); }

/* ============================================================
   PRELOADER (home only)
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px;
}
.anime-ready .preloader { display: flex; }
.preloader.is-done { opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.preloader__rotor { width: 120px; height: 120px; transform-origin: center center; }
.pre-ring { fill: none; stroke: var(--gold); stroke-width: 3; opacity: .9;
  stroke-dasharray: 1; stroke-dashoffset: 1; transform-origin: 100px 100px; }
.pre-ring--in { stroke: var(--ink-3); stroke-width: 2; }
.preloader__brand { font-size: 30px; opacity: 0; }
.preloader__bar { width: 160px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright)); }

body.nav-locked { overflow: hidden; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10,10,11,.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
  padding-top: 13px; padding-bottom: 13px;
}
.nav__brand { font-size: 24px; display: flex; align-items: center; z-index: 2; }
.nav__links { display: flex; gap: clamp(16px, 2.2vw, 36px); }
.nav__links a {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 500; letter-spacing: .04em;
  color: var(--ink-2); position: relative; padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 16px; z-index: 2; }

.lang-toggle {
  display: inline-flex; border: 1px solid var(--line-2); border-radius: 100px;
  background: rgba(255,255,255,.03); overflow: hidden;
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  cursor: pointer; color: var(--ink-3);
}
.lang-toggle span { padding: 6px 11px; color: var(--ink-3); transition: color .3s, background .3s; }
.lang-toggle span.is-active { color: #0a0a0b; background: var(--ink); }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 2; }
.nav__burger i { width: 24px; height: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .3s; }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px var(--gut) 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; z-index: -2; inset: 0;
  background:
    radial-gradient(60% 55% at 72% 42%, rgba(201,162,75,.20), transparent 62%),
    radial-gradient(50% 50% at 30% 80%, rgba(224,24,24,.10), transparent 60%);
}
.hero__grid {
  position: absolute; z-index: -2; inset: 0; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 75%);
          mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 75%);
}

.hero__rotor-wrap {
  position: absolute; z-index: -1;
  top: 50%; right: clamp(-180px, -6vw, -40px);
  transform: translateY(-50%);
  width: min(56vw, 700px); aspect-ratio: 1;
  pointer-events: none;
}
.hero__rotor { width: 100%; height: 100%; filter: drop-shadow(0 40px 80px rgba(0,0,0,.6)); transform-origin: center center; }

/* spinning rotor groups pivot around their own centre */
.rotor-spin { transform-box: fill-box; transform-origin: 50% 50%; }

.hero__content { position: relative; max-width: var(--maxw); width: 100%; margin: 0 auto; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 8.2vw, 118px);
  line-height: .98;
  letter-spacing: -.03em;
  margin: .28em 0 .36em;
}
.hero__title .line { display: block; }
.hero__title .line--gold {
  background: linear-gradient(100deg, var(--gold-bright), var(--gold) 40%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__lede { max-width: 56ch; color: var(--ink-2); font-size: clamp(15px, 1.6vw, 18px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2em; }

.hero__scroll {
  position: absolute; left: var(--gut); bottom: 96px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3);
}
.hero__scroll i { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; top: -34px; left: 0; width: 100%; height: 34px; background: var(--gold-bright); animation: scrollDot 2.2s var(--ease) infinite; }
@keyframes scrollDot { 0% { top: -34px; } 60%,100% { top: 34px; } }

.hero__ticker {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; gap: 26px; list-style: none;
  padding: 15px 0; border-top: 1px solid var(--line);
  background: rgba(10,10,11,.4);
  font-family: var(--font-display); font-size: 12.5px; letter-spacing: .1em; color: var(--ink-3);
  white-space: nowrap; width: max-content;
  animation: ticker 40s linear infinite;
}
.hero__ticker li:nth-child(even) { color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   PAGE HERO (sub-pages)
   ============================================================ */
.phero {
  position: relative;
  padding: clamp(150px, 22vh, 220px) var(--gut) clamp(48px, 7vw, 90px);
  max-width: none; overflow: hidden; isolation: isolate;
}
.phero__in { max-width: var(--maxw); margin: 0 auto; }
.phero__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 60% at 80% 0%, rgba(201,162,75,.14), transparent 62%),
    radial-gradient(40% 50% at 10% 100%, rgba(224,24,24,.07), transparent 60%);
}
.phero__title {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 6.4vw, 88px);
  line-height: 1.02; letter-spacing: -.03em;
  margin: .35em auto .3em;
}
.phero__sub { color: var(--ink-2); font-size: clamp(15px, 1.6vw, 18px); max-width: 72ch; }
.phero__jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2em; }

/* ============================================================
   MANIFESTO / STATS (home)
   ============================================================ */
.manifesto {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(90px, 15vw, 200px) var(--gut);
}
.manifesto__eyebrow {
  font-family: var(--font-display); font-size: 12px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 2.2em;
}
.manifesto__text {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(26px, 4.4vw, 58px); line-height: 1.2; letter-spacing: -.015em;
}
.manifesto__dim { color: var(--ink-3); }

.stats {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 861px) { .stats { margin-inline: auto; width: calc(100% - 2 * var(--gut)); } }
.stat { background: var(--bg); padding: clamp(26px, 3.4vw, 46px); display: flex; flex-direction: column; position: relative; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 5.6vw, 72px); line-height: 1; letter-spacing: -.03em; display: inline-flex; align-items: baseline; }
.stat__num i { font-size: .4em; font-weight: 600; color: var(--gold); margin-left: .12em; font-style: normal; }
.stat__pre { position: absolute; top: clamp(20px,3vw,38px); left: clamp(18px,2.6vw,34px); color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: clamp(16px,2vw,24px); }
.stat__label { color: var(--ink-3); font-size: 13px; margin-top: 1.1em; line-height: 1.4; }

/* ============================================================
   TWO LINES (home)
   ============================================================ */
.lines { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px,11vw,150px) var(--gut) 0; }
.lines__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.line-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .4s, transform .5s var(--ease);
}
.line-card:hover { border-color: var(--line-2); transform: translateY(-5px); }
.line-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 1.2s var(--ease); }
.line-card:hover img { transform: scale(1.05); }
.line-card__body { padding: clamp(22px, 2.6vw, 34px); }
.line-card__tag { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .22em; color: #ff6b6b; }
.line-card__tag--gold { color: var(--gold-bright); }
.line-card__body h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -.01em; margin: .4em 0 .5em; }
.line-card__body p { color: var(--ink-2); font-size: 14.5px; }
.line-card__cta { display: inline-block; margin-top: 1.4em; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--gold); transition: color .3s; }
.line-card:hover .line-card__cta { color: var(--gold-bright); }

/* ============================================================
   TECH (home)
   ============================================================ */
.tech { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 11vw, 150px) var(--gut); }
.tech__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tech-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 36px); min-height: 270px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s var(--ease);
}
.tech-card:hover { border-color: var(--line-2); transform: translateY(-4px); background: var(--surface-2); }
.tech-card--wide { grid-column: span 2; }
.tech-card--accent { background: linear-gradient(160deg, rgba(201,162,75,.10), var(--surface) 55%); border-color: rgba(201,162,75,.25); }
.tech-card__no { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .2em; color: var(--gold); }
.tech-card__body { margin-top: auto; padding-top: 40px; }
.tech-card__body h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 2vw, 24px); letter-spacing: -.01em; }
.tech-card__body p { color: var(--ink-2); font-size: 14.5px; margin-top: .7em; line-height: 1.55; }
.tech-card__link { display: inline-block; margin-top: 1em; color: var(--gold); font-family: var(--font-display); font-weight: 600; font-size: 14px; transition: color .3s; }
.tech-card__link:hover { color: var(--gold-bright); }

.tech-card__viz--alloy {
  position: absolute; top: 0; right: 0; width: 46%; height: 100%; opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.tech-card__viz--alloy span {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--gold-deep) 70%);
  box-shadow: inset 0 0 6px rgba(0,0,0,.4);
}
.tech-card__viz--alloy span:nth-child(1){ width: 46px; height: 46px; top: 18%; right: 30%; }
.tech-card__viz--alloy span:nth-child(2){ width: 30px; height: 30px; top: 40%; right: 12%; background: radial-gradient(circle at 35% 30%, #d8d6cf, #6f6e69 70%); }
.tech-card__viz--alloy span:nth-child(3){ width: 22px; height: 22px; top: 64%; right: 38%; }
.tech-card__viz--alloy span:nth-child(4){ width: 16px; height: 16px; top: 22%; right: 8%; background: radial-gradient(circle at 35% 30%, #f3902a, #7a3d04 70%); }
.tech-card__viz--alloy span:nth-child(5){ width: 38px; height: 38px; top: 58%; right: 6%; }
.tech-card__viz--alloy span:nth-child(6){ width: 13px; height: 13px; top: 80%; right: 26%; background: radial-gradient(circle at 35% 30%, #d8d6cf, #6f6e69 70%); }

/* ============================================================
   THERMAL (home)
   ============================================================ */
.thermal {
  position: relative;
  padding: clamp(70px,11vw,150px) var(--gut);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(201,162,75,.06), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.thermal__stage {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
.thermal__disc-wrap { position: relative; aspect-ratio: 1; }
.thermal__disc { width: 100%; height: 100%; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }
.thermal__readout {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  text-align: center; pointer-events: none;
}
.thermal__temp { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 5vw, 58px); line-height: 1; display: inline-flex; align-items: baseline; letter-spacing: -.03em; }
.thermal__temp i { font-style: normal; font-size: .42em; color: var(--ink-2); margin-left: .1em; }
.thermal__state { display: block; font-family: var(--font-display); font-size: 13px; letter-spacing: .26em; text-transform: uppercase; margin-top: .5em; color: var(--gold); transition: color .3s; }

.thermal__legend { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.leg { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); transition: border-color .3s, background .3s; }
.leg.is-tripped { border-color: var(--line-2); background: var(--surface-2); }
.leg__dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.04); transition: background .4s, box-shadow .4s; }
.leg__dot--green { background: #2eb573; }
.leg__dot--orange { background: #f3902a; }
.leg__dot--red { background: #e8365f; }
.leg.is-tripped .leg__dot--green { background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.6); }
.leg.is-tripped .leg__dot--orange { background: #ffe14d; box-shadow: 0 0 12px rgba(255,225,77,.6); }
.leg.is-tripped .leg__dot--red { background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.6); }
.leg b { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.leg i { font-style: normal; font-size: 12.5px; color: var(--ink-3); }

.thermal__control { margin-bottom: 22px; }
input[type=range]#tempSlider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, #2b2b30 0%, #2eb573 58.33%, #f3902a 80%, #e8365f 88.33%, #fff 100%);
  outline: none; cursor: pointer;
}
input[type=range]#tempSlider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); border: 3px solid var(--gold);
  box-shadow: 0 4px 14px rgba(0,0,0,.5); transition: transform .2s;
}
input[type=range]#tempSlider::-webkit-slider-thumb:active { transform: scale(1.15); }
input[type=range]#tempSlider:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}
input[type=range]#tempSlider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 3px solid var(--gold); }
.thermal__scale { position: relative; height: 1.3em; margin-top: 8px; font-family: var(--font-display); font-size: 11px; color: var(--ink-3); letter-spacing: .05em; }
.thermal__scale span { position: absolute; top: 0; transform: translateX(-50%); }
.thermal__scale span:nth-child(1) { left: 0; transform: none; }
.thermal__scale span:nth-child(2) { left: 58.33%; }
.thermal__scale span:nth-child(3) { left: 80%; }
.thermal__scale span:nth-child(4) { left: 88.33%; }
.thermal__scale span:nth-child(5) { left: 100%; transform: translateX(-100%); }
.thermal__brake { width: 100%; user-select: none; -webkit-user-select: none; touch-action: none; }
.thermal__hint { color: var(--ink-3); font-size: 12.5px; margin-top: 12px; text-align: center; }

/* ============================================================
   MOTORSPORT (home)
   ============================================================ */
.moto { position: relative; padding: clamp(80px,12vw,160px) 0; overflow: hidden; }
.moto__bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 80% at 100% 50%, rgba(224,24,24,.12), transparent 55%),
    radial-gradient(50% 60% at 0% 20%, rgba(201,162,75,.08), transparent 60%),
    var(--bg);
}
.moto__bg::after { content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, transparent 0 40px, rgba(255,255,255,.015) 40px 41px); }
.moto__inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.moto__head { max-width: 68ch; }

.moto__races { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(36px,5vw,60px); }
.moto__races li {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.02);
  padding: 16px 20px;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(14px, 1.6vw, 18px); letter-spacing: -.01em;
  transition: border-color .3s, background .3s;
}
.moto__races li:hover { border-color: rgba(201,162,75,.4); background: rgba(201,162,75,.04); }
.moto__races li::before {
  content: ""; flex: 0 0 auto; width: 16px; height: 12px;
  background:
    linear-gradient(45deg, #fff 25%, transparent 25%) 0 0 / 50% 50%,
    linear-gradient(45deg, transparent 75%, #fff 75%) 0 0 / 50% 50%,
    linear-gradient(45deg, #fff 25%, transparent 25%) 50% 50% / 50% 50%,
    linear-gradient(45deg, transparent 75%, #fff 75%) 50% 50% / 50% 50%;
  background-repeat: no-repeat; opacity: .8;
}
.moto__badge { margin-top: 18px; }
.moto__badge span {
  display: inline-block; border: 1px solid rgba(224,24,24,.55); color: #ff8080;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .18em;
  padding: 9px 18px; border-radius: 8px; text-transform: uppercase;
}

.moto__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(36px,5vw,60px); }
.moto__shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.moto__shot img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 1s var(--ease); }
.moto__shot:hover img { transform: scale(1.06); }

/* ============================================================
   CTA BAND (links)
   ============================================================ */
.ctaband {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(70px,10vw,130px) var(--gut);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.ctaband__item {
  position: relative; display: block;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(201,162,75,.06), var(--surface) 60%);
  padding: clamp(28px, 3.4vw, 46px);
  transition: border-color .4s, transform .5s var(--ease);
  overflow: hidden;
}
.ctaband__item:hover { border-color: rgba(201,162,75,.4); transform: translateY(-5px); }
.ctaband__item h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.8vw, 34px); letter-spacing: -.015em; margin: .5em 0 .4em; }
.ctaband__sub { color: var(--ink-2); font-size: 14px; }
.ctaband__arrow {
  position: absolute; right: clamp(24px,3vw,40px); bottom: clamp(20px,2.6vw,34px);
  font-size: clamp(26px, 3vw, 38px); color: var(--gold);
  transition: transform .4s var(--ease);
}
.ctaband__item:hover .ctaband__arrow { transform: translateX(8px); }

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.pline { padding: clamp(60px, 9vw, 120px) 0; }
.pline--street { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pline__head { max-width: var(--maxw); margin: 0 auto clamp(40px, 6vw, 70px); padding: 0 var(--gut); }
.pline__common { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.8em; }

.models { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); display: flex; flex-direction: column; gap: clamp(36px, 6vw, 80px); }
.model { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(26px, 4vw, 60px); align-items: center; }
.model--rev .model__media { order: 2; }
.model__media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #000; border: 1px solid var(--line);
}
.model__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.1s var(--ease); }
.model:hover .model__media img { transform: scale(1.05); }
.model__badge {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .16em;
  padding: 7px 13px; border-radius: 100px;
  background: rgba(255,255,255,.1); color: var(--ink); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
}
.model__badge--red { background: var(--red); border-color: transparent; color: #fff; }
.model__badge--gold { background: var(--gold); border-color: transparent; color: #0a0a0b; }
.model__no { font-family: var(--font-display); font-weight: 700; letter-spacing: .22em; font-size: 13px; color: var(--gold); }
.model__info h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(23px, 3vw, 38px); letter-spacing: -.02em; line-height: 1.08; margin: .35em 0 .4em; }
.model__struct {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(13px, 1.4vw, 15px);
  color: var(--gold-bright); letter-spacing: .02em;
  padding-bottom: .9em; margin-bottom: .9em; border-bottom: 1px solid var(--line);
}
.model__desc { color: var(--ink-2); font-size: clamp(14px,1.5vw,16px); max-width: 56ch; }
.model__chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 1.5em; }
.model__chips li {
  display: inline-flex; align-items: center; gap: .45em;
  border: 1px solid var(--line); border-radius: 100px; background: var(--surface);
  padding: 8px 14px; font-family: var(--font-display); font-weight: 600; font-size: 12.5px; color: var(--ink-2);
}
.model__chips li.chip--paintrow { border-color: rgba(201,162,75,.3); }

/* paint reference table */
.paintref { padding: clamp(70px,10vw,140px) var(--gut); }
.paintref__table { max-width: 1000px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.paintref__table table { width: 100%; border-collapse: collapse; min-width: 640px; }
.paintref__table th, .paintref__table td {
  padding: 16px 20px; text-align: left; font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}
.paintref__table th {
  font-family: var(--font-display); font-weight: 600; letter-spacing: .04em; font-size: 13.5px;
  color: var(--ink-2); background: var(--surface);
  white-space: nowrap;
}
.paintref__table th .pd { margin-right: 4px; }
.paintref__table tbody tr:last-child > * { border-bottom: none; }
.paintref__table tbody tr { transition: background .3s; }
.paintref__table tbody tr:hover { background: rgba(201,162,75,.04); }
.paintref__table tbody th[scope=row] {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  text-align: left; background: transparent; white-space: normal;
}

/* ============================================================
   CUSTOM PAGE
   ============================================================ */
.cdims { padding: clamp(50px, 8vw, 110px) 0 0; }
.cdims__grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.cdim {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: clamp(24px, 2.6vw, 34px);
  transition: border-color .4s, transform .4s var(--ease), background .4s;
}
.cdim:hover { border-color: var(--line-2); transform: translateY(-4px); background: var(--surface-2); }
.cdim__no { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .2em; color: var(--gold); margin-bottom: 1.6em; }
.cdim h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.9vw, 23px); letter-spacing: -.01em; }
.cdim p { color: var(--ink-2); font-size: 14.5px; margin-top: .7em; line-height: 1.55; }

.cflow { padding: clamp(70px, 10vw, 140px) 0; }
.cflow__steps {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut);
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  counter-reset: step;
}
.cflow__steps--four { grid-template-columns: repeat(4, 1fr); }
.cstep {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: clamp(22px, 2.4vw, 32px);
  transition: border-color .4s, transform .4s var(--ease);
}
.cstep:hover { border-color: rgba(201,162,75,.35); transform: translateY(-4px); }
.cstep__no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(201,162,75,.5); color: var(--gold-bright);
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  margin-bottom: 1.2em;
}
.cstep h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.8vw, 21px); }
.cstep p { color: var(--ink-2); font-size: 13.5px; margin-top: .6em; line-height: 1.55; }

/* ============================================================
   PARTNERS PAGE
   ============================================================ */
.why { padding: clamp(50px, 8vw, 110px) 0 0; }
.why__grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.why-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: clamp(22px, 2.4vw, 32px);
  transition: border-color .4s, transform .4s var(--ease), background .4s;
}
.why-card:hover { border-color: var(--line-2); transform: translateY(-4px); background: var(--surface-2); }
.why-card__ico { font-size: 26px; display: block; margin-bottom: 1em; }
.why-card h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.8vw, 21px); letter-spacing: -.01em; }
.why-card p { color: var(--ink-2); font-size: 13.5px; margin-top: .7em; line-height: 1.55; }

.modes { padding: clamp(70px, 10vw, 140px) 0 0; }
.modes__grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.mode-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(28px, 3.2vw, 44px);
  transition: border-color .4s, transform .5s var(--ease);
}
.mode-card:hover { border-color: var(--line-2); transform: translateY(-5px); }
.mode-card--distributor { background: linear-gradient(160deg, rgba(201,162,75,.10), var(--surface) 55%); border-color: rgba(201,162,75,.3); }
.mode-card__tag { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .24em; color: #ff6b6b; }
.mode-card__tag--gold { color: var(--gold-bright); }
.mode-card h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.015em; margin: .35em 0 .5em; }
.mode-card__desc { color: var(--ink-2); font-size: 14.5px; }
.mode-card__list { list-style: none; margin-top: 1.6em; display: flex; flex-direction: column; gap: 10px; }
.mode-card__list li {
  position: relative; padding-left: 26px;
  font-size: 14px; color: var(--ink-2);
}
.mode-card__list li::before {
  content: "→"; position: absolute; left: 0; color: var(--gold);
  font-family: var(--font-display); font-weight: 700;
}

/* ============================================================
   CTA / FORMS
   ============================================================ */
.cta { padding: clamp(70px,11vw,150px) var(--gut); border-top: 1px solid var(--line);
  background: radial-gradient(70% 100% at 50% 0%, rgba(201,162,75,.10), transparent 60%), var(--bg-2); }
.cta__inner { max-width: 860px; margin: 0 auto; text-align: center; }
.cta__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 5vw, 60px); line-height: 1.04; letter-spacing: -.02em; }
.cta__sub { color: var(--ink-2); font-size: clamp(15px,1.6vw,18px); margin-top: 1em; }
.cta__form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 2.4em; }
.cta__form input, .cta__form select {
  flex: 1 1 220px; max-width: 320px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 100px;
  padding: 1em 1.4em; color: var(--ink); font-family: var(--font-body); font-size: 15px;
  transition: border-color .3s;
  appearance: none; -webkit-appearance: none;
}
.cta__form select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237b7a75'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.cta__form select:invalid { color: var(--ink-3); }
.cta__form option { color: #111; }
.cta__form input:focus, .cta__form select:focus { outline: none; border-color: var(--gold); }
.cta__form input::placeholder { color: var(--ink-3); }
.cta__ok { margin-top: 1.4em; color: var(--gold-bright); font-family: var(--font-display); font-weight: 600; }
.cta__err { margin-top: 1.4em; color: #ff8080; font-family: var(--font-display); font-weight: 600; }
.cta__note { margin-top: 1.8em; color: var(--ink-3); font-size: 13px; }
.cta__mail { margin-top: .3em; }
.cta__mail a {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(16px, 2vw, 20px);
  color: var(--gold-bright); letter-spacing: .02em;
  border-bottom: 1px solid rgba(201,162,75,.4); padding-bottom: 2px;
  transition: color .3s, border-color .3s;
}
.cta__mail a:hover { color: #fff; border-color: #fff; }

/* honeypot — visually removed, still in DOM for bots */
.hp { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: clamp(44px,6vw,72px) var(--gut);
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.footer__brand { font-size: 26px; }
.footer__brand p { font-family: var(--font-display); font-size: 12px; letter-spacing: .1em; color: var(--ink-3); margin-top: 1em; text-transform: uppercase; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; justify-content: flex-end; }
.footer__nav a { font-family: var(--font-display); font-size: 14px; color: var(--ink-2); transition: color .3s; }
.footer__nav a:hover { color: var(--gold); }
.footer__contact { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.footer__contact a { color: var(--gold); font-family: var(--font-display); font-weight: 600; transition: color .3s; }
.footer__contact a:hover { color: var(--gold-bright); }
.footer__copy { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-3); }

/* ============================================================
   REVEAL STATES (progressive enhancement)
   ============================================================ */
.anime-ready [data-reveal],
.anime-ready [data-reveal-word] { opacity: 0; }
.anime-ready .hero__title .line { opacity: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .tech__grid { grid-template-columns: repeat(2, 1fr); }
  .tech-card--wide { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cdims__grid { grid-template-columns: repeat(2, 1fr); }
  .cflow__steps, .cflow__steps--four { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; inset: 0; top: 0; z-index: 1;
    background: rgba(10,10,11,.97); backdrop-filter: blur(20px);
    align-items: center; justify-content: center;
  }
  .nav.is-open .nav__links a { font-size: 26px; color: var(--ink); }
  .nav.is-open .nav__burger i:first-child { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__burger i:last-child { transform: translateY(-7px) rotate(-45deg); }

  .hero__rotor-wrap { width: 86vw; top: 38%; right: -28vw; opacity: .42; }
  .thermal__stage { grid-template-columns: 1fr; }
  .thermal__disc-wrap { max-width: 420px; margin: 0 auto; }
  .lines__grid { grid-template-columns: 1fr; }
  .stats { margin-inline: var(--gut); }
  .model, .model--rev { grid-template-columns: 1fr; gap: 22px; }
  .model--rev .model__media { order: 0; }
  .moto__races { grid-template-columns: 1fr; }
  .moto__gallery { grid-template-columns: repeat(2, 1fr); }
  .ctaband { grid-template-columns: 1fr; }
  .modes__grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .footer__nav { justify-content: flex-start; }
}
@media (max-height: 760px) {
  .hero__scroll { display: none; }
}
@media (max-width: 540px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .tech__grid { grid-template-columns: 1fr; }
  .tech-card--wide { grid-column: span 1; }
  .cdims__grid { grid-template-columns: 1fr; }
  .cflow__steps, .cflow__steps--four { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .moto__gallery { grid-template-columns: 1fr; }
  .hero__ticker { font-size: 11px; }
  .hero__scroll { display: none; }
}

/* Region badge: Australia & New Zealand */
.region-badge {
  display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap;
  position: relative; z-index: 2;
  align-items: center; gap: .7em;
  margin: 1.1em 0 0; padding: .55em 1em;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(201,162,75,.08);
  font-family: var(--font-display); font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 600; letter-spacing: .08em; color: var(--ink);
}
.region-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,75,.18); }
.region-badge__flags { color: var(--gold); letter-spacing: .2em; padding-left: .7em; border-left: 1px solid var(--line-2); }
.footer .footer__brand .footer__region { color: var(--gold); margin-top: .4em; }
