/* BoxyTrucks — Bone & Brass */
:root {
  --bone: #ECE8DF;
  --paper: #F7F4EE;
  --ink: #141513;
  --night: #0E0F0E;
  --green: #22302A;
  --brass: #B0915A;
  --stone: #5C5A52;
  --hair: #CFC8B8;
  --body: #2E2F2B;
  --on-dark: #D9D3C6;
  --on-dark-2: #A8A397;
  --line-dark: #3A3B36;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --wrap: 1360px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bone); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
@media (max-width: 640px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }

/* type */
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--stone); }
.on-dark .eyebrow, .eyebrow.brass { color: var(--brass); }
.label { font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.015em; margin: 0; }
.h-section { font-size: 34px; line-height: 1.1; border-bottom: 1px solid var(--ink); padding-bottom: 12px; }
.serif { font-family: var(--serif); }
.prose p { font-family: var(--serif); font-size: 19px; line-height: 32px; color: var(--body); margin: 0 0 18px; }
.prose p.lead { font-size: 26px; line-height: 39px; color: var(--ink); }
.prose a, .inline-link { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.on-dark .prose p, .on-dark p { color: var(--on-dark); }
.on-dark .prose a { color: var(--paper); }
.verdict { font-family: var(--serif); font-style: italic; }

/* header */
.site-header { background: var(--night); color: var(--paper); border-bottom: 1px solid #2A2B27; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--night); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; }
.brand span { font-weight: 600; font-size: 17px; letter-spacing: 0.2em; }
.brand:hover { color: var(--paper); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; }
.nav a { color: var(--paper); text-decoration: none; font-weight: 600; font-size: 12px; letter-spacing: 0.18em; padding: 8px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.active { border-bottom-color: var(--brass); color: var(--paper); }

/* buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 13px; letter-spacing: 0.2em; padding: 15px 22px; border: 1px solid var(--ink); color: var(--ink); background: transparent; text-transform: uppercase; }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.ghost-brass { border-color: var(--brass); color: var(--paper); }
.btn:hover { opacity: 0.88; }
.chip { display: inline-block; font-family: var(--mono); font-size: 12px; color: var(--ink); text-decoration: none; border: 1px solid var(--ink); padding: 5px 8px; }
.chip.brass { border-color: var(--brass); color: var(--paper); }
a.chip:hover { background: var(--ink); color: var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* hero */
.hero { position: relative; min-height: 680px; background: var(--night); color: var(--paper); overflow: hidden; display: flex; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .wrap { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: 28px; padding-bottom: 48px; gap: 24px; }
.hero-panel { background: var(--night); padding: 36px 40px; max-width: 720px; display: flex; flex-direction: column; gap: 18px; margin-top: auto; }
.hero-panel h1 { font-size: clamp(44px, 7vw, 104px); line-height: 0.95; letter-spacing: -0.03em; }
.hero-panel .verdict { font-size: 21px; line-height: 30px; color: var(--on-dark); margin: 0; }
.hero-tag { position: absolute; right: 24px; bottom: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; background: var(--night); padding: 6px 10px; }
.crumbs { align-self: flex-start; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; display: flex; flex-wrap: wrap; gap: 10px; background: var(--night); padding: 8px 12px; text-transform: uppercase; }
.crumbs a { color: var(--on-dark); }
@media (max-width: 640px) { .hero-panel { padding: 24px; } .hero { min-height: 560px; } .hero-tag { display: none; } }

/* stacked hero (model + family pages): photo stays clear, title band below */
.hero-stack { background: var(--night); color: var(--paper); }
.hs-img { position: relative; height: clamp(300px, 46vw, 640px); overflow: hidden; background: var(--night); }
.hs-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hs-top { position: relative; padding-top: 24px; display: flex; }
.hs-img.no-photo { height: auto; padding-bottom: 104px; }
@media (max-width: 640px) { .hs-img.no-photo { padding-bottom: 8px; } }
.hs-top .crumbs { display: inline-flex; }
.hs-img .hero-tag { top: 24px; bottom: auto; right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 1100px) { .hs-img .hero-tag { display: none; } }
.hs-band .wrap { padding-bottom: 8px; }
.hs-panel { position: relative; max-width: none; margin-top: -72px; padding: 32px 40px 36px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; }
.hs-title { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hs-panel h1 { font-size: clamp(44px, 6.4vw, 96px); overflow-wrap: anywhere; }
.hs-panel .verdict { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 31px; }
@media (max-width: 960px) { .hs-panel { grid-template-columns: 1fr; margin-top: -48px; } }
@media (max-width: 640px) { .hs-panel { margin-top: 0; padding: 24px 0 28px; } .hs-img { height: clamp(240px, 62vw, 360px); } .hs-top { padding-top: 14px; } .hs-panel .verdict { font-size: 19px; line-height: 28px; } }

/* verify-first notice */
.verify { border-left: 3px solid var(--brass); background: var(--paper); padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; }
.verify-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }
.verify p { margin: 0; font-family: var(--serif); font-size: 16px; line-height: 25px; color: var(--body); }

/* models dropdown */
.nav-drop { position: relative; display: inline-flex; align-items: center; gap: 4px; }
.nav-caret { background: none; border: 0; color: var(--paper); padding: 8px 4px; cursor: pointer; display: inline-flex; }
.nav-caret svg { transition: transform .15s; }
.nav-drop.open .nav-caret svg { transform: rotate(180deg); }
.nav-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: -16px; min-width: 240px; background: var(--night); border: 1px solid var(--line-dark); box-shadow: 0 12px 28px rgba(0,0,0,.35); z-index: 30; display: none; }
.nav-drop.open .nav-menu { display: block; }
@media (hover: hover) and (min-width: 900px) { .nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: block; } }
.nav-menu a { display: block; padding: 10px 16px; border: 0; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.nav-menu a:hover { background: #1c1d1a; color: var(--brass); border: 0; }
.nav-menu .all { border-top: 1px solid var(--line-dark); margin-top: 6px; padding-top: 6px; }
.nav-menu .all a { color: var(--brass); }
.fam-block { scroll-margin-top: 140px; }
@media (max-width: 640px) { .nav-menu { left: 0; min-width: 220px; } .fam-block { scroll-margin-top: 220px; } }

/* model page parts */
.part { display: flex; flex-direction: column; gap: 64px; scroll-margin-top: 110px; }
.part-head { display: flex; flex-direction: column; gap: 8px; padding: 22px 0 0; border-top: 4px solid var(--ink); }
.part-head .no { font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em; color: var(--brass); }
.part-head h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.02em; }
.part-head p { margin: 4px 0 0; font-family: var(--serif); font-size: 18px; line-height: 27px; color: var(--stone); max-width: 60ch; }
.main section[id] { scroll-margin-top: 110px; }
.sub { display: flex; flex-direction: column; gap: 18px; }
.sub-intro { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 29px; color: var(--body); max-width: 68ch; }
.sub-note { margin: 0; font-family: var(--serif); font-size: 15px; line-height: 24px; color: var(--stone); }
.sub-label { color: var(--stone); margin-top: 6px; }
.tl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.tl li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 6px 20px; padding: 14px 0 14px 14px; border-bottom: 1px solid var(--hair); border-left: 3px solid transparent; align-items: baseline; }
.tl .y { font-family: var(--mono); font-size: 14px; font-weight: 500; }
.tl .c { font-family: var(--serif); font-size: 17px; line-height: 26px; color: var(--body); }
.tl .flag, .tl-key { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 7px; white-space: nowrap; }
.tl-buy { border-left-color: var(--green) !important; background: rgba(34, 48, 42, 0.05); }
.tl-avoid { border-left-color: #9A4A2E !important; background: rgba(154, 74, 46, 0.05); }
.tl-buy .flag, .tl-key.buy { background: var(--green); color: var(--paper); }
.tl-avoid .flag, .tl-key.avoid { background: #9A4A2E; color: var(--paper); }
.tl-key { margin-left: 6px; }
.kvrow { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.kvrow .k, .kvgrid .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--stone); text-transform: uppercase; }
.kvgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--ink); }
.kvgrid > div { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--hair); }
.kvgrid .v { font-weight: 500; font-size: 17px; }
table.fit { min-width: 560px; }
table.fit td strong { font-weight: 600; }
.cells.values .v { font-family: var(--mono); font-size: 22px; }
.rows.editions .row, .rows.recall-rows .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.rows.editions .row .n, .rows.recall-rows .row .n { grid-column: 1 / -1; line-height: 24px; }
.rows .row .t a { color: inherit; }
.lookup { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; background: var(--paper); border: 1px solid var(--ink); padding: 18px 20px; }
.lookup p { margin: 0; flex: 1 1 320px; font-family: var(--serif); font-size: 17px; line-height: 26px; color: var(--body); }
.chip.kind { font-size: 10px; padding: 2px 6px; margin-right: 6px; vertical-align: 2px; }
.toc-grp { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); padding: 16px 0 4px; }
.toc a { padding-left: 10px; }
@media (max-width: 640px) {
  .tl li { grid-template-columns: 1fr; padding-left: 12px; }
  .part { gap: 48px; }
}

