:root {
  --ink: #000000;
  --night: #080807;
  --charcoal: #171716;
  --graphite: #272421;
  --mist: #f6f4ef;
  --paper: #ffffff;
  --muted: #8b8780;
  --soft: #d9d6cf;
  --line: rgba(255, 255, 255, 0.14);
  --dark-line: rgba(0, 0, 0, 0.14);
  --orange: #f08030;
  --orange-hot: #ff821f;
  --font-display: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --cursor-x: 72%;
  --cursor-y: 44%;
  --scroll-progress: 0;
  --header-height: 76px;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--font-display);
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.28;
}

body::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 4px;
  z-index: 200;
  pointer-events: none;
  background: linear-gradient(90deg, var(--orange), #ffc08b);
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.motion-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(18px, 4vw, 42px);
  color: var(--paper);
  background: rgba(0, 0, 0, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
}

.motion-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
}

.motion-nav-right {
  justify-content: end;
}

.motion-nav a,
.cart-button {
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.motion-nav a:hover,
.motion-nav a:focus-visible,
.cart-button:hover,
.cart-button:focus-visible {
  color: var(--paper);
}

.cart-button {
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
}

.cart-button span {
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--orange);
  border-radius: 999px;
  font-size: 10px;
}

.motion-logo {
  display: grid;
  place-items: center;
}

.motion-logo > span {
  color: var(--paper);
  font-size: 10px;
  font-weight: 900;
  line-height: 0.9;
  text-align: right;
  text-transform: uppercase;
}

.motion-logo span span,
.motion-hero h1 span,
.hero-tagline span {
  color: var(--orange);
}

.button {
  min-height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--orange-hot);
  border: 1px solid var(--orange-hot);
  color: var(--paper);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ff9342;
  border-color: #ff9342;
}

.button-ghost {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--orange);
  background: rgba(240, 128, 48, 0.14);
}

.button-dark {
  color: var(--ink);
  border: 1px solid var(--ink);
  background: transparent;
}

.button-dark:hover,
.button-dark:focus-visible {
  color: var(--paper);
  background: var(--ink);
}

.mono-label {
  margin: 0;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

.motion-hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 60px) clamp(24px, 4vw, 64px) 56px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.signal-canvas,
.hero-image,
.hero-veil,
.cursor-spotlight {
  position: absolute;
  inset: 0;
}

