@import url("https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Geist+Mono:wght@100..900&family=Silkscreen&display=swap");

/* ==========================================================================
   Design system
   Near-white canvas, black ink, grotesk type set tight, hairlines instead of
   shadows, one small blue engineering-grid reveal and a tiny blue status line.
   Source of truth: council/design-reference/DESIGN.md

   Contents
     1  Tokens            6  Controls and forms     11  Home page
     2  Base              7  Navigation and drawer  12  Shop page
     3  Type              8  Footer                 13  404
     4  Layout            9  Toasts                 14  Motion
     5  Buttons, chips   10  Shared page parts      15  Responsive
   ========================================================================== */

/* ---- 1. tokens ---------------------------------------------------------- */
:root {
  /* contract names: do not rename */
  --bg: #fafafa;            /* page field */
  --surface: #ffffff;       /* windows, secondary actions */
  --ink: #171717;           /* headlines, primary action */
  --ink-2: #4d4d4d;         /* supporting copy */
  --ink-3: #666666;         /* metadata, hints */
  --ink-4: #8f8f8f;         /* numbering, inactive */
  --line: #ebebeb;          /* faint edge: action outlines, window edges */
  --line-2: #e6e6e6;        /* structural panel boundary */
  --blue: #0070f3;          /* status signal and focus only, never a button fill */
  --night: #0a0a0a;
  --night-line: #2e2e2e;
  --night-ink: #ededed;
  --night-ink-2: #a1a1a1;
  --ok: #297a3a;
  --warn: #a35200;
  --bad: #cb2a2f;
  --sans: "Geist", "Inter", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pixel: "Silkscreen", "Geist Mono", monospace;
  --r-panel: 2px;           /* structural panels */
  --r-ctl: 6px;             /* navigation actions, controls, tiles */
  --r-win: 12px;            /* inner windows */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --site-h: 64px;

  /* additions */
  --line-3: #c9c9c9;        /* hover edge, comparison traces */
  --ctl-line: #d9d9d9;      /* form control edge */
  --hover: #f2f2f2;
  --ink-hover: #383838;
  --blueprint-1: #52aeff;
  --blueprint-2: #0072f5;
  --ok-wash: #eef7f0; --warn-wash: #fff6e8; --bad-wash: #fdf0f0;
  --r-pill: 9999px;
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --ease-slide: cubic-bezier(.4, .04, .04, 1);
  --ease-bar: cubic-bezier(.25, 1, .5, 1);
  --hair: 0 0 0 1px var(--line);
  --sh-win: 0 0 0 1px rgba(0, 0, 0, .08), 0 2px 2px 0 rgba(0, 0, 0, .04), 0 8px 16px -4px rgba(0, 0, 0, .04), 0 0 0 1px var(--bg);
  --gut: 24px;
  --focus: 0 0 0 2px var(--bg), 0 0 0 4px var(--blue);

  /* names from the first stylesheet, kept so nothing that still uses them breaks */
  --canvas: var(--bg); --paper: var(--surface); --mist: var(--hover); --mist-2: var(--line);
  --blue-hi: var(--ink-hover); --blue-wash: var(--hover); --blue-ring: rgba(0, 112, 243, .28);
  --night-2: #111111; --display: var(--sans); --text: var(--sans);
  --r-card: var(--r-panel); --r-frame: var(--r-win);
  --sh-1: 0 0 0 1px var(--line); --sh-2: var(--sh-win); --sh-3: var(--sh-win);
}

/* ---- 2. base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--site-h) + 24px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.5 var(--sans); font-feature-settings: "calt" 0, "rlig" 1, "ss11" 1;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 450; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: var(--r-panel); }
::selection { background: var(--ink); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 24px; top: -64px; z-index: 100; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font: 500 14px/20px var(--sans); transition: top .15s var(--ease); }
.skip:focus { top: 12px; }

/* ---- 3. type ------------------------------------------------------------ */
.display { font-weight: 400; font-size: clamp(40px, 5.6vw, 64px); line-height: 1; letter-spacing: -.06em; }
.h-xl { font-weight: 450; font-size: clamp(32px, 4.6vw, 56px); line-height: 1; letter-spacing: -.06em; text-wrap: balance; }
.h-lg { font-weight: 450; font-size: clamp(28px, 3.9vw, 48px); line-height: 1.1; letter-spacing: -.06em; text-wrap: balance; }
.h-md { font-weight: 450; font-size: 24px; line-height: 32px; letter-spacing: -.04em; }
.h-sm { font-weight: 450; font-size: 20px; line-height: 1.3; letter-spacing: -.03em; }
.display .l2, .h-xl .l2, .h-lg .l2, .h-md .l2 { color: var(--ink-2); }
.body-l { color: var(--ink-2); font-size: 18px; line-height: 28px; max-width: 52ch; }
.subline { color: var(--ink-2); font-size: 18px; line-height: 28px; max-width: 46ch; }
.body-l strong, .muted strong, .subline strong { color: var(--ink); font-weight: 500; }
.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: 12px; line-height: 20px; letter-spacing: 0; }
.pixel { font-family: var(--pixel); font-weight: 400; letter-spacing: -.02em; line-height: 1; -webkit-font-smoothing: none; }
/* eyebrow: 14px sentence-case label with an optional small monochrome icon */
.eyebrow { display: flex; align-items: center; gap: 6px; margin: 0 0 16px; color: var(--ink); font: 500 14px/20px var(--sans); letter-spacing: 0; text-transform: none; }
.eyebrow svg { width: 16px; height: 16px; flex: none; }
.led { display: inline-block; flex: none; width: 6px; height: 6px; margin-right: 2px; border-radius: 50%; background: var(--blue); vertical-align: 1px; }
.led.ok { background: var(--ok); }
.text-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; transition: text-decoration-color .1s var(--ease); }
.text-link:hover { text-decoration-color: var(--ink); }

