/* BUILT — instrument-grade · premium · machine-data · mobile-first */

:root {
  /* Material: warm gunmetal, not flat void-black */
  --ink: #0a0b0c;
  --graphite: #121519;
  --graphite-2: #15191e;
  --steel: #1b2026;
  --line: rgba(233, 238, 244, 0.08);
  --line-strong: rgba(233, 238, 244, 0.16);
  --line-volt: rgba(194, 233, 19, 0.32);

  --smoke: #878d94;          /* muted body */
  --chalk: #e9ebee;          /* strong text */
  --white: #ffffff;

  /* Lime is the single "charged" signal — used like a power LED */
  --volt: #c2e913;
  --volt-dim: rgba(194, 233, 19, 0.8);
  --volt-glow: rgba(194, 233, 19, 0.16);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-body: "Inter", system-ui, sans-serif;

  --max: 1140px;
  --nav-h: 4.5rem;
  --radius: 0;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--smoke);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:where(
  p, li, .lead, .blurb, .pillar span, .footer-tagline,
  .disclaimer, .pdp-price-note, .spec-table td, .form-hint
) {
  font-family: var(--font-body);
  font-weight: 400;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--white); }

img { max-width: 100%; height: auto; display: block; }

/* —— Mono utility: the telemetry / machine-data layer —— */
.mono,
.eyebrow,
.nav-links a,
.btn,
.price,
.cat,
.badge,
.spec-table th,
.tel-label, .tel-value,
.plate-index, .plate-status,
.footer-links a, .footer-meta,
.breadcrumb,
.strip-coords,
label {
  font-family: var(--font-mono);
  font-variant-ligatures: none;
}

/* —— Atmosphere: brushed gunmetal, faint charge glow —— */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, #0c0e10 0%, var(--ink) 38%, #08090a 100%);
}

.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  /* hairline brushed-metal verticals — barely there */
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.014) 0,
    rgba(255, 255, 255, 0.014) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.6;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 45% at 50% -12%, var(--volt-glow), transparent 60%);
}

.shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* —— The "live" charge indicator — recurring signature dot —— */
.live {
  display: inline-block;
  width: 0.46rem;
  height: 0.46rem;
  flex: none;
  background: var(--volt);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--volt-glow);
  animation: pulse 2.4s var(--ease) infinite;
  vertical-align: middle;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(194, 233, 19, 0.5); }
  70%  { box-shadow: 0 0 0 0.5rem rgba(194, 233, 19, 0); }
  100% { box-shadow: 0 0 0 0 rgba(194, 233, 19, 0); }
}

