:root {
    --navy: #004b96;
    --navy-deep: #001d35;
    --navy-mid: #004b96;
    --paper: #ffffff;
    --paper-2: #e6e6e6;
    --white: #ffffff;
    --ink: #033870;
    --ink-soft: #4a6a8a;
    --line: #d9d4b8;
    --green: #01a131;
    --green-deep: #017526;
    --amber: #ffbe02;
    --amber-deep: #c49200;
    --red: #ff000d;
    --red-deep: #c4000a;
    --page-ink: #ffffff;
    --page-muted: rgba(255, 255, 255, 0.74);
    --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
    --font-body: "Source Sans 3", "Source Sans Pro", ui-sans-serif, system-ui, sans-serif;
    --font-card: "Exo 2", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.55;
}

img { max-width: 100%; display: block; }

a {
    color: var(--navy);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover { color: #dd0000; }

:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
}

.skip {
    position: absolute;
    left: -999px;
}

.skip:focus {
    left: 1rem;
    top: 1rem;
    z-index: 30;
    background: var(--red);
    color: #fff;
    padding: 0.45rem 0.8rem;
    text-decoration: none;
}

.topbar {
    background: var(--navy-deep);
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.topbar .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.55rem 1rem;
    align-items: center;
    padding-block: 0.5rem;
}

.topbar a {
    color: inherit;
    text-decoration: none;
}

.topbar a:hover { color: var(--amber); }

.topbar-place,
.topbar-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.topbar-icon {
    display: block;
    width: 0.9rem;
    height: 0.9rem;
    flex-shrink: 0;
}

.topbar-end {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-left: auto;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.topbar-social a {
    display: block;
    width: 1.1rem;
    height: 1.1rem;
    line-height: 0;
}

.topbar-social img {
    display: block;
    width: 100%;
    height: 100%;
}

.wrap {
    width: min(1360px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.site-header {
    background: var(--paper);
    border-bottom: 0;
}

.site-header .wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 1.85rem;
    padding-block: 1.05rem;
}

.brand {
    position: relative;
    align-self: center;
    width: clamp(119px, 11.9vw, 162px);
    aspect-ratio: 1198 / 550;
    min-width: 0;
    min-height: 0;
    text-decoration: none;
    color: var(--ink);
    line-height: 0;
}

.brand img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.header-tools {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem 1.1rem;
    min-width: 0;
}

.wordmark {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--ink);
    line-height: 1;
}

.wordmark small {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-body);
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--green);
}

.wordmark small::before {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    background: var(--amber);
    flex-shrink: 0;
}

.wordmark strong {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
    margin-top: 0.28rem;
}

.brand:has(.wordmark) {
    aspect-ratio: auto;
    height: auto;
}

.nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    width: max-content;
    max-width: 100%;
    margin: 0;
    margin-left: auto;
    padding: 0;
}

.nav a {
    text-decoration: none;
    color: var(--navy);
    font-size: 1.06rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
    color: var(--navy);
    font-weight: 700;
    box-shadow: none;
}

.nav-drop {
    position: relative;
}

.nav-drop-trigger::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.32rem;
    border: 0.22rem solid transparent;
    border-top-color: currentColor;
    translate: 0 0.12em;
}

.nav-drop-menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    z-index: 6;
    display: none;
    min-width: 11.5rem;
    padding: 0.35rem 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.2rem;
    box-shadow: 0 0.55rem 1.4rem rgb(0 0 0 / 0.14);
}

.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
    display: flex;
    flex-direction: column;
}

.nav-drop-menu a {
    padding: 0.45rem 0.85rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.25rem;
    padding: 0.4rem 1.65rem;
    border-radius: 0.2rem;
    border: 0;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
}

.btn-red {
    background: var(--red);
    color: #fff;
}

.btn-red:hover {
    background: var(--red-deep);
    color: #fff;
}

.btn-green {
    background: var(--green);
    color: #fff;
}

.btn-green:hover {
    background: var(--green-deep);
    color: #fff;
}

.btn-navy,
.btn.btn-header,
.lot-search .btn {
    display: inline-flex;
    flex-shrink: 0;
    background: var(--navy);
    color: #fff;
}

.btn-navy:hover,
.btn.btn-header:hover,
.lot-search .btn:hover {
    background: var(--navy);
    color: #fff;
    box-shadow: inset 0 0 0 999px rgb(255 255 255 / 0.12);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--ink);
}

.btn-ghost:hover {
    background: var(--ink);
    color: #fff;
    box-shadow: none;
}

main { padding-block: 2.25rem 4rem; }

main:has(.home-hero) {
    padding-top: 0;
}

main:has(.vdp-page) {
    padding-top: 0.55rem;
}

.crumb {
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
}

.crumb a {
    color: var(--ink);
    text-decoration: none;
}

.crumb a:hover { color: var(--amber); }

.kicker {
    margin: 0;
    color: var(--amber);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1 {
    margin: 0.35rem 0 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.lede {
    max-width: 38rem;
    color: var(--ink-soft);
    font-size: 1.12rem;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.1rem 0 0;
    padding: 0;
    list-style: none;
}

.chips li {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 3px solid var(--green);
    padding: 0.45rem 0.75rem;
    font-size: 0.92rem;
    color: var(--ink);
}

.chips li:first-child {
    border-left-color: var(--amber);
}

.chips li:last-child {
    border-left-color: var(--red);
}

.chips b {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 600;
}

.vdp-page {
    --vdp-navy: #003F7D;
    --vdp-gold: #DCA500;
    --vdp-charcoal: #172638;
    --vdp-mist: #F4F6F8;
    --vdp-line: #e4e8ee;
    --vdp-radius: 0.85rem;
    color: var(--vdp-charcoal);
    font-family: Manrope, var(--font-body);
}

.vdp-page h2 {
    font-family: "Cormorant Garamond", var(--font-display);
    color: var(--vdp-navy);
}

.vdp-page .crumb {
    margin-bottom: 0.4rem;
    color: #5b6b7c;
}

.vdp-page .crumb a {
    color: var(--vdp-navy);
}

.vdp-page .crumb a:hover {
    color: var(--vdp-gold);
}

.vdp-page .kicker {
    color: var(--vdp-gold);
}

.vdp-page .btn,
.vdp-page .vdp-tool {
    border-radius: 0.2rem;
}

.vdp-page .btn-navy {
    background: var(--vdp-navy);
}

.vdp-page .btn-ghost {
    color: var(--vdp-navy);
    box-shadow: inset 0 0 0 1px var(--vdp-navy);
}

.vdp-page .btn-ghost:hover {
    background: var(--vdp-navy);
    color: #fff;
}

.vdp-masthead {
    margin-bottom: 0.7rem;
}

.vdp-masthead-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-top: 0.25rem;
}

.vdp-masthead h1 {
    margin: 0;
    min-width: 0;
    color: var(--vdp-navy);
    font-family: var(--font-card);
    font-size: 48px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.2;
    overflow-wrap: break-word;
}

.vdp-masthead-meta {
    margin: 0.35rem 0 0;
    color: var(--ink-soft);
    font-family: var(--font-card);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: break-word;
}

.vdp {
    display: grid;
    gap: 1.75rem;
    margin-top: 0.15rem;
    align-items: start;
}

@media (min-width: 960px) {
    .vdp {
        grid-template-columns: minmax(0, 1.65fr) minmax(19rem, 0.9fr);
        align-items: stretch;
    }

    .vdp-info {
        display: flex;
        flex-direction: column;
        position: sticky;
        top: 1.1rem;
    }

    .vdp-buy {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        justify-content: space-between;
        gap: 0.85rem;
        min-height: 100%;
    }

    .vdp-buy .vdp-contact {
        margin-top: 0;
    }

    .vdp-media {
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }

    .vdp-media .lot-gallery {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
}

.vdp-media-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 0 0 0 auto;
}

.vdp-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    margin: 0;
}