/* ---- 4. layout ---------------------------------------------------------- */
.w { max-width: 1448px; margin: 0 auto; padding: 0 var(--gut); }
.blk { padding: 120px 0; }
.blk.tight { padding: 96px 0; }
.blk.mist { background: var(--bg); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: 72px; }
.sec-head > :first-child { grid-column: span 7; }
.sec-head > :last-child:not(:first-child) { grid-column: span 5; }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head.center > * { grid-column: auto; }
.sec-head.center .eyebrow { justify-content: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* structural panel: a faint frame attached to the page */
.card { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-panel); }
.card.pad { padding: 24px; }
.card.white { background: var(--surface); }
/* inner window: softer, slightly raised */
.win { background: var(--surface); border-radius: var(--r-win); box-shadow: var(--sh-win); }
/* contained dark inset, used once per page at most */
.night { background: var(--night); color: var(--night-ink); border: 1px solid var(--night-line); border-radius: var(--r-panel); }
.night .eyebrow { color: var(--night-ink); }
.night .dim, .night .muted, .night .body-l, .night .subline { color: var(--night-ink-2); }
.night .body-l strong { color: var(--night-ink); }
.night .display .l2, .night .h-xl .l2, .night .h-lg .l2 { color: var(--night-ink-2); }
.night .card { background: var(--night-2); border-color: var(--night-line); }
.night :focus-visible { outline-color: #fff; }
.night-rule { height: 1px; background: var(--night-line); border: 0; margin: 0; }

/* ---- 5. buttons, chips, badges ------------------------------------------ */
/* marketing capsule: 40px high */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border: 0; border-radius: var(--r-pill);
  font: 500 16px/24px var(--sans); white-space: nowrap; cursor: pointer; user-select: none;
  transition: background-color .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);
}
.btn.sm { height: 32px; padding: 0 12px; font-size: 14px; line-height: 20px; gap: 6px; }
.btn.lg { height: 48px; padding: 0 24px; }
.btn.block { width: 100%; }
/* .btn-blue keeps its name from the first stylesheet; it is the black primary */
.btn-blue { background: var(--ink); color: #fff; }
.btn-blue:hover { background: var(--ink-hover); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: var(--hair); }
.btn-ghost:hover { background: var(--surface); box-shadow: 0 0 0 1px var(--line-3); }
.btn-night { background: var(--night-ink); color: var(--night); }
.btn-night:hover { background: #fff; }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(2px); }
.btn:focus-visible, .chip:focus-visible, .cart-btn:focus-visible, .icon-btn:focus-visible { outline: 0; box-shadow: var(--focus); border-radius: var(--r-pill); }
.cart-btn:focus-visible, .nav .btn:focus-visible, .icon-btn:focus-visible { border-radius: var(--r-ctl); }
.icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--r-ctl); background: transparent; color: var(--ink-2); transition: background-color .15s var(--ease), color .15s var(--ease); }
.icon-btn:hover { background: var(--hover); color: var(--ink); }
.icon-btn svg { width: 16px; height: 16px; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--hair); color: var(--ink-2); font: 400 14px/20px var(--sans); white-space: nowrap; transition: background-color .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease); }
button.chip:hover, a.chip:hover { color: var(--ink); box-shadow: 0 0 0 1px var(--line-3); }
.chip[aria-pressed="true"], .chip.on, button.chip[aria-pressed="true"]:hover, a.chip.on:hover { background: var(--ink); color: #fff; box-shadow: none; }
.chip[aria-pressed="true"] .dim, .chip.on .dim { color: rgba(255, 255, 255, .64); }
.chip svg { width: 14px; height: 14px; flex: none; }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: var(--r-pill); background: var(--line); color: var(--ink); font: 500 12px/20px var(--sans); letter-spacing: 0; text-transform: none; white-space: nowrap; }
.tag.blue { background: #e6f1fe; color: #0059c2; }
.tag.ok { background: var(--ok-wash); color: var(--ok); }

/* ---- 6. controls and forms ---------------------------------------------- */
.field { display: grid; gap: 8px; }
.field > label, .field > .lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--ink); font: 500 14px/20px var(--sans); }
.field .hint { color: var(--ink-3); font-size: 14px; font-weight: 400; line-height: 1.45; }
.field .val { color: var(--ink-2); font: 400 12px/20px var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.input, .select, .textarea { width: 100%; min-height: 40px; padding: 9px 12px; border: 0; border-radius: var(--r-ctl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ctl-line); font-size: 15px; line-height: 22px; transition: box-shadow .15s var(--ease); }
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:hover, .select:hover, .textarea:hover { box-shadow: inset 0 0 0 1px var(--ink-4); }
.input:focus, .select:focus, .textarea:focus { outline: 0; box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 3px var(--blue-ring); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--bad); }
.textarea { min-height: 96px; resize: vertical; }
.select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23666' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.err { color: var(--bad); font-size: 14px; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 2px; border-radius: var(--r-ctl); background: var(--hover); box-shadow: inset 0 0 0 1px var(--line); }
.seg.wrap { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); }
.seg button { min-height: 40px; padding: 8px; border: 0; border-radius: var(--r-panel); background: transparent; color: var(--ink-2); font-size: 14px; line-height: 1.2; transition: background-color .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease); }
.seg button small { display: block; margin-top: 2px; color: var(--ink-3); font: 400 12px/1.3 var(--mono); }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .04); }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.tile { display: grid; gap: 6px; justify-items: center; min-height: 44px; padding: 10px 8px 9px; border: 0; border-radius: var(--r-ctl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-size: 14px; line-height: 1.25; text-align: center; transition: box-shadow .15s var(--ease), color .15s var(--ease); }
.tile svg { width: 100%; height: 44px; }
.tile:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-3); }
.tile[aria-pressed="true"] { color: var(--ink); font-weight: 500; box-shadow: inset 0 0 0 1.5px var(--ink); }
.tile small { display: block; color: var(--ink-3); font: 400 12px/1.3 var(--mono); }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--c, #ccc); background-clip: content-box; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.swatch.two { background: linear-gradient(135deg, var(--c) 0 50%, var(--c2) 50% 100%); }
.swatch:hover { transform: scale(1.06); }
.swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14), 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.swatch:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; border-radius: 50%; }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: var(--r-panel); background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--line-3) var(--p, 50%)); }
.range::-moz-range-track { height: 4px; border-radius: var(--r-panel); background: var(--line-3); }
.range::-moz-range-progress { height: 4px; border-radius: var(--r-panel); background: var(--ink); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px rgba(0, 0, 0, .14), 0 2px 4px rgba(0, 0, 0, .12); transition: box-shadow .15s var(--ease), transform .15s var(--ease); }
.range::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px rgba(0, 0, 0, .14), 0 2px 4px rgba(0, 0, 0, .12); }
.range:hover::-webkit-slider-thumb { transform: scale(1.08); }
.range:focus-visible { outline: 0; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px var(--ink), 0 0 0 4px var(--blue-ring); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1px var(--ink), 0 0 0 4px var(--blue-ring); }
.range-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }

.stepper { display: inline-grid; grid-template-columns: 40px minmax(44px, auto) 40px; align-items: center; height: 40px; border-radius: var(--r-ctl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ctl-line); }
.stepper.sm { height: 32px; grid-template-columns: 32px minmax(36px, auto) 32px; }
.stepper button { height: 100%; border: 0; border-radius: var(--r-ctl); background: transparent; color: var(--ink-2); font-size: 18px; line-height: 1; transition: background-color .15s var(--ease), color .15s var(--ease); }
.stepper button:hover { background: var(--hover); color: var(--ink); }
.stepper button[disabled] { opacity: .35; cursor: not-allowed; background: transparent; color: var(--ink-2); }
.stepper input { width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; font: 500 15px var(--sans); font-variant-numeric: tabular-nums; text-align: center; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: 0; }
.stepper:focus-within { box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 3px var(--blue-ring); }

.switch { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch i { position: relative; flex: none; width: 40px; height: 24px; border-radius: var(--r-pill); background: var(--line-3); transition: background-color .15s var(--ease); }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .3s var(--ease-out); }
.switch input:checked + i { background: var(--ink); }
.switch input:checked + i::after { transform: translateX(16px); }
.switch input:focus-visible + i { box-shadow: var(--focus); }
.switch span small { display: block; color: var(--ink-3); font-size: 14px; }