/* —— Nav —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0.65rem 1.25rem;
  background: rgba(10, 11, 12, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.shell--overlay-nav .site-nav {
  position: fixed;
  left: 0; right: 0; top: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 1rem 1.25rem 0.75rem;
}

.shell--overlay-nav .site-nav.is-scrolled,
.shell--overlay-nav .site-nav.is-open {
  background: rgba(10, 11, 12, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-nav .brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }

.site-nav .brand img {
  height: 1.85rem;
  width: auto;
  max-width: min(46vw, 11.5rem);
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.45));
}

.site-nav .brand img.brand--horizontal {
  height: 2.5rem;
  max-width: min(74vw, 22rem);
}

@media (min-width: 768px) {
  .site-nav .brand img.brand--horizontal { height: 3.1rem; max-width: 26rem; }
  .site-nav { padding-left: 2rem; padding-right: 2rem; }
}

.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; padding: 0;
  border: none; background: transparent; color: var(--white); cursor: pointer; flex-shrink: 0;
}

.nav-toggle span {
  display: block; width: 1.35rem; height: 1px; background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span { box-shadow: none; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after {
  content: ""; display: block; width: 1.35rem; height: 1px; background: currentColor; transform: rotate(-90deg);
}

.nav-drawer {
  position: fixed; inset: 0; z-index: 99;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 2rem;
  background: rgba(10, 11, 12, 0.97);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.nav-drawer.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.nav-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.25rem; max-width: 22rem;
  counter-reset: nav;
}

.nav-links a {
  display: flex; align-items: baseline; gap: 0.85rem;
  padding: 0.95rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--chalk);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

/* mobile drawer: number each link like a build index */
.nav-links a::before {
  counter-increment: nav;
  content: counter(nav, decimal-leading-zero);
  font-size: 0.7rem;
  color: var(--volt-dim);
  letter-spacing: 0.1em;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-links .nav-priority a { color: var(--volt); }
.nav-links .nav-priority a:hover { color: var(--volt); opacity: 0.8; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-drawer {
    position: static; inset: auto; flex: 1;
    display: flex; justify-content: flex-end; padding: 0;
    background: transparent; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .nav-links { flex-direction: row; align-items: center; gap: 1.75rem; max-width: none; }
  .nav-links a {
    padding: 0; border: none;
    font-size: 0.7rem; font-weight: 400; letter-spacing: 0.16em;
    color: var(--smoke);
  }
  .nav-links a::before { display: none; }
  .shell--overlay-nav .nav-links a { color: rgba(233, 235, 238, 0.7); }
  .shell--overlay-nav .site-nav.is-scrolled .nav-links a,
  .shell--overlay-nav .site-nav.is-open .nav-links a { color: var(--smoke); }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] { color: var(--white); }
  .nav-links .nav-priority a {
    color: var(--chalk);
    padding: 0.32rem 0.7rem;
    border: 1px solid var(--line-volt);
    box-shadow: inset 0 0 12px rgba(194, 233, 19, 0.06);
  }
  .nav-links .nav-priority a:hover {
    color: var(--ink); background: var(--volt); opacity: 1; border-color: var(--volt);
  }
}

/* —— Layout —— */
main { flex: 1; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.section { padding: clamp(3rem, 10vw, 5.5rem) 0; }
.section-tight { padding: clamp(2rem, 6vw, 3.5rem) 0; }

/* anchored sections clear the fixed/sticky header when jumped to */
[id] { scroll-margin-top: 5.5rem; }

.section-head { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.section-head h2 { margin-bottom: 0.5rem; }
.section-head .lead { margin-bottom: 0; }

/* —— Eyebrow: mono spec-label —— */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--volt-dim);
  margin: 0 0 1.1rem;
}
.eyebrow--tight { margin-bottom: 0.6rem; }

/* —— Headings: engineered grotesque —— */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.6rem, 11vw, 5.25rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.55rem, 5vw, 2.15rem);
  text-transform: uppercase;
  letter-spacing: -0.025em;
}

h3 { font-size: 1.25rem; letter-spacing: -0.01em; }

.lead {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--smoke);
  max-width: 30rem;
  margin: 0 0 2rem;
  line-height: 1.65;
}
.lead--tight { margin-top: 1rem; }

.link-strong { color: var(--chalk); text-decoration: underline; text-underline-offset: 0.2em; }

.btn--full { width: 100%; }
.section-block { margin-top: clamp(2rem, 6vw, 3rem); }

.address-lines {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.hero { padding-top: clamp(2.5rem, 8vw, 4rem); }

.hero-accent { width: 2.5rem; height: 2px; background: var(--volt); margin: 0 0 1.5rem; }

/* —— Full-bleed hero —— */
.hero-bleed {
  position: relative;
  min-height: min(94vh, 54rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bleed__media { position: absolute; inset: 0; z-index: 0; }
.hero-bleed__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

.hero-bleed__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 11, 12, 0.5) 0%, rgba(10, 11, 12, 0.1) 32%, rgba(10, 11, 12, 0.88) 74%, var(--ink) 100%),
    linear-gradient(90deg, rgba(10, 11, 12, 0.78) 0%, transparent 58%);
}

.hero-bleed__content {
  position: relative; z-index: 2; width: 100%;
  padding-bottom: clamp(1.75rem, 5vw, 2.75rem);
}

