/* header: charcoal bar, the crimson badge at a size that reads, the main action stays crimson */
:root { --nav: 84px; }
@media (max-width: 1023px) { :root { --nav: 68px; } }
.nav__logo { gap: 0; }
.nav__logo .brand-logo, .footer .brand-logo { display: block; height: 58px; width: auto; border-radius: 3px; }
@media (max-width: 1023px) { .nav__logo .brand-logo { height: 46px; } }
.nav--tone { --action: var(--p-action); --action-ink: var(--p-action-ink); border-bottom: 0; }
.nav--tone .nav__link { font-weight: 500; }
.nav__phone { font-variant-numeric: tabular-nums; }
@media (max-width: 1199px) and (min-width: 1024px) { .nav__phone { display: none; } }

/* home hero: the headline stays on the dark shed wall; on a tablet or phone the words sit on charcoal under the photo */
.frame__img.is-contain { object-fit: contain; padding: var(--s-6); }

.crumbs { color: var(--muted); margin-bottom: var(--s-3); }
.crumbs a { color: inherit; }

.search-box { margin-top: var(--s-7); max-width: 760px; display: grid; gap: var(--s-2); }
.search-box__row { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.search-box__row > :is(input, select) { flex: 1 1 280px; height: 52px; padding: 0 var(--s-4); border: 1px solid var(--line-strong, var(--line)); border-radius: var(--r-md); background: var(--surface); color: var(--ink); font: 400 16px/1 var(--font-text); }
.search-status { margin-top: var(--s-4); }
.search-results, .parts-intro { margin-top: var(--s-6); }

.cat-grid { row-gap: var(--s-7); }
.cat-grid .tile__media { --tile-ratio: 4 / 3; }
.rows-cols { columns: 2; column-gap: var(--s-8, 64px); }
.rows-cols > li, .rows-cols .rows > li { break-inside: avoid; }
@media (max-width: 1023px) { .rows-cols { columns: 1; } }
.cat-grid .tile > p { font-size: var(--t-small); color: var(--muted); }
@media (max-width: 1023px) { .grid > .tile.span-2 { grid-column: auto / span 4; } }
@media (max-width: 639px) { .grid > .tile.span-2 { grid-column: auto / span 6; } }

.dealer-list { margin-top: var(--s-7); row-gap: var(--s-6); list-style: none; padding: 0; }
.dealer { border-top: 1px solid var(--line); padding-top: var(--s-4); display: grid; gap: var(--s-1); }
.dealer h3 { font: 500 var(--t-card)/1.3 var(--font-text); }
@media (max-width: 1023px) { .dealer-list > .dealer { grid-column: auto / span 6; } }

.doc-index .rows__value { text-align: right; line-height: 1.9; }
.checklist .rows__name { font-variant-numeric: tabular-nums; }
.kit-price { font: 500 var(--t-card)/1 var(--font-text); }

.spin { position: relative; background: var(--g-alt); }
.spin__replay { position: absolute; right: var(--s-5); bottom: var(--s-5); }
.quote-grid { align-items: start; }
.quote-photo { aspect-ratio: 4 / 3; margin-top: var(--s-5); }

#machines .tile__media { --tile-ratio: 5 / 6; }

/* featured line-up: cut-outs standing on the page ground, no panels */
.lineup { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); align-items: start; }
@media (max-width: 639px) { #qr .mo-pc__visual img { aspect-ratio: 16 / 9; object-fit: cover; } }
.lineup__item a { display: grid; gap: var(--s-3); color: inherit; text-decoration: none; }
.lineup__item img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; transition: transform 600ms var(--ease); }
.lineup__item h3 { font: 500 var(--t-card)/1.3 var(--font-text); border-top: 1px solid var(--line); padding-top: var(--s-4); }
.lineup__item p { color: var(--ink); font-size: var(--t-small); }
@media (hover: hover) and (pointer: fine) { .lineup__item a:hover img { transform: translateY(-4px); } }
@media (max-width: 1023px) { .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-7); } }

/* values Jeff has not confirmed carry a small tag */
.sample-tag { display: inline-block; margin-left: var(--s-2); padding: 1px 8px; border-radius: 999px; font-size: var(--t-label); font-weight: 500; line-height: 20px; background: var(--g-alt); color: var(--muted); vertical-align: 2px; white-space: nowrap; }

