:root {
    --ink: #17212b;
    --muted: #5c6872;
    --paper: #f3efe4;
    --surface: #eee8dc;
    --surface-soft: #e6dfd1;
    --white: #ffffff;
    --gold: #d9a931;
    --gold-dark: #a57717;
    --green: #326a5d;
    --red: #9e3e37;
    --line: rgba(23, 33, 43, 0.14);
    --shadow: 0 18px 45px rgba(23, 33, 43, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface-soft);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home-content-card,
.page-card,
.inventory-content-card {
    background: var(--surface);
    box-shadow: var(--shadow);
    margin: clamp(24px, 4vw, 54px) auto;
    overflow: hidden;
    width: min(85vw, 1280px);
}

.home-content-card {
    margin-top: clamp(22px, 4vw, 48px);
}

a {
    color: inherit;
}

.site-header {
    align-items: center;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    left: 0;
    padding: 14px clamp(18px, 4vw, 56px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.brand {
    align-items: center;
    display: inline-flex;
    font-weight: 800;
    gap: 10px;
    text-decoration: none;
    text-transform: uppercase;
}

.brand-mark {
    background: var(--ink);
    color: var(--gold);
    display: inline-grid;
    min-height: 40px;
    min-width: 54px;
    place-items: center;
}

nav {
    display: flex;
    gap: 22px;
}

.mobile-menu {
    display: none;
}

nav a,
.header-call {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.header-call {
    color: var(--ink);
}

.hero {
    isolation: isolate;
    min-height: calc(100vh - 68px);
    overflow: hidden;
    position: relative;
}

.inner-hero {
    background: var(--ink);
    color: var(--white);
    padding: clamp(72px, 11vw, 130px) clamp(20px, 7vw, 90px);
}

.inner-hero h1 {
    max-width: 900px;
}

.inner-hero > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.18rem;
    line-height: 1.65;
    max-width: 800px;
}

.answer-panel {
    background: var(--gold);
    color: var(--ink);
    padding: 26px clamp(20px, 7vw, 90px);
}

.answer-panel strong {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.answer-panel p {
    font-size: 1.08rem;
    line-height: 1.6;
    margin: 8px 0 0;
    max-width: 980px;
}

.content-section:nth-of-type(even) {
    background: var(--surface-soft);
}

.area-links {
    background: var(--surface);
}

.location-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.location-links a {
    background: var(--ink);
    color: var(--white);
    font-weight: 800;
    padding: 11px 14px;
    text-decoration: none;
}

.contact-cta {
    background: #e9dfcc;
}

.contact-cta address {
    margin-top: 22px;
}

.features article a {
    color: var(--green);
    font-weight: 800;
}

.hero-media {
    background:
        linear-gradient(90deg, rgba(10, 14, 18, 0.86) 0%, rgba(10, 14, 18, 0.68) 42%, rgba(10, 14, 18, 0.12) 100%),
        url("car-lot.png") center / cover no-repeat;
    inset: 0;
    position: absolute;
    z-index: -1;
}

.hero-copy {
    color: var(--white);
    max-width: 760px;
    padding: clamp(90px, 13vh, 150px) clamp(20px, 7vw, 90px) 80px;
}

.hero-quote {
    background: rgba(239, 224, 198, 0.5) !important;
    background-color: rgba(239, 224, 198, 0.5) !important;
    background-image: none !important;
    border: 3px solid rgba(23, 33, 43, 0.48);
    border-radius: 20px;
    bottom: clamp(120px, 18vh, 190px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.46);
    color: var(--ink);
    max-width: min(390px, 31vw);
    opacity: 1;
    padding: clamp(20px, 3vw, 30px);
    position: absolute;
    right: clamp(64px, 9vw, 140px);
    z-index: 2;
}

.hero-quote blockquote {
    margin: 0;
}

.hero-quote p {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    font-weight: 650;
    font-style: italic;
    line-height: 1.55;
    margin: 0;
}

.hero-quote cite {
    color: var(--green);
    display: block;
    font-style: normal;
    font-weight: 900;
    margin-top: 16px;
}

.hero-quote cite::before {
    content: "- ";
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1;
    max-width: 680px;
}

.eyebrow {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(3rem, 8vw, 6.6rem);
    line-height: 0.95;
    margin-bottom: 22px;
    max-width: 760px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.02;
    margin-bottom: 18px;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.hero-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    line-height: 1.5;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 32px 0 22px;
}

.button {
    align-items: center;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 900;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    text-decoration: none;
}

.button.primary {
    background: var(--gold);
    color: var(--ink);
}

.button.secondary {
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.48);
    color: var(--white);
}

.button.dark {
    background: var(--ink);
    color: var(--white);
}

.hero-address {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

.hero-logo-wrap {
    bottom: clamp(28px, 7vh, 72px);
    display: flex;
    justify-content: center;
    left: 50%;
    margin: 0;
    max-width: none;
    position: absolute;
    transform: translateX(-50%);
    width: 300px;
    z-index: 2;
}

.hero-logo {
    aspect-ratio: 1;
    border: 3px solid rgba(151, 197, 68, 0.9);
    border-radius: 50%;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
    filter: saturate(0.82) brightness(0.86);
    opacity: 0.76;
    display: block;
    height: 300px;
    object-fit: cover;
    width: 300px;
}

.search-band {
    background: var(--ink);
    color: var(--white);
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, 1fr);
}

.search-band div {
    background: rgba(255, 255, 255, 0.04);
    padding: 28px clamp(20px, 4vw, 48px);
}

.search-band strong,
.search-band span {
    display: block;
}

.search-band span {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
    margin-top: 8px;
}

.section {
    padding: clamp(58px, 9vw, 110px) clamp(20px, 6vw, 72px);
}

.section > p,
.split p,
.contact-copy p,
.features p,
.inventory-panel p {
    color: var(--muted);
    line-height: 1.65;
}

.split {
    align-items: center;
    display: grid;
    gap: clamp(28px, 6vw, 80px);
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.inventory-panel,
.lead-form {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 42px);
}

.inventory-panel h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.inventory-hero {
    padding-bottom: clamp(50px, 8vw, 90px);
}

.inventory-toolbar {
    background: var(--gold);
    padding: 24px clamp(20px, 6vw, 72px);
}

.inventory-toolbar form {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(240px, 1fr) minmax(190px, .35fr) auto auto auto;
}

.inventory-toolbar label {
    display: grid;
    font-size: 0.85rem;
    font-weight: 900;
    gap: 7px;
}

.inventory-toolbar p {
    margin: 16px 0 0;
}

.inventory-reset {
    font-weight: 800;
    padding: 14px 0;
}

.favorite-filter-button {
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    min-height: 48px;
    padding: 12px 16px;
}

.favorite-filter-button[aria-pressed="true"] {
    background: var(--ink);
    color: var(--gold);
}

.inventory-browser {
    align-items: start;
    display: grid;
    gap: 20px;
    grid-template-columns: 220px minmax(0, 1fr);
    padding: clamp(24px, 4vw, 50px);
}

.inventory-filters {
    background: var(--surface);
    border: 1px solid var(--line);
    max-height: calc(100vh - 105px);
    overflow-y: auto;
    position: sticky;
    top: 86px;
}

.inventory-filters form {
    padding: 18px;
}

.filter-toggle,
.filter-toggle-label {
    display: none;
}

.filter-heading {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.filter-heading h2 {
    font-size: 1.2rem;
    font-weight: 650;
    margin: 0;
}

.filter-heading a {
    color: var(--green);
    font-size: .78rem;
    font-weight: 650;
}

.inventory-filters fieldset {
    border: 0;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 8px;
    margin: 16px 0;
    padding: 15px 0 0;
}

.inventory-filters legend {
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: .06em;
    padding: 0;
    text-transform: uppercase;
}

.inventory-filters label {
    align-items: center;
    color: var(--muted);
    display: flex;
    font-size: .82rem;
    font-weight: 450;
    gap: 8px;
}

.inventory-filters input {
    accent-color: var(--green);
    min-height: auto;
    width: auto;
}

.inventory-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 0;
}

.vehicle-card-link {
    color: inherit;
    display: block;
    height: 100%;
    text-decoration: none;
}

.vehicle-card {
    aspect-ratio: 4 / 5;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 9px 24px rgba(23, 33, 43, 0.11);
    height: 100%;
    overflow: hidden;
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease;
}

.vehicle-card:hover,
.vehicle-card:focus-within {
    box-shadow: 0 15px 32px rgba(23, 33, 43, 0.18);
    transform: translateY(-3px);
}

.vehicle-card img,
.vehicle-photo-placeholder {
    aspect-ratio: 16 / 10;
    background: var(--surface-soft);
    display: grid;
    object-fit: cover;
    place-items: center;
    width: 100%;
}

.vehicle-photo-placeholder {
    color: var(--muted);
    gap: 5px;
    font-size: .78rem;
}

.vehicle-photo-placeholder span {
    background: var(--ink);
    color: var(--gold);
    font-size: 1rem;
    font-weight: 900;
    padding: 8px 12px;
}

.vehicle-card-body {
    padding: 11px;
}

.vehicle-card-body h2 {
    display: -webkit-box;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 5px;
    min-height: 2.3em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.vehicle-stock {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vehicle-price {
    color: var(--green);
    font-size: 1.08rem;
    font-weight: 650;
    margin-bottom: 5px;
}

.vehicle-card dl {
    border-top: 1px solid var(--line);
    margin: 10px 0;
}

.desktop-card-details {
    display: none;
}

.favorite-button {
    align-items: center;
    background: rgba(238, 232, 220, .94);
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--red);
    cursor: pointer;
    display: flex;
    font-size: 1.25rem;
    height: 34px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 8px;
    top: 8px;
    width: 34px;
    z-index: 3;
}

.favorite-button[aria-pressed="true"] {
    background: var(--surface);
    color: var(--red);
}

.vehicle-badge {
    align-items: center;
    background: rgba(158, 62, 55, .12);
    border: 1px solid rgba(158, 62, 55, .24);
    border-radius: 999px;
    color: #6f3028;
    display: inline-flex;
    font-size: .62rem;
    font-weight: 900;
    gap: 3px;
    letter-spacing: .05em;
    margin: 0 0 6px;
    max-width: 100%;
    overflow: hidden;
    padding: 4px 7px;
    position: static;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.vehicle-badge.badge-july-4th-special {
    background: linear-gradient(90deg, rgba(30, 64, 132, .13), rgba(179, 39, 45, .14));
    border-color: rgba(42, 78, 118, .24);
    color: #34486f;
}

.vehicle-badge.badge-hot-buy::before,
.vehicle-badge.badge-hot-buy::after {
    content: "\1F525";
}

.vehicle-badge.badge-hot-buy,
.vehicle-badge.badge-sale,
.vehicle-badge.badge-great-price,
.vehicle-badge.badge-clearance {
    background: rgba(158, 62, 55, .12);
    border-color: rgba(158, 62, 55, .24);
    color: #6f3028;
}

.vehicle-badge.badge-ez-terms,
.vehicle-badge.badge-special-terms,
.vehicle-badge.badge-rent-to-own-special {
    background: rgba(50, 106, 93, .12);
    border-color: rgba(50, 106, 93, .24);
    color: #326a5d;
}

.vehicle-badge.badge-low-miles,
.vehicle-badge.badge-commuter-special,
.vehicle-badge.badge-great-starter-car {
    background: rgba(42, 78, 118, .12);
    border-color: rgba(42, 78, 118, .24);
    color: #2a4e76;
}

.vehicle-badge.badge-look,
.vehicle-badge.badge-take-me-home {
    background: rgba(167, 117, 23, .14);
    border-color: rgba(167, 117, 23, .26);
    color: #765111;
}

.detail-badge {
    left: auto;
    margin-bottom: 12px;
    max-width: 100%;
    position: static;
    top: auto;
}

.photo-badge {
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 24px rgba(23, 33, 43, .18);
    left: 14px;
    margin: 0;
    max-width: calc(100% - 28px);
    padding: 7px 11px;
    position: absolute;
    top: 14px;
    z-index: 4;
}

.mobile-card-details {
    display: none;
}

.vehicle-card dl div {
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    font-size: .76rem;
    padding: 6px 0;
}

.vehicle-card dt {
    color: var(--muted);
}

.vehicle-card dd {
    font-weight: 600;
    margin: 0;
    text-align: right;
}

.vehicle-view-link {
    color: var(--green);
    display: none;
    font-size: .78rem;
    font-weight: 650;
    margin-top: 10px;
}

.vehicle-detail {
    align-items: start;
    display: grid;
    gap: clamp(24px, 4vw, 54px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: clamp(32px, 5vw, 70px);
}

.vehicle-gallery,
.vehicle-detail-panel,
.payment-calculator,
.apply-online-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.vehicle-gallery {
    max-width: none;
    width: 100%;
}

.vehicle-main-photo {
    aspect-ratio: 4 / 3;
    background: var(--surface-soft);
    display: grid;
    place-items: center;
    position: relative;
}

.vehicle-main-photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.vehicle-thumbnails {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    padding: 12px;
}

.vehicle-thumbnails button {
    aspect-ratio: 4 / 3;
    background: var(--surface-soft);
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
}

.vehicle-thumbnails button:hover,
.vehicle-thumbnails button:focus-visible {
    border-color: var(--green);
}

.vehicle-thumbnails img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.vehicle-detail-panel {
    padding: clamp(18px, 3vw, 30px);
}

.vehicle-folder-tabs {
    min-width: 0;
}

.vehicle-tab-radio {
    left: -9999px;
    position: absolute;
}

.vehicle-tab-list {
    align-items: flex-end;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 4px;
    padding-left: 10px;
}

.vehicle-tab-list label {
    background: #dfd0ae;
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    font-size: .88rem;
    font-weight: 850;
    line-height: 1.1;
    margin-bottom: -1px;
    min-height: 44px;
    padding: 13px 18px 12px;
    position: relative;
    white-space: nowrap;
}

.vehicle-tab-list label:hover,
.vehicle-tab-list label:focus-visible {
    background: #eadfca;
}

#vehicle-tab-info:focus-visible ~ .vehicle-tab-list label[for="vehicle-tab-info"],
#vehicle-tab-payment:focus-visible ~ .vehicle-tab-list label[for="vehicle-tab-payment"],
#vehicle-tab-apply:focus-visible ~ .vehicle-tab-list label[for="vehicle-tab-apply"] {
    outline: 3px solid rgba(56, 117, 86, .35);
    outline-offset: 2px;
}

#vehicle-tab-info:checked ~ .vehicle-tab-list label[for="vehicle-tab-info"],
#vehicle-tab-payment:checked ~ .vehicle-tab-list label[for="vehicle-tab-payment"],
#vehicle-tab-apply:checked ~ .vehicle-tab-list label[for="vehicle-tab-apply"] {
    background: var(--surface);
    box-shadow: 0 -8px 18px rgba(23, 33, 43, .06);
    color: var(--green);
    min-height: 50px;
    padding-top: 16px;
    z-index: 2;
}

.vehicle-tab-panels {
    min-width: 0;
}

.vehicle-tab-panel {
    border-radius: 0 20px 20px 20px;
    display: none;
}

#vehicle-tab-info:checked ~ .vehicle-tab-panels #vehicle-info-panel,
#vehicle-tab-payment:checked ~ .vehicle-tab-panels #vehicle-payment-panel,
#vehicle-tab-apply:checked ~ .vehicle-tab-panels #vehicle-apply-panel {
    display: block;
}

.vehicle-detail-panel h1 {
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 1.02;
}

.vehicle-back-link {
    color: var(--green);
    display: inline-block;
    font-weight: 900;
    margin-bottom: 16px;
}

.vehicle-detail-price {
    color: var(--green);
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 900;
}

.vehicle-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

.vehicle-detail-specs {
    border-top: 1px solid var(--line);
    margin: 0;
}

.vehicle-detail-specs div {
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 8px 0;
}

.vehicle-detail-specs dt {
    color: var(--muted);
}

.vehicle-detail-specs dd {
    font-weight: 800;
    margin: 0;
    overflow-wrap: anywhere;
    text-align: right;
}

.vehicle-description {
    margin-top: 26px;
}

.vehicle-description h2 {
    font-size: 1.4rem;
}

.vehicle-description p {
    color: var(--muted);
    line-height: 1.65;
}

.payment-calculator {
    margin: 0 clamp(20px, 5vw, 70px) clamp(40px, 6vw, 80px);
    padding: clamp(24px, 4vw, 44px);
}

.payment-calculator > div:first-child > p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.6;
}

.calculator-fields {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 26px;
}

.calculator-fields label {
    color: var(--muted);
    display: grid;
    font-size: .82rem;
    font-weight: 900;
    gap: 6px;
}

.calculator-results {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}

.calculator-results article {
    background: var(--ink);
    color: var(--white);
    padding: 24px;
}

.calculator-results span {
    color: var(--gold);
    display: block;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.calculator-results strong {
    display: block;
    font-size: clamp(1.7rem, 4vw, 3rem);
    margin-top: 8px;
}

.calculator-results p,
.calculator-disclaimer {
    color: var(--muted);
    line-height: 1.55;
}

.calculator-results p {
    color: rgba(255, 255, 255, .7);
    margin: 8px 0 0;
}

.calculator-disclaimer {
    font-size: .82rem;
    margin: 18px 0 0;
}

.apply-online-panel {
    padding: clamp(24px, 4vw, 44px);
}

.apply-online-panel h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.3rem);
}

.apply-online-panel p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.6;
    max-width: 620px;
}