.hero-bleed .hero-headline {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 0; max-width: none; margin: 0 0 1.1rem; line-height: 0.86;
}
.hero-headline__line { display: block; }
.hero-headline__line em {
  font-style: normal;
  color: var(--volt);
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 3vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--chalk);
  margin: 0 0 1rem;
}

.hero-bleed .lead { color: rgba(233, 235, 238, 0.9); max-width: 24rem; }

/* —— Telemetry strip: the signature HUD —— */
.telemetry {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-strong);
  background: rgba(12, 14, 16, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.telemetry::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  height: 1px;
  width: 28%;
  background: linear-gradient(90deg, transparent, var(--volt), transparent);
  animation: scan 5.5s linear infinite;
}

@keyframes scan {
  0%   { left: -28%; }
  100% { left: 100%; }
}

.telemetry dt, .telemetry dd { margin: 0; }

.tel-cell {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.tel-cell:nth-child(2n) { border-right: none; }

.tel-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
}
.tel-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--chalk);
  letter-spacing: -0.01em;
}
.tel-value span { color: var(--volt-dim); font-weight: 400; font-size: 0.8em; }

@media (min-width: 720px) {
  .telemetry { grid-template-columns: repeat(4, 1fr); }
  .tel-cell { border-bottom: none; padding: 1.15rem 1.4rem; }
  .tel-cell:nth-child(2n) { border-right: 1px solid var(--line); }
  .tel-cell:last-child { border-right: none; }
  .tel-value { font-size: 1.15rem; }
}

/* —— Buttons —— */
.btn-row { display: flex; flex-direction: column; gap: 0.65rem; align-items: stretch; }
@media (min-width: 480px) {
  .btn-row { flex-direction: row; align-items: center; flex-wrap: wrap; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.6rem;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary { background: var(--volt); color: var(--ink); }
.btn-primary:hover { background: var(--white); color: var(--ink); }
.btn-primary:disabled { opacity: 0.65; cursor: wait; }

.btn-secondary {
  background: transparent;
  color: var(--chalk);
  border-color: var(--line-strong);
}
.btn-secondary:hover { color: var(--white); border-color: var(--white); }

.btn-ghost {
  background: transparent; color: var(--smoke);
  padding-left: 0; padding-right: 0; min-height: auto; border: none;
  justify-content: flex-start; letter-spacing: 0.08em;
}
.btn-ghost::after { content: "→"; margin-left: 0.35rem; transition: transform 0.2s var(--ease); }
.btn-ghost:hover::after { transform: translateX(4px); }

/* —— Product cards: build plates —— */
.card-grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.product-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: linear-gradient(180deg, var(--graphite), var(--graphite-2));
  border: 1px solid var(--line);
  padding: 0.85rem 0.85rem 1.2rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.product-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }

/* build-plate header row */
.plate-meta {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--smoke);
  padding: 0.15rem 0.3rem 0.7rem;
}
.plate-index { color: var(--chalk); }
.plate-status { display: inline-flex; align-items: center; gap: 0.45rem; margin-left: auto; color: var(--volt-dim); }

.product-card .thumb {
  aspect-ratio: 4 / 5; position: relative; overflow: hidden;
  background: var(--ink); margin-bottom: 1.1rem;
}
.product-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  pointer-events: none;
}
.product-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}

/* Studio shots on dark: show the whole machine, blend the letterbox into a studio vignette */
.thumb--studio,
.pdp-visual--studio {
  background: radial-gradient(ellipse 80% 72% at 50% 45%, #14171b 0%, var(--ink) 72%);
}
.product-card .thumb--studio img,
.pdp-visual--studio img { object-fit: contain; }

/* Lifestyle scene shots: show the whole machine over a blurred backdrop drawn
   from the photo itself, so nothing is cropped and there's no hard letterbox.
   url() is resolved relative to this stylesheet, so it works from any page depth. */
.thumb--scene,
.pdp-visual--scene { position: relative; isolation: isolate; background: var(--ink); }
.thumb--scene::before,
.pdp-visual--scene::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: url("../assets/transition-regulator-sx.webp");
  background-size: cover; background-position: center;
  transform: scale(1.2);
  filter: blur(28px) brightness(0.4) saturate(1.15);
}
.product-card .thumb--scene img,
.pdp-visual--scene img { position: relative; z-index: 1; object-fit: contain; }
.product-card:hover .thumb--scene img { transform: none; }
/* keep the category chip above the contained image + blurred backdrop */
.product-card .thumb--scene .cat { z-index: 2; }
.product-card:hover .thumb img { transform: scale(1.04); }

