/*
 * Shared frontend system
 * Theme with body[data-theme="velocity"] or body.theme-velocity (and equivalent names).
 * Interactive hooks are enhanced by public/assets/js/site.js but remain usable without it.
 */

@layer reset, base, layout, components, themes, utilities;

@layer reset {
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html {
        color-scheme: light;
        scroll-behavior: smooth;
        text-size-adjust: 100%;
    }

    body,
    h1,
    h2,
    h3,
    p,
    figure,
    blockquote,
    dl,
    dd {
        margin: 0;
    }

    body {
        min-width: 0;
        min-height: 100vh;
    }

    img,
    svg,
    video,
    canvas {
        display: block;
        max-width: 100%;
        height: auto;
    }

    button,
    input,
    select,
    textarea {
        max-width: 100%;
        font: inherit;
    }

    button,
    select {
        cursor: pointer;
    }

    a {
        color: inherit;
    }

    [hidden] {
        display: none !important;
    }
}

@layer base {
    :root {
        --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        --font-display: var(--font-sans);
        --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
        --page: #f5f5f2;
        --surface: #ffffff;
        --surface-2: #ecece7;
        --ink: #151713;
        --muted: #5c6259;
        --line: #c9cdc4;
        --brand: #174f3a;
        --brand-ink: #ffffff;
        --accent: #d3ec77;
        --danger: #a32929;
        --focus: #095fcc;
        --radius-sm: 0.25rem;
        --radius: 0.625rem;
        --radius-lg: 1rem;
        --shadow: 0 0.75rem 2.25rem rgb(24 31 24 / 10%);
        --container: 76rem;
        --measure: 43rem;
        --gutter: clamp(1rem, 4vw, 2.5rem);
        --section-space: clamp(3.5rem, 8vw, 7.5rem);
        --card-space: clamp(1.125rem, 2.5vw, 1.75rem);
        --header-height: 4.75rem;
        --transition: 180ms ease;
    }

    body {
        overflow-x: hidden;
        background: var(--page);
        color: var(--ink);
        font-family: var(--font-sans);
        font-size: 1rem;
        line-height: 1.6;
        text-rendering: optimizeLegibility;
    }

    h1,
    h2,
    h3,
    h4 {
        color: var(--ink);
        font-family: var(--font-display);
        font-weight: 700;
        line-height: 1.08;
        text-wrap: balance;
    }

    h1 {
        font-size: clamp(2.5rem, 7vw, 5.75rem);
        letter-spacing: -0.055em;
    }

    h2 {
        font-size: clamp(2rem, 4.4vw, 3.75rem);
        letter-spacing: -0.04em;
    }

    h3 {
        font-size: clamp(1.25rem, 2vw, 1.625rem);
        letter-spacing: -0.02em;
    }

    p,
    li,
    dd {
        max-width: 72ch;
    }

    ::selection {
        background: var(--accent);
        color: var(--ink);
    }

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

    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
        outline-offset: 0;
    }
}

@layer layout {
    .site-shell {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .container,
    .content-wrap {
        width: min(100% - (2 * var(--gutter)), var(--container));
        margin-inline: auto;
    }

    .container--narrow,
    .content-wrap--narrow {
        max-width: 54rem;
    }

    .section {
        padding-block: var(--section-space);
    }

    .section--compact {
        padding-block: calc(var(--section-space) * 0.62);
    }

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

    .section-header {
        display: grid;
        gap: 1rem;
        margin-bottom: clamp(2rem, 5vw, 4rem);
    }

    .section-header > p {
        color: var(--muted);
        font-size: clamp(1rem, 1.7vw, 1.2rem);
    }

    .stack {
        display: flex;
        flex-direction: column;
        gap: var(--stack-space, 1.25rem);
    }

    .cluster {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--cluster-space, 0.75rem);
    }

    .split {
        display: grid;
        gap: clamp(2rem, 5vw, 5rem);
    }

    .prose {
        max-width: var(--measure);
    }

    .prose > * + * {
        margin-top: 1.15em;
    }

    .prose h2,
    .prose h3 {
        margin-top: 1.6em;
    }

    .prose ul,
    .prose ol {
        padding-left: 1.25rem;
    }

    @media (min-width: 48rem) {
        .split {
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            align-items: start;
        }

        .section-header--split {
            grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.75fr);
            align-items: end;
        }
    }
}

