/* ══════════════════════════════════════════════════════════════════════════
   BIKER PATCHES USA — SITE STYLES
   The Stitch "Stealth Razor" design, hand-written CSS with no build step.

   Structure
     1. Fonts            5. Buttons & effects     9. Estimator
     2. Tokens           6. Header               10. Catalog & evidence
     3. Base             7. Hero & spec card     11. Footer
     4. Primitives       8. Blueprint & bands    12. 404, motion

   Breakpoints (mobile-first, matching the original build)
     40rem / 640px   sm      48rem / 768px   md      64rem / 1024px   lg

   Colour contrast: body copy tones were chosen to pass WCAG AA on these
   grounds. Muted #a1a1aa is 7.2:1+ and faint #8a8a94 is 5.1:1+; the design's
   own neutral-500 failed at 3.4:1. #dc2626 is a FILL colour (4.9:1 behind
   white) — red TEXT on dark uses --red-text, which passes at 6.0:1+.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Fonts ─────────────────────────────────────────────────────────────
   Self-hosted variable fonts, Latin and Latin-Extended subsets only. No
   request to a third-party font CDN. */

@font-face {
  font-family: "Teko";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/teko-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Teko";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/teko-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/oswald-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/oswald-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Chivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/chivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Chivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/chivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
}

/* ── 2. Tokens ────────────────────────────────────────────────────────────
   The brand is dark by design, so this is a single theme. */

:root {
  color-scheme: dark;

  --dark: #070708;
  --section: #0a0b0e;
  --card: #101115;
  --control: #14151a;
  --control-active: #171717;
  --border: #262629;

  --red: #dc2626;
  --red-light: #ef4444;
  --red-dark: #991b1b;
  --red-text: #f16a6a;
  --gold: #e9c349;

  --ink: #ffffff;
  --ink-muted: #a1a1aa;
  --ink-faint: #8a8a94;

  --font-display: "Teko", "Oswald", Impact, sans-serif;
  --font-heading: "Oswald", Impact, sans-serif;
  --font-body: "Chivo", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ── 3. Base ──────────────────────────────────────────────────────────── */

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--dark);
  color: var(--ink);
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
ul, ol { list-style: none; }
img, svg { display: block; vertical-align: middle; }
button, input { font: inherit; letter-spacing: inherit; color: inherit; background-color: transparent; border-radius: 0; }
button { cursor: pointer; }
b, strong { font-weight: bolder; }

[hidden] { display: none !important; }

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

/* ── 4. Primitives ────────────────────────────────────────────────────── */

.wrap {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 40rem) { .wrap { padding-inline: 1.5rem; } }
@media (min-width: 64rem) { .wrap { padding-inline: 2rem; } }

/* Type voices. Teko is the display face — headlines, prices, big buttons.
   Oswald labels controls. Plex Mono is the micro-label voice that makes the
   design read as instrumentation. */
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.heading {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 600;
}
.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tone-red       { color: var(--red); }
.tone-red-text  { color: var(--red-text); }
.tone-red-light { color: var(--red-light); }
.tone-gold      { color: var(--gold); }
.tone-muted     { color: var(--ink-muted); }
.icon--red      { color: var(--red); }
.icon--red-text { color: var(--red-text); }
.icon--gold     { color: var(--gold); }

/* A 45° cut on opposite corners, so panels read as stamped plate. */
.chamfer {
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.chamfer-lg {
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.card {
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
  border-radius: 0.5rem;
}

/* Every clickable tile. Selected state is an inset ring rather than a thicker
   border, so choosing an option never shifts the layout by a pixel. */
.control {
  background: var(--control);
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.control:hover { border-color: #52525b; }
.control[aria-pressed="true"],
.control[data-selected="true"] {
  background: var(--control-active);
  border-color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red), 0 0 12px rgba(220, 38, 38, 0.3);
}

.dot {
  display: inline-block;
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
}
.dot--sm    { width: 0.375rem; height: 0.375rem; }
.dot--red   { background: var(--red); }
.dot--gold  { background: var(--gold); }
.dot--green { background: #34d399; }

.ping  { animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite; }
.pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  color: var(--red-text);
}

/* ── 5. Buttons & effects ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: 0.25rem;
}
.btn--primary {
  background: linear-gradient(to right, var(--red), #dc2626 55%, var(--red-dark));
  color: #fff;
  border: 1px solid rgba(248, 113, 113, 0.4);
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.5);
  transition: filter 0.2s ease, transform 0.12s ease;
}
.btn--primary:hover  { filter: brightness(1.1); }
.btn--primary:active { transform: scale(0.985); }
.btn--secondary      { color: var(--ink); }
.btn--lg { padding: 0.875rem 1.75rem; font-size: 1.5rem; }
.btn--sm { padding: 0.5rem 1.25rem; font-size: 1.125rem; gap: 0.5rem; }

/* A specular band that sweeps across the primary buttons every 4s. */
.laser { position: relative; overflow: hidden; }
.laser::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: rotate(25deg);
  animation: sweep 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

/* Registration marks on two corners of the hero card. */
.crosshair { position: relative; }
.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
}
.crosshair::before { top: -6px; left: -6px; border-top: 2px solid var(--red); border-left: 2px solid var(--red); }
.crosshair::after  { right: -6px; bottom: -6px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); }

/* ── 6. Header ────────────────────────────────────────────────────────── */

.announce {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid color-mix(in srgb, var(--red) 20%, transparent);
  background: #050506;
  padding: 0.375rem 1rem;
}
@media (min-width: 40rem) { .announce { padding-inline: 2rem; } }

.announce__inner {
  max-width: 80rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 11px;
}
@media (min-width: 48rem) { .announce__inner { flex-direction: row; } }

.announce__lead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  text-align: center;
}
@media (min-width: 48rem) { .announce__lead { justify-content: flex-start; text-align: left; } }