.inventory-empty {
    min-height: 360px;
}

.audit-page {
    background: var(--surface-soft);
}

.audit-header {
    align-items: end;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    color: var(--ink);
    display: flex;
    gap: 32px;
    justify-content: space-between;
    margin: clamp(18px, 3vw, 42px) auto 0;
    padding: clamp(42px, 7vw, 80px) clamp(20px, 5vw, 64px);
    width: min(94vw, 1280px);
}

.audit-header h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.audit-header p:not(.eyebrow) {
    color: var(--muted);
    max-width: 800px;
}

.admin-header-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.admin-header-actions span {
    color: var(--muted);
    font-weight: 800;
}

.admin-logout {
    margin: 0;
}

.dashboard-page {
    font-size: 15px;
}

.dashboard-header {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(23, 33, 43, .1);
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: clamp(16px, 3vw, 34px) auto 0;
    padding: clamp(18px, 3vw, 30px);
    width: min(94vw, 1280px);
}

.dashboard-title h1 {
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    font-weight: 650;
    line-height: 1.05;
    margin-bottom: 10px;
    max-width: none;
}

.dashboard-title p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.45;
    margin: 0;
    max-width: 780px;
}

.dashboard-account {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: start;
    text-align: right;
}

.dashboard-account span {
    color: var(--muted);
    font-size: .9rem;
}

