/* Machine Bay. Charcoal steel, one brass accent, hairline rules.
   Barlow Condensed and Source Serif 4 are SIL Open Font License. */

@font-face {
  font-family: "Barlow Condensed";
  src: url("/static/fonts/barlow-condensed-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/static/fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/static/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/static/fonts/source-serif-4-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/static/fonts/source-serif-4-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sans Fallback";
  src: local("Arial");
  size-adjust: 105%;
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  --soil: #101418;
  --bark: #171c21;
  --steel: #1c2228;
  --dust: #c8c2b6;
  --paper: #f4f1ea;
  --rust: #c6a15a;
  --ember: #d4b072;
  --oxide: #9a7840;
  --ink: #14181c;
  --mute: #a7b0a8;
  --line: rgba(244, 241, 234, 0.14);
  --plate: #f3efe6;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
  --ui: "Barlow Condensed", "Sans Fallback", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, "Times New Roman", serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.4rem;
  --space-6: 1.65rem;
  --space-7: 2.4rem;
  --space-8: 4rem;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--soil);
  color: var(--paper);
  font-family: var(--ui);
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 400;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  opacity: 0.045;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

.wrap { width: min(1180px, calc(100% - 2.4rem)); margin: 0 auto; }
main { flex: 1; padding: 0 0 4.5rem; }

.mast {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 20, 24, 0.55);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.mast.is-scrolled {
  background: rgba(16, 20, 24, 0.88);
  border-bottom-color: var(--line);
}
.mast-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 4.6rem;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-lockup {
  width: 280px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 825 / 90;
  display: block;
}
.mast-menu { display: none; }
.mast-panel { display: contents; }
nav { display: flex; align-items: center; gap: 1.35rem; }
nav a {
  color: var(--dust);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
nav a[aria-current="page"] { color: var(--paper); }
.nav-quote {
  border: 1px solid var(--line);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--paper) !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mast-search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1 1 12rem;
  min-width: 0;
  max-width: 26rem;
  margin-left: auto;
}
.mast-search input {
  min-width: 0;
  background: rgba(16, 20, 24, 0.55);
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  font-size: 0.92rem;
}
.mast-search button {
  flex: 0 0 auto;
  padding: 0.48rem 0.95rem;
  background: var(--ember);
  color: #1a140c;
  border: 0;
}

.hero-band { position: relative; color: var(--paper); }
.hero-frame {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0b0e11;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 42%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.93) 0%, rgba(8, 10, 12, 0.72) 28%, rgba(8, 10, 12, 0.28) 58%, rgba(8, 10, 12, 0.06) 100%),
    linear-gradient(180deg, rgba(8, 10, 12, 0.42) 0%, transparent 28%, rgba(8, 10, 12, 0.55) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 7.5rem 0 6.2rem;
  max-width: 40rem;
}
.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: 2rem; line-height: 1.15; margin: 0 0 var(--space-4); }
h3 { font-size: 1.35rem; line-height: 1.2; margin: 0 0 var(--space-3); }
h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.02;
}
.hero-copy h1 {
  font-size: clamp(3.1rem, 7vw, 6.2rem);
  line-height: 0.92;
}
.lede { margin: 1.15rem 0 0; max-width: 34rem; font-size: 1.15rem; color: var(--dust); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.65rem; }
.btn, button, .ticket-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  min-height: 44px;
}
.btn.primary, .quote-panel button, .contact-form button, .cta-row a {
  background: var(--ember);
  color: #1a140c;
}
.btn.ghost {
  border-color: rgba(244, 241, 234, 0.38);
  color: var(--paper);
  background: rgba(16, 20, 24, 0.25);
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.8rem 2.4rem;
  margin: 2.2rem 0 0;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  margin: 0;
}
.hero-place {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
}
.hero-stats div { min-width: 7rem; }
.hero-stats dt {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.hero-stats dd {
  margin: 0.15rem 0 0;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
}
.hero-credit {
  position: absolute;
  z-index: 1;
  left: max(1.2rem, calc((100% - 1180px) / 2));
  right: 1.2rem;
  bottom: 0.85rem;
  max-width: 46rem;
}

.trust {
  border-bottom: 1px solid var(--line);
  background: var(--bark);
}
.trust-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 1.15rem 0 0.4rem;
}
.trust-row li { display: grid; gap: 0.15rem; min-width: 0; }
.trust-row span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.trust-row strong, .trust-row a {
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--paper);
}
.trust-note {
  margin: 0;
  padding: 0.35rem 0 1rem;
  color: var(--mute);
  font-size: 0.86rem;
}
.office-note { margin: 0.35rem 0 0; }
.latest { padding: 1.1rem 0 0.4rem; }
.latest h2 { margin: 0 0 0.7rem; font-size: 1.7rem; }
.latest-strip {
  list-style: none;
  margin: 0;
  padding: 0 0 0.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}
