/* ==========================================================================
   Design tokens
   Single source of truth for colour, type and spacing. Change values here,
   never hard-code them in views.
   ========================================================================== */

:root {
  /* Surfaces, from page base upward */
  --c-bg: #0a0e14;
  --c-surface: #111721;
  --c-surface-2: #171f2b;
  --c-surface-3: #1e2836;
  --c-border: #232d3b;
  --c-border-strong: #35414f;

  /* Text */
  --c-text: #e8edf4;
  --c-text-muted: #94a3b4;
  --c-text-dim: #6b7a8c;

  /* Brand. Deep brick red, lifted for legibility on dark surfaces. */
  --c-brand: #c8341f;
  --c-brand-hover: #e04a2f;
  --c-brand-deep: #8d1c0c;
  --c-brand-soft: rgba(200, 52, 31, .12);
  --c-accent: #ffc720;

  /* Type. The *-Fallback families are metric-matched stand-ins declared below. */
  --f-head: "Montserrat", "Montserrat Fallback", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Open Sans", "Open Sans Fallback", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  /* Rhythm. Sections use --space-section so vertical pacing stays uniform. */
  --space-section: 6rem;
  --radius: 2px;
  --radius-lg: 4px;

  --shadow-card: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-lift: 0 12px 32px rgba(0, 0, 0, .55);
  --shadow-brand: 0 6px 20px rgba(200, 52, 31, .28);

  --nav-h: 72px;
  --nav-h-scrolled: 58px;

  /* Motion. Duration climbs with the distance an element travels; --ease-out
     decelerates hard, which reads as weight rather than bounce. --transition is
     kept as an alias so the rules written against it need no edit. */
  --dur-fast: 120ms;
  --dur: 240ms;
  --dur-slow: 480ms;
  --dur-reveal: 700ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --transition: .2s ease;
}

@media (max-width: 767.98px) {
  :root {
    --space-section: 3.5rem;
    --nav-h: 60px;
    --nav-h-scrolled: 52px;
  }
}

/* Metric-matched fallbacks. Google Fonts is slow or unreachable on some
   networks; scaling the local stand-in to the same x-height keeps the swap from
   reflowing the page. size-adjust only, because line heights are set
   explicitly everywhere and vertical overrides would compound with it. */
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 100%;
}

@font-face {
  font-family: "Open Sans Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 103%;
}

/* Map tokens onto Bootstrap so built-in components inherit the theme. */
[data-bs-theme="dark"] {
  --bs-body-bg: var(--c-bg);
  --bs-body-color: var(--c-text-muted);
  --bs-emphasis-color: var(--c-text);
  --bs-secondary-color: var(--c-text-dim);
  --bs-border-color: var(--c-border);
  --bs-primary: var(--c-brand);
  --bs-primary-rgb: 200, 52, 31;
  --bs-link-color: var(--c-text);
  --bs-link-hover-color: var(--c-brand-hover);
  --bs-link-color-rgb: 232, 237, 244;
  --bs-body-font-family: var(--f-body);
  --bs-border-radius: var(--radius);
  --bs-border-radius-sm: var(--radius);
  --bs-border-radius-lg: var(--radius-lg);
}

/* ==========================================================================
   Base
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--c-bg);
  color: var(--c-text-muted);
  font-family: var(--f-body);
  font-size: .95rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head);
  color: var(--c-text);
  font-weight: 600;
  line-height: 1.25;
}

a {
  text-decoration: none;
  transition: color var(--transition);
}

::selection {
  background: var(--c-brand);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--c-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--c-border-strong);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--c-brand);
}

:focus-visible {
  outline: 2px solid var(--c-brand-hover);
  outline-offset: 2px;
}

/* ==========================================================================
   Typography detail
   Cross-cutting rules that belong to no single component: figures that have to
   line up in columns, part numbers that read as codes, and headline wrapping.
   ========================================================================== */

.stat__value,
.price,
.pager,
.pager-meta,
.price-ladder,
.price-grid,
.spec-table,
.cat-next__meta,
.filter-chip span {
  font-variant-numeric: tabular-nums;
}

/* Part numbers, not prose: fixed pitch makes transposed characters obvious. */
.partno {
  font-family: var(--f-mono);
  letter-spacing: .02em;
}

.hero-title,
.section-title,
.feature-card__title,
.product-card__title,
.news-card__title {
  text-wrap: balance;
}

.hero-lead,
.section-lead,
.prose p,
.feature-card__text,
.news-card__text,
.cms-content {
  text-wrap: pretty;
}

.prose,
.cms-content {
  font-weight: 500;
}

/* ==========================================================================
   Motion
   Scroll reveal is opt-in per element via data-reveal, and only takes effect
   once _Layout's inline script puts .js-reveal on <html>. With JS off, reduced
   motion requested, or site.js failing to load, nothing is ever hidden.
   ========================================================================== */

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-y, 18px));
}