.announce__title { font-weight: 700; color: var(--gold); }
.announce__sep   { color: var(--ink-faint); }
.announce__specs { color: var(--ink-muted); }
.announce__side  { display: flex; flex-shrink: 0; align-items: center; gap: 1.5rem; }
.announce__phone {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--ink-muted);
  transition: color 0.15s;
}
.announce__phone:hover { color: var(--red-text); }
.announce__phone span  { font-weight: 700; color: var(--ink); }
.announce__badge { display: flex; align-items: center; gap: 0.25rem; font-weight: 600; color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid color-mix(in srgb, var(--red) 28%, transparent);
  background: rgb(11 11 14 / 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.site-header__inner {
  max-width: 80rem;
  margin-inline: auto;
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}
@media (min-width: 40rem) { .site-header__inner { padding-inline: 1.5rem; } }
@media (min-width: 64rem) { .site-header__inner { padding-inline: 2rem; } }

/* Brand lockup. On a 375px phone the lockup and actions need more room than
   exists, so the emblem holds its size, the name shrinks and truncates, and
   the tagline waits for the sm breakpoint. */
.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.625rem;
  margin-right: 0.75rem;
}
@media (min-width: 40rem) { .brand { gap: 0.875rem; } }
@media (min-width: 64rem) { .brand { margin-right: 2rem; } }

.brand__frame {
  flex-shrink: 0;
  border-radius: 0.25rem;
  border: 1px solid color-mix(in srgb, var(--red) 55%, transparent);
  background: linear-gradient(to bottom right, color-mix(in srgb, var(--red) 40%, transparent), #18181b, #450a0a);
  padding: 2px;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.25);
  transition: border-color 0.15s;
}
.brand:hover .brand__frame { border-color: var(--red); }
.brand__mark     { width: 2.75rem; height: 2.75rem; border-radius: 0.25rem; }
.brand__mark--sm { width: 2.5rem; height: 2.5rem; }
.brand__text     { min-width: 0; line-height: 1; }
.brand__name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.25rem;
  color: var(--ink);
  transition: color 0.15s;
}
@media (min-width: 40rem) { .brand__name { font-size: 1.875rem; } }
.brand:hover .brand__name { color: var(--red-text); }
.brand__tagline {
  margin-top: -0.25rem;
  display: none;
  align-items: center;
  gap: 0.375rem;
  font-size: 10px;
  font-weight: 700;
  color: var(--red-text);
}
@media (min-width: 40rem) { .brand__tagline { display: flex; } }

.site-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-muted);
}
@media (min-width: 64rem) { .site-nav { display: flex; } }
.site-nav__link { transition: color 0.15s; }
.site-nav__link:hover { color: var(--red-text); }
.site-nav__link.is-active {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-bottom: 2px solid var(--red);
  padding-bottom: 0.25rem;
  color: var(--ink);
}
.site-nav__square { font-size: 10px; color: var(--red); }

.resources { position: relative; }
.resources__toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding-block: 0.5rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.15s;
}
.resources__toggle:hover { color: var(--red-text); }
.resources__chevron { color: var(--ink-faint); transition: transform 0.2s; }
.resources__toggle[aria-expanded="true"] .resources__chevron { transform: rotate(180deg); }
.resources__menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  width: 14rem;
  border-radius: 0.25rem;
  border: 1px solid color-mix(in srgb, var(--red) 28%, transparent);
  background: #0a0a0d;
  padding: 0.5rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.resources__label {
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
  padding: 0.25rem 0.75rem;
  font-size: 9px;
  color: var(--ink-faint);
}
.resources__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-radius: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 11px;
  color: var(--ink-muted);
  transition: color 0.15s, background-color 0.15s;
}
.resources__item:hover { background: #18181b; color: var(--ink); }
.resources__tag { font-size: 9px; font-weight: 700; color: var(--red-text); }

.header-actions {
  margin-left: 0.5rem;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 40rem) { .header-actions { margin-left: 1rem; gap: 0.875rem; } }

.header-bag {
  display: none;
  padding: 0.625rem;
  color: var(--ink-muted);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.15s;
}
@media (min-width: 40rem) { .header-bag { display: inline-flex; } }
.header-bag:hover { color: var(--ink); }

.header-cta {
  display: flex;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  font-size: 1.125rem;
}
@media (min-width: 40rem) { .header-cta { padding: 0.625rem 1.25rem; font-size: 1.25rem; } }
.header-cta__long { display: none; }
@media (min-width: 40rem) {
  .header-cta__long  { display: inline; }
  .header-cta__short { display: none; }
}

/* ── 7. Hero & spec card ──────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid color-mix(in srgb, var(--red) 18%, transparent);
}
.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 72% 8%, rgba(220, 38, 38, 0.2), transparent 60%);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem;
  padding-block: 3.5rem;
}
@media (min-width: 64rem) {
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); padding-block: 4rem; }
  .hero__copy { grid-column: span 7 / span 7; }
  .hero__card { grid-column: span 5 / span 5; }
}

.hero__eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid var(--border);
  padding: 0.375rem 0.75rem;
  font-size: 10px;
  color: var(--ink-muted);
}
.hero__eyebrow-sep { color: var(--border); }

/* Sized so "Forged in thread." holds one line at the 7-column width. */
.hero__title { margin-top: 1.25rem; font-size: 3rem; color: var(--ink); }
@media (min-width: 40rem) { .hero__title { font-size: 3.75rem; } }
@media (min-width: 64rem) { .hero__title { font-size: 4.5rem; } }

.hero__lede {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.75rem;
  color: var(--ink-muted);
}
.hero__ctas { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 40rem) { .hero__ctas { flex-direction: row; } }

.stats {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 40rem) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat        { padding: 0.75rem 0.875rem; }
.stat__value { font-size: 1.875rem; }
.stat__label { margin-top: 0.25rem; font-size: 9px; line-height: 1.25; color: var(--ink-muted); }

.spec-card {
  border-radius: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--red) 40%, transparent);
  background: #0a0a0a;
  padding: 0.875rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