/* layout */
.section { padding-block: 88px; }
.section.tight { padding-block: 56px; }
.band-paper { background: var(--paper); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.band-green { background: var(--green); color: var(--paper); }
.band-night { background: var(--night); color: var(--paper); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin-bottom: 28px; }
.band-green .sec-head, .band-night .sec-head { border-color: var(--brass); }
.sec-head h2 { font-size: 36px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 280px), 1fr)); }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split > .main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 80px; }
.split > .side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 1000px) { .split > .side { position: sticky; top: 90px; } }

/* cards */
.card { background: var(--paper); border: 1px solid var(--ink); display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.card > img, .card .ph { width: 100%; height: 280px; object-fit: cover; border-bottom: 1px solid var(--ink); }
.ph { background: var(--green); color: var(--brass); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; }
.card .body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.card h3 { font-size: 26px; }
.card .verdict { font-size: 18px; line-height: 27px; margin: 0; flex-grow: 1; }
a.card:hover { border-color: var(--brass); }

/* list rows */
.rows { border-top: 1px solid var(--ink); }
.row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; padding: 16px 0; border-bottom: 1px solid var(--hair); color: var(--ink); text-decoration: none; }
.row .t { font-weight: 600; font-size: 18px; }
.row .m { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--stone); text-transform: uppercase; }
.row .n { font-family: var(--serif); font-size: 16px; color: var(--stone); }
.band-green .rows, .band-night .rows { border-color: var(--brass); }
.band-green .row, .band-night .row { color: var(--paper); border-color: var(--line-dark); }
.band-green .row .m, .band-night .row .m { color: var(--brass); }