.note { display: flex; gap: 10px; padding: 10px 12px; border-radius: var(--r-ctl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-size: 14px; line-height: 20px; }
.note.warn { background: var(--warn-wash); box-shadow: inset 0 0 0 1px #f3dfbd; color: #7a3d00; }
.note.ok { background: var(--ok-wash); box-shadow: inset 0 0 0 1px #cfe6d4; color: #1f5c2b; }
.note.plain { background: var(--bg); color: var(--ink-2); }
.note svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.note a { text-decoration: underline; text-underline-offset: 3px; }

.spec-list { display: grid; gap: 0; }
.spec-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--ink-3); white-space: nowrap; }
.spec-list dd { color: var(--ink); text-align: right; min-width: 0; overflow-wrap: anywhere; }   /* one long typed word wraps instead of pushing the page sideways */
.night .spec-list > div { border-color: var(--night-line); }
.night .spec-list dt { color: var(--night-ink-2); }
.night .spec-list dd { color: var(--night-ink); }

/* numbered questions: quiet rows, no boxes, the index comes from a counter */
.faq { display: grid; gap: 0; counter-reset: faq; }
.faq details { counter-increment: faq; border-radius: var(--r-ctl); }
.faq summary { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) 16px; gap: 24px; align-items: start; padding: 18px 12px; border-radius: var(--r-ctl); list-style: none; cursor: pointer; font: 400 20px/1.6 var(--sans); transition: background-color .15s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: counter(faq, decimal-leading-zero); color: var(--ink-4); font-variant-numeric: tabular-nums; }
.faq summary::after { content: ""; width: 8px; height: 8px; margin-top: 10px; justify-self: center; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); transition: transform .3s var(--ease-out); }
.faq summary:hover { background: rgba(0, 0, 0, .03); }
.faq details[open] summary::after { transform: translateY(4px) rotate(225deg); }
.faq .a { padding: 0 52px 22px 64px; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 76ch; }
.faq .a p + p { margin-top: 10px; }
.faq .a a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.faq .a a:hover { text-decoration-color: var(--ink); }

/* ---- 7. navigation ------------------------------------------------------ */
.nav { position: fixed; inset: 0 0 auto; z-index: 75; background: transparent; box-shadow: 0 1px 0 transparent; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.nav.scrolled, .nav.solid, .nav-open .nav { background: rgba(250, 250, 250, .86); -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px); box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
.nav-open .nav { background: var(--bg); }
.nav-in { display: flex; align-items: center; gap: 24px; height: var(--site-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 500 16px/24px var(--sans); letter-spacing: -.02em; white-space: nowrap; }
.logo .mark { width: 22px; height: 22px; flex: none; }
.logo small { display: block; margin-top: 2px; color: var(--ink-3); font: 400 12px/16px var(--sans); letter-spacing: 0; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 6px 12px; border-radius: var(--r-ctl); color: var(--ink-2); font: 400 14px/20px var(--sans); white-space: nowrap; transition: color .15s var(--ease), background-color .15s var(--ease); }
.nav-links a:hover { color: var(--ink); background: rgba(0, 0, 0, .04); }
.nav-links a[aria-current] { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-tel { color: var(--ink-2); font: 400 14px/20px var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .15s var(--ease); }
.nav-tel:hover { color: var(--ink); }
/* navigation actions are 32px with 6px corners, a different family from the capsules */
.nav .btn { height: 32px; padding: 0 10px; border-radius: var(--r-ctl); font: 500 14px/1.5 var(--sans); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 6px 0 8px; border: 0; border-radius: var(--r-ctl); background: var(--surface); box-shadow: var(--hair); color: var(--ink); font: 500 14px/1.5 var(--sans); transition: box-shadow .15s var(--ease); }
.cart-btn:hover { box-shadow: 0 0 0 1px var(--line-3); }
.cart-btn svg { width: 16px; height: 16px; }
.cart-btn .count { min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-panel); background: var(--ink); color: #fff; font: 500 12px/20px var(--mono); text-align: center; }
.cart-btn .count[data-n="0"] { background: var(--line); color: var(--ink-3); }
.cart-btn.bump .count { animation: bump .5s var(--ease-out); }
@keyframes bump { 35% { transform: scale(1.3); } }
.nav-tog { position: relative; display: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--r-ctl); background: var(--surface); box-shadow: var(--hair); }
.nav-tog i { position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: var(--ink); transition: transform .3s var(--ease-out); }
.nav-tog i:first-child { transform: translateY(-3.5px); }
.nav-tog i:last-child { transform: translateY(3.5px); }
.nav-open .nav-tog i:first-child { transform: rotate(45deg); }
.nav-open .nav-tog i:last-child { transform: rotate(-45deg); }
.drawer { position: fixed; inset: var(--site-h) 0 0; z-index: 74; display: none; flex-direction: column; gap: 0; padding: 12px var(--gut) 32px; background: var(--bg); overflow-y: auto; }
.nav-open .drawer { display: flex; }
.nav-open body { overflow: hidden; }
.drawer a { padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 20px/28px var(--sans); letter-spacing: -.02em; }
.drawer .btn { margin-top: 24px; padding: 0 18px; border: 0; font: 500 16px/24px var(--sans); letter-spacing: 0; }
.drawer .tel { margin-top: 16px; border: 0; color: var(--ink-2); font: 400 14px/20px var(--sans); letter-spacing: 0; }

/* ---- 8. footer: a light directory, never a dark band --------------------- */
.footer { padding: 40px 0; border-top: 1px solid var(--line); background: var(--bg); color: var(--ink-2); font: 400 14px/20px var(--sans); }
.foot-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 24px; }
.footer h3 { margin-bottom: 12px; color: var(--ink); font: 500 14px/20px var(--sans); letter-spacing: 0; text-transform: none; }
.footer li { margin-bottom: 8px; }
.footer li a, .footer li span { display: inline-flex; align-items: center; gap: 6px; padding: 2px; margin: -2px; color: var(--ink-2); transition: color .1s var(--ease); }
.footer li a:hover { color: var(--ink); }
.foot-id { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 56px; }
.foot-id p { max-width: none; margin: 0; color: var(--ink-3); }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 24px; padding-top: 0; border: 0; color: var(--ink-3); font: 400 14px/20px var(--sans); }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font: 500 12px/20px var(--mono); text-transform: uppercase; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.foot-base .right { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* ---- 9. toasts ---------------------------------------------------------- */
.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 90; display: grid; gap: 8px; justify-items: center; width: max-content; max-width: calc(100vw - 32px); transform: translateX(-50%); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-radius: var(--r-win); background: var(--ink); color: #fff; font-size: 14px; line-height: 20px; box-shadow: 0 8px 16px -4px rgba(0, 0, 0, .16), 0 2px 2px rgba(0, 0, 0, .08); pointer-events: auto; animation: toast-in .3s var(--ease-out); }
.toast a, .toast button { padding: 2px 8px; border: 0; border-radius: var(--r-ctl); background: rgba(255, 255, 255, .14); color: #fff; font-weight: 500; white-space: nowrap; transition: background-color .15s var(--ease); }
.toast a:hover, .toast button:hover { background: rgba(255, 255, 255, .24); }
.toast.out { animation: toast-out .3s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

/* ---- 10. shared page parts ---------------------------------------------- */
main { display: block; }
.chap { padding: clamp(64px, 8.9vw, 128px) 0; }
.chap-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: 72px; }
.chap-head > .lead-col { grid-column: span 7; }
.chap-head > .body-l { grid-column: 9 / span 4; max-width: none; }
.chap-head h2 { max-width: 14ch; }
.show { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; align-items: center; }
.show > .media { grid-column: span 8; min-width: 0; }
.show > .proof { grid-column: span 4; min-width: 0; padding-left: 28px; }
.show.flip > .media { order: 2; }
.show.flip > .proof { order: 1; padding-left: 0; padding-right: 28px; }
.proof .h-md { max-width: 20ch; }
.ticks { display: grid; gap: 10px; margin-top: 40px; color: var(--ink-2); font: 400 14px/20px var(--sans); }
.ticks li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; }
.ticks svg { width: 16px; height: 16px; margin-top: 2px; color: var(--ink); }
.go { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font: 500 14px/20px var(--sans); }
.go svg { width: 14px; height: 14px; flex: none; transition: transform .3s var(--ease-out); }
a:hover > .go svg, a.go:hover svg, .go-host:hover .go svg { transform: translateX(3px); }
.cap { color: var(--ink-3); font: 400 14px/20px var(--sans); }
.price-note { display: flex; align-items: flex-start; gap: 8px; color: var(--ink-3); font: 400 14px/20px var(--sans); }
.price-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-panel); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-3); font: 500 12px/1 var(--mono); }