.spec-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 0.25rem;
  border: 1px solid var(--border);
  background: #18181b;
}
.spec-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.25rem;
  border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent);
  background: rgb(0 0 0 / 0.9);
  padding: 0.25rem 0.75rem;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.spec-card__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0.5rem 0;
}
.spec-card__kicker { font-size: 10px; color: var(--ink-muted); }
.spec-card__title  { margin-top: 0.125rem; font-size: 1.5rem; color: var(--ink); }
.spec-card__note   { margin-top: 0.125rem; font-size: 10px; color: var(--ink-muted); }
.spec-card__link {
  flex-shrink: 0;
  text-align: right;
  font-size: 10px;
  color: var(--ink-muted);
  transition: color 0.15s;
}
.spec-card__link:hover   { color: var(--gold); }
.spec-card__link span    { display: block; }
.spec-card__link svg     { margin-left: auto; margin-top: 0.25rem; }

/* ── 8. Blueprint & bands ─────────────────────────────────────────────── */

.blueprint {
  position: relative;
  display: flex;
  height: 16rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.25rem;
  border: 1px solid color-mix(in srgb, var(--red) 35%, transparent);
  background-color: #0a0a0a;
  background-image: radial-gradient(rgba(220, 38, 38, 0.18) 1px, transparent 1px);
  background-size: 14px 14px;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.8);
}
.blueprint--hero { height: 20rem; border-radius: 0; border: 0; }
@media (min-width: 40rem) { .blueprint--hero { height: 24rem; } }

.blueprint__scan {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 20;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--red-light), transparent);
  box-shadow: 0 0 12px #ef4444;
  animation: scan 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}
