/* ==========================================================================
   halden-wp.css: WordPress pieces the Halden design does not cover
   (built on Halden's tokens; loaded after main / animations / responsive).
   ========================================================================== */

/* Admin bar: keep the fixed header below it */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* Logo image (Theme Settings > Branding) */
.logo__img { display: block; height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.site-footer .logo__img { height: 48px; filter: brightness(0) invert(1); }

/* Saved-cars button in the header */
.fnc-hwish { position: relative; }
.fnc-hwish__count { position: absolute; top: 4px; right: 2px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 0.6875rem; font-weight: 600; line-height: 1; }
.fnc-hwish__count[hidden] { display: none; }
.vcard .fav[aria-pressed="true"] .icon, .fnc-hwish[aria-pressed="true"] .icon { fill: var(--accent); stroke: var(--accent); }
.mobile-menu__sub a { font-size: 1.1rem !important; opacity: 0.75; padding-left: 2.6rem; }

/* Hero extras */
.hero__badge { display: block; max-height: 64px; width: auto; margin-bottom: 18px; }
.hero--compact { min-height: min(72svh, 720px); }
.hcrumbs .fnc-crumbs, .hcrumbs nav { margin-bottom: 22px; font-size: 0.8125rem; color: var(--muted-light); }
.hcrumbs a { color: inherit; text-decoration: none; }
.hcrumbs a:hover { color: #fff; }
.hcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.hsearch { position: relative; z-index: 3; margin-top: -36px; }
.hsearch__form { display: flex; align-items: center; gap: 12px; max-width: 760px; padding: 10px 10px 10px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-pop); }
.hsearch__form .icon { color: var(--muted); }
.hsearch__form input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 0; font-size: 1rem; outline: none; }

/* Grids */
.vgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vgrid--row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 12px; }
.vgrid--row > li { flex: 0 0 min(380px, 82vw); scroll-snap-align: start; }
@media (max-width: 1199px) { .vgrid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .vgrid--4, .vgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .vgrid--2, .vgrid--3, .vgrid--4 { grid-template-columns: 1fr; } }
.vgrid > li { min-width: 0; }
.hpost__excerpt { color: var(--muted); font-size: 0.9375rem; margin: 8px 0 0; }
.vcard__media { background: var(--stone); }

/* Tabs and link chips (Halden's chip look for buttons and links) */
.chips > a, .chips > li, .htabs > .chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
	border: 1px solid var(--line-strong); border-radius: 999px; background: transparent;
	font-size: 0.875rem; font-weight: 500; text-decoration: none; color: var(--ink);
	transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.chips > a:hover, .htabs > .chip:hover { border-color: var(--ink); }
.htabs > .chip[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips em { font-style: normal; font-size: 0.75rem; opacity: 0.6; }
.htabs { margin: 0 0 28px; }
.hhubs { margin: -8px 0 28px; }
.htabs__more { margin-top: 28px; }
.htags .icon { width: 16px; height: 16px; color: var(--accent); }
.htags > li span { border: 0; padding: 0; min-height: 0; }
.section--ink .chips > a, .section--ink .chips > li { color: var(--bone); border-color: var(--line-light); }

/* Gallery */
.hgallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hgallery--row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.hgallery--row > li { flex: 0 0 min(340px, 78vw); scroll-snap-align: start; }
.hgallery__item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); background: var(--stone); }
.hgallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.hgallery__item:hover img { transform: scale(1.04); }
@media (max-width: 1023px) { .hgallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .hgallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Partners: logo images */
.partner--logo { display: grid; place-items: center; }
.partner__img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.75; mix-blend-mode: multiply; transition: opacity var(--t-fast), filter var(--t-fast); }
.partner--logo:hover .partner__img { filter: none; opacity: 1; }
.partner a { display: contents; color: inherit; text-decoration: none; }

/* Story variants */
.story--flip .story__media { order: 2; }
.story--text { grid-template-columns: minmax(0, 1fr) !important; max-width: 820px; }
.hchecks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.hchecks li { display: flex; gap: 10px; align-items: flex-start; }
.hchecks .icon { color: var(--accent); margin-top: 3px; }
.hstory__ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Free text and prose (WordPress content) */
.hcontent { max-width: 860px; }
.hcontent--wide { max-width: var(--container); }
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-3); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin-top: 1.8em; color: var(--ink); }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.prose a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose img { border-radius: var(--r-md); height: auto; }
.prose blockquote { border-left: 2px solid var(--accent); padding-left: 1.2em; font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.prose--light, .prose--light a { color: var(--muted-light); }
.hcollapse { max-height: 22rem; overflow: hidden; position: relative; }
.hcollapse.is-open { max-height: none; }

/* Booking and showroom: the real form, real map */
.booking__contact { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.booking__contact li { display: flex; gap: 10px; align-items: center; color: #fff; }
.booking__contact a { color: inherit; text-decoration: none; }
.hform { margin-top: 28px; padding: clamp(20px, 3vw, 32px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.hform--light { background: var(--ink-2); border-color: var(--line-light); color: var(--bone); }
.hform__fallback { font-size: 1.05rem; }
.hform__admin { margin-top: 12px; padding: 10px 14px; background: #fff4e6; border-left: 3px solid var(--accent); font-size: 0.875rem; }
.hmap { min-height: 420px; overflow: hidden; border-radius: var(--r-lg); }
.hmap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) contrast(1.05); }
.hcontact-form { margin-top: 56px; }
.showroom-card__extra { margin-top: 18px; font-size: 0.9375rem; }

/* Forms inside Halden (Forminator, Contact Form 7, core inputs) */
.hform input[type="text"], .hform input[type="email"], .hform input[type="tel"], .hform input[type="number"], .hform input[type="url"], .hform select, .hform textarea,
.hform .forminator-input, .hform .forminator-textarea {
	width: 100%; min-height: 50px; padding: 12px 14px !important; background: #fff !important; color: var(--ink) !important;
	border: 1px solid var(--line-strong) !important; border-radius: var(--r-md) !important; font: inherit;
}
.hform textarea, .hform .forminator-textarea { min-height: 120px; }
.hform input:focus, .hform select:focus, .hform textarea:focus { outline: none; border-color: var(--ink) !important; box-shadow: 0 0 0 3px rgba(211, 0, 0, 0.18); }
.hform label, .hform .forminator-label { font-size: 0.8125rem !important; font-weight: 500 !important; color: var(--ink) !important; }
.hform .forminator-button-submit, .hform input[type="submit"], .hform button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px !important;
	background: var(--ink) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; font-weight: 600 !important; cursor: pointer;
}
.hform .forminator-button-submit:hover, .hform input[type="submit"]:hover { background: var(--accent) !important; }

/* Newsletter (signup shortcode) */
.newsletter__form input { background: transparent; }

/* Saved cars panel */
.fnc-wishlist { width: min(440px, 100vw); height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--bone); color: var(--ink); box-shadow: var(--shadow-pop); }
.fnc-wishlist::backdrop { background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(3px); }
.fnc-wishlist[open] { display: flex; flex-direction: column; }
.fnc-wishlist__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.fnc-wishlist__head h2 { margin: 0; font-family: var(--f-display); font-size: 1.5rem; }
.fnc-wishlist__empty { padding: 28px 24px; color: var(--muted); }
.fnc-wishlist__list { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 8px 24px; }
.fnc-wishlist__list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fnc-wishlist__item { flex: 1; display: flex; align-items: center; gap: 14px; min-width: 0; text-decoration: none; font-weight: 600; }
.fnc-wishlist__item img { width: 88px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); background: var(--stone); flex: none; }
.fnc-wishlist__item span { overflow: hidden; text-overflow: ellipsis; }
.fnc-wishlist__remove { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); }
.fnc-wishlist__foot { padding: 20px 24px; border-top: 1px solid var(--line); }
.fnc-wishlist__note { margin: 10px 0 0; color: var(--muted); font-size: 0.8125rem; text-align: center; }