/* product render: transparent still on the page field, with a drawn fallback */
.shot { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease-out); }
.shot .fallback { display: none; width: 44%; max-width: 160px; height: auto; color: var(--line-3); }
.shot.noimg img { display: none; }
.shot.noimg .fallback { display: block; }

/* fine-line diagrams */
.dg { width: 100%; height: auto; overflow: visible; }
.dg .c { fill: none; stroke: var(--line-3); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.dg .a { fill: none; stroke: var(--ink); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.dg .k { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dg .f { fill: var(--ink); stroke: none; }
.dg .s { fill: var(--surface); stroke: var(--ink); stroke-width: 1.25; stroke-linejoin: round; }
.dg .g { fill: var(--line); stroke: none; }
.dg .alt { fill: none; stroke: var(--line-3); stroke-width: 1.25; stroke-dasharray: 3 4; stroke-linecap: round; }
.dg .dim { fill: none; stroke: var(--ink-4); stroke-width: 1; }
.dg text { fill: var(--ink-3); font: 400 12px/1 var(--mono); }
.dg text.on { fill: var(--ink); }
.dotgrid { background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 16px 16px; background-position: 8px 8px; }

/* ---- 11. home page ------------------------------------------------------ */
/* first screen: text column, isolated object, utility rail, low monochrome strip */
.hero { position: relative; display: grid; grid-template-rows: 1fr auto; height: clamp(660px, 100svh, 900px); padding-top: var(--site-h); }
.hero > .w { width: 100%; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px) minmax(0, 1fr); align-items: center; width: 100%; padding-bottom: 12px; }
.hero-copy { max-width: 444px; }
.hero-copy h1 { margin-left: -.04em; }
.hero-actions { margin-top: 32px; }
.ln { display: block; overflow: hidden; padding: .06em .08em .14em; margin: -.06em -.08em -.14em; }
.ln > span { display: block; }
.hero-obj { position: relative; display: grid; place-items: center; height: 100%; min-height: 320px; }
.hero-obj .halo { position: absolute; left: 50%; top: 50%; width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .8) 46%, rgba(255, 255, 255, 0) 100%); pointer-events: none; }
.obj-par, .obj-in, .obj-float { display: block; }
.obj-par { position: relative; width: min(100%, 400px); }
.obj-float { position: relative; }
.hero-obj img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.hero-obj .fallback { display: none; width: 192px; height: auto; margin: 0 auto; }
.hero-obj.noimg img { display: none; }
.hero-obj.noimg .fallback { display: block; }
.obj-shadow { position: absolute; left: 50%; bottom: -2%; width: 62%; height: 44px; margin-left: -31%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .2), rgba(0, 0, 0, .08) 55%, rgba(0, 0, 0, 0)); pointer-events: none; }
.hero-rail { display: grid; gap: 8px; justify-self: end; width: min(100%, 356px); color: var(--ink); font: 400 16px/24px var(--sans); }
.hero-strip { display: grid; grid-template-columns: repeat(6, auto); justify-content: space-between; align-items: center; gap: 16px 24px; padding: 0 0 44px; }
.hero-strip li { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 500 14px/20px var(--sans); white-space: nowrap; }
.hero-strip li span { color: var(--ink-3); font-weight: 400; }
.hero-strip svg { width: 20px; height: 20px; flex: none; }