.vdp-tool {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.3rem;
    padding: 0.3rem 0.95rem;
    border: 1px solid var(--vdp-line);
    border-radius: 0.2rem;
    background: var(--white);
    color: var(--vdp-navy);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
}

.vdp-tool svg {
    display: block;
    flex-shrink: 0;
}

.vdp-tool-heart {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
}

.vdp-tool:hover {
    border-color: var(--vdp-gold);
}

.vdp-tool[aria-pressed="true"] {
    border-color: var(--green);
    color: var(--green-deep);
}

.vdp-tool[aria-pressed="true"] .vdp-tool-heart {
    fill: currentColor;
}

.vdp-share-status {
    min-height: 0;
    margin: 0.35rem 0 0;
    color: #5b6b7c;
    font-size: 0.86rem;
    text-align: right;
}

.vdp-share-status:empty {
    display: none;
    margin: 0;
}

.vdp-buy {
    position: relative;
    padding: 1.15rem 1.25rem 1.1rem;
    border: 1px solid var(--vdp-line);
    border-radius: var(--vdp-radius);
    background: var(--white);
    box-shadow: 0 16px 40px rgb(23 38 56 / 0.08);
}

.vdp-buy::before {
    content: "";
    position: absolute;
    top: 1.15rem;
    left: 1.25rem;
    display: block;
    width: 2.6rem;
    height: 0.18rem;
    border-radius: 999px;
    background: var(--vdp-gold);
}

.vdp-buy-offer {
    padding-top: 0.55rem;
}

.vdp-buy-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.vdp-available {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.32rem;
    margin: 0 0 0 auto;
    padding: 0.22rem 0.56rem;
    border-radius: 0.2rem;
    background: var(--green);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.032em;
    text-transform: uppercase;
}

.vdp-price {
    margin: 0;
    color: var(--vdp-navy);
    font-family: var(--font-card);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
    overflow-wrap: break-word;
}

.vdp-miles {
    margin: 0.35rem 0 0;
    color: var(--ink-soft);
    font-family: var(--font-card);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: break-word;
}

@media (max-width: 640px) {
    .vdp-masthead h1 { font-size: 44px; }
    .vdp-price { font-size: 28px; }
}

.vdp-buy .vin {
    margin: 0.12rem 0 0;
    line-height: 1.3;
}

.vdp-stock {
    margin: 0.12rem 0 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.3;
}

.vdp-payment {
    margin-top: 0;
    padding: 0.7rem 0.85rem 0.75rem;
    border: 1px solid var(--vdp-line);
    border-radius: 0.65rem;
    background: var(--vdp-mist);
}

.vdp-payment-label {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--vdp-navy);
}

.vdp-payment-monthly {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin: 0.2rem 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 600;
    line-height: 1;
    color: var(--vdp-navy);
}

