/* ==========================================================================
   Automatrix Global — inner pages (About, Services, PPF, Process, Contact)
   One full-screen animated section per page + compact footer. Gold theme.
   ========================================================================== */

:root {
  --ink: #060607;
  --panel: rgba(18, 17, 16, 0.72);
  --panel-solid: #111012;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --gold: #d4a95c;
  --gold-hi: #ecc98a;
  --gold-lo: #9c783c;
  --gold-soft: rgba(212, 169, 92, 0.14);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.62);
  --font: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --nav-h: 84px;
  --gutter: clamp(16px, 3.4vw, 56px);
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gold-grad: linear-gradient(180deg, #f0d49e 0%, #d4a95c 55%, #a8813f 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
  overflow-x: clip;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: #0b0b0d;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sr-only:focus {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: #0b0b0d;
}

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ------------------------------------------------------------ Type -- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.title {
  margin: 16px 0 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(30px, 3.1vw, 50px);
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}

.g {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text {
  max-width: 34em;
  margin: 18px 0 0;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.7;
  color: var(--muted);
}

.small {
  font-size: 13px;
  color: var(--muted);
}

/* ---------------------------------------------------------- Buttons -- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.btn svg {
  width: 17px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(5px);
}

.btn--gold {
  background: var(--gold-grad);
  color: #0b0b0d;
  box-shadow: 0 10px 30px -10px rgba(212, 169, 92, 0.6);
}

.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease-out);
}

.btn--gold:hover::after {
  transform: translateX(120%);
}

.btn--gold:hover {
  box-shadow: 0 14px 40px -10px rgba(212, 169, 92, 0.85);
}

.btn--ghost {
  border-color: var(--line-2);
  color: #fff;
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-hi);
}

.btn--sm {
  height: 42px;
  padding: 0 20px;
  font-size: 11px;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
}

.link svg {
  width: 16px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.35s var(--ease);
}

.link:hover svg {
  transform: translateX(5px);
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* -------------------------------------------------------------- Nav -- */

.site-nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    height 0.4s var(--ease);
}

.site-nav.is-scrolled {
  --nav-h: 70px;
  background: rgba(6, 6, 7, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  max-width: none;
}

.site-nav__brand img {
  width: clamp(104px, 8vw, 128px);
  height: auto;
}

.site-nav__links {
  position: absolute;
  left: 50%;
  display: flex;
  gap: clamp(18px, 2.2vw, 38px);
  transform: translateX(-50%);
}

.site-nav__links a {
  position: relative;
  padding: 6px 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s var(--ease);
}

.site-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.2em;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  color: #fff;
}

.site-nav__links a:hover::after,
.site-nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(8, 8, 10, 0.5);
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: #fff;
  transition:
    transform 0.4s var(--ease),
    opacity 0.3s var(--ease);
}

.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; left: 19px; }

body.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { left: 13px; transform: translateY(-5px) rotate(-45deg); }

.menu {
  position: fixed;
  z-index: 45;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 20px) var(--gutter) 40px;
  background: rgba(6, 6, 7, 0.97);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s var(--ease),
    visibility 0.5s;
}

body.menu-open .menu {
  opacity: 1;
  visibility: visible;
}

.menu__links {
  display: flex;
  flex-direction: column;
}

.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(26px, 7.5vw, 40px);
  text-decoration: none;
  color: #fff;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.6s var(--ease-out);
}

body.menu-open .menu__links a {
  opacity: 1;
  transform: none;
}

body.menu-open .menu__links a:nth-child(2) { transition-delay: 0.04s; }
body.menu-open .menu__links a:nth-child(3) { transition-delay: 0.08s; }
body.menu-open .menu__links a:nth-child(4) { transition-delay: 0.12s; }
body.menu-open .menu__links a:nth-child(5) { transition-delay: 0.16s; }
body.menu-open .menu__links a:nth-child(6) { transition-delay: 0.2s; }