.dashboard-account .button.secondary {
    background: #f7f1e5;
    border: 1px solid var(--line);
    color: var(--ink);
}

.dashboard-nav {
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    grid-column: 1 / -1;
    padding-top: 14px;
}

.dashboard-nav a {
    background: #f7f1e5;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 650;
    padding: 9px 12px;
    text-decoration: none;
}

.dashboard-nav a.active {
    background: var(--ink);
    color: var(--white);
}

.dashboard-page h2 {
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 650;
    line-height: 1.15;
}

.dashboard-page .button,
.dashboard-page button,
.dashboard-page .favorite-filter-button {
    border-radius: 8px;
    font-weight: 700;
    min-height: 40px;
}

.dashboard-page .lead-form input,
.dashboard-page .lead-form select,
.dashboard-page .audit-controls input,
.dashboard-page .audit-controls select {
    border-radius: 8px;
}

.dashboard-page .audit-summary strong {
    font-size: 1.65rem;
    font-weight: 650;
}

.dashboard-page .audit-summary span,
.dashboard-page .audit-controls label,
.dashboard-page .lead-form label {
    font-weight: 650;
}

.audit-summary {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, 1fr);
    margin: 18px auto 0;
    width: min(94vw, 1280px);
}

.audit-summary article {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    padding: 24px clamp(18px, 4vw, 42px);
}