.js-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--dur-reveal) var(--ease-out) var(--reveal-delay, 0ms),
    transform var(--dur-reveal) var(--ease-out) var(--reveal-delay, 0ms);
}

/* The eyebrow rule grows out of the text it labels, so every section heading on
   the site gets a small entrance from this one rule. */
.js-reveal .eyebrow[data-reveal]::before {
  width: 0;
  transition: width var(--dur-slow) var(--ease-out) calc(var(--reveal-delay, 0ms) + 160ms);
}

.js-reveal .eyebrow[data-reveal].is-in::before {
  width: 28px;
}

@media print {
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.section {
  padding-block: var(--space-section);
}

.section--tight {
  padding-block: calc(var(--space-section) * .6);
}

.section--surface {
  background: var(--c-surface);
}

/* Faint grid texture, used behind hero and CTA bands. */
.section--grid {
  background-color: var(--c-surface);
  background-image:
    linear-gradient(var(--c-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-border) 1px, transparent 1px);
  background-size: 64px 64px;
  position: relative;
}

.section--grid > * {
  position: relative;
  z-index: 1;
}

.section--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, transparent 10%, var(--c-bg) 78%);
}

/* ==========================================================================
   Section headings
   Eyebrow + title + optional lead, the repeating unit of every marketing page.
   ========================================================================== */

.eyebrow {
  font-family: var(--f-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-brand);
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-brand);
  flex: none;
}

.eyebrow--center {
  justify-content: center;
}

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: -.01em;
  margin-bottom: 0;
}

.section-lead {
  color: var(--c-text-muted);
  max-width: 62ch;
  margin-top: 1rem;
  margin-bottom: 0;
}

.section-head--center {
  text-align: center;
}

.section-head--center .section-lead {
  margin-inline: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  --bs-btn-border-radius: var(--radius);
  font-family: var(--f-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .8rem 1.75rem;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

/* Presses register physically rather than only through a colour change. */
.btn:active {
  transform: translateY(1px);
}

.btn-brand {
  background: var(--c-brand);
  border: 1px solid var(--c-brand);
  color: #fff;
}

.btn-brand:hover,
.btn-brand:focus-visible {
  background: var(--c-brand-hover);
  border-color: var(--c-brand-hover);
  color: #fff;
  box-shadow: var(--shadow-brand), 0 0 0 8px var(--c-brand-soft);
}

.btn-brand--shine {
  position: relative;
  overflow: hidden;
}

.btn-brand--shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .18) 48%, transparent 66%);
  transform: translateX(-120%);
  pointer-events: none;
}

.btn-brand--shine:hover::after {
  transform: translateX(120%);
  transition: transform .6s var(--ease-out);
}

.btn.is-busy {
  pointer-events: none;
  opacity: .85;
}

.btn-spinner {
  display: inline-block;
  width: .7rem;
  height: .7rem;
  margin-right: .45rem;
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -.05rem;
  animation: spin .6s linear infinite;
}

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

.btn-ghost {
  background: transparent;
  border: 1px solid var(--c-border-strong);
  color: var(--c-text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--c-brand);
  color: var(--c-brand-hover);
  background: var(--c-brand-soft);
}