.product-card .thumb .cat {
  position: absolute; bottom: 0.85rem; left: 0.85rem; z-index: 1;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--volt);
  background: rgba(10, 11, 12, 0.6);
  border: 1px solid var(--line-volt);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.32rem 0.6rem;
}

.product-card .meta {
  padding: 0 0.3rem;
}
.product-card h3 {
  margin: 0 0 0.35rem; font-size: 1.4rem; text-transform: uppercase; letter-spacing: -0.01em;
  line-height: 1.2; min-height: 2.4em;
}
.product-card .price {
  font-size: 0.95rem; font-weight: 700; color: var(--volt); margin: 0;
}
.price-note {
  font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; color: var(--smoke);
}

.spec-line {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--smoke);
  margin: 0.7rem 0 0;
  padding: 0.7rem 0.3rem 0;
  border-top: 1px solid var(--line);
}

.product-card .blurb { display: none; }
@media (min-width: 720px) {
  .product-card .blurb {
    display: block; font-size: 0.9rem; color: var(--smoke);
    margin: 0.5rem 0 0; padding: 0 0.3rem; max-width: 24rem;
  }
}

/* —— Strip / workshop —— */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--graphite); }
.strip-inner { display: flex; flex-direction: column; gap: 1.25rem; padding: clamp(1.75rem, 5vw, 2.5rem) 0; }
@media (min-width: 640px) {
  .strip-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.strip-title {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; color: var(--white);
}
.strip-coords {
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--volt-dim);
}

/* —— Pillars —— */
.pillars { display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: pillar; }
.pillar { padding: 1.5rem 0; border-bottom: 1px solid var(--line); position: relative; counter-increment: pillar; }
.pillar strong {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.pillar strong::before {
  content: counter(pillar, decimal-leading-zero);
  color: var(--volt-dim); font-weight: 400; font-size: 0.78em;
}
.pillar span { font-size: 0.95rem; color: var(--smoke); }

@media (min-width: 768px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .pillar { border-bottom: none; padding: 0; border-left: 1px solid var(--line); padding-left: 1.5rem; }
}

/* —— PDP —— */
.pdp-hero { padding: clamp(1.5rem, 5vw, 2.5rem) 0 clamp(2rem, 6vw, 3rem); }
.pdp-grid { display: grid; gap: clamp(2rem, 5vw, 3rem); }
@media (min-width: 900px) { .pdp-grid { grid-template-columns: 1.05fr 0.95fr; align-items: start; } }

.pdp-visual {
  aspect-ratio: 1; background: var(--graphite); overflow: hidden; border: 1px solid var(--line);
  position: relative;
}
.pdp-visual img { width: 100%; height: 100%; object-fit: cover; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.badge {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.4rem 0.65rem; color: var(--smoke); border: 1px solid var(--line);
}
.badge-accent { color: var(--ink); background: var(--volt); border-color: var(--volt); }

.pdp-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 700; color: var(--white); margin: 0 0 0.35rem; letter-spacing: -0.02em;
}
.pdp-price-note { font-size: 0.875rem; color: var(--smoke); margin-bottom: 1.75rem; }

/* —— Size selector (segmented, instrument-style) —— */
.size-select { margin: 0 0 1.75rem; }
.size-select__label {
  display: block; font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--volt-dim); margin-bottom: 0.55rem;
}
.size-select__opts { display: inline-flex; border: 1px solid var(--line-strong); }
.size-opt {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.6rem 1.15rem; background: transparent; color: var(--smoke);
  border: none; border-right: 1px solid var(--line-strong); cursor: pointer;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.size-opt:last-child { border-right: none; }
.size-opt:hover { color: var(--white); }
.size-opt.is-selected { background: var(--volt); color: var(--ink); }
.size-opt:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; }

