/* ==========================================================================
   Mystik Wrapz — liquid glass layer
   Loaded LAST on every page, so it restyles the existing markup without
   touching each page's own CSS. Dark mode only; light mode keeps the
   site's original light styling.
   ========================================================================== */

:root {
    --lg-fill: linear-gradient(135deg, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0.02) 45%, rgba(255,255,255,0.045) 100%);
    --lg-blur: blur(3px) saturate(165%) brightness(1.04);
    --lg-edge: rgba(255,255,255,0.22);
    --lg-shadow:
        inset 0 1px 0 rgba(255,255,255,0.38),        /* top specular edge */
        inset 0 -1px 0 rgba(255,255,255,0.07),       /* bottom refraction */
        inset 1px 0 0 rgba(255,255,255,0.10),
        inset 0 0 22px rgba(255,255,255,0.025),      /* faint body glow */
        0 10px 36px rgba(0,0,0,0.28);
    --glass-bg: rgba(255,255,255,0.035);
    --glass-border: rgba(255,255,255,0.2);
}

/* ---- the glass recipe, applied to every card / panel / control ---- */
body:not(.light-mode) :is(
    .glass, .vinyl-glass, .nav-inner, .badge, .btn-ghost,
    .card-section, .booking-success.show, .gallery-item, .faq-item,
    .color-card, .swatch-card, .product-card, .products-section, .price-section,
    .vlt-section-page, .vlt-shop-section, .colors-section, .booking-section,
    .back-tint-btn, .vlt-btn, .home-btn, .color-info, .theme-toggle
) {
    background: var(--lg-fill) !important;
    backdrop-filter: var(--lg-blur) !important;
    -webkit-backdrop-filter: var(--lg-blur) !important;
    border: 1px solid var(--lg-edge) !important;
    box-shadow: var(--lg-shadow) !important;
}

/* Specular sheen across the top-left of larger panels — the "liquid" part. */
body:not(.light-mode) :is(.glass, .vinyl-glass, .faq-item, .product-card, .color-card, .swatch-card, .price-section) {
    position: relative;
    isolation: isolate;
}
body:not(.light-mode) :is(.glass, .vinyl-glass, .faq-item, .product-card, .color-card, .swatch-card, .price-section)::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(120% 60% at 0% 0%, rgba(255,255,255,0.10) 0%, transparent 55%),
        linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 30%);
}