/* Inline text link with a trailing arrow that nudges on hover. */
.btn-text {
  font-family: var(--f-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-brand);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-text::after {
  content: "\2192";
  transition: transform var(--transition);
}

.btn-text:hover {
  color: var(--c-brand-hover);
}

.btn-text:hover::after {
  transform: translateX(4px);
}

/* ==========================================================================
   Top bar and navigation
   ========================================================================== */

.topbar {
  background: #070a0f;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text-dim);
  font-size: .78rem;
}

.topbar a {
  color: var(--c-text-dim);
}

.topbar a:hover {
  color: var(--c-brand-hover);
}

.site-nav {
  background: rgba(10, 14, 20, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  min-height: var(--nav-h);
  transition:
    min-height var(--dur) var(--ease-out),
    background-color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}

/* Once the page has moved, the bar tightens and detaches from the content. */
.site-nav.is-scrolled {
  min-height: var(--nav-h-scrolled);
  background: rgba(7, 10, 15, .96);
  box-shadow: var(--shadow-lift);
}

.site-nav .navbar-brand {
  font-family: var(--f-head);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--c-text);
  text-transform: uppercase;
  font-size: 1.05rem;
}

.navbar-logo,
.footer-logo img {
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.navbar-logo {
  transition: height var(--dur) var(--ease-out);
}

.site-nav.is-scrolled .navbar-logo {
  height: 32px;
}

.footer-logo img {
  height: 44px;
  max-width: 240px;
}

.site-nav .nav-link {
  font-family: var(--f-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  padding: .5rem .9rem;
  position: relative;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--c-text);
}

/* Underline grows from the left on hover. */
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: 0;
  height: 2px;
  background: var(--c-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after {
  transform: scaleX(1);
}

.site-nav .dropdown-menu {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: .5rem 0;
  box-shadow: var(--shadow-lift);
  animation: dropdown-in var(--dur-fast) var(--ease-out);
}

@keyframes dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.site-nav .dropdown-item {
  font-size: .85rem;
  color: var(--c-text-muted);
  padding: .5rem 1.25rem;
}

.site-nav .dropdown-item:hover {
  background: var(--c-brand-soft);
  color: var(--c-text);
}

.nav-search .form-control {
  background: var(--c-surface-2);
  border-color: var(--c-border);
  color: var(--c-text);
  font-size: .82rem;
}

.nav-search .form-control:focus {
  background: var(--c-surface-2);
  border-color: var(--c-brand);
  box-shadow: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: clamp(420px, 68vh, 640px);
  display: flex;
  align-items: center;
  background: var(--c-surface);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: -6%;
  animation: hero-drift 18s var(--ease-in-out) infinite alternate;
}

.hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

@keyframes hero-drift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* Dark scrim so headline text stays legible over any banner image. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 10, 15, .94) 0%, rgba(7, 10, 15, .72) 45%, rgba(7, 10, 15, .35) 100%);
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  max-width: 18ch;
}

.hero-title__accent {
  color: var(--c-brand);
  font-weight: 700;
}

.hero-lead {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: var(--c-text-muted);
  max-width: 54ch;
  margin-block: 1.5rem 2.5rem;
}

.carousel-indicators [data-bs-target] {
  width: 32px;
  height: 3px;
  border: 0;
  background: var(--c-border-strong);
  opacity: 1;
}

.carousel-indicators .active {
  background: var(--c-brand);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card-surface {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition:
    border-color var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}

.card-surface:hover {
  border-color: var(--c-border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

/* Feature tile: icon, title, copy. */
.feature-card {
  display: block;
  padding: 2rem 1.75rem;
  color: inherit;
  height: 100%;
  position: relative;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--c-brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}

.feature-card:hover::before {
  transform: scaleY(1);
}

.feature-card__icon {
  font-size: 1.75rem;
  color: var(--c-brand);
  margin-bottom: 1.25rem;
  display: block;
  transition: transform var(--dur) var(--ease-out);
}

.feature-card:hover .feature-card__icon {
  transform: translateY(-2px) scale(1.08);
}

.feature-card__title {
  font-size: 1rem;
  letter-spacing: .02em;
  margin-bottom: .65rem;
}

.feature-card__text {
  font-size: .88rem;
  color: var(--c-text-muted);
  margin-bottom: 0;
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  overflow: hidden;
}

.product-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--c-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.product-card:hover .product-cover img {
  transform: scale(1.05);
}

.product-placeholder {
  font-size: 2.25rem;
  color: var(--c-text-dim);
}

.product-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
}

.product-card__sku {
  font-family: var(--f-head);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.product-card__title {
  font-size: .95rem;
  margin: 0;
}

.product-card:hover .product-card__title {
  color: var(--c-brand-hover);
}

.price {
  color: var(--c-accent);
  font-family: var(--f-head);
  font-weight: 600;
  letter-spacing: .04em;
  margin-top: auto;
}

.stock-badge {
  position: absolute;
  top: .65rem;
  left: .65rem;
  z-index: 1;
  font-family: var(--f-head);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .28rem .55rem;
  background: var(--c-brand-soft);
  border: 1px solid var(--c-brand);
  color: var(--c-text);
}

.stock-badge--wait {
  background: var(--c-surface-3);
  border-color: var(--c-border-strong);
  color: var(--c-text-dim);
}

/* News card */
.news-card {
  display: block;
  padding: 1.5rem;
  height: 100%;
  color: inherit;
}

.news-card__date {
  font-family: var(--f-head);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-brand);
}

.news-card__date::after {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: var(--c-brand);
  margin-top: .75rem;
}

.news-card__title {
  font-size: 1rem;
  margin-block: .75rem;
}

.news-card:hover .news-card__title {
  color: var(--c-brand-hover);
}

.news-card__text {
  font-size: .88rem;
  color: var(--c-text-muted);
  margin: 0;
}

/* ==========================================================================
   Stat band
   ========================================================================== */

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat__value {
  font-family: var(--f-head);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--c-text);
  line-height: 1;
}

.stat__value span {
  color: var(--c-brand);
}

.stat__label {
  font-family: var(--f-head);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-top: .75rem;
}

.stat--start {
  text-align: left;
  padding: 0;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--c-brand-deep) 0%, #6d1408 100%);
  padding-block: calc(var(--space-section) * .7);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .35;
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, .8);
  margin-bottom: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-label {
  font-family: var(--f-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: .5rem;
  transition: color var(--dur-fast) var(--ease-out);
}

.field:focus-within .form-label {
  color: var(--c-brand-hover);
}

.form-control,
.form-select {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text);
  padding: .75rem 1rem;
  font-size: .9rem;
}