.checkout-msg {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: #e3815f;
  margin: 0.9rem 0 0;
}

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.spec-table th, .spec-table td {
  text-align: left; padding: 0.9rem 0; border-bottom: 1px solid var(--line); vertical-align: top;
}
.spec-table th {
  font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.68rem;
  color: var(--volt-dim); width: 38%; padding-right: 1.5rem; padding-top: 1.05rem;
}
.spec-table td { color: var(--chalk); }

.disclaimer {
  font-size: 0.8rem; color: var(--smoke);
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); line-height: 1.55;
}
.disclaimer a { color: var(--chalk); text-decoration: underline; }
.disclaimer--flush { border-top: none; padding-top: 1.5rem; margin-top: 1.5rem; }

/* —— Forms —— */
.form-panel {
  max-width: 100%;
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 4vw, 2rem);
  background: linear-gradient(180deg, var(--graphite), var(--graphite-2));
}
@media (min-width: 480px) { .form-panel { max-width: 30rem; } }

label {
  display: block;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--smoke); margin-bottom: 0.45rem;
}

input, select, textarea {
  width: 100%; margin-bottom: 1.25rem; padding: 0.85rem 1rem;
  background: var(--ink); border: 1px solid var(--line); color: var(--white);
  font-family: var(--font-body); font-size: 1rem; font-weight: 400;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--volt); box-shadow: 0 0 0 3px var(--volt-glow);
}
textarea { min-height: 7rem; resize: vertical; }

/* —— Footer —— */
.site-footer { border-top: 1px solid var(--line); padding: clamp(2rem, 6vw, 3rem) 0; margin-top: auto; }
.footer-grid { display: flex; flex-direction: column; gap: 2rem; }
.footer-brand a { display: inline-block; text-decoration: none; }
.footer-brand img { height: 5rem; width: auto; max-width: 8.5rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .footer-brand img { height: 6.75rem; max-width: 11rem; } }
.footer-tagline { margin: 0; font-size: 0.875rem; color: var(--smoke); max-width: 16rem; }

.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.footer-links a {
  font-size: 0.66rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--smoke); text-decoration: none;
}
.footer-links a:hover { color: var(--white); }