@layer components {
    .eyebrow,
    .hero__kicker,
    .detail__label {
        color: var(--brand);
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.14em;
        line-height: 1.3;
        text-transform: uppercase;
    }

    .button,
    .btn {
        display: inline-flex;
        min-height: 3rem;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--brand);
        border-radius: var(--radius-sm);
        padding: 0.75rem 1.25rem;
        background: var(--brand);
        color: var(--brand-ink);
        font-weight: 750;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
    }

    .button:hover,
    .btn:hover {
        background: var(--ink);
        border-color: var(--ink);
    }

    .button:active,
    .btn:active {
        transform: translateY(1px);
    }

    .button--secondary,
    .btn--secondary {
        background: transparent;
        color: var(--ink);
        border-color: var(--line);
    }

    .button--secondary:hover,
    .btn--secondary:hover {
        background: var(--surface-2);
        border-color: var(--ink);
        color: var(--ink);
    }

    .button--block,
    .btn--block {
        width: 100%;
    }

    .skip-link {
        position: fixed;
        z-index: 1000;
        top: 0.75rem;
        left: 0.75rem;
        transform: translateY(-200%);
        padding: 0.7rem 1rem;
        background: var(--ink);
        color: var(--page);
        font-weight: 700;
    }

    .skip-link:focus {
        transform: none;
    }

    .site-header {
        position: relative;
        z-index: 20;
        border-bottom: 1px solid var(--line);
        background: var(--page);
    }

    .site-header__inner {
        display: flex;
        min-height: var(--header-height);
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        width: min(100% - (2 * var(--gutter)), var(--container));
        margin-inline: auto;
    }

    .site-brand,
    .brand {
        display: inline-flex;
        flex: 0 1 auto;
        align-items: center;
        color: var(--ink);
        font-family: var(--font-display);
        font-size: 1.05rem;
        font-weight: 850;
        letter-spacing: -0.025em;
        line-height: 1.1;
        text-decoration: none;
    }

    .nav-toggle {
        display: none;
        min-width: 3rem;
        min-height: 3rem;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--line);
        border-radius: var(--radius-sm);
        padding: 0.625rem;
        background: transparent;
        color: var(--ink);
        font-weight: 750;
    }

    .site-nav ul,
    .nav-list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: clamp(0.25rem, 1.5vw, 1.5rem);
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .site-nav a {
        display: inline-flex;
        min-height: 2.75rem;
        align-items: center;
        padding: 0.5rem 0.45rem;
        color: var(--muted);
        font-weight: 680;
        line-height: 1.2;
        text-decoration: none;
    }

    .site-nav a:hover,
    .site-nav a[aria-current="page"] {
        color: var(--ink);
    }

    .hero {
        min-height: min(48rem, calc(100vh - var(--header-height)));
        min-height: min(48rem, calc(100svh - var(--header-height)));
        display: grid;
        align-items: center;
        padding-block: clamp(3.5rem, 9vw, 8rem);
    }

    .hero__inner {
        display: grid;
        gap: clamp(2.5rem, 7vw, 6rem);
        width: min(100% - (2 * var(--gutter)), var(--container));
        margin-inline: auto;
    }

    .hero__content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.35rem;
        min-width: 0;
    }

    .hero__title {
        max-width: 14ch;
    }

    .hero__lead {
        max-width: 40rem;
        color: var(--muted);
        font-size: clamp(1.05rem, 2vw, 1.35rem);
        line-height: 1.55;
    }

    .hero__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 0.5rem;
    }

    .hero__aside,
    .hero__visual {
        min-width: 0;
    }

    .card-grid,
    .fleet-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
        gap: clamp(1rem, 2.5vw, 1.75rem);
    }

    .card,
    .fleet-card {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 1rem;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        padding: var(--card-space);
        background: var(--surface);
    }

    .card > :last-child,
    .fleet-card > :last-child {
        margin-top: auto;
    }

    .card__meta,
    .fleet-card__meta,
    .spec-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
        margin: 0;
        padding: 0;
        color: var(--muted);
        font-size: 0.9rem;
        list-style: none;
    }

    .card__link,
    .text-link {
        width: fit-content;
        color: var(--brand);
        font-weight: 750;
        text-underline-offset: 0.2em;
    }

    .fleet-card__media,
    .card__media,
    .media-placeholder {
        display: grid;
        min-height: 10rem;
        place-items: center;
        overflow: hidden;
        border-radius: calc(var(--radius) * 0.7);
        background: var(--surface-2);
        color: var(--muted);
    }

    .booking-panel,
    .booking {
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        padding: clamp(1.25rem, 4vw, 2.5rem);
        background: var(--surface);
        box-shadow: var(--shadow);
    }

    .booking-panel__header,
    .booking__header {
        display: grid;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .booking-progress {
        display: flex;
        gap: 0.375rem;
        margin: 0 0 1.5rem;
        padding: 0;
        list-style: none;
    }

    .booking-progress > * {
        flex: 1;
        border-top: 3px solid var(--line);
        padding-top: 0.5rem;
        color: var(--muted);
        font-size: 0.75rem;
    }

    .booking-progress [aria-current="step"],
    .booking-progress .is-complete {
        border-color: var(--brand);
        color: var(--ink);
    }

    .booking-step {
        min-width: 0;
    }

    .booking-step + .booking-step {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid var(--line);
    }

    .booking-enhanced .booking-step + .booking-step {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    .form-grid {
        display: grid;
        gap: 1rem;
    }

    .field {
        display: grid;
        min-width: 0;
        gap: 0.4rem;
    }

    .field label,
    .field__label {
        font-size: 0.875rem;
        font-weight: 750;
    }

    .field input,
    .field select,
    .field textarea {
        width: 100%;
        min-height: 3rem;
        border: 1px solid var(--line);
        border-radius: var(--radius-sm);
        padding: 0.7rem 0.8rem;
        background: var(--page);
        color: var(--ink);
    }

    .field textarea {
        min-height: 7rem;
        resize: vertical;
    }

    .field input::placeholder,
    .field textarea::placeholder {
        color: color-mix(in srgb, var(--muted) 85%, transparent);
    }

    .field__help,
    .form-help {
        color: var(--muted);
        font-size: 0.8rem;
    }

    .field__error,
    .form-error,
    [aria-invalid="true"] + .field__help {
        color: var(--danger);
    }

    .booking-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .disclosure {
        border-top: 1px solid var(--line);
    }

    .disclosure:last-child {
        border-bottom: 1px solid var(--line);
    }

    details.disclosure > summary,
    .disclosure__trigger {
        width: 100%;
        min-height: 3.75rem;
        padding: 1rem 0;
        background: transparent;
        color: var(--ink);
        font-weight: 750;
        text-align: left;
    }

    details.disclosure > summary {
        cursor: pointer;
    }

    .disclosure__trigger {
        border: 0;
    }

    .disclosure__content {
        padding: 0 0 1.25rem;
        color: var(--muted);
    }

    .detail-hero {
        padding-block: clamp(3rem, 8vw, 7rem);
        border-bottom: 1px solid var(--line);
    }

    .detail-hero__inner {
        display: grid;
        gap: clamp(2rem, 5vw, 5rem);
        width: min(100% - (2 * var(--gutter)), var(--container));
        margin-inline: auto;
    }

    .detail-hero__content {
        display: grid;
        align-content: start;
        gap: 1.25rem;
        min-width: 0;
    }

    .detail-hero__aside {
        min-width: 0;
        border-left: 1px solid var(--line);
        padding-left: clamp(1rem, 3vw, 2.5rem);
    }

    .detail-layout {
        display: grid;
        gap: clamp(2rem, 6vw, 5rem);
    }

    .detail-sidebar {
        min-width: 0;
    }

    .detail-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
        gap: 1px;
        overflow: hidden;
        border: 1px solid var(--line);
        background: var(--line);
    }

    .detail-list > div {
        min-width: 0;
        padding: 1rem;
        background: var(--surface);
    }

    .detail-list dt {
        color: var(--muted);
        font-size: 0.75rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .detail-list dd {
        margin-top: 0.25rem;
        font-weight: 750;
        overflow-wrap: anywhere;
    }

    .site-footer {
        padding-block: clamp(2.5rem, 6vw, 5rem);
        border-top: 1px solid var(--line);
        background: var(--ink);
        color: var(--page);
    }

    .site-footer a {
        text-underline-offset: 0.2em;
    }

    @media (min-width: 40rem) {
        .form-grid--2,
        .form-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .field--full,
        .form-grid > .booking-actions {
            grid-column: 1 / -1;
        }
    }

    @media (min-width: 52rem) {
        .hero__inner {
            grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
            align-items: center;
        }

        .detail-hero__inner {
            grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.6fr);
            align-items: end;
        }

        .detail-layout {
            grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.36fr);
        }

        .detail-sidebar {
            position: sticky;
            top: 1.5rem;
        }
    }

    @media (max-width: 47.999rem) {
        html.js .nav-toggle {
            display: inline-flex;
        }

        .site-header__inner {
            flex-wrap: wrap;
        }

        .site-nav {
            width: 100%;
            padding-bottom: 1rem;
        }

        html.js .site-nav[data-mobile-nav][hidden] {
            display: none !important;
        }

        .site-nav ul,
        .nav-list {
            align-items: stretch;
            flex-direction: column;
            gap: 0;
        }

        .site-nav a {
            width: 100%;
            border-top: 1px solid var(--line);
            padding-inline: 0;
        }

        .hero {
            min-height: auto;
        }

        .hero__actions,
        .hero__actions .button,
        .hero__actions .btn {
            width: 100%;
        }

        .detail-hero__aside {
            border-top: 1px solid var(--line);
            border-left: 0;
            padding-top: 1.5rem;
            padding-left: 0;
        }
    }
}