.form-control:focus,
.form-select:focus {
  background: var(--c-surface);
  border-color: var(--c-brand);
  color: var(--c-text);
  box-shadow: 0 0 0 3px var(--c-brand-soft);
}

.form-control::placeholder {
  color: var(--c-text-dim);
}

.inquiry-panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 2px solid var(--c-brand);
  padding: 2rem;
}

/* ==========================================================================
   Breadcrumb, sidebar, pagination
   ========================================================================== */

.crumb {
  font-size: .78rem;
  color: var(--c-text-dim);
  letter-spacing: .04em;
  padding-block: 1.25rem;
}

.crumb a {
  color: var(--c-text-muted);
}

.crumb a:hover {
  color: var(--c-brand-hover);
}

.side-box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 1.5rem;
}

.side-box__title {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-text);
  padding-bottom: .85rem;
  margin-bottom: .5rem;
  border-bottom: 1px solid var(--c-border);
}

.side-nav a {
  display: block;
  padding: .5rem 0 .5rem .85rem;
  font-size: .88rem;
  color: var(--c-text-muted);
  border-left: 2px solid transparent;
}

.side-nav a:hover {
  color: var(--c-text);
  border-left-color: var(--c-border-strong);
}

.side-nav a.active {
  color: var(--c-brand-hover);
  border-left-color: var(--c-brand);
}

.side-nav a.is-child {
  padding-left: 1.75rem;
  font-size: .82rem;
}

.side-nav a.is-ancestor {
  color: var(--c-text);
}

.product-card__brand {
  font-size: .78rem;
  color: var(--c-text-muted);
}

.catalog-search .form-control-lg {
  min-height: 3.25rem;
  background: var(--c-surface);
  border-color: var(--c-border-strong);
}

.catalog-swap {
  position: relative;
}

.swap-indicator {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background: color-mix(in srgb, var(--c-bg) 48%, transparent);
  transition: opacity var(--dur-fast) var(--ease-out);
}

.swap-indicator::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-brand);
  transform: scaleX(0);
  transform-origin: left;
}

.swap-indicator.htmx-request {
  opacity: 1;
  pointer-events: auto;
}

.swap-indicator.htmx-request::after {
  animation: swap-ind 1s var(--ease-out) infinite;
}

@keyframes swap-ind {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  51% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

.catalog-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
}

@media (max-width: 991.98px) {
  .catalog-dir {
    grid-template-columns: 1fr;
  }
}

.catalog-dir__group {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 1.35rem 1.5rem 1.2rem;
  position: relative;
  overflow: hidden;
}

.catalog-dir__group::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}

.catalog-dir__group:hover::before {
  transform: scaleX(1);
}

.catalog-dir__heading {
  display: block;
  font-family: var(--f-head);
  font-size: 1.05rem;
  color: var(--c-text);
  margin-bottom: .85rem;
  letter-spacing: .02em;
}

.catalog-dir__heading:hover {
  color: var(--c-brand-hover);
}

.catalog-dir__links {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 1.25rem;
}

@media (max-width: 575.98px) {
  .catalog-dir__links {
    columns: 1;
  }
}

.catalog-dir__links a {
  display: block;
  padding: .22rem 0;
  font-size: .86rem;
  color: var(--c-text-muted);
  transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.catalog-dir__links a:hover {
  color: var(--c-brand-hover);
  transform: translateX(4px);
}

.catalog-dir__empty {
  font-size: .86rem;
  color: var(--c-text-dim);
  margin: 0;
}

.catalog-tile {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.35rem 1.4rem;
  height: 100%;
  color: inherit;
}

.catalog-tile h3 {
  font-size: 1rem;
  margin: 0;
  color: var(--c-text);
}

.catalog-tile span {
  font-size: .8rem;
  color: var(--c-text-dim);
}

.cat-tree-box {
  padding-right: 1rem;
}

.cat-tree {
  max-height: min(70vh, 44rem);
  overflow: auto;
  margin: 0 -0.5rem 0 0;
  padding-right: .35rem;
}

.cat-tree__all {
  display: block;
  font-size: .82rem;
  color: var(--c-text-muted);
  padding: .35rem 0 .65rem;
}

.cat-tree__all:hover,
.cat-tree__all.is-current {
  color: var(--c-brand-hover);
}

.cat-tree__item {
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  padding: .28rem .4rem .28rem calc(.15rem + (var(--d, 1) - 1) * .85rem);
  font-size: .82rem;
  line-height: 1.35;
  color: var(--c-text-muted);
  border-left: 2px solid transparent;
}

.cat-tree__item:hover {
  color: var(--c-text);
  background: var(--c-surface-2);
}

.cat-tree__item.is-open {
  color: var(--c-text);
}

.cat-tree__item.is-current {
  color: var(--c-brand-hover);
  border-left-color: var(--c-brand);
  background: var(--c-brand-soft);
}

.cat-tree__mark {
  flex: 0 0 .85rem;
  width: .85rem;
  color: var(--c-text-dim);
  font-size: .65rem;
  line-height: 1.45;
}

.cat-tree__name {
  min-width: 0;
}

.cat-next {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
}

.cat-next a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.15rem;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}