/* Text sits on clear glass over moving footage — give it a whisper of shadow. */
body:not(.light-mode) :is(.glass, .vinyl-glass, .faq-item, .product-card) :is(h1, h2, h3, h4, p, span, label, li, a) {
    text-shadow: 0 1px 10px rgba(0,0,0,0.55);
}
body:not(.light-mode) :is(.hero h1, .section-title, .section-label, .hero p) {
    text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

/* ---- nav: page content scrolls underneath it, so the nav (only) gets a deeper
   frost — photos and copy passing under it melt into soft colour instead of
   reading through as a sharp, enlarged image. ---- */
body:not(.light-mode) nav {
    background: linear-gradient(180deg, rgba(10,10,15,0.72) 0%, rgba(10,10,15,0.38) 100%) !important;
    backdrop-filter: blur(22px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(150%) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
body:not(.light-mode) nav .nav-inner {
    background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
@media (max-width: 768px) {
    body:not(.light-mode) .nav-links {
        background: rgba(10,10,15,0.55) !important;
        backdrop-filter: blur(10px) saturate(160%) !important;
        -webkit-backdrop-filter: blur(10px) saturate(160%) !important;
        border: 1px solid var(--lg-edge) !important;
    }
}

/* ---- form controls: clear glass with white text (dark mode) ---- */
body:not(.light-mode) .form-group input,
body:not(.light-mode) .form-group textarea,
body:not(.light-mode) .form-group select,
body:not(.light-mode) .search-input,
body:not(.light-mode) .vehicle-dropdown {
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 0 12px rgba(255,255,255,0.02) !important;
    backdrop-filter: blur(2px) saturate(150%);
    -webkit-backdrop-filter: blur(2px) saturate(150%);
}
body:not(.light-mode) .form-group input::placeholder,
body:not(.light-mode) .form-group textarea::placeholder,
body:not(.light-mode) .search-input::placeholder { color: rgba(255,255,255,0.42) !important; }
body:not(.light-mode) .form-group :is(input, select, textarea):focus {
    border-color: rgba(0,240,255,0.7) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 0 0 3px rgba(0,240,255,0.18) !important;
}
/* Native option popups render outside the page — keep them readable. */
body:not(.light-mode) select option { background: #12121c !important; color: #fff !important; }
body:not(.light-mode) .vehicle-dropdown-header { color: #fff !important; }
body:not(.light-mode) .vehicle-dropdown-panel {
    background: rgba(10,10,15,0.45) !important;
    border-top: 1px solid rgba(255,255,255,0.14) !important;
}
body:not(.light-mode) .vehicle-checkbox-label { color: #fff !important; }
body:not(.light-mode) .vehicle-checkbox-label:hover { background: rgba(255,255,255,0.08) !important; }
body:not(.light-mode) .vehicle-checkbox-label input[type="checkbox"] { accent-color: #00F0FF; }
body:not(.light-mode) .form-group label { color: rgba(255,255,255,0.72) !important; }

/* ---- footer: clear, sits on the footage ---- */
body:not(.light-mode) footer, body:not(.light-mode) .footer {
    background: linear-gradient(0deg, rgba(10,10,15,0.6) 0%, rgba(10,10,15,0) 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
body:not(.light-mode) .gallery-section { background: transparent !important; }
/* Gallery photos live inside one glass panel — part of the page, not loose over the footage. */
body:not(.light-mode) .gallery-section .gallery-grid {
    padding: 18px;
    border-radius: 22px;
    background: var(--lg-fill);
    backdrop-filter: var(--lg-blur);
    -webkit-backdrop-filter: var(--lg-blur);
    border: 1px solid var(--lg-edge);
    box-shadow: var(--lg-shadow);
}

/* ---- subpages: replace the GIF with the garage, darkened for legibility ---- */
body:not(.light-mode).mw-subpage {
    background:
        linear-gradient(180deg, rgba(10,10,15,0.62) 0%, rgba(10,10,15,0.38) 45%, rgba(10,10,15,0.7) 100%) 0 0 / 100% 100% no-repeat fixed,
        url('/assets/garage-7.9.jpg') center / cover no-repeat fixed !important;
}

/* No backdrop-filter support: fall back to a slightly denser tint so text still reads. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    body:not(.light-mode) :is(.glass, .vinyl-glass, .faq-item, .product-card, .nav-inner) {
        background: rgba(18,18,28,0.72) !important;
    }
}

/* Homepage: the garage flight replaces the old GIF background in dark mode. */
body:not(.light-mode) .bg, body:not(.light-mode) .bg-overlay { display: none !important; }

/* ==========================================================================
   Service chapters (homepage) — each sits beside the car while its
   upgrade happens in the footage. Panels alternate sides so the car
   stays in view.
   ========================================================================== */
.mw-chapter {
    min-height: 76vh;
    display: flex;
    align-items: center;
    padding: 90px 5% 40px;
    max-width: 1280px;
    margin: 0 auto;
}
.mw-chapter--left  { justify-content: flex-start; }
.mw-chapter--right { justify-content: flex-end; }
.mw-panel {
    width: min(540px, 100%);
    padding: 32px 30px 28px;
    border-radius: 22px;
}
.mw-panel .section-label { text-align: left; margin-bottom: 10px; }
.mw-panel .section-title { text-align: left; margin-bottom: 16px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.mw-lede { color: rgba(255,255,255,0.82); font-size: 0.92rem; line-height: 1.65; margin-bottom: 20px; }
.mw-lede strong { color: #fff; }
.mw-hint { color: var(--gray); font-size: 0.75rem; letter-spacing: 1px; margin-top: 12px; }
.mw-more { margin-top: 18px; padding: 13px 26px; }
.mw-disclaimer { padding: 0 5% 40px; }

/* chips: VLTs and copy buttons */
.mw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.mw-chip {
    font: inherit; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px;
    color: #fff; cursor: pointer;
    padding: 7px 12px; border-radius: 9px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
    transition: background .2s, border-color .2s, transform .2s;
}
.mw-chip:hover { background: rgba(0,240,255,0.16); border-color: rgba(0,240,255,0.7); transform: translateY(-1px); }

/* tint tiers */
.mw-tiers { display: grid; gap: 12px; }
.mw-tier { padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.14); }
.mw-tier__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mw-tier__name { color: #fff; font-weight: 700; letter-spacing: 1px; text-decoration: none; }
.mw-tier__name:hover { color: var(--primary); }
.mw-tier__label { font-size: 0.72rem; color: var(--gray); }
.mw-tier__desc { color: rgba(255,255,255,0.7); font-size: 0.82rem; line-height: 1.5; margin-top: 6px; }
.mw-tier__price { color: var(--primary); font-weight: 700; font-size: 0.95rem; }
.mw-tier__price span { color: var(--gray); font-weight: 500; font-size: 0.78rem; }

/* swatch rails */
.mw-search { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mw-search input {
    flex: 1; font: inherit; font-size: 16px; color: #fff;
    padding: 11px 14px; border-radius: 11px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
.mw-search input::placeholder { color: rgba(255,255,255,0.42); }
.mw-search input:focus { outline: none; border-color: rgba(0,240,255,0.7); box-shadow: 0 0 0 3px rgba(0,240,255,0.18); }
.mw-search span { color: var(--gray); font-size: 0.75rem; white-space: nowrap; }
.mw-rail {
    display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 112px;
    gap: 10px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity;
    scrollbar-width: thin; scrollbar-color: rgba(0,240,255,0.5) transparent;
}
.mw-swatch {
    font: inherit; color: #fff; text-align: left; cursor: pointer; scroll-snap-align: start;
    display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: 12px;
    background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.14);
    transition: border-color .2s, transform .2s;
}
.mw-swatch:hover { border-color: rgba(0,240,255,0.7); transform: translateY(-2px); }
.mw-swatch img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; background: rgba(255,255,255,0.05); }
.mw-swatch__name { font-size: 0.68rem; line-height: 1.3; color: rgba(255,255,255,0.85); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mw-swatch__code { font-size: 0.68rem; font-weight: 700; color: var(--primary); letter-spacing: 1px; }
.mw-empty { color: var(--gray); font-size: 0.85rem; padding: 12px 0; }

/* smoke films */
.mw-films { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mw-film {
    font: inherit; color: #fff; cursor: pointer; text-align: left;
    display: flex; flex-direction: column; gap: 3px; padding: 6px; border-radius: 12px;
    background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.14);
    transition: border-color .2s, transform .2s;
}
.mw-film:hover { border-color: rgba(0,240,255,0.7); transform: translateY(-2px); }
.mw-film img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }
.mw-film__name { font-size: 0.72rem; font-weight: 600; }
.mw-film__price { font-size: 0.68rem; color: var(--primary); }

/* finishes (lights, chrome delete) */
.mw-finishes { display: grid; gap: 10px; }
.mw-finish { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.14); }
.mw-finish strong { font-size: 0.88rem; letter-spacing: 1px; }
.mw-finish span { font-size: 0.8rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
.mw-finish em { font-style: normal; font-size: 0.82rem; font-weight: 700; color: var(--primary); }
.mw-finish .mw-chip { justify-self: start; margin-top: 6px; }

/* copy toast */
.mw-toast {
    position: fixed; left: 50%; bottom: 28px; z-index: 10000;
    transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
    padding: 12px 20px; border-radius: 12px; font-size: 0.85rem; font-weight: 600; color: #fff;
    background: rgba(10,10,15,0.55); backdrop-filter: blur(8px) saturate(160%); -webkit-backdrop-filter: blur(8px) saturate(160%);
    border: 1px solid rgba(0,240,255,0.5); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 10px 30px rgba(0,0,0,0.35);
    transition: opacity .25s, transform .25s;
}
.mw-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* light mode: chapters follow the site's light styling */
body.light-mode .mw-lede, body.light-mode .mw-tier__desc, body.light-mode .mw-finish span { color: #1a1a2e; text-shadow: none; }
body.light-mode .mw-chip, body.light-mode .mw-swatch, body.light-mode .mw-film, body.light-mode .mw-tier, body.light-mode .mw-finish { color: #1a1a2e; background: rgba(255,255,255,0.9); border-color: rgba(0,0,0,0.2); }
body.light-mode .mw-swatch__name, body.light-mode .mw-tier__name { color: #1a1a2e; }
body.light-mode .mw-search input { color: #1a1a2e; background: #fff; border-color: rgba(0,0,0,0.25); }

@media (max-width: 768px) {
    .mw-chapter, .mw-chapter--left, .mw-chapter--right { justify-content: center; min-height: auto; padding: 70px 16px 30px; }
    .mw-panel { padding: 24px 18px; }
    .mw-films { grid-template-columns: repeat(2, 1fr); }
}

/* Combined lights chapter: sub-headings + custom-build options */
.mw-subhead {
    margin: 18px 0 10px;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    color: var(--primary); text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}
.mw-finishes--grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) { .mw-finishes--grid { grid-template-columns: 1fr; } }
body.light-mode .mw-subhead { text-shadow: none; }

/* ==========================================================================
   Booking form validation (mw-booking.js)
   ========================================================================== */
.mw-err { color: #ff6b8a; font-size: 0.76rem; line-height: 1.45; margin-top: 6px; min-height: 0; text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.mw-err:empty { display: none; }
.mw-fix {
    font: inherit; font-size: 0.74rem; font-weight: 700; cursor: pointer;
    color: #0a0a0f; background: var(--primary); border: 0; border-radius: 7px; padding: 3px 9px; margin-left: 4px;
}
body .form-group input.mw-invalid, body .form-group select.mw-invalid, body .form-group textarea.mw-invalid, .vehicle-dropdown.mw-invalid {
    border-color: rgba(255,107,138,0.85) !important;
    box-shadow: 0 0 0 3px rgba(255,107,138,0.18) !important;
}
body .form-group input.mw-valid, body .form-group select.mw-valid { border-color: rgba(0,240,255,0.55) !important; }
.mw-cardwrap { position: relative; }
.mw-cardwrap input { padding-right: 116px !important; }
.mw-cardbrand {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    font-size: 0.66rem; font-weight: 800; letter-spacing: 1.5px; padding: 4px 9px; border-radius: 6px;
    color: #fff; pointer-events: none; opacity: 0; transition: opacity .2s;
}
.mw-cardbrand:not(:empty) { opacity: 1; }
.mw-cardbrand.is-visa { background: #1a1f71; }
.mw-cardbrand.is-mastercard { background: linear-gradient(90deg, #eb001b, #f79e1b); }
.mw-cardbrand.is-amex { background: #2e77bc; }
.mw-cardbrand.is-discover { background: #ff6000; }
.submit-btn { transition: opacity .25s, filter .25s, transform .25s, box-shadow .25s; }
.submit-btn:not(.mw-ready) { opacity: 0.45; filter: saturate(0.4); cursor: not-allowed; }
.submit-btn:not(.mw-ready):hover { transform: none; }
body.light-mode .mw-err { color: #c4002f; text-shadow: none; }
.mw-services-intro { padding: 70px 5% 0; text-align: center; }
.mw-services-intro .section-title { margin-bottom: 0; }
.mw-err.mw-ok { color: var(--primary); }
body.light-mode .mw-err.mw-ok { color: #007f88; }

/* ==========================================================================
   Phones & foldables — keep the car visible: chapters leave clear space above
   a compact card instead of one long full-width panel covering the footage.
   ========================================================================== */

/* Regular iPhones (SE 375 → Pro Max 440) and foldable cover screens (Z Fold 344) */
@media (max-width: 480px) {
    .mw-chapter, .mw-chapter--left, .mw-chapter--right {
        min-height: auto;
        padding: 42vh 12px 18px;            /* the top ~40% of each chapter is clear footage */
        padding: 42svh 12px 18px;
        align-items: flex-end;
    }
    .mw-panel { padding: 18px 16px 16px; border-radius: 18px; }
    .mw-panel .section-title { font-size: 1.35rem; letter-spacing: 2px; margin-bottom: 10px; }
    .mw-panel .section-label { font-size: 0.62rem; letter-spacing: 2.5px; }
    .mw-lede { font-size: 0.86rem; line-height: 1.55; margin-bottom: 14px; }
    /* long lists become single swipeable rows */
    .mw-rail { grid-template-rows: auto; grid-auto-columns: 96px; }
    .mw-films { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 132px; overflow-x: auto; padding-bottom: 6px; }
    .mw-finishes--grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; }
    .mw-tier { padding: 12px 12px; }
    .mw-tier__desc { display: none; }        /* the tier name, label and VLT chips carry it on a phone */
    .mw-chip { padding: 8px 11px; }          /* comfortable tap targets */
    .mw-more { width: 100%; text-align: center; }
    .mw-services-intro { padding-top: 56px; }
}

/* Foldable inner screens held portrait (Z Fold 690, iPhone Fold ~640) and the wider iPhone Fold cover (~474) */
@media (min-width: 481px) and (max-width: 860px) {
    .mw-chapter, .mw-chapter--left, .mw-chapter--right {
        min-height: auto;
        padding: 36vh 24px 24px;
        padding: 36svh 24px 24px;
        justify-content: center;
        align-items: flex-end;
    }
    .mw-panel { width: min(560px, 100%); }
    .mw-films { grid-template-columns: repeat(3, 1fr); }
}

/* Phones held sideways: height is the limit, so use a side card that leaves the car visible */
@media (max-height: 500px) and (orientation: landscape) {
    .mw-chapter, .mw-chapter--left, .mw-chapter--right { min-height: 100vh; padding: 64px 16px 16px; align-items: center; }
    .mw-chapter--left { justify-content: flex-start; }
    .mw-chapter--right { justify-content: flex-end; }
    .mw-panel { width: min(400px, 58%); max-height: calc(100vh - 80px); overflow-y: auto; padding: 16px; }
    .mw-rail { grid-template-rows: auto; }
}

/* Spanned dual-screen / foldable postures: keep each card on one side of the hinge */
@media (horizontal-viewport-segments: 2) {
    .mw-chapter--left  { justify-content: flex-start; padding-right: calc(100vw - env(viewport-segment-right 0 0, 50vw)); }
    .mw-chapter--right { justify-content: flex-end;  padding-left: env(viewport-segment-left 1 0, 50vw); }
    .mw-panel { width: min(520px, 100%); }
}
@media (vertical-viewport-segments: 2) {
    .mw-chapter, .mw-chapter--left, .mw-chapter--right { padding-top: env(viewport-segment-top 0 1, 50vh); }
}

/* Tint lines: one swipeable row on phones and foldables instead of a tall stack */
@media (max-width: 860px) {
    .mw-tiers { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto;
                scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; }
    .mw-tier { scroll-snap-align: start; }
}
@media (min-width: 481px) and (max-width: 860px) {
    .mw-tiers { grid-auto-columns: 62%; }
    .mw-tier__desc { display: block; }
}

/* Nav at in-between widths (foldable inner screens, small laptops): keep every link on one line */
@media (min-width: 769px) and (max-width: 1100px) {
    .nav-inner { padding: 10px 14px !important; }
    .nav-links { gap: 2px !important; }
    .nav-links a { padding: 9px 10px !important; letter-spacing: 1px !important; font-size: 0.72rem !important; white-space: nowrap; }
    .logo { letter-spacing: 1px !important; }
}

/* ==========================================================================
   Navigation: Services menu (mw-nav.js) — every page
   ========================================================================== */
.mw-navgroup { position: relative; display: flex; align-items: center; }
.mw-lbl-mob { display: none; }
.mw-caret { font-style: normal; font-size: 0.7em; margin-left: 4px; opacity: 0.8; }
.mw-submenu { display: none; }

@media (min-width: 769px) {
    .mw-submenu {
        position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
        min-width: 270px; padding: 8px; border-radius: 14px; z-index: 10000;
        flex-direction: column; gap: 2px;
        background: rgba(10,10,15,0.88); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
        border: 1px solid rgba(255,255,255,0.14); box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 14px 40px rgba(0,0,0,0.45);
    }
    .mw-navgroup::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }   /* hover bridge */
    .mw-navgroup:hover .mw-submenu, .mw-navgroup:focus-within .mw-submenu, .mw-navgroup.open .mw-submenu { display: flex; }
    .mw-submenu a.mw-sub { text-align: left !important; white-space: nowrap; padding: 10px 14px !important; letter-spacing: 1px !important; }
    .mw-submenu a.mw-sub--2 { padding: 7px 14px 7px 28px !important; font-size: 0.68rem !important; color: rgba(255,255,255,0.7) !important; text-transform: none !important; letter-spacing: 0.3px !important; }
    .mw-submenu a.mw-sub--all { color: var(--primary) !important; }
}

/* Mobile menu: "All Services" heading + indented sub-items; menu scrolls if tall */
@media (max-width: 768px) {
    .mw-lbl-desk { display: none; }
    .mw-lbl-mob { display: inline; }
    .nav-links.open { max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .mw-navgroup { flex-direction: column; width: 100%; }
    .mw-navgroup > .mw-navhead { width: 100%; }
    .mw-submenu { display: flex; flex-direction: column; width: 100%; padding: 0 0 6px; margin-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .mw-submenu a.mw-sub--all { display: none !important; }            /* the heading itself is "All Services" */
    .mw-submenu a.mw-sub { padding: 10px 14px !important; font-size: 0.72rem !important; opacity: 0.85; }
    .mw-submenu a.mw-sub--2 { padding: 7px 14px !important; font-size: 0.66rem !important; text-transform: none !important; letter-spacing: 0.4px !important; opacity: 0.65; }
    .mw-hamburger { display: block !important; background: none; border: 0; cursor: pointer; padding: 4px; margin-left: auto; }
    .mw-hamburger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }
    /* FAQ never had a mobile menu panel — give it the same one as the other pages */
    .nav-links.open { display: flex !important; position: absolute; top: 100%; left: 5%; right: 5%; flex-direction: column; padding: 16px; border-radius: 13px; }
}
.mw-submenu a[aria-current="page"] { color: var(--primary) !important; opacity: 1 !important; }
body.light-mode .mw-submenu { background: rgba(255,255,255,0.96); border-color: rgba(0,0,0,0.15); }
body.light-mode .mw-submenu a.mw-sub--2 { color: rgba(26,26,46,0.75) !important; }
body.light-mode .mw-hamburger span { background: #1a1a2e; }

/* ==========================================================================
   Opacity pass (user request, 2026-10-02)
   ========================================================================== */
/* Mobile top bar + its drop-down menu: 25 points less transparent */
@media (max-width: 768px) {
    body:not(.light-mode) nav { background: linear-gradient(180deg, rgba(10,10,15,0.97) 0%, rgba(10,10,15,0.63) 100%) !important; }
    body:not(.light-mode) .nav-links { background: rgba(10,10,15,0.80) !important; }
}
/* Every other glass element: 10% darker — a thin dark layer under the same clear glass */
:root {
    --lg-fill: linear-gradient(rgba(5,5,10,0.10), rgba(5,5,10,0.10)),
               linear-gradient(135deg, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0.02) 45%, rgba(255,255,255,0.045) 100%);
}
body:not(.light-mode) :is(.mw-chip, .mw-swatch, .mw-film, .mw-tier, .mw-finish, .mw-search input) {
    background: linear-gradient(rgba(5,5,10,0.10), rgba(5,5,10,0.10)), rgba(255,255,255,0.035) !important;
}
body:not(.light-mode) .form-group input,
body:not(.light-mode) .form-group textarea,
body:not(.light-mode) .form-group select,
body:not(.light-mode) .search-input,
body:not(.light-mode) .vehicle-dropdown {
    background: linear-gradient(rgba(5,5,10,0.10), rgba(5,5,10,0.10)), rgba(255,255,255,0.05) !important;
}
@media (max-width: 768px) { body.light-mode .nav-links.open { background: rgba(255,255,255,0.97) !important; border: 1px solid rgba(0,0,0,0.12); } }

/* ==========================================================================
   Light mode readability (user request, 2026-10-02)
   ========================================================================== */
/* Cards and boxes: a subtle shadow so they sit just above the footage */
body.light-mode :is(.glass, .vinyl-glass, .mw-panel, .faq-item, .product-card, .color-card, .swatch-card, .price-section,
    .mw-tier, .mw-finish, .mw-film, .mw-swatch, .mw-chip, .gallery-item, .booking-container, .booking-success,
    .badge, .btn, .vlt-section-page, .products-section, .back-tint-btn, .vlt-btn, .nav-inner) {
    box-shadow: 0 1px 3px rgba(10, 10, 30, 0.10), 0 8px 24px rgba(10, 10, 30, 0.13) !important;
}

/* Light mode: dark (especially small, thin) words get a thick, soft white frosted halo so they lift off the bright footage.
   Harmless inside white cards; buttons keep their own look. Cyan words below keep their grey shadow. */
body.light-mode :is(h1, h2, h3, h4, h5, p, li, small, label, span, a, td, dt, dd, figcaption,
    .features, .mw-lede, .mw-hint, .vinyl-text, .services-disclaimer, .footer-info, .footer-copy, .footer-logo,
    .mw-tier__desc, .mw-tier__label, .mw-swatch__name, .mw-film__name, .faq-answer-inner, .faq-question-text, .section-title, .section-label):not(button, button *, .btn, .btn *, .cta-btn, .cta-btn *, .submit-btn, .vlt-btn, .vlt-btn *, .mw-chip, .mw-chip *, .theme-toggle, .mw-more, .mw-more *) {
    text-shadow:
        0 0 1px rgba(255, 255, 255, 0.95),
        0 0 3px rgba(255, 255, 255, 0.90),
        0 0 7px rgba(255, 255, 255, 0.80),
        0 0 14px rgba(255, 255, 255, 0.60),
        0 0 24px rgba(255, 255, 255, 0.40) !important;
}

/* Light mode, revised: soft grey blurred shadows instead of hard dark outlines (user request) */
body.light-mode :is(.hero h1 span, .section-title span, .section-label, .logo span, .footer-logo span,
    .mw-subhead, .mw-swatch__code, .mw-tier__price, .mw-film__price, .view-link, .hiw-step,
    .mw-submenu a.mw-sub--all, .mw-submenu a[aria-current="page"],
    .mw-err.mw-ok, .vinyl-title span, .vinyl-title-inner span, .products-title span, .copy-hint, strong, b) {
    text-shadow: 0 1px 6px rgba(70, 72, 84, 0.55), 0 2px 14px rgba(70, 72, 84, 0.35) !important;
}

/* ---- Tiny brand logo just left of the original MYSTIK WRAPZ wordmark ---- */
.logo { display: inline-flex !important; align-items: center; gap: 7px; }
.logo .mw-logo { height: 20px; width: auto; display: block; flex: none; }
.logo .mw-logo--light { display: none; }
body.light-mode .logo .mw-logo--dark { display: none; }
body.light-mode .logo .mw-logo--light { display: block; }
@media (max-width: 768px) { .logo .mw-logo { height: 18px; } .logo { gap: 6px; } }

/* ---- Booking form: multi-select services ---- */
.mw-labelnote { font-weight: 400; text-transform: none; letter-spacing: 0; opacity: 0.7; font-size: 0.85em; }
#serviceDropdownLabel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }

/* ---- Light/dark toggle: one compact size on every page, always inside the bar ---- */
.nav-inner { flex-wrap: nowrap !important; }
.nav-inner .logo { min-width: 0; flex-shrink: 1; }
.theme-toggle {
    width: 32px !important; height: 32px !important; padding: 0 !important; flex: none !important;
    display: inline-flex !important; align-items: center; justify-content: center;
    font-size: 0.9rem !important; line-height: 1 !important; border-radius: 8px !important;
    margin-left: 8px !important;
}
@media (max-width: 768px) {
    .nav-inner .hamburger, .nav-inner #menuToggle { flex: none; margin-left: auto; }
    .theme-toggle { width: 30px !important; height: 30px !important; font-size: 0.82rem !important; margin-left: 6px !important; }
}
@media (max-width: 360px) {
    .theme-toggle { width: 28px !important; height: 28px !important; font-size: 0.78rem !important; margin-left: 4px !important; }
}

/* ---- Booking form on the narrowest phones (≤400px): give the fields the width, not the padding ---- */
@media (max-width: 400px) {
    #booking.section { padding-left: 8px !important; padding-right: 8px !important; }
    .booking-container { padding: 26px 12px !important; }
}

/* ---- Service-page titles: the nav wordmark style — Inter extra-bold, all caps, wide spacing, last word cyan ---- */
.vinyl-title {
    font-family: 'Inter', sans-serif !important; font-weight: 800 !important; text-transform: uppercase;
    font-size: clamp(1.7rem, 5vw, 2.7rem) !important; letter-spacing: 3px !important;
    text-decoration: none !important; line-height: 1.15; margin-bottom: 24px !important;
}
.vinyl-title span { color: var(--primary); }
@media (max-width: 480px) { .vinyl-title { letter-spacing: 2px !important; } }

/* ---- Subpage garage background on its own screen-pinned layer.
   iPhone Safari ignores "background-attachment: fixed" and stretches the photo over the whole page,
   which showed as a grey seam through tall glass cards (e.g. PPF "Invisible Armor") until a repaint. ---- */
html:has(body.mw-subpage:not(.light-mode)) { background: #0a0a0f !important; }
body:not(.light-mode).mw-subpage { background: transparent !important; }
body:not(.light-mode).mw-subpage::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10,10,15,0.62) 0%, rgba(10,10,15,0.38) 45%, rgba(10,10,15,0.7) 100%),
        url('/assets/garage-7.9.jpg') center / cover no-repeat;
    transform: translateZ(0);
}
/* Large glass panels get their own layer on touch screens so the blur repaints cleanly while scrolling. */
@media (hover: none) {
    body:not(.light-mode) :is(.vinyl-glass, .glass, .price-section, .products-section, .colors-section, .vlt-section-page, .vlt-shop-section, .card-section) {
        transform: translateZ(0);
    }
}

/* ---- A little air between the light/dark button and the menu button on phones ---- */
@media (max-width: 768px) { .theme-toggle { margin-left: 12px !important; } }
@media (max-width: 360px) { .theme-toggle { margin-left: 9px !important; } }

/* ---- Service pages: neon orbs drifting in the background (added by mw-nav.js) ---- */
.mw-orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.mw-orb {
    position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
    background: radial-gradient(circle at center, var(--c) 0%, transparent 62%);
    opacity: 0.30; mix-blend-mode: screen; will-change: transform;
    animation: mw-drift 26s ease-in-out infinite alternate;
}
.mw-orb--1 { left: -30vmax; top: -25vmax; }
.mw-orb--2 { right: -32vmax; top: 10vh;  animation-duration: 31s; animation-delay: -8s; }
.mw-orb--3 { left: -20vmax; bottom: -35vmax; animation-duration: 23s; animation-delay: -14s; opacity: 0.24; }
.mw-orb--4 { right: -25vmax; bottom: -30vmax; animation-duration: 35s; animation-delay: -4s; opacity: 0.22; }
@keyframes mw-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(12vmax, 8vmax, 0) scale(1.12); }
    100% { transform: translate3d(-6vmax, 14vmax, 0) scale(0.92); }
}
body.light-mode .mw-orb { mix-blend-mode: normal; opacity: 0.16; }
body.light-mode .mw-orb--3, body.light-mode .mw-orb--4 { opacity: 0.12; }
@media (prefers-reduced-motion: reduce) { .mw-orb { animation: none; } }

/* ---- Phones: cards sit in from the screen edges (~24px each side) instead of reaching the border ---- */
@media (max-width: 480px) {
    .mw-chapter, .mw-chapter--left, .mw-chapter--right { padding-left: 24px !important; padding-right: 24px !important; }
    #booking.section { padding-left: 22px !important; padding-right: 22px !important; }
    .booking-container { padding: 24px 14px !important; }
    body:not(.mw-subpage) :is(.hiw-card, .card-section, .gallery-grid) { max-width: calc(100% - 10px); margin-left: auto !important; margin-right: auto !important; }
    .mw-subpage :is(.vinyl-glass, .products-section, .colors-section, .vlt-section-page, .vlt-shop-section, .price-section, .gallery-grid) {
        max-width: calc(100% - 16px); margin-left: auto !important; margin-right: auto !important;
    }
}
@media (max-width: 360px) {    /* smallest phones: a bit less, so the content keeps its room */
    .mw-chapter, .mw-chapter--left, .mw-chapter--right { padding-left: 16px !important; padding-right: 16px !important; }
    #booking.section { padding-left: 14px !important; padding-right: 14px !important; }
    .booking-container { padding: 22px 12px !important; }
    .mw-subpage :is(.vinyl-glass, .products-section, .colors-section, .vlt-section-page, .vlt-shop-section, .price-section, .gallery-grid) { max-width: calc(100% - 8px); }
}

/* ---- Homepage glass: a touch less transparent (barely) ---- */
body:not(.mw-subpage) {
    --lg-fill: linear-gradient(rgba(5,5,10,0.13), rgba(5,5,10,0.13)),
               linear-gradient(135deg, rgba(255,255,255,0.085) 0%, rgba(255,255,255,0.025) 45%, rgba(255,255,255,0.05) 100%);
}

/* ---- Booking dropdowns: Safari/iPhone draw native selects small and ignore sizing — use our own look ---- */
.form-group select {
    -webkit-appearance: none !important; appearance: none !important;
    min-height: 46px; padding-right: 40px !important; line-height: 1.2;
}
body:not(.light-mode) .form-group select {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cfd3dc' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center / 14px 14px,
        linear-gradient(rgba(5,5,10,0.10), rgba(5,5,10,0.10)), rgba(255,255,255,0.05) !important;
}
body.light-mode .form-group select {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a2e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center / 14px 14px,
        #ffffff !important;
}

/* ---- Color search row: the input shrinks to fit narrow phones instead of pushing the page sideways ---- */
.mw-search input { min-width: 0; flex: 1 1 auto; width: 100%; }
.mw-search span { flex: none; }

/* ---------- 3D Studio button: in the middle of the nav bar, between the logo and the links (desktop); a menu item in the mobile menu ---------- */
.mw-studio-btn { order: 0; margin: 0 auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px; font-family: inherit; font-weight: 800; font-size: 0.85rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, rgba(0,240,255,0.18), rgba(255,79,216,0.18)); border: 1px solid rgba(0,240,255,0.6);
  box-shadow: 0 0 18px rgba(0,240,255,0.35), inset 0 0 12px rgba(255,79,216,0.15); transition: box-shadow .25s, transform .25s; }
.mw-studio-btn:hover { box-shadow: 0 0 28px rgba(0,240,255,0.6), inset 0 0 16px rgba(255,79,216,0.3); transform: scale(1.04); }
/* The "dot" is the Studio's Ferrari 458 turning on a turntable (assets/nav/ferrari-spin.webp: 48 frames of 240x120 side by
   side, rendered by _src/nav-ferrari/render.cjs), wrapped in the same cyan -> pink glow the old square pulsed with. */
.mw-studio-dot { flex: none; width: 46px; height: 23px; margin: -4px 0; background: url(/assets/nav/ferrari-spin.webp) 0 0 / 4800% 100% no-repeat;
  filter: drop-shadow(0 0 3px #00F0FF) drop-shadow(0 0 9px rgba(0,240,255,0.75));
  animation: mwStudioSpin 4s steps(48) infinite, mwStudioPulse 2s ease-in-out infinite; }
@keyframes mwStudioSpin { to { background-position: 102.1277% 0; } }   /* 48/47: each step lands exactly on a frame */
@keyframes mwStudioPulse { 50% { filter: drop-shadow(0 0 3px #ff4fd8) drop-shadow(0 0 9px rgba(255,79,216,0.75)); } }
@media (prefers-reduced-motion: reduce) { .mw-studio-dot { animation: none; background-position: 12.766% 0; } }
body.light-mode .mw-studio-btn { color: #0a0a0f; background: linear-gradient(135deg, rgba(0,200,230,0.16), rgba(230,60,190,0.14)); border-color: rgba(0,160,200,0.7); box-shadow: 0 0 14px rgba(0,180,220,0.3); }
.nav-links .mw-studio-link { display: none; }
@media (max-width: 1180px) { .mw-studio-btn { display: none; } .nav-links .mw-studio-link { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; color: #00F0FF; } }


/* Late-cancellation notice below the nav bar on every page (mw-nav.js policyBar, 2026-10-27). */
.mw-policy-bar { max-width: 1100px; margin: 8px auto 0; padding: 6px 14px; text-align: center;
  font-size: 0.74rem; line-height: 1.4; letter-spacing: 0.2px; color: rgba(255,255,255,0.82);
  background: rgba(0,240,255,0.07); border: 1px solid rgba(0,240,255,0.18); border-radius: 10px; }
.mw-policy-bar strong { color: #00f0ff; font-weight: 700; }
body.light-mode .mw-policy-bar { color: rgba(0,0,0,0.78); background: rgba(0,140,160,0.08); border-color: rgba(0,140,160,0.25); }
body.light-mode .mw-policy-bar strong { color: #007a8a; }
@media (max-width: 600px) { .mw-policy-bar { font-size: 0.68rem; padding: 5px 10px; margin: 6px auto 0; } }

/* Booking form (v16): grouped service list + phone/text notice */
.mw-svc-group { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #6b6b7b; padding: 12px 8px 4px; }
.mw-svc-group:first-child { padding-top: 4px; }
.mw-phone-note { font-size: 0.76rem; line-height: 1.5; color: #9a9aa8; margin: 8px 0 0; }
.mw-phone-note strong { color: #d6d6e0; font-weight: 600; }
body.light-mode .mw-phone-note { color: #555; }
body.light-mode .mw-phone-note strong { color: #1a1a2e; }

/* Tron chapter (v16): demo card with the 3D McLaren */
.mw-tron { --tron: #00f0ff; margin: 18px 0 6px; }
.mw-tron__stage { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #06070b;
  border: 1px solid rgba(255,255,255,0.10); box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 18px 50px -20px var(--tron); contain: layout paint; }
.mw-tron__poster, .mw-tron__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mw-tron__poster { object-fit: cover; transition: opacity .35s ease; }
.mw-tron__canvas { opacity: 0; transition: opacity .35s ease; cursor: grab; }
.mw-tron__canvas:active { cursor: grabbing; }
.mw-tron.is-3d .mw-tron__canvas { opacity: 1; }
.mw-tron.is-3d .mw-tron__poster { opacity: 0; }
.mw-tron__tag { position: absolute; left: 10px; bottom: 10px; z-index: 2; pointer-events: none; font-size: 0.68rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.75); background: rgba(0,0,0,0.45); padding: 4px 9px; border-radius: 999px; }
.mw-tron.is-loading .mw-tron__tag::after { content: ' · loading'; }
.mw-tron__row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mw-tron__chip { font: inherit; font-size: 0.78rem; padding: 7px 12px; min-height: 36px; border-radius: 999px; cursor: pointer;
  color: #e9e9f2; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); transition: background .15s, border-color .15s, box-shadow .15s; }
.mw-tron__chip:hover { background: rgba(255,255,255,0.12); }
.mw-tron__chip[aria-checked="true"] { border-color: var(--tron); box-shadow: 0 0 0 1px var(--tron), 0 0 14px -4px var(--tron); background: rgba(255,255,255,0.10); }
.mw-tron__colors button { width: 30px; height: 30px; border-radius: 50%; cursor: pointer; background: var(--c); border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 0 10px -2px var(--c); transition: transform .15s; padding: 0; }
.mw-tron__colors button[aria-checked="true"] { border-color: #fff; transform: scale(1.12); box-shadow: 0 0 0 2px rgba(0,0,0,0.6), 0 0 16px var(--c); }
.mw-tron__code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.mw-tron__code .mw-chip { font-family: ui-monospace, Menlo, monospace; letter-spacing: 0.02em; }
.mw-tron__book { font-size: 0.82rem; font-weight: 600; color: var(--tron); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.mw-tron :focus-visible { outline: 2px solid var(--tron); outline-offset: 2px; }
body.light-mode .mw-tron__chip { color: #1a1a2e; background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.2); }
body.light-mode .mw-tron__book { color: #007f88; }
@media (max-width: 600px) {
  .mw-tron__stage { aspect-ratio: 4 / 3; }
  .mw-tron__chip { font-size: 0.74rem; padding: 6px 10px; }
  .mw-tron__colors button { width: 32px; height: 32px; }
}
.form-group label.vehicle-checkbox-label { display: flex; align-items: center; text-transform: none; letter-spacing: normal; font-size: 0.88rem; font-weight: 500; line-height: 1.35; margin-bottom: 0; }

/* Booking (v17): deposit notice at the top of the form */
.mw-deposit { display: flex; flex-direction: column; gap: 4px; margin: 0 0 22px; padding: 14px 16px; border-radius: 12px;
  background: rgba(0,240,255,0.08); border: 1px solid rgba(0,240,255,0.45); box-shadow: 0 0 18px -8px rgba(0,240,255,0.6); }
.mw-deposit strong { color: #00f0ff; font-size: 1rem; font-weight: 700; letter-spacing: 0.01em; }
.mw-deposit span { color: #d6d6e0; font-size: 0.84rem; line-height: 1.5; }
body.light-mode .mw-deposit { background: rgba(0,140,160,0.08); border-color: rgba(0,127,136,0.5); box-shadow: none; }
body.light-mode .mw-deposit strong { color: #007f88; }
body.light-mode .mw-deposit span { color: #333; }
.mw-tron__colorname { margin: 6px 0 0; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tron); }

/* Review fixes (v17) */
body:not(.light-mode) .hiw-card p { color: #c9c9d6; }
/* Light mode: cyan accents in a teal that reads on white. Headings keep the soft grey shadow (Mystik's request);
   small accent text drops it, because on 12-14px text it smears into a blur. */
:root body.light-mode :is(.section-title span, .hero h1 span, .logo span, .footer-logo span, .vinyl-title span, .vinyl-title-inner span, .products-title span) {
    color: #00a3b5 !important; text-shadow: 0 1px 5px rgba(70, 72, 84, 0.35) !important;
}
:root body.light-mode :is(.mw-lede strong, .mw-finish strong, .mw-swatch__code, .mw-subhead, .copy-hint, .mw-err.mw-ok, .section-label, .hiw-step,
    .mw-deposit strong, .mw-policy-bar strong, .card-checkbox strong, .card-section-desc strong, .mw-phone-note strong, .mw-tron__tag, .mw-tron__colorname, .mw-tron__book) {
    text-shadow: none !important;
}
:root body.light-mode :is(.mw-lede strong, .mw-finish strong, .mw-swatch__code, .card-checkbox strong) { color: #007f88 !important; }
:root body.light-mode .mw-tron__colors button { border-color: rgba(0, 0, 0, 0.3); }
:root body.light-mode .mw-tron__colors button[aria-checked="true"] { border-color: #1a1a2e; }
:root body.light-mode .mw-tron__colorname { color: #1a1a2e; }

/* Local pages (v19): /fleet and /service-areas, built by _src/seo/build-pages.py */
.mw-article { max-width: 900px; margin: 0 auto; padding: 0 5% 60px; display: grid; gap: 18px; }
.mw-card { padding: 24px 26px; border-radius: 16px; }
.mw-card h2 { font-family: 'Inter', sans-serif; font-size: 1.15rem; font-weight: 800; letter-spacing: 0.02em; margin: 0 0 12px; color: #fff; }
.mw-card p, .mw-card li { font-family: 'Inter', sans-serif; font-size: 0.95rem; line-height: 1.65; color: #d6d6e0; }
.mw-card p + p { margin-top: 10px; }
.mw-card ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.mw-card a { color: #00f0ff; }
.mw-card strong { color: #fff; }
.mw-cols { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); column-gap: 24px; }
.mw-areas { list-style: none; padding: 0 !important; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px !important; margin-top: 12px !important; }
.mw-areas li { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.mw-areas li span { font-size: 0.8rem; color: #9a9aa8; }
.mw-card__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px !important; }
.mw-btn { display: inline-block; padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; background: #00f0ff; color: #05060a !important; }
.mw-btn--ghost { background: transparent; color: #00f0ff !important; border: 1px solid #00f0ff; }
:root body.light-mode .mw-card h2, :root body.light-mode .mw-card strong { color: #1a1a2e; text-shadow: none !important; }
:root body.light-mode .mw-card p, :root body.light-mode .mw-card li { color: #333; }
:root body.light-mode .mw-card a { color: #007f88; }
:root body.light-mode .mw-areas li { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.12); }
:root body.light-mode .mw-areas li span { color: #555; }
:root body.light-mode .mw-btn { color: #05060a !important; }
:root body.light-mode .mw-btn--ghost { color: #007f88 !important; border-color: #007f88; }
.footer-links { margin-top: 10px; font-size: 0.85rem; }
.footer-links a { color: #00f0ff; text-decoration: none; }
.footer-legal { margin-top: 10px; font-size: 0.8rem; opacity: .75; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-areas { max-width: 720px; margin: 8px auto 0; font-size: 0.75rem; line-height: 1.6; color: #8a8a98; }
:root body.light-mode .footer-links a { color: #007f88; text-shadow: none !important; }
:root body.light-mode .footer-areas { color: #555; }
.mw-card { background: rgba(12, 12, 20, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); }
.mw-subpage .hero p { color: #e4e4ec; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.9); }
:root body.light-mode .mw-card { background: rgba(255, 255, 255, 0.92); border-color: rgba(0, 0, 0, 0.12); }
.mw-subpage footer .footer-info, .mw-subpage footer .footer-copy { text-align: center; }
:root body .mw-card.glass { background: rgba(12, 12, 20, 0.8) !important; }
:root body.light-mode .mw-card.glass { background: rgba(255, 255, 255, 0.92) !important; }

/* Touch screens: every control at least 44 px to the finger (Apple / WCAG). The light/dark button keeps its
   compact look; an invisible ring around it takes the tap. */
@media (pointer: coarse) {
    .hamburger, .mw-hamburger { padding: 11px !important; margin-right: -11px; }
    .theme-toggle { position: relative; }
    .theme-toggle::after { content: ""; position: absolute; inset: -8px; border-radius: 12px; }
}
@media (pointer: coarse) and (max-width: 768px) {
    .nav-links.open a { min-height: 44px; display: flex; align-items: center; }
    .mw-submenu a.mw-sub--2 { font-size: 0.74rem !important; }
}
@media (pointer: coarse) {
    .logo { min-height: 44px; }
    .nav-links > a:not(.mw-studio-link), .nav-links .mw-navhead { min-height: 44px; display: inline-flex; align-items: center; }
    .nav-links .mw-studio-link, .mw-studio-btn { min-height: 44px; }
    .mw-chip, .mw-more, .mw-tron__chip { min-height: 44px; }
    .mw-tron__book { display: inline-flex; align-items: center; min-height: 44px; }
    .vlt-btn, .back-tint-btn, .home-btn { min-height: 44px; }
    .back-tint-btn { min-width: 44px; }
    .mw-tron__colors button { position: relative; }
    .mw-tron__colors button::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; }
    /* nothing under ~11.5px on a phone or tablet */
    .mw-panel .section-label, .mw-policy-bar, .mw-swatch__name, .mw-swatch__code, .hiw-step, .footer-copy, .mw-svc-group, .mw-tron__tag { font-size: max(0.72rem, 11.5px) !important; }
    .mw-labelnote { font-size: max(0.85em, 11.5px); }
    /* 16 px form text: iOS Safari zooms the whole page in on a smaller field and leaves it zoomed */
    .form-group :is(input, select, textarea), .mw-search input, .search-input, .vehicle-dropdown { font-size: 16px !important; }
}

/* Spanned across a hinge side by side (Surface Duo, Z Fold book posture): every block stays on one screen.
   Hero and chapter cards sit on their own screen; plain sections use the right-hand screen. */
@media (horizontal-viewport-segments: 2) {
    .hero { padding-left: 24px !important; padding-right: calc(100vw - env(viewport-segment-right 0 0) + 24px) !important; align-items: flex-start; text-align: left; }
    .hero > * { max-width: calc(env(viewport-segment-width 0 0) - 48px); }
    .mw-chapter--left { padding-left: 16px !important; padding-right: calc(100vw - env(viewport-segment-right 0 0) + 16px) !important; }
    .mw-chapter--right { padding-left: calc(env(viewport-segment-left 1 0) + 16px) !important; padding-right: 16px !important; }
    .mw-chapter .mw-panel { width: calc(env(viewport-segment-width 0 0) - 32px) !important; max-width: none; }
    body:not(.mw-subpage) .section > .container, .mw-services-intro, .mw-article, .mw-subpage > .container, .mw-subpage > section > .container, .mw-subpage > .faq-tools, .mw-subpage > .faq-container { margin-left: env(viewport-segment-left 1 0) !important; margin-right: 0 !important;
        width: auto !important; max-width: env(viewport-segment-width 1 0) !important; padding-left: 16px !important; padding-right: 16px !important; box-sizing: border-box; }
}

/* Lights panel: custom light builds as single-column rows (layout only; type matches the live site). */
.mw-finishes--grid { grid-template-columns: 1fr; }

/* Square's card box in the booking form (mw-pay.js, 2026-11-19) */
.mw-sqbox .mw-sqcard { min-height: 52px; }
.mw-sqbox .mw-sqnote { display: block; margin-top: 6px; font-size: 0.78rem; color: rgba(255,255,255,0.62); line-height: 1.45; }
.mw-sqbox .mw-sqnote.mw-err { color: #ff8a8a; }
.mw-mockcard { width: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: 12px; border: 1px dashed #ffb347; background: #0f0f1c; color: #fff; font: inherit; font-size: 16px; }
body.light-mode .mw-sqbox .mw-sqnote { color: rgba(26,26,46,0.7); }
