/* ==========================================================================
   Ultimate Transmission — design system
   "Clean technical / engineered": light ground, precise grid, spec-forward.
   ========================================================================== */

:root {
  --ink:        #0A0E14;
  --ink-2:      #1B222C;
  --ink-3:      #3A4553;
  --muted:      #66727F;
  --muted-2:    #8A95A1;
  --line:       #E2E7EC;
  --line-2:     #EFF2F5;
  --paper:      #FFFFFF;
  --surface:    #F5F7F9;
  --surface-2:  #EDF1F4;

  /* Brand orange, taken from the logo (#FF9934). That value is far too light
     for white text (2.13:1), so interactive elements use a darkened version
     that clears AA, and the true logo orange is reserved for dark surfaces
     and decoration where contrast is not a problem. */
  --accent:       #C2570B;   /* CTAs, links, active states — 4.50:1 with white text */
  --accent-ink:   #9A4508;   /* hover */
  --accent-wash:  #FDF3E8;
  --accent-bright:#FF9934;   /* the logo orange itself — dark grounds only */

  --steel:      #2E4256;
  --data:       #0E7C5A;   /* in stock / positive */
  --data-wash:  #E9F6F1;
  --warn:       #B4690E;
  --warn-wash:  #FDF4E7;

  --radius:     3px;
  --radius-lg:  5px;

  --shadow-1: 0 1px 2px rgba(10,14,20,.06), 0 1px 3px rgba(10,14,20,.04);
  --shadow-2: 0 2px 4px rgba(10,14,20,.05), 0 8px 24px rgba(10,14,20,.07);
  --shadow-3: 0 12px 40px rgba(10,14,20,.14);

  --sans: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --cond: 'Barlow Condensed', 'Barlow', 'Oswald', 'Arial Narrow', 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gut: 24px;
  --header-h: 116px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
}

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

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5 {
  font-family: var(--cond);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.08;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; line-height: 1.35; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 var(--gut); }

/* ---------- utility ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: .688rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 .9rem;
  display: block;
}
.eyebrow--muted { color: var(--muted); }
.hero .eyebrow, .section--dark .eyebrow, .pagehead--dark .eyebrow,
.finder .eyebrow { color: var(--accent-bright); }
.lede { font-size: 1.16rem; line-height: 1.62; color: var(--ink-3); }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .8125em; letter-spacing: .01em; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--sans); font-weight: 600; font-size: .9375rem; line-height: 1;
  padding: .95em 1.5em; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .08s;
  text-align: center; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); color: #fff; }
/* On dark grounds the darkened accent reads muddy — use the real logo orange
   with near-black text instead, which is both brighter and higher contrast. */
.hero .btn--primary, .section--dark .btn--primary, .pagehead--dark .btn--primary,
.finder .btn--primary { background: var(--accent-bright); color: var(--ink); }
.hero .btn--primary:hover, .section--dark .btn--primary:hover,
.pagehead--dark .btn--primary:hover, .finder .btn--primary:hover { background: #FFAE5C; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--surface); }
.btn--onDark { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--onDark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--lg { padding: 1.1em 1.9em; font-size: 1rem; }
.btn--sm { padding: .65em 1em; font-size: .8125rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }

/* ---------- badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase;
  padding: .34em .6em; border-radius: 2px; font-weight: 500; white-space: nowrap;
}
.badge--stock { background: var(--data-wash); color: var(--data); }
.badge--order { background: var(--warn-wash); color: var(--warn); }
.badge--stage { background: var(--ink); color: #fff; }
.badge--accent { background: var(--accent-wash); color: var(--accent-ink); }
.badge--line { background: transparent; color: var(--muted); border: 1px solid var(--line); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar {
  background: var(--ink); color: rgba(255,255,255,.82);
  font-size: .8125rem; letter-spacing: .01em;
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 38px; }
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: #fff; }
.topbar__left { display: flex; align-items: center; gap: 1.4rem; min-width: 0; }
.topbar__right { display: flex; align-items: center; gap: 1.4rem; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.topbar__stars { color: #F5B301; letter-spacing: .05em; }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; gap: 1.25rem; height: 78px; }

.logo { display: flex; align-items: center; gap: .6rem; min-width: 0; flex-shrink: 0; }
/* The real Ultimate Transmission badge, keyed out of the supplied JPG. */
.logo__mark { flex: 0 0 auto; height: 42px; width: auto; display: block; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--cond); font-weight: 700; font-size: 1.26rem; letter-spacing: .01em; color: var(--ink); }
.logo__sub {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .13em;
  text-transform: uppercase; margin-top: 5px; font-weight: 500;
}
/* The slogan carries the brand colour; the date stays quiet behind a hairline
   so the two read as a lockup rather than one long grey string. */
.logo__sub b { color: var(--accent); font-weight: 600; }
.logo__sub i {
  font-style: normal; color: var(--muted); font-weight: 500;
  padding-left: .5rem; border-left: 1px solid var(--line);
}

.nav { display: flex; align-items: center; gap: .1rem; margin-left: auto; flex-shrink: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .9375rem; font-weight: 600; color: var(--ink-2);
  padding: .7rem .62rem; border-radius: var(--radius); letter-spacing: -.005em;
  white-space: nowrap;
}
.nav__link:hover, .nav__item.is-open .nav__link, .nav__link.is-active { color: var(--accent); background: var(--surface); }
.nav__caret { width: 9px; height: 9px; opacity: .5; transition: transform .15s; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: .6rem; margin-left: .6rem; flex-shrink: 0; }
.icon-btn {
  position: relative; display: grid; place-items: center; flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink);
}
.icon-btn:hover { border-color: var(--ink); }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--accent); color: #fff; border-radius: 10px;
  font-family: var(--mono); font-size: .625rem; font-weight: 600;
  display: grid; place-items: center; border: 2px solid #fff;
}
.cart-count[data-count="0"] { display: none; }

.burger { display: none; }

/* ---------- mega menu ---------- */
/* Anchored to the viewport rather than the nav item: an absolutely-positioned
   dropdown still contributes to document scrollWidth even while hidden, which
   caused horizontal overflow at ~1024px. position:fixed does not. */