.audit-summary strong,
.audit-summary span {
    display: block;
}

.audit-summary strong {
    font-size: 2.1rem;
}

.audit-summary span {
    color: var(--muted);
    font-weight: 800;
}

.audit-summary .audit-critical {
    border-top: 5px solid var(--red);
}

.audit-summary .audit-review {
    border-top: 5px solid var(--gold);
}

.audit-workflow {
    background: #ead9b8;
    border: 1px solid var(--line);
    border-radius: 20px;
    margin: 18px auto 0;
    padding: 20px clamp(20px, 5vw, 64px);
    width: min(94vw, 1280px);
}

.audit-workflow strong {
    font-size: 1.05rem;
}

.audit-workflow p {
    line-height: 1.55;
    margin: 7px 0 0;
    max-width: 1000px;
}

.audit-controls {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(23, 33, 43, .08);
    margin: 18px auto 0;
    padding: 22px clamp(20px, 5vw, 64px);
    width: min(94vw, 1280px);
}

.audit-controls form {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(160px, 0.35fr) minmax(230px, 0.65fr) auto auto;
}

.audit-controls label {
    display: grid;
    font-size: 0.85rem;
    font-weight: 900;
    gap: 7px;
}

.audit-controls a {
    font-weight: 800;
    padding: 14px 0;
}