/* spec plate */
.plate { border: 1px solid var(--ink); padding: 4px; background: var(--paper); }
.plate > div { border: 1px solid var(--ink); padding: 16px 18px; }
.plate .head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-weight: 600; font-size: 13px; letter-spacing: 0.22em; }
.plate .kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: 14px; }
.plate .kv span:first-child { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--stone); padding-top: 2px; white-space: nowrap; }
.plate .kv span:last-child { text-align: right; }
.toc { display: flex; flex-direction: column; }
.toc a { font-size: 15px; color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--hair); }
.toc a:hover { color: var(--green); }
.find { background: var(--night); color: var(--paper); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.find .serif { font-size: 20px; line-height: 28px; }

/* tables */
.table-box { overflow-x: auto; border: 1px solid var(--ink); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--stone); font-weight: 500; padding: 12px 16px; border-bottom: 1px solid var(--ink); }
td { padding: 13px 16px; border-bottom: 1px solid var(--hair); vertical-align: top; }
td.mono { white-space: nowrap; }
td.note { color: var(--stone); }

/* engineering cells */
.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--hair); }
.cells > div { padding: 20px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--paper); display: flex; flex-direction: column; gap: 8px; }
.cells .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--stone); }
.cells .v { font-weight: 500; font-size: 20px; }
.cells .n { font-family: var(--serif); font-size: 16px; line-height: 24px; color: var(--body); }
.note-box { border: 1px solid var(--ink); background: var(--paper); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.note-box p { font-family: var(--serif); font-size: 18px; line-height: 29px; color: var(--body); margin: 0; }
.callout { background: var(--green); color: var(--paper); padding: 28px 30px; display: flex; flex-direction: column; gap: 14px; }
.callout h3 { font-size: 28px; }
.callout p { font-family: var(--serif); font-size: 18px; line-height: 29px; color: var(--on-dark); margin: 0; }
.callout a { color: var(--paper); }

/* numbered checks */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.checks .no { font-family: var(--mono); font-size: 13px; color: var(--stone); min-width: 28px; }
.checks .h { font-weight: 600; font-size: 17px; display: block; margin-bottom: 6px; }
.checks .b { font-family: var(--serif); font-size: 18px; line-height: 28px; color: var(--body); }

/* repairs */
.repair { background: var(--paper); border: 1px solid var(--ink); display: flex; flex-wrap: wrap; }
.repair .meta { flex: 1 1 220px; padding: 22px; border-right: 1px solid var(--hair); background: var(--bone); display: flex; flex-direction: column; gap: 12px; }
.repair .meta .t { font-weight: 600; font-size: 19px; line-height: 1.25; }
.repair .meta .s { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }
.repair .detail { flex: 3 1 420px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.repair .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--stone); display: block; margin-bottom: 4px; }
.repair .txt { font-family: var(--serif); font-size: 17px; line-height: 26px; }
.repair .tools { font-size: 15px; line-height: 23px; }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* faq */
.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; font-size: 18px; line-height: 1.35; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-family: var(--mono); font-weight: 400; font-size: 20px; color: var(--stone); }
.faq details[open] summary::after { content: '–'; }
.faq .a { padding: 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.faq .a p { font-family: var(--serif); font-size: 18px; line-height: 29px; color: var(--body); margin: 0; }
.faq .src { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--stone); }

