/* The front door: find the car first. Paper, a horizon, a search bar, then real cars. */
.home-hero { padding: 36px 0 40px; }
.home-dateline { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--ink); }
.home-dateline > .mono { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--deep-sand); }
.home-dateline .dl-date { margin-left: 22px; color: var(--ink-2); white-space: nowrap; }
.home-dateline time { margin-left: 22px; color: var(--ink); white-space: nowrap; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 44px 0 40px; }
.hero-copy h1 { font-size: clamp(54px, 6.6vw, 98px); font-weight: 200; line-height: .98; letter-spacing: -.05em; text-wrap: initial; margin: 0; }
.hero-sub { font-family: var(--display); font-weight: 200; font-size: clamp(26px, 3.2vw, 48px); line-height: 1.1; letter-spacing: -.035em; color: var(--ink-3); margin-top: 22px; }
.hero-mark { margin: 0; justify-self: end; width: min(100%, 400px); appearance: none; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; display: block; touch-action: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.hero-mark circle:first-of-type { transition: stroke-width .45s var(--ease); }
.hero-mark:hover circle:first-of-type, .hero-mark:focus-visible circle:first-of-type { stroke-width: 6; }
.hero-mark:focus-visible { outline: none; }
.hm-cap { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 2px; }
.hm-cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 11px 18px; transition: background .25s var(--ease), color .25s var(--ease); }
.hero-mark:hover .hm-cta, .hero-mark:focus-visible .hm-cta { background: var(--ink); color: var(--bone); }
.hm-sub { font-size: 12.5px; color: var(--ink-3); }
.hm-dot { width: 7px; height: 7px; border-radius: 999px; background: currentColor; flex: none; animation: hm-dot 2.4s var(--ease) infinite; }
@keyframes hm-dot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.45); } }
.hero-mark svg { display: block; width: 100%; height: auto; overflow: visible; }

/* The search bar: four joined fields and one ink button, the way people already shop for cars. */
.home-bar { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 8px; }
.bar-or { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.bar-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.bar-or .eyebrow { color: var(--ink-3); }
.bar-toggle { display: none; }
.bar-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border-strong); background: var(--warm-surface); }
.bar-field { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 14px 44px 14px 20px; min-height: 78px; cursor: pointer; transition: background .2s var(--ease); }
.bar-field + .bar-field { border-left: 1px solid var(--border-strong); }
.bar-field:hover { background: #fff; }
.bar-field:focus-within { box-shadow: inset 0 0 0 1px var(--ink); background: #fff; }
.bar-label { font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--deep-sand); }
.bar-field select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 0; font-family: var(--display); font-size: 18px; font-weight: 400; letter-spacing: -.01em; color: var(--ink); width: 100%; cursor: pointer; outline: none; text-overflow: ellipsis; }
.bar-chev { position: absolute; right: 18px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--ink); pointer-events: none; }
.bar-submit { display: inline-flex; align-items: center; justify-content: center; gap: 14px; background: transparent; color: var(--ink); border: 1px solid var(--ink); border-radius: 0; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .25s var(--ease); }
.bar-submit:hover { background: var(--ink); color: var(--bone); }
.bar-submit span { font-family: var(--display); font-size: 18px; letter-spacing: 0; transition: transform .3s var(--ease); }
.bar-submit:hover span { transform: translateX(3px); }
.bar-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; }
.bar-foot p { font-size: 13.5px; color: var(--ink-2); }
.bar-foot p .pulse { margin-right: 10px; vertical-align: 2px; }
.bar-foot p .mono { font-size: 12.5px; color: var(--ink); }
.bar-foot [data-seller] { min-height: 41px; min-width: 300px; display: flex; justify-content: flex-end; }

/* Featured: three large cards, real photos. */
.home-featured { padding: 24px 0 72px; }
.home-featured .section-head, .home-bodies .section-head, .home-arrivals .section-head, .home-drops .section-head, .home-state .section-head { margin-bottom: 24px; }
.home-featured .section-head h2, .home-bodies .section-head h2, .home-arrivals .section-head h2, .home-drops .section-head h2, .home-state .section-head h2 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 250; letter-spacing: -.04em; margin: 0; }
.featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.deal-key { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--warm-surface); border: 1px solid var(--border); padding: 3px 6px; cursor: help; }