/* Missing photos (theme JS): quiet placeholder */
.is-missing { background: var(--stone) !important; }
.is-missing > img, img.fnc-img-missing { visibility: hidden; }
.is-missing::after { content: attr(data-missing); position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 0.8125rem; }

/* Lightbox (theme JS) */
.fnc-lightbox { border: 0; padding: 0; background: rgba(0, 0, 0, 0.94); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.fnc-lightbox img { max-width: 92vw; max-height: 84vh; margin: 6vh auto 0; object-fit: contain; }

/* Admin hint boxes */
.fnc-admin-hint { margin: 24px auto; max-width: 860px; padding: 14px 18px; background: #fff4e6; border-left: 3px solid var(--accent); font-size: 0.9375rem; }

/* ---------- Vehicle page ---------- */
.hcrumbs--dark, .hcrumbs--dark a { color: var(--muted); }
.hcrumbs--dark a:hover { color: var(--ink); }
.detail-hero { padding-top: calc(var(--header-h) + 28px); }
.detail__tagline { display: block; margin-top: 10px; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(1.1rem, 1.6vw, 1.4rem); letter-spacing: 0; color: var(--muted); text-transform: none; }
.detail__main .swiper-slide { aspect-ratio: 16 / 10; background: var(--stone); }
.detail__main img, .hdetail__zoom { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail__thumbs .swiper-slide { width: 128px; aspect-ratio: 16 / 10; opacity: 0.55; cursor: pointer; border-radius: var(--r-sm); overflow: hidden; }
.detail__thumbs .swiper-slide-thumb-active { opacity: 1; outline: 2px solid var(--accent); outline-offset: -2px; }
.detail__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.hdesc .wp-block-gallery, .hdesc .gallery { display: none; }
.hchecks--cols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin-top: 28px; }
.hnote { display: flex; gap: 12px; align-items: flex-start; max-width: 760px; margin-top: 40px; padding: 18px 20px; background: var(--paper); border-left: 3px solid var(--accent); border-radius: var(--r-sm); }
.hnote .icon { color: var(--accent); margin-top: 2px; }
.hhub-cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.hhub-cards a { position: relative; display: grid; gap: 6px; height: 100%; padding: 22px 52px 22px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; transition: border-color var(--t-fast), transform var(--t-fast) var(--ease); }
.hhub-cards a:hover { border-color: var(--ink); transform: translateY(-2px); }
.hhub-cards strong { font-family: var(--f-display); font-size: 1.1rem; }
.hhub-cards span { color: var(--muted); font-size: 0.9rem; }
.hhub-cards .icon { position: absolute; top: 22px; right: 20px; color: var(--accent); }
.hprice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.hprice__value { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1; color: #fff; margin-bottom: 18px; }
@media (max-width: 1023px) { .hprice { grid-template-columns: 1fr; } }

/* ---------- Articles ---------- */
.page-hero--article .h-display--article { font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.04; max-width: 22ch; text-transform: none; }
.hcontext { display: grid; gap: 16px; margin-top: 56px; }
@media (min-width: 760px) { .hcontext { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.hcontext__box { padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.hcontext__title { font-family: var(--f-display); font-size: 1.5rem; margin: 6px 0 14px; }
.hcontext__title a { text-decoration: none; }
.hcontext__list { list-style: none; margin: 0 0 16px; padding: 0; }
.hcontext__list li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.hcontext__list a { text-decoration: none; }
.hcontext__list a:hover { color: var(--accent); }
.hcontext__cars { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.hcontext__cars a { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; text-decoration: none; }
.hcontext__cars img { width: 96px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.hcontext__cars strong { display: block; font-family: var(--f-display); }
.hcontext__cars small { color: var(--muted); }
.hcontext__cars .icon { color: var(--accent); }
.htags-post { margin-top: 32px; }
.htags-post a { display: inline-flex; min-height: 36px; padding: 0 14px; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.8125rem; text-decoration: none; }

/* ---------- Pager, empty states, search form ---------- */
.hpager { margin-top: 56px; }
.hpager ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hpager a, .hpager span { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 500; text-decoration: none; }
.hpager .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.hpager a:hover { border-color: var(--ink); }
.inventory__empty { padding: 48px 0; max-width: 560px; }
.hcollapse__btn { margin-top: 16px; }
.halden .search-form, .halden .fnc-search { display: flex; gap: 10px; max-width: 560px; margin: 20px 0; }
.halden .search-form input[type="search"], .halden .fnc-search input[type="search"] { flex: 1; min-height: 50px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; }
.halden .search-form button, .halden .search-form input[type="submit"], .halden .fnc-search button { min-height: 50px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
.halden .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Theme buttons rendered by shared helpers (form fallback, admin hints) */
.halden .fnc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--f-display); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: 0; transition: background var(--t-fast); }
.halden .fnc-btn:hover { background: var(--accent); }
.halden .fnc-btn .fnc-icon { width: 16px; height: 16px; }

/* Logo image: white logos stay white over photos and the dark footer, and
   turn dark when the header becomes solid (light) on scroll or open menus. */
.site-header.is-solid .logo__img, .site-header.is-mega-open .logo__img, body:not(.page-home) .site-header.is-solid .logo__img { filter: brightness(0); }
.logo__img { transition: filter var(--t-fast); }

/* ======================= 2.0.1 fixes ======================= */

/* Division cards: centred at a comfortable width; extra images (added by
   optimisation plugins) stay inside the card instead of showing as an inset. */
@media (min-width: 1024px) {
	.cat-grid--n1, .cat-grid--n2, .cat-grid--n3 { grid-template-columns: repeat(var(--cols, 3), minmax(0, 380px)); justify-content: center; }
	.cat-grid--n1 { --cols: 1; } .cat-grid--n2 { --cols: 2; } .cat-grid--n3 { --cols: 3; }
}
.cat-card a { overflow: hidden; isolation: isolate; }
.cat-card__media { position: absolute; inset: 0; overflow: hidden; }
.cat-card__media img, .cat-card__media picture, .cat-card__media picture img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
.cat-card__media noscript { display: none; }
.vcard__media img, .vcard__media picture img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.fcta { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-light); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.03); align-self: start; }
.fcta__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.05; letter-spacing: -0.02em; margin: 12px 0 12px; color: #fff; }
.fcta__title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--accent); }
.fcta__text { color: var(--muted-light); max-width: 46ch; }
.fcta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.site-footer__cols { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.site-footer__desc { max-width: 44ch; }
.footer-wordmark { font-size: min(22rem, calc(118vw / var(--wm-len, 7))); -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2); overflow: hidden; }
@media (max-width: 1023px) { .site-footer__top { grid-template-columns: 1fr; } }

/* Carousels */
.section-head__aside:has(.hswiper-nav) { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.hswiper-nav { display: flex; gap: 10px; }
.hswiper-nav[hidden] { display: none; }
.hswiper { overflow: hidden; }
.hswiper .swiper-slide { height: auto; }
.hswiper .swiper-slide > .vcard, .hswiper .swiper-slide > article { height: 100%; }
.hswiper--gallery .hgallery__item { aspect-ratio: 4 / 3; }
.hswiper-nav .btn-circle.swiper-button-disabled { opacity: 0.35; pointer-events: none; }

/* Gallery lightbox: visible close and arrows */
.fnc-lightbox-g { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, 0.96); color: #fff; }
.fnc-lightbox-g[open] { display: grid; place-items: center; }
.fnc-lightbox-g::backdrop { background: rgba(0, 0, 0, 0.9); }
.fnc-lightbox-g img { max-width: min(92vw, 1600px); max-height: 82dvh; width: auto; height: auto; object-fit: contain; border-radius: var(--r-sm); }
.fnc-lightbox-g p { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; font-size: 0.875rem; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.7); }
.fnc-lightbox-g button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast); }
.fnc-lightbox-g button:hover, .fnc-lightbox-g button:focus-visible { background: var(--accent); border-color: var(--accent); }
.fnc-lightbox-g [data-close] { top: 22px; right: 22px; font-size: 28px; }
.fnc-lightbox-g [data-dir="-1"] { left: 22px; top: 50%; transform: translateY(-50%); }
.fnc-lightbox-g [data-dir="1"] { right: 22px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) { .fnc-lightbox-g [data-dir] { top: auto; bottom: 16px; transform: none; } }

/* Filters */
.hselect { width: 100%; min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230d0d0c' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; font: inherit; font-size: 0.9375rem; color: var(--ink); cursor: pointer; }
.hselect:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(211, 0, 0, 0.18); }
.inventory__tools .hselect { width: auto; min-width: 200px; border-radius: 999px; }
.hchecks-scroll { max-height: 320px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.filters .chip span em { font-style: normal; font-size: 0.75rem; opacity: 0.6; margin-left: 4px; }
.filters .chip span { white-space: nowrap; }
.filters__apply { display: none; }
.no-js .filters__apply { display: inline-flex; }

/* Vehicle page: overview */
.hoverview { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.hoverview__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.hoverview__facts { margin: 28px 0 0; border-top: 1px solid var(--line); }
.hoverview__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.hoverview__facts dt { color: var(--muted); }
.hoverview__facts dd { margin: 0; font-weight: 600; text-align: right; }
.hoverview__facts a { color: var(--ink); text-decoration-color: var(--accent); }
.hoverview__cta { margin-top: 28px; }
.hoverview__body { max-width: 72ch; }
.hoverview__body .prose { font-size: 1.0625rem; }
.hoverview__body .prose > p:first-child { font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.hoverview__sub { font-family: var(--f-display); font-size: 1.4rem; margin: 40px 0 8px; }
@media (max-width: 1023px) { .hoverview { grid-template-columns: 1fr; } .hoverview__aside { position: static; } }
.specs .spec-table { grid-column: 1 / -1; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* A one-line hero title stays solid (Halden outlines only a second line). */
.hero__title .line:only-child { color: #fff; -webkit-text-stroke: 0; }

/* Photo credits (licences require them) and the car video */
.hcredits { margin-top: 10px; font-size: 0.75rem; line-height: 1.5; color: var(--muted); }
.hcredits a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); }
.hvideo { position: relative; aspect-ratio: 16 / 9; max-width: 1100px; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); }
.hvideo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* The logo shows in its own colours everywhere (no filters). */
.logo__img, .site-header.is-solid .logo__img, .site-header.is-mega-open .logo__img, body:not(.page-home) .site-header.is-solid .logo__img, .site-footer .logo__img { filter: none !important; }

/* Article: "Part of the guide" / "Cars in this article" boxes */
.hcontext { grid-template-columns: 1fr; }
@media (min-width: 900px) { .hcontext:has(> .hcontext__box + .hcontext__box) { grid-template-columns: 1fr 1fr; } }
.hcontext__cars a { display: flex; align-items: center; gap: 16px; padding: 10px 0; }
.hcontext__cars a > img { flex: none; width: 112px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hcontext__cars a > span { flex: 1; min-width: 0; }
.hcontext__cars strong { font-size: 1.1rem; line-height: 1.25; }
.hcontext__cars small { display: block; margin-top: 2px; }
.hcontext__cars .icon { flex: none; }
.hvideo__more { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 20px 0 0; padding: 0; }
.hvideo__more a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.875rem; font-weight: 500; text-decoration: none; }
.hvideo__more a:hover { border-color: var(--ink); }

/* Vehicles mega menu: makes, models, years, new arrival. */
.mega__inner { grid-template-columns: 1.35fr 1fr 0.8fr 1.15fr; gap: 44px; }
.mega__list--plain a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mega__list--plain em { white-space: nowrap; }
.mega__all { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 0.875rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.mega__all:hover { color: var(--accent-deep); }
.mega__years { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mega__years a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--f-display); font-weight: 600; text-decoration: none; color: var(--ink); transition: border-color 0.2s, color 0.2s; }
.mega__years a:hover { border-color: var(--accent); color: var(--accent-deep); }
.mega__years em { font-style: normal; font-family: var(--f-body); font-size: 0.75rem; font-weight: 500; color: var(--muted); }
@media (max-width: 1180px) { .mega__inner { grid-template-columns: 1.3fr 1fr 0.8fr; } .mega__promo { display: none; } }

/* Scrolling band as its own section (e.g. the makes marquee under "What we offer"). */
.brand-marquee--band { margin-top: 0; padding-block: clamp(22px, 3vw, 34px); border-top: 0; }
.brand-marquee--accent { background: var(--accent); }
.brand-marquee--accent li { color: rgba(0, 0, 0, 0.88); }
.brand-marquee--accent li::after { background: var(--ink); }
.brand-marquee--dark { background: var(--ink); }
.brand-marquee--dark li { color: rgba(255, 255, 255, 0.86); }
.brand-marquee--outline { background: transparent; border-block: 1px solid var(--line); }
.brand-marquee--outline li { color: transparent; -webkit-text-stroke: 1px rgba(0, 0, 0, 0.45); }

/* Makes section ("What we offer"): photo cards in a grid or a slider. */
.makes__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.make-card a { overflow: hidden; isolation: isolate; aspect-ratio: 4 / 5; min-height: 0; }
.makes__grid .make-card a { aspect-ratio: 4 / 3; }
.make-card__logo { position: absolute; z-index: 2; top: 18px; left: 18px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.92); }
.make-card__logo img { width: 70%; height: 70%; object-fit: contain; }
.makes__slider .swiper-slide { height: auto; }
.makes__slider .make-card a { aspect-ratio: 3 / 4; }
@media (max-width: 1023px) { .makes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .makes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .makes__grid .make-card a { aspect-ratio: 1 / 1; } .makes__grid .cat-card__name { font-size: 1.05rem; } .makes__grid .cat-card__arrow { display: none; } }
.makes__grid .make-card { width: auto; flex: initial; }

/* Left-hand / right-hand drive tabs (How it works, car pages). */
.drive__tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: 20px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); }
.drive__tab { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 22px 8px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background-color 0.25s, color 0.25s; }
.drive__tab strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 0.98rem; line-height: 1.15; }
.drive__tab small { display: block; font-size: 0.75rem; color: var(--muted); }
.drive__tab:hover { background: rgba(0, 0, 0, 0.05); }
.drive__tab.is-active { background: var(--ink); color: #fff; }
.drive__tab.is-active small { color: rgba(255, 255, 255, 0.7); }
.drive__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.drive__wheel { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; }
.drive__wheel::after { font-family: var(--f-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.02em; }
.drive__wheel--lhd::after { content: "LHD"; font-size: 0.62rem; }
.drive__wheel--rhd::after { content: "RHD"; font-size: 0.62rem; }
.drive__tab.is-active .drive__wheel { border-color: var(--accent); color: #fff; }
.drive__note { display: flex; gap: 12px; align-items: flex-start; max-width: 760px; margin: 0 0 clamp(28px, 4vw, 44px); padding: 16px 20px; background: var(--paper); border-left: 3px solid var(--accent); border-radius: var(--r-sm); font-size: 0.95rem; }
.drive__note .icon { flex: none; color: var(--accent); margin-top: 2px; }
.drive__this { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
.drive__this .drive__wheel { border-color: var(--accent); }
.step[hidden] { display: none !important; }
@media (max-width: 600px) { .drive__tabs { display: flex; border-radius: var(--r-md); } .drive__tab { flex: 1 1 100%; border-radius: var(--r-sm); } }

/* Scrolling logo band (makes we import). */
.logo-band { padding-block: clamp(32px, 4vw, 52px); overflow: hidden; border-block: 1px solid var(--line); }
.logo-band .section-head { margin-bottom: 28px; }
.logo-band__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-band__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.logo-band:hover .logo-band__track { animation-play-state: paused; }
.logo-band ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.logo-band li { flex: none; display: grid; place-items: center; width: clamp(120px, 12vw, 170px); height: clamp(64px, 6vw, 84px); margin-right: clamp(28px, 4vw, 56px); }
.logo-band a { display: grid; place-items: center; width: 100%; height: 100%; }
.logo-band__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform 0.3s var(--ease); }
.logo-band a:hover .logo-band__img { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .logo-band__track { animation: none; flex-wrap: wrap; width: auto; } .logo-band ul[aria-hidden] { display: none; } .logo-band ul { flex-wrap: wrap; justify-content: center; } }

/* Import route: icon / flag tiles joined by a line over and under the tiles. */
.route { --t: clamp(72px, 6.6vw, 96px); --a: 34px; --g: clamp(14px, 2vw, 32px); position: relative; padding: calc(var(--a) + 40px) clamp(18px, 3vw, 44px) 44px; border-radius: var(--r-lg, 24px); background: color-mix(in srgb, var(--accent) 8%, var(--paper)); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); overflow: hidden; }
.route::before, .route::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); pointer-events: none; }
.route::before { width: 120px; height: 120px; right: -40px; top: -50px; }
.route::after { width: 14px; height: 14px; left: 22px; bottom: 30px; }
.route__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0 var(--g); }
.route__step { position: relative; display: grid; justify-items: center; align-content: start; text-align: center; }
.route__step[hidden] { display: none !important; }
.route__tile { position: relative; z-index: 2; width: var(--t); height: var(--t); display: grid; place-items: center; border-radius: 18px; background: #fff; border: 2px solid var(--accent); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.45); transition: transform 0.4s var(--ease); }
.route__step:hover .route__tile { transform: translateY(-4px); }
.route__icon { width: 44%; height: 44%; color: var(--ink); stroke-width: 1.6; }
.route__flags { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 4px; width: 78%; }
.route__flags img { display: block; width: calc(50% - 2px); height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.route__flags--1 img { width: 76%; }
/* Connector to the next tile: an arch over the tiles, then under, in turn. */
.route__step:not(.is-last)::after { content: ""; position: absolute; z-index: 1; left: 50%; width: calc(100% + var(--g)); height: calc(var(--t) / 2 + var(--a)); border: 2px solid var(--ink); pointer-events: none; }
.route__step.is-up:not(.is-last)::after { top: calc(var(--a) * -1); border-bottom: 0; border-radius: 16px 16px 0 0; }
.route__step.is-down:not(.is-last)::after { top: calc(var(--t) / 2); border-top: 0; border-radius: 0 0 16px 16px; }
/* Start and end: a short stem with a dot under the first and last tiles. */
.route__step.is-first::before, .route__step.is-last::before { content: ""; position: absolute; z-index: 1; top: var(--t); left: 50%; width: 10px; height: calc(var(--a) - 2px); transform: translateX(-5px); background: radial-gradient(circle at 50% calc(100% - 5px), var(--accent) 4px, transparent 4.5px), linear-gradient(var(--ink), var(--ink)) center top / 2px calc(100% - 9px) no-repeat; }
.route__copy { display: grid; justify-items: center; gap: 6px; margin-top: calc(var(--a) + 14px); max-width: 24ch; }
.route__copy .step__num { font-family: var(--f-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; color: var(--accent-deep, var(--accent)); -webkit-text-stroke: 0; }
.route__title { margin: 0; font-family: var(--f-display); font-stretch: 110%; font-weight: 600; font-size: clamp(0.98rem, 1.15vw, 1.12rem); line-height: 1.2; }
.route__copy p { margin: 0; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
@media (max-width: 1023px) and (min-width: 768px) { .route { --t: 64px; --a: 26px; --g: 10px; } .route__flags { width: 84%; } .route__copy p { display: none; } }
/* Phones: a vertical route, tiles on the left. */
@media (max-width: 767px) {
	.route { --t: 64px; padding: 26px 18px; }
	.route__steps { grid-template-columns: 1fr; gap: 22px; }
	.route__step { grid-template-columns: var(--t) 1fr; justify-items: start; align-items: center; column-gap: 16px; text-align: left; }
	.route__copy { margin: 0; justify-items: start; max-width: none; }
	.route__step:not(.is-last)::after, .route__step.is-up:not(.is-last)::after, .route__step.is-down:not(.is-last)::after { top: var(--t); left: calc(var(--t) / 2 - 1px); width: 0; height: calc(100% - var(--t) + 22px); border: 0; border-left: 2px solid var(--ink); border-radius: 0; }
	.route__step.is-first::before, .route__step.is-last::before, .route::after { display: none; }
}

/* Section spacing: tighter rhythm on every page. --space-k comes from
   Theme Settings > General > Section spacing; each section can override. */
:root { --space-k: 1; --section-y: calc(clamp(56px, 6vw, 96px) * var(--space-k)); }
@media (max-width: 767px) { :root { --section-y: calc(52px * var(--space-k)); } }
.section-head { margin-bottom: clamp(28px, 3.4vw, 52px); }
/* Two sections on the same background read as one band: halve the gap. */
.section--light + .section--light, .section--stone + .section--stone { padding-top: calc(var(--section-y) * 0.45); }
.section.section--space-small { padding-block: calc(var(--section-y) * 0.55); }
.section.section--space-top0 { padding-top: 0; }
.section.section--space-bottom0 { padding-bottom: 0; }
.section.section--space-large { padding-block: calc(var(--section-y) * 1.35); }
.stats { padding-block: calc(clamp(56px, 6.5vw, 104px) * var(--space-k)); }
.cta__inner { padding-block: calc(clamp(64px, 7vw, 104px) * var(--space-k)); }
.site-footer { padding-top: calc(clamp(56px, 6vw, 96px) * var(--space-k)); }

/* Footer: the large brand image at the bottom (Theme Settings > Footer). */
.footer-mark { padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(12px, 2vw, 24px); text-align: center; }
.footer-mark a { display: inline-block; }
.footer-mark__img { display: block; width: auto; max-width: min(1100px, 100%); max-height: clamp(90px, 16vw, 240px); height: auto; margin: 0 auto; object-fit: contain; opacity: 0.95; transition: opacity 0.3s; }
.footer-mark a:hover .footer-mark__img { opacity: 1; }

/* Contact: form beside the details card, full-width map underneath. */
.hcontact-side { align-self: start; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-light, rgba(255, 255, 255, 0.14)); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.03); }
.hcontact-side__title { margin: 0 0 20px; color: #fff; }
.hcontact-map { margin-top: clamp(32px, 4vw, 56px); }
.hmap--wide, .hmap--wide iframe { min-height: clamp(300px, 34vw, 460px); }

/* Read more / Read less: full page width, a soft fade while closed. */
.hcontent--collapse .prose { max-width: none; }
.hcontent--collapse .prose p, .hcontent--collapse .prose li { max-width: none; }
.hcollapse:not(.is-open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7rem; background: linear-gradient(to bottom, transparent, var(--section-bg, var(--bone))); pointer-events: none; }
.section--stone .hcollapse:not(.is-open)::after { --section-bg: var(--stone); }
.section--ink .hcollapse:not(.is-open)::after { --section-bg: var(--ink); }
.hcollapse__btn { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.hcollapse__btn .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.hcollapse__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.section--ink .hcollapse__btn { color: #fff; }

/* Article: text on the left, sticky sidebar on the right. */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 28vw, 380px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.article-main .prose { max-width: none; }
.article-main .prose p, .article-main .prose li { max-width: none; }
.article-side__sticky { position: sticky; top: calc(var(--header-h, 80px) + 24px); display: grid; gap: 16px; }
.side-box { padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.side-box .eyebrow { margin-bottom: 12px; }
.side-box__title { margin: 0 0 12px; font-family: var(--f-display); font-size: 1.2rem; line-height: 1.2; }
.side-box__title a { text-decoration: none; }
.side-posts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; }
.side-posts li + li { border-top: 1px solid var(--line); }
.side-posts a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 10px 0; text-decoration: none; color: var(--ink); }
.side-posts a:not(:has(.side-posts__img)) { grid-template-columns: 1fr; }
.side-posts__img img { display: block; width: 64px; height: 52px; object-fit: cover; border-radius: 8px; }
.side-posts__copy strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
.side-posts__copy small { display: block; margin-top: 3px; font-size: 0.75rem; color: var(--muted); }
.side-posts a:hover strong { color: var(--accent-deep, var(--accent)); }
.side-list { list-style: none; margin: 0 0 14px; padding: 0; }
.side-list li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 0.9rem; line-height: 1.4; }
.side-list a { text-decoration: none; }
.side-list a:hover { color: var(--accent); }
.side-box--cta { background: var(--ink); color: #fff; border-color: var(--ink); }
.side-box--cta p { color: var(--muted-light); font-size: 0.9rem; margin: 0 0 16px; }
@media (max-width: 1023px) { .article-layout { grid-template-columns: 1fr; } .article-side__sticky { position: static; } .article-side__sticky { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
.article-side { align-self: stretch; }
@media (min-width: 1024px) { .article-side__sticky { max-height: calc(100vh - var(--header-h, 80px) - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 4px; } }

/* Full-width text on pages and in text sections. */
.hcontent--wide .prose, .hcontent--wide .prose p, .hcontent--wide .prose li, .hcontent--wide .prose blockquote { max-width: none; }
.hcontent--wide .prose img, .hcontent--wide .prose figure { max-width: 100%; height: auto; }

/* Logos in image blocks (e.g. a division logo): white card, whole logo shown. */
.story__media--logo { background: #fff; display: grid; place-items: center; padding: clamp(28px, 5vw, 64px); border: 1px solid var(--line); }
.story__media--logo img { position: static; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; transform: none; }

/* Menu dropdowns (inner pages of Daytona, Biscayne, Vertical Motors...). */
.primary-nav__list > li.has-drop { position: relative; }
.has-drop > .primary-nav__link { display: inline-flex; align-items: center; gap: 4px; }
.has-drop > .primary-nav__link .icon { transition: transform 0.3s var(--ease); }
.nav-drop { position: absolute; top: calc(100% + 10px); left: -16px; z-index: 60; min-width: 250px; margin: 0; padding: 8px; list-style: none; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-md, 14px); box-shadow: var(--shadow-pop); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s; }
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-drop:hover > .nav-drop, .has-drop:focus-within > .nav-drop { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover > .primary-nav__link .icon, .has-drop:focus-within > .primary-nav__link .icon { transform: rotate(180deg); }
.nav-drop a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 0.92rem; font-weight: 500; white-space: nowrap; }
.nav-drop a:hover, .nav-drop a:focus-visible { background: var(--bone); color: var(--accent-deep, var(--accent)); }
.nav-drop__all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px !important; font-weight: 600 !important; }

/* Car colours (summary panel). */
.hcolors { margin: 4px 0 18px; }
.hcolors__label { margin: 0 0 10px; font-size: 0.85rem; color: var(--muted); }
.hcolors__label strong { color: var(--ink); font-weight: 600; }
.hcolors__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hcolors__swatch { width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 2px solid var(--paper); background: var(--sw); box-shadow: 0 0 0 1px var(--line-strong); cursor: pointer; transition: box-shadow 0.2s, transform 0.2s; }
.hcolors__swatch:hover { transform: scale(1.08); }
.hcolors__swatch.is-active { box-shadow: 0 0 0 2px var(--ink); }
.hcolors__swatch:focus-visible, .hcolors__all:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hcolors__all { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font: inherit; font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.hcolors__all.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.detail__nav[hidden], .detail__counter[hidden], .detail__thumbs[hidden] { display: none !important; }

/* Car videos: one large, or two side by side (upload + link). */
.hvideos { display: grid; gap: 20px; }
.hvideos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hvideos .hvideo { margin: 0; }
.hvideo video { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; border-radius: var(--r-lg); }
@media (max-width: 767px) { .hvideos--2 { grid-template-columns: 1fr; } }
.hvideos .hvideo { max-width: none; }

/* Car page: overview text uses its whole column. */
.hoverview__body { max-width: none; }
.hoverview__body .prose, .hoverview__body .prose p, .hoverview__body .prose li { max-width: none; }
.route__img { display: block; width: 58%; height: 58%; object-fit: contain; }
/* Spec tiles: long values stay readable. */
.spec-tiles strong { overflow-wrap: anywhere; }
.spec-tiles li { min-width: 0; }

/* ==========================================================================
   Daytona brand book: Instrument Serif (display), Georgia (sub-headings),
   Inter (body and interface). Black, white, red #d30000, grey #efefef.
   Instrument Serif has one weight, so display text is set at 400.
   ========================================================================== */

/* 1. Display: headings, prices, big figures. */
.h-display, .h-section, .hero__title, .cta__title, .detail__title,
.hprice__value, .fcta__title, .mega__promo-copy strong, .hero__specs strong, .cat-card__name,
.stat dd, .featured__all-num, .step__num, .calc__monthly, .trade__range, .showroom-card__city,
.booking__visual-title, .brand-marquee li, .newsletter__title, .footer-wordmark, .search-dialog__form input,
.detail__price strong, .spec-tiles strong, .contact-card__big, .story__facts dd, .hero__price strong,
.vcard__price strong, .empty h2, .booking__done h3, .fnc-wishlist__head h2, .prose h2,
.inventory__count strong, .sticky-cta--detail strong, .mobile-menu__list a {
	font-family: var(--f-display);
	font-weight: 400;
	font-stretch: normal;
	letter-spacing: -0.005em;
}
.h-display { text-transform: none; line-height: 1; letter-spacing: -0.01em; font-size: clamp(3rem, 7.6vw, 7.4rem); }
.h-section { line-height: 1.04; font-size: clamp(2.3rem, 4.6vw, 4.5rem); }
.h-section--sm { font-size: clamp(2rem, 3.4vw, 3.3rem); }
.detail__title { line-height: 1.02; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; }
.brand-marquee li { text-transform: none; font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
.footer-wordmark { text-transform: none; letter-spacing: -0.02em; }
.cat-card__name { font-size: clamp(1.5rem, 2vw, 1.95rem); line-height: 1.05; }
.stat dd, .featured__all-num, .calc__monthly { line-height: 0.95; }
.spec-tiles strong, .detail__price strong { font-size: clamp(1.6rem, 2vw, 2rem); line-height: 1.1; }
.step__num { -webkit-text-stroke: 0; color: var(--line-strong); }
.step.is-active .step__num { color: var(--ink); }

/* Accent word: Instrument Serif italic in brand red. */
.h-display em, .h-section em, .cta__title em, .hero__title em { font-family: var(--f-display); font-style: italic; font-weight: 400; color: var(--accent); }
.section--light .h-section em, .section--stone .h-section em { color: var(--accent); }
.section--ink .h-section em, .cta__title em, .page-hero em, .hero em { color: #ff3b3b; }

/* 2. Sub-headings: Georgia bold. */
.prose h3, .prose h4, .hhub-cards strong, .hcontext__title, .hcontext__cars strong, .hoverview__sub,
.route__title, .side-box__title, .why-card__title, .vcard__title, .step__title, .trade__empty strong,
.partner__name, .filters__title, .policy h3, .plan h3, .accordion button, .contact-list strong,
.drive__tab strong, .chips--dates b, .showroom-card h3, .hcontact-side__title {
	font-family: var(--f-sub);
	font-weight: 700;
	font-stretch: normal;
	letter-spacing: 0;
}
.vcard__title { font-size: 1.2rem; line-height: 1.25; }
.accordion button { font-size: 1.08rem; }
.route__title { font-size: clamp(0.98rem, 1.1vw, 1.08rem); }

/* 3. Interface: Inter for labels, buttons, menus, small numbers. */
.eyebrow, .btn, .link-arrow, .halden .fnc-btn, .mega__list a, .mega__years a, .drive__wheel::after,
.route__copy .step__num, .logo__word, .calc__num input, .partner__mark, .cursor-label, .page-transition__mark,
.nav-drop a, .primary-nav__link {
	font-family: var(--f-ui);
	font-stretch: normal;
}
.mega__list a { font-weight: 500; }

/* Colours: black, white, red, grey. */
.btn--primary { background: var(--accent); border-color: var(--accent); }
.btn--primary::before { background: #000; }
.section--ink, .site-footer, .hero { background-color: #000; }

/* Logos: white lettering over the dark top of a page, black once the header turns white. */
.logo__img { height: clamp(30px, 3.2vw, 40px); width: auto; max-width: 240px; object-fit: contain; filter: none !important; }
.logo__img--on-light { display: none; }
.site-header.is-solid .logo__img--on-dark, .site-header.is-mega-open .logo__img--on-dark { display: none; }
.site-header.is-solid .logo__img--on-light, .site-header.is-mega-open .logo__img--on-light { display: block; }
.menu-open .site-header .logo__img--on-dark { display: block; }
.menu-open .site-header .logo__img--on-light { display: none; }
.site-footer .logo__img { height: clamp(36px, 3.6vw, 48px); }

/* ==========================================================================
   2.1.7: on-page review
   ========================================================================== */

/* Homepage hero: a calmer heading. */
.hero__title { font-size: clamp(2.5rem, 6.2vw, 6rem); line-height: 0.92; }
.hero--compact .hero__title { font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
.hero__inner:not(:has(.hero__aside)) { grid-template-columns: minmax(0, 1fr); }

/* Intro and button under a section's cards, centred. */
.section-foot { display: grid; justify-items: center; gap: 18px; text-align: center; max-width: 640px; margin: clamp(32px, 4vw, 52px) auto 0; }
.section-foot .lead { margin: 0; color: var(--muted); }
.section--ink .section-foot .lead { color: rgba(255, 255, 255, 0.7); }
.section-head:not(:has(.section-head__aside)) { grid-template-columns: minmax(0, 1fr); }
.htabs__panel .htabs__more { text-align: center; }

/* Why choose us: one strip instead of a tall grid. */
/* Why choose us: one strip (or a 4 x 2 grid for 8 points) instead of a tall grid. Lines are the 1px gaps. */
.why-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.why-strip__item { position: relative; display: grid; align-content: start; gap: 10px; padding: clamp(22px, 2.2vw, 32px) clamp(18px, 1.8vw, 26px); background: var(--paper); transition: background-color var(--t); }
.why-strip__item::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.why-strip__item:hover { background: var(--stone); }
.why-strip__item:hover::after { transform: scaleX(1); }
.why-strip__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(211, 0, 0, 0.08); color: var(--accent); }
.why-strip__icon .icon { width: 22px; height: 22px; }
.why-strip__title { font-family: var(--f-sub); font-weight: 700; font-size: 1.02rem; line-height: 1.25; margin: 4px 0 0; }
.why-strip__item p { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--muted); }
.why-strip--rows .why-strip__item { padding: clamp(24px, 2.4vw, 36px); }
.section--stone .why-strip__item { background: #fff; }
@media (max-width: 1100px) { .why-strip { grid-template-columns: repeat(min(var(--n, 4), 3), minmax(0, 1fr)); } .why-strip--rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
	.why-strip:not(.why-strip--rows) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.why-strip:not(.why-strip--rows)::-webkit-scrollbar { display: none; }
	.why-strip:not(.why-strip--rows) .why-strip__item { flex: 0 0 72%; scroll-snap-align: start; }
}
@media (max-width: 480px) { .why-strip--rows .why-strip__item { padding: 18px 14px; gap: 8px; } .why-strip--rows .why-strip__title { font-size: 0.95rem; } .why-strip--rows .why-strip__item p { font-size: 0.8rem; } .why-strip--rows .why-strip__icon { width: 40px; height: 40px; } }

/* Stats band: an icon above each figure. */
.stat dd { flex-wrap: wrap; }
.stat__icon { flex: 0 0 100%; display: block; margin-bottom: 18px; line-height: 0; }
.stat__icon .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--accent); color: #fff; stroke-width: 1.8; }

/* Cities: cards with a landmark drawing. */
.city-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.city-card { display: grid; justify-items: center; gap: 2px; height: 100%; padding: 18px 12px 20px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); text-decoration: none; transition: border-color var(--t), box-shadow var(--t), transform var(--t) var(--ease); }
a.city-card:hover { border-color: var(--ink); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.35); transform: translateY(-3px); }
.city-art { width: 92px; height: 92px; margin-bottom: 8px; color: var(--ink); }
.city-art__bg { fill: var(--stone); }
.city-art .a { stroke: var(--accent); }
.city-art circle.a { fill: var(--accent); stroke: none; }
.city-card__label { font-size: 0.75rem; color: var(--muted); }
.city-card__name { font-family: var(--f-sub); font-weight: 700; font-size: 1.02rem; }
.section--ink .city-card { background: #0b0b0b; border-color: rgba(255, 255, 255, 0.12); color: #fff; }
.section--ink .city-art { color: #fff; }
.section--ink .city-art__bg { fill: rgba(255, 255, 255, 0.06); }
@media (max-width: 1100px) { .city-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .city-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .city-art { width: 72px; height: 72px; } }
@media (max-width: 460px) { .city-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Import steps: icons in the route tiles. */
.route__icon { color: var(--ink); }

/* Car page: key specifications first, the rest behind a button. */
.specs .spec-table { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199px) { .specs .spec-table { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .specs .spec-table { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .specs .spec-table { grid-template-columns: minmax(0, 1fr); } }
.spec-table--fold:not(.is-open) > div:nth-child(n + 13) { display: none; }
@media (max-width: 1199px) { .spec-table--fold:not(.is-open) > div:nth-child(n + 10) { display: none; } }
@media (max-width: 899px) { .spec-table--fold:not(.is-open) > div:nth-child(n + 7) { display: none; } }
.spec-more { grid-column: 1 / -1; margin: 6px 0 0; }
.spec-more__btn { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; font: 600 0.95rem/1 var(--f-ui); color: var(--accent); cursor: pointer; }
.spec-more__btn .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent); color: #fff; stroke-width: 2.4; transition: transform var(--t) var(--ease); }
.spec-more__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.spec-more__btn:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* Car page: customisation text with a photo slider. */
.hcustom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hcustom--text { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.hcustom__copy { display: grid; gap: 22px; justify-items: start; }
.hcustom__copy .prose p { margin: 0 0 1em; }
.hcustom__media { position: relative; min-width: 0; }
.hcustom__slider { border-radius: var(--r-lg, 18px); overflow: hidden; }
.hcustom__slide { position: relative; margin: 0; aspect-ratio: 4 / 3; background: var(--stone); }
.hcustom__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hcustom__slide figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; display: inline-flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 999px; background: rgba(0, 0, 0, 0.72); color: #fff; font: 600 0.9rem/1.3 var(--f-ui); backdrop-filter: blur(6px); }
.hcustom__slide figcaption span { color: #ff5a5a; font-size: 0.75rem; letter-spacing: 0.12em; }
.hcustom__nav { display: flex; justify-content: flex-end; margin-top: 14px; }
@media (max-width: 1023px) { .hcustom { grid-template-columns: minmax(0, 1fr); } }

/* Car page: the price band as one centred call to action. */
.hprice--center { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 18px; max-width: 760px; margin-inline: auto; }
.hprice--center .eyebrow { justify-content: center; margin: 0; }
.hprice--center .eyebrow::before { display: none; }
.hprice--center .h-section { margin: 0; }
.hprice--center .lead { margin: 0; max-width: 560px; }
.hprice--center .hprice__cta { margin: 10px 0 0; }

/* Split section figures: big red numbers above their labels. */
.story__facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; }
.story__facts dd { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 4.4vw, 4rem); line-height: 0.95; letter-spacing: -0.01em; color: var(--accent); }
.section--ink .story__facts dd { color: #ff3b3b; }
.story__facts dt { font-size: 0.75rem; }

/* Form messages in brand colours (Forminator and Contact Form 7). */
.hform .forminator-response-message.forminator-success, .hform .wpcf7-response-output.wpcf7-mail-sent-ok, .hform form.sent .wpcf7-response-output { background: var(--stone) !important; color: var(--ink) !important; border: 0 !important; border-left: 3px solid var(--accent) !important; border-radius: 10px !important; box-shadow: none !important; }
.hform--light .forminator-response-message.forminator-success, .section--ink .hform .forminator-response-message.forminator-success { background: rgba(255, 255, 255, 0.08) !important; color: #fff !important; }
.hform .forminator-response-message.forminator-success p, .hform .forminator-response-message.forminator-success * { color: inherit !important; }
.hform .forminator-response-message.forminator-error { background: rgba(211, 0, 0, 0.08) !important; color: var(--ink) !important; border: 0 !important; border-left: 3px solid var(--accent) !important; border-radius: 10px !important; }
.hform--light .forminator-response-message.forminator-error { color: #fff !important; background: rgba(211, 0, 0, 0.18) !important; }