/* mods */
.mod { background: var(--paper); border: 1px solid var(--ink); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.mod .why { font-family: var(--serif); font-size: 17px; line-height: 26px; color: var(--body); flex-grow: 1; }
.mod .who { display: flex; flex-wrap: wrap; gap: 4px 14px; padding-top: 10px; border-top: 1px solid var(--hair); }
.mod .who a, .mod .who span { font-size: 15px; font-weight: 500; padding: 6px 0; }

/* sale */
.sale { background: var(--night); color: var(--paper); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.sale .l { font-weight: 500; font-size: 22px; }
.sale .links { display: flex; flex-direction: column; margin-top: 8px; border-top: 1px solid var(--line-dark); }
.sale .links a { color: var(--paper); text-decoration: none; font-weight: 600; font-size: 12px; letter-spacing: 0.18em; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.sale .links a:last-child { border-bottom: 0; }
.sale .links a:hover { color: var(--brass); }

/* social */
.soc { border: 1px solid var(--ink); padding: 16px; display: flex; gap: 14px; align-items: center; color: var(--ink); text-decoration: none; background: var(--paper); }
.soc .ico { width: 48px; height: 48px; flex-shrink: 0; background: var(--green); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 10px; color: var(--brass); }
.soc .nm { font-weight: 600; font-size: 15px; display: block; }
.soc .fc { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--stone); }

/* related */
.rel { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.rel a, .rel span.x { padding: 18px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.rel a:hover { background: var(--paper); }
.rel .r { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--stone); }
.rel .nm { font-weight: 500; font-size: 18px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gallery img, .gallery .ph { width: 100%; height: 300px; object-fit: cover; border: 1px solid var(--ink); }
.gallery figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--stone); }

/* gen list on family page */
.gen { display: grid; grid-template-columns: 160px 1fr auto; gap: 8px 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.gen .yrs { font-family: var(--mono); font-size: 13px; color: var(--stone); }
.gen .nm { font-weight: 500; font-size: 24px; color: var(--ink); text-decoration: none; }
.gen .nm:hover { color: var(--green); }
.gen .sum { font-family: var(--serif); font-size: 17px; line-height: 26px; color: var(--body); margin-top: 6px; }
.gen .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; padding: 4px 8px; border: 1px solid var(--ink); white-space: nowrap; }
.gen .tag.full { background: var(--ink); color: var(--paper); }
@media (max-width: 720px) { .gen { grid-template-columns: 1fr; } }

/* stub */
.stub-note { border: 1px dashed var(--stone); padding: 24px; font-family: var(--serif); font-size: 18px; line-height: 29px; color: var(--body); background: var(--paper); }

/* models index */
.search { width: 100%; font-family: var(--sans); font-size: 17px; padding: 16px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: 0; }
.fam-block { padding: 32px 0; border-bottom: 1px solid var(--hair); display: grid; grid-template-columns: 340px 1fr; gap: 32px; }
.fam-block img, .fam-block .ph { width: 100%; height: 220px; object-fit: cover; border: 1px solid var(--ink); }
@media (max-width: 800px) { .fam-block { grid-template-columns: 1fr; } }
.later { opacity: 0.75; }

/* sources */
.sources { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--ink); padding-top: 16px; }
.sources a { font-size: 14px; }

/* footer */
.site-footer { background: var(--night); color: var(--on-dark); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.site-footer .credits { font-size: 12px; line-height: 20px; color: var(--on-dark-2); max-width: 560px; margin: 16px 0 0; }
.site-footer .legal { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; line-height: 2; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav a { color: var(--on-dark); text-decoration: none; font-size: 14px; }

/* nav CTA */
.nav a.cta { border: 1px solid var(--brass); padding: 8px 12px; }
.nav a.cta:hover, .nav a.cta.active { background: var(--brass); color: var(--night); border-bottom-color: var(--brass); }

/* rig form */
.rig-form { display: flex; flex-direction: column; gap: 40px; }
.rig-form fieldset { border: 0; border-top: 1px solid var(--ink); margin: 0; padding: 20px 0 0; min-width: 0; }
.rig-form legend { font-weight: 500; font-size: 28px; letter-spacing: -0.01em; padding: 0 0 18px; display: flex; align-items: baseline; gap: 14px; }
.rig-form legend .no { font-family: var(--mono); font-size: 13px; color: var(--stone); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px 20px; }
.fields.one { grid-template-columns: 1fr; }
.rig-form label { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.rig-form input:not([type=checkbox]):not([type=file]), .rig-form select, .rig-form textarea { font-family: var(--sans); font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 0; padding: 13px 14px; width: 100%; }
.rig-form textarea { font-family: var(--serif); font-size: 18px; line-height: 28px; resize: vertical; }
.rig-form small { font-family: var(--sans); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--stone); }
.drop { border: 1px dashed var(--ink) !important; background: var(--paper); padding: 36px 24px; align-items: center; text-align: center; cursor: pointer; }
.drop.over { background: var(--hair); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop .label { color: var(--ink); font-family: var(--sans); }
.drop .serif { font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--stone); }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.previews figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.previews img { width: 100%; height: 120px; object-fit: cover; border: 1px solid var(--ink); }
.previews figcaption { font-family: var(--mono); font-size: 10px; color: var(--stone); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.previews button { font-family: var(--mono); font-size: 11px; background: none; border: 0; padding: 0; color: var(--green); text-decoration: underline; cursor: pointer; align-self: flex-start; }
.checks-list { display: flex; flex-direction: column; gap: 14px; }
.checks-list label { flex-direction: row; align-items: flex-start; gap: 12px; font-family: var(--serif); font-size: 17px; line-height: 26px; letter-spacing: 0; text-transform: none; color: var(--body); }
.checks-list input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }
.form-error { border: 1px solid #8A2E1F; color: #8A2E1F; background: var(--paper); padding: 14px 16px; font-size: 15px; }
[hidden] { display: none !important; }
.res { display: flex; flex-direction: column; gap: 28px; }
.res-group { display: flex; flex-direction: column; gap: 12px; }
.soc .nm { overflow-wrap: anywhere; }
.buy-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.buy-links a { font-size: 15px; font-weight: 500; padding: 4px 0; }
/* after-you-buy-it service list (table on wide, stacked on narrow) */
.svc-list { border-top: 1px solid var(--ink); }
.svc-hd, .svc-row > summary, .svc-sum, .svc-more { display: grid; grid-template-columns: 1.15fr 1.6fr 1fr 20px; gap: 20px; }
.svc-hd { padding: 10px 0; border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }
.svc-row { border-bottom: 1px solid var(--hair); }
.svc-row > summary, .svc-sum { padding: 16px 0; align-items: baseline; list-style: none; }
.svc-row > summary { cursor: pointer; }
.svc-row > summary::-webkit-details-marker { display: none; }
.svc-row > summary:hover .svc-t { color: var(--green); }
.svc-row > summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.svc-t { font-weight: 600; font-size: 17px; line-height: 24px; }
.svc-spec { font-family: var(--mono); font-size: 13px; line-height: 20px; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.svc-then { font-size: 15px; line-height: 22px; color: var(--body); }
.svc-x { font-family: var(--mono); color: var(--stone); text-align: right; }
details.svc-row > summary .svc-x::before { content: '+'; }
details.svc-row[open] > summary .svc-x::before { content: '\2013'; }
.svc-more { padding: 0 0 22px; }
.svc-note { grid-column: 1 / 3; margin: 0; font-family: var(--serif); font-size: 17px; line-height: 27px; color: var(--body); }
.svc-parts { grid-column: 3 / 5; display: flex; flex-direction: column; gap: 6px; }
.svc-more > .svc-parts:only-child { grid-column: 1 / -1; }
.svc-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); }
.svc-part { display: block; font-size: 14px; line-height: 20px; }
.svc-part .sup { display: block; font-family: var(--mono); font-size: 11px; color: var(--stone); }
.svc-part .sup a { color: var(--stone); }
.svc-part .sup a:hover { color: var(--ink); }
.buy-item { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
.buy-item .amz { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--stone); }
@media (max-width: 760px) {
  .svc-hd { display: none; }
  .svc-row > summary, .svc-sum { grid-template-columns: 1fr 20px; gap: 4px 12px; }
  .svc-t { grid-column: 1; grid-row: 1; }
  .svc-x { grid-column: 2; grid-row: 1; }
  .svc-spec, .svc-then { grid-column: 1; }
  .svc-then { font-family: var(--mono); font-size: 12px; line-height: 18px; color: var(--green); }
  .svc-more { grid-template-columns: 1fr; gap: 16px; }
  .svc-note, .svc-parts { grid-column: 1; }
}
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 16px; margin-bottom: 18px; }
.filters label { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.filters input, .filters select { font-family: var(--sans); font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 0; padding: 12px 14px; width: 100%; }
.filters label:first-child { grid-column: span 2; }
@media (max-width: 640px) { .filters label:first-child { grid-column: auto; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hsearch { flex: 1 1 220px; max-width: 320px; order: 2; }
.hsearch input { width: 100%; font-family: var(--sans); font-size: 14px; padding: 9px 12px; background: transparent; color: var(--paper); border: 1px solid #3A3B36; border-radius: 0; }
.hsearch input::placeholder { color: var(--on-dark-2); }
.hsearch input:focus { border-color: var(--brass); outline: none; }
.site-header .nav { order: 3; }

/* 404: off the map */
.lost { position: relative; overflow: hidden; }
.lost-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 88px; padding-bottom: 120px; }
.lost-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lost h1 { font-size: clamp(40px, 6vw, 80px); line-height: 0.98; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.lost-quip { font-size: 24px; line-height: 33px; color: var(--paper); margin: 0; font-style: italic; }
.lost-sub { margin: 0; color: var(--on-dark); font-size: 17px; line-height: 27px; }
.lost-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.lost-plate { color: var(--ink); transform: rotate(1.5deg); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.lost-plate .mono { font-family: var(--mono); font-size: 12px; word-break: break-all; text-align: right; }
.lost-plate .kv span:last-child { text-align: right; }
.wheel-track { position: absolute; left: 0; right: 0; bottom: 18px; height: 60px; color: var(--brass); }
.wheel { position: absolute; bottom: 4px; left: 6%; animation: wheel-spin 0.6s linear infinite; }
.mud { position: absolute; left: calc(6% - 26px); bottom: 2px; width: 30px; height: 10px; border-radius: 50%; background: radial-gradient(circle, rgba(176,145,90,.55), transparent 70%); animation: mud 0.6s ease-out infinite; }
.wheel-track::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; border-top: 2px dashed rgba(176,145,90,.35); }
@keyframes wheel-spin { to { transform: rotate(360deg); } }
@keyframes mud { 0% { transform: translateX(0) scale(.6); opacity: .9; } 100% { transform: translateX(-30px) translateY(-14px) scale(1.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wheel, .mud { animation: none; } }
.lost-results, .lost-search { padding-top: 56px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 20px; }
.lost-search { padding-bottom: 80px; }
.lost-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.lost-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; text-decoration: none; color: var(--ink); min-width: 0; }
.lost-card strong { font-size: 20px; line-height: 1.2; }
.lost-x { color: var(--stone); font-size: 14px; line-height: 21px; }
.lost-form { display: flex; gap: 10px; flex-wrap: wrap; }
.lost-form input { flex: 1 1 260px; min-width: 0; font: inherit; font-size: 17px; padding: 14px 16px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
.lost-fams { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 820px) { .lost-wrap { grid-template-columns: 1fr; padding-top: 56px; } .lost-plate { transform: none; } }

/* newsletter */
.newsletter .nl-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: end; padding-top: 48px; padding-bottom: 48px; }
.newsletter h2 { margin: 10px 0 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; font-weight: 500; text-wrap: balance; }
.nl-form { display: flex; gap: 10px; flex-wrap: wrap; }
.nl-form input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid var(--brass); background: transparent; color: var(--paper); }
@media (max-width: 820px) { .newsletter .nl-wrap { grid-template-columns: 1fr; } }

/* cookie banner */
.cookie-banner { position: fixed; z-index: 60; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 760px; margin: 0 auto; background: var(--night); color: var(--paper); border: 1px solid var(--brass); padding: 18px 20px; display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.cookie-banner[hidden] { display: none; }
.cb-text { flex: 1 1 320px; min-width: 0; font-size: 15px; line-height: 23px; color: var(--on-dark); }
.cb-text strong { color: var(--paper); }
.cb-text a { color: var(--brass); }
.cb-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cb-btns .btn { padding: 12px 16px; font-size: 12px; cursor: pointer; font-family: inherit; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 24px; }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hair); }
.cookie-table th { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); font-weight: 400; }
.table-scroll { overflow-x: auto; }
@media (max-width: 520px) { .cb-btns { width: 100%; flex-wrap: nowrap; } .cb-btns .btn { flex: 1; padding: 12px 8px; letter-spacing: .12em; } }