@layer themes {
    /* Velocity: compressed, technical, high-energy dark interface. */
    :is(body[data-theme="velocity"], body.theme-velocity) {
        --font-display: "Arial Narrow", "Roboto Condensed", Impact, var(--font-sans);
        --page: #0e1110;
        --surface: #171b19;
        --surface-2: #242a26;
        --ink: #f4f7ed;
        --muted: #adb8ad;
        --line: #3b443e;
        --brand: #c9f227;
        --brand-ink: #10130c;
        --accent: #c9f227;
        --focus: #ffffff;
        --radius-sm: 0;
        --radius: 0;
        --radius-lg: 0;
        --shadow: none;
        --container: 82rem;
        --section-space: clamp(3rem, 6vw, 5.75rem);
        --card-space: clamp(1rem, 2vw, 1.5rem);
        letter-spacing: 0.005em;
    }

    :is(body[data-theme="velocity"], body.theme-velocity) h1,
    :is(body[data-theme="velocity"], body.theme-velocity) h2 {
        font-style: italic;
        font-weight: 900;
        letter-spacing: -0.035em;
        text-transform: uppercase;
    }

    :is(body[data-theme="velocity"], body.theme-velocity) .site-header {
        border-bottom: 3px solid var(--brand);
        background: var(--ink);
        color: var(--page);
    }

    :is(body[data-theme="velocity"], body.theme-velocity) .site-header .site-brand,
    :is(body[data-theme="velocity"], body.theme-velocity) .site-header .site-nav a,
    :is(body[data-theme="velocity"], body.theme-velocity) .site-header .nav-toggle {
        color: var(--page);
    }

    :is(body[data-theme="velocity"], body.theme-velocity) .site-nav a {
        font-family: var(--font-mono);
        font-size: 0.78rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    :is(body[data-theme="velocity"], body.theme-velocity) .hero {
        border-bottom: 1px solid var(--line);
    }

    :is(body[data-theme="velocity"], body.theme-velocity) .hero__inner {
        grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.5fr);
        align-items: end;
    }

    :is(body[data-theme="velocity"], body.theme-velocity) .hero__content {
        border-left: clamp(0.4rem, 1vw, 0.8rem) solid var(--brand);
        padding-left: clamp(1rem, 3vw, 2.5rem);
    }

    :is(body[data-theme="velocity"], body.theme-velocity) .card-grid,
    :is(body[data-theme="velocity"], body.theme-velocity) .fleet-grid {
        gap: 2px;
        background: var(--line);
    }

    :is(body[data-theme="velocity"], body.theme-velocity) :is(.card, .fleet-card) {
        border: 0;
        border-top: 4px solid var(--brand);
    }

    :is(body[data-theme="velocity"], body.theme-velocity) :is(.booking-panel, .booking) {
        border: 1px solid var(--brand);
        border-top-width: 6px;
    }

    :is(body[data-theme="velocity"], body.theme-velocity) .detail-hero {
        border-left: clamp(0.5rem, 2vw, 1.5rem) solid var(--brand);
    }

    /* Executive: warm, measured, typographic and quietly formal. */
    :is(body[data-theme="executive"], body.theme-executive) {
        --font-display: Georgia, "Times New Roman", serif;
        --page: #f3efe7;
        --surface: #fffdf8;
        --surface-2: #e7e0d3;
        --ink: #1f2927;
        --muted: #626964;
        --line: #c9c0b1;
        --brand: #174b43;
        --brand-ink: #ffffff;
        --accent: #d8c79f;
        --focus: #075ec2;
        --radius-sm: 0.2rem;
        --radius: 0.25rem;
        --radius-lg: 0.25rem;
        --shadow: 0 1.25rem 3rem rgb(45 39 28 / 9%);
        --container: 72rem;
        --section-space: clamp(4rem, 9vw, 8.5rem);
    }

    :is(body[data-theme="executive"], body.theme-executive) h1,
    :is(body[data-theme="executive"], body.theme-executive) h2,
    :is(body[data-theme="executive"], body.theme-executive) h3 {
        font-weight: 500;
        letter-spacing: -0.035em;
    }

    :is(body[data-theme="executive"], body.theme-executive) .site-header__inner {
        min-height: 6rem;
    }

    :is(body[data-theme="executive"], body.theme-executive) .site-brand {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.35rem;
        font-weight: 500;
    }

    :is(body[data-theme="executive"], body.theme-executive) .site-nav a {
        font-family: Georgia, "Times New Roman", serif;
        font-weight: 500;
    }

    :is(body[data-theme="executive"], body.theme-executive) .hero {
        text-align: center;
    }

    :is(body[data-theme="executive"], body.theme-executive) .hero__inner {
        max-width: 61rem;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    :is(body[data-theme="executive"], body.theme-executive) .hero__content {
        align-items: center;
    }

    :is(body[data-theme="executive"], body.theme-executive) .hero__title,
    :is(body[data-theme="executive"], body.theme-executive) .hero__lead {
        max-width: 52rem;
    }

    :is(body[data-theme="executive"], body.theme-executive) .card-grid,
    :is(body[data-theme="executive"], body.theme-executive) .fleet-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
        gap: clamp(1.5rem, 4vw, 3rem);
    }

    :is(body[data-theme="executive"], body.theme-executive) :is(.card, .fleet-card) {
        border-width: 0 0 1px;
        padding-inline: 0;
        background: transparent;
    }

    :is(body[data-theme="executive"], body.theme-executive) :is(.booking-panel, .booking) {
        padding: clamp(1.5rem, 5vw, 3.5rem);
    }

    :is(body[data-theme="executive"], body.theme-executive) .detail-hero__content {
        max-width: 50rem;
    }

    /* Urban: modular, asymmetric, blunt borders and mono labels. */
    :is(body[data-theme="urban"], body.theme-urban) {
        --font-display: "Arial Black", "Arial Narrow", var(--font-sans);
        --page: #e7e5df;
        --surface: #f7f5ef;
        --surface-2: #d2d0c9;
        --ink: #101010;
        --muted: #4f4f4c;
        --line: #101010;
        --brand: #e14422;
        --brand-ink: #ffffff;
        --accent: #ffcf32;
        --focus: #004fc4;
        --radius-sm: 0;
        --radius: 0;
        --radius-lg: 0;
        --shadow: 0.5rem 0.5rem 0 #101010;
        --container: 80rem;
        --section-space: clamp(3rem, 7vw, 6.5rem);
    }

    :is(body[data-theme="urban"], body.theme-urban) h1,
    :is(body[data-theme="urban"], body.theme-urban) h2 {
        font-weight: 900;
        letter-spacing: -0.07em;
        line-height: 0.93;
        text-transform: uppercase;
    }

    :is(body[data-theme="urban"], body.theme-urban) .site-header {
        border-bottom: 3px solid var(--ink);
    }

    :is(body[data-theme="urban"], body.theme-urban) .site-header__inner {
        width: 100%;
        max-width: none;
        padding-left: var(--gutter);
    }

    :is(body[data-theme="urban"], body.theme-urban) .site-nav {
        align-self: stretch;
    }

    :is(body[data-theme="urban"], body.theme-urban) .site-nav ul {
        height: 100%;
        gap: 0;
    }

    :is(body[data-theme="urban"], body.theme-urban) .site-nav a {
        height: 100%;
        border-left: 1px solid var(--ink);
        padding-inline: 1.25rem;
        font-family: var(--font-mono);
        font-size: 0.75rem;
        text-transform: uppercase;
    }

    :is(body[data-theme="urban"], body.theme-urban) .site-nav a:hover,
    :is(body[data-theme="urban"], body.theme-urban) .site-nav a[aria-current="page"] {
        background: var(--accent);
    }

    :is(body[data-theme="urban"], body.theme-urban) .hero__inner {
        grid-template-columns: minmax(0, 1.6fr) minmax(16rem, 0.4fr);
        align-items: stretch;
    }

    :is(body[data-theme="urban"], body.theme-urban) .hero__aside,
    :is(body[data-theme="urban"], body.theme-urban) .hero__visual {
        align-self: end;
        border: 2px solid var(--ink);
        padding: clamp(1rem, 3vw, 2rem);
        background: var(--accent);
    }

    :is(body[data-theme="urban"], body.theme-urban) .card-grid,
    :is(body[data-theme="urban"], body.theme-urban) .fleet-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 1rem;
    }

    :is(body[data-theme="urban"], body.theme-urban) :is(.card, .fleet-card) {
        grid-column: span 4;
        border: 2px solid var(--ink);
    }

    :is(body[data-theme="urban"], body.theme-urban) :is(.card, .fleet-card):nth-child(4n + 1) {
        grid-column: span 5;
    }

    :is(body[data-theme="urban"], body.theme-urban) :is(.booking-panel, .booking) {
        border: 2px solid var(--ink);
    }

    :is(body[data-theme="urban"], body.theme-urban) :is(.eyebrow, .hero__kicker, .detail__label) {
        font-family: var(--font-mono);
    }

    :is(body[data-theme="urban"], body.theme-urban) .detail-list {
        gap: 2px;
        border-width: 2px;
    }

    /* Coastal: bright, breathable, rounded and conversational. */
    :is(body[data-theme="coastal"], body.theme-coastal) {
        --font-display: ui-rounded, "Avenir Next", "Segoe UI", var(--font-sans);
        --page: #eef6f4;
        --surface: #ffffff;
        --surface-2: #d7e9e5;
        --ink: #17353a;
        --muted: #557075;
        --line: #b5d1cd;
        --brand: #126f73;
        --brand-ink: #ffffff;
        --accent: #f1c976;
        --focus: #075ec2;
        --radius-sm: 0.75rem;
        --radius: 1.5rem;
        --radius-lg: 2rem;
        --shadow: 0 1rem 2.5rem rgb(24 79 78 / 10%);
        --container: 74rem;
        --section-space: clamp(4.5rem, 10vw, 9rem);
        --card-space: clamp(1.25rem, 3vw, 2rem);
    }

    :is(body[data-theme="coastal"], body.theme-coastal) h1,
    :is(body[data-theme="coastal"], body.theme-coastal) h2 {
        font-weight: 650;
        letter-spacing: -0.045em;
        line-height: 1.02;
    }

    :is(body[data-theme="coastal"], body.theme-coastal) .site-header {
        border: 0;
        padding-top: 0.75rem;
        background: transparent;
    }

    :is(body[data-theme="coastal"], body.theme-coastal) .site-header__inner {
        min-height: 4.25rem;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding-inline: clamp(1rem, 3vw, 1.75rem);
        background: rgb(255 255 255 / 94%);
    }

    :is(body[data-theme="coastal"], body.theme-coastal) .hero {
        padding-top: clamp(4rem, 10vw, 9rem);
    }

    :is(body[data-theme="coastal"], body.theme-coastal) .hero__inner {
        grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 1.15fr);
    }

    :is(body[data-theme="coastal"], body.theme-coastal) .hero__aside,
    :is(body[data-theme="coastal"], body.theme-coastal) .hero__visual {
        min-height: clamp(18rem, 38vw, 32rem);
        border: 1px solid var(--line);
        border-radius: clamp(2rem, 6vw, 5rem) 1rem clamp(2rem, 6vw, 5rem) 1rem;
        padding: clamp(1.5rem, 4vw, 3rem);
        background: var(--surface-2);
    }

    :is(body[data-theme="coastal"], body.theme-coastal) .card-grid,
    :is(body[data-theme="coastal"], body.theme-coastal) .fleet-grid {
        gap: clamp(1.25rem, 4vw, 2.5rem);
    }

    :is(body[data-theme="coastal"], body.theme-coastal) :is(.card, .fleet-card) {
        border-color: transparent;
        box-shadow: 0 0.75rem 2rem rgb(28 86 83 / 8%);
    }

    :is(body[data-theme="coastal"], body.theme-coastal) :is(.card, .fleet-card):nth-child(even) {
        margin-top: clamp(0rem, 3vw, 2rem);
    }

    :is(body[data-theme="coastal"], body.theme-coastal) .detail-hero {
        border-bottom: 0;
        background: var(--surface-2);
    }

    /* Signature: editorial luxury, deep burgundy, deliberate contrast. */
    :is(body[data-theme="signature"], body.theme-signature) {
        --font-display: Didot, "Bodoni MT", Georgia, serif;
        --page: #f7f2eb;
        --surface: #fffaf3;
        --surface-2: #e8ded2;
        --ink: #28191d;
        --muted: #706166;
        --line: #cbbbc0;
        --brand: #691d31;
        --brand-ink: #ffffff;
        --accent: #c5a56c;
        --focus: #075ec2;
        --radius-sm: 0;
        --radius: 0;
        --radius-lg: 0;
        --shadow: none;
        --container: 77rem;
        --section-space: clamp(4rem, 11vw, 10rem);
    }

    :is(body[data-theme="signature"], body.theme-signature) h1,
    :is(body[data-theme="signature"], body.theme-signature) h2,
    :is(body[data-theme="signature"], body.theme-signature) h3 {
        font-weight: 400;
        letter-spacing: -0.045em;
    }

    :is(body[data-theme="signature"], body.theme-signature) .site-header {
        border-bottom: 1px solid var(--brand);
    }

    :is(body[data-theme="signature"], body.theme-signature) .site-header__inner {
        min-height: 6.5rem;
    }

    :is(body[data-theme="signature"], body.theme-signature) .site-brand {
        color: var(--brand);
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 400;
        letter-spacing: 0.02em;
    }

    :is(body[data-theme="signature"], body.theme-signature) .site-nav a {
        font-family: Georgia, serif;
        font-size: 0.9rem;
        font-weight: 400;
        letter-spacing: 0.035em;
    }

    :is(body[data-theme="signature"], body.theme-signature) .hero {
        background: var(--brand);
        color: var(--brand-ink);
    }

    :is(body[data-theme="signature"], body.theme-signature) .hero :is(h1, h2, h3),
    :is(body[data-theme="signature"], body.theme-signature) .hero .hero__lead,
    :is(body[data-theme="signature"], body.theme-signature) .hero .hero__kicker {
        color: var(--brand-ink);
    }

    :is(body[data-theme="signature"], body.theme-signature) .hero__inner {
        grid-template-columns: minmax(17rem, 0.7fr) minmax(0, 1.3fr);
    }

    :is(body[data-theme="signature"], body.theme-signature) .hero__aside,
    :is(body[data-theme="signature"], body.theme-signature) .hero__visual {
        grid-column: 1;
        grid-row: 1;
        min-height: 25rem;
        border: 1px solid rgb(255 255 255 / 40%);
        padding: clamp(1.25rem, 3vw, 2.5rem);
    }

    :is(body[data-theme="signature"], body.theme-signature) .hero__content {
        grid-column: 2;
        padding-left: clamp(1rem, 4vw, 4rem);
    }

    :is(body[data-theme="signature"], body.theme-signature) .hero .button {
        border-color: var(--brand-ink);
        background: var(--brand-ink);
        color: var(--brand);
    }

    :is(body[data-theme="signature"], body.theme-signature) .hero .button--secondary {
        background: transparent;
        color: var(--brand-ink);
    }

    :is(body[data-theme="signature"], body.theme-signature) .card-grid,
    :is(body[data-theme="signature"], body.theme-signature) .fleet-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: clamp(1.25rem, 4vw, 3rem);
    }

    :is(body[data-theme="signature"], body.theme-signature) :is(.card, .fleet-card) {
        grid-column: span 2;
        border-width: 1px 0 0;
        padding-inline: 0;
        background: transparent;
    }

    :is(body[data-theme="signature"], body.theme-signature) :is(.card, .fleet-card):first-child {
        grid-column: span 4;
    }

    :is(body[data-theme="signature"], body.theme-signature) :is(.booking-panel, .booking) {
        border: 1px solid var(--brand);
        padding: clamp(1.5rem, 5vw, 4rem);
    }

    :is(body[data-theme="signature"], body.theme-signature) .detail-hero__inner {
        grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    }

    :is(body[data-theme="signature"], body.theme-signature) .detail-hero__aside {
        border-left-color: var(--brand);
    }

    @media (max-width: 63.999rem) {
        :is(body[data-theme="urban"], body.theme-urban) :is(.card, .fleet-card),
        :is(body[data-theme="urban"], body.theme-urban) :is(.card, .fleet-card):nth-child(4n + 1) {
            grid-column: span 6;
        }

        :is(body[data-theme="signature"], body.theme-signature) :is(.card, .fleet-card),
        :is(body[data-theme="signature"], body.theme-signature) :is(.card, .fleet-card):first-child {
            grid-column: span 3;
        }
    }

    @media (max-width: 51.999rem) {
        :is(body[data-theme="velocity"], body.theme-velocity) .hero__inner,
        :is(body[data-theme="urban"], body.theme-urban) .hero__inner,
        :is(body[data-theme="coastal"], body.theme-coastal) .hero__inner,
        :is(body[data-theme="signature"], body.theme-signature) .hero__inner {
            grid-template-columns: 1fr;
        }

        :is(body[data-theme="signature"], body.theme-signature) .hero__aside,
        :is(body[data-theme="signature"], body.theme-signature) .hero__visual,
        :is(body[data-theme="signature"], body.theme-signature) .hero__content {
            grid-column: auto;
            grid-row: auto;
        }

        :is(body[data-theme="signature"], body.theme-signature) .hero__content {
            padding-left: 0;
        }

        :is(body[data-theme="coastal"], body.theme-coastal) .hero__aside,
        :is(body[data-theme="coastal"], body.theme-coastal) .hero__visual {
            min-height: 15rem;
        }
    }

    @media (max-width: 47.999rem) {
        :is(body[data-theme="urban"], body.theme-urban) .site-header__inner {
            padding-right: var(--gutter);
        }

        :is(body[data-theme="urban"], body.theme-urban) .site-nav {
            align-self: auto;
        }

        :is(body[data-theme="urban"], body.theme-urban) .site-nav a {
            border-right: 1px solid var(--ink);
            border-left: 1px solid var(--ink);
            padding-inline: 0.75rem;
        }

        :is(body[data-theme="coastal"], body.theme-coastal) .site-header__inner {
            border-radius: 1.5rem;
        }

        :is(body[data-theme="coastal"], body.theme-coastal) :is(.card, .fleet-card):nth-child(even) {
            margin-top: 0;
        }
    }

    @media (max-width: 39.999rem) {
        :is(body[data-theme="urban"], body.theme-urban) :is(.card, .fleet-card),
        :is(body[data-theme="urban"], body.theme-urban) :is(.card, .fleet-card):nth-child(4n + 1),
        :is(body[data-theme="signature"], body.theme-signature) :is(.card, .fleet-card),
        :is(body[data-theme="signature"], body.theme-signature) :is(.card, .fleet-card):first-child {
            grid-column: 1 / -1;
        }
    }
}

@layer utilities {
    .sr-only {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .text-muted {
        color: var(--muted);
    }

    .text-center {
        text-align: center;
    }

    .full-width {
        width: 100%;
    }

    .flow > * + * {
        margin-top: var(--flow-space, 1rem);
    }

    @media (max-width: 39.999rem) {
        .hide-mobile {
            display: none !important;
        }
    }

    @media (min-width: 40rem) {
        .show-mobile-only {
            display: none !important;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }

        *,
        *::before,
        *::after {
            scroll-behavior: auto !important;
            transition-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
        }
    }

    @media (forced-colors: active) {
        .button,
        .btn,
        .card,
        .fleet-card,
        .booking-panel,
        .booking {
            border: 1px solid CanvasText;
        }
    }
}