.latest-card {
  display: grid;
  gap: 0.2rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.latest-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #2a3036;
}
.latest-card strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.25;
}
.latest-card .price {
  margin: 0;
  font-family: var(--ui);
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--dust);
}

.how-block { margin: var(--space-8) 0 var(--space-7); }
.how-block h2, .browse-bar h2, .compare h2 { margin: 0 0 1rem; font-size: 2rem; }
.how {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.how li {
  margin: 0;
  padding: 1.25rem 1.2rem 1.4rem;
  background: var(--steel);
}
.how span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--ember);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}
.how strong { display: block; margin-bottom: 0.35rem; font-weight: 600; }

.browse-bar { margin-bottom: 1.4rem; }
.browse-bar-top, .compare-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.yard-count, .filter-label, .quiet { color: var(--mute); }
.filter-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.filter-groups { display: grid; gap: 0.9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  color: var(--dust);
  font-size: 0.88rem;
}
.chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: rgba(16, 20, 24, 0.55);
  color: var(--mute);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.chip.on { color: #1a140c; background: var(--ember); border-color: var(--ember); }
.chip.on .chip-count { background: rgba(26, 20, 12, 0.16); color: #3a2a1c; }
.filter-empty { color: var(--dust); }
.filter-empty[hidden] { display: none; }

.yard {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.65rem;
}
.yard-item { min-width: 0; }
.yard-item.is-out { display: none; animation: none; }
.yard-item.is-leaving { animation: yard-leave 0.18s ease both; }
.yard-item.is-entering { animation: yard-rise 0.28s ease both; }
.ticket {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ticket:hover, .ticket:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(212, 176, 114, 0.45);
}
.yard-item.is-compared .ticket { border-color: var(--ember); }
.ticket figure { margin: 0; background: #0c0f12; }
.ticket-photo { display: block; overflow: hidden; }
.ticket .media-plate {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
}
.hero-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #2a3036;
  display: block;
}
.ticket img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #2a3036;
  display: block;
}
.ticket-photo img { height: auto; }
.media-plate {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 0.7rem;
  background:
    linear-gradient(180deg, rgba(212, 176, 114, 0.08), transparent 46%),
    #12171b;
  color: var(--dust);
  border-top: 1px solid var(--line);
}
.media-plate-hero { min-height: min(48vh, 420px); aspect-ratio: auto; }
.machine-icon { width: 4.2rem; height: auto; color: var(--ember); }
.media-line { margin: 0; font-family: var(--serif); font-size: 1.35rem; color: var(--paper); }
.photo-credit {
  margin: 0;
  padding: 0.55rem 0.9rem 0.7rem;
  font-size: 0.72rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--mute);
}
.photo-credit a { color: var(--dust); }
.hero-credit { color: rgba(244, 241, 234, 0.78); }
.ticket-body {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
  padding: 1.15rem 1.2rem 0.4rem;
}
.ticket-body h2 { margin: 0; font-size: 1.35rem; line-height: 1.2; }
.meta { margin: 0; color: var(--mute); font-size: 0.86rem; }
.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0 0;
}
.spec-chips span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.8rem;
  color: var(--dust);
}
.ticket-spec { margin: 0.2rem 0 0; color: var(--dust); }
.ships-from { margin: 0.1rem 0 0; color: var(--mute); font-size: 0.8rem; }
.price { margin: 0.55rem 0 0; font-family: var(--serif); font-size: 1.7rem; }
.price-label, .price-value { display: inline; }
.price .price-value {
  font-family: var(--serif);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  color: inherit;
}
.ask .price-label::after { content: none; }
.ticket .price { margin-top: 0.35rem; font-size: 1.35rem; }
.price span { font-family: var(--ui); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--mute); }
.ticket-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.85rem 1.2rem 1.1rem;
}
.ticket-actions a { color: var(--ember); padding: 0.4rem 0; background: none; }
.ticket-actions .btn {
  flex: 1 1 100%;
  width: 100%;
  padding: 0.7rem 1.05rem;
  background: var(--ember);
  color: #1a140c;
}
.ticket-actions .btn.ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
}
.compare-toggle {
  border-color: var(--line);
  color: var(--dust);
  background: transparent;
  padding: 0.4rem 0.75rem;
}
.compare {
  margin-top: 1.8rem;
}
.compare-sheet {
  border: 1px solid var(--line);
  background: var(--bark);
  padding: 1.2rem;
}
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  text-align: left;
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-blank { color: var(--mute); }
.compare-scroll { overflow-x: auto; }
.compare-hint { color: var(--dust); }