.cat-next li:last-child a {
  border-bottom: 0;
}

.cat-next a:hover {
  background: var(--c-surface-2);
  color: var(--c-brand-hover);
}

.cat-next__meta {
  color: var(--c-text-dim);
  font-size: .78rem;
  white-space: nowrap;
}

.filter-row__label {
  font-family: var(--f-head);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-bottom: .65rem;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .28rem .7rem;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text-muted);
  font-size: .8rem;
}

.filter-chip span {
  color: var(--c-text-dim);
  font-size: .72rem;
}

.filter-chip:hover,
.filter-chip.is-on {
  border-color: var(--c-brand);
  color: var(--c-text);
}

.filter-chip.is-on {
  background: var(--c-brand-soft);
}

.pager-meta {
  font-size: .8rem;
  color: var(--c-text-dim);
  margin-bottom: 1rem;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin-top: 2.5rem;
}

.pager__btn {
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 .7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text-muted);
  font-size: .82rem;
}

.pager__btn:hover {
  border-color: var(--c-brand);
  color: var(--c-text);
}

.pager__btn.is-on {
  background: var(--c-brand-soft);
  border-color: var(--c-brand);
  color: var(--c-text);
}

.pager__gap {
  color: var(--c-text-dim);
  padding: 0 .2rem;
}

.price-ladder {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  padding: 1rem 1.25rem;
  font-size: .88rem;
  white-space: pre-wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #070a0f;
  border-top: 1px solid var(--c-border);
  color: var(--c-text-muted);
  padding-top: calc(var(--space-section) * .7);
  font-size: .88rem;
}

.site-footer h5,
.site-footer h6 {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.site-footer a {
  color: var(--c-text-muted);
}

.site-footer a:hover {
  color: var(--c-brand-hover);
}

.footer-bottom {
  border-top: 1px solid var(--c-border);
  margin-top: 3rem;
  padding-block: 1.5rem;
  font-size: .78rem;
  color: var(--c-text-dim);
}

/* ==========================================================================
   Rich text from the CMS editor
   ========================================================================== */

.cms-content {
  color: var(--c-text-muted);
  line-height: 1.9;
}

.cms-content img {
  max-width: 100%;
  height: auto;
}

.cms-content h2,
.cms-content h3 {
  margin-block: 2rem 1rem;
}

.cms-content h2 {
  padding-left: .85rem;
  border-left: 2px solid var(--c-brand);
}

.cms-content a {
  color: var(--c-brand-hover);
  text-decoration: underline;
}

.cms-content ul,
.cms-content ol {
  padding-left: 1.25rem;
}

.cms-content blockquote {
  border-left: 2px solid var(--c-brand);
  padding-left: 1.25rem;
  color: var(--c-text);
  margin-block: 1.5rem;
}

.cms-content table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.5rem;
}

.cms-content th,
.cms-content td {
  border: 1px solid var(--c-border);
  padding: .65rem 1rem;
  text-align: left;
}

.cms-content th {
  background: var(--c-surface-2);
  color: var(--c-text);
}

/* Specs block on the product page */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.spec-table tr {
  border-bottom: 1px solid var(--c-border);
}

.spec-table td {
  padding: .75rem 0;
}

.spec-table td:first-child {
  color: var(--c-text-dim);
  width: 34%;
}

.spec-table td:last-child {
  color: var(--c-text);
}

.spec-table--sheet {
  border: 1px solid var(--c-border);
}

.spec-table--sheet td {
  padding: .7rem 1.15rem;
  border: 1px solid var(--c-border);
}

