/* Latin WOFF2 distributions from Google Fonts. SIL licenses are in /search/fonts/. */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/search/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/search/fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("/search/fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 900; font-display: swap; src: url("/search/fonts/barlow-condensed-900.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("/search/fonts/caveat-600-700.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/search/fonts/dm-sans-400-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/search/fonts/ibm-plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/search/fonts/ibm-plex-mono-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/search/fonts/ibm-plex-mono-600.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --ink: #171714;
  --muted: #625f58;
  --paper: #f1efe8;
  --white: #fff;
  --line: #d9d5ca;
  --night: #141414;
  --night-2: #232321;
  --accent-text: #9d2b19;
  --sand: #ded5c4;
  --signal: #fa654d;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --body: "DM Sans", system-ui, sans-serif;
  --shadow: 0 14px 44px #30261b20;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 var(--body); }
[hidden] { display: none !important; }
button, input, select, summary { font: inherit; }
a { color: inherit; text-decoration: none; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.06; letter-spacing: -.027em; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid #b83924; outline-offset: 4px; }
::selection { background: var(--signal); color: var(--night); }
.wrap { width: min(100% - 96px, 1280px); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 20; padding: 12px; background: var(--signal); }
.eyebrow { font: 700 .72rem/1.4 var(--display); letter-spacing: .15em; text-transform: uppercase; }
.eyebrow b { color: inherit; }
.handwritten { font: 700 clamp(1.3rem, 2.7vw, 2.05rem)/.95 "Caveat", cursive; }
.signal { width: 7px; height: 7px; flex: 0 0 7px; display: inline-block; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px #fa654d25; }
.primary-button, .secondary-button {
  display: inline-flex; justify-content: center; align-items: center; gap: .85rem; min-height: 46px; padding: .66rem 1rem;
  font-weight: 700; line-height: 1.2; border-radius: 11px; border: 1px solid transparent;
  transition: background .2s, border .2s, box-shadow .2s, transform .2s;
}
.primary-button { background: var(--signal); color: var(--night); }
.primary-button:hover { background: #ff8b75; box-shadow: 0 5px 18px #f8573f42; transform: translateY(-2px); }
.secondary-button { background: var(--white); border-color: var(--line); color: var(--ink); }
.secondary-button:hover { background: #e8e1d2; border-color: #c8baaa; }
.text-button { border: 0; background: none; padding: 7px 3px; color: var(--accent-text); font-weight: 700; }
.text-button:hover { text-decoration: underline; }
.analytics-controls { margin-block: 14px; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.topbar { position: relative; z-index: 4; background: var(--night); color: var(--white); border-bottom: 1px solid #ffffff1a; }
.header-row { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font: 800 1.72rem/1 var(--display); letter-spacing: -.022em; white-space: nowrap; }
.wordmark b { color: var(--signal); }
.brand-icon { width: 35px; height: 35px; flex: none; }
.header-edition { display: inline-flex; align-items: center; gap: 8px; color: #c8c2b9; font: 600 .68rem var(--display); letter-spacing: .17em; }
.header-edition i { display: inline-block; height: 5px; width: 5px; border-radius: 50%; background: var(--signal); }
.header-link { display: inline-flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid #ffffff30; border-radius: 8px; font-weight: 700; font-size: .83rem; transition: background .2s, color .2s; }
.header-link:hover { background: var(--signal); color: var(--night); }

.search-form { position: relative; z-index: 3; margin-top: clamp(28px, 5vw, 67px); padding: clamp(15px, 2vw, 24px); border: 1px solid #eee8ff; border-radius: 19px; background: var(--white); color: var(--ink); box-shadow: 0 18px 55px #08071848; }
.finder-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 15px; }
.finder-heading .eyebrow, .section-kicker, .detail-edition { color: var(--accent-text); }
.finder-heading p { font: 700 1.2rem/1.2 var(--display); letter-spacing: -.035em; }
.main-fields { display: grid; grid-template-columns: 1.12fr 1.12fr .91fr .91fr 1fr auto; align-items: end; gap: 10px; }
.main-fields > *, .advanced-fields > * { min-width: 0; }
.main-fields label, .check-field > p, .advanced-fields label, .sort, #feature-filter-field { display: grid; gap: 5px; color: #484458; font-size: .77rem; font-weight: 700; }
.check-field > p { margin-bottom: 5px; }
input:not([type=checkbox]), select, .checklist > summary { width: 100%; min-width: 0; height: 46px; padding: 0 10px; border: 1px solid #dfdbe9; border-radius: 9px; color: var(--ink); background: #faf9fd; font-size: .86rem; transition: border-color .18s, background .18s; }
:is(input:not([type=checkbox]), select, .checklist > summary):hover { border-color: #a99cda; background-color: #f8f5ff; }
input::placeholder { opacity: 1; color: #6f697f; }
input[type=checkbox] { width: 1rem; height: 1rem; accent-color: var(--accent-text); }
.main-fields > button { padding-inline: 1rem; white-space: nowrap; font-size: .86rem; }
.checklist { position: relative; }
.checklist > summary { display: flex; justify-content: space-between; gap: 5px; align-items: center; font-weight: 700; }
.checklist > summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checklist > summary::-webkit-details-marker { display: none; }
select {
  appearance: none;
  padding-right: 31px;
  background: #fffdf8 url('/search/chevron.svg') right 10px center / 14px no-repeat;
}
:is(input:not([type=checkbox]), select, .checklist > summary):hover { background-color: #fffaf1; }
.chevron, .checklist > summary::after, .advanced > summary::before, .dealers > summary::before, .show-more::after {
  display: inline-block;
  width: .46rem;
  height: .46rem;
  flex: 0 0 .46rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.chevron-right { transform: rotate(-45deg); }
.chevron-left { transform: rotate(135deg); }
.checklist > summary::after { content: ''; color: var(--accent-text); transition: transform .2s; }
.checklist[open] > summary::after { transform: rotate(225deg); }
.advanced > summary, .dealers > summary { display: flex; align-items: center; gap: 9px; list-style: none; }
.advanced > summary::-webkit-details-marker, .dealers > summary::-webkit-details-marker { display: none; }
.advanced > summary::before, .dealers > summary::before { content: ''; transform: rotate(-45deg); }
.advanced[open] > summary::before, .dealers[open] > summary::before { transform: rotate(45deg); }
.show-more::after { content: ''; }
.header-label-narrow { display: none; }
.checklist[open] { z-index: 2; }
.checklist[open] > summary { border-color: #9b83ef; background: #f4eeff; }
.check-panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 4; width: min(300px, 70vw); border: 1px solid #ded6f1; border-radius: 13px; padding: 12px; background: var(--white); box-shadow: var(--shadow); }
.check-panel fieldset { margin: 8px 0; padding: 3px 4px; border: 0; min-width: 0; max-height: 230px; overflow: auto; }
.check-panel .check-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 5px; cursor: pointer; overflow-wrap: anywhere; }
.check-option:hover { background: #f3efff; border-radius: 7px; }
.check-count, .check-empty { color: var(--muted); }
.check-actions { display: flex; justify-content: space-between; align-items: center; gap: 7px; font-size: .83rem; }
.check-actions .secondary-button { min-height: 36px; }
.advanced { margin-top: 12px; }
.advanced > summary, .dealers > summary { width: fit-content; color: var(--accent-text); font-size: .85rem; font-weight: 700; padding: 5px 3px; }
#advanced-count { margin-left: 4px; padding: .1em .55em; background: #eee9ff; border-radius: 12px; }
.advanced-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin-top: 10px; padding-top: 11px; border-top: 1px solid var(--line); }
.draft-note { padding: 6px 10px; margin-bottom: 12px; border-radius: 7px; background: #352764; color: #fff; }
.shortcut-section { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 17px; }
.shortcut-section h2 { font: 700 .8rem var(--display); color: #d6c8ff; }
.shortcut-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.shortcut-button { border: 1px solid #ffffff46; border-radius: 999px; background: #25203e; color: white; padding: 5px 11px; font-size: .78rem; font-weight: 700; transition: background .2s, color .2s; }
.shortcut-button:hover, .shortcut-button[aria-pressed=true] { background: var(--signal); color: var(--ink); border-color: var(--signal); }

.market-strip { background: #eeebfa; border-bottom: 1px solid #e2ddef; }
.market-row, .snapshot { display: flex; align-items: center; flex-wrap: wrap; }
.market-row { padding-block: 14px; column-gap: 24px; row-gap: 7px; color: #373054; }
.market-row > .eyebrow { display: flex; align-items: center; gap: 9px; }
.market-row .signal { background: #725bd6; box-shadow: 0 0 0 4px #765adb23; }
.snapshot { gap: 4px 19px; font-size: .84rem; }
.snapshot time { color: var(--muted); font-size: .76rem; }
.results { padding-block: clamp(35px, 6vw, 72px); }
.results-header { display: flex; align-items: end; justify-content: space-between; gap: 12px 22px; margin-bottom: 16px; }
.results-header h2, .guide-intro h2, .info-intro h2 { font-size: clamp(2.2rem, 5vw, 4.35rem); }
.results-header h2 span, .info-intro h2 span { color: var(--accent-text); }
.results-header h2:focus:not(:focus-visible) { outline: none; }
.section-kicker { margin-bottom: 8px; }
#result-count { color: var(--muted); margin-top: 7px; }
.sort { position: relative; z-index: 4; width: min(100%, 175px); flex: 0 0 auto; }
.sort > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 49px; padding: 7px 13px; border: 1px solid #d7cec0; border-radius: 14px;
  color: var(--ink); background: #fffaf1; list-style: none;
  transition: background-color .2s, border-color .2s;
}
.sort > summary::-webkit-details-marker { display: none; }
.sort > summary:hover, .sort[open] > summary { background: #fff4e5; border-color: #b98a72; }
.sort > summary small, .sort > summary strong { display: block; }
.sort > summary small { font: 600 .65rem var(--mono); text-transform: uppercase; letter-spacing: .035em; color: var(--muted); }
.sort > summary strong { font-size: .84rem; }
.sort > summary .chevron { color: var(--accent-text); transition: transform .22s; }
.sort[open] > summary .chevron { transform: rotate(225deg); }
.sort-menu {
  position: absolute; z-index: 1; top: calc(100% + 7px); right: 0; width: min(224px, calc(100vw - 34px));
  padding: 5px; border: 1px solid #5e4c3c; border-radius: 14px; background: #24221f;
  box-shadow: 0 12px 27px #21150644; transform-origin: top right;
}
.sort[open] .sort-menu { animation: sort-open .20s ease-out both; }
.sort-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; min-height: 42px; text-align: left; padding: 6px 10px;
  color: #fff7e9; background: transparent; border: 0; border-radius: 5px; font-size: .82rem; font-weight: 700;
  transition: color .16s, background-color .16s;
}
.sort-menu button:hover, .sort-menu button:focus-visible { background: #40362f; }
.sort-menu button[aria-pressed=true] { color: #ff9b83; background: #46322b; }
.sort-menu button[aria-pressed=true]::after { content: '✓'; color: #ff9b83; }
@keyframes sort-open { from { opacity: 0; transform: translateY(-5px) scale(.98); } to { opacity: 1; transform: none; } }
.inventory-note, .filters-applied { padding: 10px 14px; background: #ece7fc; border: 1px solid #e0d7f9; border-radius: 10px; margin-bottom: 13px; }
.filters-applied { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.filters-applied ul, .dealers ul, .card-specs { list-style: none; padding: 0; margin: 0; }
.filters-applied ul, .card-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip, #clear { border: 1px solid #d6c9fb; background: #fff; border-radius: 999px; padding: 5px 10px; color: #3d306b; font-size: .77rem; font-weight: 700; }
.filter-chip:hover, #clear:hover { background: #f8f4ff; }
.dealers { margin-bottom: 16px; }
.dealers ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 8px; margin-top: 9px; }
.dealer-button { width: 100%; text-align: left; height: 100%; display: grid; align-content: start; gap: 4px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink); }
.dealer-button span { color: var(--muted); font-size: .75rem; }
.dealer-button:is(:hover, [aria-pressed=true]) { border-color: #aa95fa; background: #eee9ff; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(13px, 2vw, 26px); }
.listing { display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; border-radius: 17px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 3px 12px #38312310; transition: transform .27s, border-color .27s, box-shadow .27s; }
.listing:is(:hover, :focus-within) { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b8a8f3; }
.listing-photo { display: grid; position: relative; aspect-ratio: 1.67; overflow: hidden; place-items: center; background: radial-gradient(ellipse at 50% 25%, #403a57, #242131 85%); }
.listing-photo:focus-visible { outline-offset: -4px; }
.listing-photo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; transition: filter .25s; }
.listing:hover img { filter: brightness(1.07); }
.photo-label, .photo-arrow { display: inline-grid; place-items: center; position: absolute; right: 11px; border-radius: 8px; font-size: .73rem; font-weight: 700; }
.photo-label { bottom: 10px; padding: 3px 8px; color: #fff; background: #1b1829; }
.photo-arrow { top: 10px; width: 32px; height: 32px; color: var(--ink); background: var(--signal); font-size: .95rem; transition: transform .25s; }
.listing:hover .photo-arrow { transform: rotate(12deg); }
.listing-copy { display: flex; flex-direction: column; min-width: 0; padding: clamp(13px, 1.7vw, 21px); }
.listing h3 { font-size: clamp(1.23rem, 2.05vw, 1.68rem); }
.listing-title-link:hover { color: var(--accent-text); }
.trim { margin-top: 4px; color: var(--muted); font-size: .86rem; overflow-wrap: anywhere; }
.listing-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 10px; padding: 10px 11px; border-radius: 9px; background: #f1eefb; }
.card-metric { min-width: 0; display: grid; align-content: start; gap: 3px; }
.card-metric + .card-metric { border-left: 1px solid #dcd5f2; padding-left: 10px; }
.card-metric small { color: #61567c; font: 700 .66rem var(--display); letter-spacing: .075em; text-transform: uppercase; }
.card-metric strong { font: 700 clamp(.92rem, 1.52vw, 1.22rem)/1.09 var(--display); letter-spacing: -.045em; overflow-wrap: anywhere; }
.card-specs li { padding: 3px 7px; border-radius: 5px; background: #f4f3f7; font-size: .72rem; color: #4d485e; }
.listing-source { flex: 1; padding-top: 12px; margin-bottom: 9px; color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; }
.listing-source p { color: #464155; font-weight: 700; }
.listing-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.listing-detail-link, .history-link { color: var(--accent-text); font-weight: 700; font-size: .83rem; }
.listing-detail-link:hover, .history-link:hover { text-decoration: underline; }
.listing-actions .history-link { color: var(--muted); font-size: .72rem; }
.show-more { display: flex; width: max-content; max-width: 100%; margin: 22px auto 0; }
.empty { padding: 36px 16px; border: 1px dashed #cfc6e9; border-radius: 16px; text-align: center; background: #fbfaff; }
.empty h3, .empty h1 { font-size: clamp(1.4rem, 4vw, 2.25rem); }
.empty p { margin-top: 8px; color: var(--muted); }
.empty .secondary-button { margin-top: 16px; }
.search-icon { width: 22px; height: 22px; border: 2px solid var(--accent-text); border-radius: 50%; margin: 0 auto 12px; position: relative; }
.search-icon::after { content: ''; position: absolute; bottom: -4px; right: -5px; width: 8px; height: 2px; background: var(--accent-text); transform: rotate(45deg); }

.buying-guide { border-top: 1px solid var(--line); padding-block: 35px clamp(43px, 7vw, 80px); }
.guide-intro > p:last-child { margin-top: 9px; color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 20px; }
.guide-grid article { background: #ede8fb; border: 1px solid #e4dbf9; border-radius: 15px; padding: clamp(15px, 2.2vw, 28px); transition: border-color .22s, transform .22s; }
.guide-grid article:nth-child(2) { background: #e8efda; border-color: #dce8c4; }
.guide-grid article:nth-child(3) { background: #e9ebfa; border-color: #dfe1f6; }
.guide-grid article:hover { transform: translateY(-3px); border-color: #b9a6fa; }
.guide-grid article span { font: 700 .68rem var(--display); letter-spacing: .12em; color: #50486a; }
.guide-grid h3 { margin: 8px 0; font-size: clamp(1.2rem, 2.45vw, 1.85rem); }
.guide-grid p { color: #494359; font-size: .88rem; }

.gallery-button { display: grid; place-items: center; min-width: 34px; min-height: 34px; border: 1px solid #ffffff4d; border-radius: 8px; color: #fff; background: #ffffff10; transition: background .2s, color .2s; }
.gallery-button:not(:disabled):hover { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.photo-error { padding: 7px 12px; }
.photo-rail { display: flex; gap: 7px; max-width: 100%; overflow-x: auto; padding: 6px 5px 10px; margin-top: 6px; }
.thumbnail { flex: 0 0 68px; height: 52px; padding: 1px; border: 2px solid transparent; border-radius: 8px; background: #ddd6ed; overflow: hidden; }
.thumbnail[aria-current=true] { border-color: #6850c3; }
.thumbnail img { width: 100%; height: 100%; object-fit: contain; background: #252132; border-radius: 4px; }
.photo-viewer { position: fixed; width: min(1120px, 100% - 24px); max-width: none; max-height: calc(100dvh - 24px); padding: 11px; border: 1px solid #ffffff38; border-radius: 15px; background: var(--night); color: white; }
.photo-viewer::backdrop { background: #090815dc; backdrop-filter: blur(5px); }
.photo-viewer[open] { animation: arrive .23s ease-out; }
.photo-viewer > img { width: 100%; height: min(76dvh, 900px); object-fit: contain; background: #221e2d; border-radius: 8px; }
.viewer-tools, .viewer-controls { display: flex; align-items: center; gap: 8px; }
.viewer-tools { justify-content: space-between; margin-bottom: 8px; }
.viewer-controls { justify-content: center; margin-top: 8px; }
.close-viewer { font-size: 1.38rem; }

.footer { background: radial-gradient(ellipse at 90% 0%, #382b63, transparent 65%), #171424; color: white; }
.footer-main { padding-block: clamp(27px, 5vw, 55px); display: grid; grid-template-columns: 1.25fr .7fr 1fr; gap: 18px 24px; }
.footer-main nav { display: grid; justify-items: start; align-content: start; gap: 7px; }
.footer-main nav a { font-size: .88rem; font-weight: 700; }
.footer-main nav a:hover, .footer-bottom a:hover { color: var(--signal); }
.footer-main p { color: #d6cee9; margin-top: 8px; font-size: .87rem; max-width: 40ch; }
.footer-main .eyebrow { color: var(--sand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #ffffff2d; padding-block: 13px; color: #d6cee9; font: 600 .69rem var(--display); letter-spacing: .12em; }
.footer-bottom a { letter-spacing: 0; font-size: .86rem; }

/* Customer showroom */
.topbar { border-bottom-color: #ffffff25; }
.header-row { height: 65px; }
.header-link, .primary-button, .secondary-button { border-radius: 2px; }
.header-edition { font-family: var(--mono); letter-spacing: .12em; }
.primary-button, .primary-button:hover { color: var(--night); }
.eyebrow { font-family: var(--mono); }
.hero { position: relative; background: #211915; color: #fbf8f1; padding-bottom: 18px; }
.hero-stage { min-height: clamp(410px, 39vw, 565px); position: relative; display: grid; align-items: center; isolation: isolate; overflow: clip; }
.hero-visual { position: absolute; inset: 0 0 0 auto; width: min(76%, 1110px); z-index: -1; overflow: hidden; background: #211915; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; animation: photo-wipe .75s cubic-bezier(.22,.68,.27,1) backwards; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #211915 0%, #211915e0 12%, #21191557 42%, transparent 65%), linear-gradient(0deg, #211915 0%, #21191525 20%, transparent 36%); }
.hero-content { position: relative; padding-block: 32px 90px; }
.draft-note, .hero-lead { width: fit-content; }
.hero-lead { animation: slide-in .65s .14s backwards; }
.hero h1 { font-size: clamp(4.35rem, 7.25vw, 7.5rem); font-weight: 900; line-height: .84; text-transform: uppercase; letter-spacing: -.018em; }
.hero h1 em { color: var(--signal); font-style: normal; }
.hero-copy { max-width: 43ch; margin-top: 23px; color: #eee8db; font-size: 1.02rem; }
.hero-finder { position: relative; z-index: 1; margin-top: -63px; }
.hero-finder .search-form { box-shadow: 0 16px 40px #100a074d, inset 0 1px 0 #fff9; }
.hero-lanes { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; pointer-events: none; overflow: hidden; background: #f8573f31; }
.hero-lanes i { position: absolute; height: 3px; width: 17%; background: linear-gradient(90deg, transparent, var(--signal)); animation: lane 1.4s .2s both cubic-bezier(.25,.65,.4,1); }
.hero-lanes i:nth-child(2) { animation-delay: .38s; width: 10%; }
.hero-lanes i:nth-child(3) { animation-delay: .6s; width: 4%; }
.market-strip { background: #e8e2d5; border-color: #d5cfc0; }
.market-row { color: var(--ink); padding-block: 11px; }
.market-row .signal { background: var(--accent-text); box-shadow: 0 0 0 4px #a3352330; }

.results-layout { display: grid; grid-template-columns: minmax(195px, 235px) minmax(0, 1fr); gap: clamp(18px, 3.5vw, 50px); align-items: start; }
.browse-tools { min-width: 0; }
.search-form {
  margin: 0; padding: clamp(14px, 2.1vw, 24px); border: 1px solid #fff6e5;
  border-radius: 23px; background: linear-gradient(138deg, #fffdf9, #f2eadf);
}
.finder-heading { margin-bottom: 12px; }
.finder-heading h2, .rail-heading h2 { font-size: 1.65rem; font-weight: 800; text-transform: uppercase; }
.main-fields { grid-template-columns: repeat(2, minmax(0, 1.05fr)) repeat(2, minmax(0, .87fr)) minmax(0, 1.12fr) auto; gap: 11px; }
.main-fields > button {
  justify-content: space-between; min-height: 48px; border-radius: 999px;
  background: linear-gradient(125deg, #ff967d, var(--signal));
  box-shadow: inset 0 1px 0 #fff5, 0 4px 10px #af4c2530;
}
.main-fields > button:hover { background: linear-gradient(125deg, #ffad96, #fa755a); }
.main-fields label, .check-field > p, .advanced-fields label, .sort, #feature-filter-field { color: #4c4941; }
input:not([type=checkbox]), select, .checklist > summary { border-radius: 2px; border-color: #d8d0c2; background-color: #fffdf8; }
:is(input:not([type=checkbox]), select, .checklist > summary):hover { border-color: #a29a89; background-color: #fffaf1; }
input[type=checkbox] { accent-color: var(--accent-text); }
.search-form :is(input:not([type=checkbox]), select, .checklist > summary) {
  height: 48px; padding: 0 12px; border-radius: 14px; border-color: #e1d4c3; line-height: 1.25;
  background-color: #fffdfa; box-shadow: 0 2px 4px #3f27130a;
  transition: background-color .18s, border-color .18s, box-shadow .18s;
}
.search-form select[name] { padding-right: 34px; background-position: right 12px center; }
.search-form input[type=number] { appearance: textfield; }
.search-form input[type=number]::-webkit-inner-spin-button,
.search-form input[type=number]::-webkit-outer-spin-button { appearance: none; margin: 0; }
.search-form :is(input:not([type=checkbox]), select, .checklist > summary):hover { border-color: #c4a88d; background-color: #fffaf2; }
.search-form :is(input:not([type=checkbox]), select, .checklist > summary):focus-visible {
  outline: 2px solid var(--accent-text); outline-offset: -2px;
}
.search-form .checklist > summary { padding-right: 8px; }
.search-form .checklist > summary::after {
  width: 26px; height: 26px; flex-basis: 26px; border: 0; border-radius: 50%;
  background: #efe6da url('/search/chevron.svg') center / 14px no-repeat;
  transform: none;
}
.search-form .checklist[open] > summary::after { transform: rotate(180deg); }
.search-form .checklist[open] > summary { background: #fff5eb; border-color: #bb8972; }
.check-panel {
  border-color: #e0d0be; border-radius: 17px; max-width: calc(100vw - 46px);
  background: #fffcf6; box-shadow: 0 16px 38px #26160e33;
}
.checklist[open] .check-panel { animation: sort-open .18s ease-out both; }
.check-panel fieldset { margin-block: 8px; padding: 2px 0; scrollbar-width: thin; scrollbar-color: #c9b3a0 transparent; }
.check-panel .check-option { min-height: 38px; padding: 6px 8px; border-radius: 9px; }
.check-option:hover, .check-option:focus-within { background: #f3e9dc; }
.check-option:has(input:checked) { background: #fae5d8; color: #672719; }
.check-count { font: 500 .68rem var(--mono); }
.check-actions { padding-top: 8px; border-top: 1px solid #ebdfd2; }
.check-actions .secondary-button { border-radius: 999px; padding-inline: 14px; }
.search-form .advanced > summary { min-height: 36px; padding: 4px 11px; border-radius: 999px; }
.search-form .advanced > summary:hover, .search-form .advanced[open] > summary { background: #eedfce; }
@supports (appearance: base-select) and selector(::picker(select)) {
  .search-form select, .search-form select::picker(select) { appearance: base-select; }
  .search-form select[name] {
    display: flex; align-items: center; gap: 6px; background-image: none; padding-right: 8px;
  }
  .search-form select > button { flex: 1 1 auto; min-width: 0; }
  .search-form selectedcontent {
    display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  }
  .search-form select::picker-icon {
    content: ''; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%;
    background: #efe6da url('/search/chevron.svg') center / 14px no-repeat;
    transition: transform .2s;
  }
  .search-form select:open::picker-icon { transform: rotate(180deg); }
  .search-form select::picker(select) {
    margin-top: 6px; padding: 5px; border: 1px solid #e0d0be; border-radius: 14px;
    background: #fffcf6; box-shadow: 0 13px 28px #26160e33;
    max-width: calc(100vw - 34px);
  }
  .search-form option { min-height: 39px; padding: 7px 9px; border-radius: 8px; color: var(--ink); }
  .search-form option:is(:hover, :focus-visible) { background: #f3e9dc; }
  .search-form option:checked { background: #fae5d8; color: #672719; }
}
.advanced-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#advanced-count { background: #f3e2d7; }
.shortcut-section { margin: 14px 0 0; }
.shortcut-button { background: #292620; border: 1px solid #77675a; border-radius: 999px; color: #fff2df; }
.shortcut-button:hover, .shortcut-button[aria-pressed=true] { color: var(--ink); }
.brand-rail { border-top: 2px solid var(--night); margin-bottom: 25px; padding-top: 12px; }
.rail-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.rail-heading > span { color: var(--accent-text); }
.brand-buttons { display: grid; }
.brand-button { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 9px; width: 100%; background: transparent; border: 0; border-bottom: 1px solid #d8d2c4; min-height: 45px; padding: 5px; color: var(--ink); text-align: left; transition: background .2s, padding .2s; }
.brand-button img { width: 34px; height: 29px; object-fit: contain; transition: transform .23s; }
.brand-button:hover img { transform: translateX(2px) scale(1.08); }
.brand-button span { font-weight: 700; font-size: .83rem; overflow-wrap: anywhere; }
.brand-button small { font: 500 .67rem var(--mono); color: var(--muted); }
.brand-button:hover, .brand-button[aria-pressed=true] { background: #e9ded0; padding-left: 8px; }
.brand-button[aria-pressed=true] { box-shadow: inset 3px 0 var(--signal); }
.brand-button .brand-initials {
  display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px;
  background: #e9ded0; color: #5d493b; font: 600 .65rem var(--mono);
}
.results { padding-block: clamp(24px, 4vw, 48px); }
.results-header { border-top: 2px solid var(--night); padding-top: 9px; column-gap: 15px; }
.results-header h2, .guide-intro h2 { font-weight: 800; line-height: .92; font-size: clamp(2.4rem, 5.4vw, 5.1rem); text-transform: uppercase; }
.filters-applied, .inventory-note { border-radius: 2px; background: #ede4d8; border-color: #dbcebe; }
.filter-chip, #clear { background: #fffaf1; border-color: #d6c3ab; color: #5a3024; }
.filter-chip:hover, #clear:hover { background: #f2e1d2; }
.dealer-button { border-radius: 2px; }
.dealer-button:is(:hover, [aria-pressed=true]) { background: #f1e3d4; border-color: #c9987d; }
.listing-grid { gap: 20px; }
.listing { border: 0; border-bottom: 2px solid #c9c2b3; border-radius: 0; background: #faf7ee; box-shadow: none; }
.listing:is(:hover,:focus-within) { transform: translateY(-3px); border-color: var(--accent-text); box-shadow: 0 9px 19px #28221916; }
.listing-photo { background: #292823; display: block; aspect-ratio: 1.55; }
.listing-photo img { position: absolute; inset: 0; object-fit: cover; transition: scale .4s, filter .3s; }
.listing:hover img { scale: 1.036; }
.photo-label, .photo-arrow { border-radius: 2px; }
.photo-arrow { transform: none; }
.listing-copy { padding: 12px 13px; }
.listing h3 { font-size: clamp(1.55rem, 2.65vw, 2.15rem); font-weight: 800; }
.listing-facts { background: transparent; border-radius: 0; border-block: 1px solid #dfd6c6; margin-block: 10px 8px; padding: 7px 0; }
.card-metric + .card-metric { border-color: #dfd6c6; }
.card-metric strong { font-size: 1.54rem; letter-spacing: -0.02em; }
.card-metric small { color: #5c554b; font: 500 .63rem var(--mono); letter-spacing: -.02em; }
.card-specs li { border-radius: 1px; background: #eee9dc; color: #534b3e; }
.listing-source { padding-top: 8px; }
.listing-source, .listing-actions .history-link { color: #62594b; }
.listing-actions { border-color: #dfd6c6; }
.availability-notice {
  margin-block: 8px 10px; padding: 7px 9px; border-inline-start: 3px solid var(--accent-text);
  background: #fae4d8; color: #582a1e; font-size: .82rem; line-height: 1.35;
}
.availability-seen { display: block; margin-top: 3px; }
.compare-table .availability-notice { margin-bottom: 2px; font-size: .73rem; }
.empty { border-color: #d5c9b6; border-radius: 2px; background: #faf6ee; }
.guide-grid article, .guide-grid article:nth-child(n) { background: transparent; border: 0; border-top: 2px solid var(--night); border-radius: 0; padding: 12px 0; }
.guide-grid article p { color: var(--muted); }
.guide-grid article:hover { border-top-color: var(--accent-text); }
.guide-grid h3 { font-size: 1.65rem; }
.footer { background: #191917; border-top: 3px solid var(--signal); }
.footer-main p, .footer-bottom { color: #e1d9ca; }

.compare-toggle {
  min-height: 44px; padding: 5px 8px; border: 1px solid #cfc4b2; background: transparent;
  color: var(--ink); font-weight: 700; font-size: .74rem;
}
.compare-toggle:is(:hover, [aria-pressed=true]) { border-color: var(--accent-text); color: var(--accent-text); background: #fae4d8; }
.compare-toggle[aria-pressed=true]::before { content: '✓'; margin-right: 4px; }
.compare-toggle[aria-disabled=true] { opacity: .66; cursor: not-allowed; }
body:has(.compare-tray:not([hidden])) { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.compare-tray {
  position: fixed; z-index: 5; left: 50%; bottom: max(10px, env(safe-area-inset-bottom)); translate: -50% 0;
  width: min(530px, 100% - 24px); display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  color: #fff6e9; background: var(--night); border: 1px solid #ffffff50; border-top: 3px solid var(--signal);
  box-shadow: 0 9px 35px #29231d57;
}
.compare-tray p { flex: 1; font: 600 .8rem/1.2 var(--mono); }
.compare-tray .text-button { color: #ffe4d6; min-height: 44px; }
.compare-tray .primary-button { min-height: 44px; padding-inline: .75rem; white-space: nowrap; font-size: .84rem; }
.compare-dialog {
  width: min(880px, 100% - 20px); max-width: none; max-height: calc(100dvh - 20px); padding: 0;
  border: 1px solid var(--line); border-top: 4px solid var(--signal); background: #faf7ee; color: var(--ink);
}
.compare-dialog[open] { display: flex; flex-direction: column; }
.compare-dialog::backdrop { background: #171614b8; }
.compare-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: clamp(13px, 3vw, 25px); }
.compare-heading h2 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
.compare-heading p, .compare-scroll-hint { color: var(--muted); font-size: .83rem; }
.compare-heading .secondary-button { min-height: 44px; }
.compare-scroll-hint { display: none; padding: 0 13px 7px; }
.compare-table-scroll { overflow: auto; overscroll-behavior: contain; }
.compare-table-scroll:focus-visible { outline-offset: -3px; }
.compare-table { width: 100%; table-layout: fixed; border-spacing: 0; }
.compare-table :is(th, td) {
  padding: clamp(6px, 1.2vw, 12px); border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  text-align: left; vertical-align: top; overflow-wrap: anywhere; font-size: clamp(.75rem, 1.5vw, .9rem);
}
.compare-table th:first-child { position: sticky; left: 0; z-index: 1; width: clamp(5.3rem, 20vw, 10rem); background: #efe6d6; border-left: 0; }
.compare-table tbody tr:nth-child(even) td { background: #f4ecdf; }
.compare-table .compare-unknown { color: var(--muted); }
.compare-vehicle-link { display: grid; gap: 4px; font-weight: 800; line-height: 1.15; }
.compare-vehicle-link img { width: 100%; aspect-ratio: 1.55; object-fit: cover; background: #292823; }
.compare-vehicle-link small { color: var(--accent-text); font-weight: 700; }
.compare-vehicle-link .compare-dealer { color: var(--muted); font-weight: 500; }
.compare-vehicle-link:hover small { text-decoration: underline; }
.compare-remove { min-height: 44px; padding-inline: 0; font-size: .78rem; }
@media (max-width: 468px) {
  .compare-dialog[data-selection="3"] .compare-scroll-hint { display: block; }
  .compare-dialog[data-selection="3"] .compare-table { min-width: 28rem; }
}

/* Wide-angle vehicle photography and a spec sheet beneath it. */
.vehicle-return { background: #201f1d; color: #ede5d8; }
.back-link { display: inline-flex; align-items: center; gap: 10px; min-height: 39px; font: 500 .76rem var(--mono); }
.back-link span { color: var(--signal); transition: translate .2s; }
.back-link:hover span { translate: -4px 0; }
.server-vehicle { width: min(1280px,100% - 50px); margin: 20px auto; }
.vehicle-state { margin-block: 15px 30px; }
.gallery { position: relative; color: white; background: #201e1a; }
.photo-toggle { position: relative; display: block; width: 100%; height: clamp(325px, min(47vw, 59vh), 590px); padding: 0; border: 0; background: #211f1c; overflow: hidden; }
.photo-toggle:focus-visible { outline-offset: -5px; }
.photo-toggle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.gallery-progress { width: 100%; height: 3px; position: absolute; z-index: 1; bottom: 0; border: 0; background: #0008; appearance: none; }
.gallery-progress::-webkit-progress-bar { background: #0008; }
.gallery-progress::-webkit-progress-value { background: var(--signal); }
.gallery-progress::-moz-progress-bar { background: var(--signal); }
.photo-toggle img.photo-ready { animation: shutter .4s cubic-bezier(.2,.7,.3,1) backwards; }
.photo-toggle::after { content: ''; position: absolute; inset: 38% 0 0; background: linear-gradient(0deg, #0b0b0af0, #13131166 64%, transparent); pointer-events: none; }
.gallery-caption { display: flex; justify-content: space-between; align-items: end; position: absolute; bottom: 23px; left: 0; right: 0; gap: 14px; pointer-events: none; }
.detail-heading { min-width: 0; color: #fffaf1; animation: slide-in .55s .12s backwards; }
.detail-heading h1 { font-size: clamp(3rem, 7vw, 7.5rem); line-height: .8; text-transform: uppercase; font-weight: 900; text-shadow: 0 2px 13px #1117; }
.vehicle-location { margin-bottom: 9px; color: #fff4e4; font: 500 clamp(.65rem, 1.1vw, .89rem)/1.3 var(--mono); }
.detail-trim { margin-top: 8px; color: #f0e5d3; font-weight: 700; }
.gallery-dial { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; white-space: nowrap; pointer-events: auto; }
.gallery-buttons { display: flex; gap: 4px; }
#photo-index { min-width: 3.25rem; padding: 0 3px; text-align: center; font: 600 .72rem var(--mono); color: #fff6e9; }
.gallery-dial button { background-color: #191915e0; }
.gallery-dial button:not(:disabled):hover { background-color: var(--signal); }
.photo-open { border: 1px solid #fff7; color: white; padding: 7px 9px; min-height: 34px; font-size: .75rem; font-weight: 700; }
.photo-open:hover { background: var(--signal); color: var(--ink); }
.photo-rail { display: flex; gap: 5px; overflow-x: auto; margin: 0; padding: 7px 3px 10px; border-top: 1px solid #ffffff27; scrollbar-width: thin; }
.thumbnail { flex: 0 0 clamp(64px, 8vw, 112px); aspect-ratio: 1.65; height: auto; border-radius: 0; padding: 0; }
.thumbnail img { border-radius: 0; object-fit: cover; }
.thumbnail[aria-current=true] { border-color: var(--signal); }
.vehicle-summary { background: #181817; color: #fff8eb; border-bottom: 3px solid var(--signal); }
.offer-metrics { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; padding: 19px 0 14px; }
.offer-metrics > div { display: grid; min-width: 0; gap: 4px; padding: 0 25px 0 0; border-right: 1px solid #fff5; }
.offer-metrics span { color: #f3e4d2; font: 500 .7rem var(--mono); text-transform: uppercase; }
.offer-metrics strong { color: #fff8eb; font: 800 clamp(2.25rem, 5vw, 4.75rem)/.9 var(--display); letter-spacing: -.025em; }
.offer-price strong { color: var(--signal); }
.source-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; }
.vehicle-information { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .47fr); align-items: start; gap: clamp(22px, 5vw, 75px); padding-block: clamp(28px, 5vw, 67px); }
.vehicle-editorial, .vehicle-section { min-width: 0; }
.vehicle-section { border-top: 2px solid var(--ink); padding: 12px 0 20px; }
.vehicle-section h2, .detail-next h2 { font-size: clamp(1.9rem, 3.8vw, 3.4rem); font-weight: 800; text-transform: uppercase; }
.record-list { display: grid; margin: 7px 0; }
.record-list > div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid #d7cebd; padding: 9px 0; font-size: .87rem; }
.record-list dt { color: #62594b; }
.record-list dd { margin: 0; font-weight: 700; text-align: end; overflow-wrap: anywhere; }
.epa-context, .epa-attribution { color: var(--muted); font-size: .85rem; }
.epa-ratings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 13px 0 7px; background: var(--line); }
.epa-ratings > div { min-width: 0; background: #e9e1d1; padding: clamp(8px, 2vw, 18px); }
.epa-ratings > div:last-child { background: #292522; color: #fff5e7; }
.epa-ratings dt { font: 500 clamp(.66rem, 1.6vw, .85rem)/1.3 var(--mono); }
.epa-ratings dd { margin: 0; font: 800 clamp(2rem, 6vw, 4.2rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.epa-attribution { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 14px; }
.epa-attribution a { display: inline-grid; align-items: center; min-height: 44px; color: var(--accent-text); font-weight: 700; text-decoration: underline; }
.equipment-disclosure summary { display: flex; align-items: center; gap: 10px; }
.equipment-disclosure summary::-webkit-details-marker { display: none; }
.equipment-disclosure summary::after { content: '+'; margin-left: auto; color: var(--accent-text); font: 600 1.5rem var(--mono); }
.equipment-disclosure[open] summary::after { content: '−'; }
#features-count { font: 500 .69rem var(--mono); color: var(--muted); }
#feature-filter-field { width: min(100%, 250px); margin-top: 8px; }
.equipment-disclosure h3 { margin-top: 14px; font-size: 1rem; }
.equipment-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 5px 20px; }
.equipment-list li { border-bottom: 1px solid #d7cebd; font-size: .84rem; padding-block: 5px; overflow-wrap: anywhere; }
.history-section .history-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.history-title-status { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 7px; }
.history-title-status > span:last-child { color: var(--muted); font-size: .78rem; }
.title-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-text); font-weight: 700; }
.title-badge::before { content: ''; display: inline-block; width: 6px; height: 10px; border: solid var(--accent-text); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(40deg); }
.card-specs .card-title-status { background: #fae4d8; }
#history-fallback > p { margin-top: 8px; color: var(--muted); font-size: .89rem; }
#history-fallback .history-vin { font-family: var(--mono); overflow-wrap: anywhere; }
.history-actions { display: flex; flex-wrap: wrap; gap: 0 18px; }
.detail-next { position: sticky; top: 18px; padding: clamp(17px, 3vw, 35px); color: #fff5e6; background: linear-gradient(145deg, #252521 30%, #392721); border-left: 3px solid var(--signal); }
.detail-next .handwritten { color: #ff9b83; rotate: -5deg; display: inline-block; margin-bottom: 7px; }
.detail-next ul { padding-left: 1.05em; color: #eee3d4; font-size: .89rem; }
.detail-next li { margin: 8px 0; }
.detail-next li::marker { color: var(--signal); }
.detail-next a { display: inline-flex; gap: 10px; color: #ff9b83; font-weight: 700; font-size: .86rem; }
.detail-next a:hover { text-decoration: underline; }
.photo-viewer { border-radius: 2px; }
.photo-viewer[open] { animation: slide-in .25s ease backwards; }
.gallery-button { min-width: 44px; min-height: 44px; padding: 0; border-radius: 7px; }
.photo-open { min-height: 44px; border-radius: 7px; }
.photo-viewer > img { height: min(75dvh, max(60px, calc(100dvh - 156px))); }

@keyframes lane { from { translate: -100% 0; } to { translate: 100vw 0; } }
@keyframes slide-in { from { translate: 0 12px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes photo-wipe { from { clip-path: inset(0 0 0 90%); } to { clip-path: inset(0); } }
@keyframes shutter { from { opacity: .55; scale: 1.025; } to { opacity: 1; scale: 1; } }
.scroll-progress { display: none; }
@supports (animation-timeline: view()) {
  .listing, .vehicle-section, .guide-grid article {
    animation: scroll-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 68%;
  }
  .listing:focus-within { animation: none; }
  .scroll-progress {
    position: fixed; z-index: 15; inset: 0 0 auto; display: block; height: 2px;
    transform: scaleX(0); transform-origin: left; background: var(--signal); pointer-events: none;
    animation: reading-progress linear both;
    animation-timeline: scroll(root block);
  }
}
@supports (animation-timeline: scroll(root block)) {
  @media (min-width: 821px) {
    .hero-visual img {
      animation: photo-wipe .75s cubic-bezier(.22,.68,.27,1) backwards, hero-drift linear both;
      animation-timeline: auto, scroll(root block);
      animation-range: normal, 0px 550px;
    }
  }
}
@keyframes scroll-reveal { from { opacity: .76; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes reading-progress { to { transform: scaleX(1); } }
@keyframes hero-drift { from { transform: scale(1); } to { transform: translateY(8px) scale(1.025); } }
@media (max-width: 1160px) {
  .wrap { width: calc(100% - 56px); }
  .listing-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 960px) {
  .main-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .advanced-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 34px); }
  .browse-tools { display: none; }
  .results-layout { grid-template-columns: minmax(0,1fr); }
  .advanced-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vehicle-information { grid-template-columns: minmax(0,1fr); }
  .detail-next { position: static; }
  .header-edition { display: none; }
  .gallery-caption { position: static; display: grid; gap: 8px; padding-block: 10px 13px; }
  .gallery-dial { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; }
  .gallery-dial .photo-open { justify-self: start; }
  .gallery-dial .gallery-buttons { justify-self: end; }
  .header-link { border: 0; gap: 8px; min-height: 44px; padding-inline: 6px; }
  .header-link:hover { background: transparent; color: var(--signal); }
  .header-link .chevron { color: var(--signal); }
  .header-label-wide { display: none; }
  .header-label-narrow { display: inline; }
}
@media (max-width: 570px) {
  .hero-stage { display: flex; flex-direction: column-reverse; min-height: 0; }
  .hero-content { padding-block: 22px 18px; }
  .hero-visual { position: relative; width: 100%; z-index: 0; aspect-ratio: 1.7; }
  .hero-visual img { object-position: center 51%; }
  .hero-visual::after { background: linear-gradient(0deg, #211915 0%, transparent 24%); }
  .hero h1 { font-size: clamp(2.7rem, 11.5vw, 5.55rem); }
  .hero-copy { margin-top: 14px; }
  .hero-finder { margin-top: -16px; }
  .main-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .check-field:nth-child(2) .check-panel { left: auto; right: 0; }
  .listing-grid, .guide-grid, .footer-main { grid-template-columns: minmax(0,1fr); }
  .results-header { flex-wrap: wrap; }
  .sort-menu { right: auto; left: 0; transform-origin: top left; }
  .photo-toggle { height: clamp(235px, 68vw, 380px); }
  .photo-toggle img { object-position: center 50%; }
  .photo-toggle::after { inset: 72% 0 0; }
  .detail-heading h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .vehicle-location, .detail-trim { margin: 3px 0 5px; }
  .offer-metrics { gap: 12px 17px; padding: 13px 0 13px; }
  .offer-metrics > div { padding-right: 12px; }
  .equipment-list { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.price-picker .price-panel { width: min(350px, calc(100vw - 46px)); padding: 14px; }
.price-panel fieldset { max-height: none; overflow: visible; margin: 0; padding: 0; }
.price-panel legend { padding: 0; font-size: .9rem; font-weight: 800; color: var(--ink); }
.price-rail { --thumb-size: 44px; --price-from: 0%; --price-to: 100%; position: relative; height: var(--thumb-size); margin-top: 4px; touch-action: pan-y; }
.price-track {
  position: absolute; inset: calc(50% - 3px) calc(var(--thumb-size) / 2); height: 6px; border-radius: 6px;
  background: linear-gradient(to right, #e5d6c7 0 var(--price-from), #b44830 var(--price-from) var(--price-to), #e5d6c7 var(--price-to) 100%);
}
.search-form .price-rail input[type=range] {
  appearance: none; position: absolute; inset: 0; z-index: 1; width: 100%; height: var(--thumb-size);
  margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; pointer-events: none;
}
.search-form .price-rail #maximum-price-slider, .search-form .price-rail.min-handle-on-top #minimum-price-slider { z-index: 2; }
.search-form .price-rail input[type=range]:focus-visible { z-index: 3; outline: none; }
.price-rail input[type=range]::-webkit-slider-runnable-track { height: var(--thumb-size); background: transparent; }
.price-rail input[type=range]::-moz-range-track { height: var(--thumb-size); background: transparent; }
.price-rail input[type=range]::-webkit-slider-thumb {
  appearance: none; width: var(--thumb-size); height: var(--thumb-size); border: 0; border-radius: 50%;
  background: radial-gradient(circle, #fffdfa 0 5px, #8d321f 6px 9px, #f8dfcd 10px 13px, transparent 14px);
  pointer-events: auto; cursor: grab;
}
.price-rail input[type=range]::-moz-range-thumb {
  width: var(--thumb-size); height: var(--thumb-size); border: 0; border-radius: 50%;
  background: radial-gradient(circle, #fffdfa 0 5px, #8d321f 6px 9px, #f8dfcd 10px 13px, transparent 14px);
  pointer-events: auto; cursor: grab;
}
.price-rail input[type=range]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--accent-text); outline-offset: -5px; }
.price-rail input[type=range]:focus-visible::-moz-range-thumb { outline: 2px solid var(--accent-text); outline-offset: -5px; }
.price-rail:has(input:disabled) { opacity: .48; }
.price-rail input:disabled::-webkit-slider-thumb { pointer-events: none; }
.price-rail input:disabled::-moz-range-thumb { pointer-events: none; }
.price-extents { display: flex; justify-content: space-between; padding-inline: 5px; margin-bottom: 13px; color: #5c5146; font-size: .75rem; }
.price-amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.price-error { margin-top: 8px; color: #8d321f; font-size: .8rem; }
@media (min-width: 571px) and (max-width: 960px) {
  .price-picker .price-panel { left: auto; right: 0; }
}
@media (forced-colors: active) {
  .price-track { background: CanvasText; }
  .price-rail input[type=range]::-webkit-slider-thumb { border: 2px solid ButtonText; background: ButtonFace; }
  .price-rail input[type=range]::-moz-range-thumb { border: 2px solid ButtonText; background: ButtonFace; }
}