.vdp-payment-monthly span:last-child {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.vdp-payment-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.vdp-payment-fields label {
    display: grid;
    gap: 0.28rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.vdp-payment-fields input,
.vdp-payment-fields select {
    appearance: none;
    width: 100%;
    height: 2.4rem;
    min-height: 2.4rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--vdp-line);
    border-radius: 0.2rem;
    background-color: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.vdp-payment-fields input[type="number"] {
    -moz-appearance: textfield;
}

.vdp-payment-fields input[type="number"]::-webkit-inner-spin-button,
.vdp-payment-fields input[type="number"]::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.vdp-payment-fields select {
    padding-right: 2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23003F7D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1.5 1.5 6 6l4.5-4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 0.75rem;
}

.vdp-payment-note {
    margin: 0.45rem 0 0;
    font-size: 0.656rem;
    line-height: 1.4;
    color: var(--ink-soft);
}

.vdp-cta {
    display: grid;
    gap: 0.5rem;
    margin-top: 0;
}

.vdp-cta-primary {
    width: 100%;
}

.vdp-cta-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.vdp-cta-pair .btn {
    width: 100%;
    min-height: 2rem;
    padding: 0.28rem 0.5rem;
    font-size: 0.82rem;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .vdp-payment-fields {
        grid-template-columns: 1fr;
    }
}

.vdp-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem 0.7rem;
    margin-top: 0.5rem;
    font-size: 90%;
}

.vdp-contact-sep {
    width: 0.22rem;
    height: 0.22rem;
    border-radius: 50%;
    background: var(--vdp-navy);
    opacity: 0.45;
    flex-shrink: 0;
}

.vdp-contact a,
.vdp-contact button {
    appearance: none;
    padding: 0;
    border: 0;
    background: none;
    color: var(--vdp-navy);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.vdp-contact a:hover,
.vdp-contact button:hover {
    color: var(--vdp-gold);
}

.vdp-docs {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0;
}

.vdp-walkaround {
    position: relative;
    display: flex;
    flex: 0 0 10.24rem;
    align-items: center;
    justify-content: center;
    width: 10.24rem;
    height: 5.75rem;
    padding: 0 0 1.38rem;
    overflow: hidden;
    border: 1px solid var(--vdp-line);
    border-radius: 0.65rem;
    background: var(--vdp-ink, #172638);
    color: #fff;
    font: inherit;
    text-align: center;
}

button.vdp-walkaround {
    cursor: pointer;
}

button.vdp-walkaround:hover {
    border-color: var(--vdp-gold);
}

.vdp-walkaround-soon {
    cursor: default;
}

.vdp-walkaround-play {
    display: grid;
    place-items: center;
    width: 2.13rem;
    height: 2.13rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--vdp-navy, #003F7D) 82%, transparent);
    color: var(--vdp-gold, #DCA500);
}

.vdp-walkaround-play svg {
    display: block;
    margin-left: 0.12rem;
}

.vdp-walkaround > span:last-child {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 0.22rem 0.28rem;
    background: color-mix(in srgb, var(--vdp-navy, #003F7D) 82%, transparent);
    color: #fff;
    font-size: 0.667rem;
    line-height: 1.2;
    text-align: center;
}

.vdp-autocheck {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 8.63rem;
    height: 5.75rem;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--vdp-line);
    border-radius: 0.65rem;
    background: var(--white);
    text-decoration: none;
}

.vdp-autocheck:hover {
    border-color: var(--vdp-gold);
}

.vdp-autocheck img {
    display: block;
    width: 138px;
    height: 92px;
    object-fit: contain;
}

.vdp-docs .sticker-stamp {
    position: relative;
    flex: 0 0 5.92rem;
    width: 5.92rem;
    height: 5.75rem;
    min-height: 0;
    overflow: hidden;
    border-color: var(--vdp-line);
    border-radius: 0.65rem;
}

.vdp-docs .sticker-stamp img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.vdp-docs .sticker-stamp span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 0.22rem 0.28rem;
    background: color-mix(in srgb, var(--vdp-navy, #003F7D) 82%, transparent);
    color: #fff;
    font-size: 0.667rem;
    text-align: center;
}

.vdp-video-player {
    display: block;
    width: 100%;
    max-height: 28rem;
    background: var(--vdp-ink, #172638);
    border-radius: 0.65rem;
}

.vdp-section {
    margin-top: 2.4rem;
}

.vdp-section > h2,
.vdp-page .sticker-features > h2 {
    margin: 0 0 1.1rem;
    font-family: var(--font-card);
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    font-weight: 600;
    letter-spacing: normal;
    color: var(--vdp-navy);
}

.vdp-panel {
    padding: 1.35rem 1.4rem 1.5rem;
    border: 1px solid var(--vdp-line);
    border-radius: var(--vdp-radius);
    background: var(--white);
    box-shadow: 0 10px 28px rgb(23 38 56 / 0.05);
}

.vdp-panel p {
    margin: 0 0 1rem;
    max-width: 42rem;
    color: #5b6b7c;
}

.vdp-page .vdp-similar-grid {
    margin-top: 0.25rem;
}

.vdp-page .sticker-feature {
    border-color: var(--vdp-line);
    border-radius: 0.7rem;
    background: var(--white);
}

.vdp-page .sticker-installed {
    border-color: var(--vdp-navy);
    border-radius: 0.7rem;
    background: var(--white);
}

.vdp-page .sticker-stamp {
    border-radius: 0.65rem;
    overflow: hidden;
}

.vehicle-details {
    margin-top: 1.125rem;
    padding-top: 0;
}

.vehicle-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

@media (min-width: 700px) {
    .vehicle-details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .vehicle-details-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.vehicle-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.05rem 1rem 1.05rem 0;
    border-bottom: 1px solid var(--line);
}

@media (min-width: 700px) {
    .vehicle-detail:nth-child(2n) {
        padding-left: 1rem;
    }
}

@media (min-width: 980px) {
    .vehicle-detail:nth-child(2n) {
        padding-left: 0;
    }

    .vehicle-detail:nth-child(3n-1),
    .vehicle-detail:nth-child(3n) {
        padding-left: 1rem;
    }
}

.vehicle-detail-icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: transparent;
    overflow: hidden;
}

.vehicle-detail-glyph {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    object-fit: contain;
}

.vehicle-detail-copy {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.vehicle-detail-label {
    color: var(--ink-soft);
    font-size: 0.86rem;
    line-height: 1.3;
}

.vehicle-detail-value {
    color: var(--navy);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
}

.sticker-features {
    margin-top: 2.25rem;
    padding: 1.35rem 0 0.25rem;
    border-top: 1px solid var(--line);
}

.sticker-features > h2 {
    margin: 0 0 1.15rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 600;
    color: var(--navy);
}

.sticker-features-flow {
    column-count: 1;
    column-gap: 2.25rem;
}

@media (min-width: 760px) {
    .sticker-features-flow {
        column-count: 2;
    }
}

@media (min-width: 1100px) {
    .sticker-features-flow {
        column-count: 3;
    }
}

.sticker-feature {
    margin: 0 0 1.15rem;
    padding: 0;
    border: 0;
    break-inside: auto;
}

.sticker-feature-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
    break-after: avoid;
    break-inside: avoid;
}

.sticker-feature-icon {
    display: grid;
    place-items: center;
    width: 2.55rem;
    height: 2.55rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--navy) 8%, white);
    color: var(--navy);
}

.sticker-feature-head h3 {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
}

.sticker-feature ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sticker-feature li {
    position: relative;
    margin: 0.28rem 0;
    padding-left: 1.45rem;
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.35;
    break-inside: avoid;
}

.sticker-feature li::before {
    content: "";
    position: absolute;
    top: 0.28rem;
    left: 0;
    width: 0.85rem;
    height: 0.85rem;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2301a131' d='M6.4 11.4 2.9 7.9l1.1-1.1 2.4 2.4 5-5.1 1.1 1.1z'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

.sticker-features-empty {
    margin: 0;
    color: var(--ink-soft);
}

.sticker-installed {
    margin: 0 0 1.75rem;
    background: #fff;
    border: 2px solid var(--vdp-navy);
    box-shadow: inset 0 0 0 3px var(--green);
}

.sticker-installed-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.15rem 0.9rem;
    background: var(--vdp-navy);
    color: #fff;
}

.sticker-installed-head .sticker-feature-icon {
    background: color-mix(in srgb, var(--green) 22%, var(--vdp-navy));
    color: var(--green);
}

.sticker-installed-kicker {
    margin: 0;
    font-family: var(--font-card);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
}

.sticker-installed-head h3 {
    margin: 0.12rem 0 0;
    font-family: var(--font-card);
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
}

.sticker-installed ul {
    margin: 0;
    padding: 1rem 1.15rem 1.15rem;
    list-style: none;
    column-count: 1;
    column-gap: 2rem;
}

@media (min-width: 760px) {
    .sticker-installed ul {
        column-count: 2;
    }
}

.sticker-installed li {
    position: relative;
    margin: 0.32rem 0;
    padding-left: 1.45rem;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.35;
    break-inside: avoid;
}

.sticker-installed li::before {
    content: "";
    position: absolute;
    top: 0.28rem;
    left: 0;
    width: 0.85rem;
    height: 0.85rem;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2301a131' d='M6.4 11.4 2.9 7.9l1.1-1.1 2.4 2.4 5-5.1 1.1 1.1z'/%3E%3C/svg%3E")
        center / contain no-repeat;
}

.panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--navy);
    border-radius: 0 0 2px 2px;
    padding: 1.4rem 1.5rem 1.6rem;
    color: var(--ink);
}

.panel a {
    color: var(--green-deep);
}

.panel a:hover { color: var(--red); }

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.panel-head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}

.vin {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
    font-size: 0.82rem;
    color: var(--ink-soft);
}

.panel .vin,
.card .vin {
    color: var(--ink-soft);
}

.copy {
    font-size: 0.98rem;
    line-height: 1.45;
}

.copy h2 {
    margin: 1.45rem 0 0;
    color: var(--green-deep);
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.copy h2:first-child { margin-top: 0.2rem; }

.copy ul {
    margin: 0.45rem 0 0;
    padding-left: 1.05rem;
}

.copy li {
    margin: 0.22rem 0;
    color: var(--ink);
}

.lot-gallery {
    margin-bottom: 0;
}

.lot-gallery-stage {
    position: relative;
    overflow: hidden;
    line-height: 0;
    background: var(--vdp-mist, #F4F6F8);
    border: 1px solid var(--vdp-line, var(--line));
    border-radius: var(--vdp-radius, 0.85rem);
}

.lot-gallery-open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
    text-align: left;
    font: inherit;
    color: inherit;
}

.lot-gallery-hero-btn {
    position: relative;
    display: block;
    width: 100%;
    line-height: 0;
}

.lot-gallery-hero {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    touch-action: pan-y;
    user-select: none;
}

.lot-gallery-count {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    margin: 0;
    padding: 0.32rem 0.65rem;
    border: 1px solid color-mix(in srgb, var(--vdp-gold, #DCA500) 55%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--vdp-navy, #003F7D) 86%, transparent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    pointer-events: none;
}

.lot-gallery-nav {
    appearance: none;
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 0.18);
    border-radius: 999px;
    background: color-mix(in srgb, var(--vdp-navy, #003F7D) 78%, transparent);
    color: #fff;
    line-height: 0;
    transform: translateY(-50%);
    cursor: pointer;
}

.lot-gallery-nav svg {
    display: block;
}

.lot-gallery-prev { left: 0.65rem; }
.lot-gallery-next { right: 0.65rem; }

.lot-gallery-fullscreen {
    appearance: none;
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 2;
    display: grid;
    place-items: center;
    min-width: 2.15rem;
    min-height: 2.15rem;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 0.18);
    border-radius: 999px;
    background: color-mix(in srgb, var(--vdp-navy, #003F7D) 82%, transparent);
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.lot-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.lot-gallery-thumb {
    appearance: none;
    flex: 0 0 5.6rem;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 0.45rem;
    background: var(--vdp-mist, #F4F6F8);
    cursor: pointer;
    scroll-snap-align: start;
}

.lot-gallery-thumb img {
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: cover;
}

.lot-gallery-thumb.is-active {
    border-color: var(--vdp-gold, #DCA500);
}

.vehicle-details-spec .vehicle-details-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    border-top: 0;
    scrollbar-width: thin;
}

.vehicle-details-spec .vehicle-detail,
.vehicle-details-spec .vehicle-detail:nth-child(n) {
    position: relative;
    flex: 1 1 6.25rem;
    min-width: 6.25rem;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border: 0;
    background: transparent;
    text-align: center;
}

.vehicle-details-spec .vehicle-detail + .vehicle-detail::before {
    content: "";
    position: absolute;
    top: 12%;
    bottom: 12%;
    left: 0;
    width: 1px;
    background: var(--vdp-navy, #003F7D);
}

.vehicle-details-spec .vehicle-detail-copy {
    justify-items: center;
    text-align: center;
}

.vehicle-details-spec .vehicle-detail-value {
    font-size: 0.816rem;
}

.lot-gallery-nav:hover,
.lot-gallery-fullscreen:hover {
    background: color-mix(in srgb, var(--vdp-navy, #003F7D) 94%, transparent);
    border-color: var(--vdp-gold, #DCA500);
}

.sticker-stamp {
    display: grid;
    width: 7.5rem;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--white);
    cursor: zoom-in;
    text-align: left;
    font: inherit;
    color: inherit;
}

.sticker-stamp img {
    width: 100%;
    height: 9.5rem;
    object-fit: cover;
    object-position: top center;
    background: #fff;
}

.sticker-stamp span {
    display: block;
    padding: 0.28rem 0.3rem 0.38rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.25;
    color: var(--ink-soft);
}

.sticker-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.9rem;
}

.hero {
    padding-bottom: 0.5rem;
}

.home-hero {
    position: relative;
    isolation: isolate;
    z-index: 2;
    display: grid;
    width: 100%;
    height: 35.25rem;
    min-height: 35.25rem;
    color: #fff;
    overflow: visible;
}

.home-hero picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: color-mix(in srgb, var(--navy-deep) 40%, transparent);
    pointer-events: none;
}

.home-hero-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.home-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: 1fr 1fr;
    align-items: stretch;
    height: 100%;
    min-height: 100%;
    padding-block: 0;
}

.home-hero-lower {
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.35rem;
    min-height: 100%;
}

.home-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    width: min(40rem, 100%);
    background: none;
    padding: 0;
    text-shadow: 0 1px 2px rgb(0 0 0 / 0.35);
    transform: translateY(calc(35.25rem * -0.15));
}

.home-hero-copy-text {
    max-width: none;
    min-width: 0;
}

.home-hero-copy .kicker,
.home-hero-copy h1,
.home-hero-copy .lede {
    color: #fff;
}

.home-hero-copy h1 {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
}

.home-hero-copy .lede {
    margin: 0.65rem 0 0;
}

.home-hero-copy .sticker-actions {
    flex-wrap: wrap;
    margin-top: 0;
}

.home-hero .btn {
    text-shadow: none;
}

.home-hero .btn-ghost {
    color: #fff;
    box-shadow: inset 0 0 0 1px #fff;
}

.home-hero .btn-ghost:hover {
    background: #fff;
    color: var(--navy-deep);
    box-shadow: none;
}

.home-hero-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
    margin-top: 0;
}

.home-promises {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #fff;
    text-shadow: 0 1px 2px rgb(0 0 0 / 0.35);
    transform: translateY(calc(35.25rem * -0.15 + 2.7rem));
}

.home-promises li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    gap: 0.75rem;
    min-width: 0;
}

.home-promise-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
}

.home-promise-icon svg,
.home-promise-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-promise-copy {
    min-width: 0;
}

.home-promise-copy strong {
    display: block;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.2;
}

.home-promise-copy span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.88rem;
    line-height: 1.25;
    color: rgb(255 255 255 / 0.88);
}

.lot-finder {
    width: 100%;
    margin: 0;
    padding: 0.95rem 1.15rem 1.05rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    color: var(--ink);
    text-shadow: none;
}

.lot-finder--float {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 1rem;
    margin-bottom: 0;
    padding: 0.7rem 0.9rem;
    border: 0;
    transform: translateY(50%);
    box-shadow:
        0 0.25rem 0.7rem rgb(0 0 0 / 0.16),
        0 1.35rem 2.6rem rgb(0 0 0 / 0.32);
}

.lot-finder-title {
    margin: 0 0 0.7rem;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.lot-finder--float .lot-finder-title {
    margin: 0;
    white-space: nowrap;
}

.lot-finder--float .lot-finder-all {
    display: none;
}

.lot-finder-fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 0.65rem;
    align-items: center;
}

.lot-finder select {
    width: 100%;
    min-height: 2.25rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 0.2rem;
    background: var(--white);
    color: var(--ink);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
}

.lot-finder .btn {
    min-width: 11rem;
    padding-inline: 1.85rem;
    white-space: nowrap;
}

.lot-finder-all {
    margin: 0.55rem 0 0;
    text-align: right;
    font-size: 0.9rem;
}

.lot-finder-all a {
    color: var(--navy);
    text-decoration: none;
}

.lot-finder-all a:hover {
    text-decoration: underline;
}

.lot-finder [data-lot-finder-models] {
    display: none;
}

.lot-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.75rem;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.lot-carousel {
    position: relative;
    margin-top: 1.75rem;
}

.lot-carousel-track {
    display: flex;
    gap: 1.15rem;
    overflow-x: auto;
    padding-block: 0.15rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.lot-carousel-track::-webkit-scrollbar {
    display: none;
}

.lot-carousel-track .card {
    flex: 0 0 calc((100% - 4.6rem) / 5);
    min-width: 0;
    scroll-snap-align: start;
}

.lot-carousel-nav {
    appearance: none;
    position: absolute;
    top: 38%;
    z-index: 2;
    display: grid;
    place-items: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--navy-deep) 82%, transparent);
    color: #fff;
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 1.85rem;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.lot-carousel-prev { left: -0.35rem; }
.lot-carousel-next { right: -0.35rem; }

.lot-carousel-nav:hover {
    background: color-mix(in srgb, var(--navy-deep) 95%, transparent);
}

.lot-carousel-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

@media (max-width: 1199px) {
    .lot-carousel-track .card {
        flex-basis: calc((100% - 3.45rem) / 4);
    }
}

@media (max-width: 880px) {
    .lot-carousel-track .card {
        flex-basis: calc((100% - 1.15rem) / 2);
    }
}

@media (max-width: 640px) {
    .lot-carousel-track .card {
        flex-basis: 88%;
    }

    .lot-carousel-prev { left: 0.35rem; }
    .lot-carousel-next { right: 0.35rem; }
}

.card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--navy);
    text-decoration: none;
    color: var(--ink);
    min-height: 100%;
}

.card:hover {
    border-top-color: var(--amber);
    color: var(--ink);
}

.card-photo {
    display: block;
    aspect-ratio: 4 / 5;
    background: var(--paper);
    padding: 0.7rem 0.7rem 0;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.card-photo-lot {
    aspect-ratio: 3 / 2;
    padding: 0;
}

.card-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    background: #fff;
    border: 1px solid var(--line);
}

.card-photo-lot img {
    object-fit: cover;
    object-position: center;
    border: 0;
    background: var(--paper-2);
}

.card-photo-empty {
    height: 100%;
    display: grid;
    place-items: center;
    border: 1px dashed var(--line);
    color: var(--ink-soft);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0.85rem 1.05rem 1.15rem;
}

.card .card-year,
.card .card-name,
.card .card-specs,
.card .card-price {
    font-family: var(--font-card);
    overflow-wrap: break-word;
}

.card .card-year {
    margin: 0;
    color: var(--ink-soft);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
}

.card .card-name {
    margin: 0.2rem 0 0;
    color: var(--ink);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: normal;
}

.card .card-specs {
    margin: 0.35rem 0 0;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

.card .card-price {
    margin: 0.95rem 0 0;
    color: var(--ink);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.85rem;
}

@media (max-width: 640px) {
    .card .card-name { font-size: 22px; }
    .card .card-price { font-size: 28px; }
}

.card-footer .btn {
    min-width: 6.5rem;
    padding-inline: 1.15rem;
}

.card-details-arrow {
    font-weight: 500;
    line-height: 1;
}

.site-footer {
    background: var(--navy-deep);
    padding-block: 1.45rem 1.7rem;
    color: var(--page-muted);
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    gap: 1rem 1.5rem;
    grid-template-columns: 1.2fr 1.8fr 0.9fr;
    align-items: start;
}

.site-footer strong { color: var(--page-ink); }

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.footer-brand img {
    height: 2.75rem;
    width: auto;
    max-width: 12.5rem;
    object-fit: contain;
    object-position: left center;
}

.footer-brand p { margin: 0; }

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1rem;
    row-gap: 0.3rem;
}

.footer-nav a {
    color: var(--page-ink);
    text-decoration: none;
    font-weight: 500;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
    color: var(--page-ink);
    font-weight: 700;
    box-shadow: none;
}

.footer-contact p { margin: 0; }

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding-top: 0.55rem;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
}