.footer-meta {
  font-size: 0.66rem; letter-spacing: 0.08em; color: var(--smoke);
  margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.9rem 1.5rem;
}
.footer-pay { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--smoke); white-space: nowrap; }
.footer-pay img {
  height: 1.15rem; width: auto; display: block;
  background: var(--white); padding: 0.3rem 0.5rem; border-radius: 0.35rem;
}
/* Site-wide 4-column footer (shared by homepage + inner pages) */
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; margin-top: 2.5rem; }
@media (min-width: 720px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--smoke); margin: 0 0 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: var(--chalk); text-decoration: none; font-size: 0.88rem; }
.footer-col a:hover { color: var(--volt); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.footer-legal p { margin: 0; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; color: var(--smoke); line-height: 1.7; }
.footer-marks { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer-marks .chip { background: var(--white); border-radius: 5px; padding: 0.35rem 0.55rem; display: inline-flex; }
.footer-marks .chip img { height: 1.05rem; width: auto; display: block; }
.footer-marks .chip.chip--dark { background: transparent; border: 1px solid var(--line-strong); padding: 0.35rem 0.6rem; }
@media (min-width: 768px) {
  .footer-grid { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

.breadcrumb {
  font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 1.5rem; color: var(--smoke);
}
.breadcrumb a { color: var(--smoke); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

/* —— Instagram —— */
.ig-section { border-top: 1px solid var(--line); }
.ig-head { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.ig-head .eyebrow { margin-bottom: 0; }
.ig-widget {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--graphite); min-height: 12rem;
}
.ig-widget .ft { width: 100%; min-height: 280px; }

/* —— Mobile PDP bar —— */
.pdp-bar {
  position: sticky; bottom: 0; z-index: 80;
  display: flex; gap: 0.5rem;
  padding: 0.75rem 1rem; padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  background: rgba(10, 11, 12, 0.92); border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.pdp-bar .btn { flex: 1; min-height: 2.75rem; font-size: 0.68rem; }

/* —— WhatsApp floating action —— */
.wa-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.wa-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}
.wa-fab__icon { display: flex; line-height: 0; }
body:has(.pdp-bar) .wa-fab {
  bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) {
  body:has(.pdp-bar) .wa-fab {
    bottom: max(1.25rem, env(safe-area-inset-bottom));
  }
}

@media (min-width: 900px) {
  .pdp-bar { display: none; }
  .pdp-hero .btn-row.pdp-desktop-cta { display: flex; }
}
@media (max-width: 899px) {
  .pdp-hero .btn-row.pdp-desktop-cta { display: none; }
}

/* —— Focus visibility —— */
:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .product-card:hover .thumb img { transform: none; }
  .product-card:hover { transform: none; }
  .telemetry::before, .live { animation: none; }
  html { scroll-behavior: auto; }
}

/* —— Legal pages —— */
.legal-prose { max-width: 42rem; }
.legal-prose h1 { margin-bottom: 0.75rem; }
.legal-prose h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 2rem 0 0.65rem;
}
.legal-prose p, .legal-prose li { color: var(--chalk); }
.legal-prose ul { padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.legal-prose a { color: var(--volt); }

/* —— Product image placeholder (until studio photo) —— */
.pdp-visual--placeholder,
.thumb.pdp-visual--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  background: linear-gradient(145deg, var(--graphite) 0%, var(--void) 100%);
  border: 1px dashed var(--line);
}
.pdp-placeholder-label,
.card-placeholder-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
}
.thumb.pdp-visual--placeholder .card-placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.thumb.pdp-visual--placeholder img { display: none; }

.pdp-extra-visual {
  margin: 2rem 0 0;
  border: 1px solid var(--line);
  background: var(--ink);
  overflow: hidden;
}
.pdp-extra-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Footer contact block — phone-first for customers who want to ring, not chat */
.footer-contact { margin: 1.1rem 0 0; font-family: var(--font-mono); font-size: 0.82rem; line-height: 2; }
.footer-contact a { color: var(--chalk); text-decoration: none; }
.footer-contact a:hover { color: var(--volt); }

/* Feature card — full-width flagship treatment (emoto section on /bikes) */
.feature-card {
  display: grid;
  text-decoration: none; color: inherit;
  background: linear-gradient(180deg, var(--graphite), var(--graphite-2));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.feature-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
@media (min-width: 900px) {
  .feature-card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.feature-card__media { position: relative; background: var(--ink); }
.feature-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 899px) { .feature-card__media { aspect-ratio: 4 / 5; } }
@media (min-width: 900px) { .feature-card__media { min-height: 26rem; } }
.feature-card__media::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  pointer-events: none;
}
.feature-card__media .cat {
  position: absolute; bottom: 0.85rem; left: 0.85rem; z-index: 1;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--volt);
  background: rgba(10, 11, 12, 0.6);
  border: 1px solid var(--line-volt);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.6rem;
}
.feature-card__body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 1.4rem 1.4rem 1.6rem;
}
@media (min-width: 900px) { .feature-card__body { padding: 2.2rem 2.6rem; } }
.feature-card__body h3 {
  margin: 0.4rem 0 0.2rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.01em; text-transform: uppercase; color: var(--white);
}
.feature-card__body .price {
  font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem;
  color: var(--volt); margin: 0 0 0.9rem;
}
.feature-card__blurb { margin: 0 0 1rem; color: var(--smoke); max-width: 34rem; }
.feature-card .spec-line { padding-left: 0; margin-bottom: 1.4rem; }
.feature-card__cta { display: inline-flex; align-self: flex-start; }
