:root {
    --ink: #0b0b0b;
    --ink-soft: #171717;
    --paper: #f5f7f8;
    --white: #ffffff;
    --yellow: #ffc400;
    --yellow-deep: #e5ae00;
    --line: #dce2e6;
    --muted: #535c64;
    --muted-light: #8c8576;
    --green: #157347;
    --red: #b42318;
    --shadow: 0 18px 44px rgba(20, 18, 10, .08);
    --radius: 14px;
    --display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --body: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    /* Text size control (Dashboard -> Website content -> Text size). One scale
       for the px-sized body copy and small text; clamp() headlines stay fixed. */
    --ts: 1;
}

html[data-text-size="compact"] { --ts: .94; }
html[data-text-size="large"] { --ts: 1.1; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: calc(18px * var(--ts));
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--display); line-height: .98; letter-spacing: .005em; text-transform: uppercase; }
h1 { font-size: clamp(3.6rem, 7vw, 7.8rem); font-weight: 900; }
h2 { font-size: clamp(2.5rem, 4.4vw, 4.2rem); font-weight: 800; }
h3 { font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 700; }
.shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.preview-bar { background: var(--yellow); border-bottom: 1px solid #d4a400; font-size: calc(13px * var(--ts)); }
.preview-inner { display: flex; gap: 12px; align-items: center; padding: 9px 0; flex-wrap: wrap; }
.preview-inner strong { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.preview-inner span { color: #4e3d00; }

.utility-bar { background: var(--ink); color: #fff; font-size: calc(13px * var(--ts)); letter-spacing: .05em; }
.utility-inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.utility-slogan { margin: 0; font-family: var(--display); font-size: calc(17px * var(--ts)); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.utility-detail { margin: 0; display: flex; align-items: center; gap: 12px; text-transform: uppercase; }
.utility-detail a { color: var(--yellow); font-weight: 800; text-decoration: none; }
.dot { color: var(--yellow); }

.site-header { background: var(--ink); color: #fff; border-top: 1px solid #2a2a2a; position: sticky; top: 0; z-index: 30; }
.header-inner { min-height: 92px; display: flex; align-items: center; gap: 22px; }
.brand { flex: 0 0 auto; display: block; }
.brand img { height: 64px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.site-nav a {
    color: #f7f4e8; text-decoration: none; font-size: calc(13px * var(--ts)); font-weight: 700;
    letter-spacing: .09em; text-transform: uppercase; padding: 10px 0; border-bottom: 3px solid transparent;
}
.site-nav a:hover, .site-nav a.active { color: var(--yellow); border-color: var(--yellow); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { color: #fff; text-decoration: none; line-height: 1.05; text-align: right; }
.header-phone span { display: block; color: #b9b2a1; font-size: calc(10px * var(--ts)); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.header-phone strong { font-family: var(--display); font-size: calc(23px * var(--ts)); letter-spacing: .02em; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: transparent; border: 1px solid #4a463c; border-radius: 8px; padding: 11px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: #fff; margin: 4px 0; }

.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; padding: 13px 24px; border: 2px solid transparent; border-radius: 8px;
    font-weight: 800; font-size: calc(14px * var(--ts)); letter-spacing: .07em; text-transform: uppercase;
    text-decoration: none; transition: transform .15s ease, background .15s ease, color .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.button-yellow:hover { background: #ffd43b; }
.button-black { background: var(--ink); color: #fff; border-color: var(--ink); }
.button-black:hover { background: #2a2a2a; }
.button-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.button-outline:hover { background: var(--ink); color: #fff; }
.button-small { min-height: 42px; padding: 9px 16px; font-size: calc(12px * var(--ts)); }
.button-wide { width: 100%; }

.flash-stack { padding-top: 18px; }
.flash { padding: 13px 16px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: calc(15px * var(--ts)); }
.flash-success { background: #edf9f1; border-color: #b7e2c5; color: #125c35; }
.flash-error { background: #fff0ef; border-color: #f2c1bd; color: #8d1d16; }

.hero { background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); min-height: 630px; align-items: stretch; }
.hero-copy { padding: 78px 48px 62px 0; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 15px; font-size: calc(13px * var(--ts)); font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow:before { content: ""; display: inline-block; width: 30px; height: 3px; background: var(--yellow); vertical-align: middle; margin-right: 10px; }
.hero h1 { margin: 0 0 24px; max-width: 780px; }
.hero h1 em { font-style: normal; background: var(--yellow); padding: 0 .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-sub { max-width: 610px; color: #3d3a31; font-size: calc(21px * var(--ts)); line-height: 1.52; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { margin: 23px 0 0; color: var(--muted); font-size: calc(14px * var(--ts)); }
.hero-media { position: relative; min-height: 500px; background: #101010; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,0)); pointer-events: none; }
.hero-sticker {
    position: absolute; left: 0; bottom: 34px; z-index: 2; background: var(--yellow); color: var(--ink);
    padding: 16px 22px; max-width: 310px; box-shadow: var(--shadow);
}
.hero-sticker strong { display: block; font-family: var(--display); font-size: calc(27px * var(--ts)); line-height: .95; text-transform: uppercase; }
.hero-sticker span { display: block; margin-top: 6px; font-size: calc(12px * var(--ts)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.quick-search { position: relative; z-index: 3; margin-top: -1px; background: var(--ink); color: #fff; }
.quick-inner { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr auto; gap: 14px; align-items: end; padding: 22px 0; }
.quick-field label { display: block; color: #c9c2b1; font-size: calc(11px * var(--ts)); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.quick-field select, .quick-field input {
    width: 100%; min-height: 45px; border: 1px solid #4d493f; background: #171717; color: #fff;
    border-radius: 6px; padding: 9px 11px; font-size: max(16px, calc(15px * var(--ts)));
}
.quick-field select:focus, .quick-field input:focus { outline: 3px solid rgba(255,196,0,.3); border-color: var(--yellow); }
.quick-inner .button { min-height: 45px; }

.trust-strip { background: var(--yellow); border-bottom: 1px solid #d8aa00; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 11px; align-items: flex-start; padding: 21px 22px; border-right: 1px solid rgba(0,0,0,.16); }
.trust-item:last-child { border-right: 0; }
.trust-icon { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; font-size: calc(13px * var(--ts)); font-weight: 900; }
.trust-item strong { display: block; font-size: calc(13px * var(--ts)); letter-spacing: .07em; text-transform: uppercase; line-height: 1.2; }
.trust-item span { display: block; margin-top: 3px; font-size: calc(13px * var(--ts)); color: #4b3c00; }

.section { padding: 88px 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head h2 { margin: 0; }
.section-head p { max-width: 460px; color: var(--muted); margin: 0 0 4px; }
.section-label { margin: 0 0 9px; color: #856000; font-size: calc(12px * var(--ts)); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.inventory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.vehicle-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s ease, transform .18s ease; }
.vehicle-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.vehicle-image { position: relative; display: block; aspect-ratio: 3/2; background: #ece9e0; overflow: hidden; }
.vehicle-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vehicle-card:hover .vehicle-image img { transform: scale(1.025); }
.vehicle-badge { position: absolute; top: 13px; left: 13px; background: var(--yellow); color: var(--ink); padding: 5px 9px; font-size: calc(10px * var(--ts)); font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.vehicle-badge.pending { background: #fff0c7; }
.vehicle-body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.vehicle-kicker { margin: 0 0 6px; color: var(--muted); font-size: calc(11px * var(--ts)); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.vehicle-body h3 { margin: 0 0 10px; font-size: calc(27px * var(--ts)); line-height: 1; }
.vehicle-body h3 a { text-decoration: none; }
.vehicle-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.vehicle-specs { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: calc(14px * var(--ts)); margin-bottom: 16px; }
.vehicle-specs span { display: inline-flex; align-items: center; gap: 5px; }
.vehicle-specs span + span:before { content: "•"; color: #b9b09e; margin-right: 4px; }
.vehicle-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.vehicle-price { font-family: var(--display); font-size: calc(32px * var(--ts)); font-weight: 900; line-height: 1; }
.vehicle-price small { display: block; margin-top: 3px; font-family: var(--body); font-size: calc(12px * var(--ts)); font-weight: 600; color: var(--muted); }
.vehicle-compare { color: var(--muted); font-size: calc(13px * var(--ts)); text-decoration: line-through; margin-left: 6px; }
.vehicle-link { color: var(--ink); font-size: calc(12px * var(--ts)); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 3px; }
.vehicle-link:hover { background: #fff4c2; }

.empty-state { background: var(--white); border: 1px dashed #c8c1b1; padding: 36px; border-radius: var(--radius); color: var(--muted); }

.finance-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.finance-band:before { content: ""; position: absolute; width: 46%; height: 200%; background: var(--yellow); right: -8%; top: -50%; transform: rotate(12deg); opacity: .96; }
.finance-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 36px; align-items: center; padding: 68px 0; }
.finance-copy h2 { margin: 0 0 15px; color: #fff; font-size: clamp(2.8rem, 5vw, 5rem); }
.finance-copy p { max-width: 620px; color: #d7d2c3; font-size: calc(18px * var(--ts)); }
.finance-copy .eyebrow { color: var(--yellow); }
.finance-action { text-align: right; position: relative; z-index: 2; }
.finance-action .button { background: var(--ink); border-color: var(--ink); color: #fff; }
.finance-action .button:hover { background: #2a2a2a; }
.finance-action p { color: #3d2e00; font-weight: 700; font-size: calc(13px * var(--ts)); margin: 12px 0 0; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.why-number { font-family: var(--display); font-size: calc(42px * var(--ts)); font-weight: 900; color: var(--yellow-deep); line-height: 1; margin-bottom: 12px; }
.why-card h3 { font-size: calc(24px * var(--ts)); margin-bottom: 8px; }
.why-card p { margin: 0; color: var(--muted); font-size: calc(15px * var(--ts)); }

.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: stretch; }
.visit-photo { position: relative; min-height: 440px; border-radius: var(--radius); overflow: hidden; background: #ddd8ca; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }
.visit-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.visit-card h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin-bottom: 18px; }
.visit-card address { font-style: normal; font-size: calc(20px * var(--ts)); line-height: 1.45; margin-bottom: 20px; }
.visit-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin-bottom: 20px; }
.visit-meta h3 { font-size: calc(19px * var(--ts)); margin-bottom: 8px; }
.visit-meta p, .visit-meta a { margin: 0; color: var(--muted); font-size: calc(15px * var(--ts)); text-decoration: none; }
.hours-row { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 5px; font-size: calc(14px * var(--ts)); color: var(--muted); }
.hours-row strong { color: var(--ink); }
.visit-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.map-wrap { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #ddd; }
.map-wrap iframe { display: block; width: 100%; height: 310px; border: 0; }

.page-hero { background: var(--white); border-bottom: 1px solid var(--line); padding: 62px 0 52px; }
.page-hero .shell { display: grid; grid-template-columns: 1fr .65fr; gap: 40px; align-items: end; }
.page-hero h1 { font-size: clamp(3.5rem, 6vw, 6.5rem); margin: 0; }
.page-hero p { color: var(--muted); font-size: calc(19px * var(--ts)); max-width: 540px; margin: 0 0 4px; }
.breadcrumbs { font-size: calc(12px * var(--ts)); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; color: var(--muted); }
.breadcrumbs a { text-decoration: none; color: var(--ink); }
.breadcrumbs span { margin: 0 7px; color: #a79e8c; }

.showroom-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 34px; align-items: start; }
.filter-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 112px; }
.filter-panel h2 { font-size: calc(26px * var(--ts)); margin-bottom: 16px; }
.filter-panel label { display: block; font-size: calc(11px * var(--ts)); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 14px 0 6px; }
.filter-panel select, .filter-panel input { width: 100%; min-height: 43px; border: 1px solid #cfc8b8; border-radius: 6px; background: #fff; padding: 8px 10px; font-size: max(16px, 1em); }
.filter-panel .button { margin-top: 18px; }
.filter-reset { display: inline-block; margin-top: 12px; font-size: calc(13px * var(--ts)); color: var(--muted); }
.showroom-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 18px; }
.showroom-head h2 { margin: 0; font-size: calc(36px * var(--ts)); }
.showroom-head p { margin: 0; color: var(--muted); font-size: calc(14px * var(--ts)); }
.inventory-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.vehicle-detail { padding: 56px 0 88px; }
.detail-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 36px; align-items: start; }
.gallery-main { background: #e9e6dd; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; background: #e9e6dd; border-radius: 8px; overflow: hidden; aspect-ratio: 3/2; }
.gallery-thumbs button.active { border-color: var(--yellow); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: sticky; top: 112px; }
.detail-summary h1 { font-size: clamp(2.8rem, 4vw, 4.2rem); margin: 0 0 9px; }
.detail-trim { color: var(--muted); font-size: calc(18px * var(--ts)); margin-bottom: 16px; }
.detail-price { font-family: var(--display); font-size: calc(52px * var(--ts)); font-weight: 900; line-height: 1; }
.detail-price small { font-family: var(--body); font-size: calc(14px * var(--ts)); font-weight: 500; color: var(--muted); display: block; margin-top: 5px; }
.detail-actions { display: grid; gap: 10px; margin: 22px 0; }
.detail-contact { font-size: calc(14px * var(--ts)); color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.detail-contact a { font-weight: 800; color: var(--ink); }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 0; }
.spec { background: #f3f0e7; padding: 11px 12px; border-radius: 6px; }
.spec span { display: block; color: var(--muted); font-size: calc(10px * var(--ts)); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.spec strong { display: block; margin-top: 3px; font-size: calc(15px * var(--ts)); }
.detail-section { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-top: 24px; }
.detail-section h2 { font-size: calc(30px * var(--ts)); margin-bottom: 14px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; padding: 0; list-style: none; margin: 0; }
.feature-list li { position: relative; padding-left: 20px; color: #39362e; font-size: calc(15px * var(--ts)); }
.feature-list li:before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 900; }
.detail-note { margin: 20px 0 0; padding: 14px 16px; background: #fff7d6; border: 1px solid #efdda0; border-radius: 8px; font-size: calc(13px * var(--ts)); color: #574500; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form-card h2 { font-size: calc(34px * var(--ts)); margin-bottom: 8px; }
.form-card .lede { color: var(--muted); font-size: calc(16px * var(--ts)); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1/-1; }
.field label { display: block; font-size: calc(12px * var(--ts)); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 46px; border: 1px solid #cfc8b8; background: #fff; border-radius: 7px; padding: 10px 12px;
    /* Floor at 16px: iOS Safari zooms the page when a focused field is smaller. */
    font-size: max(16px, calc(16px * var(--ts))); color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(255,196,0,.35); border-color: var(--yellow-deep); }
.checkline { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: calc(13px * var(--ts)); line-height: 1.45; margin: 14px 0; }
.checkline input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--yellow-deep); flex: 0 0 18px; }
.form-note { color: var(--muted); font-size: calc(12px * var(--ts)); margin: 10px 0 0; }

.finance-page-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 34px; align-items: start; }
.finance-aside { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; }
.finance-aside h2 { color: #fff; font-size: calc(30px * var(--ts)); }
.finance-aside p, .finance-aside li { color: #d8d3c4; font-size: calc(15px * var(--ts)); }
.finance-aside ul { padding-left: 18px; }
.finance-aside .button { margin-top: 12px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.contact-details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-details h2 { font-size: calc(34px * var(--ts)); }
.contact-details address { font-style: normal; font-size: calc(19px * var(--ts)); margin-bottom: 18px; }
.contact-details a:not(.button) { color: var(--ink); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.contact-list strong { display: block; font-size: calc(11px * var(--ts)); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.legal { max-width: 820px; margin: 0 auto; padding: 60px 0 90px; }
.legal h1 { font-size: clamp(3rem, 5vw, 5rem); margin-bottom: 22px; }
.legal h2 { font-size: calc(28px * var(--ts)); margin: 30px 0 10px; }
.legal p, .legal li { color: #38352d; font-size: calc(16px * var(--ts)); }
.legal ul { padding-left: 22px; }

.site-footer { background: var(--ink); color: #fff; padding: 58px 0 0; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 38px; }
.footer-brand img { height: 72px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: #d9d4c5; font-size: calc(15px * var(--ts)); max-width: 320px; }
.footer-small { color: #9f998a !important; font-size: calc(12px * var(--ts)) !important; }
.footer-heading { font-family: var(--body); font-size: calc(11px * var(--ts)); font-weight: 800; letter-spacing: .13em; color: var(--yellow); margin: 5px 0 14px; }
.site-footer p, .site-footer a { color: #d9d4c5; font-size: calc(14px * var(--ts)); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.newsletter { border-top: 1px solid #36342d; border-bottom: 1px solid #36342d; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.newsletter h2 { margin: 0 0 3px; }
.newsletter-form { display: flex; gap: 8px; width: min(520px, 100%); }
.newsletter-form input[type=email] { flex: 1; min-width: 0; min-height: 46px; border: 1px solid #4d493f; background: #171717; color: #fff; border-radius: 7px; padding: 9px 12px; font-size: max(16px, 1em); }
.newsletter-form input[type=email]:focus { outline: 3px solid rgba(255,196,0,.3); border-color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 24px; color: #9f998a; font-size: calc(12px * var(--ts)); }
.footer-bottom p { margin: 0; color: #9f998a; font-size: calc(12px * var(--ts)); }
.footer-bottom span { margin: 0 6px; color: #5b574b; }

.promo-strip { background: var(--yellow); color: var(--ink); }
.promo-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.promo-inner p { margin: 0; font-size: calc(14px * var(--ts)); font-weight: 700; }
.promo-inner a { font-size: calc(12px * var(--ts)); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }

.category-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 26px; padding-bottom: 0; }
.category-chips a { display: inline-block; border: 1px solid var(--line); border-radius: 99px; background: var(--white); padding: 7px 13px; color: var(--muted); font-size: calc(12px * var(--ts)); font-weight: 700; text-decoration: none; }
.category-chips a:hover, .category-chips a.active { background: var(--ink); border-color: var(--ink); color: var(--yellow); }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blog-card { background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.blog-card-image { display: block; aspect-ratio: 3/2; overflow: hidden; background: #e9e4d7; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.03); }
.blog-card-body { padding: 18px 18px 20px; }
.blog-meta { color: var(--muted); font-size: calc(10px * var(--ts)); font-weight: 800; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 8px; }
.blog-card h2, .blog-card h3 { margin: 0 0 8px; font-size: calc(25px * var(--ts)); line-height: 1.05; }
.blog-card h2 a, .blog-card h3 a { color: var(--ink); text-decoration: none; }
.blog-card h2 a:hover, .blog-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; }
.blog-card p { color: #4d493f; font-size: calc(14px * var(--ts)); margin-bottom: 12px; }
.blog-grid-index .blog-card h2 { font-size: calc(29px * var(--ts)); }

.article-page { padding: 46px 0 0; }
.article-header { max-width: 940px; }
.article-header h1 { font-size: clamp(3.2rem, 7vw, 6.4rem); margin: 8px 0 18px; }
.article-deck { color: #4d493f; font-size: calc(20px * var(--ts)); max-width: 760px; }
.article-byline { color: var(--muted); font-size: calc(12px * var(--ts)); font-weight: 700; letter-spacing: .04em; margin-top: 16px; }
.article-cover { margin-top: 30px; }
.article-cover img { width: 100%; max-height: 620px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 52px; align-items: start; padding-top: 44px; padding-bottom: 70px; }
.article-body { font-size: calc(17px * var(--ts)); line-height: 1.75; color: #2b2821; }
.article-body h2 { font-size: calc(34px * var(--ts)); margin: 34px 0 12px; }
.article-body h3 { font-size: calc(26px * var(--ts)); margin: 28px 0 10px; }
.article-body p, .article-body ul { margin: 0 0 18px; }
.article-body ul { padding-left: 22px; }
.article-body blockquote { border-left: 5px solid var(--yellow); margin: 24px 0; padding: 6px 0 6px 20px; font-size: calc(21px * var(--ts)); font-family: var(--display); font-weight: 700; }
.article-body figure { margin: 26px 0; }
.article-body figure img { width: 100%; }
.article-body figcaption { color: var(--muted); font-size: calc(12px * var(--ts)); margin-top: 7px; }
.article-body a { color: #4d3d00; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.article-aside { position: sticky; top: 24px; background: var(--paper); border: 1px solid var(--line); padding: 22px; }
.article-aside h2 { font-size: calc(26px * var(--ts)); }
.article-aside address { font-style: normal; color: #4d493f; font-size: calc(14px * var(--ts)); }
.article-aside p { font-size: calc(14px * var(--ts)); }
.article-aside .button { margin-top: 10px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 28px 0; }
.article-tags span { background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 5px 10px; font-size: calc(11px * var(--ts)); font-weight: 700; color: var(--muted); }
.article-cta { display: flex; justify-content: space-between; align-items: end; gap: 22px; background: var(--ink); color: #fff; padding: 26px; margin-top: 34px; }
.article-cta h2 { color: #fff; margin-bottom: 5px; }
.article-cta p { color: #d9d4c5; margin: 0; font-size: calc(14px * var(--ts)); }
.article-cta .section-label { color: var(--yellow); }
.article-cta-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; }
.article-cta .button-outline { background: transparent; color: #fff; border-color: #5b574b; }

.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: start; }
.faq-list { display: grid; gap: 8px; }
.faq-item { background: var(--white); border: 1px solid var(--line); padding: 16px 18px; }
.faq-item summary { cursor: pointer; font-weight: 800; font-size: calc(16px * var(--ts)); }
.faq-item p { color: #4d493f; font-size: calc(15px * var(--ts)); margin: 12px 0 0; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 34px; }
.pagination a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-weight: 800; font-size: calc(13px * var(--ts)); }
.pagination a.active { background: var(--ink); color: var(--yellow); border-color: var(--ink); }

@media (max-width: 1080px) {
    .site-nav { gap: 15px; }
    .site-nav a { font-size: calc(11px * var(--ts)); }
    .header-phone { display: none; }
    .hero-copy { padding-right: 30px; }
    .inventory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-main > div:last-child { grid-column: 2 / 4; }
}
@media (max-width: 860px) {
    .shell { width: min(100% - 30px, 720px); }
    .utility-inner { padding: 8px 0; }
    .utility-detail span:first-child, .dot { display: none; }
    .utility-detail { margin-left: auto; }
    .header-inner { min-height: 76px; }
    .brand img { height: 52px; }
    .menu-toggle { display: block; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: var(--ink); border-top: 1px solid #36342d; padding: 12px 24px 20px; flex-direction: column; align-items: stretch; gap: 0;
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 13px 0; border-bottom: 1px solid #2c2a24; font-size: calc(14px * var(--ts)); }
    .site-nav a.active { border-color: var(--yellow); }
    .header-actions { margin-left: 0; }
    .header-actions .button { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { padding: 52px 0 42px; }
    .hero-media { min-height: 330px; }
    .hero-sticker { bottom: 18px; }
    .quick-inner { grid-template-columns: 1fr 1fr; padding: 18px 0; }
    .quick-inner .button { grid-column: 1/-1; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .trust-item:nth-child(2) { border-right: 0; }
    .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(0,0,0,.16); }
    .section { padding: 60px 0; }
    .section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
    .finance-inner { grid-template-columns: 1fr; padding: 54px 0; }
    .finance-band:before { width: 60%; right: -20%; opacity: .14; }
    .finance-action { text-align: left; }
    .visit-grid, .detail-grid, .finance-page-grid, .contact-grid { grid-template-columns: 1fr; }
    .visit-photo { min-height: 320px; }
    .page-hero .shell { grid-template-columns: 1fr; gap: 18px; }
    .showroom-layout { grid-template-columns: 1fr; }
    .filter-panel { position: static; }
    .detail-summary { position: static; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-main > div:last-child { grid-column: auto; }
    .newsletter { align-items: flex-start; flex-direction: column; }
    .footer-bottom { flex-direction: column; }
}
@media (max-width: 580px) {
    body { font-size: calc(17px * var(--ts)); }
    .preview-inner { font-size: calc(11px * var(--ts)); gap: 3px; }
    .preview-inner span { width: 100%; }
    .utility-slogan { font-size: calc(13px * var(--ts)); letter-spacing: .04em; }
    .utility-detail { font-size: calc(11px * var(--ts)); }
    .brand img { height: 44px; }
    .hero-copy { padding-top: 40px; }
    .hero h1 { font-size: clamp(3.2rem, 16vw, 5.2rem); }
    .hero-sub { font-size: calc(18px * var(--ts)); }
    .hero-actions .button { width: 100%; }
    .quick-inner { grid-template-columns: 1fr; }
    .quick-inner .button { grid-column: auto; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-item { border-right: 0; border-bottom: 1px solid rgba(0,0,0,.16); }
    .trust-item:last-child { border-bottom: 0; }
    .inventory-grid, .inventory-grid.two-col { grid-template-columns: 1fr; }
    .section-head h2 { font-size: 2.6rem; }
    .vehicle-price { font-size: calc(34px * var(--ts)); }
    .visit-meta { grid-template-columns: 1fr; gap: 14px; }
    .visit-card, .form-card, .contact-details, .detail-summary { padding: 22px; }
    .form-grid, .feature-list, .spec-grid { grid-template-columns: 1fr 1fr; }
    .form-grid .full { grid-column: 1/-1; }
    /* Finance fields go full width on phones: two 150px columns cut off
       "Prefer not to say" in the Credit picture select at every text size. */
    .finance-page-grid .form-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 24px; }
    .footer-main > div:last-child { grid-column: auto; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form .button { width: 100%; }
    .vehicle-detail { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media (max-width: 1080px) {
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-layout { grid-template-columns: 1fr; gap: 30px; }
    .article-aside { position: static; }
    .faq-layout { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 580px) {
    .blog-grid, .blog-grid-index { grid-template-columns: 1fr; }
    .blog-card h2, .blog-grid-index .blog-card h2 { font-size: calc(26px * var(--ts)); }
    .article-page { padding-top: 30px; }
    .article-header h1 { font-size: clamp(2.8rem, 13vw, 4.6rem); }
    .article-deck { font-size: calc(17px * var(--ts)); }
    .article-layout { padding-top: 28px; padding-bottom: 48px; }
    .article-body { font-size: calc(16px * var(--ts)); }
    .article-cta { align-items: flex-start; flex-direction: column; padding: 20px; }
    .article-cta-actions { width: 100%; }
    .article-cta-actions .button { width: 100%; }
    .promo-inner { align-items: flex-start; flex-direction: column; gap: 5px; }
    .category-chips { padding-top: 18px; }
    .faq-item { padding: 14px; }
}

/* Keep the dealership's yellow/black accents without large black surfaces. */
.utility-bar { background: #edf1f3; color: var(--ink); }
.utility-detail a, .dot { color: #725600; }
.site-header { background: #fff; color: var(--ink); border-top-color: var(--line); border-bottom: 1px solid var(--line); }
.site-nav a { color: #30373d; }
.site-nav a:hover, .site-nav a.active { color: #665000; }
.header-phone { color: var(--ink); }
.header-phone span { color: var(--muted); }
.menu-toggle { border-color: #89939a; }
.menu-toggle span:not(.sr-only) { background: var(--ink); }
.quick-search { background: #eaf0f3; color: var(--ink); border-bottom: 1px solid var(--line); }
.quick-field select { background: #fff; color: var(--ink); border-color: #aab5bc; }
.finance-band, .finance-aside, .article-cta { background: #eef2f4; color: var(--ink); }
.finance-band p, .finance-aside p, .article-cta p { color: #46525a; }
.finance-copy h2 { color: var(--ink); }
.finance-copy .eyebrow { color: #6b5300; }
.quick-field label { color: #46525a; }
.finance-aside { border: 1px solid var(--line); }
.article-cta .button-outline { color: var(--ink); border-color: #69757d; }
.site-footer { background: #eaf0f3; color: var(--ink); border-top: 1px solid var(--line); }
.site-footer p, .site-footer a { color: #394750; }
.site-footer a:hover { color: #705500; }
.newsletter-form input[type=email] { background: #fff; color: var(--ink); border-color: #aab5bc; }
.hero-grid { min-height: 560px; align-items: center; }
.hero-media { background: transparent; padding: 30px 0 30px 24px; min-height: 0; display: flex; align-items: center; }
.hero-media:has(.vehicle-slideshow):after { display: none; }
.vehicle-slideshow {
    position: relative; width: 100%; height: auto; min-height: 0;
    border: 9px solid #fff;
    border-radius: 20px;
    background: #101113;
    box-shadow: 0 0 0 2px var(--yellow), 0 26px 52px rgba(11, 11, 11, .18);
    overflow: hidden;
}
.hero-slide { display: flex; flex-direction: column; margin: 0; }
.hero-slide[hidden] { display: none; }
.hero-slide > a { display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: #101113; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; background: #101113; }
.hero-slide figcaption { position: static; background: #fff; color: var(--ink); padding: 11px 16px; padding-right: 280px; min-height: 64px; display: flex; flex-direction: column; justify-content: center; border-top: 3px solid var(--yellow); }
.hero-slide figcaption > span:first-child { font-size: calc(10.5px * var(--ts)); font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #74601d; }
.hero-slide figcaption strong { display: block; font-family: var(--display); font-size: calc(22px * var(--ts)); line-height: 1.1; margin: 3px 0; overflow-wrap: anywhere; }
.hero-slide figcaption span { display: block; font-size: calc(12.5px * var(--ts)); font-weight: 700; }
.slide-controls { position: absolute; right: 14px; bottom: 20px; left: auto; display: flex; align-items: center; justify-content: flex-end; gap: 6px; z-index: 3; }
.slide-controls > button { display: grid; place-items: center; width: 34px; height: 34px; background: #fff; color: var(--ink); border: 1px solid #c9d1d6; border-radius: 4px; font-size: calc(16px * var(--ts)); padding: 0; }
.slide-controls button:focus-visible { outline: 3px solid #896700; outline-offset: 3px; }
.slide-dots { display: flex; gap: 5px; padding: 4px; background: #fff; border-radius: 4px; }
.slide-dots button { width: 15px; height: 15px; border-radius: 50%; border: 2px solid #6f7c84; background: #fff; padding: 0; }
.slide-dots button[aria-pressed=true] { background: var(--yellow); border-color: #493b10; }
.hero-media > img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 9px solid #fff; border-radius: 20px; box-shadow: 0 0 0 2px var(--yellow), 0 26px 52px rgba(11, 11, 11, .18); }
/* Slideshow off: the uploaded hero photo is already the band behind this column,
   so the framed copy is dropped instead of showing the same photo twice. */
.hero-media:not(:has(.vehicle-slideshow)) {
    background: transparent; min-height: 0; padding: 0;
    align-self: stretch; display: flex; align-items: flex-end;
}
.hero-media:not(:has(.vehicle-slideshow)):after { display: none; }
.hero-media:not(:has(.vehicle-slideshow)) .hero-sticker { position: static; margin: 0 0 44px 24px; }

/* Charcoal hero band — homepage only. Medium charcoal with a faint automotive
   texture behind the headline and slideshow; body of the page is unchanged. */
.hero {
    background-color: #2b3035;
    /* Bottom layer is the photo uploaded under Website content -> Site images ->
       Homepage hero (--hero-photo, set inline by index.php). Until one is
       uploaded the charcoal texture stands in. Overlay keeps the text readable. */
    background-image:
        radial-gradient(75% 90% at 82% 20%, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 62%),
        linear-gradient(100deg, rgba(32, 36, 40, .92) 0%, rgba(36, 40, 45, .86) 46%, rgba(44, 49, 55, .74) 100%),
        var(--hero-photo, url("../img/hero-texture-charcoal.jpg"));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center, center, center 38%;
    border-bottom: 1px solid #24282c;
    color: #eef0f2;
}
.hero .eyebrow { color: #cfd5da; }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero h1 em { background: var(--yellow); color: var(--ink); text-shadow: none; }
.hero-sub { color: #cdd3d9; }
.hero-note { color: #aab3ba; }
.hero .button-outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero .button-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

.site-nav a:hover { color: #705500; border-color: var(--yellow); }
.site-nav a.active { color: var(--ink); border-color: var(--yellow); }
.finance-aside {
    background: #fff; color: var(--ink);
    border: 1px solid var(--line); border-top: 5px solid var(--yellow);
    border-radius: var(--radius); padding: 30px 28px 26px;
    box-shadow: var(--shadow);
}
.finance-aside .eyebrow { color: #6b5300; margin-bottom: 12px; }
.finance-aside h2 { color: var(--ink); font-size: calc(32px * var(--ts)); margin-bottom: 10px; }
.finance-aside > p { color: #46525a; font-size: calc(15.5px * var(--ts)); }
.finance-aside ul { list-style: none; padding: 0; margin: 20px 0 22px; counter-reset: finstep; }
.finance-aside li { position: relative; padding: 14px 0 14px 46px; border-top: 1px solid var(--line); color: #2f3a41; font-size: calc(15px * var(--ts)); line-height: 1.45; counter-increment: finstep; }
.finance-aside li:first-child { border-top: 0; }
.finance-aside li:before {
    content: counter(finstep); position: absolute; left: 0; top: 14px;
    width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--ink);
    display: grid; place-items: center; font-family: var(--display); font-size: calc(17px * var(--ts)); font-weight: 900;
}
.finance-aside .button { margin-top: 0; width: 100%; }
.finance-aside p.finance-callout {
    margin: 22px 0 0; background: var(--ink); color: #fff; padding: 13px 16px; border-radius: 8px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-size: calc(12px * var(--ts)); font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.finance-aside .finance-callout a { color: var(--yellow); font-family: var(--display); font-size: calc(24px * var(--ts)); letter-spacing: .02em; text-decoration: none; }
.finance-aside .finance-callout a:hover { color: #fff; }
.finance-aside p.footer-small { margin: 15px 0 0; color: #5b666e; font-size: calc(11.5px * var(--ts)); line-height: 1.55; }
.form-card { box-shadow: var(--shadow); }
@media (min-width: 901px) { .finance-aside { position: sticky; top: 112px; } }
@media (max-width: 900px) {
    .site-nav { background: #fff; border-color: var(--line); }
    .hero-media { padding: 8px 0 26px; }
    .hero-grid { min-height: 0; }
    .vehicle-slideshow { min-height: 0; max-width: 640px; margin: 0 auto; }
}
@media (max-width: 540px) {
    .vehicle-slideshow { border-width: 6px; border-radius: 14px; box-shadow: 0 0 0 2px var(--yellow), 0 16px 34px rgba(11, 11, 11, .18); }
    .hero-slide figcaption { padding: 9px 10px 48px; min-height: 0; border-top-width: 2px; }
    .hero-slide figcaption > span:first-child { font-size: calc(10px * var(--ts)); }
    .hero-slide figcaption strong { font-size: calc(19px * var(--ts)); }
    .hero-slide figcaption span { font-size: calc(11.5px * var(--ts)); }
    .slide-controls { left: 8px; right: 8px; gap: 5px; bottom: 7px; justify-content: center; }
    .slide-controls > button { width: 32px; height: 32px; font-size: calc(15px * var(--ts)); }
    .slide-dots { padding: 3px; gap: 4px; }
    .slide-dots button { width: 13px; height: 13px; }
}