.menu__links small {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.menu__links a[aria-current="page"] {
  color: var(--gold-hi);
}

.menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.menu__foot p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------------------------------------------ Stage -- */
/* the single full-screen section each page is built on */

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 28px) 0 56px;
  isolation: isolate;
  overflow: hidden;
}

.stage > .wrap {
  position: relative;
  z-index: 1;
}

.stage__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 72% 55%, rgba(212, 169, 92, 0.13), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(212, 169, 92, 0.06), transparent 70%),
    var(--ink);
}

.stage__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 50%, #000, transparent 80%);
  mask-image: radial-gradient(70% 70% at 60% 50%, #000, transparent 80%);
}

/* slow light sweep across the studio */
.stage__bg::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -30%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(236, 201, 138, 0.06), transparent);
  transform: skewX(-18deg);
  animation: sweep 9s var(--ease) infinite;
}

@keyframes sweep {
  0% { transform: translateX(0) skewX(-18deg); }
  60%, 100% { transform: translateX(480%) skewX(-18deg); }
}

.stage__floor {
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 169, 92, 0.5), transparent);
}

/* load-in choreography: [data-a] children rise in, staggered by --d */
[data-a] {
  opacity: 0;
  transform: translateY(22px);
}

[data-a="left"] { transform: translateX(-30px); }
[data-a="right"] { transform: translateX(30px); }
[data-a="scale"] { transform: scale(0.94); }

body.is-loaded [data-a] {
  opacity: 1;
  transform: none;
  transition:
    opacity 1s var(--ease-out) var(--d, 0s),
    transform 1.2s var(--ease-out) var(--d, 0s);
}

/* word mask rise for titles */
.split-words .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.06em;
}

.split-words .w > span {
  display: inline-block;
  transform: translateY(105%);
}

body.is-loaded .split-words .w > span {
  transform: none;
  transition: transform 1.1s var(--ease-out) calc(0.15s + var(--i) * 0.06s);
}

/* -------------------------------------------------------- Car viewer -- */

.car-view {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.car-view canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.car-view__fallback {
  position: absolute;
  inset: 12%;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.car-view.is-fallback .car-view__fallback {
  opacity: 1;
}

.car-view__fallback img {
  width: 70%;
}

/* ------------------------------------------------------- Shared bits -- */

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)), var(--panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(212, 169, 92, 0.55), transparent 35%, transparent 70%, rgba(212, 169, 92, 0.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.checks {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--text);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: inset 0 0 0 1px rgba(212, 169, 92, 0.5);
}

.checks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 6px;
  height: 3.5px;
  border-left: 1.5px solid var(--gold-hi);
  border-bottom: 1.5px solid var(--gold-hi);
  transform: rotate(-45deg);
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 22px 0 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--line);
}

.specs div {
  padding: 14px 16px;
  background: rgba(10, 10, 11, 0.9);
}