.spec-table--sheet td:first-child {
  width: 28%;
  background: var(--c-surface);
  color: var(--c-text);
  font-family: var(--f-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.spec-table--sheet tr {
  border-bottom: 0;
}

/* ==========================================================================
   Product detail
   ========================================================================== */

.product-hero__sku {
  font-family: var(--f-head);
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.15;
  margin: 0 0 .4rem;
  overflow-wrap: anywhere;
}

.product-hero__name {
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.15rem;
}

.product-facts {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  border-top: 1px solid var(--c-border);
}

.product-facts li {
  display: flex;
  gap: .85rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--c-border);
  font-size: .92rem;
}

.product-facts__k {
  color: var(--c-text-dim);
  min-width: 8.75rem;
  flex-shrink: 0;
  font-family: var(--f-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding-top: .15rem;
}

.product-facts__v {
  color: var(--c-text);
  min-width: 0;
}

.product-facts__v a {
  color: var(--c-text);
}

.product-facts__v a:hover {
  color: var(--c-brand-hover);
}

.product-section {
  margin-top: 3.25rem;
  padding-top: 3.25rem;
  border-top: 1px solid var(--c-border);
}

.product-layout {
  display: grid;
  gap: 1.75rem;
}

.product-layout__rfq,
.product-layout__hero,
.product-layout__rest {
  min-width: 0;
}

.product-section .eyebrow {
  margin-bottom: 1.15rem;
}

.product-section--flush {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

#rfq {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

@media (min-width: 992px) {
  .product-layout {
    grid-template-columns: minmax(0, 1fr) 17.25rem;
    grid-template-areas:
      "hero rfq"
      "rest rfq";
    column-gap: 1.75rem;
    row-gap: 0;
    align-items: start;
  }

  .product-layout__hero {
    grid-area: hero;
  }

  .product-layout__rfq {
    grid-area: rfq;
    position: sticky;
    top: calc(var(--nav-h-scrolled) + .75rem);
    max-height: calc(100vh - var(--nav-h-scrolled) - 1.25rem);
    overflow: auto;
  }

  .product-layout__rest {
    grid-area: rest;
  }

  .product-section--flush {
    margin-top: 3.25rem;
    padding-top: 3.25rem;
    border-top: 1px solid var(--c-border);
  }
}

.product-section__note,
.product-section__lead {
  color: var(--c-text-muted);
  font-size: .88rem;
  margin-top: 1rem;
  margin-bottom: 0;
  max-width: 62ch;
}

.product-section__lead {
  margin-bottom: 1.15rem;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}

.price-grid--single {
  grid-template-columns: 1fr;
  max-width: 22rem;
}

.price-grid__cell {
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--c-border);
}

.price-grid__cell:nth-child(odd) {
  border-right: 1px solid var(--c-border);
}

.price-grid__cell:last-child {
  border-bottom: 0;
}

.price-grid__cell:nth-last-child(2):nth-child(odd) {
  border-bottom: 0;
}

.price-grid__cell:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-right: 0;
}

.price-grid--single .price-grid__cell,
.price-grid--single .price-grid__cell:nth-child(odd) {
  border-right: 0;
  border-bottom: 0;
}

.price-grid__qty {
  font-family: var(--f-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: .35rem;
}

.price-grid .price {
  margin-top: 0;
  font-size: 1.05rem;
}

.price-grid__list {
  margin-top: .35rem;
  color: var(--c-text-dim);
  font-size: .82rem;
  text-decoration: line-through;
}

.package-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.package-chips span {
  border: 1px solid var(--c-border-strong);
  background: var(--c-surface-2);
  padding: .2rem .55rem;
  font-size: .78rem;
  font-family: var(--f-mono);
  color: var(--c-text);
}

.inquiry-panel--compact {
  padding: 1rem 1.05rem 1.15rem;
}

.inquiry-panel--compact .eyebrow {
  margin-bottom: .35rem;
}

.inquiry-panel--compact .form-label {
  margin-bottom: .22rem;
  font-size: .66rem;
}

.inquiry-meta {
  color: var(--c-text-muted);
  font-size: .78rem;
  margin-bottom: .75rem;
}

.inquiry-stack {
  display: grid;
  gap: .65rem;
}

.inquiry-panel--compact .form-control {
  padding: .4rem .65rem;
  font-size: .85rem;
}

.inquiry-panel--compact textarea.form-control {
  min-height: 3.6rem;
}

@media (max-width: 575.98px) {
  .product-facts li {
    flex-direction: column;
    gap: .25rem;
  }

  .product-facts__k {
    min-width: 0;
    padding-top: 0;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .price-grid__cell:nth-child(odd) {
    border-right: 0;
  }

  .price-grid__cell:nth-last-child(2):nth-child(odd) {
    border-bottom: 1px solid var(--c-border);
  }

  .price-grid__cell:last-child {
    border-bottom: 0;
    grid-column: auto;
  }

  .spec-table--sheet td:first-child {
    width: 40%;
  }
}

/* ==========================================================================
   Marketing pages
   ========================================================================== */

.page-hero {
  padding-block: calc(var(--space-section) * .7) var(--space-section);
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}

.page-hero.section--grid {
  border-bottom-color: var(--c-border);
}

.page-hero .crumb {
  padding-top: 0;
}

.page-hero .hero-title {
  max-width: 22ch;
}

.page-hero .hero-lead {
  margin-bottom: 0;
}

.content-chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--f-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-text);
  border: 1px solid var(--c-border-strong);
  padding: .5rem .95rem;
}

.content-chip .bi {
  color: var(--c-brand);
}

.prose {
  max-width: 68ch;
}

.prose p {
  margin-bottom: 1.15rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.industry-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.industry-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 1rem 1.15rem;
  color: var(--c-text);
  font-family: var(--f-head);
  font-size: .82rem;
  letter-spacing: .04em;
  position: relative;
  transition:
    border-color var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}

.industry-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--c-brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--dur) var(--ease-out);
}