/* tool finder window */
.finder { overflow: hidden; }
.win-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--ink-3); font: 400 12px/20px var(--mono); }
.win-bar .dots { display: flex; gap: 6px; }
.win-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.finder-search { position: relative; display: flex; align-items: center; gap: 12px; padding: 0 16px 0 20px; border-bottom: 1px solid var(--line); }
.finder-search > svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); }
.finder-search input { flex: 1; min-width: 0; height: 64px; padding: 0; border: 0; background: transparent; color: var(--ink); font: 400 20px/28px var(--sans); letter-spacing: -.02em; }
.finder-search input::placeholder { color: var(--ink-4); }
.finder-search input:focus { outline: 0; }
.finder-search:focus-within { box-shadow: inset 0 -1px 0 var(--ink); }
.finder-search input::-webkit-search-cancel-button { display: none; }
.finder-hint { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font: 400 12px/20px var(--sans); white-space: nowrap; }
.finder-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.finder-chips .lbl { align-self: center; margin-right: 4px; color: var(--ink-3); font: 400 14px/20px var(--sans); }
.finder-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 348px); min-height: 448px; }
.finder-list-wrap { position: relative; min-width: 0; }
.finder-list { height: 448px; padding: 8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-3) transparent; }
.finder-list-wrap::after { content: ""; position: absolute; inset: auto 12px 0 0; height: 72px; background: linear-gradient(to top, var(--surface), rgba(255, 255, 255, 0)); pointer-events: none; transition: opacity .3s var(--ease); }
.finder-list-wrap.end::after { opacity: 0; }
.fr { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 14px; gap: 12px; align-items: center; min-height: 56px; padding: 6px 12px 6px 6px; border-radius: var(--r-ctl); color: var(--ink); transition: background-color .1s var(--ease); }
.fr .shot { width: 44px; height: 44px; border-radius: var(--r-panel); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.fr .shot img { transform: scale(1.5); }
.fr b { display: block; font: 500 14px/20px var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr small { display: block; color: var(--ink-3); font: 400 14px/20px var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr .p { color: var(--ink-2); font: 400 12px/20px var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fr > svg { width: 14px; height: 14px; color: var(--ink-4); opacity: 0; transform: translateX(-4px); transition: opacity .15s var(--ease), transform .3s var(--ease-out); }
.fr.on { background: var(--hover); }
.fr.on > svg { opacity: 1; transform: none; color: var(--ink); }
.fr:focus-visible { outline-offset: -2px; }
.finder-empty { padding: 28px 16px; color: var(--ink-2); font: 400 16px/24px var(--sans); }
.finder-empty b { color: var(--ink); font-weight: 500; }
.finder-empty .actions { margin-top: 16px; }
.finder-pre { display: flex; flex-direction: column; gap: 16px; padding: 16px; border-left: 1px solid var(--line); background: var(--bg); min-width: 0; }
.finder-pre .shot { aspect-ratio: 4 / 3; border-radius: var(--r-win); background: var(--surface); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.finder-pre .for { color: var(--ink-3); font: 400 14px/20px var(--sans); }
.finder-pre h3 { margin-top: 2px; font: 450 24px/1.1 var(--sans); letter-spacing: -.05em; }
.finder-pre p { margin-top: 8px; color: var(--ink-2); font: 400 14px/20px var(--sans); }
.finder-pre .spec-list > div { padding: 6px 0; }
.finder-pre .spec-list dd small { display: block; color: var(--ink-3); font: 400 12px/18px var(--mono); }
.finder-pre .buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 4px; }
.finder-pre .buy .p { color: var(--ink); font: 450 20px/28px var(--mono); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.finder-pre .buy .p small { color: var(--ink-3); font: 400 12px/20px var(--mono); letter-spacing: 0; }
.win-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; min-height: 40px; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--ink-3); font: 400 14px/20px var(--sans); }
.win-foot .price-note { font-size: 14px; }

/* three measured figures in pixel numerals */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(64px, 8vw, 120px); }
.stat .pixel { display: block; font-size: clamp(48px, 5vw, 72px); }
.stat p { margin-top: 16px; max-width: 26ch; color: var(--ink-2); font: 400 16px/24px var(--sans); }
.stat p b { color: var(--ink); font-weight: 400; }

/* asymmetric gallery: one tall tile beside two short ones */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 280px; gap: 20px; }
.gtile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 20px; border-radius: var(--r-ctl); background: var(--bg); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); color: var(--ink); isolation: isolate; }
a.gtile { transition: box-shadow .15s var(--ease); }
a.gtile:hover { box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); }
.gtile.tall { grid-row: span 2; }
.gtile .n { position: absolute; left: 20px; top: 16px; z-index: 2; color: var(--ink-4); font: 400 14px/20px var(--sans); font-variant-numeric: tabular-nums; }
.gtile .meta { position: absolute; right: 20px; top: 16px; z-index: 2; color: var(--ink-3); font: 400 12px/20px var(--mono); }
.gtile > .shot { position: absolute; z-index: -1; inset: 12px 8px 12px 38%; }
.gtile.tall > .shot { inset: 40px 4% 100px 4%; }
.gtile:hover > .shot img { transform: translateY(-6px) scale(1.03); }
.gtile h3 { max-width: 12ch; font: 450 24px/1.1 var(--sans); letter-spacing: -.05em; }
.gtile p { max-width: 30ch; margin-top: 6px; color: var(--ink-2); font: 400 14px/20px var(--sans); }
.gtile.tall p { max-width: 44ch; }
/* the folded engineering layer: a blue grid under a lifted corner */
.fold::after { content: ""; position: absolute; right: 0; bottom: 0; z-index: -2; width: 112px; height: 112px; background-image: linear-gradient(to right, rgba(255, 255, 255, .16) 1px, rgba(0, 0, 0, 0) 1px), linear-gradient(rgba(255, 255, 255, .16) 1px, rgba(0, 0, 0, 0) 1px), linear-gradient(var(--blueprint-1), var(--blueprint-2) 160%); background-size: 48px 48px, 48px 48px, 100% 100%; background-position: right 8px bottom 8px, right 8px bottom 8px, 0 0; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18), inset 0 0 24px rgba(0, 0, 0, .14); clip-path: polygon(100% 0, 100% 100%, 0 100%); pointer-events: none; }
.fold .flap { position: absolute; right: 0; bottom: 0; z-index: -1; width: 112px; height: 112px; filter: drop-shadow(4px 6px 10px rgba(0, 0, 0, .16)); pointer-events: none; }
.fold .flap::before { content: ""; position: absolute; inset: 0; background: linear-gradient(-45deg, #ffffff 79.2px, #ebebeb 82.2px, #ffffff 97.2px, #ebebeb 135.2px, #ffffff 158.4px); clip-path: polygon(0 0, 100% 0, 0 100%); border-top-left-radius: 2px; }
.fold .art { position: absolute; z-index: -1; inset: 40px 20px 104px; display: grid; place-items: center; }
.bwin { width: min(100%, 520px); overflow: hidden; transition: transform .6s var(--ease-out); }
.gtile:hover .bwin { transform: translateY(-6px); }
.bwin-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.bwin-stage { display: grid; place-items: center; padding: 12px; border-right: 1px solid var(--line); background: var(--bg); }
.bwin-stage .shot { width: 100%; aspect-ratio: 4 / 3; }
.bwin-ctl { display: grid; gap: 14px; align-content: start; padding: 16px; }
.bwin-ctl .row { display: grid; gap: 8px; }
.bwin-ctl .row span { display: flex; justify-content: space-between; color: var(--ink-3); font: 400 12px/16px var(--mono); }
.bwin-ctl .row span b { color: var(--ink); font-weight: 500; }
.bwin-ctl .bar { position: relative; height: 4px; border-radius: var(--r-panel); background: var(--line); }
.bwin-ctl .bar i { position: absolute; inset: 0 auto 0 0; width: var(--v, 50%); border-radius: var(--r-panel); background: var(--ink); transform-origin: 0 50%; }
.bwin-ctl .bar i::after { content: ""; position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px rgba(0, 0, 0, .16), 0 1px 2px rgba(0, 0, 0, .1); }
.bwin-ctl .total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-3); font: 400 12px/16px var(--mono); }
.bwin-ctl .total b { color: var(--ink); font: 450 20px/24px var(--mono); letter-spacing: -.06em; }

/* any-brand fit: one manipulable drawing */
.fit { position: relative; overflow: hidden; }
.fit-draw { position: relative; padding: 24px 24px 0; }
.fit-draw::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, var(--bg), rgba(250, 250, 250, 0) 14%, rgba(250, 250, 250, 0) 86%, var(--bg)); pointer-events: none; }
.fit-draw svg { position: relative; z-index: 1; }
.fit-ctl { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 20px 24px; border-top: 1px solid var(--line-2); background: var(--bg); }
.fit-read { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.fit-read .pixel { font-size: 56px; }
.fit-read .pixel small { margin-left: 4px; font-size: 20px; }
.fit-read .in { color: var(--ink-3); font: 400 12px/20px var(--mono); }
.fit-range { display: grid; gap: 4px; }
.fit-range .scale { display: flex; justify-content: space-between; color: var(--ink-4); font: 400 12px/16px var(--mono); }
.fit-presets { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }

/* five mounts in one shared frame */
.mounts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: var(--r-panel); }
.mount { display: flex; flex-direction: column; padding: 24px; border-right: 1px solid var(--line-2); transition: background-color .3s var(--ease); }
.mount:last-child { border-right: 0; }
.mount:hover { background: var(--surface); }
.mount .dg { margin: 0 auto 24px; max-width: 240px; }
.mount h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font: 500 16px/24px var(--sans); letter-spacing: -.01em; }
.mount h3 small { color: var(--ink-3); font: 400 12px/20px var(--mono); white-space: nowrap; }
.mount p { margin-top: 8px; color: var(--ink-2); font: 400 14px/20px var(--sans); }
.mount .best { margin-top: auto; padding-top: 16px; color: var(--ink-3); font: 400 14px/20px var(--sans); }
.mounts-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 24px; }