.audit-table-wrap {
    overflow-x: auto;
    padding: clamp(24px, 4vw, 54px);
    margin: 0 auto;
    width: min(94vw, 1280px);
}

.audit-table {
    background: var(--surface);
    border-radius: 16px;
    border-collapse: collapse;
    box-shadow: 0 12px 30px rgba(23, 33, 43, .08);
    min-width: 1100px;
    overflow: hidden;
    width: 100%;
}

.audit-table th,
.audit-table td {
    border-bottom: 1px solid var(--line);
    padding: 13px 14px;
    text-align: left;
    vertical-align: top;
}

.audit-table th {
    background: var(--ink);
    color: var(--white);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.audit-table code {
    white-space: nowrap;
}

.audit-badge {
    color: var(--white);
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 5px 8px;
    text-transform: uppercase;
}

.audit-badge.audit-critical {
    background: var(--red);
}

.audit-badge.audit-review {
    background: var(--gold-dark);
}

.admin-panel-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr);
}

.admin-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(23, 33, 43, .08);
    padding: clamp(18px, 3vw, 28px);
}

.admin-panel .audit-table {
    min-width: 0;
}

.compact-admin-table {
    font-size: .88rem;
}

.checkbox-label {
    align-items: center;
    display: flex;
    gap: 8px;
}

.form-error {
    background: #f5d7d3;
    border: 1px solid rgba(158, 62, 55, .25);
    border-radius: 14px;
    padding: 12px 14px;
}

.features {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 34px;
}

.features article {
    background: var(--surface);
    border-top: 5px solid var(--green);
    padding: 26px;
}

.local-search-section {
    background: var(--surface-soft);
}

.area-grid,
.faq-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 34px;
}