.industry-item:hover::before {
  transform: scaleY(1);
}

.industry-item:hover {
  border-color: var(--c-brand);
  transform: translateY(-2px);
}

.industry-item .bi {
  color: var(--c-brand);
  font-size: 1.15rem;
  transition: transform var(--dur) var(--ease-out);
}

.industry-item:hover .bi {
  transform: scale(1.15);
}

/* ==========================================================================
   Capability axis, inspection track, gallery, contact, progress
   ========================================================================== */

/* Capability path. Each step owns a numbered node. The rail is drawn
   from the edge of this node to the edge of the next, so the line and
   the numerals cannot drift apart or overlap. */
.axis {
  --axis-node: 2.75rem;
  --axis-line: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.axis__step {
  display: grid;
  grid-template-columns: var(--axis-node) minmax(0, 1fr);
  grid-template-rows: var(--axis-node) auto;
  column-gap: 1.15rem;
  row-gap: .2rem;
  position: relative;
  padding-bottom: 2rem;
}

.axis__step:last-child {
  padding-bottom: 0;
}

.axis__marker {
  grid-column: 1;
  grid-row: 1;
  width: var(--axis-node);
  height: var(--axis-node);
}

.axis__index {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--axis-node);
  height: var(--axis-node);
  box-sizing: border-box;
  background: var(--c-bg);
  border: 1px solid var(--c-brand);
  border-radius: var(--radius);
  color: var(--c-brand);
  font-family: var(--f-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  isolation: isolate;
  transition:
    background var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}

.axis__step:hover .axis__index {
  background: var(--c-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.axis__title {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: 1.05rem;
  margin: 0;
}

.axis__text {
  grid-column: 2;
  grid-row: 2;
  font-size: .88rem;
  color: var(--c-text-muted);
  margin: 0;
}

/* Grey track always present; brand stroke draws on top. The rail starts
   after this node and ends at the next, so it never crosses a numeral. */
.axis__step:not(:last-child)::before,
.axis__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(var(--axis-node) / 2);
  top: calc(var(--axis-node) + .4rem);
  bottom: .4rem;
  width: var(--axis-line);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.axis__step:not(:last-child)::before {
  background: var(--c-border);
}

.axis__step:not(:last-child)::after {
  background: var(--c-brand);
}

.js-reveal .axis[data-line] .axis__step:not(:last-child)::after {
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
}

.js-reveal .axis[data-line].is-in .axis__step:not(:last-child)::after {
  transform: translateX(-50%) scaleY(1);
  transition: transform .65s var(--ease-out) calc(var(--step-i, 0) * 140ms + 180ms);
}

@media (min-width: 992px) {
  .axis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .axis__step {
    display: block;
    padding: 0 1.6rem 0 0;
  }

  .axis__step:last-child {
    padding-right: 0;
  }

  .axis__marker {
    margin-bottom: 1.2rem;
  }

  .axis__title {
    margin-bottom: .5rem;
  }

  .axis__step:not(:last-child)::before,
  .axis__step:not(:last-child)::after {
    top: calc(var(--axis-node) / 2);
    left: calc(var(--axis-node) + .45rem);
    right: .45rem;
    bottom: auto;
    width: auto;
    height: var(--axis-line);
    transform: translateY(-50%);
  }

  .js-reveal .axis[data-line] .axis__step:not(:last-child)::after {
    transform: translateY(-50%) scaleX(0);
    transform-origin: left center;
  }

  .js-reveal .axis[data-line].is-in .axis__step:not(:last-child)::after {
    transform: translateY(-50%) scaleX(1);
  }
}

/* Three-tier inspection: markers sit on a shared rail, cards hang under them.
   The rail is centred on the node row so it cannot drift from the badges. */
.inspect-track {
  --inspect-node: 3.25rem;
  --inspect-gap: 1.75rem;
  position: relative;
}

.inspect-track__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.inspect-step {
  display: grid;
  grid-template-columns: var(--inspect-node) minmax(0, 1fr);
  column-gap: 1.25rem;
  row-gap: .15rem;
  align-items: start;
  position: relative;
  padding-bottom: 1.75rem;
}

.inspect-step:last-child {
  padding-bottom: 0;
}

.inspect-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(var(--inspect-node) / 2);
  top: var(--inspect-node);
  bottom: 0;
  width: 2px;
  background: var(--c-border);
  transform: translateX(-50%);
}

.inspect-step__node {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--inspect-node);
  height: var(--inspect-node);
  position: relative;
  z-index: 1;
}

.inspect-step__index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--inspect-node);
  height: var(--inspect-node);
  border-radius: 50%;
  border: 1px solid var(--c-border-strong);
  background: var(--c-surface);
  box-shadow: 0 0 0 8px var(--c-surface);
  font-family: var(--f-head);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-brand);
  font-variant-numeric: tabular-nums;
}