.specs dt {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.specs dd {
  margin: 4px 0 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 17px;
  color: #fff;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.price-row strong {
  display: block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 18px;
  color: var(--gold-hi);
}

.price-row span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* swap animation for tab panes */
.pane {
  display: none;
}

.pane.is-active {
  display: block;
  animation: paneIn 0.7s var(--ease-out);
}

@keyframes paneIn {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.pane__kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.pane__title {
  margin: 8px 0 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.15;
  color: #fff;
}

.pane__text {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ============================================================ ABOUT == */

.about {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
}

.stats {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  margin-top: 30px;
}

.stats strong {
  display: block;
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(26px, 2.3vw, 36px);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.stats > div + div {
  padding-left: clamp(20px, 3vw, 44px);
  border-left: 1px solid var(--line-2);
}

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.value {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.value:hover {
  transform: translateY(-3px);
}

.value svg {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
  background: var(--gold-soft);
  fill: none;
  stroke: var(--gold-hi);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value strong {
  display: block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

.value span {
  font-size: 12.5px;
  color: var(--muted);
}

/* the car inside a slowly turning gold orbit */
.orbit {
  position: relative;
  aspect-ratio: 1 / 0.86;
  display: grid;
  place-items: center;
}

.orbit__ring {
  position: absolute;
  inset: 4% 2%;
  width: 96%;
  height: 92%;
  overflow: visible;
  fill: none;
  animation: spin 60s linear infinite;
}

.orbit__ring--in {
  inset: 15% 12%;
  width: 76%;
  height: 70%;
  animation-duration: 40s;
  animation-direction: reverse;
}

.orbit__ring ellipse {
  stroke: rgba(212, 169, 92, 0.35);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.orbit__ring--in ellipse {
  stroke: rgba(212, 169, 92, 0.22);
  stroke-dasharray: 2 8;
}

.orbit__ring circle {
  fill: var(--gold-hi);
  filter: drop-shadow(0 0 6px var(--gold));
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.orbit .car-view {
  position: relative;
  z-index: 1;
  width: 100%;
}

.orbit__glow {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 22%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212, 169, 92, 0.35), transparent);
  filter: blur(14px);
}

.tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(212, 169, 92, 0.35);
  border-radius: 999px;
  background: rgba(8, 8, 9, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}

.tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 0 4px rgba(212, 169, 92, 0.2);
}

@keyframes float {
  50% { translate: 0 -8px; }
}

/* ========================================================= SERVICES == */

.svc {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.tabs {
  display: grid;
  gap: 6px;
  margin-top: 28px;
}

.tab {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: none;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.tab:hover {
  background: rgba(255, 255, 255, 0.03);
}

.tab__n {
  font-family: var(--font);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.tab__name {
  font-family: var(--font);
  font-weight: 500;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.3s var(--ease);
}

.tab svg {
  width: 16px;
  height: 10px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.4s var(--ease);
}

.tab__bar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.tab__bar i {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.tab.is-active {
  border-color: rgba(212, 169, 92, 0.3);
  background: linear-gradient(90deg, rgba(212, 169, 92, 0.12), rgba(212, 169, 92, 0.02));
}

.tab.is-active .tab__n {
  color: var(--gold);
}

.tab.is-active .tab__name {
  color: #fff;
}

.tab.is-active svg {
  opacity: 1;
  transform: none;
}

/* auto-advance progress (paused while hovered) */
[data-auto] .tab.is-active .tab__bar i {
  animation: fillBar var(--auto, 6s) linear forwards;
}

[data-auto]:hover .tab.is-active .tab__bar i,
[data-auto].is-paused .tab.is-active .tab__bar i {
  animation-play-state: paused;
}

@keyframes fillBar {
  to { transform: scaleX(1); }
}

.svc-view {
  position: relative;
}

.svc-view .car-view {
  aspect-ratio: 16 / 7.4;
  margin-bottom: -6%;
}

.svc-view .card {
  padding: clamp(22px, 2.2vw, 32px);
}

.svc-view__icon {
  position: absolute;
  top: clamp(22px, 2.2vw, 32px);
  right: clamp(22px, 2.2vw, 32px);
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 14px;
  background: var(--gold-soft);
  fill: none;
  stroke: var(--gold-hi);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================== PPF == */

.cov {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.zones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 26px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.zone {
  height: 42px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  transition:
    color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.zone:hover {
  color: #fff;
}

.zone.is-active {
  background: var(--gold-grad);
  color: #0b0b0d;
}

.cov .card {
  margin-top: 16px;
  padding: clamp(20px, 2vw, 28px);
}

.blueprint {
  position: relative;
  padding: clamp(18px, 2.4vw, 36px);
  border-radius: 24px;
}

.blueprint__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.blueprint__head b {
  font-weight: 600;
  color: var(--gold-hi);
}

.bp {
  width: 100%;
  height: auto;
  margin: 10px 0 4px;
  overflow: visible;
}

.bp__grid line {
  stroke: rgba(255, 255, 255, 0.05);
}

.bp__body {
  fill: rgba(255, 255, 255, 0.025);
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.4;
  stroke-linejoin: round;
}

.bp__detail {
  fill: none;
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1.1;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.bp__glass {
  fill: rgba(255, 255, 255, 0.05);
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1.1;
}

.bp__wheel {
  fill: #0b0b0c;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.4;
}

.bp__rim {
  fill: none;
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1;
}

.bp__hub {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 3.4s linear infinite;
}

.bp__zone {
  fill: url(#filmGrad);
  transform-box: view-box;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.bp__zone rect {
  transform-box: fill-box;
  transform: scaleX(0);
  transition: transform 1.3s var(--ease-out);
}

.bp__zone[data-zone="bumper"] rect,
.bp__zone[data-zone="front"] rect {
  transform-origin: right center;
}

.bp__zone[data-zone="top"] rect {
  transform: scaleY(0);
  transform-origin: center top;
}

.bp__zone[data-zone="full"] rect {
  transform-origin: right center;
}

[data-active="bumper"] .bp__zone[data-zone="bumper"],
[data-active="front"] .bp__zone[data-zone="front"],
[data-active="top"] .bp__zone[data-zone="top"],
[data-active="full"] .bp__zone[data-zone="full"] {
  opacity: 1;
}

[data-active="bumper"] .bp__zone[data-zone="bumper"] rect,
[data-active="front"] .bp__zone[data-zone="front"] rect,
[data-active="top"] .bp__zone[data-zone="top"] rect,
[data-active="full"] .bp__zone[data-zone="full"] rect {
  transform: none;
}

/* glint that runs over the fresh film */
.bp__glint {
  fill: url(#glintGrad);
  transform-box: view-box;
  transform: translateX(-160px);
}

.blueprint.is-applying .bp__glint {
  animation: glint 1.6s var(--ease-out) 0.2s;
}

@keyframes glint {
  from { transform: translateX(-160px); }
  to { transform: translateX(720px); }
}

.bp__dim line {
  stroke: rgba(212, 169, 92, 0.6);
  stroke-width: 1;
}

.bp__dim text {
  fill: var(--gold-hi);
  font-family: var(--font);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend i {
  width: 18px;
  height: 6px;
  border-radius: 3px;
  background: var(--gold-grad);
}

.legend i.o {
  background: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

/* ========================================================== PROCESS == */

.proc__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px 40px;
}

.proc__head .text {
  margin: 0;
  max-width: 30em;
}

.track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: clamp(28px, 4.4vh, 48px);
  --p: 0;
}

.track::before,
.track::after {
  content: "";
  position: absolute;
  top: 21px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 1px;
  background: var(--line-2);
}

.track::after {
  background: var(--gold-grad);
  box-shadow: 0 0 10px rgba(212, 169, 92, 0.7);
  transform: scaleX(var(--p));
  transform-origin: left;
  transition: transform 0.9s var(--ease-out);
}

.node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 0 6px;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: center;
}

.node__dot {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--ink);
  font-family: var(--font);
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  transition:
    border-color 0.4s var(--ease),
    background-color 0.4s var(--ease),
    color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.node__name {
  font-family: var(--font);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.node.is-done .node__dot {
  border-color: var(--gold);
  color: var(--gold-hi);
}

.node.is-active .node__dot {
  border-color: transparent;
  background: var(--gold-grad);
  color: #0b0b0d;
  box-shadow: 0 0 0 6px rgba(212, 169, 92, 0.15), 0 0 26px rgba(212, 169, 92, 0.5);
}

.node.is-active .node__name {
  color: #fff;
}

.proc__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  margin-top: clamp(24px, 4vh, 44px);
}

.proc__card {
  padding: clamp(22px, 2.4vw, 36px);
  overflow: hidden;
}

.proc__big {
  position: absolute;
  right: 18px;
  bottom: -18px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 150px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 169, 92, 0.22);
  pointer-events: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.chip svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.proc__ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.proc__ctrl button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
}

.proc__ctrl button:hover {
  border-color: var(--gold);
}

.proc__ctrl svg {
  width: 16px;
  height: 10px;
  margin: auto;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
}

.proc__ctrl [data-prev] svg {
  transform: scaleX(-1);
}

.proc__ctrl span {
  margin-left: 6px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ========================================================== CONTACT == */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.tiles {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.4s var(--ease);
}

a.tile:hover {
  transform: translateX(6px);
}

.tile svg {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 12px;
  background: var(--gold-soft);
  fill: none;
  stroke: var(--gold-hi);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.tile strong {
  display: block;
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  color: #fff;
}

.hours {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.hours div {
  padding-left: 12px;
  border-left: 1px solid rgba(212, 169, 92, 0.4);
}

.hours span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hours strong {
  font-family: var(--font);
  font-weight: 500;
  font-size: 13.5px;
}

.form-card {
  padding: clamp(22px, 2.4vw, 36px);
}

.form-card__head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.form-card__head h2 {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-card__head p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.form-card__badge {
  flex: none;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.field {
  position: relative;
  display: block;
}

.field--wide {
  grid-column: 1 / -1;
}

.field span {
  position: absolute;
  left: 16px;
  top: 8px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 58px;
  padding: 24px 16px 8px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14.5px;
  color: #fff;
  outline: none;
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  height: 88px;
  resize: vertical;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 28px, calc(100% - 15px) 28px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.field select option {
  background: #121113;
  color: #fff;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: rgba(212, 169, 92, 0.05);
}

.field.is-invalid input,
.field.is-invalid select {
  border-color: #e58a6a;
}

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  position: absolute;
  opacity: 0;
}

.check__box {
  flex: none;
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.check input:checked + .check__box {
  border-color: var(--gold);
  background: var(--gold);
}

.check input:checked + .check__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 6px;
  height: 9px;
  border-right: 2px solid #0b0b0d;
  border-bottom: 2px solid #0b0b0d;
  transform: rotate(40deg);
}

.check input:focus-visible + .check__box {
  outline: 2px solid var(--gold-hi);
  outline-offset: 2px;
}

.check.is-invalid .check__box {
  border-color: #e58a6a;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
}

.form-error {
  min-height: 1em;
  margin: 0;
  font-size: 13px;
  color: #e58a6a;
}

.js-book[hidden],
.form-thanks[hidden] {
  display: none;
}

.form-thanks {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 30px 0 10px;
  animation: paneIn 0.7s var(--ease-out);
}

.form-thanks svg {
  width: 52px;
  height: 52px;
  padding: 13px;
  border-radius: 50%;
  background: var(--gold-grad);
  fill: none;
  stroke: #0b0b0d;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-thanks h2 {
  margin: 6px 0 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 24px;
  text-transform: uppercase;
}

.form-thanks p {
  margin: 0 0 8px;
  color: var(--muted);
}

/* =========================================================== FOOTER == */

.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: #050505;
  font-size: 13.5px;
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(420px, 60%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-50%);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 44px 0 32px;
}

.footer__brand img {
  width: 128px;
  height: auto;
}

.footer__brand p {
  max-width: 30em;
  margin: 16px 0 0;
  color: var(--muted);
}

.footer h4 {
  margin: 0 0 14px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.footer ul a {
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.footer ul a:hover {
  color: var(--gold-hi);
}

.social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition:
    border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.social a:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.social svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.6);
}

/* ======================================================= RESPONSIVE == */

@media (max-width: 1100px) {
  .site-nav__links,
  .site-nav__cta {
    display: none;
  }
  .burger {
    display: block;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .stage {
    align-items: flex-start;
  }
  .about,
  .svc,
  .cov,
  .contact,
  .proc__body {
    grid-template-columns: 1fr;
  }
  .orbit {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
  .svc-view .car-view {
    margin-bottom: -10%;
  }
}

@media (max-width: 680px) {
  :root {
    --nav-h: 72px;
  }
  .stage {
    padding-bottom: 44px;
  }
  .stats {
    gap: 16px;
  }
  .stats > div + div {
    padding-left: 16px;
  }
  .values {
    grid-template-columns: 1fr;
  }
  .tag {
    font-size: 9px;
    padding: 7px 10px;
  }
  /* service tabs become a swipeable chip row */
  .tabs {
    display: flex;
    gap: 8px;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  .tab {
    flex: none;
    width: auto;
    grid-template-columns: auto auto;
    padding: 10px 14px;
    border-color: var(--line);
    scroll-snap-align: start;
  }
  .tab svg {
    display: none;
  }
  .tab__name {
    font-size: 13.5px;
    white-space: nowrap;
  }
  .zones {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 20px;
  }
  .specs {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .specs div {
    padding: 12px 10px;
  }
  .specs dd {
    font-size: 14.5px;
  }
  /* process nodes scroll sideways */
  .track {
    grid-template-columns: repeat(6, 88px);
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .track::-webkit-scrollbar {
    display: none;
  }
  .track::before,
  .track::after {
    left: calc(var(--gutter) + 44px);
    right: auto;
    width: calc(88px * 5);
  }
  .node__name {
    font-size: 10.5px;
  }
  .proc__big {
    font-size: 110px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .hours {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }
  .hours strong {
    font-size: 12px;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    padding-top: 36px;
  }
  .footer__contact {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-a],
  .split-words .w > span {
    opacity: 1;
    transform: none;
  }
}

/* gold gradient survives the per-word mask animation */
.g .w > span {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* #book links land with the form clear of the fixed nav */
#book {
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

@media (max-width: 960px) {
  .about,
  .svc,
  .cov,
  .contact,
  .proc__body {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* PPF on small screens: map sits right under the package buttons */
@media (max-width: 960px) {
  .cov {
    gap: 0;
  }
  .cov > div:first-child {
    display: contents;
  }
  .cov > div:last-child {
    order: 1;
    margin-top: 16px;
  }
  .cov .card[data-a]:not(.blueprint) {
    order: 2;
  }
  .cov .eyebrow {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .blueprint__head b {
    display: none;
  }
}

/* ========================================================= PRODUCTS == */

.stage--products {
  align-items: flex-start;
}

.prod__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
}

.prod__head .text {
  max-width: 36em;
}

/* category switch */
.cats {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.cat {
  display: grid;
  justify-items: center;
  gap: 1px;
  min-width: 128px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition:
    color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.cat small {
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--gold);
  transition: color 0.3s var(--ease);
}

.cat:hover {
  color: #fff;
}

.cat.is-active {
  background: var(--gold-grad);
  color: #0b0b0d;
}

.cat.is-active small {
  color: rgba(11, 11, 13, 0.7);
}

.catpane {
  display: none;
}

.catpane.is-active {
  display: block;
}

.catpane.is-switched {
  animation: paneIn 0.7s var(--ease-out);
}

/* list | visual | details */
.pui {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 30px;
}

.plist {
  display: grid;
  align-content: start;
  gap: 6px;
}

.tab.pitem {
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  row-gap: 2px;
  padding: 12px 16px 13px;
}

.pitem__code {
  font-family: var(--font);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s var(--ease);
}

.pitem__meta {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.pitem__sub {
  grid-column: 1;
  font-size: 12px;
  color: var(--muted);
}

.tab.pitem.is-active .pitem__code {
  color: #fff;
}

.tab.pitem.is-active .pitem__meta {
  background: var(--gold-soft);
  color: var(--gold-hi);
}

/* visual card */
.pvis {
  position: relative;
  display: grid;
  min-height: 420px;
  padding: clamp(18px, 2vw, 28px);
  overflow: hidden;
}

.pvis::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -30px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212, 169, 92, 0.22), transparent);
  pointer-events: none;
}

.pvis .pane.is-active {
  display: grid;
  align-content: center;
  gap: 14px;
}

/* optional official product photo: assets/images/products/<id>.jpg */
.pvis__photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.pvis__photo + .stack svg {
  max-height: 200px;
}

.stack svg {
  width: 100%;
  max-height: 330px;
  overflow: visible;
}

.sl {
  transform-box: view-box;
}

.pane.is-active .sl {
  animation: slIn 0.9s var(--ease-out) both;
  animation-delay: calc(0.1s + var(--i) * 0.12s);
}

@keyframes slIn {
  from {
    opacity: 0;
    transform: translateY(-26px);
  }
}

.sl polygon {
  stroke-width: 1;
  stroke-linejoin: round;
}

.sl--top .sl__top { fill: rgba(240, 212, 158, 0.42); stroke: rgba(240, 212, 158, 0.9); }
.sl--top .sl__l { fill: rgba(212, 169, 92, 0.55); stroke: rgba(240, 212, 158, 0.7); }
.sl--top .sl__r { fill: rgba(168, 129, 63, 0.6); stroke: rgba(240, 212, 158, 0.7); }

.sl--satin .sl__top { fill: rgba(200, 200, 204, 0.32); stroke: rgba(230, 230, 235, 0.7); }
.sl--satin .sl__l { fill: rgba(160, 160, 166, 0.45); stroke: rgba(230, 230, 235, 0.5); }
.sl--satin .sl__r { fill: rgba(120, 120, 126, 0.5); stroke: rgba(230, 230, 235, 0.5); }

.sl--tpu .sl__top { fill: rgba(255, 255, 255, 0.07); stroke: rgba(255, 255, 255, 0.55); }
.sl--tpu .sl__l { fill: rgba(255, 255, 255, 0.12); stroke: rgba(255, 255, 255, 0.45); }
.sl--tpu .sl__r { fill: rgba(255, 255, 255, 0.06); stroke: rgba(255, 255, 255, 0.45); }

.sl--adh .sl__top { fill: rgba(212, 169, 92, 0.16); stroke: rgba(212, 169, 92, 0.6); }
.sl--adh .sl__l { fill: rgba(212, 169, 92, 0.3); stroke: rgba(212, 169, 92, 0.5); }
.sl--adh .sl__r { fill: rgba(212, 169, 92, 0.2); stroke: rgba(212, 169, 92, 0.5); }

.sl--resin .sl__top { fill: rgba(110, 60, 150, 0.55); stroke: rgba(236, 201, 138, 0.8); }
.sl--resin .sl__l { fill: rgba(40, 120, 90, 0.75); stroke: rgba(236, 201, 138, 0.6); }
.sl--resin .sl__r { fill: rgba(30, 60, 120, 0.75); stroke: rgba(236, 201, 138, 0.6); }

.sl--paint .sl__top { fill: #8c0a17; stroke: rgba(255, 255, 255, 0.25); }
.sl--paint .sl__l { fill: #6a0712; stroke: rgba(255, 255, 255, 0.15); }
.sl--paint .sl__r { fill: #4e050d; stroke: rgba(255, 255, 255, 0.15); }

.sl__lead {
  stroke: rgba(212, 169, 92, 0.6);
  stroke-width: 1;
}

.sl__name {
  fill: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 12.5px;
}

.sl__mil {
  fill: var(--gold-hi);
  font-family: var(--font);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.stack__readout {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.stack__readout b {
  margin-right: 6px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* details card */
.pdet {
  padding: clamp(20px, 2.2vw, 30px);
}

.pane__title small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.specs--6 {
  grid-template-columns: repeat(3, 1fr);
}

.specs--6 dd {
  font-size: 15px;
}

.pdet .checks {
  gap: 8px;
}

.pdet .checks li {
  font-size: 13.5px;
}

/* colour swatches */
.swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sw {
  display: grid;
  gap: 4px;
}

.pane.is-active .sw {
  animation: paneIn 0.8s var(--ease-out) both;
  animation-delay: calc(var(--i) * 0.08s);
}

.sw__chip {
  position: relative;
  aspect-ratio: 1.25;
  border-radius: 12px;
  background: var(--g);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 10px 24px -12px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

/* metallic glitter + gloss highlight */
.sw__chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.5px) 0 0 / 9px 9px,
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1.5px) 0 0 / 13px 13px;
  mix-blend-mode: overlay;
}

.sw__chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.35) 48%, transparent 60%);
  transform: translateX(-100%);
  animation: swShine 4.5s var(--ease) infinite;
  animation-delay: calc(var(--i) * 0.3s);
}

@keyframes swShine {
  60%, 100% { transform: translateX(100%); }
}

.sw strong {
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
}

.sw span:last-child {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* window film shade tiles */
.tiles-glass {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 10px;
}

.glass {
  display: grid;
  gap: 3px;
  text-align: center;
}

.pane.is-active .glass {
  animation: paneIn 0.7s var(--ease-out) both;
  animation-delay: calc(var(--i) * 0.06s);
}

.glass__pane {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px 10px 6px 6px;
  background: linear-gradient(180deg, #8fb0cf 0%, #d9c9a8 52%, #4a4f57 53%, #2b2e33 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.glass__pane::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.18) 0 18%, transparent 30%),
    rgba(6, 6, 8, var(--dark));
}

.glass strong {
  font-family: var(--font);
  font-weight: 600;
  font-size: 12px;
}

.glass span:last-child {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* model table */
.mtable {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.mtable__row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  padding: 7px 14px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.mtable__row + .mtable__row {
  border-top: 1px solid var(--line);
}

.mtable__row--head {
  background: rgba(212, 169, 92, 0.08);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.mtable__row span:first-child {
  font-family: var(--font);
  font-weight: 600;
}

.prod__note {
  margin: 22px 0 0;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1180px) {
  .pui {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
  .pvis {
    grid-column: 2;
    grid-row: 1;
    min-height: 360px;
  }
  .pdet {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .prod__head {
    align-items: flex-start;
  }
  .cats {
    width: 100%;
  }
  .cat {
    flex: 1;
    min-width: 0;
    padding: 8px 6px;
    font-size: 10.5px;
    letter-spacing: 0.1em;
  }
  .cat small {
    font-size: 8.5px;
  }
  .pui {
    grid-template-columns: minmax(0, 1fr);
  }
  .pvis,
  .pdet {
    grid-column: auto;
    grid-row: auto;
  }
  .pvis {
    min-height: 0;
  }
  /* film list becomes a swipeable chip row */
  .plist {
    display: flex;
    gap: 8px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .plist::-webkit-scrollbar {
    display: none;
  }
  .tab.pitem {
    flex: none;
    width: auto;
    min-width: 150px;
    border-color: var(--line);
    scroll-snap-align: start;
  }
  .specs--6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .sl__name {
    font-size: 15px;
  }
  .sl__mil {
    font-size: 13px;
  }
  .mtable__row {
    padding: 7px 10px;
    font-size: 12px;
  }
}

/* seven nav links: switch to the menu a little earlier */
@media (max-width: 1240px) {
  .site-nav__links,
  .site-nav__cta {
    display: none;
  }
  .burger {
    display: block;
  }
}

.stack__readout i {
  font-style: normal;
  text-transform: none;
}

/* ======================================================== FRANCHISE == */

.franchise .values {
  margin-top: 26px;
}

.fr-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

/* gold rail behind the step markers */
.fr-path::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(212, 169, 92, 0.15));
}

.fr-path li {
  position: relative;
  display: grid;
  gap: 2px;
  padding-top: 24px;
}

.fr-path li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 12px rgba(212, 169, 92, 0.5);
}

.fr-path span {
  font-family: var(--font);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.fr-path strong {
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fr-path em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

@media (max-width: 680px) {
  .fr-path {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
  }
  .fr-path::before {
    display: none;
  }
}