.blueprint__cut {
  position: relative;
  display: flex;
  height: 13rem;
  width: 12rem;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: 1.5rem 1.5rem 0 0;
  border: 1px solid rgb(82 82 91 / 0.8);
  background: rgb(24 24 27 / 0.9);
  padding: 0.875rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
.blueprint__rocker {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid var(--red);
  background: color-mix(in srgb, var(--red) 15%, transparent);
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.6);
  transition: opacity 0.15s;
}
.blueprint__rocker--top    { height: 1.75rem; width: 9rem; }
.blueprint__rocker--bottom { height: 1.5rem; width: 8rem; }
.blueprint__rocker span    { font-size: 8px; font-weight: 700; color: #fca5a5; }
.blueprint__crest {
  display: flex;
  height: 5rem;
  width: 5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid var(--gold);
  background: color-mix(in srgb, var(--gold) 15%, transparent);
  box-shadow: 0 0 10px rgba(233, 195, 73, 0.5);
  transition: opacity 0.15s;
}
.blueprint__crest span { font-size: 9px; font-weight: 700; color: #fcd34d; }
.is-dimmed { opacity: 0.2; }
.blueprint__cube {
  position: absolute;
  top: 6rem;
  right: 0.75rem;
  display: flex;
  height: 1.25rem;
  width: 1.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  background: #0a0a0a;
  font-size: 7px;
  font-weight: 700;
  color: var(--gold);
}
.blueprint__verified {
  position: absolute;
  bottom: 0.625rem;
  left: 0.75rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.25rem;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  background: rgb(0 0 0 / 0.9);
  padding: 0.25rem 0.625rem;
  font-size: 9px;
  color: var(--gold);
}
.blueprint__dim {
  position: absolute;
  top: 0.625rem;
  right: 0.75rem;
  z-index: 10;
  font-size: 9px;
  color: var(--ink-faint);
}

.band {
  scroll-margin-top: 1rem;
  padding-block: 4rem;
  border-bottom: 1px solid color-mix(in srgb, var(--red) 18%, transparent);
}
.band--estimator { background: var(--section); }
.band--catalog   { background: #08080a; }
.band--evidence  { background: #0a0a0d; border-bottom: 0; }

.band__head--split {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
}
@media (min-width: 64rem) { .band__head--split { flex-direction: row; align-items: flex-end; } }

.band__title { margin-top: 0.25rem; font-size: 2.25rem; color: var(--ink); }
@media (min-width: 40rem) { .band__title { font-size: 3.75rem; } }
.band__lede {
  margin-top: 0.375rem;
  max-width: 42rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: var(--ink-muted);
}
.band__aside {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  font-size: 11px;
  color: var(--ink-muted);
}
.band__aside-key { font-weight: 700; color: var(--gold); }

/* ── 9. Estimator ─────────────────────────────────────────────────────── */

.estimator {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}
@media (min-width: 64rem) {
  .estimator        { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .estimator__steps { grid-column: span 7 / span 7; }
  .estimator__rail  { grid-column: span 5 / span 5; }
}
.estimator__steps { display: flex; flex-direction: column; gap: 1rem; }
.estimator__pair  { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 48rem) { .estimator__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.step { padding: 1.25rem; }
.step__head {
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.step__title {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.step__num { color: var(--red-text); }
.step__readout {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 600;
  color: var(--gold);
}
.step__note { margin-top: 0.625rem; font-size: 9px; line-height: 1.625; color: var(--ink-faint); }
.step__min  { margin-top: 0.75rem; font-size: 10px; color: var(--gold); }

.grid-styles,
.grid-presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.grid-qty {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 40rem) {
  .grid-styles,
  .grid-presets { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-qty     { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.stack { display: flex; flex-direction: column; gap: 0.625rem; }

.choice--style {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.875rem;
  text-align: center;
}
.choice__icon { margin-bottom: 0.375rem; }
.choice--style[aria-pressed="true"] .choice__icon { color: var(--red); }

.choice__label        { display: block; font-size: 11px; letter-spacing: 0.08em; color: var(--ink); }
.choice__label--tight { letter-spacing: 0.06em; }
.choice__sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 9px;
  line-height: 1.25;
  color: var(--ink-faint);
}
.choice__sub--nowrap { margin-top: 0; line-height: inherit; white-space: nowrap; }

.choice--preset { position: relative; padding: 0.75rem; text-align: center; }
.choice__marker {
  display: none;
  position: absolute;
  top: 0.375rem;
  right: 0.375rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--gold);
}
.choice--preset[aria-pressed="true"] .choice__marker { display: block; }

.choice--row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem;
  text-align: left;
}
label.choice--row { cursor: pointer; }
.choice__row-left { display: flex; align-items: center; gap: 0.625rem; }
.choice__radio {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  accent-color: var(--red);
}
.choice__fee        { font-size: 10px; white-space: nowrap; color: var(--ink-faint); }
.choice__fee.is-fee { color: var(--gold); }

.choice--qty { padding: 0.75rem; text-align: center; }
.choice__qty { display: block; font-size: 1.5rem; color: var(--ink); }
.choice--qty .choice__sub { margin-top: 0.125rem; }

.rail { padding: 1.25rem; }
@media (min-width: 64rem) { .rail { position: sticky; top: 1.25rem; } }

.rail__body {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.rail__totals {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.rail__label    { display: block; font-size: 10px; color: var(--ink-muted); }
.rail__total    { margin-top: 0.125rem; font-size: 3rem; color: var(--ink); }
@media (min-width: 40rem) { .rail__total { font-size: 3.75rem; } }
.rail__currency { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; color: var(--ink-muted); }
.rail__unit-wrap { flex-shrink: 0; text-align: right; }
.rail__unit     { font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; color: var(--gold); }
.rail__pcs      { margin-top: 0.125rem; font-size: 9px; color: var(--ink-muted); }

.rail__lines { display: flex; flex-direction: column; gap: 0.375rem; font-size: 10px; }
.rail__line  { display: flex; justify-content: space-between; gap: 0.75rem; }
.rail__line dt { color: var(--ink-muted); }
.rail__line dd { color: var(--ink); }
.rail__line--gold dt,
.rail__line--gold dd { color: var(--gold); }

.rail__lead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  font-size: 10px;
  color: var(--ink-muted);
}
.rail__lead-left  { display: flex; align-items: center; gap: 0.5rem; }
.rail__lead-right { font-weight: 700; color: var(--ink); }
.rail__noscript   { font-size: 10px; color: var(--gold); }

/* The order buttons keep the site's original fill red (#d42027): white on it
   is 5.2:1, where white on the brand #dc2626 is 4.9:1. */
.order-cta { display: flex; flex-direction: column; gap: 0.5rem; }
.order-cta__primary,
.order-cta__secondary {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}
.order-cta__primary {
  background: #d42027;
  padding: 0.875rem 1.25rem;
  color: #fff;
  transition: background-color 0.15s;
}
.order-cta__primary:hover { background: #f5333b; }
.order-cta__secondary {
  border: 1px solid #3d3d45;
  padding: 0.75rem 1.25rem;
  color: #f5f5f4;
  transition: border-color 0.15s;
}
.order-cta__secondary:hover { border-color: #f5f5f4; }
.order-cta__note { text-align: center; font-size: 11px; color: #86868e; }

/* ── 10. Catalog & evidence ───────────────────────────────────────────── */

.catalog { margin-top: 2.5rem; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.catalog__card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  transition: border-color 0.15s;
}
.catalog__card:hover { border-color: color-mix(in srgb, var(--red) 60%, transparent); }
.catalog__badge { font-size: 9px; font-weight: 700; color: var(--gold); }
.catalog__title { margin-top: 0.625rem; font-size: 1.5rem; color: var(--ink); transition: color 0.15s; }
.catalog__card:hover .catalog__title { color: var(--red-text); }
.catalog__body  { margin-top: 0.5rem; flex: 1; font-size: 13px; line-height: 1.5rem; color: var(--ink-muted); }
.catalog__cta {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 10px;
  color: var(--red-text);
}
.catalog__arrow { transition: transform 0.15s; }
.catalog__card:hover .catalog__arrow { transform: translateX(0.25rem); }

.evidence {
  margin-top: 2.5rem;
  display: grid;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}
@media (min-width: 64rem) { .evidence { grid-template-columns: 1.3fr 0.7fr; padding: 2.5rem; } }
.evidence__text { max-width: 36rem; font-size: 15px; line-height: 1.75rem; color: var(--ink-muted); }
.evidence__list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.625rem; }
.evidence__list li  { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 13px; color: var(--ink); }
.evidence__list svg { margin-top: 0.125rem; flex-shrink: 0; }
.evidence__link {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 11px;
  color: var(--ink);
}
.evidence__mark { display: flex; align-items: center; justify-content: center; color: var(--border); }

/* Review marquee — renders only once $reviews in index.php has real entries.
   The track holds the quotes twice, so -50% lands on the duplicate. */
.marquee-host { margin-top: 2.5rem; overflow: hidden; }
.marquee {
  display: flex;
  width: max-content;
  animation: scroll 56s linear infinite;
}
.marquee-host:hover .marquee { animation-play-state: paused; }
.marquee__track { display: flex; flex-shrink: 0; }
.review { margin-inline: 0.5rem; width: 340px; flex-shrink: 0; padding: 1.5rem; }
.review blockquote { font-size: 14px; line-height: 1.75rem; color: var(--ink); }
.review figcaption { margin-top: 1.25rem; font-size: 10px; color: var(--ink-faint); }

.closer {
  margin: 4rem auto 0;
  max-width: 48rem;
  padding-inline: 1rem;
  text-align: center;
}
@media (min-width: 40rem) { .closer { padding-inline: 1.5rem; } }
.closer__title { font-size: 3rem; color: var(--ink); }
@media (min-width: 40rem) { .closer__title { font-size: 3.75rem; } }
.closer__ctas {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
@media (min-width: 40rem) { .closer__ctas { flex-direction: row; } }

/* ── 11. Footer ───────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--red) 20%, transparent);
  background: #050507;
  padding-block: 3.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--ink-muted);
}
.site-footer__inner {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 40rem) { .site-footer__inner { padding-inline: 1.5rem; } }
@media (min-width: 64rem) { .site-footer__inner { padding-inline: 2rem; } }

.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 48rem) {
  .site-footer__grid     { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .site-footer__brand,
  .site-footer__bulletin { grid-column: span 4 / span 4; }
  .site-footer__col      { grid-column: span 2 / span 2; }
}

.site-footer__brand   { display: flex; flex-direction: column; gap: 1rem; }
.site-footer__lockup  { display: flex; align-items: center; gap: 0.875rem; }
.site-footer .brand__frame {
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}
.site-footer__names   { line-height: 1; }
.site-footer__name    { display: block; font-size: 1.875rem; color: var(--ink); }
.site-footer__domain  { display: block; font-size: 9px; font-weight: 700; color: var(--red-text); }
.site-footer__about   { font-size: 0.75rem; line-height: 1.625; color: var(--ink-muted); }
.site-footer__brand .site-footer__about { padding-right: 1rem; }

.site-footer__dispatch { font-size: 11px; color: var(--ink-muted); }
.site-footer__dispatch a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  color: var(--gold);
  transition: color 0.15s;
}
.site-footer__dispatch a:hover { color: var(--ink); }

.site-footer__col { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__heading { font-size: 1.25rem; color: var(--ink); }
.site-footer__col .site-footer__heading { margin-bottom: 0.5rem; }
.site-footer__list { display: flex; flex-direction: column; gap: 0.375rem; font-size: 11px; }
.site-footer__list a { transition: color 0.15s; }
.site-footer__list a:hover { color: var(--red-text); }

.site-footer__bulletin { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.site-footer__fine { font-size: 10px; color: var(--ink-faint); }

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  font-size: 10px;
  color: var(--ink-faint);
}
@media (min-width: 48rem) { .site-footer__bottom { flex-direction: row; } }
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.75rem;
}
.site-footer__legal a { text-decoration: underline; transition: color 0.15s; }
.site-footer__legal a:hover { color: var(--ink); }

/* ── 12. 404, motion ──────────────────────────────────────────────────── */

.notfound {
  max-width: 48rem;
  margin-inline: auto;
  padding: 6rem 1.25rem;
  text-align: center;
}
.notfound__kicker { font-size: 11px; color: var(--red-text); }
.notfound__title  { margin-top: 0.75rem; font-size: 3rem; color: var(--ink); }
@media (min-width: 40rem) { .notfound__title { font-size: 3.75rem; } }
.notfound__text {
  margin: 1rem auto 0;
  max-width: 28rem;
  font-size: 15px;
  line-height: 1.75rem;
  color: var(--ink-muted);
}
.notfound__ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
@media (min-width: 40rem) { .notfound__ctas { flex-direction: row; } }

/* ── 13. Order pages ──────────────────────────────────────────────────────
   The order form and a customer's order page. Same plate-and-instrument
   vocabulary as the estimator: numbered step cards on the left, the price
   rail on the right, so the customer never loses sight of the total. */

.order {
  min-height: 60vh;
  padding-block: 3rem 5rem;
  background: var(--section);
}
.order__head {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
}
.order__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}
@media (min-width: 64rem) {
  .order__grid  { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .order__form  { grid-column: span 7 / span 7; }
  .order__aside { grid-column: span 5 / span 5; }
}
.order__form { display: flex; flex-direction: column; gap: 1rem; }

/* On a phone the total comes FIRST: nobody should fill in a form before seeing
   what it costs. The blueprint is dropped there to keep the summary short. */
@media (max-width: 63.999rem) {
  .order__aside { order: -1; }
  .order__aside .blueprint { display: none; }
  .order__aside .rail__body { margin-top: 0; border-top: 0; padding-top: 0; }
}

.step__lede {
  margin-bottom: 0.875rem;
  font-size: 0.8125rem;
  line-height: 1.375rem;
  color: var(--ink-muted);
}

.fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.875rem;
}
.fields + .fields { margin-top: 0.875rem; }
@media (min-width: 40rem) {
  .fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields--3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
}
.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field__label { font-size: 10px; font-weight: 700; color: var(--ink-muted); }
.field__label .req { color: var(--red-text); }
.field__hint  { font-size: 12px; color: var(--ink-faint); }
.field__error { font-size: 12px; line-height: 1.4; color: var(--red-text); }

/* 16px keeps iOS from zooming the page when a field takes focus. */
.input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  background: var(--control);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5rem;
  transition: border-color 0.2s ease;
}
.input:hover { border-color: #52525b; }
.input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.input[aria-invalid="true"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.input::placeholder { color: #6b6b75; }
textarea.input { min-height: 7.5rem; resize: vertical; }

.upload { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.75rem; }
.upload__size { margin-left: 0.375rem; font-weight: 400; color: var(--ink-faint); }
.upload__file { font-size: 0.8125rem; color: var(--ink-muted); max-width: 100%; }
.upload__file::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid #3d3d45;
  border-radius: 0.25rem;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s;
}
.upload__file::file-selector-button:hover { border-color: #f5f5f4; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: var(--ink-muted);
  cursor: pointer;
}
.consent input {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.1875rem;
  accent-color: var(--red);
}

.order__submit { width: 100%; }
.order__fine   { text-align: center; font-size: 10px; line-height: 1.6; color: var(--ink-faint); }
.order__fine a { color: var(--ink-muted); text-decoration: underline; text-underline-offset: 2px; }
.order__change {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 10px;
  color: var(--ink-muted);
  transition: color 0.15s;
}
.order__change:hover { color: var(--ink); }

/* Banners above the form: gold for "look again", red for "fix this". */
.notice {
  margin-bottom: 1.5rem;
  padding: 0.875rem 1rem;
  border: 1px solid;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
}
.notice--gold { border-color: color-mix(in srgb, var(--gold) 50%, transparent); background: color-mix(in srgb, var(--gold) 8%, transparent); color: #f3dc8f; }
.notice--red  { border-color: color-mix(in srgb, var(--red) 60%, transparent);  background: color-mix(in srgb, var(--red) 10%, transparent);  color: #fca5a5; }
.notice__title { margin-bottom: 0.25rem; font-size: 11px; font-weight: 700; }
.notice ul { padding-left: 1.125rem; list-style: disc; }
.notice__hint { margin-top: 0.5rem; font-size: 12px; opacity: 0.85; }

/* The honeypot: present for bots, absent for people and screen readers. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary { display: flex; flex-direction: column; gap: 0.375rem; font-size: 10px; }
.summary__row { display: flex; justify-content: space-between; gap: 1rem; }
.summary__row dt { flex-shrink: 0; color: var(--ink-muted); }
.summary__row dd { text-align: right; color: var(--ink); }

.qty-form { display: flex; flex-direction: column; gap: 0.375rem; }
.qty-form__row { display: flex; gap: 0.5rem; }
.qty-form__row .input { flex: 1 1 auto; min-width: 0; }
.qty-form__button { flex-shrink: 0; padding: 0 0.875rem; font-size: 10px; font-weight: 700; color: var(--ink); }

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

.ordered { padding: 0.75rem; }
.ordered__head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.ordered__money { font-size: 0.875rem; font-weight: 700; color: var(--gold); }
.ordered__component { margin-top: 0.25rem; font-size: 9px; color: var(--ink-faint); }

/* The pay page: one narrow column, the amount, and PayPal's buttons. */
.wrap--narrow { max-width: 40rem; }
.pay { display: flex; flex-direction: column; gap: 1.25rem; }
.pay__box { display: flex; flex-direction: column; gap: 0.75rem; }
/* PayPal draws its buttons for a light page; a light plate keeps them legible. */
.pay__buttons { min-height: 3rem; padding: 1rem; border-radius: 0.5rem; background: #f5f5f4; }
.pay__fake { width: 100%; }
.pay__status { padding: 0.625rem 0.75rem; border: 1px solid var(--border); border-radius: 0.25rem; font-size: 11px; line-height: 1.5; color: var(--ink-muted); }
.pay__status[data-tone="good"] { border-color: color-mix(in srgb, var(--gold) 50%, transparent); color: var(--gold); }
.pay__status[data-tone="bad"]  { border-color: color-mix(in srgb, var(--red) 60%, transparent); color: #fca5a5; }
.pay__note { font-size: 0.875rem; line-height: 1.5rem; color: var(--ink-muted); }
.pay__note a, .order__head .band__lede a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* ── The order page after ordering: progress, proofs, messages, parcels ── */

.notice__link { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.stack--lg { gap: 1.25rem; }

/* Five steps. A column on a phone, a row from 40rem. The mark is a square
   because everything else on this site is chamfered metal, not a pill. */
.track { display: grid; gap: 0.625rem; margin-bottom: 1.125rem; padding-bottom: 1.125rem; border-bottom: 1px solid var(--border); font-size: 10px; }
.track__step { display: grid; grid-template-columns: 0.75rem minmax(0, 1fr) auto; align-items: center; gap: 0.625rem; color: var(--ink-faint); }
.track__mark { width: 0.625rem; height: 0.625rem; border: 1px solid #3d3d45; background: transparent; transform: rotate(45deg); }
.track__step--done { color: var(--ink-muted); }
.track__step--done .track__mark { border-color: var(--gold); background: var(--gold); }
.track__step--current { color: var(--ink); font-weight: 700; }
.track__step--current .track__mark { border-color: var(--red); background: var(--red); box-shadow: 0 0 10px rgba(220, 38, 38, 0.7); }
.track__date { color: var(--ink-faint); font-weight: 400; }
@media (min-width: 40rem) {
  .track { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; }
  .track__step { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 0.375rem; padding-top: 0.625rem; border-top: 2px solid var(--border); }
  .track__step--done { border-top-color: color-mix(in srgb, var(--gold) 60%, transparent); }
  .track__step--current { border-top-color: var(--red); }
  .track__mark { display: none; }
}

/* Words a person wrote: ours to the customer, or theirs to us. */
.update { margin-top: 0.875rem; padding: 0.75rem 0.875rem; border-left: 2px solid var(--gold); background: var(--control); }
.update__meta { margin-bottom: 0.25rem; font-size: 9px; color: var(--ink-faint); }
.update__body { font-size: 0.875rem; line-height: 1.5rem; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }

.tag { flex-shrink: 0; padding: 0.125rem 0.5rem; border: 1px solid var(--border); border-radius: 0.125rem; font-size: 9px; font-weight: 700; color: var(--ink-muted); }
.tag--sent { border-color: color-mix(in srgb, var(--red) 60%, transparent); color: #fca5a5; }
.tag--approved { border-color: color-mix(in srgb, var(--gold) 50%, transparent); color: var(--gold); }
.tag--changes_requested { color: var(--ink); }

.ordered--link { display: block; transition: border-color 0.15s; }
.ordered--link:hover { border-color: #52525b; }
.ordered__link { margin-top: 0.5rem; font-size: 10px; }
.ordered__link a { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--red-text); }

.thread { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1rem; }
.thread__msg { max-width: 92%; padding: 0.625rem 0.75rem; border: 1px solid var(--border); border-radius: 0.25rem; background: var(--control); }
.thread__msg--you { align-self: flex-end; border-color: #3d3d45; }
.thread__msg--shop { align-self: flex-start; border-left: 2px solid var(--gold); }
.thread__meta { margin-bottom: 0.25rem; font-size: 9px; color: var(--ink-faint); }
.thread__body { font-size: 0.875rem; line-height: 1.5rem; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.thread__form { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.75rem; }
.thread__send { align-self: flex-start; }

/* The proof is drawn on white, so it sits on a white plate. */
.proof { display: flex; flex-direction: column; gap: 0.875rem; }
.proof .step__head { margin-bottom: 0; }
.proof__image { display: block; padding: 0.5rem; border-radius: 0.25rem; background: #fff; }
.proof__image img { display: block; width: 100%; height: auto; }
.proof__download { align-self: flex-start; }
.proof__form { display: flex; flex-direction: column; gap: 0.75rem; }
.proof__changes summary, .proof__earlier summary { cursor: pointer; font-size: 10px; font-weight: 700; color: var(--ink-muted); }
.proof__changes summary:hover, .proof__earlier summary:hover { color: var(--ink); }
.proof__changes form { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; margin-top: 0.75rem; }
.proof__changes .field { width: 100%; }
.proof__earlier { margin-top: 1.25rem; }
.proof__earlier ul { margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.375rem; font-size: 10px; color: var(--ink-faint); }
.proof__earlier a { color: var(--ink-muted); text-decoration: underline; text-underline-offset: 2px; }

.next { display: flex; flex-direction: column; gap: 0.625rem; font-size: 11px; line-height: 1.5; color: var(--ink-muted); }
.next li { display: flex; align-items: baseline; gap: 0.625rem; }
.next__n { flex-shrink: 0; font-weight: 700; color: var(--red-text); }

@keyframes sweep {
  0%        { left: -70%; opacity: 0; }
  20%       { opacity: 1; }
  40%, 100% { left: 140%; opacity: 0; }
}
@keyframes scan {
  0%   { top: -4%; opacity: 0.15; }
  50%  { opacity: 0.9; }
  100% { top: 104%; opacity: 0.15; }
}
@keyframes ping {
  0%        { transform: scale(1); opacity: 1; }
  75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── 14. Content pages ────────────────────────────────────────────────────
   /patches, a material, how it works, questions, contact, gallery, reviews and
   the pages the owner writes. Same plate-and-instrument vocabulary; the only
   new voice is .prose, for long text a person actually has to read. */

.page {
  min-height: 60vh;
  padding-block: 3rem 5rem;
  background: var(--section);
}
.wrap--narrow { max-width: 52rem; }

.page__head {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
}
.page__head .band__title { margin-top: 0.75rem; }
.page__lede {
  margin-top: 1rem;
  max-width: 44rem;
  font-size: 1.0625rem;
  line-height: 1.75rem;
  color: var(--ink-muted);
}
.page__section { margin-top: 3.5rem; scroll-margin-top: 6rem; }
.page__h2 { font-size: 2.25rem; color: var(--ink); }
@media (min-width: 40rem) { .page__h2 { font-size: 2.75rem; } }
.page__text {
  margin-top: 0.75rem;
  max-width: 46rem;
  font-size: 15px;
  line-height: 1.75rem;
  color: var(--ink-muted);
}
.page__text a,
.prose a { color: var(--red-text); text-decoration: underline; text-underline-offset: 3px; }
.page__text a:hover,
.prose a:hover { color: var(--ink); }
.page__fine { margin-top: 1.25rem; font-size: 10px; line-height: 1.6; color: var(--ink-faint); }
.page-cta__text { margin-inline: auto; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 1rem; font-size: 10px; color: var(--ink-faint); }
.crumbs li + li::before { content: "/"; margin-right: 0.375rem; color: var(--border); }
.crumbs a:hover { color: var(--ink); }

/* Facts about a material: a definition list that reads as an instrument panel. */
.facts { margin-top: 1rem; display: grid; gap: 0.5rem; font-size: 10px; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); padding-top: 0.5rem; }
.facts dt { color: var(--ink-faint); }
.facts dd { text-align: right; color: var(--ink); text-transform: none; letter-spacing: 0; }
.facts--row { grid-template-columns: repeat(1, minmax(0, 1fr)); font-size: 11px; }
@media (min-width: 40rem) { .facts--row { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
@media (min-width: 64rem) { .facts--row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts--row div { flex-direction: column; gap: 0.25rem; }
.facts--row dd { text-align: left; font-size: 14px; font-family: var(--font-body); }

.band__more { margin-top: 1.5rem; font-size: 11px; }
.band__more a { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--red-text); }
.band__more a:hover { color: var(--ink); }

.catalog--materials { margin-top: 0; }
@media (min-width: 64rem) { .catalog--materials { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.catalog--materials .catalog__body { flex: 0 1 auto; }
.catalog--materials .catalog__cta { margin-top: auto; padding-top: 1.25rem; }
.catalog--presets { margin-top: 1.5rem; }

/* The price table scrolls sideways inside its own box on a phone, so the page
   itself never does. */
.pricetable-host { margin-top: 1.5rem; overflow-x: auto; border: 1px solid var(--border); border-radius: 0.5rem; background: var(--card); }
.pricetable { width: 100%; min-width: 38rem; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.pricetable th,
.pricetable td { padding: 0.875rem 1rem; text-align: right; border-top: 1px solid var(--border); white-space: nowrap; }
.pricetable thead th { border-top: 0; font-size: 10px; color: var(--ink-faint); }
.pricetable th:first-child { text-align: left; }
.pricetable tbody th { color: var(--ink); font-weight: 500; }
.pricetable td { color: var(--gold); }
.pricetable__sub { display: block; margin-top: 0.125rem; font-size: 10px; color: var(--ink-faint); text-transform: none; letter-spacing: 0; }
.pricetable__min { color: var(--ink-faint) !important; }

.options { margin-top: 1.5rem; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.options__group { padding: 1.25rem; }
.options__title { font-size: 1rem; color: var(--ink); }
.options__optional { margin-left: 0.5rem; font-size: 9px; color: var(--ink-faint); }
.options__list { margin-top: 0.75rem; display: grid; gap: 0.625rem; }
.options__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; border-top: 1px solid var(--border); padding-top: 0.625rem; font-size: 14px; }
.options__name { color: var(--ink); }
.options__effect { font-size: 10px; color: var(--gold); text-align: right; }
.options__help { grid-column: 1 / -1; margin-top: 0.25rem; font-size: 13px; line-height: 1.4; color: var(--ink-muted); }

.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; font-size: 11px; }
.pills a { display: inline-block; padding: 0.5rem 0.875rem; color: var(--ink); }

.steps { display: grid; gap: 1rem; counter-reset: none; }
.steps__item { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1.5rem; }
.steps__n { font-size: 3rem; line-height: 0.85; }
.steps__title { font-size: 1.125rem; color: var(--ink); }
.steps__text { margin-top: 0.5rem; font-size: 15px; line-height: 1.7rem; color: var(--ink-muted); }

.ticks { margin-top: 1.25rem; display: grid; gap: 0.875rem; max-width: 46rem; }
.ticks li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 15px; line-height: 1.65rem; color: var(--ink-muted); }
.ticks svg { margin-top: 0.3rem; flex-shrink: 0; }
.ticks strong { color: var(--ink); font-weight: 600; }

/* <details> needs no script, works with the keyboard and is found by the
   browser's own search. */
.faq { margin-top: 1.25rem; display: grid; gap: 0.625rem; }
.faq__item { padding: 0; }
.faq__q { cursor: pointer; list-style: none; padding: 1.125rem 3rem 1.125rem 1.25rem; font-size: 1rem; color: var(--ink); position: relative; text-transform: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 1.25rem; color: var(--red-text); }
.faq__item[open] .faq__q::after { content: "−"; }
.faq__q:hover { color: var(--red-text); }
.faq__q:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.faq__a { padding: 0 1.25rem 1.25rem; }

.prose { max-width: 46rem; font-size: 15.5px; line-height: 1.8rem; color: var(--ink-muted); }
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2.25rem; font-family: var(--font-heading); font-size: 1.375rem; font-weight: 600; text-transform: uppercase; color: var(--ink); }
.prose h3 { margin-top: 1.75rem; font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul,
.prose ol { padding-left: 1.25rem; display: grid; gap: 0.375rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--red-text); }
.prose blockquote { border-left: 3px solid var(--red); padding-left: 1rem; color: var(--ink); }
.prose code { font-family: var(--font-mono); font-size: 0.9em; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin-block: 2rem; }

.contact { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact__card { display: flex; flex-direction: column; gap: 0.375rem; padding: 1.5rem; transition: border-color 0.15s; }
.contact__card:hover { border-color: color-mix(in srgb, var(--red) 60%, transparent); }
.contact__label { margin-top: 0.5rem; font-size: 10px; color: var(--ink-faint); }
.contact__value { font-size: 2rem; color: var(--ink); }
.contact__value--email { font-size: 1.375rem; text-transform: none; letter-spacing: 0; word-break: break-all; }
.contact__note { margin-top: 0.375rem; font-size: 13px; line-height: 1.5; color: var(--ink-muted); }

.reviews { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.review--page { margin: 0; width: auto; }
.review__stars { margin-bottom: 0.75rem; font-size: 1rem; letter-spacing: 0.15em; }
.review__source { display: block; margin-top: 0.375rem; color: var(--ink-faint); }
.review__source a { text-decoration: underline; text-underline-offset: 3px; }

.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 48rem) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery--strip { margin-top: 1.5rem; }
.gallery__item { overflow: hidden; }
.gallery__item img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: var(--control); }
.gallery__item figcaption { padding: 0.75rem 0.875rem; font-size: 10px; color: var(--ink); }
.gallery__material { display: block; margin-top: 0.25rem; color: var(--gold); }
.gallery__caption { display: block; margin-top: 0.375rem; font-family: var(--font-body); font-size: 12.5px; line-height: 1.45; text-transform: none; letter-spacing: 0; color: var(--ink-muted); }

/* Every loop is decoration and carries no meaning, so it stops outright
   rather than being sped up, which would still flicker. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .laser::after,
  .blueprint__scan,
  .ping,
  .pulse,
  .marquee { animation: none; }
  .blueprint__scan { top: 50%; opacity: 0.4; }
  *,
  ::before,
  ::after { transition-duration: 0.001ms !important; }
}