.mega {
  position: fixed; top: var(--header-h); left: 50%; transform: translateX(-50%) translateY(-6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3); padding: 1.75rem; z-index: 100;
  opacity: 0; visibility: hidden; transition: opacity .16s, transform .16s, visibility .16s;
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega { pointer-events: none; }
.nav__item.is-open .mega { pointer-events: auto; }
.mega--wide { width: min(1000px, calc(100vw - 48px)); }
.mega--mid  { width: min(760px, calc(100vw - 48px)); }
.mega__grid { display: grid; gap: 1.75rem; }
.mega__grid--3 { grid-template-columns: repeat(3, 1fr); }
.mega__grid--4 { grid-template-columns: repeat(4, 1fr); }
.mega__title {
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 .85rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line-2);
  font-weight: 500;
}
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.mega__list a {
  display: block; padding: .42rem .5rem; margin: 0 -.5rem; border-radius: var(--radius);
  font-size: .9063rem; color: var(--ink-2); line-height: 1.35;
}
.mega__list a:hover { background: var(--surface); color: var(--accent); }
.mega__list .m-sub { display: block; font-size: .75rem; color: var(--muted-2); margin-top: 1px; }
.mega__foot {
  margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.mega__promo {
  background: var(--surface); border-radius: var(--radius); padding: 1.15rem 1.25rem;
  border-left: 3px solid var(--accent);
}
.mega__promo h5 { font-family: var(--cond); font-size: 1.16rem; margin: 0 0 .35rem; color: var(--ink); font-weight: 700; }
.mega__promo p { font-size: .8438rem; color: var(--muted); margin: 0 0 .8rem; line-height: 1.5; }

/* ---------- mobile nav ---------- */
.mnav {
  position: fixed; inset: 0; z-index: 200; background: #fff;
  display: none; flex-direction: column; overflow-y: auto;
}
.mnav.is-open { display: flex; }
.mnav__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--gut); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.mnav__body { padding: .5rem var(--gut) 3rem; }
.mnav details { border-bottom: 1px solid var(--line-2); }
.mnav summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; font-family: var(--cond); font-size: 1.35rem; font-weight: 700; color: var(--ink);
  cursor: pointer; list-style: none;
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: '+'; font-family: var(--sans); font-size: 1.35rem; color: var(--muted); font-weight: 400; }
.mnav details[open] summary::after { content: '–'; }
.mnav__sub { padding: 0 0 1rem; display: grid; gap: 2px; }
.mnav__sub a { padding: .55rem .75rem; background: var(--surface); border-radius: var(--radius); font-size: .9375rem; }
.mnav__flat { display: block; padding: 1rem 0; font-family: var(--cond); font-size: 1.35rem; font-weight: 700; border-bottom: 1px solid var(--line-2); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  border-bottom: 3px solid var(--accent-bright);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 72% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 72% 40%, #000 20%, transparent 78%);
}
.hero::after {
  content: ''; position: absolute; top: -10%; right: -8%; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(255,153,52,.16) 0%, transparent 66%);
  pointer-events: none;
}
.hero__in {
  position: relative; z-index: 2;
  /* padding-top/bottom only — a shorthand here would reset .wrap's horizontal
     gutter to 0 and push content flush to the viewport edge on mobile. */
  padding-top: clamp(3.6rem, 8vw, 6.4rem);
  padding-bottom: clamp(3rem, 6vw, 4.6rem);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1.15rem; }
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero__lede { font-size: 1.16rem; line-height: 1.62; color: rgba(255,255,255,.76); max-width: 54ch; margin-bottom: 2rem; }
.hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero__proof {
  display: flex; gap: 2.75rem; flex-wrap: wrap;
  padding-top: 1.9rem; margin-top: .35rem;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero__proof dt {
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent-bright); margin-bottom: .45rem; font-weight: 500;
}
.hero__proof dd { margin: 0; font-family: var(--cond); font-size: 2.2rem; font-weight: 700; color: #fff; line-height: 1; }
.hero__proof dd span {
  font-size: .875rem; font-family: var(--sans); font-weight: 400;
  color: rgba(255,255,255,.68); display: block; margin-top: .45rem; letter-spacing: 0; line-height: 1.4;
}

/* vehicle finder card */
.finder {
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg); padding: 1.75rem; backdrop-filter: blur(8px);
}
.finder h3 { color: #fff; font-size: 1.35rem; margin-bottom: .4rem; }
.finder p { color: rgba(255,255,255,.6); font-size: .875rem; margin-bottom: 1.35rem; }
.finder label {
  display: block; font-family: var(--mono); font-size: .625rem; letter-spacing: .13em;
  text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: .45rem;
}
.finder select {
  width: 100%; padding: .82rem .9rem; margin-bottom: 1rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius); color: #fff; font-family: var(--sans); font-size: .9375rem;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='%23ffffff' opacity='.6'%3E%3Cpath d='M6 8.5 1.5 4h9z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; background-size: 11px;
}
.finder select:focus { outline: none; border-color: var(--accent); background-color: rgba(255,255,255,.1); }
.finder select option { background: var(--ink); color: #fff; }
.finder select:disabled { opacity: .45; cursor: not-allowed; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: clamp(3.4rem, 7vw, 5.6rem) 0; }
.section--tight { padding: clamp(2.4rem, 5vw, 3.6rem) 0; }
.section--surface { background: var(--surface); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.78); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--line { border-top: 1px solid var(--line); }

.section__head { margin-bottom: 2.6rem; max-width: 68ch; }
.section__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; max-width: none; flex-wrap: wrap; }
.section__head h2 { margin-bottom: .55rem; }
.section__head p { color: var(--muted); font-size: 1.03rem; margin: 0; }