/* ordering: the one dark inset */
.assure { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 112px 48px; }
.assure .lead { grid-column: span 6; align-self: center; }
.assure h2 { font-weight: 450; font-size: clamp(36px, 4.45vw, 64px); line-height: 1; letter-spacing: -.06em; max-width: 8em; text-wrap: balance; }
.assure .actions { margin-top: 32px; }
.assure .steps3 { grid-column: 8 / span 5; display: grid; gap: 40px; align-content: center; counter-reset: s; }
.steps3 li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; counter-increment: s; }
.steps3 li::before { content: counter(s, decimal-leading-zero); color: #7d7d7d; font: 400 14px/28px var(--mono); }
.steps3 h3 { color: var(--night-ink); font: 450 20px/28px var(--sans); letter-spacing: -.03em; }
.steps3 p { margin-top: 6px; max-width: 44ch; color: var(--night-ink-2); font: 400 16px/24px var(--sans); }

/* starter kits: columns in one frame with shared dividers */
.kits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: var(--r-panel); }
.kit { display: flex; flex-direction: column; padding: 32px; border-right: 1px solid rgba(0, 0, 0, .08); min-width: 0; }
.kit:last-child { border-right: 0; }
.kit .lbl { display: flex; align-items: center; gap: 8px; font: 500 16px/24px var(--sans); }
.kit .sum { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.kit .sum b { font: 450 clamp(40px, 3.9vw, 56px)/1 var(--sans); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.kit .sum small { color: var(--ink-3); font: 400 12px/20px var(--mono); }
.kit > p { margin-top: 16px; min-height: 48px; color: var(--ink-2); font: 400 16px/24px var(--sans); }
.kit ul { margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line); }
.kit li a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 48px; padding: 4px 6px 4px 4px; margin: 0 -6px 0 -4px; border-radius: var(--r-ctl); transition: background-color .1s var(--ease); }
.kit li a:hover { background: var(--hover); }
.kit li .shot { width: 36px; height: 36px; }
.kit li .shot img { transform: scale(1.5); }
.kit li b { display: block; font: 400 14px/20px var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kit li small { display: block; color: var(--ink-3); font: 400 12px/16px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kit li .p { color: var(--ink-2); font: 400 12px/20px var(--mono); font-variant-numeric: tabular-nums; }
.kit .foot { margin-top: auto; padding-top: 24px; }

/* questions: title in its own column */
.qa { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.qa > .lead-col { grid-column: span 5; position: sticky; top: calc(var(--site-h) + 32px); }
.qa > .faq { grid-column: 6 / span 7; max-width: 802px; width: 100%; justify-self: end; }
.qa .body-l { margin-top: 24px; max-width: 34ch; }
html.m .faq details[open] .a { animation: faq-in .3s var(--ease-out) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* closing thought in a deep field of space */
.closing { padding: clamp(112px, 19.2vw, 276px) 0; text-align: center; }
.closing h2 { max-width: 16ch; margin: 0 auto; }
.closing .actions { justify-content: center; margin-top: 40px; }

/* ---- 12. shop page ------------------------------------------------------ */
.page-hero { padding: calc(var(--site-h) + clamp(56px, 8.4vw, 120px)) 0 clamp(40px, 5vw, 72px); }
.page-hero h1 { font-weight: 450; max-width: 12ch; }
.page-hero .body-l { margin-top: 24px; }
.page-hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.page-hero-grid > :first-child { grid-column: span 7; }
.page-hero-grid > :last-child { grid-column: 9 / span 4; }
.jump { position: sticky; top: var(--site-h); z-index: 20; background: rgba(250, 250, 250, .86); -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.jump-in { display: flex; align-items: center; gap: 4px; height: 48px; overflow-x: auto; scrollbar-width: none; }
.jump-in::-webkit-scrollbar { display: none; }
.jump a { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: var(--r-ctl); color: var(--ink-2); font: 400 14px/20px var(--sans); white-space: nowrap; transition: color .15s var(--ease), background-color .15s var(--ease); }
.jump a:first-child { margin-left: -12px; }
.jump a:hover { color: var(--ink); background: rgba(0, 0, 0, .04); }
.jump a[aria-current="true"] { color: var(--ink); background: rgba(0, 0, 0, .05); }
.jump a i { color: var(--ink-4); font: 400 12px/20px var(--mono); font-style: normal; }
.cat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: clamp(56px, 6.7vw, 96px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--site-h) + 48px); }
.cat:last-of-type { border-bottom: 0; }
.cat-head { grid-column: span 3; align-self: start; position: sticky; top: calc(var(--site-h) + 80px); }
.cat-head .n { display: block; margin-bottom: 12px; color: var(--ink-4); font: 400 14px/20px var(--sans); font-variant-numeric: tabular-nums; }
.cat-head h2 { font: 450 clamp(28px, 2.8vw, 40px)/1.05 var(--sans); letter-spacing: -.06em; max-width: 9ch; }
.cat-head p { margin-top: 16px; max-width: 30ch; color: var(--ink-2); font: 400 16px/24px var(--sans); }
.cat-head .cap { display: block; margin-top: 16px; }
.pgrid { grid-column: 4 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pgrid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pgrid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* product card: 2px structural frame holding a softer 12px window */
.pcard { position: relative; display: flex; flex-direction: column; padding: 8px; border: 1px solid var(--line-2); border-radius: var(--r-panel); background: var(--bg); transition: border-color .15s var(--ease), background-color .3s var(--ease); }
.pcard:hover { border-color: var(--line-3); }
.pcard .shot, .pcard-img { aspect-ratio: 4 / 3; border-radius: var(--r-win); background: var(--surface); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.pcard:hover .shot img { transform: translateY(-4px) scale(1.04); }
.pcard-txt { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 12px 12px; }
.pcard h3 { font: 450 20px/24px var(--sans); letter-spacing: -.04em; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-panel); }
.pcard h3 a:focus-visible { outline: 0; }
.pcard h3 a:focus-visible::after { outline: 2px solid var(--blue); outline-offset: 2px; }
.pcard p { color: var(--ink-2); font: 400 14px/20px var(--sans); }
.pcard .presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pcard .presets a { position: relative; z-index: 2; display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--hair); color: var(--ink-2); font: 400 12px/20px var(--sans); white-space: nowrap; transition: color .15s var(--ease), box-shadow .15s var(--ease); }
.pcard .presets a:hover { color: var(--ink); box-shadow: 0 0 0 1px var(--line-3); }
.pcard .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.pcard .from { color: var(--ink-2); font: 400 12px/20px var(--mono); font-variant-numeric: tabular-nums; }
.pcard .from b { color: var(--ink); font-weight: 500; }
.pcard .from .per { color: var(--ink-3); }
.pcard .foot .from { min-width: 0; }
.pcard .foot .go { flex: none; }   /* what the price buys, for parts sold as a set */
.pnum { color: var(--ink-4); font: 400 12px/20px var(--mono); }
.shop-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 96px 0; }
.shop-end h2 { max-width: 14ch; }

/* ---- 13. 404 ------------------------------------------------------------ */
.lost { display: grid; grid-template-columns: auto minmax(0, 520px); gap: 24px 72px; align-items: center; justify-content: center; min-height: 100svh; padding: calc(var(--site-h) + 72px) 0 144px; }
.lost .pixel { color: var(--ink); font: 400 clamp(72px, 10vw, 110px)/96px var(--pixel); letter-spacing: -.03em; }
.lost p { font: 400 24px/36px var(--sans); color: var(--ink-2); }
.lost p b { color: var(--ink); font-weight: 400; }
.lost .actions { margin-top: 32px; }

/* ---- 14. motion ---------------------------------------------------------
   Everything here is gated on html.m, a class set by a small inline script in
   the page head and removed again if the motion module never starts. Without
   it, and under reduced motion, every element is simply in its final state. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; animation-timing-function: var(--ease); }

html.m { scroll-behavior: smooth; }
html.m .rv:not(.done) { transition: opacity .9s var(--ease-slide), transform .9s var(--ease-slide); transition-delay: calc(var(--i, 0) * 70ms); }
html.m .rv:not(.in) { opacity: 0; transform: translate3d(0, 20px, 0); }
html.m .rv[data-rv="fade"]:not(.in) { transform: none; }
html.m .rv[data-rv="rise"]:not(.in) { transform: translate3d(0, 40px, 0); }
.rv.in { opacity: 1; transform: none; }

/* drawn lines: paths carry pathLength="1" */
html.m .draw .d { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.25s var(--ease-slide) calc(.15s + var(--i, 0) * 70ms + var(--j, 0) * 90ms); }
html.m .draw:not(.in) .d, html.m .rv:not(.in) .draw .d { stroke-dashoffset: 1; }
html.m .draw .o { transition: opacity .6s var(--ease) calc(.7s + var(--i, 0) * 70ms + var(--j, 0) * 90ms); }
html.m .draw:not(.in) .o, html.m .rv:not(.in) .draw .o { opacity: 0; }

/* first screen: load sequence, then a slow float */
html.m .hero .ln > span { animation: line-up 1.1s var(--ease-slide) both; animation-delay: calc(.1s + var(--i, 0) * .1s); }
html.m .hero-actions { animation: fade-up .9s var(--ease-slide) .42s both; }
html.m .hero .halo { animation: fade 1.6s var(--ease) both; }
html.m .obj-in { animation: obj-in 1.5s var(--ease-slide) .15s both; }
html.m .obj-float { animation: float 9s ease-in-out 1.7s infinite alternate; }
html.m .obj-shadow { animation: fade 1.4s var(--ease) .5s both, shadow 9s ease-in-out 1.7s infinite alternate; }
html.m .hero-rail li { animation: fade-up .9s var(--ease-slide) both; animation-delay: calc(.6s + var(--i, 0) * .1s); }
html.m .hero-strip li { animation: fade .9s var(--ease) both; animation-delay: calc(.95s + var(--i, 0) * .06s); }
html.m .page-hero .ln > span { animation: line-up 1.1s var(--ease-slide) both; animation-delay: calc(.1s + var(--i, 0) * .1s); }
html.m .page-hero .after { animation: fade-up .9s var(--ease-slide) .4s both; }
html.m .nav { animation: fade .6s var(--ease) both; }
html.m .lost > * { animation: fade-up .9s var(--ease-slide) both; }
html.m .lost > :last-child { animation-delay: .12s; }
@keyframes line-up { from { transform: translate3d(0, 108%, 0); } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 16px, 0); } }
@keyframes fade { from { opacity: 0; } }
@keyframes obj-in { from { opacity: 0; transform: translate3d(0, 28px, 0) scale(.94); } }
@keyframes float { from { transform: translate3d(0, 5px, 0); } to { transform: translate3d(0, -7px, 0); } }
@keyframes shadow { from { transform: scale(1.03); } to { transform: scale(.92); } }