/* Body styles: a real car from the index on every tile. */
.home-bodies { padding: 0 0 72px; }
.body-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.body-tile { background: var(--warm-surface); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: background .3s var(--ease); }
.body-tile:hover { background: #fff; }
.bt-ph { aspect-ratio: 16 / 10; background: var(--warm-2); overflow: hidden; }
.bt-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.body-tile:hover .bt-ph img { transform: scale(1.025); }
.bt-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 20px 20px; }
.bt-name { font-family: var(--display); font-size: 20px; font-weight: 300; letter-spacing: -.02em; }
.bt-row .mono { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.price-steps { display: flex; align-items: center; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.price-steps > div { display: flex; gap: 8px; flex-wrap: wrap; }
.price-steps .pill .muted { color: var(--ink-3); margin-left: 4px; }
.home-arrivals, .home-drops { padding: 0 0 72px; }

.spotlight-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 88px; align-items: center; }
.minot-spotlight h2 { font-size: clamp(42px, 4.6vw, 66px); font-weight: 250; letter-spacing: -.045em; margin: 28px 0; }
.minot-spotlight .eyebrow .pulse { margin-right: 7px; background: var(--bone); animation: none; box-shadow: none; }
.minot-spotlight .lede { font-size: 18px; max-width: 37ch; }
.spotlight-cta { background: var(--bone); color: var(--ink); border-color: var(--bone); margin-top: 36px; }
.spotlight-cta:hover { background: var(--warm-2); color: var(--ink); }
.spotlight-foot { color: var(--co-silver); font-family: var(--mono); font-size: 10px; margin-top: 24px; }
.coverage-mini { border: 1px solid var(--ink-2); padding: 32px; }
.coverage-mini-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.coverage-mini-head .eyebrow, .coverage-mini-head a { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.coverage-mini-head a { text-underline-offset: 4px; }
.coverage-ratio { display: flex; align-items: baseline; gap: 10px; font-family: var(--display); font-weight: 250; font-size: 80px; line-height: 1; letter-spacing: -.055em; padding: 32px 0; font-variant-numeric: tabular-nums; }
.ratio-slash { color: var(--co-silver); }
.coverage-ratio .ratio-label { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; margin-left: auto; max-width: 70px; line-height: 1.6; color: var(--co-silver); }
.coverage-tiles { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 0; border: 1px solid var(--ink-2); background: var(--ink); }
.coverage-tile { border-right: 1px solid var(--ink-2); border-bottom: 1px solid var(--ink-2); display: flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center; aspect-ratio: 1; background: var(--ink); color: var(--co-silver); font-family: var(--mono); font-size: 8px; text-decoration: none; }
.coverage-tile::before { content: ''; width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 999px; }
.coverage-tile.is-nosite::before { border-style: dashed; }
.coverage-tile.is-live { background: var(--bone); color: var(--ink); }
.coverage-tile.is-live::before { background: currentColor; }
.coverage-tile:hover { background: var(--ink-2); color: var(--bone); }
.coverage-tile:focus-visible { outline-color: var(--bone); position: relative; z-index: 1; }
.coverage-key { display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: var(--mono); font-size: 8px; color: var(--co-silver); margin: 16px 0 24px; }
.coverage-key span { display: flex; align-items: center; gap: 6px; }
.coverage-key i { width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 999px; }
.coverage-key .key-live { background: var(--bone); border-color: var(--bone); }
.coverage-key .key-nosite { border-style: dashed; }
.mini-record { border-top: 1px solid var(--ink-2); padding-top: 20px; font-size: 13px; line-height: 1.8; }
.mini-record strong { font-weight: 400; }
.mini-record p:first-child { font-size: 17px; margin-bottom: 8px; }
.mini-record p:first-child strong { font-family: var(--display); font-weight: 250; font-size: 38px; margin-right: 8px; }
.coverage-small { font-size: 12px; color: var(--co-silver); line-height: 1.7; margin-top: 12px; }
.home-steps-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.connection-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--border); background: var(--border); list-style: none; margin-top: 40px; }
.connection-steps li { padding: 32px; background: var(--warm-surface); }
.connection-steps li > span { font-size: 10px; color: var(--deep-sand); display: block; margin-bottom: 32px; }
.connection-steps h3 { font-size: 29px; font-weight: 300; }
.connection-steps p { font-size: 15px; color: var(--ink-2); }
.plain-promise { margin-top: 28px; font-size: 13px; }
.arrival-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3px) / 4); gap: 1px; border: 1px solid var(--border); background: var(--border); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--weathered-metal) var(--warm-surface); }
.arrival-rail .car { scroll-snap-align: start; min-width: 0; }
.rail-hint { font-size: 10px; color: var(--deep-sand); margin-top: 12px; text-align: right; }
.home-state { padding-bottom: 72px; }
.city-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.city-links > a { display: flex; justify-content: space-between; align-items: center; padding: 26px; background: var(--warm-surface); text-decoration: none; gap: 12px; font-size: 22px; font-weight: 300; }
.city-links > a:hover { background: var(--bone); }
.city-links .mono { font-size: 10px; display: flex; gap: 8px; align-items: center; color: var(--ink-2); }
.city-links .pulse { width: 5px; height: 5px; animation: none; box-shadow: none; }
.data-note { font-family: var(--mono); font-size: 10px; color: var(--ink-3); margin-top: 20px; }
.make-directory { border-top: 1px solid var(--border); margin-top: 48px; padding-top: 28px; display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.make-directory > div { display: flex; gap: 14px 24px; flex-wrap: wrap; }
.make-directory a { font-size: 13px; text-decoration: none; }
.make-directory a:hover { text-decoration: underline; text-underline-offset: 4px; }
.make-directory .mono { font-size: 10px; color: var(--deep-sand); margin-left: 4px; }
.dealer-tease { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.dealer-tease .lede { font-size: 18px; max-width: 42ch; }
.home-page .site-foot { margin-top: 0; }
.text-link { font-family: var(--mono); font-size: 10px; font-weight: 400; text-transform: uppercase; letter-spacing: .1em; text-underline-offset: 6px; }
.find-nudge { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 28px; font-size: 13px; }
.find-nudge .btn { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 18px; border-radius: 999px; }
.find-nudge > .small { margin-left: auto; font-size: 12px; }
.home-page .site-foot { margin-top: 0; }
@media (max-width: 1100px) {
 .hero-copy h1 { font-size: 7.4vw; }
 .spotlight-grid { gap: 40px; }
 .home-bar { grid-template-columns: 1fr; }
 .bar-submit { min-height: 64px; }
 .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .body-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .arrival-rail { grid-auto-columns: calc((100% - 2px) / 3); }
}
@media (max-width: 760px) {
 .home-hero { padding: 24px 0 32px; }
 /* Phones: the finder box is the search; the filter form folds open on request. */
 .bar-or { margin: 6px 0 0; }
 .bar-or .eyebrow, .bar-or::after { display: none; }
 .bar-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 15px 2px; background: none; border: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
 .bar-toggle span { font-family: var(--display); font-size: 20px; line-height: 1; transition: transform .25s var(--ease); }
 .home-bar.is-open .bar-toggle span { transform: rotate(45deg); }
 .home-bar:not(.is-open) .bar-fields, .home-bar:not(.is-open) .bar-submit { display: none; }
 .home-dateline { align-items: start; gap: 16px; padding-bottom: 18px; }
 .home-dateline .eyebrow { max-width: 150px; font-size: 9px; }
 .home-dateline > .mono { font-size: 8.5px; text-align: right; max-width: 150px; line-height: 1.7; }
 .home-dateline .dl-date, .home-dateline time { display: block; margin: 2px 0 0; }
 .hero-layout { grid-template-columns: 1fr; padding: 28px 0 24px; gap: 0; }
 .hero-copy h1 { font-size: clamp(36px, 10.4vw, 64px); }
 .hero-sub { font-size: 21px; margin-top: 12px; }
 .hero-mark { display: none; }
 .bar-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .bar-field { min-height: 68px; padding: 12px 34px 12px 14px; }
 .bar-field:nth-child(3) { border-left: 0; }
 .bar-field:nth-child(n+3) { border-top: 1px solid var(--border-strong); }
 .bar-field select { font-size: 16px; }
 .bar-chev { right: 10px; }
 .bar-foot { flex-direction: column; align-items: stretch; gap: 14px; }
 .bar-foot p { font-size: 12.5px; }
 .bar-foot [data-seller] { justify-content: center; min-width: 0; min-height: 38px; max-width: 100%; }
 .bar-foot .sel-stop { padding: 8px; font-size: 9px; letter-spacing: .08em; }
 .home-featured { padding: 16px 0 56px; }
 .featured-grid { grid-template-columns: 1fr; }
 .home-bodies, .home-arrivals, .home-drops { padding-bottom: 56px; }
 .bt-row { padding: 14px 14px 16px; flex-direction: column; gap: 4px; }
 .bt-name { font-size: 17px; }
 .price-steps { align-items: start; flex-direction: column; gap: 12px; }
 .find-nudge { gap: 12px; font-size: 12px; }
 .find-nudge > .small { margin-left: 0; flex-basis: 100%; }
 .spotlight-grid { grid-template-columns: 1fr; gap: 40px; }
 .minot-spotlight h2 { font-size: 43px; }
 .minot-spotlight .lede { font-size: 17px; }
 .coverage-mini { padding: 24px 20px; }
 .coverage-mini-head { align-items: start; }
 .coverage-mini-head a { min-height: 40px; display: inline-flex; align-items: center; }
 .coverage-ratio { font-size: 72px; padding-top: 20px; }
 .coverage-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
 .coverage-tile { min-height: 44px; }
 .home-steps-top { align-items: start; flex-direction: column; gap: 16px; }
 .connection-steps { grid-template-columns: 1fr; }
 .connection-steps li { padding: 28px; }
 .connection-steps li > span { margin-bottom: 20px; }
 .arrival-rail { grid-auto-columns: 78%; }
 .city-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .city-links > a { font-size: 20px; flex-direction: column; align-items: start; padding: 20px; }
 .make-directory { grid-template-columns: 1fr; gap: 16px; }
 .make-directory a, .text-link { min-height: 40px; display: inline-flex; align-items: center; }
 .dealer-tease { align-items: start; flex-direction: column; gap: 32px; }
 .dealer-tease .btn { white-space: normal; text-align: left; line-height: 1.4; }
}