.footer-social a {
    display: block;
    width: 2.35rem;
    height: 2.35rem;
    line-height: 0;
    opacity: 0.9;
    transition: opacity 0.15s ease;
}

.footer-social a:hover { opacity: 1; }

.footer-social img {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.2rem 2.6rem;
    margin: 0;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}

.footer-meta a {
    color: inherit;
    text-decoration: none;
}

.footer-meta a:hover {
    color: var(--page-ink);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lot-search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-top: 1.1rem;
}

.lot-search input[type="search"] {
    flex: 1 1 16rem;
    min-width: 0;
    font: inherit;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
}

.brand-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
}

.home-block { margin-top: 2.75rem; }

.home-block--lot { margin-top: 2.85rem; }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-head h2 {
    margin: 0.2rem 0 0;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
}

.section-head a {
    color: var(--ink);
    text-decoration: none;
}

.section-head a:hover { color: var(--amber); }

.split {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 800px) {
    .split { grid-template-columns: 1fr 1fr; }
}

.home-visit {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .home-visit {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.45fr);
        align-items: start;
    }
}

.hours-schedules {
    display: grid;
    gap: 1.4rem 1.75rem;
}

@media (min-width: 640px) {
    .hours-schedules {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.hours {
    width: 100%;
    border-collapse: collapse;
}

.hours th {
    text-align: left;
    font-weight: 600;
    padding: 0.35rem 0.7rem 0.35rem 0;
}

.hours td { padding: 0.35rem 0; }

.hours-panel {
    background: var(--navy);
    color: var(--page-ink);
    padding: 1.45rem 1.55rem 1.6rem;
}

.hours-panel .kicker {
    color: var(--green);
    font-family: var(--font-card);
}

.hours-panel h2 {
    margin: 0.2rem 0 0.85rem;
    font-family: var(--font-card);
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: normal;
    color: var(--page-ink);
}

.hours-panel .hours th,
.hours-panel .hours td {
    color: var(--page-ink);
}

.hours-panel .vin {
    margin: 0.85rem 0 0;
    color: var(--page-muted);
}

.hours-panel a {
    color: #fff;
}

.hours-panel a:hover {
    color: var(--green);
}

.hours-panel .hours-book {
    margin: 1rem 0 0;
}

.hours-panel .hours-book a {
    display: inline-flex;
    font-weight: 600;
}

.page-copy { max-width: 42rem; }

.page-copy p { margin: 0.9rem 0; }

.page-copy h2 {
    margin: 1.6rem 0 0.4rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    text-transform: none;
}

.page-copy ul { padding-left: 1.15rem; }

.blog-index {
    display: grid;
    gap: 1.75rem;
    max-width: 42rem;
    margin-top: 0.5rem;
}

.blog-teaser {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.blog-teaser h2 {
    margin: 0.2rem 0 0.55rem;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    font-weight: 600;
    color: var(--navy);
}

.blog-teaser h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-teaser h2 a:hover {
    color: var(--amber-deep, var(--amber));
}

.blog-teaser p {
    margin: 0.45rem 0;
    color: var(--ink-soft);
}

.blog-article {
    max-width: 48rem;
}

.blog-body > h2 {
    margin: 1.6rem 0 0.55rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
}

.blog-body > h3 {
    margin: 1.15rem 0 0.35rem;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    text-align: left;
}

.blog-body p {
    margin: 0.9rem 0;
}

.blog-body ul {
    margin: 0.75rem 0 1.1rem;
    padding-left: 1.15rem;
}

.blog-body li {
    margin: 0.2rem 0;
}

@media (min-width: 800px) {
    .blog-body ul {
        columns: 2;
        column-gap: 2rem;
    }

    .blog-body ul ul {
        columns: 1;
    }
}

.blog-hubs,
.blog-brand-block {
    margin-top: 2.25rem;
    max-width: 48rem;
}

.blog-hubs h2,
.blog-brand-head h2,
.blog-brand-block > h2 {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--navy);
}

.blog-brand-head {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.blog-brand-block .blog-index {
    margin-top: 0.5rem;
}

.blog-teaser h3 {
    margin: 0.2rem 0 0.55rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
}

.blog-teaser h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-teaser h3 a:hover {
    color: var(--amber);
}

.blog-related-list {
    margin: 0.5rem 0 0;
    padding-left: 1.15rem;
}

.blog-related-list li {
    margin: 0.35rem 0;
}

.blog-related {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    max-width: 44rem;
}

.blog-related h2 {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--navy);
}

.text-link {
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.team-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
    justify-content: center;
    justify-items: center;
}

.team-grid .team-home-person {
    color: var(--ink);
}

.team-grid .team-home-person:hover,
.team-grid .team-home-person:focus-visible {
    color: var(--navy-deep);
}

.team-grid .team-home-photo {
    border-color: color-mix(in srgb, var(--navy-deep) 35%, transparent);
}

.team-grid .team-home-name {
    display: none;
}

.team-grid .team-home-name-text {
    display: block;
    color: inherit;
}

.team-grid .team-home-role {
    margin-top: 0.2rem;
    color: var(--ink-soft);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.review-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.award-year {
    margin-top: 2.25rem;
}

.award-year h2 {
    margin: 0 0 0.9rem;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
}

.award-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

@media (min-width: 700px) {
    .award-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

.award-card {
    margin: 0;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 0.7rem;
}

.award-card img {
    display: block;
    width: 100%;
    height: auto;
}

.review {
    margin: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 3px solid var(--navy);
    padding: 1.1rem 1.15rem 1.2rem;
    color: var(--ink);
}

.review p { margin: 0; }

.review footer {
    margin-top: 0.75rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.google-reviews-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin: 0 0 1.25rem;
}

.google-reviews-score {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem 0.85rem;
}

.google-reviews-score-value {
    margin: 0;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
}

.google-reviews-score-count {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.google-reviews-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

.google-reviews-attr {
    margin: 0;
    color: #5e5e5e;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: normal;
    white-space: nowrap;
}

.google-reviews-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.google-review-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.google-review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.google-review-photo,
.google-review-photo-link {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.google-review-photo {
    border-radius: 50%;
    object-fit: cover;
    background: var(--paper-2);
}

.google-review-author-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.google-review-name {
    font-style: normal;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
}

a.google-review-name:hover {
    color: var(--navy);
}

.google-review-time,
.google-review-source {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.google-review-source a {
    color: var(--ink-soft);
    text-decoration: none;
}

.google-review-source a:hover {
    color: var(--navy);
}

.google-reviews-note {
    margin: 1rem 0 0;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.google-review-stars {
    position: relative;
    display: inline-block;
    color: var(--line);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    line-height: 1;
}

.google-review-stars-base,
.google-review-stars-fill {
    display: block;
}

.google-review-stars-fill {
    position: absolute;
    inset: 0 auto 0 0;
    overflow: hidden;
    color: var(--amber);
    white-space: nowrap;
}

@media (min-width: 700px) {
    .google-reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .google-reviews-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .google-review-card {
        grid-column: span 2;
    }

    .google-reviews-grid[data-count="4"] .google-review-card:nth-child(4) {
        grid-column: 3 / span 2;
    }

    .google-reviews-grid[data-count="5"] .google-review-card:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .google-reviews-grid[data-count="5"] .google-review-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

.referral {
    margin-top: 2.75rem;
}

.referral h2 {
    margin: 0.35rem 0 0.6rem;
    font-family: var(--font-display);
}

.photo-viewer {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #000;
    color: #fff;
}

.photo-viewer[open] {
    display: grid;
    place-items: center;
}

.photo-viewer::backdrop {
    background: #000;
}

.photo-viewer-count {
    position: absolute;
    top: 1.1rem;
    left: 4.25rem;
    z-index: 3;
    margin: 0;
    color: #DCA500;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.photo-viewer-close,
.photo-viewer-nav {
    appearance: none;
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.1;
    cursor: pointer;
}

.photo-viewer-close {
    top: 0.65rem;
    right: 0.75rem;
}

.photo-viewer-nav {
    top: 50%;
    transform: translateY(-50%);
}

.photo-viewer-prev { left: 0.75rem; }
.photo-viewer-next { right: 0.75rem; }

.photo-viewer-close:hover,
.photo-viewer-nav:hover {
    color: #d1d5db;
}

.photo-viewer-image {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    touch-action: pan-y;
    user-select: none;
}

.walkaround-viewer-video {
    display: block;
    width: min(92vw, 56rem);
    max-height: 86dvh;
    background: #000;
}

@media (max-width: 880px) {
    .site-header .wrap {
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 0.45rem 1rem;
        padding-block: 0.95rem;
    }

    .header-tools {
        grid-column: 1 / -1;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .brand {
        aspect-ratio: auto;
        width: fit-content;
        height: auto;
        position: relative;
        justify-self: start;
    }

    .brand img {
        position: static;
        width: auto;
        height: 2.55rem;
        max-width: min(14rem, 100%);
    }

    .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.35rem 0.85rem;
        width: auto;
        max-width: 100%;
        padding-top: 0.35rem;
    }

    .topbar .wrap { padding-block: 0.4rem; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .footer-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-social {
        gap: 1.5rem;
    }

    .home-hero {
        display: block;
        height: auto;
        min-height: 0;
    }

    .home-hero picture,
    .home-hero::after {
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;
        height: 39rem;
    }

    .home-hero-inner,
    .home-hero-lower {
        display: block;
        height: auto;
        min-height: 0;
    }

    .home-hero-copy {
        position: absolute;
        top: calc(19.5rem - (39rem * 0.15));
        left: max(1.25rem, calc((100% - 1360px) / 2));
        z-index: 2;
        width: min(40rem, calc(100% - 2.5rem));
        transform: none;
    }

    .home-promises {
        transform: translateY(calc(39rem * -0.15));
    }

    .home-hero-bottom {
        padding-top: 42rem;
    }

    .home-promises {
        flex-direction: column;
        justify-content: center;
        gap: 0.7rem;
    }

    .lot-finder--float {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        grid-template-columns: 1fr;
        row-gap: 0.55rem;
        padding: 0.85rem 0.95rem;
        transform: none;
    }

    .lot-finder-fields {
        grid-template-columns: 1fr;
    }

    .lot-finder-all {
        text-align: left;
    }
}

@media (max-width: 1100px) and (min-width: 881px) {
    .home-promises {
        transform: translateY(calc(35.25rem * -0.15 - 1.2rem));
    }

    .home-block--lot {
        margin-top: 9rem;
    }

    .lot-finder--float {
        grid-template-columns: 1fr;
        row-gap: 0.55rem;
    }

    .lot-finder-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lot-finder-fields .btn {
        grid-column: 1 / -1;
    }
}

body.team-home-page,
body.vcard-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    color: var(--ink);
}

body.team-home-page {
    background-color: var(--paper);
}

body.vcard-page {
    background-color: var(--paper);
}

body.team-home-page main,
body.vcard-page main {
    flex: 1;
    display: flex;
    flex-direction: column;
    color: #fff;
    background-color: var(--navy-deep);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

body.team-home-page main {
    background-image:
        linear-gradient(color-mix(in srgb, var(--navy-deep) 78%, transparent), color-mix(in srgb, var(--navy-deep) 88%, transparent)),
        url("/team/michcards/bg-image-home.png");
}

body.vcard-page main {
    background-image:
        linear-gradient(color-mix(in srgb, var(--navy-deep) 62%, transparent), color-mix(in srgb, var(--navy-deep) 82%, transparent)),
        url("/team/michcards/bg.png");
}

body.team-home-page main a,
body.vcard-page main a {
    color: #fff;
    text-decoration: none;
}

body.team-home-page main a:hover,
body.team-home-page main a:focus-visible,
body.vcard-page main a:hover,
body.vcard-page main a:focus-visible,
body.vcard-page main button:hover,
body.vcard-page main button:focus-visible {
    color: #d1d5db;
}

.team-home-shell {
    flex: 1;
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.team-home-logo {
    display: flex;
    justify-content: center;
    padding-bottom: 4rem;
}

.team-home-logo img {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.team-home-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
    justify-items: center;
}

@media (min-width: 1024px) {
    .team-home-grid {
        grid-template-columns: repeat(2, minmax(0, 220px));
        justify-content: center;
        gap: 4rem;
    }
}

.team-home-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
    color: #fff;
    text-decoration: none;
}

.team-home-person:hover,
.team-home-person:focus-visible {
    color: #d1d5db;
}

.team-home-photo {
    width: 200px;
    height: 200px;
    max-width: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.team-home-name {
    margin-top: 1rem;
    height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: scale-down;
}

.team-home-name-text {
    margin-top: 1rem;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    text-align: center;
}

.vcard-shell {
    flex: 1;
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    padding: 0 0 1.5rem;
}

.vcard-back {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    color: #fff;
    font-size: 2.25rem;
    line-height: 1;
    text-decoration: none;
}

.vcard-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vcard-logo {
    max-width: 230px;
    width: 70%;
    height: auto;
    margin: 15px auto 0;
}

.vcard-wordmark {
    display: block;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    text-align: center;
}

.vcard-tagline {
    width: 90%;
    max-width: 320px;
}

.vcard-portrait {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.1rem;
    gap: 1rem;
}

.vcard-portrait .team-home-name {
    margin-top: 0;
}

.vcard-portrait .vcard-qr {
    width: 8.5rem;
}

.vcard-qr {
    width: 10rem;
}

.vcard-qr img {
    width: 100%;
    height: auto;
    display: block;
}

.vcard-signature {
    width: 7rem;
    height: auto;
}

.vcard-name {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    text-align: center;
}

.vcard-photo {
    flex: 1;
    align-self: flex-end;
    min-height: 270px;
    margin-left: 0.25rem;
    margin-right: 1.25rem;
}

.vcard-photo img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    object-position: top center;
}

.vcard-rule img {
    width: 100%;
    height: auto;
}

.vcard-actions {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0.25rem;
    margin-top: 0.5rem;
}

.vcard-action {
    width: 33.333%;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
}

.vcard-action-icon {
    width: 4rem;
    height: 4rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vcard-action-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vcard-action-icon--call img {
    width: 50%;
    height: 50%;
}

.vcard-action-label {
    margin-top: 0.5rem;
    color: inherit;
    text-transform: uppercase;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 300;
    font-size: clamp(0.9rem, 2vw, 1.3rem);
    line-height: 1.25;
    text-align: center;
}

.vcard-share-status {
    min-height: 1.25rem;
    margin: 0.15rem 0 0;
    color: #d1d5db;
    font-size: 0.92rem;
    text-align: center;
}

.vcard-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1rem 0 1.5rem;
}

.vcard-social a {
    width: 2.5rem;
    height: 2.5rem;
}

.vcard-social img {
    width: 100%;
    height: 100%;
}

.credit-app {
    margin: 2.5rem 0 1rem;
    scroll-margin-top: 1.25rem;
}

.credit-app > h2,
.credit-app-success h2 {
    margin: 0 0 0.4rem;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.credit-app h3 {
    margin: 1.75rem 0 0.7rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
}

.credit-app-lede,
.credit-app-success p {
    max-width: 42rem;
    margin: 0 0 1.25rem;
}

.credit-app-errors {
    margin: 0 0 1.25rem;
    padding: 0.75rem 1rem;
    border: 1px solid #c4000a;
    background: #fff;
    color: #c4000a;
}

.credit-app-success {
    scroll-margin-top: 1.25rem;
    padding: 1.25rem 0 2rem;
}

.credit-app-progress-wrap {
    margin: 0 0 1.5rem;
}

.credit-app-progress-wrap p {
    margin: 0 0 0.4rem;
    font-size: 0.92rem;
}

.credit-app-progress {
    height: 0.55rem;
    overflow: hidden;
    background: var(--paper-2);
    border-radius: 999px;
}

.credit-app-progress span {
    display: block;
    width: 0%;
    height: 100%;
    background: var(--navy);
}

.credit-app-grid {
    display: grid;
    gap: 0.85rem 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.credit-app-field {
    min-width: 0;
}

.credit-app-field-span-2 { grid-column: span 2; }
.credit-app-field-span-3 { grid-column: span 3; }
.credit-app-field-span-4 { grid-column: 1 / -1; }

.credit-app-field label,
.credit-app-field legend,
.credit-app-check {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.credit-app-field abbr {
    color: #c4000a;
    text-decoration: none;
}

.credit-app-field input,
.credit-app-field select,
.credit-app-field textarea {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 0.25rem;
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

.credit-app-field textarea {
    resize: vertical;
    min-height: 6rem;
}

.credit-app-field input.credit-app-invalid,
.credit-app-field select.credit-app-invalid,
.credit-app-field textarea.credit-app-invalid {
    border-color: #c4000a;
}

.credit-app-error {
    margin: 0.3rem 0 0;
    color: #c4000a;
    font-size: 0.85rem;
}

.credit-app-radios legend {
    margin-bottom: 0.4rem;
}

.credit-app-radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.1rem;
    align-items: center;
}

.credit-app-radio-row label {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    margin: 0;
    font-weight: 400;
}

.credit-app-radio-row input {
    width: auto;
}

.credit-app-legal {
    margin: 0 0 1.25rem;
}

.credit-app-legal > h4 {
    margin: 1.25rem 0 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.credit-app-legal > h4:first-child {
    margin-top: 0;
}

.legal-copy {
    max-width: 52rem;
}

.legal-copy h3,
.legal-scroll h3 {
    margin: 1.4rem 0 0.4rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    text-transform: none;
}

.legal-copy h4,
.legal-scroll h4 {
    margin: 1rem 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
}

.legal-copy p,
.legal-scroll p,
.legal-copy ul,
.legal-scroll ul {
    margin: 0.7rem 0;
}

.legal-copy ul,
.legal-scroll ul {
    padding-left: 1.15rem;
}

.legal-scroll {
    max-height: 22rem;
    overflow: auto;
    margin: 0.45rem 0 1.1rem;
    padding: 0.9rem 1.05rem;
    border: 1px solid var(--line);
    background: var(--white);
}

.legal-table-wrap {
    overflow-x: auto;
    margin: 1rem 0;
}

.legal-table {
    width: 100%;
    min-width: 36rem;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
    border: 1px solid var(--line);
    padding: 0.55rem 0.65rem;
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    background: var(--paper-2);
    font-weight: 700;
}

.legal-table thead th {
    white-space: nowrap;
}

.credit-app-check {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin: 0.9rem 0;
    font-weight: 400;
}

.credit-app-legal .credit-app-check:first-of-type {
    margin-top: 1.1rem;
}

.legal-scroll-app {
    max-height: 28rem;
}

.credit-app-check input {
    margin-top: 0.3rem;
    width: auto;
    flex-shrink: 0;
}

.credit-app-submit {
    margin: 1.5rem 0 0;
}

.credit-app-hp {
    position: absolute;
    left: -10000px;
    height: 0;
    overflow: hidden;
}

.credit-app-conditional {
    display: none;
}

.credit-app:has(#has_trade_in_yes:checked) #tradein-details,
.credit-app:has(#has_co_applicant_yes:checked) #co-applicant-details,
.credit-app:has(#residence_years option[value="0"]:checked) #applicant-previous-address,
.credit-app:has(#residence_years option[value="1"]:checked) #applicant-previous-address,
.credit-app:has(#employment_years option[value="0"]:checked) #previous-employer,
.credit-app:has(#employment_years option[value="1"]:checked) #previous-employer,
.credit-app:has(#co_residence_years option[value="0"]:checked) #co-applicant-previous-address,
.credit-app:has(#co_residence_years option[value="1"]:checked) #co-applicant-previous-address,
.credit-app:has(#co_employment_years option[value="0"]:checked) #co-applicant-previous-employer,
.credit-app:has(#co_employment_years option[value="1"]:checked) #co-applicant-previous-employer {
    display: block;
}

@media (max-width: 800px) {
    .credit-app-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .credit-app-field-span-2,
    .credit-app-field-span-3,
    .credit-app-field-span-4 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .credit-app-grid {
        grid-template-columns: 1fr;
    }
}

.inquiry-success {
    margin: 1rem 0 0;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 0.4rem;
    background: var(--paper, #f7f4ee);
}

.inquiry-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 1rem;
    overflow: auto;
    border: 0;
    background: transparent;
    color: var(--ink);
}

.inquiry-dialog[open] {
    display: block;
}

.inquiry-dialog::backdrop {
    background: color-mix(in srgb, var(--navy-deep) 55%, transparent);
}

.inquiry-dialog-panel {
    position: relative;
    width: min(32rem, 100%);
    margin: 8vh auto 2rem;
    padding: 1.35rem 1.4rem 1.45rem;
    border-radius: 0.5rem;
    background: var(--white);
    box-shadow: 0 1.25rem 2.75rem rgb(0 0 0 / 0.28);
}

.inquiry-dialog-close {
    appearance: none;
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-family: ui-sans-serif, system-ui, sans-serif;
    font-size: 1.85rem;
    line-height: 1;
    cursor: pointer;
}

.inquiry-dialog-close:hover {
    color: var(--navy);
}

.inquiry-dialog h2 {
    margin: 0 2rem 0.4rem 0;
    font-family: var(--font-display);
}

.inquiry-dialog-lede {
    margin: 0 0 1rem;
}

.inquiry-dialog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.inquiry-dialog-span {
    grid-column: 1 / -1;
}

.inquiry-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.1rem;
}

@media (max-width: 520px) {
    .inquiry-dialog-grid {
        grid-template-columns: 1fr;
    }
}

.lot-chat {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.7rem;
    font-family: var(--font-body);
    letter-spacing: normal;
    word-spacing: normal;
}

.lot-chat-toggle {
    min-height: 2.35rem;
    padding: 0.45rem 1.15rem;
    border: 0;
    border-radius: 0.2rem;
    background: var(--navy);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.lot-chat-panel {
    width: min(22.5rem, calc(100vw - 2rem));
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.2rem;
    box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 0.18);
    overflow: hidden;
}

.lot-chat-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.85rem 1.35rem 0.7rem;
    background: var(--navy-deep);
    color: #fff;
}

.lot-chat-head p {
    margin: 0;
}

.lot-chat-head span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.82rem;
    color: rgb(255 255 255 / 0.82);
}

.lot-chat-head .lot-chat-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0.65rem;
    margin-top: 0;
}

.lot-chat-head .lot-chat-call {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgb(255 255 255 / 0.88);
}

.lot-chat-head .lot-chat-call a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.lot-chat [hidden] {
    display: none !important;
}

.lot-chat-close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.lot-chat-log {
    min-height: 8rem;
    max-height: min(36rem, calc(100vh - 16rem));
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.85rem 1.35rem;
}

.lot-chat.is-known .lot-chat-log {
    min-height: 18rem;
}

.lot-chat-bubble {
    margin: 0;
    max-width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.2rem;
    font-size: 0.92rem;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.lot-chat-bubble--bot {
    background: var(--paper-2);
}

.lot-chat-bubble--me {
    align-self: flex-end;
    max-width: 85%;
    background: var(--navy);
    color: #fff;
}

.lot-chat-bubble--staff {
    background: #e8f6ec;
    border-left: 3px solid var(--green);
}

.lot-chat-bubble--staff strong {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.lot-chat-car {
    display: block;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 0.2rem;
    text-decoration: none;
    color: var(--ink);
}

.lot-chat-car strong,
.lot-chat-car span {
    display: block;
}

.lot-chat-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem;
    align-items: end;
    padding: 0 1.35rem 0.85rem;
}

.lot-chat-form textarea,
.lot-chat-intro input {
    width: 100%;
    min-height: 2.4rem;
    padding: 0.4rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 0.2rem;
    font: inherit;
}

.lot-chat-form textarea {
    min-height: 4.7rem;
    resize: vertical;
}

.lot-chat-intro {
    display: grid;
    gap: 0.35rem;
    padding: 0.35rem 1.35rem 1.05rem;
}

.lot-chat-intro label {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.lot-chat-intro-error {
    margin: 0;
    color: #9f1239;
    font-size: 0.82rem;
}

.lot-chat-intro [data-lot-chat-start] {
    margin-top: 1.4rem;
}

.lot-chat-intro button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.lot-chat-honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