/* ---------- trust strip ---------- */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trustbar__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust {
  padding: 1.4rem 1.5rem; border-right: 1px solid var(--line);
  display: flex; gap: .9rem; align-items: flex-start;
}
.trust:last-child { border-right: 0; }
.trust__ico { flex-shrink: 0; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.trust__t { font-family: var(--cond); font-size: 1.12rem; font-weight: 700; color: var(--ink); line-height: 1.15; margin-bottom: .18rem; }
.trust__d { font-size: .8125rem; color: var(--muted); line-height: 1.45; }

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.pcard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.pcard:hover { border-color: var(--ink-3); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.pcard__media {
  position: relative; aspect-ratio: 4/3; background: var(--surface);
  display: grid; place-items: center; border-bottom: 1px solid var(--line-2); overflow: hidden;
}
.pcard__tags { position: absolute; top: .7rem; left: .7rem; display: flex; gap: .3rem; flex-wrap: wrap; z-index: 2; }
.pcard__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.pcard__code {
  font-family: var(--mono); font-size: .6563rem; letter-spacing: .11em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .5rem;
}
.pcard__name {
  font-family: var(--cond); font-size: 1.24rem; font-weight: 700; line-height: 1.13;
  color: var(--ink); margin: 0 0 .5rem;
}
.pcard:hover .pcard__name { color: var(--accent); }
.pcard__desc { font-size: .8438rem; color: var(--muted); line-height: 1.5; margin: 0 0 1rem; flex: 1; }
.pcard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; margin-top: auto; }
.pcard__price { font-family: var(--cond); font-size: 1.5rem; font-weight: 700; color: var(--ink); line-height: 1; }
.pcard__price small { display: block; font-family: var(--sans); font-size: .6875rem; font-weight: 400; color: var(--muted); letter-spacing: .01em; margin-bottom: .22rem; }
.pcard__core { font-size: .6875rem; color: var(--muted); margin-top: .3rem; font-family: var(--mono); }

/* schematic placeholder art */
.schematic { width: 100%; height: 100%; display: block; }

/* ==========================================================================
   CODE / CATEGORY HUB
   ========================================================================== */
.pagehead { background: var(--surface); border-bottom: 1px solid var(--line); padding: 2.2rem 0 2.6rem; }
.pagehead--dark { background: var(--ink); border-bottom: 3px solid var(--accent-bright); }
.pagehead--dark h1, .pagehead--dark .lede { color: #fff; }
.pagehead--dark .lede { color: rgba(255,255,255,.72); }
.pagehead__grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 3rem; align-items: end; }

.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .8125rem; color: var(--muted); margin-bottom: 1.1rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { opacity: .45; }
.pagehead--dark .crumbs, .pagehead--dark .crumbs a { color: rgba(255,255,255,.55); }
.pagehead--dark .crumbs a:hover { color: #fff; }

.statrow { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.statrow dt { font-family: var(--mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.statrow dd { margin: 0; font-family: var(--cond); font-size: 1.32rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.pagehead--dark .statrow dt { color: rgba(255,255,255,.5); }
.pagehead--dark .statrow dd { color: #fff; }

/* filter bar */
.filterbar {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  padding: 1rem 0; border-bottom: 1px solid var(--line); margin-bottom: 2rem;
}
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .48rem .85rem; border: 1px solid var(--line); border-radius: 100px;
  font-size: .8438rem; font-weight: 500; color: var(--ink-3); background: #fff; cursor: pointer;
  transition: all .14s;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip__n { font-family: var(--mono); font-size: .6875rem; opacity: .6; }

/* ---------- prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; }
.prose p { color: var(--ink-3); line-height: 1.72; }
.prose ul, .prose ol { color: var(--ink-3); line-height: 1.72; padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote {
  margin: 1.8rem 0; padding: 1.1rem 1.5rem; border-left: 3px solid var(--accent);
  background: var(--surface); font-size: 1.05rem; color: var(--ink-2);
}

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.2rem; align-items: start; }
.pdp__media { position: sticky; top: calc(var(--header-h) + 16px); }
.pdp__stage {
  aspect-ratio: 4/3; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); display: grid; place-items: center; overflow: hidden;
}
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: .6rem; }
.pdp__thumb { aspect-ratio: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; padding: 0; }
button.pdp__thumb { cursor: pointer; transition: border-color .12s ease; }
button.pdp__thumb:hover { border-color: var(--muted); }
button.pdp__thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
button.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
button.pdp__thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.pdp__title { font-size: clamp(1.85rem, 3.2vw, 2.5rem); margin-bottom: .6rem; }
.pdp__sub { font-size: 1.03rem; color: var(--muted); line-height: 1.55; margin-bottom: 1.5rem; }
.pdp__meta { display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: 1.25rem; }

.pricebox {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem;
  background: #fff; margin-bottom: 1.5rem;
}
.pricebox__row { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; margin-bottom: .5rem; }
.pricebox__price { font-family: var(--cond); font-size: 2.7rem; font-weight: 700; color: var(--ink); line-height: 1; }
.pricebox__was { font-family: var(--cond); font-size: 1.35rem; color: var(--muted); text-decoration: line-through; }
.pricebox__note { font-size: .8125rem; color: var(--muted); margin-bottom: 1.25rem; }
.pricebox__core {
  display: flex; align-items: flex-start; gap: .6rem; padding: .8rem .95rem;
  background: var(--surface); border-radius: var(--radius); font-size: .8125rem;
  color: var(--ink-3); line-height: 1.5; margin-bottom: 1.25rem;
}
.pricebox__core b { color: var(--ink); }

.optgroup { margin-bottom: 1.25rem; }
.optgroup__label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .11em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .5rem;
}
.optgroup__req { color: var(--accent); }
.optgroup select, .field input, .field select, .field textarea {
  width: 100%; padding: .78rem .9rem; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--sans); font-size: .9375rem; color: var(--ink); background: #fff;
}
.optgroup select:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,14,20,.06);
}
.optgroup__help { font-size: .7813rem; color: var(--muted); margin-top: .45rem; line-height: 1.5; }

.addon {
  display: flex; align-items: flex-start; gap: .75rem; padding: .85rem .95rem;
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .5rem; cursor: pointer;
  transition: border-color .14s, background .14s;
}
.addon:hover { border-color: var(--ink-3); }
.addon input { margin: 3px 0 0; width: 16px; height: 16px; accent-color: var(--accent); flex-shrink: 0; }
.addon__t { font-size: .9063rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.addon__t span { font-family: var(--mono); font-size: .8125rem; color: var(--accent); font-weight: 500; white-space: nowrap; }
.addon__d { font-size: .7813rem; color: var(--muted); line-height: 1.45; margin-top: .2rem; }
.addon:has(input:checked) { border-color: var(--accent); background: var(--accent-wash); }

.qtyrow { display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch; margin-bottom: 1rem; }
.qty { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.qty button { width: 42px; border: 0; background: #fff; cursor: pointer; font-size: 1.05rem; color: var(--ink); }
.qty button:hover { background: var(--surface); }
.qty input { width: 48px; border: 0; text-align: center; font-family: var(--mono); font-size: .9375rem; }
.qty input:focus { outline: none; }

/* spec table */
.spectable { width: 100%; border-collapse: collapse; font-size: .9063rem; }
.spectable tr { border-bottom: 1px solid var(--line-2); }
.spectable tr:last-child { border-bottom: 0; }
.spectable th {
  text-align: left; padding: .78rem 1rem .78rem 0; font-weight: 500; color: var(--muted);
  width: 42%; font-size: .8438rem; vertical-align: top;
}
.spectable td { padding: .78rem 0; color: var(--ink); font-weight: 500; vertical-align: top; }

.includes { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.includes li { display: flex; gap: .7rem; align-items: flex-start; font-size: .9375rem; color: var(--ink-3); line-height: 1.55; }
.includes li::before {
  content: ''; flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%;
  background: var(--data-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230E7C5A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* tabs */
.tabs { border-bottom: 1px solid var(--line); display: flex; gap: .25rem; margin-bottom: 2rem; overflow-x: auto; }
.tab {
  padding: .85rem 1.1rem; border: 0; background: none; cursor: pointer;
  font-family: var(--sans); font-size: .9375rem; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; }

/* fitment table */
.fitment { width: 100%; border-collapse: collapse; font-size: .875rem; }
.fitment th {
  text-align: left; padding: .7rem .9rem; background: var(--surface); border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500;
}
.fitment td { padding: .75rem .9rem; border-bottom: 1px solid var(--line-2); color: var(--ink-3); }
.fitment tr:hover td { background: var(--surface); }

/* ==========================================================================
   CART & CHECKOUT
   ========================================================================== */
.cartlayout { display: grid; grid-template-columns: 1.55fr .95fr; gap: 2.6rem; align-items: start; }
.cartline {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 1.15rem;
  padding: 1.4rem 0; border-bottom: 1px solid var(--line);
}
.cartline__media { aspect-ratio: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; }
.cartline__name { font-family: var(--cond); font-size: 1.16rem; font-weight: 700; color: var(--ink); margin-bottom: .3rem; line-height: 1.15; }
.cartline__opts { font-size: .8125rem; color: var(--muted); line-height: 1.55; }
.cartline__opts b { color: var(--ink-3); font-weight: 500; }
.cartline__price { text-align: right; font-family: var(--cond); font-size: 1.28rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.cartline__rm { background: none; border: 0; color: var(--muted); font-size: .8125rem; cursor: pointer; padding: 0; text-decoration: underline; }
.cartline__rm:hover { color: var(--accent); }

.summary {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem;
  background: #fff; position: sticky; top: calc(var(--header-h) + 16px);
}
.summary h3 { font-size: 1.35rem; margin-bottom: 1.2rem; }
.sumrow { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; font-size: .9375rem; color: var(--ink-3); }
.sumrow--total {
  border-top: 1px solid var(--line); margin-top: .7rem; padding-top: 1rem;
  font-family: var(--cond); font-size: 1.6rem; font-weight: 700; color: var(--ink); align-items: baseline;
}
.sumrow--discount { color: var(--data); }
.sumrow b { color: var(--ink); font-weight: 600; }

.promo { display: flex; gap: .5rem; margin: 1.1rem 0; }
.promo input { flex: 1; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--mono); font-size: .8125rem; text-transform: uppercase; }
.promo input:focus { outline: none; border-color: var(--ink); }

.freight-opts { display: grid; gap: .5rem; margin: 1rem 0; }

.notice {
  padding: .85rem 1rem; border-radius: var(--radius); font-size: .8438rem; line-height: 1.55;
  display: flex; gap: .65rem; align-items: flex-start;
}
.notice--info { background: var(--surface); color: var(--ink-3); }
.notice--warn { background: var(--warn-wash); color: var(--warn); }
.notice--ok { background: var(--data-wash); color: var(--data); }
.notice--err { background: var(--accent-wash); color: var(--accent-ink); }

.empty { text-align: center; padding: 5rem 1rem; }
.empty h2 { margin-bottom: .6rem; }
.empty p { color: var(--muted); margin-bottom: 1.6rem; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-family: var(--mono); font-size: .6875rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .45rem;
}
.field textarea { min-height: 120px; resize: vertical; font-family: var(--sans); }
.fieldrow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 3.6rem 0 0; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 2.4rem; padding-bottom: 3rem; }
.site-footer h5, .footer h5 {
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.58); margin: 0 0 1.05rem; font-weight: 500;
}
.site-footer ul, .footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a, .footer a { color: rgba(255,255,255,.62); font-size: .9063rem; }
.site-footer a:hover, .footer a:hover { color: #fff; }
.site-footer a:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
.site-footer .logo__sub b { color: var(--accent-bright); }
.site-footer .logo__sub i { color: rgba(255,255,255,.5); border-left-color: rgba(255,255,255,.2); }
.footer__about p { font-size: .875rem; line-height: 1.65; margin-bottom: 1.2rem; color: rgba(255,255,255,.55); }
/* The wordmark keeps its own type scale rather than the footer link size. */
.site-footer .footer__about .logo__name { color: #fff; font-size: inherit; }
.footer__nap { font-size: .875rem; line-height: 1.75; color: rgba(255,255,255,.62); font-style: normal; }
.footer__nap a { display: inline; }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0;
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  font-size: .8125rem; color: rgba(255,255,255,.58);
}
.footer__bar a { font-size: .8125rem; color: rgba(255,255,255,.58); }
.footer__legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
  display: grid; place-items: center; color: rgba(255,255,255,.62);
}
.footer__social a:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ==========================================================================
   MISC BLOCKS
   ========================================================================== */
.cardlink {
  display: block; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; transition: all .16s;
}
.cardlink:hover { border-color: var(--ink-3); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.cardlink h3 { font-size: 1.32rem; margin-bottom: .4rem; }
.cardlink:hover h3 { color: var(--accent); }
.cardlink p { font-size: .875rem; color: var(--muted); margin: 0; line-height: 1.55; }
.cardlink__meta { font-family: var(--mono); font-size: .6563rem; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 1.2rem 2.5rem 1.2rem 0; cursor: pointer; list-style: none; position: relative;
  font-family: var(--cond); font-size: 1.28rem; font-weight: 700; color: var(--ink); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.5rem; color: var(--muted);
}
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 2.5rem 1.4rem 0; color: var(--ink-3); line-height: 1.7; }

.quote {
  background: var(--surface); border-left: 3px solid var(--accent); padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote p { font-size: 1.05rem; color: var(--ink-2); line-height: 1.62; margin-bottom: .8rem; }
.quote cite { font-style: normal; font-size: .8125rem; color: var(--muted); font-family: var(--mono); }

.stars { color: #F5B301; letter-spacing: .08em; font-size: .875rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split--wide-left { grid-template-columns: 1.25fr .75fr; }

.numlist { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: 1.75rem; }
.numlist li { counter-increment: n; padding-left: 3.4rem; position: relative; }
.numlist li::before {
  content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: -2px;
  font-family: var(--mono); font-size: 1.05rem; color: var(--accent); font-weight: 500;
}
.numlist h4 { margin-bottom: .35rem; }
.numlist p { font-size: .9375rem; color: var(--muted); margin: 0; line-height: 1.6; }

.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.75rem; }
.kv dt { font-family: var(--mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.kv dd { margin: 0; font-family: var(--cond); font-size: 1.85rem; font-weight: 700; color: var(--ink); line-height: 1; }
.kv dd span { display: block; font-family: var(--sans); font-size: .8125rem; font-weight: 400; color: var(--muted); margin-top: .35rem; }

.tag {
  display: inline-block; font-family: var(--mono); font-size: .6563rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); border: 1px solid var(--line);
  padding: .25em .55em; border-radius: 2px; margin-right: .35rem;
}

.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(200%);
  background: var(--ink); color: #fff; padding: .95rem 1.4rem; border-radius: var(--radius);
  box-shadow: var(--shadow-3); z-index: 300; font-size: .9063rem; display: flex; gap: .8rem; align-items: center;
  transition: transform .28s cubic-bezier(.2,.8,.3,1), opacity .2s ease, visibility .2s ease;
  max-width: calc(100vw - 2rem);
}
.toast:not(.is-visible) { opacity: 0; visibility: hidden; pointer-events: none; }
.toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }
.toast a { color: #fff; text-decoration: underline; font-weight: 600; white-space: nowrap; }

/* ==========================================================================
   ADMIN
   ========================================================================== */
.admin { background: var(--surface); min-height: 100vh; }
.admin-bar { background: var(--ink); color: #fff; padding: .85rem 0; }
.admin-bar__in { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.admin-bar__logo { font-family: var(--cond); font-size: 1.16rem; font-weight: 700; color: #fff; }
.admin-bar nav { display: flex; gap: .3rem; flex-wrap: wrap; margin-left: auto; }
.admin-bar nav a { color: rgba(255,255,255,.7); padding: .4rem .75rem; border-radius: var(--radius); font-size: .875rem; font-weight: 500; }
.admin-bar nav a:hover, .admin-bar nav a.is-active { background: rgba(255,255,255,.12); color: #fff; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; margin-bottom: 1.5rem; }
.panel h2 { font-size: 1.5rem; margin-bottom: 1.1rem; }
.panel h3 { font-size: 1.16rem; margin: 1.6rem 0 .8rem; }

.dtable { width: 100%; border-collapse: collapse; font-size: .875rem; }
.dtable th {
  text-align: left; padding: .65rem .8rem; background: var(--surface); border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: .6563rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500;
  position: sticky; top: 0; z-index: 1;
}
.dtable td { padding: .6rem .8rem; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.dtable tr:hover td { background: var(--surface); }
.dtable input, .dtable select {
  width: 100%; padding: .42rem .5rem; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--mono); font-size: .8125rem; background: #fff;
}
.dtable input:focus, .dtable select:focus { outline: none; border-color: var(--accent); }
.dtable input.is-dirty { border-color: var(--warn); background: var(--warn-wash); }
.dtable .t-num { text-align: right; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem; }
.stat dt { font-family: var(--mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.stat dd { margin: 0; font-family: var(--cond); font-size: 2rem; font-weight: 700; color: var(--ink); line-height: 1; }

.savebar {
  position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line);
  padding: .9rem var(--gut); display: flex; align-items: center; gap: 1rem; z-index: 20;
  box-shadow: 0 -4px 16px rgba(10,14,20,.06);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* Between the mega-nav breakpoint and full desktop there is not room for the
   badge, the wordmark and five nav items. The badge alone carries the brand
   here, so the typeset wordmark steps aside rather than the nav wrapping. */
@media (max-width: 1180px) and (min-width: 901px) {
  .logo__text { display: none; }
  .nav__link { padding: .7rem .5rem; font-size: .9063rem; }
  .header__in { gap: .75rem; }
}

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
}

/* Grid and flex children default to min-width:auto, which lets wide content
   (spec tables, thumbnail rows, long product names) push the layout wider than
   the viewport. Reset it everywhere a track can be squeezed. */
.grid > *, .split > *, .pdp > *, .cartlayout > *, .pagehead__grid > *,
.mega__grid > *, .footer__grid > *, .hero__grid > *, .header__in > * { min-width: 0; }
.logo { min-width: 0; }
.logo__text { min-width: 0; overflow: hidden; }
.logo__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo__sub { white-space: nowrap; }
.pdp__media, .pdp__stage, .pdp__thumbs { max-width: 100%; }
.spectable, .fitment, .dtable { table-layout: auto; word-break: break-word; }
.tabpanel { overflow-x: auto; }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav, .topbar__left .topbar__item:not(:first-child) { display: none; }
  .topbar__right a[href='/shipping-and-core-policy'] { display: none; }
  .hide-sm { display: none; }
  .logo { flex-shrink: 1; }
  .logo__mark { height: 36px; }
  /* At 11px the full tagline no longer clears the header icons, so the date
     drops and the slogan tightens rather than being clipped mid-word. */
  .logo__sub { font-size: .625rem; letter-spacing: .09em; gap: 0; margin-top: 4px; }
  .logo__sub i { display: none; }
  .logo__name { font-size: 1.28rem; }
  .header__actions { gap: .4rem; }
  .icon-btn { width: 38px; height: 38px; }
  .burger { display: grid; }
  .header__in { height: 64px; }
  .header__actions { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .pdp { grid-template-columns: 1fr; gap: 2rem; }
  .pdp__media { position: static; }
  .cartlayout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .split, .split--wide-left { grid-template-columns: 1fr; gap: 2rem; }
  .pagehead__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .trustbar__in { grid-template-columns: 1fr 1fr; }
  .trust:nth-child(2n) { border-right: 0; }
  .trust:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --gut: 16px; }
  .mega { display: none; }
  .topbar__in { gap: .6rem; }
  .topbar__right { gap: .8rem; }
  .topbar__item { font-size: .75rem; }
  body { font-size: 15.5px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .trustbar__in { grid-template-columns: 1fr; }
  .trust { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .trust:last-child { border-bottom: 0; }
  .hero__proof { gap: 1.5rem 2rem; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .cartline { grid-template-columns: 68px 1fr; }
  .cartline__price { grid-column: 2; text-align: left; margin-top: .5rem; }
  .fieldrow { grid-template-columns: 1fr; }
  .pricebox__price { font-size: 2.2rem; }
  .section__head--split { flex-direction: column; align-items: flex-start; }
  .statrow { gap: 1.4rem; }
  .dtable { font-size: .8125rem; }
}

@media (max-width: 380px) {
  .logo__sub { display: none; }
  .logo__name { font-size: 1.16rem; }
  .topbar__left { display: none; }
  .topbar__in { justify-content: flex-end; }
  .hero__proof { gap: 1.2rem 1.5rem; }
  .badge { font-size: .625rem; }
}

@media print {
  .site-header, .site-footer, .topbar, .btn, .savebar { display: none !important; }
}

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

/* Admin data tables are intentionally wide; keep them scrollable rather than
   letting them widen the document on very narrow screens. */
.admin .panel { max-width: 100%; overflow-x: auto; }
.admin .savebar { flex-wrap: wrap; }

/* ==========================================================================
   READY-TO-SHIP BAND
   Sits directly under the trust bar on the landing page. Data-driven from the
   admin stock field, so it disappears entirely rather than promising stock
   that has already sold.
   ========================================================================== */
.shelf { background: var(--paper); border-bottom: 1px solid var(--line); }
.shelf__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-bottom: 1.75rem;
}
.shelf__head > div { max-width: 74ch; }
.shelf__head h2 { margin-bottom: .5rem; }
.shelf__head p { margin: 0; color: var(--muted); font-size: .9688rem; line-height: 1.6; }
.shelf__head p strong { color: var(--ink); font-weight: 600; }
.shelf .eyebrow { color: var(--data); display: inline-flex; align-items: center; gap: .5rem; }
.shelf__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--data);
  box-shadow: 0 0 0 3px var(--data-wash);
  animation: shelfPulse 2.4s ease-in-out infinite;
}
@keyframes shelfPulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--data-wash); }
  50%      { box-shadow: 0 0 0 6px rgba(14,124,90,.10); }
}
.shelf__note {
  margin: 1.5rem 0 0; font-size: .875rem; color: var(--muted);
  line-height: 1.6; max-width: 82ch;
}
.shelf__note a { color: var(--accent); font-weight: 600; }

@media (max-width: 640px) {
  .shelf__head { flex-direction: column; align-items: stretch; }
  .shelf__head .btn { width: 100%; }
}

/* Halo build designation — only the top tier on each platform carries one,
   so it has to look like a mark of rank rather than another category chip. */
.badge--halo {
  background: var(--ink); color: var(--accent-bright);
  border: 1px solid rgba(255,153,52,.45); letter-spacing: .12em;
}
.halo-tag {
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .7rem;
}

/* Above-the-fold hook through to the ready-to-ship band further down. */
/* The pill sits directly above the Find-your-transmission card and matches its
   width. On mobile the grid stacks and the card falls well below the fold, so
   display:contents promotes the pill to a grid item and order:-1 floats it to
   the top of the hero — same markup, right placement in both layouts. */
.hero__right { display: block; }
.shelf-pill { width: 100%; justify-content: center; margin-bottom: 1rem; }

.shelf-pill {
  display: inline-flex; align-items: center; gap: .85rem;
  padding: 1rem 1.75rem 1rem 1.35rem;
  background: rgba(255,153,52,.10); border: 1px solid rgba(255,153,52,.42);
  border-radius: 100px; color: #fff; font-size: 1.1875rem; line-height: 1;
  transition: background .16s, border-color .16s, transform .16s, box-shadow .16s;
  box-shadow: 0 0 0 0 rgba(255,153,52,0);
}
.shelf-pill:hover {
  color: #fff; background: rgba(255,153,52,.18);
  border-color: var(--accent-bright); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,153,52,.18);
}
.shelf-pill strong { color: var(--accent-bright); font-weight: 700; }
.shelf-pill__dot {
  width: 11px; height: 11px; border-radius: 50%; background: #3DD68C; flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(61,214,140,.22);
  animation: pillPulse 2.4s ease-in-out infinite;
}
@keyframes pillPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(61,214,140,.22); }
  50%      { box-shadow: 0 0 0 10px rgba(61,214,140,.06); }
}
.shelf-pill__arrow { transition: transform .16s; opacity: .85; font-size: 1.25rem; }
.shelf-pill:hover .shelf-pill__arrow { transform: translateX(4px); opacity: 1; }

@media (max-width: 640px) {
  .shelf-pill {
    font-size: 1rem; padding: .85rem 1.1rem; gap: .65rem;
    width: 100%; justify-content: center; text-align: center;
  }
}

/* Must come after the base .hero__right rule above — media queries add no
   specificity, so source order decides. On mobile the finder card sits ~1000px
   down; display:contents promotes the pill to a grid item and order:-1 floats
   it to the top of the hero, keeping it above the fold. */
@media (max-width: 900px) {
  .hero__right { display: contents; }
  .shelf-pill { order: -1; margin-bottom: 0; }
}

/* Between the tagline-hidden breakpoint and the desktop nav, the tagline is
   wider than the "ULTIMATE" wordmark above it, so .logo__text was clipping it.
   There is spare room in the header at these widths — let the logo size to its
   content instead of shrinking. Appended here so it wins on source order. */
/* Three icon buttons plus the full logo lockup does not fit a phone header.
   Search moves into the burger menu, which frees enough room for the tagline
   to stay legible instead of being clipped or dropped. */
@media (max-width: 900px) {
  .icon-btn--search { display: none; }
}

@media (max-width: 900px) and (min-width: 381px) {
  /* Header only. The footer logo carries the full wordmark and would push the
     document wider if it were allowed to size to content down there too. */
  .site-header .logo { flex-shrink: 0; }
  .site-header .logo__text { overflow: visible; }
  .site-header .logo__name { overflow: visible; text-overflow: clip; }
  .header__in { gap: .6rem; }
}

/* The footer wordmark wraps rather than being clipped mid-word. */
@media (max-width: 900px) {
  .site-footer .logo__name { white-space: normal; overflow: visible; text-overflow: clip; }
  .site-footer .logo__sub { white-space: normal; }
}

/* On the narrowest phones that still show the tagline it has to give up a
   little size and tracking, or the logo pushes the header icons off screen. */
@media (max-width: 430px) and (min-width: 381px) {
  .logo__sub { font-size: .625rem; letter-spacing: .07em; }
}

/* ---------- Shop gallery (About) ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery__item { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery__item figcaption { padding: .8rem .9rem; font-size: .8125rem; line-height: 1.5; color: var(--muted); flex: 1; }
@media (max-width: 1100px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .gallery { grid-template-columns: 1fr; } }


/* ==========================================================================
   Pre-launch accessibility fixes — 3 Aug 2026
   ========================================================================== */

/* The skip link was .sr-only with no :focus rule, so it could never be seen.
   WCAG 2.4.7. */
.sr-only:focus, .sr-only:focus-visible {
  position: fixed; top: .5rem; left: .5rem; z-index: 999;
  width: auto; height: auto; margin: 0; overflow: visible; clip: auto; clip-path: none;
  padding: .8rem 1.2rem; background: var(--ink); color: #fff;
  border-radius: var(--radius); font-weight: 600; box-shadow: var(--shadow-3);
  outline: 2px solid var(--accent-bright); outline-offset: 2px;
}

/* The quantity input was the only focusable element on the site with no
   visible focus state. */
.qty input:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px;
}

/* Quantity stepper: keep it at a usable width and let it wrap under the
   Add to Cart button rather than being crushed to a sliver on a phone. */
.qty { flex: 0 0 auto; min-width: 134px; }
.qtyrow .btn { min-width: 0; flex: 1 1 12rem; }
.qty button { min-width: 44px; min-height: 44px; }

/* Tap targets. WCAG 2.5.8 asks for 24px minimum; 44px is the comfortable
   figure and these are all primary controls. */
#burger, .icon-btn { min-width: 44px; min-height: 44px; }
.footer__social a { min-width: 44px; min-height: 44px; display: inline-flex;
  align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .footer__legal a, .crumbs a { display: inline-block; padding: .35rem 0; }
  .filterbar .chip { min-height: 44px; display: inline-flex; align-items: center; }
  .btn--sm { padding: .8em 1.1em; }
}

/* "Built to Order" pill and the review stars both failed contrast. */
.badge--order { background: var(--warn-wash); color: #8A4F09; }
.quote .stars, .topbar__stars { color: #B8860B; }
.topbar__stars { color: #F5B301; }   /* dark ground — original value is fine there */

/* Footer column headings are h2 for document outline, but keep the small
   label styling they had as h5. */
.site-footer .footer__h, .footer .footer__h {
  font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.58); margin: 0 0 1.05rem; font-weight: 500;
}

/* ---- Remaining contrast fixes (pre-launch sweep, 3 Aug 2026) ---- */

/* The accent was 4.11–4.29:1 as small text on light grounds. One step darker
   clears AA everywhere it is used as type; the brighter logo orange is still
   used on dark grounds where it already passed. */
:root { --accent: #A94B08; --accent-ink: #8A3D06; }

/* Filter chips dropped their own count to 60% opacity, taking it to ~3:1. */
.chip__n { opacity: 1; color: var(--muted); }
.chip.is-active .chip__n { color: rgba(255,255,255,.85); }

/* Product spec sub-line sat at 4.48:1 — marginal. */
.muted.small, .pcard__desc { color: #5E6975; }

/* Eyebrows sitting on a dark ground that is not one of the named dark
   sections were rendering the darkened accent at 3.4:1. */
.section--dark .eyebrow, .pagehead--dark .eyebrow, .hero .eyebrow, .finder .eyebrow,
[style*="background:var(--ink)"] .eyebrow { color: var(--accent-bright); }

/* Review stars: gold on a light ground was 3.03:1. */
.quote .stars, .reviewstrip .stars { color: #6B4E00; }

/* Footer hours and other .muted text inherit the light-ground grey. */
.site-footer .muted, .footer__nap .muted { color: rgba(255,255,255,.72); }

/* The finder heading is on a dark panel; h2 defaults to --ink. */
.finder__h { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/* ==================================================================== *
 * About — divisions and owners            (added 11 Aug 2026)
 * ==================================================================== */
.divisions{display:grid;gap:1rem;margin:1.4rem 0 1.8rem}
@media(min-width:640px){.divisions{grid-template-columns:repeat(3,1fr)}}
.division{background:var(--surface);border-radius:var(--radius-lg);padding:1.25rem;border-bottom:2px solid var(--accent)}
.division__ico{display:block;width:34px;height:34px;color:var(--accent);margin-bottom:.7rem}
.division__ico svg{width:100%;height:100%;display:block}
.division__h{font-family:var(--cond);font-size:1.08rem;line-height:1.2;margin:0 0 .4rem}
.division__p{font-size:.9rem;line-height:1.55;color:var(--ink-3);margin:0}

.owners{display:grid;gap:2rem;align-items:start}
@media(min-width:860px){.owners{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:2.5rem}}
.owners__shot{margin:0}
.owners__shot img{width:100%;height:auto;display:block;border-radius:var(--radius-lg)}
.owners__body{display:grid;gap:1.5rem}
.owner__name{font-family:var(--cond);font-size:1.45rem;line-height:1.1;margin:0 0 .15rem}
.owner__role{font-family:var(--mono,var(--cond));font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;color:var(--accent);margin:0 0 .5rem}
.owner__p{font-size:.98rem;line-height:1.65;color:var(--ink-3);margin:0}
.owners__note{margin:0;padding-top:.4rem;border-top:1px solid var(--line)}

/* ==================================================================== *
 * Calculators                             (added 11 Aug 2026)
 * ==================================================================== */
.calchub{display:grid;gap:1rem}
@media(min-width:620px){.calchub{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1040px){.calchub{grid-template-columns:repeat(3,1fr)}}
.calchub__card{display:flex;flex-direction:column;gap:.35rem;padding:1.35rem;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--radius-lg);text-decoration:none;color:inherit;
  border-bottom:2px solid transparent;transition:border-color .15s,transform .15s}
.calchub__card:hover{border-bottom-color:var(--accent);transform:translateY(-2px)}
.calchub__h{font-family:var(--cond);font-size:1.22rem;line-height:1.2;margin:0}
.calchub__p{font-size:.9rem;line-height:1.55;color:var(--ink-3);margin:0;flex:1}
.calchub__go{font-size:.82rem;font-weight:600;color:var(--accent);margin-top:.5rem}

.calc{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:1.5rem;margin-bottom:1.5rem}
.calc__h{font-family:var(--cond);font-size:1.3rem;margin:0 0 .3rem}
.calc__note{font-size:.9rem;color:var(--ink-3);margin:0 0 1rem}
.calc__grid{display:grid;gap:1.5rem}
@media(min-width:760px){.calc__grid{grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:2rem}}
.calc__inputs{display:grid;gap:.9rem;align-content:start}
.calcf__lab{display:block;font-size:.86rem;font-weight:600;margin-bottom:.3rem;line-height:1.35}
.calcf__unit{font-weight:400;color:var(--muted)}
.calcf__in{width:100%;padding:.62rem .75rem;font:inherit;font-size:1rem;color:var(--ink);
  background:#fff;border:1px solid var(--line);border-radius:3px}
.calcf__in:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.calcf__help{font-size:.78rem;color:var(--muted);line-height:1.45;margin:.3rem 0 0}
.calc__results{background:var(--ink);color:#fff;border-radius:var(--radius-lg);padding:1.25rem;
  align-self:start;border-bottom:3px solid var(--accent)}
.calco{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;
  padding:.55rem 0;border-bottom:1px solid rgba(255,255,255,.1)}
.calco__lab{font-size:.84rem;color:rgba(255,255,255,.62);line-height:1.35}
.calco__val{font-family:var(--cond);font-size:1.2rem;font-weight:700;white-space:nowrap}
.calco__unit{font-size:.78rem;font-weight:400;color:rgba(255,255,255,.55)}
.calco--primary{padding:.2rem 0 .7rem;border-bottom:1px solid rgba(255,255,255,.18)}
.calco--primary .calco__lab{color:rgba(255,255,255,.8);font-size:.9rem}
.calco--primary .calco__val{font-size:2.1rem;color:#FF9934;line-height:1.1}
.calco--primary .calco__unit{font-size:.95rem;color:rgba(255,255,255,.6)}
.calc__formula{display:flex;flex-direction:column;gap:.25rem;font-family:var(--mono,monospace);
  font-size:.76rem;line-height:1.5;color:rgba(255,255,255,.5);margin:.9rem 0 0;
  padding-top:.8rem;border-top:1px solid rgba(255,255,255,.1)}
.calc__formula span{font-family:var(--cond);font-size:.7rem;letter-spacing:.1em;
  text-transform:uppercase;color:rgba(255,255,255,.38)}

/* ==================================================================== *
 * FAQ hub                                 (added 11 Aug 2026)
 * ==================================================================== */
.faqjump{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:2rem}
.faqjump__a{font-size:.85rem;font-weight:600;padding:.4rem .8rem;border:1px solid var(--line);
  border-radius:100px;text-decoration:none;color:var(--ink-3);background:var(--surface)}
.faqjump__a:hover{border-color:var(--accent);color:var(--accent)}
.faqgroup{margin-bottom:2.5rem;scroll-margin-top:130px}
.faqgroup__h{font-family:var(--cond);font-size:1.5rem;margin:0 0 1rem;
  padding-bottom:.5rem;border-bottom:2px solid var(--accent)}

/* ==========================================================================
   ADMIN — orders, cores & refunds, add-product wizard (build 2026-10-15)
   ========================================================================== */
.admin h1 { font-size: 2.1rem; margin: 0 0 .35rem; }
.admin-bar__who { color: #fff; font-size: .8125rem; opacity: .8; }
.navpill { display: inline-block; min-width: 1.35em; padding: 0 .4em; margin-left: .2em; border-radius: 99px; background: var(--accent-bright); color: var(--ink); font-size: .6875rem; font-weight: 700; text-align: center; line-height: 1.5; }
.ahead { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.ahead p { margin: 0; }
.ahead__actions { display: flex; gap: .45rem; flex-wrap: wrap; align-items: center; }
.ahead__total { text-align: right; }
.bignum { font-family: var(--cond); font-size: 2rem; font-weight: 700; line-height: 1; }
.pillinput { padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 100px; font-size: .875rem; }
.inlineform { display: flex; gap: .5rem; align-items: flex-end; flex-wrap: wrap; }
.inlineform label { display: flex; flex-direction: column; gap: .3rem; font-size: .8125rem; color: var(--muted); }
.inlineform input, .inlineform select, .lookup input { padding: .5rem .7rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: .9rem; background: #fff; }
.inlineform--tiny { display: inline-flex; margin-left: .5rem; }
.inlineform--tiny input { padding: .3rem .5rem; font-size: .8125rem; }
.nowrap { white-space: nowrap; }
.txt-red { color: var(--accent-ink) !important; font-weight: 600; }
.warnline { color: var(--warn); font-weight: 600; margin-top: .5rem; }
.dtable tr.rowlink { cursor: pointer; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid2 > .panel { margin-bottom: 1.5rem; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; gap: 0; } }
.subpanel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem; }
.btnrow { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.check { display: flex; gap: .5rem; align-items: center; font-size: .9rem; margin: .3rem 0; cursor: pointer; }
.check input { width: auto; margin: 0; }
.kv { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: .5rem; }
.kv th { text-align: left; font-weight: 500; color: var(--muted); width: 32%; padding: .45rem .6rem .45rem 0; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.kv td { padding: .45rem 0; border-bottom: 1px solid var(--line-2); vertical-align: top; font-weight: 500; }
.kv__copy { width: 64px; text-align: right; }
.copybtn { font: 500 .6875rem var(--mono); letter-spacing: .05em; text-transform: uppercase; padding: .2rem .45rem; border: 1px solid var(--line); background: #fff; border-radius: 2px; color: var(--muted); cursor: pointer; margin-left: .35rem; }
.copybtn:hover { border-color: var(--accent); color: var(--accent); }
.copybtn.is-copied { background: var(--data-wash); color: var(--data); border-color: var(--data); }
.sheet h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; margin: 1.4rem 0 .5rem; }
.sheet__head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: .8rem; }
.sheet__head .eyebrow { font: 500 .6875rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.sheet__lines td, .sheet__lines th { font-size: .8438rem; }
.sheet__total { background: var(--ink); color: #fff; padding: .8rem 1rem; font-size: 1.1rem; border-radius: var(--radius); margin-top: .5rem; }
.sheet__total .copybtn { background: transparent; color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.35); }
.sheet__foot { margin-top: 1.5rem; padding-top: .9rem; border-top: 1px dashed var(--line); font-size: .9375rem; }
.note { border-top: 1px solid var(--line-2); padding: .6rem 0; font-size: .9rem; }
.timeline { list-style: none; padding: 0; margin: 0; font-size: .875rem; }
.timeline li { padding: .45rem 0; border-bottom: 1px solid var(--line-2); line-height: 1.5; }
.statusline { background: var(--ink); color: #fff; padding: .9rem 1.1rem; border-radius: var(--radius-lg); font-size: 1.02rem; line-height: 1.5; margin-bottom: 1.25rem; }
.lookup { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.lookup input { flex: 1; font-size: 1.05rem; padding: .8rem 1rem; }
.chip--red { border-color: var(--accent) !important; color: var(--accent-ink) !important; }
.step { border-top: 1px solid var(--line); margin-top: 1.25rem; padding-top: .25rem; }
.inspect fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .9rem; margin: 0 0 .9rem; }
.inspect legend { font: 500 .6875rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 .3rem; }
.photogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .6rem; margin: .8rem 0; }
.photogrid figure { margin: 0; }
.photogrid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); display: block; background: var(--surface); }
.photogrid figcaption { font-size: .75rem; line-height: 1.35; margin-top: .25rem; }
.photogrid--product { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.photogrid--product img { aspect-ratio: 4 / 3; object-fit: contain; border: 1px solid var(--line); }
.uploader { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin: .5rem 0; }
.uploader label.btn { cursor: pointer; }
.uploader__caption { flex: 1; min-width: 180px; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: .875rem; }
.mailpreview { width: 100%; height: 760px; border: 1px solid var(--line); border-radius: var(--radius); background: #f2f3f5; }
.attn { list-style: none; padding: 0; margin: 0; }
.attn li { padding: .55rem 0; border-bottom: 1px solid var(--line-2); font-weight: 500; }
.placelist { padding-left: 1.1rem; line-height: 1.9; margin: 0 0 .75rem; }
/* wizard */
.wstep { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.6rem; margin-bottom: 1rem; }
.wstep[hidden] { display: none; }
.wstep h2 { font-size: 1.3rem; margin: 0 0 .9rem; display: flex; gap: .6rem; align-items: center; }
.wstep h2 span { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: .875rem; }
.choicegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; }
.choice { display: flex; flex-direction: column; gap: .15rem; border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem .9rem .75rem 2.2rem; position: relative; cursor: pointer; }
.choice input { position: absolute; left: .8rem; top: .95rem; width: auto; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-wash); }
.vehgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .1rem 1rem; }
.vehgrid .veh[hidden] { display: none; }
.newcode[hidden] { display: none; }
.serp { border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; max-width: 600px; font-family: Arial, sans-serif; }
.serp__url { font-size: 12px; color: #4d5156; }
.serp__title { font-size: 19px; color: #1a0dab; margin: .15rem 0; }
.serp__desc { font-size: 13px; color: #4d5156; line-height: 1.5; }
/* options editor */
.optcard { border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; margin-bottom: .6rem; background: var(--surface); }
.optcard input, .optcard select { padding: .42rem .55rem; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: .875rem; background: #fff; }
.optcard__head { display: flex; gap: .5rem; margin-bottom: .45rem; flex-wrap: wrap; }
.optcard__head .o-label { flex: 1; min-width: 200px; font-weight: 600; }
.optcard .o-help { width: 100%; margin-bottom: .45rem; }
.o-choice { display: flex; gap: .4rem; align-items: center; margin-bottom: .3rem; }
.o-choice .c-label { flex: 1; }
@media print {
  .admin-bar, .noprint, .savebar { display: none !important; }
  .admin { background: #fff; }
  .panel { border: 0; padding: 0; }
  .sheet .copybtn { display: none; }
  .sheet__total { background: none; color: #000; border: 2px solid #000; }
}
.dtable td.t-num, .dtable th.t-num, .sheet__lines td:first-child, .sheet__lines th { white-space: nowrap; }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dtable th { white-space: nowrap; }

/* Affirm messaging (Stripe Payment Method Messaging Element) */
.bnpl{min-height:22px}
.bnpl[hidden]{display:none}