.nav__search { position: relative; }
.nav__search form { position: relative; display: flex; align-items: center; }
.nav__search input {
  width: 300px; height: 44px; padding: 0 40px 0 42px; border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--p-inv-ink) 16%, transparent);
  background: color-mix(in oklab, var(--p-inv-ink) 7%, transparent); color: var(--p-inv-ink);
  font: 400 15px/1 var(--font-text); transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), width 220ms var(--ease);
}
.nav__search input::placeholder { color: color-mix(in oklab, var(--p-inv-ink) 60%, transparent); }
.nav__search input:hover { border-color: color-mix(in oklab, var(--p-inv-ink) 32%, transparent); }
.nav__search input:focus { outline: none; background: var(--p-bg); border-color: var(--p-bg); color: var(--p-ink); }
.nav__search input:focus::placeholder { color: var(--p-muted); }
.nav__search input:focus-visible { box-shadow: 0 0 0 3px color-mix(in oklab, var(--p-accent) 60%, transparent); }
.nav__search input::-webkit-search-cancel-button { appearance: none; }
.nav__search-icon { position: absolute; left: 15px; width: 18px; height: 18px; color: color-mix(in oklab, var(--p-inv-ink) 72%, transparent); pointer-events: none; }
.nav__search:focus-within .nav__search-icon { color: var(--p-muted); }
.nav__search-key {
  position: absolute; right: 12px; min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px;
  border: 1px solid color-mix(in oklab, var(--p-inv-ink) 24%, transparent); font: 500 12px/1 var(--font-text);
  color: color-mix(in oklab, var(--p-inv-ink) 68%, transparent); pointer-events: none;
}
.nav__search:focus-within .nav__search-key { display: none; }
.nav__search-panel {
  position: absolute; top: calc(100% + 12px); left: 0; width: min(440px, calc(100vw - 2 * var(--gut))); z-index: 60;
  padding: 8px; border-radius: 14px; background: var(--p-bg); color: var(--p-ink);
  border: 1px solid color-mix(in oklab, var(--p-ink) 9%, transparent);
  box-shadow: 0 22px 50px -14px rgb(20 18 16 / 0.38);
}
.nav__search-panel[hidden] { display: none; }
.nav__search-hit { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px; border-radius: 10px; }
.nav__search-hit.is-active { background: var(--p-surface); }
@media (hover: hover) and (pointer: fine) { .nav__search-hit:hover { background: var(--p-surface); } }
.nav__search-thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: #fff; }
.nav__search-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.nav__search-text { display: grid; gap: 3px; min-width: 0; }
.nav__search-name { font-weight: 600; font-size: 15px; line-height: 1.25; }
.nav__search-meta { font-size: 13px; color: var(--p-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav__search-all {
  display: flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 0 8px;
  border-top: 1px solid color-mix(in oklab, var(--p-ink) 9%, transparent); font-size: 14px; font-weight: 600; color: var(--p-accent);
}
.nav__search-empty { padding: 12px 8px; font-size: 14px; line-height: 1.45; color: var(--p-muted); }

.nav--tone .nav__menu {
  --bg: var(--p-inv-bg); --ink: var(--p-inv-ink); --muted: var(--p-inv-muted); --action: var(--p-inv-ink);
  --line: color-mix(in oklab, var(--p-inv-ink) 14%, transparent);
}
.mm { display: grid; grid-template-columns: minmax(230px, 300px) minmax(0, 1fr); grid-template-rows: repeat(4, auto) 1fr; column-gap: clamp(32px, 5vw, 80px); }
.mm__item { display: contents; }
.mm__machine {
  grid-column: 1; position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); padding: 15px 0 15px 18px;
  border-bottom: 1px solid var(--line); font: 700 clamp(22px, 1.9vw, 27px)/1.1 var(--font-display); font-stretch: 110%; letter-spacing: -0.015em;
  color: color-mix(in oklab, var(--p-inv-ink) 52%, transparent); transition: color 140ms ease;
}
.mm__machine::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: var(--p-accent); transform: scaleY(0); transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1); }
.mm__count { font: 500 13px/1 var(--font-text); font-stretch: 100%; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--muted); }
.mm__item.is-active > .mm__machine { color: var(--p-inv-ink); }
.mm__item.is-active > .mm__machine::before { transform: none; }
.mm__machine:focus-visible { outline: 2px solid var(--p-inv-ink); outline-offset: 2px; }
.mm__pane {
  grid-column: 2; grid-row: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); column-gap: clamp(24px, 3vw, 56px); align-items: start;
  visibility: hidden; opacity: 0; transition: opacity 140ms ease-out, visibility 0s linear 140ms;
}
/* WARN: inherit, never visible: a visible child of the closed menu still takes the pointer and opens it. */
.mm__item.is-active > .mm__pane { visibility: inherit; opacity: 1; transition-delay: 0s; }
.mm__cats { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: var(--s-6); }
.mm__cats li { break-inside: avoid; }
.mm__cats a { display: flex; align-items: center; min-height: 36px; font-size: 15px; color: color-mix(in oklab, var(--p-inv-ink) 86%, transparent); transition: color 140ms ease; }
.mm__cats a:hover, .mm__cats a:focus-visible { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.mm__shot { display: grid; gap: var(--s-3); font-size: 15px; font-weight: 600; }
.mm__media { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #edeae8; }
.mm__media img {
  width: auto; height: auto; max-width: 88%; max-height: 88%; transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.mm__more { display: inline-flex; align-items: center; gap: var(--s-2); }
.mm__more svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .mm__shot:hover .mm__media img { transform: scale(1.04); } }
@media (max-width: 1199px) { .mm__cats { columns: 2; } .mm__pane { grid-template-columns: minmax(0, 1fr) 220px; } }
.mega__foot { display: flex; align-items: center; gap: var(--s-7); margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: 15px; }
.mega__foot a { transition: color 160ms var(--ease); }
.mega__foot a:hover { color: var(--action); }
.mega__feature { display: inline-flex; align-items: center; gap: var(--s-3); margin-right: auto; font-weight: 600; }
.mega__feature svg { width: 16px; height: 16px; }
.mega__new { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--p-accent); color: #fff; font: 600 12px/1 var(--font-text); letter-spacing: 0.02em; }
@media (min-width: 1024px) {
  .nav__item--mega > .nav__menu { padding: var(--s-6) 0 var(--s-5); box-shadow: 0 30px 60px -30px rgb(20 18 16 / 0.45); }
}

@media (min-width: 1024px) and (max-width: 1359px) {
  .nav__search form { width: 44px; height: 44px; }
  .nav__search input { position: absolute; top: 0; right: 0; width: 44px; padding: 0; color: transparent; cursor: pointer; }
  .nav__search input::placeholder { color: transparent; }
  .nav__search-icon { left: auto; right: 13px; z-index: 3; }
  .nav__search-key { display: none; }
  .nav__search:focus-within input { z-index: 2; width: 320px; padding: 0 44px 0 18px; color: var(--p-ink); cursor: text; }
  .nav__search:focus-within input::placeholder { color: var(--p-muted); }
  .nav__search-panel { left: auto; right: 0; }
}
.closing.ground-inverse { --action: var(--p-action); --action-ink: var(--p-action-ink); }

.hero.hero--product.hero--family .hero__stage:has(> picture) {
  margin-inline: 0; margin-top: var(--s-6); margin-bottom: calc(var(--s-5) - var(--hpadb, 64px));
  border-radius: 0; background: none; overflow: visible;
}
@media (max-width: 639px) {
  .hero.hero--product.hero--family .hero__stage:has(> picture) { flex: 1 1 auto; aspect-ratio: auto; min-height: 260px; margin-bottom: 0; margin-inline: calc(0px - var(--gut)); }
}
.hero--family .hero__stage > picture { position: absolute; inset: 0; display: block; }
.hero--family .hero__stage > picture > img { width: 100%; height: 100%; max-width: none; object-fit: contain; padding: 2% 0 0; }

html { -webkit-tap-highlight-color: transparent; }
:where(a, button, [role="tab"]) { touch-action: manipulation; }
@media (pointer: coarse) { input, select, textarea { font-size: 16px; } }

.dock { display: none; }
dialog.sheet { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: none; color: inherit; overflow: hidden; overflow: clip; }
dialog.sheet::backdrop { background: none; }
.sheet__scrim { position: absolute; inset: 0; background: rgb(0 0 0 / 0.6); opacity: 0; transition: opacity 350ms cubic-bezier(0.32, 0.72, 0, 1); }
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: var(--kb, 0px); display: flex; flex-direction: column; max-height: min(calc(var(--vvh, 100dvh) - 56px), 780px); margin-inline: auto; max-width: 560px;
  border-radius: 24px 24px 0 0; background: var(--p-inv-bg); color: var(--p-inv-ink); outline: none; box-shadow: 0 100vh 0 0 var(--p-inv-bg);
  transform: translateY(100%); transition: transform 350ms cubic-bezier(0.32, 0.72, 0, 1);
}
.sheet.is-open .sheet__scrim { opacity: 1; transition-duration: 500ms; }
.sheet.is-open .sheet__panel { transform: none; transition-duration: 500ms; }
.sheet[data-swiping] :is(.sheet__panel, .sheet__scrim) { transition: none; }
.sheet.is-search .sheet__panel { height: calc(var(--vvh, 100dvh) - 10px); max-height: none; }
.sheet__grab { flex: none; display: grid; place-items: center; height: 34px; cursor: grab; touch-action: none; }
.sheet__handle { width: 40px; height: 4px; border-radius: 999px; background: color-mix(in oklab, var(--p-inv-ink) 34%, transparent); }
.sheet__top { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2); align-items: center; padding: 0 var(--s-4) var(--s-4) var(--s-5); }
.sheet__search form { width: 100%; }
.sheet__search input { width: 100%; height: 48px; font-size: 16px; }
.sheet__close { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in oklab, var(--p-inv-ink) 9%, transparent); color: var(--p-inv-ink); cursor: pointer; transition: transform 120ms ease-out, background-color 120ms ease-out; }
.sheet__close:active { transform: scale(0.94); background: color-mix(in oklab, var(--p-inv-ink) 18%, transparent); }
.sheet__close svg, .sheet__new svg, .dock__item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sheet__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--s-5) calc(var(--s-5) + env(safe-area-inset-bottom, 0px)); }
.sheet__cancel { display: none; height: 48px; padding: 0 var(--s-2); border: 0; background: none; color: var(--p-inv-ink); font: 500 16px/1 var(--font-text); cursor: pointer; }
.sheet__cancel:active { color: var(--p-inv-muted); }
.sheet.is-search .sheet__close { display: none; }
.sheet.is-search .sheet__cancel { display: block; }
.sheet__results {
  position: static; flex: 1 1 auto; width: auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; padding: 0 var(--s-3) calc(var(--s-5) + env(safe-area-inset-bottom, 0px));
  border: 0; border-radius: 0; background: none; color: inherit; box-shadow: none;
}
.sheet__results:not([hidden]) ~ .sheet__body { display: none; }
.sheet__results .nav__search-hit { grid-template-columns: 52px minmax(0, 1fr); min-height: 68px; color: inherit; text-decoration: none; }
.sheet__results .nav__search-hit.is-active, .sheet__results .nav__search-hit:active { background: color-mix(in oklab, var(--p-inv-ink) 9%, transparent); }
.sheet__results .nav__search-thumb { width: 52px; height: 52px; border-radius: 10px; background: #edeae8; }
.sheet__results .nav__search-thumb img { mix-blend-mode: multiply; }
.sheet__results .nav__search-name { font-size: 16px; }
.sheet__results .nav__search-meta { color: var(--p-inv-muted); }
.sheet__results .nav__search-all { min-height: 52px; margin-top: var(--s-2); border-top-color: color-mix(in oklab, var(--p-inv-ink) 14%, transparent); font-size: 15px; color: var(--p-inv-ink); }
.sheet__results .nav__search-empty { padding: var(--s-3) var(--s-2); font-size: 15px; color: var(--p-inv-muted); }
.sheet__machines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); }
.sheet__machines a { display: grid; gap: 2px; color: inherit; text-decoration: none; }
.sheet__shot { display: grid; place-items: center; aspect-ratio: 16 / 10; margin-bottom: var(--s-2); border-radius: 14px; overflow: hidden; background: #edeae8; transition: transform 120ms ease-out; }
.sheet__shot img {
  width: auto; height: auto; max-width: 86%; max-height: 86%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.sheet__machines a:active .sheet__shot { transform: scale(0.97); }
.sheet__name { font: 600 17px/1.25 var(--font-display); font-stretch: 108%; }
.sheet__count { font-size: var(--t-label); color: var(--p-inv-muted); }
.sheet__new { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 56px; margin-top: var(--s-5); border-top: 1px solid color-mix(in oklab, var(--p-inv-ink) 14%, transparent); color: inherit; font-size: 17px; font-weight: 500; text-decoration: none; }
.sheet__new:active { color: var(--p-inv-muted); }
.sheet__new svg { width: 18px; height: 18px; color: var(--p-inv-muted); }
.sheet__new .mega__new { margin-right: 10px; vertical-align: 2px; }
html.sheet-open { overflow: hidden; }

@media (max-width: 1023px) {
  .nav { position: absolute; }
  .nav__toggle { display: none; }
  .nav:not(.is-open) .nav__actions > * { display: none; }
  .nav:not(.is-open) .nav__actions > .nav__phone { display: inline-flex; padding-inline: 0; font-size: 15px; font-weight: 600; }
  .dock {
    position: fixed; z-index: 60; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); max-width: 420px; margin-inline: auto;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; padding: 4px; border-radius: 999px;
    background: rgb(26 25 24 / 0.84); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
    border: 1px solid rgb(255 255 255 / 0.13); box-shadow: 0 16px 36px -12px rgb(0 0 0 / 0.6), 0 2px 8px rgb(0 0 0 / 0.28);
  }
  .dock__item {
    position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 6px; border-radius: 999px; color: rgb(255 255 255 / 0.74);
    font: 600 12.5px/1 var(--font-text); text-decoration: none; white-space: nowrap; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
    transition: transform 120ms ease-out, background-color 120ms ease-out, color 120ms ease-out;
  }
  .dock__item::before { content: ""; position: absolute; inset: -6px -1px; }
  .dock__item svg { width: 18px; height: 18px; flex: none; }
  .dock__item:active { transform: scale(0.95); background: rgb(255 255 255 / 0.1); }
  .dock__item:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .dock__item[aria-current] { background: rgb(255 255 255 / 0.15); color: #fff; }
  .closing__links > .footer__legal { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 359px) {
  .dock__item { gap: 4px; font-size: 11.5px; }
  .dock__item svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet__panel, .sheet__scrim, .sheet.is-open .sheet__panel, .sheet.is-open .sheet__scrim { transition-duration: 0.01ms; }
}

.hm {
  --hm-black: #000; --hm-red: #b42038; --hm-yellow: #ffe500; --hm-paper: #edeae8;
  --hm-out: cubic-bezier(0.23, 1, 0.32, 1);
  --hm-pad: clamp(72px, 9vw, 136px);
}
.hm > section { scroll-margin-top: var(--nav); }
.hm h2 { font-weight: 700; font-stretch: 112%; letter-spacing: -0.022em; text-wrap: balance; }
.hm-head { margin-bottom: clamp(32px, 4.4vw, 64px); }
.hm-head h2 { font-size: clamp(34px, 4.3vw, 64px); line-height: 1.02; }
.hm-head p { margin-top: var(--s-4); max-width: 46ch; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--muted); }
.hm-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-5) var(--s-7); }
.tag-new {
  display: inline-block; margin-right: 10px; padding: 3px 8px 2px; border-radius: 4px; background: var(--hm-yellow); color: #111;
  font: 700 12px/1.3 var(--font-text); letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 1px;
}
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: var(--s-5) clamp(20px, 2.6vw, 40px); margin: 0; }
.figures > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding-top: 12px; border-top: 2px solid currentColor; }
.figures dd { margin: 0; font: 700 clamp(21px, 2.1vw, 30px)/1.1 var(--font-display); font-stretch: 108%; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.figures dt { margin-top: 6px; font-size: var(--t-label); color: var(--muted); }

.mx { padding-block: var(--hm-pad); }
.mx__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.mx__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-strong); }
.mx__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--s-5); padding: clamp(20px, 2.3vw, 32px) 0;
  border-top: 1px solid var(--line-strong); color: inherit; text-decoration: none;
}
.mx__thumb { display: none; }
.mx__name { display: block; font: 700 clamp(32px, 4.2vw, 62px)/1 var(--font-display); font-stretch: 112%; letter-spacing: -0.026em; transition: transform 280ms var(--hm-out), color 160ms ease; }
.mx__cats { display: block; margin-top: 10px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.mx__count { font-size: 15px; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.mx__go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.mx__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mx__row:focus-visible { outline: 2px solid var(--hm-red); outline-offset: 4px; }
.mx__row:active .mx__go { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .mx__row:hover .mx__name { transform: translateX(10px); color: var(--hm-red); }
  .mx__row:hover .mx__go { background: var(--hm-red); border-color: var(--hm-red); color: #fff; }
}
.mx__preview { position: sticky; top: calc(var(--nav) + var(--s-5)); aspect-ratio: 5 / 4; border-radius: 20px; overflow: hidden; background: var(--hm-paper); }
.mx__shot, .mx__thumb img, .cr__media img {
  width: auto; height: auto; max-width: 86%; max-height: 86%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.mx__shot { position: absolute; inset: 0; margin: auto; opacity: 0; transition: opacity 200ms ease-out; }
.mx__shot:first-child { opacity: 1; }
.mx__body:has(.mx__row:is(:hover, :focus-visible)) .mx__shot { opacity: 0; }
.mx__body:has(li:nth-child(1) > .mx__row:is(:hover, :focus-visible)) .mx__shot:nth-child(1),
.mx__body:has(li:nth-child(2) > .mx__row:is(:hover, :focus-visible)) .mx__shot:nth-child(2),
.mx__body:has(li:nth-child(3) > .mx__row:is(:hover, :focus-visible)) .mx__shot:nth-child(3),
.mx__body:has(li:nth-child(4) > .mx__row:is(:hover, :focus-visible)) .mx__shot:nth-child(4) { opacity: 1; }
@media (max-width: 899px) {
  .mx__body { grid-template-columns: minmax(0, 1fr); }
  .mx__preview { display: none; }
  .mx__row { grid-template-columns: 104px minmax(0, 1fr) auto; gap: var(--s-4); padding: var(--s-4) 0; }
  .mx__thumb { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--hm-paper); }
  .mx__thumb img { max-width: 92%; max-height: 92%; }
  .mx__name { font-size: clamp(24px, 6.4vw, 40px); }
  .mx__cats { margin-top: 6px; font-size: 14px; }
  .mx__count { display: none; }
  .mx__go { width: 40px; height: 40px; }
}
@media (max-width: 419px) { .mx__row { grid-template-columns: 84px minmax(0, 1fr) auto; gap: var(--s-3); } .mx__go { display: none; } }

.cr { padding-block: var(--hm-pad); }
.cr__rail { list-style: none; margin: 0 auto; padding: 0; width: min(100% - 2 * var(--gut), var(--container)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); }
.cr__card { display: grid; gap: 4px; color: inherit; text-decoration: none; }
.cr__media { display: grid; place-items: center; aspect-ratio: 5 / 4; margin-bottom: var(--s-3); border-radius: 16px; overflow: hidden; background: var(--hm-paper); }
.cr__media img { transition: transform 400ms var(--hm-out); }
.cr__name { font: 600 var(--t-card)/1.3 var(--font-text); }
.cr__model { font-size: var(--t-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.cr__card:focus-visible { outline: 2px solid var(--hm-red); outline-offset: 6px; border-radius: 16px; }
@media (hover: hover) and (pointer: fine) { .cr__card:hover .cr__media img { transform: scale(1.05); } }
@media (max-width: 899px) {
  .cr__rail { width: auto; display: flex; gap: var(--s-4); padding-inline: var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .cr__rail::-webkit-scrollbar { display: none; }
  .cr__rail > li { flex: 0 0 min(68%, 300px); scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .mx__name, .mx__shot, .cr__media img { transition-duration: 0.01ms; }
  .mx__row:hover .mx__name { transform: none; }
}