.inspect-step__card {
  padding: 1.35rem 1.4rem 1.45rem;
  background: var(--c-bg);
  height: 100%;
}

.inspect-step__stage {
  font-family: var(--f-head);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-brand);
  margin: 0 0 .55rem;
}

.inspect-step__card .feature-card__title {
  font-size: 1.05rem;
  margin-bottom: .55rem;
}

.inspect-step__card .feature-card__text {
  margin: 0;
}

.js-reveal .inspect-step[data-reveal] .inspect-step__index {
  transform: scale(.84);
}

.js-reveal .inspect-step[data-reveal].is-in .inspect-step__index {
  transform: none;
  transition: transform var(--dur-slow) var(--ease-out) calc(var(--reveal-delay, 0ms) + 80ms);
}

@media (min-width: 992px) {
  .inspect-track__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--inspect-gap);
    align-items: stretch;
  }

  .inspect-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
  }

  .inspect-step:not(:last-child)::before {
    display: none;
  }

  .inspect-step__node {
    margin-bottom: 1.6rem;
    flex: none;
  }

  .inspect-step__card {
    width: 100%;
    flex: 1;
    padding: 1.6rem 1.55rem 1.7rem;
    text-align: left;
  }

  /* Rail runs through the node centres: first column midpoint to last. */
  .inspect-track::before,
  .inspect-track[data-line]::after {
    content: "";
    position: absolute;
    top: calc(var(--inspect-node) / 2);
    left: calc((100% - 2 * var(--inspect-gap)) / 6);
    height: 2px;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .inspect-track::before {
    right: calc((100% - 2 * var(--inspect-gap)) / 6);
    background: var(--c-border);
  }

  .inspect-track[data-line]::after {
    width: calc(100% - (100% - 2 * var(--inspect-gap)) / 3);
    background: var(--c-brand);
  }

  .js-reveal .inspect-track[data-line]::after {
    width: 0;
  }

  .js-reveal .inspect-track[data-line].is-in::after {
    width: calc(100% - (100% - 2 * var(--inspect-gap)) / 3);
    transition: width 1s var(--ease-out) .15s;
  }
}

.hero-bullets {
  display: grid;
  gap: .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 62ch;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  color: var(--c-text-muted);
}

.hero-bullets .bi {
  color: var(--c-brand);
  margin-top: .2rem;
}

.card-surface--static:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--c-border);
}

.product-gallery__stage {
  overflow: hidden;
}

.product-gallery__stage img {
  transition: transform var(--dur-slow) var(--ease-out), opacity .2s var(--ease-out);
}

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

.product-gallery__stage img.is-swap {
  opacity: 0;
}

.product-gallery__thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--c-border);
  background: var(--c-surface-2);
  cursor: pointer;
  overflow: hidden;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

.product-gallery__thumb.is-on {
  border-color: var(--c-brand);
}

.stock-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  background: var(--c-brand-soft);
  border: 1px solid var(--c-brand);
  color: var(--c-text);
  font-variant-numeric: tabular-nums;
}

.stock-chip--wait {
  background: var(--c-surface-3);
  border-color: var(--c-border-strong);
  color: var(--c-text-dim);
}

.contact-points,
ul:has(> .contact-point) {
  padding-top: 2rem;
}

.contact-points {
  padding-top: 2rem;
}

.contact-point {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}

.contact-point__icon {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-brand);
  transition:
    border-color var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}

.contact-point:hover .contact-point__icon {
  border-color: var(--c-brand);
  transform: translateY(-2px);
}

.btn-text--nudge::after {
  animation: nudge 1.2s var(--ease-out) .8s 1;
}

@keyframes nudge {
  0%, 100% { transform: none; }
  40% { transform: translateX(4px); }
}

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--c-brand);
  z-index: 1040;
  pointer-events: none;
}