.machine { padding-top: 1.15rem; }
.crumb { margin: 0 0 0.7rem; color: var(--mute); font-size: 0.88rem; }
.crumb a { color: var(--dust); }
.machine-head, .split, .contact-grid, .ops-grid {
  display: grid;
  gap: 1.5rem;
}
.machine-head { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
.ask, .quote-panel {
  background: var(--bark);
  border: 1px solid var(--line);
  border-top: 1px solid var(--ember);
  padding: 1.2rem;
}
.quote-panel { align-self: start; }
.quote-panel h2, .plate h2 { margin-top: 0; }
.gallery { margin: 1.05rem 0 1.8rem; }
.hero-shot { margin: 0; }
.shot-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0c0f12;
  cursor: zoom-in;
}
.hero-shot img { height: min(68vh, 640px); transition: opacity 0.18s ease, transform 0.45s ease; }
.shot-open:hover img { transform: scale(1.02); }
.hero-shot img.is-swapping { opacity: 0; }
.film {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 0.4rem;
  padding: 0.55rem 0 0;
  margin: 0;
}
.thumb {
  width: 100%;
  padding: 0;
  border: 1px solid transparent;
  background: #0c0f12;
  cursor: pointer;
}
.thumb img {
  width: 100%;
  height: 72px;
  aspect-ratio: auto;
  object-fit: contain;
  background: #2a3036;
}
.thumb.on { border-color: var(--ember); }
.plate, .doc, .page-sheet, .sheet {
  background: var(--plate);
  color: var(--ink);
}
.plate, .page-sheet {
  padding: 1.4rem 1.45rem 1.6rem;
  border: 1px solid rgba(20, 24, 28, 0.08);
}
.page-sheet { max-width: 46rem; margin-top: 1.6rem; }
.plate table, .sheet { width: 100%; border-collapse: collapse; }
.plate th, .sheet th, .plate td, .sheet td {
  text-align: left;
  padding: 0.55rem 0.4rem 0.55rem 0;
  border-bottom: 1px solid rgba(20, 24, 28, 0.1);
}
.plate th { width: 34%; color: #5c564c; font-weight: 500; }
.notes { margin-top: 1rem; }
.seller-block { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid rgba(20, 24, 28, 0.1); }
.ask .seller-block, .quote-panel .seller-block { border-top-color: var(--line); }
.seller-lines { display: flex; flex-wrap: wrap; gap: 0.35rem 0.7rem; margin: 0.2rem 0; }
.seller-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.85rem;
}
.seller-email { color: var(--oxide); font-weight: 600; font-size: 1rem; line-height: 1.35; text-decoration: none; }
.seller-phone { color: inherit; font-weight: 600; font-size: 1rem; line-height: 1.35; text-decoration: none; }
.seller-card .seller-block { margin-top: 0; padding-top: 0; border-top: 0; }
.seller-card .notes { margin: 0; }
.ask .seller-email, .quote-panel a { color: var(--ember); }
.quote-panel form, .contact-form { display: grid; gap: 0.75rem; }
.quote-panel button, .contact-form button { border: 0; }
label { display: grid; gap: 0.28rem; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.page-sheet label, .plate label { color: #5c564c; }
input, select, textarea {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(20, 24, 28, 0.16);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 1rem;
}
.quote-panel input, .quote-panel select, .quote-panel textarea,
.contact-panel input, .contact-panel select, .contact-panel textarea {
  background: #101418;
  color: var(--paper);
  border-color: var(--line);
}
.facts { display: grid; gap: 0.7rem; }
.facts div { display: grid; gap: 0.15rem; }
.facts dt { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #6d675d; }
.cta-row a { text-decoration: none; }
.ask .cta-row { margin: 0.9rem 0 0.15rem; }
.ask .cta-row .btn.primary,
.quote-panel button,
.contact-panel button {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}
.missing-line { margin: 0.9rem 0 0; color: var(--mute); }
.coming-soon { max-width: 36rem; margin: 1.4rem 0 2rem; }
.badge {
  display: inline-block;
  margin: 0.35rem 0 0.2rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--ember);
  color: var(--ember);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.prose p { margin: 0.7rem 0; }
.page-hero .hero-frame { min-height: min(70vh, 640px); }
.page-hero .hero-copy { padding: 5.6rem 0 4.4rem; max-width: 40rem; }
.page-hero .lede { max-width: 36rem; }
.story { margin-top: var(--space-8); }
.story-block {
  padding: 1.7rem 0 1.85rem;
  border-top: 1px solid var(--line);
}
.story-block h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(2rem, 4vw, 3rem);
}
.story-block p {
  margin: 0;
  max-width: 40rem;
  color: var(--dust);
  font-size: 1.08rem;
}
.story-block p + p { margin-top: 0.85rem; }
.story-block ul {
  margin: 0.7rem 0 0;
  padding-left: 1.15rem;
  max-width: 40rem;
  color: var(--dust);
  font-size: 1.08rem;
}
.story-block li + li { margin-top: 0.35rem; }
.story .how-block { margin-top: var(--space-7); }
.seller-card { margin-top: 0.4rem; max-width: 36rem; }
.story-cta { margin: 1.4rem 0 0; }
.page-mast {
  border-bottom: 1px solid var(--line);
  background: var(--bark);
}
.page-mast-copy { padding: 3.4rem 0 2.6rem; max-width: 40rem; }
.page-mast h1 {
  font-size: clamp(3.1rem, 6vw, 5.4rem);
  line-height: 0.94;
}
.page-mast .hero-place { margin: 1.1rem 0 0.35rem; }
.contact-grid { align-items: start; }
.contact-only {
  max-width: 36rem;
  margin-top: var(--space-7);
  padding: 1.4rem 1.45rem 1.5rem;
  background: var(--bark);
  border: 1px solid var(--line);
  border-top: 1px solid var(--ember);
}
.contact-only .seller-phone,
.contact-only .seller-email { color: var(--ember); }
.contact-only .seller-block { margin-top: 0; border-top: 0; padding-top: 0; }
.contact-panel {
  background: var(--bark);
  border: 1px solid var(--line);
  border-top: 1px solid var(--ember);
  padding: 1.35rem 1.35rem 1.5rem;
}
.contact-panel label { color: var(--dust); }
.contact-panel button { border: 0; }
.contact-grid { grid-template-columns: 0.9fr 1.1fr; margin-top: 1.2rem; }
.ops-grid { grid-template-columns: 1fr; }
.ops-grid h2 { color: var(--paper); }
.empty { color: var(--dust); }

.site-foot {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  color: var(--dust);
  font-size: 0.92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 0.8fr;
  gap: 1.5rem;
}
.foot-mark { font-family: var(--serif); font-size: 1.6rem; color: var(--paper); margin: 0 0 0.4rem; }
.foot-nav { display: grid; gap: 0.35rem; }
.foot-nav a { color: var(--paper); text-decoration: none; }
.site-foot p { margin: 0.2rem 0; }
.site-foot a.foot-phone {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.call-line { margin: 0.7rem 0 0; font-size: 0.92rem; }
.call-line a {
  color: var(--dust);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.lightbox {
  width: min(1100px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0.6rem;
  border: 1px solid var(--line);
  background: #0c0f12;
  color: var(--paper);
}
.lightbox::backdrop { background: rgba(6, 8, 10, 0.82); }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
.lightbox-close {
  margin: 0 0 0.45rem auto;
  border-color: var(--line);
  color: var(--paper);
}
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}

@keyframes yard-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes yard-leave {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(8px); }
}
.enter .hero-copy .eyebrow,
.enter .hero-copy h1,
.enter .hero-copy .lede,
.enter .hero-copy .hero-actions,
.enter .hero-copy .hero-proof,
.enter .machine > .crumb,
.enter .machine > .machine-head,
.enter .machine > .gallery,
.enter .machine > .split,
.enter .page-mast-copy,
.enter .page-sheet,
.enter .doc {
  animation: yard-rise 0.45s ease both;
}
.enter .hero-copy h1 {
  animation-name: hero-rise;
  animation-duration: 0.75s;
  animation-delay: 0.06s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.enter .hero-copy .lede { animation-delay: 0.16s; }
.enter .hero-copy .hero-actions { animation-delay: 0.24s; }
.enter .hero-copy .hero-proof { animation-delay: 0.32s; }
.enter .machine > .gallery { animation-delay: 0.08s; }
.enter .machine > .split { animation-delay: 0.12s; }
.yard-item { animation: yard-rise 0.46s ease both; animation-delay: calc(var(--i, 0) * 70ms); }
.compare.is-updating .compare-sheet { animation: yard-rise 0.24s ease both; }

@media (min-width: 900px) {
  .quote-panel { position: sticky; top: 5.5rem; }
}

.mobile-enquire { display: none; }

@media (max-width: 900px) {
  .wrap { width: min(1180px, calc(100% - 1.5rem)); }
  .mobile-enquire {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    position: fixed;
    z-index: 30;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
    background: var(--bark);
    border-top: 1px solid var(--line);
  }
  .mobile-enquire .btn { width: 100%; min-height: 48px; }
  .machine .ask .cta-row .email-us { display: none; }
  .machine.is-reserved .ask .cta-row .email-us { display: inline-flex; }
  .machine { padding-bottom: 5.25rem; }
  .machine.is-reserved { padding-bottom: 0; }
  .mast-inner {
    flex-wrap: nowrap;
    align-items: center;
    min-height: 3.5rem;
    padding: 0.35rem 0;
    position: relative;
  }
  .mast-menu {
    display: inline-flex;
    margin-left: auto;
    min-height: 44px;
    padding: 0.4rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--paper);
  }
  .mast-panel {
    display: none;
    position: absolute;
    z-index: 25;
    top: 100%;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.85rem 1.2rem 1rem;
    background: rgba(16, 20, 24, 0.97);
    border-bottom: 1px solid var(--line);
  }
  .mast.is-open .mast-panel { display: flex; }
  .mast-search { order: 0; flex: none; width: 100%; max-width: none; margin-left: 0; }
  .ask .price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
  .ask .price-label,
  .ask .price-value { display: block; }
  .ask .price-label {
    font-family: var(--ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.2;
    color: var(--dust);
  }
  .ask .price-label::after { content: none; }
  .ask .price-value {
    font-family: var(--serif);
    font-size: clamp(1.85rem, 8vw, 2.45rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0;
    color: var(--paper);
  }
  .mast-panel nav { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-frame { min-height: 0; }
  .hero-copy { padding: 6.2rem 0 3.2rem; }
  .hero-photo { object-position: 82% 40%; }
  .page-hero .hero-frame { min-height: 0; }
  .page-hero .hero-copy { padding: 5.2rem 0 2.2rem; }
  .page-mast-copy { padding: 2.4rem 0 1.8rem; }
  .trust-row, .how, .machine-head, .split, .contact-grid, .yard, .foot-grid { grid-template-columns: 1fr; }
  .latest-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-row { padding-top: 1rem; }
  .hero-shot img { height: 42vh; }
  .media-plate-hero { min-height: min(42vh, 360px); }
  .quote-panel { position: static; }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .brand-lockup { width: min(210px, 62vw); }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .hero-proof { gap: 0.9rem 1.4rem; }
  .hero-stats { gap: 1.4rem; }
  .hero-credit { position: relative; left: auto; right: auto; bottom: auto; padding: 0 0 0.8rem; }
  .hero-copy { padding-bottom: 1.2rem; }
  .ticket-body, .ticket-actions { padding-left: 1rem; padding-right: 1rem; }
  .latest-strip {
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    grid-template-columns: none;
    overflow-x: auto;
  }
  .chip-count { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .enter .hero-copy .eyebrow,
  .enter .hero-copy h1,
  .enter .hero-copy .lede,
  .enter .hero-copy .hero-actions,
  .enter .hero-copy .hero-proof,
  .enter .machine > .crumb,
  .enter .machine > .machine-head,
  .enter .machine > .gallery,
  .enter .machine > .split,
  .enquiry-toast,
  .enter .page-mast-copy,
  .enter .page-sheet,
  .enter .doc,
  .yard-item,
  .yard-item.is-entering,
  .yard-item.is-leaving,
  .ticket,
  .thumb,
  .hero-shot img,
  .ticket-photo img,
  .compare.is-updating .compare-sheet {
    animation: none !important;
    transition: none !important;
  }
  .ticket:hover,
  .ticket:focus-within,
  .shot-open:hover img,
  .yard-item.is-leaving {
    transform: none;
  }
  .hero-shot img.is-swapping { opacity: 1; }
}

.listing-grid { margin-top: var(--space-7); }
.listing-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: end;
  margin: 0 0 0.4rem;
}
.listing-tools label { flex: 1 1 16rem; color: var(--dust); }
.listing-tools input {
  background: #101418;
  color: var(--paper);
  border-color: var(--line);
}
.listing-tools button {
  background: var(--ember);
  color: #1a140c;
  border: 0;
}
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
  margin: 1.15rem 0 0.2rem;
  color: var(--dust);
}
.pager a { color: var(--ember); }
.enquiry-activity {
  position: fixed;
  z-index: 15;
  left: 1rem;
  bottom: 1rem;
  width: min(22rem, calc(100% - 2rem));
}
.enquiry-toast {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  align-items: center;
  background: var(--bark);
  color: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ember);
  padding: 0.7rem 0.8rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  animation: yard-rise 0.4s ease both;
}
.enquiry-toast img {
  width: 4.5rem;
  height: 2.8rem;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}
.enquiry-toast p { margin: 0; font-size: 0.92rem; }
.enquiry-toast a { color: var(--ember); }
.enquiry-toast button {
  margin-top: 0.35rem;
  background: none;
  border: 0;
  color: var(--dust);
  padding: 0;
  cursor: pointer;
}
@media (max-width: 900px) {
  .enquiry-activity {
    position: static;
    left: auto;
    bottom: auto;
    width: min(1180px, calc(100% - 1.5rem));
    margin: 0.75rem auto 0;
  }
}
.stock-no { margin: 0.35rem 0 0; color: var(--mute); font-size: 0.92rem; font-weight: 600; }
.ticket-body .stock-no { margin-top: 0.1rem; }
.copy-status { margin: 0.45rem 0 0; color: var(--dust); }
.related { margin-top: var(--space-7); }
.how.buy-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .how.buy-steps { grid-template-columns: 1fr; }
}
.filter-group { margin: 0.85rem 0 1rem; }
.ask .cta-row .btn.ghost {
  width: 100%;
  box-sizing: border-box;
  border-color: var(--line);
  color: var(--paper);
}
.quote-panel .cta-row .btn,
.story-cta .btn {
  display: inline-flex;
  box-sizing: border-box;
}
.quote-panel .cta-row .btn {
  width: 100%;
}
.quote-panel .cta-row .btn.ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
}

#families h2 {
  font-size: revert;
  line-height: revert;
  margin: revert;
}
.family-grid {
  list-style: none;
  margin: 0 0 var(--space-8);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: var(--space-5);
}
.family-card {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem 0.85rem;
  background: var(--steel);
  color: var(--paper);
  text-decoration: none;
  border: 1px solid var(--line);
}
.family-card strong { font-size: 1.25rem; letter-spacing: 0.01em; }
.family-card .zh { color: var(--dust); }
.family-card .count-pill { color: var(--ember); font-variant-numeric: tabular-nums; }
#families .family-card {
  gap: 0.7rem;
  padding: 0 0 0.9rem;
  overflow: hidden;
  align-items: start;
  justify-items: stretch;
  width: 100%;
  flex: 0 0 auto;
}
#families .family-card-copy {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  min-height: 3.6rem;
  padding: 0 1.1rem;
}
#families .family-card-copy strong {
  line-height: 1.15;
  min-height: 2.3em;
}
#families .family-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center center;
  background: #2a3036;
  align-self: start;
  justify-self: stretch;
}
#families .family-grid > li { display: flex; flex-direction: column; align-items: stretch; }
#families .family-all-frame {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #2a3036;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}
#families .family-card-all {
  align-content: start;
  justify-items: stretch;
  text-align: left;
  padding: 0 0 0.9rem;
}
#families .family-card-all .family-card-copy {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0 1.1rem;
}
.type-list { list-style: none; margin: 0.35rem 0 0; padding: 0 0 0.2rem; }
.type-list a { color: var(--dust); text-decoration: none; }
.type-list a:hover { color: var(--paper); }
.page-intro { margin: var(--space-6) 0 var(--space-5); }
.spec-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  padding: 1rem 1.1rem;
  background: var(--plate);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 0.95rem;
  line-height: 1.45;
}
.unconfirmed { font-style: italic; }
.plate .unconfirmed { color: #5c6570; }
.chip.unconfirmed { font-style: italic; }
.consent-banner {
  position: sticky;
  bottom: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  background: var(--bark);
  color: var(--paper);
  border-top: 1px solid var(--line);
}
.consent-banner p { margin: 0; max-width: 46rem; }
.consent-banner form { display: flex; gap: 0.5rem; }
.consent-banner a { color: var(--ember); }