/* finder rows settle in when the list changes */
html.m .finder-list.fresh .fr { animation: fade-up .45s var(--ease-out) both; animation-delay: calc(min(var(--i, 0), 8) * 28ms); }
html.m .finder-pre.swap > * { animation: fade .3s var(--ease) both; }
html.m .finder-pre.swap .shot img { animation: obj-in .6s var(--ease-out) both; }
html.m .bwin-ctl .bar i { transition: transform .5s var(--ease-bar); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .rv { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---- 15. responsive ----------------------------------------------------- */
@media (max-width: 1240px) {
  .nav-tel { display: none; }
  .mounts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mount { border-bottom: 1px solid var(--line-2); }
  .mount:nth-child(3n) { border-right: 0; }
  .mount:nth-child(n + 4) { border-bottom: 0; }
  .kits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kit:nth-child(2n) { border-right: 0; }
  .kit:nth-child(-n + 2) { border-bottom: 1px solid rgba(0, 0, 0, .08); }
  .assure { padding: 88px 40px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-tog { display: block; }
  .hero { height: auto; min-height: 0; }
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; padding: 72px var(--gut) 24px; }
  .hero-copy { grid-column: 1 / -1; max-width: 560px; }
  .hero-obj { min-height: 0; height: auto; padding: 24px 0 40px; }
  .hero-obj .halo { width: 460px; height: 460px; margin: -230px 0 0 -230px; }
  .hero-rail { justify-self: start; align-self: center; width: auto; }
  .hero-strip { grid-template-columns: repeat(3, auto); padding-bottom: 56px; }
  .show > .media, .show > .proof, .show.flip > .media, .show.flip > .proof { grid-column: 1 / -1; order: 0; padding: 0; }
  .show, .qa, .cat, .assure { grid-template-columns: minmax(0, 1fr); }
  .show { gap: 40px; }
  .proof .h-md { max-width: 32ch; }
  .ticks { margin-top: 24px; }
  .cat-head { grid-column: 1 / -1; position: static; }
  .cat-head h2, .cat-head p { max-width: none; }
  .pgrid { grid-column: 1 / -1; }
  .qa > .lead-col { grid-column: 1 / -1; position: static; }
  .qa > .faq { grid-column: 1 / -1; max-width: none; }
  .assure .lead { grid-column: 1 / -1; }
  .assure .steps3 { grid-column: 1 / -1; margin-top: 32px; }
  .assure h2 { max-width: 9em; }
}
@media (max-width: 900px) {
  .blk { padding: 88px 0; }
  .blk.tight { padding: 64px 0; }
  .sec-head, .chap-head, .page-hero-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .page-hero-grid { margin-bottom: 0; }
  .sec-head > *, .chap-head > .lead-col, .chap-head > .body-l, .page-hero-grid > :first-child, .page-hero-grid > :last-child { grid-column: auto; }
  .chap-head h2 { max-width: 16ch; }
  .gallery { grid-template-columns: 1fr; }
  .gtile.tall { grid-row: span 2; }
  .finder-body { grid-template-columns: 1fr; min-height: 0; }
  .finder-pre { display: none; }
  .finder-hint { display: none; }
  .pgrid, .pgrid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit-ctl { grid-template-columns: 1fr; }
  .lost { grid-template-columns: 1fr; justify-content: start; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  .blk { padding: 72px 0; }
  .blk.tight { padding: 48px 0; }
  .nav-in { gap: 12px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { display: none; }
  .logo small { display: none; }
  .nav-tog, .cart-btn { height: 40px; }
  .nav-tog { width: 40px; }
  .cart-btn { padding: 0 8px 0 10px; }
  .btn.sm, .chip, .icon-btn, .stepper.sm { min-height: 40px; }
  .icon-btn { min-width: 40px; }
  .hero-in { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-obj { padding: 8px 0 24px; }
  .obj-par { width: min(100%, 320px); }
  .hero-obj .halo { width: 360px; height: 360px; margin: -180px 0 0 -180px; }
  .hero-rail { padding-bottom: 8px; }
  .hero-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: start; gap: 14px 16px; padding-bottom: 48px; }
  .hero-strip li { position: relative; display: block; padding-left: 30px; white-space: normal; }
  .hero-strip li svg { position: absolute; left: 0; top: 0; }
  .hero-strip li span { display: block; }
  .body-l, .subline { font-size: 16px; line-height: 24px; }
  .finder-search input { height: 56px; font-size: 18px; }
  .finder-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .finder-chips::-webkit-scrollbar { display: none; }
  .finder-list { height: 400px; }
  .fr { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .fr > svg { display: none; }
  .stats { grid-template-columns: 1fr; gap: 40px; }
  .gallery { grid-auto-rows: 240px; gap: 16px; }
  .gtile > .shot { inset: 36px 0 76px 34%; }
  .gtile.tall > .shot { inset: 40px 0 108px 0; }
  .bwin-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .bwin-stage { padding: 6px; }
  .bwin-ctl { gap: 12px; padding: 12px; }
  .fold .art { inset: 44px 12px 116px; }
  .gtile.fold h3, .gtile.fold p { max-width: calc(100% - 100px); }
  .fit-draw text { font-size: 17px; }
  .mount .dg text { display: none; }
  .fit-draw { padding: 16px 8px 0; }
  .fit-ctl { padding: 16px; }
  .fit-read .pixel { font-size: 44px; }
  .mounts { grid-template-columns: 1fr; }
  .mount { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 16px; padding: 20px 16px; border-right: 0; border-bottom: 1px solid var(--line-2) !important; }
  .mount:last-child { border-bottom: 0 !important; }
  .mount .dg { grid-row: 1 / span 3; margin: 0; }
  .mount .best { padding-top: 8px; }
  .assure { padding: 56px 20px; }
  .steps3 li { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
  .kits { grid-template-columns: 1fr; }
  .kit { padding: 24px 20px; border-right: 0; border-bottom: 1px solid rgba(0, 0, 0, .08); }
  .kit:last-child { border-bottom: 0; }
  .kit > p { min-height: 0; }
  .faq summary { grid-template-columns: 24px minmax(0, 1fr) 16px; gap: 12px; padding: 16px 8px; font-size: 17px; line-height: 1.5; }
  .faq summary::after { margin-top: 7px; }
  .faq .a { padding: 0 8px 20px 44px; }
  .pgrid, .pgrid.four, .pgrid.two { grid-template-columns: 1fr; gap: 16px; }
  .jump a:first-child { margin-left: -8px; }
  .jump a { height: 40px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .footer li { margin-bottom: 0; }
  .footer li a, .footer li span { padding: 10px 2px; margin: 0 -2px; }
  .footer h3 { margin-bottom: 4px; }
  .foot-id { margin-top: 40px; }
  .shop-end { padding: 72px 0; }
  .lost .pixel { line-height: 1; }
  .lost p { font-size: 20px; line-height: 30px; }
}
@media (pointer: coarse) {
  .nav .btn, .cart-btn, .nav-tog { min-height: 40px; }
  .nav-tog { min-width: 40px; }
  .btn.sm, .chip, .icon-btn { min-height: 40px; }
  .icon-btn { min-width: 40px; }
  .pcard .presets a { height: 32px; padding: 0 12px; }
}

/* ==========================================================================
   Review round 1
   ========================================================================== */
/* capsules follow the reference table: 40px tall, 12px side padding, at every size */
.btn { padding: 0 12px; }
.btn.lg { height: 40px; padding: 0 12px; }
.drawer .btn { padding: 0 12px; }
/* the shop's closing block keeps the shared page margin */
.shop-end { padding: 96px var(--gut); }
/* notes stay inside the neutral palette: no amber or green fills */
.note.warn, .note.ok { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); }
.note.warn svg, .note.ok svg { color: var(--ink); }
.note strong { color: var(--ink); font-weight: 500; }
/* the hero glow sits behind the copy, never over a button */
.hero-obj { z-index: 0; }
.hero-copy, .hero-rail, .hero-strip { position: relative; z-index: 1; }
/* a short result list no longer leaves a tall empty pane */
.finder-body { min-height: 0; }
.finder-list { height: auto; max-height: 448px; }
/* gallery meta stays legible where it crosses a render */
.gtile .meta { z-index: 2; padding: 1px 6px; margin: -1px -6px; border-radius: var(--r-panel); background: rgba(250, 250, 250, .88); }
@media (hover: none) { .kb-only { display: none !important; } }
@media (max-width: 980px) { .shop-end { padding: 72px var(--gut); } .finder-list { max-height: 400px; } }
.pcard-note { display: flex; align-items: flex-end; background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); min-height: 0; }
.pcard-note h3 { font: 450 24px/32px var(--sans); letter-spacing: -.04em; max-width: 20ch; }
.pcard-note p { max-width: 52ch; }
@media (max-width: 980px) { .pcard-note { grid-column: auto !important; } }

/* ---- review round 2 ---- */
.cat { scroll-margin-top: calc(var(--site-h) + 64px); }
.kit li a b, .kit li a span { overflow-wrap: anywhere; }

/* ---- review round 2, second pass ---- */
b, strong { font-weight: 500; }                                   /* the system never uses bold */
@media (min-width: 981px) { .shop-end h2 { line-height: 56px; } }
.input, .select, .textarea { font-size: 16px; line-height: 24px; }
.note, .field .hint, .chip { font-size: 14px; line-height: 20px; }
.seg button small, .tile small { font-size: 12px; }
.stepper input { font-size: 16px; }
/* corners come from the radius table: 2, 6 or 12 px, or a full capsule */
.seg button, .tag { border-radius: var(--r-panel); }
.gtile .meta { border-radius: var(--r-panel); }
/* gallery renders start below the label row */
@media (min-width: 981px) { .gtile > .shot { inset: 44px 8px 12px 38%; } .gtile.tall > .shot { inset: 48px 4% 100px 4%; } }
/* the companion card in a short shop section: one edge, text where a card's text sits */
.pcard-note { box-shadow: none; align-items: stretch; }
.pcard-note .pcard-txt { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 16px; margin: 0; }
.pcard-note .foot { margin-top: 8px; }
@media (min-width: 981px) {
  /* the result list fills the pane beside it, with no dead band below */
  .finder-list-wrap { min-height: 448px; }
  .finder-list { position: absolute; inset: 0; max-height: none; }
}

/* ---- review round 3 ---- */
.pcard-note .pcard-txt { justify-content: flex-start; }
@media (max-width: 980px) {
  /* phone gallery: the render gets its own band above the words, never behind them */
  .gtile:not(.fold) { justify-content: flex-start; padding-top: 0; }
  .gtile:not(.fold) > .shot, .gtile.tall:not(.fold) > .shot { position: relative; z-index: 0; inset: auto; display: block; height: 150px; margin: 44px 0 12px; }
  .gtile > .shot img { width: 100%; height: 100%; object-fit: contain; }
}

/* ---- review round 3, second pass ---- */
/* a rule that uses the font shorthand resets font features, so they are set on every element */
*, *::before, *::after { font-feature-settings: "calt" 0, "rlig" 1, "ss11" 1 !important; }
.pcard .from .std { color: var(--ink-3); }   /* wraps: a set's line ("standard build $27.38 for 5 hooks and fobs") is longer than a card is wide on a phone */

/* ---- review round 4 ---- */
.pcard .from .std { display: block; }
.kit li b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---- review round 4, second pass ---- */
@media (min-width: 981px) { .pcard-note { grid-column: auto !important; } }      /* a normal-width card, not a wide empty frame */
@media (max-width: 980px) {
  .gallery { grid-auto-rows: auto; }
  .gtile.tall:not(.fold) { grid-row: auto; }
}
@media (max-width: 980px) { .gtile.fold { min-height: 496px; } }   /* the builder tile keeps the two-row height its layout was drawn for */