.area-grid article,
.faq-grid article {
    background: var(--surface);
    border-left: 5px solid var(--gold);
    padding: 24px;
}

.reviews-section {
    background: #e9dfcc;
}

.reviews-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
}

.review-placeholder,
.review-card {
    background: rgba(238, 232, 220, 0.86);
    border: 1px solid rgba(23, 33, 43, 0.18);
    min-height: 150px;
    padding: 24px;
}

.review-placeholder strong,
.review-card strong {
    color: var(--ink);
    display: block;
    margin-bottom: 12px;
}

.review-placeholder p,
.review-card p {
    color: var(--muted);
}

.review-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.review-card blockquote {
    color: var(--ink);
    line-height: 1.65;
    margin: 0;
}

.review-card .review-stars {
    color: #b67600;
    font-size: 1.15rem;
    letter-spacing: 0.1rem;
    margin: 0;
}

.review-card .review-author {
    color: var(--ink);
    font-weight: 800;
    margin-top: auto;
}

.review-source {
    color: var(--muted);
    font-size: 0.92rem;
    margin-top: 18px;
}

.area-grid p,
.faq-grid p {
    color: var(--muted);
    line-height: 1.65;
}

.faq-section {
    background: var(--surface);
}

.faq-grid article {
    background: var(--surface-soft);
    border-left-color: var(--green);
}

.contact-section {
    align-items: start;
    background: #e9dfcc;
    display: grid;
    gap: clamp(26px, 6vw, 80px);
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
}

address {
    font-style: normal;
    font-weight: 800;
    line-height: 1.55;
}

.lead-form {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lead-form label {
    color: var(--muted);
    display: grid;
    font-size: 0.9rem;
    font-weight: 800;
    gap: 8px;
}

.lead-form .full {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    background: #fbfaf5;
    border: 1px solid var(--line);
    color: var(--ink);
    font: inherit;
    min-height: 48px;
    padding: 12px 14px;
    width: 100%;
}

textarea {
    resize: vertical;
}

.check {
    align-items: start;
    display: flex !important;
    gap: 10px !important;
}

.check input {
    min-height: auto;
    width: auto;
}

.hidden {
    left: -9999px;
    position: absolute;
}

.alert {
    border-left: 5px solid var(--green);
    color: var(--ink);
    font-weight: 800;
    grid-column: 1 / -1;
    padding: 14px 16px;
}

.alert.success {
    background: rgba(50, 106, 93, 0.12);
}

.alert.error {
    background: rgba(158, 62, 55, 0.12);
    border-color: var(--red);
}

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.76);
    padding: 0;
}

.footer-inner {
    margin: 0 auto;
    max-width: 1280px;
    padding: 32px clamp(20px, 6vw, 72px) 22px;
    width: min(85vw, 1280px);
}

.footer-columns {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(160px, .7fr));
}

footer strong,
footer a {
    color: var(--white);
}

.footer-business,
.footer-credit,
.footer-social,
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-nav {
    align-items: flex-start;
}
.footer-veteran-badge {
    display: inline-flex;
    margin-top: 10px;
}

.footer-veteran-badge img {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 4px;
    display: block;
    height: auto;
    max-width: 220px;
    padding: 6px;
    width: min(100%, 220px);
}