.signal-canvas {
  z-index: -3;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

.hero-image {
  z-index: -4;
  background-image: url("../assets/design/bpc-dna-motion-hero-wide.png");
  background-size: cover;
  background-position: center center;
  transform: scale(calc(1.02 + var(--scroll-progress) * 0.08));
  transform-origin: var(--cursor-x) var(--cursor-y);
}

.hero-image-base {
  filter: grayscale(1) contrast(1.1) brightness(0.36);
  opacity: 0.92;
}

.hero-image-reveal {
  z-index: -2;
  filter: saturate(1.2) contrast(1.18) brightness(0.95);
  opacity: 0.96;
  -webkit-mask-image: radial-gradient(circle 225px at var(--cursor-x) var(--cursor-y), #000 0 48%, rgba(0, 0, 0, 0.7) 58%, transparent 74%);
  mask-image: radial-gradient(circle 225px at var(--cursor-x) var(--cursor-y), #000 0 48%, rgba(0, 0, 0, 0.7) 58%, transparent 74%);
}

.hero-veil {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0 26%, rgba(0, 0, 0, 0.48) 50%, rgba(0, 0, 0, 0.22) 100%),
    radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(240, 128, 48, 0.34), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, auto, 80px 80px, 80px 80px;
}

.cursor-spotlight {
  left: var(--cursor-x);
  top: var(--cursor-y);
  width: 360px;
  height: 360px;
  inset: auto;
  z-index: 2;
  border: 1px solid rgba(240, 128, 48, 0.72);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.72;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 80px rgba(240, 128, 48, 0.28);
}

.cursor-spotlight::before,
.cursor-spotlight::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.cursor-spotlight::before {
  width: 18px;
  height: 18px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 18px rgba(240, 128, 48, 0.8);
  transform: translate(-50%, -50%);
}

.cursor-spotlight::after {
  width: 190px;
  height: 2px;
  left: 50%;
  top: 50%;
  background: linear-gradient(90deg, var(--orange), transparent);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 690px);
}

.motion-hero h1 {
  margin: 28px 0 0;
  color: var(--paper);
  font-size: clamp(58px, 9vw, 122px);
  font-weight: 900;
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow: 0 10px 42px rgba(0, 0, 0, 0.74);
}

.hero-tagline {
  margin: 30px 0 0;
  color: var(--orange-hot);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
  text-shadow: 0 10px 42px rgba(0, 0, 0, 0.74);
}

.hero-copy {
  max-width: 540px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.7;
}

.agency-pop {
  display: inline;
  padding: 0 0.08em 0.06em;
  color: var(--paper);
  font-weight: 800;
  background:
    linear-gradient(90deg, rgba(240, 128, 48, 0.9), rgba(255, 194, 139, 0.42)) 0 88% / 100% 0.36em no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-shadow:
    0 0 18px rgba(240, 128, 48, 0.34),
    0 8px 30px rgba(0, 0, 0, 0.62);
  animation: agency-signal 4.8s ease-in-out infinite;
}

@keyframes agency-signal {
  0%,
  100% {
    background-size: 100% 0.34em;
    text-shadow:
      0 0 16px rgba(240, 128, 48, 0.3),
      0 8px 30px rgba(0, 0, 0, 0.62);
  }

  45%,
  58% {
    background-size: 100% 0.52em;
    text-shadow:
      0 0 26px rgba(240, 128, 48, 0.48),
      0 10px 34px rgba(0, 0, 0, 0.68);
  }
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.live-matrix {
  position: absolute;
  right: clamp(24px, 5vw, 88px);
  bottom: clamp(38px, 7vw, 92px);
  z-index: 4;
  width: min(300px, calc(100% - 48px));
  padding: 18px;
  color: var(--paper);
  background: rgba(8, 8, 7, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.live-matrix span,
.live-matrix strong {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
  text-transform: uppercase;
}

.live-matrix p {
  margin: 8px 0 12px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.55;
}

.live-matrix strong {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 10px;
  color: var(--ink);
  background: var(--orange);
  border-radius: 999px;
}

.proof-strip {
  min-height: 94px;
  padding: 0 clamp(24px, 4vw, 64px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  background: var(--night);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.proof-strip span {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 22px rgba(240, 128, 48, 0.45);
}

.section-dark {
  position: relative;
  background: var(--night);
  color: var(--paper);
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.22;
}

.standards-section {
  padding: clamp(72px, 8vw, 118px) clamp(24px, 4vw, 64px) 56px;
}

.section-grid {
  position: relative;
  z-index: 1;
  width: min(100%, 1312px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(260px, 0.68fr) minmax(280px, 0.68fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.section-copy h2,
.wide-heading h2,
.products-heading h2,
.research-panel h2,
.support-card h2 {
  margin: 22px 0 0;
  font-size: clamp(38px, 5.8vw, 78px);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.section-copy p:not(.mono-label),
.products-heading > p,
.research-panel p,
.support-card p {
  max-width: 520px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
}

.section-copy .button {
  margin-top: 34px;
}

.packaging-frame,
.batch-panel,
.research-panel,
.support-card {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.packaging-frame {
  aspect-ratio: 0.8;
  overflow: hidden;
  background: #e9e8e3;
}

.packaging-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.1) contrast(1.04);
}

.batch-panel {
  min-height: 440px;
  padding: 34px 30px;
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(14px);
}

.batch-panel h3 {
  margin: 24px 0 0;
  color: var(--paper);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 0.86;
}

.batch-panel p:not(.mono-label) {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
}

.batch-panel dl {
  margin: 34px 0 0;
  display: grid;
  gap: 0;
}

.batch-panel div {
  display: grid;
  grid-template-columns: 0.85fr 1.2fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.batch-panel dt {
  color: var(--orange);
  font-size: 10px;
}

.batch-panel dd {
  margin: 0;
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
}

.california-band {
  position: relative;
  z-index: 1;
  width: min(100%, 1312px);
  min-height: 112px;
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: var(--charcoal);
}

.california-band img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  filter: grayscale(0.18) contrast(1.05);
}

.california-band div {
  padding: 20px 28px;
}

.california-band h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.california-band p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
}

.modules-section,
.products-section {
  padding: clamp(74px, 8vw, 112px) clamp(24px, 4vw, 64px);
  background: var(--mist);
  color: var(--ink);
}

.modules-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 20%, rgba(240, 128, 48, 0.08), transparent 28%),
    linear-gradient(180deg, #f5f3ee 0%, #faf9f5 48%, #f4f2ed 100%);
}

.modules-section::before,
.modules-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.modules-section::before {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.42;
}

.modules-section::after {
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(240, 128, 48, 0.12) 9% 9.12%, transparent 9.12% 100%),
    linear-gradient(90deg, transparent 0 49%, rgba(0, 0, 0, 0.08) 49% 49.05%, transparent 49.05% 100%),
    linear-gradient(90deg, transparent 0 89%, rgba(240, 128, 48, 0.1) 89% 89.12%, transparent 89.12% 100%);
  opacity: 0.34;
}

.wide-heading,
.products-heading,
.product-grid,
.mechanism-grid {
  position: relative;
  z-index: 1;
  width: min(100%, 1312px);
  margin-left: auto;
  margin-right: auto;
}

.wide-heading h2 {
  max-width: 1080px;
  margin-top: 28px;
  color: var(--ink);
}

.mechanism-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  perspective: 1200px;
}

.mechanism-card {
  --card-x: 50%;
  --card-y: 28%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --lift: 0px;
  --scan-alpha: 0;
  --sweep-alpha: 0;
  position: relative;
  min-height: 444px;
  padding: 32px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    var(--paper);
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  outline: 0;
  cursor: crosshair;
  transform: perspective(900px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)) translateY(var(--lift));
  transform-style: preserve-3d;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.mechanism-card::before,
.mechanism-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mechanism-card::before {
  z-index: 0;
  background:
    radial-gradient(circle 250px at var(--card-x) var(--card-y), rgba(240, 128, 48, 0.16), transparent 68%),
    linear-gradient(135deg, rgba(240, 128, 48, 0.04), transparent 50%);
  opacity: var(--scan-alpha);
}

.mechanism-card::after {
  z-index: 1;
  left: -30%;
  width: 22%;
  background: linear-gradient(90deg, transparent, rgba(240, 128, 48, 0.12), rgba(255, 255, 255, 0.2), transparent);
  opacity: var(--sweep-alpha);
  transform: translateX(-135%) skewX(-14deg);
}

.mechanism-card > * {
  position: relative;
  z-index: 2;
}

.mechanism-card:hover,
.mechanism-card:focus-visible,
.mechanism-card.is-active {
  --lift: -6px;
  --scan-alpha: 0.72;
  --sweep-alpha: 0.3;
  border-color: rgba(240, 128, 48, 0.42);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(240, 128, 48, 0.08) inset;
  transition-delay: 0ms;
}

.mechanism-card:hover::after,
.mechanism-card:focus-visible::after,
.mechanism-card.is-active::after {
  transform: translateX(560%) skewX(-14deg);
}

.mechanism-step {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.mechanism-status {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 3;
  min-height: 26px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  color: rgba(0, 0, 0, 0.52);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(-4px);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease, color 180ms ease, background 180ms ease;
}

.mechanism-card:hover .mechanism-status,
.mechanism-card:focus-visible .mechanism-status,
.mechanism-card.is-active .mechanism-status {
  color: var(--ink);
  background: var(--orange);
  opacity: 1;
  transform: translateY(0);
}

.mechanism-glyph {
  width: min(100%, 280px);
  margin: 34px auto 32px;
  display: grid;
  gap: 8px;
  position: relative;
}

.mechanism-glyph::before,
.mechanism-glyph::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 22px;
  bottom: 22px;
  width: 1px;
  transform: translateX(-50%);
}

.mechanism-glyph::before {
  background: rgba(0, 0, 0, 0.12);
}

.mechanism-glyph::after {
  background: linear-gradient(var(--orange), rgba(240, 128, 48, 0.18));
  transform: translateX(-50%) scaleY(0.18);
  transform-origin: top;
  opacity: 0.46;
  transition: transform 540ms ease;
}

.mechanism-card:hover .mechanism-glyph::after,
.mechanism-card:focus-visible .mechanism-glyph::after,
.mechanism-card.is-active .mechanism-glyph::after {
  transform: translateX(-50%) scaleY(1);
}

.mechanism-glyph span {
  position: relative;
  z-index: 1;
  min-height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--dark-line);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  transform: translateZ(18px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.mechanism-card:hover .mechanism-glyph span,
.mechanism-card:focus-visible .mechanism-glyph span,
.mechanism-card.is-active .mechanism-glyph span {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(240, 128, 48, 0.3);
  box-shadow: 0 10px 24px rgba(240, 128, 48, 0.07);
}

.mechanism-card[data-active-step="1"] .mechanism-glyph span:nth-child(1),
.mechanism-card[data-active-step="2"] .mechanism-glyph span:nth-child(2),
.mechanism-card[data-active-step="3"] .mechanism-glyph span:nth-child(3),
.mechanism-card:focus-visible .mechanism-glyph span:nth-child(1) {
  color: var(--ink);
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 14px 34px rgba(240, 128, 48, 0.18);
}

.mechanism-card:hover .mechanism-glyph span:nth-child(1),
.mechanism-card:focus-visible .mechanism-glyph span:nth-child(1),
.mechanism-card.is-active .mechanism-glyph span:nth-child(1) {
  transform: translateZ(22px) translateY(-2px);
}

.mechanism-card:hover .mechanism-glyph span:nth-child(2),
.mechanism-card:focus-visible .mechanism-glyph span:nth-child(2),
.mechanism-card.is-active .mechanism-glyph span:nth-child(2) {
  transform: translateZ(26px) translateY(-2px);
  transition-delay: 80ms;
}

.mechanism-card:hover .mechanism-glyph span:nth-child(3),
.mechanism-card:focus-visible .mechanism-glyph span:nth-child(3),
.mechanism-card.is-active .mechanism-glyph span:nth-child(3) {
  transform: translateZ(30px) translateY(-2px);
  transition-delay: 160ms;
}

.mechanism-card h3 {
  margin: 0;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.35;
  text-transform: uppercase;
}

.mechanism-card p {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.mechanism-proof {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.68);
  opacity: 0.82;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.mechanism-card:hover .mechanism-proof,
.mechanism-card:focus-visible .mechanism-proof,
.mechanism-card.is-active .mechanism-proof {
  border-color: rgba(240, 128, 48, 0.32);
  opacity: 1;
  transform: translateY(0);
}

.mechanism-proof div {
  min-height: 58px;
  padding: 12px;
  display: grid;
  align-content: center;
  gap: 5px;
}

.mechanism-proof div + div {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.mechanism-proof dt,
.mechanism-proof dd {
  margin: 0;
  font-family: var(--font-mono);
  line-height: 1.1;
  text-transform: uppercase;
}

.mechanism-proof dt {
  color: var(--orange);
  font-size: 9px;
  font-weight: 600;
}

.mechanism-proof dd {
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.products-section {
  background: var(--paper);
}

.products-heading {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(260px, 0.55fr) auto;
  gap: clamp(24px, 4vw, 54px);
  align-items: end;
}

.products-heading h2 {
  margin-top: 18px;
}

.products-heading > p {
  margin: 0;
  color: var(--muted);
}

.product-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
}

.product-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shine-x: 50%;
  --shine-y: 30%;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  transform: perspective(900px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)) translateY(0);
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(240, 128, 48, 0.22), transparent 33%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.product-card:hover {
  border-color: rgba(0, 0, 0, 0.48);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.12);
}

.product-card:hover::after {
  opacity: 1;
}

.product-media {
  position: relative;
  aspect-ratio: 1.28;
  display: block;
  overflow: hidden;
  background: var(--mist);
}

.product-media::before {
  content: attr(data-system);
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  min-width: 150px;
  padding: 9px 12px;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-info {
  min-height: 254px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  min-height: 2.3em;
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.product-info p {
  margin: 24px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.55;
}

.product-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-row span {
  min-width: 86px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--dark-line);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.product-row strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.product-info button {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  border-radius: 4px;
  color: var(--paper);
  background: var(--orange-hot);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.product-info button:hover,
.product-info button:focus-visible {
  background: var(--ink);
  transform: translateY(-1px);
}

.support-section {
  padding: clamp(70px, 8vw, 108px) clamp(24px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.research-panel,
.support-card {
  position: relative;
  z-index: 1;
  min-height: 260px;
  padding: clamp(30px, 4vw, 48px);
}

.research-panel {
  background: rgba(255, 255, 255, 0.08);
}

.support-card {
  color: var(--ink);
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.52fr);
  gap: 28px;
}

.support-card h2 {
  color: var(--ink);
  font-size: clamp(32px, 4vw, 56px);
}

.support-card p {
  color: #6f6b64;
}

.terminal {
  align-self: center;
  min-height: 190px;
  padding: 20px;
  display: grid;
  gap: 9px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: var(--paper);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.terminal span {
  color: var(--orange);
  font-size: 10px;
}

.terminal strong {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  color: var(--ink);
  font-size: 14px;
}

.motion-footer {
  padding: 36px clamp(24px, 4vw, 64px);
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  gap: 32px;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.motion-footer p,
.motion-footer nav {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
}

.motion-footer nav {
  display: flex;
  justify-content: end;
  gap: 20px;
  text-transform: uppercase;
}

.motion-footer a:hover,
.motion-footer a:focus-visible {
  color: var(--paper);
}

.stage-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 80;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.stage-rail a {
  position: relative;
  min-width: 108px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.46);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  transition: color 160ms ease, transform 160ms ease;
}

.stage-rail a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.stage-rail a.is-active {
  color: var(--paper);
  transform: translateX(-4px);
}

.stage-rail a.is-active::before {
  background: var(--orange);
  box-shadow: 0 0 16px rgba(240, 128, 48, 0.55);
  transform: scale(1.3);
}

.stage-rail a span {
  color: var(--orange);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 220;
  min-width: min(340px, calc(100vw - 42px));
  padding: 14px 18px;
  color: var(--paper);
  background: rgba(0, 0, 0, 0.84);
  border: 1px solid rgba(240, 128, 48, 0.62);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: center;
  text-transform: uppercase;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0.86;
  transform: translateY(10px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mechanism-card:nth-child(2),
.product-card:nth-child(2) {
  transition-delay: 90ms;
}

.mechanism-card:nth-child(3),
.product-card:nth-child(3) {
  transition-delay: 180ms;
}

@media (max-width: 1500px) {
  .stage-rail {
    display: none;
  }
}

@media (max-width: 1180px) {
  .section-grid,
  .products-heading,
  .support-section {
    grid-template-columns: 1fr;
  }

  .packaging-frame {
    max-width: 520px;
  }

  .products-heading > .button {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .motion-header {
    grid-template-columns: auto 1fr auto;
  }

  .motion-nav-left {
    display: none;
  }

  .motion-logo {
    justify-self: start;
  }

  .motion-nav-right a {
    display: none;
  }

  .motion-hero {
    min-height: 920px;
    align-items: start;
  }

  .hero-content {
    padding-top: 24px;
  }

  .live-matrix {
    left: 24px;
    right: 24px;
    bottom: 34px;
    width: auto;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    padding-block: 24px;
  }

  .california-band,
  .mechanism-grid,
  .product-grid,
  .support-card,
  .motion-footer {
    grid-template-columns: 1fr;
  }

  .motion-footer nav {
    justify-content: start;
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 70px;
  }

  .motion-header {
    padding-inline: 16px;
  }

  .cart-button {
    width: 42px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }

  .cart-button span {
    font-size: 10px;
  }

  .motion-hero h1 {
    font-size: clamp(44px, 12.8vw, 54px);
    line-height: 0.86;
  }

  .hero-content {
    width: 100%;
    max-width: calc(100vw - 48px);
  }

  .hero-tagline {
    font-size: clamp(30px, 9.4vw, 38px);
  }

  .hero-copy {
    max-width: 100%;
    font-size: 13px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hero-actions .button {
    min-width: 0;
    padding-inline: 12px;
  }

  .cursor-spotlight {
    width: 240px;
    height: 240px;
  }

  .hero-image-reveal {
    -webkit-mask-image: radial-gradient(circle 155px at var(--cursor-x) var(--cursor-y), #000 0 48%, rgba(0, 0, 0, 0.7) 58%, transparent 74%);
    mask-image: radial-gradient(circle 155px at var(--cursor-x) var(--cursor-y), #000 0 48%, rgba(0, 0, 0, 0.7) 58%, transparent 74%);
  }

  .section-copy h2,
  .wide-heading h2,
  .products-heading h2,
  .research-panel h2,
  .support-card h2 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .mechanism-card,
  .product-info,
  .research-panel,
  .support-card {
    padding: 24px;
  }

  .mechanism-card {
    min-height: auto;
  }

  .mechanism-status {
    position: relative;
    top: auto;
    right: auto;
    margin-left: 10px;
    opacity: 1;
    transform: none;
  }

  .mechanism-glyph {
    width: 100%;
    margin-top: 28px;
  }

  .mechanism-proof {
    grid-template-columns: 1fr;
  }

  .mechanism-proof div + div {
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-image,
  .product-card,
  .mechanism-card,
  .mechanism-glyph span,
  .mechanism-proof {
    transform: none !important;
  }

  .mechanism-card::before,
  .mechanism-card::after {
    display: none;
  }

  .agency-pop {
    background-size: 100% 0.42em;
  }

  .hero-image-reveal {
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 0.28;
  }

  .cursor-spotlight,
  .signal-canvas {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