.footer-nav strong {
    color: var(--gold);
    margin-bottom: 4px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.footer-nav a,
.footer-social a {
    text-decoration: none;
}

.footer-social-link {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.footer-social-link img {
    height: 18px;
    object-fit: contain;
    width: 18px;
}

.footer-social {
    border-top: 1px solid rgba(255, 255, 255, .14);
    flex-direction: row;
    gap: 18px;
    margin-top: 28px;
    padding-top: 18px;
}

.footer-credit {
    border-top: 1px solid rgba(255, 255, 255, .14);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 18px;
    text-align: left;
}

/* Warm refresh: softer surfaces, friendlier cards, and less one-note inventory color. */
.home-content-card,
.page-card,
.inventory-content-card {
    border-radius: 26px;
}

.brand-mark,
.button,
.header-call,
.location-links a,
.favorite-filter-button,
.filter-toggle-label,
input,
select,
textarea {
    border-radius: 999px;
}

.mobile-menu summary,
.mobile-menu nav,
.inventory-panel,
.lead-form,
.inventory-filters,
.vehicle-card,
.vehicle-gallery,
.vehicle-detail-panel,
.payment-calculator,
.features article,
.area-grid article,
.faq-grid article,
.review-card,
.review-placeholder,
.calculator-results article,
.inventory-empty {
    border-radius: 20px;
}

.vehicle-gallery,
.vehicle-card,
.vehicle-main-photo,
.vehicle-thumbnails button,
.vehicle-card img,
.vehicle-photo-placeholder {
    overflow: hidden;
}

.section,
.content-section:nth-of-type(even),
.area-links,
.contact-cta {
    background: transparent;
}

.inventory-content-card {
    background: #efe8d8;
}

.inventory-toolbar {
    background: linear-gradient(135deg, #d9b654 0%, #e6d7b7 52%, #c9d0ad 100%);
}

.inventory-browser {
    background: linear-gradient(180deg, #f2eddf 0%, #e7e1d5 100%);
}

.inventory-filters {
    background: #f7f1e5;
}

.inventory-grid {
    align-items: stretch;
}

.vehicle-card-link:nth-child(3n+1) .vehicle-card {
    background: #f8f1e4;
}

.vehicle-card-link:nth-child(3n+2) .vehicle-card {
    background: #edf0e2;
}

.vehicle-card-link:nth-child(3n+3) .vehicle-card {
    background: #ece6da;
}

.vehicle-side-stack {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.payment-calculator {
    margin: 0;
}

.vehicle-side-stack .payment-calculator h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.3rem);
}

.vehicle-side-stack .calculator-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vehicle-side-stack .calculator-results {
    grid-template-columns: 1fr;
}

.vehicle-side-stack .calculator-results strong {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.inventory-hero {
    padding: 12px clamp(16px, 3vw, 34px) 10px;
}

.inventory-hero .eyebrow {
    margin-bottom: 6px;
}

.inventory-hero h1 {
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    line-height: 1;
    margin-bottom: 5px;
    max-width: none;
}

.inventory-hero > p:not(.eyebrow) {
    font-size: .9rem;
    line-height: 1.3;
    margin-bottom: 0;
    max-width: 760px;
}

.inventory-hero .hero-actions {
    gap: 8px;
    margin: 12px 0 0;
}

.inventory-hero .button {
    min-height: 40px;
    padding: 9px 14px;
}

.inventory-toolbar {
    padding: 10px clamp(16px, 3vw, 34px);
}

.inventory-toolbar form {
    gap: 10px;
}

.inventory-toolbar input,
.inventory-toolbar select,
.inventory-toolbar .button,
.inventory-toolbar .favorite-filter-button {
    min-height: 40px;
}

.inventory-toolbar p {
    font-size: .9rem;
    margin: 8px 0 0;
}

@media (max-width: 1499px) {
    .hero {
        min-height: auto;
    }

    .hero-copy {
        max-width: min(760px, 92vw);
        padding-bottom: 28px;
    }

    .hero-logo-wrap {
        bottom: auto;
        left: auto;
        margin: 30px auto 0;
        position: relative;
        transform: none;
        width: 260px;
    }

    .hero-logo {
        height: 260px;
        width: 260px;
    }

    .hero-quote {
        bottom: auto;
        margin: 0 clamp(20px, 7vw, 90px) clamp(42px, 6vw, 72px) auto;
        max-width: min(540px, 48vw);
        position: relative;
        right: auto;
    }
}

@media (max-width: 820px) {
    .hero-logo-wrap {
        bottom: auto;
        left: auto;
        margin: 26px auto 0;
        position: relative;
        transform: none;
        width: min(72vw, 260px);
    }

    .hero-logo {
        height: min(72vw, 260px);
        width: min(72vw, 260px);
    }

    .home-content-card,
    .page-card,
    .inventory-content-card,
    .footer-inner {
        width: min(94vw, 1280px);
    }

    .site-header {
        align-items: center;
        flex-direction: row;
        gap: 10px;
    }

    .desktop-nav,
    .site-header > nav {
        display: none;
    }

    .site-header .header-call {
        display: none;
    }

    .mobile-menu {
        display: block;
        margin-left: auto;
        position: relative;
    }

    .mobile-menu summary {
        align-content: center;
        background: var(--ink);
        cursor: pointer;
        display: grid;
        gap: 4px;
        height: 42px;
        justify-content: center;
        list-style: none;
        width: 46px;
    }

    .mobile-menu summary::-webkit-details-marker {
        display: none;
    }

    .mobile-menu summary span {
        background: var(--gold);
        display: block;
        height: 2px;
        width: 22px;
    }

    .mobile-menu nav {
        background: var(--surface);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
        display: grid;
        gap: 0;
        min-width: 230px;
        padding: 8px;
        position: absolute;
        right: 0;
        top: 50px;
    }

    .mobile-menu nav a {
        border-bottom: 1px solid var(--line);
        padding: 12px;
    }

    .hero {
        min-height: auto;
    }

    .hero-media {
        background:
            linear-gradient(180deg, rgba(10, 14, 18, 0.9) 0%, rgba(10, 14, 18, 0.72) 56%, rgba(10, 14, 18, 0.38) 100%),
            url("car-lot.png") center / cover no-repeat;
    }

    .hero-copy {
        padding: 74px clamp(20px, 7vw, 90px) 24px;
    }

    .hero-quote {
        bottom: auto;
        left: auto;
        margin: 0 clamp(20px, 7vw, 90px) 34px;
        max-width: none;
        padding: 18px;
        position: relative;
        right: auto;
    }

    .hero-quote p {
        font-size: .95rem;
        line-height: 1.45;
    }

    .search-band,
    .split,
    .features,
    .inventory-toolbar form,
    .audit-summary,
    .audit-controls form,
    .area-grid,
    .faq-grid,
    .reviews-grid,
    .contact-section,
    .lead-form,
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .inventory-browser {
        display: block;
        padding: 14px;
    }

    .inventory-filters {
        max-height: none;
        overflow-y: visible;
        position: static;
    }

    .filter-toggle {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .filter-toggle-label {
        background: var(--ink);
        color: var(--white);
        cursor: pointer;
        display: block;
        font-weight: 900;
        padding: 13px 16px;
    }

    .filter-toggle-label::after {
        content: "+";
        float: right;
    }

    .filter-toggle:checked + .filter-toggle-label::after {
        content: "-";
    }

    .inventory-filters form {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .inventory-filters .filter-heading,
    .inventory-filters .button {
        grid-column: 1 / -1;
    }

    .inventory-filters fieldset {
        margin: 8px 0;
    }

    .filter-apply-button {
        display: none;
    }

    .vehicle-detail,
    .calculator-fields,
    .calculator-results {
        grid-template-columns: 1fr;
    }

    .vehicle-tab-list {
        overflow-x: auto;
        padding-left: 6px;
    }

    .vehicle-tab-list label {
        font-size: .82rem;
        min-height: 40px;
        padding: 11px 13px 10px;
    }

    #vehicle-tab-info:checked ~ .vehicle-tab-list label[for="vehicle-tab-info"],
    #vehicle-tab-payment:checked ~ .vehicle-tab-list label[for="vehicle-tab-payment"],
    #vehicle-tab-apply:checked ~ .vehicle-tab-list label[for="vehicle-tab-apply"] {
        min-height: 45px;
        padding-top: 14px;
    }

    .audit-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-credit {
        flex-direction: column;
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    h1 {
        font-size: 2.65rem;
    }

    .hero-copy h1 {
        font-size: 2.55rem;
    }

    .hero-logo-wrap {
        width: min(68vw, 220px);
    }

    .hero-logo {
        height: min(68vw, 220px);
        width: min(68vw, 220px);
    }

    .button {
        width: 100%;
    }

    .hero-actions {
        width: 100%;
    }

    .inventory-grid {
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr;
        margin-top: 14px;
        padding: 0;
    }

    .vehicle-card {
        aspect-ratio: auto;
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
        height: auto;
        overflow: visible;
    }

    .vehicle-card-link {
        display: contents;
    }

    .vehicle-card img,
    .vehicle-card > .vehicle-card-link > .vehicle-photo-placeholder {
        aspect-ratio: auto;
        grid-column: 1;
        height: 118px;
        width: 118px;
    }

    .vehicle-card-body {
        grid-column: 2;
        padding: 10px 38px 8px 10px;
    }

    .vehicle-card-body h2 {
        font-size: .9rem;
    }

    .vehicle-card .desktop-card-details,
    .vehicle-view-link {
        display: none;
    }

    .favorite-button {
        height: 30px;
        right: 6px;
        top: 6px;
        width: 30px;
    }

    .mobile-card-details {
        border-top: 1px solid var(--line);
        display: block;
        grid-column: 1 / -1;
    }

    .mobile-card-details summary {
        color: var(--green);
        cursor: pointer;
        font-size: .8rem;
        font-weight: 700;
        padding: 9px 12px;
    }

    .mobile-card-details dl {
        margin: 0;
        padding: 0 12px 8px;
    }

    .mobile-card-details dl div {
        border-top: 1px solid var(--line);
        display: flex;
        font-size: .76rem;
        justify-content: space-between;
        padding: 6px 0;
    }

    .mobile-card-details dd {
        font-weight: 600;
        margin: 0;
    }

    .mobile-card-details a {
        background: var(--ink);
        color: var(--white);
        display: block;
        font-size: .78rem;
        font-weight: 700;
        padding: 10px 12px;
        text-decoration: none;
    }

    .inventory-filters form {
        display: none;
        grid-template-columns: 1fr;
    }

    .filter-toggle:checked ~ form {
        display: grid;
    }

    .inventory-filters fieldset {
        grid-column: 1;
    }

    .vehicle-detail {
        padding: 16px;
    }
}

