/* Brand tokens from logo: blue #334195, red #E30613 */
:root {
    --ox-blue: #334195;
    --ox-blue-deep: #252f6e;
    --ox-blue-muted: #4a5699;
    --ox-accent: #e30613;
    --ox-accent-deep: #b90510;
    --ox-dark: #0f1419;
    --ox-dark-soft: #1a2332;
    --ox-text: #1e2a36;
    --ox-muted: #5c6b7a;
    --ox-bg: #f3f5fb;
    --ox-surface: #ffffff;
    --ox-border: rgba(15, 20, 25, 0.08);
    --ox-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --ox-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    --ox-radius: 1rem;
    --ox-radius-lg: 1.35rem;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ox-text);
    line-height: 1.6;
    background: var(--ox-surface);
    font-size: 1.02rem;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--ox-blue);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--ox-blue);
    outline-offset: 3px;
    /* White halo guarantees ≥ 3:1 contrast against dark backgrounds (footer, hero scrim). */
    box-shadow: 0 0 0 5px #fff;
}

.container {
    width: min(1180px, 92vw);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 0.5rem;
    top: -100%;
    background: #fff;
    color: #000;
    padding: 0.5rem 0.8rem;
    z-index: 1000;
}

.skip-link:focus {
    top: 0.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--ox-border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.header-inner {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
}

.site-title {
    text-decoration: none;
    color: var(--ox-dark);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

/* Brand / logo — stacked mark (icon + wordmark); height-led scaling */
.brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: visible;
}

.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    background: transparent;
}

.custom-logo-link img,
.brand img.custom-logo {
    max-height: var(--ox-logo-max-h, 72px);
    width: auto;
    height: auto;
    max-width: min(var(--ox-logo-max-w-desktop, 280px), 56vw);
    object-fit: contain;
    display: block;
}

@media (max-width: 720px) {
    .custom-logo-link img,
    .brand img.custom-logo {
        max-height: var(--ox-logo-max-h-m, 52px);
        max-width: min(var(--ox-logo-max-w-mobile, 220px), 64vw);
    }
}

/* Plain title fallback when hero banner is disabled via page settings */
.page-title-plain {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--ox-dark);
}

.section-page-title-bar {
    padding-top: clamp(1.5rem, 4vw, 2.5rem);
    padding-bottom: 0.5rem;
}

.section-page-follows-title-bar {
    padding-top: clamp(1.25rem, 3vw, 2rem);
}

.menu-toggle {
    display: none;
    border: 1px solid rgba(15, 20, 25, 0.12);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
}

.primary-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.primary-nav a {
    text-decoration: none;
    color: var(--ox-dark-soft);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.primary-nav a:hover {
    background: rgba(51, 65, 149, 0.1);
    color: var(--ox-blue-deep);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font: inherit;
    font-family: var(--font);
    border-radius: 999px;
    padding: 0.82rem 1.35rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
    background: linear-gradient(135deg, var(--ox-blue) 0%, var(--ox-blue-deep) 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(51, 65, 149, 0.38);
}

.button-primary:hover {
    box-shadow: 0 14px 34px rgba(51, 65, 149, 0.45);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.98);
    color: var(--ox-dark);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--ox-shadow-sm);
}

.hero {
    background: linear-gradient(125deg, #eef2fb, #f8f9fc);
    padding: 4.2rem 0;
}

.hero h1 {
    margin: 0.2rem 0 0.6rem;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.2;
}

.eyebrow {
    color: var(--ox-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin: 0 0 0.6rem;
}

/* Eyebrow on dark hero banners — light pink stays legible over photographic
   scrims where the brand red would drop below 4.5:1. */
.page-hero-inner .eyebrow,
.hero-slide-inner .hero-slide-eyebrow {
    color: #ffd5d8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-tight {
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.section-alt {
    background: linear-gradient(180deg, var(--ox-bg) 0%, #e9eff6 100%);
}

.section-head {
    text-align: center;
    max-width: 42rem;
    margin-inline: auto;
    margin-bottom: 2.25rem;
}

.section-head h2 {
    margin: 0.35rem 0 0.75rem;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-kicker {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ox-blue);
}

.section-lede {
    margin: 0;
    color: var(--ox-muted);
    font-size: 1.05rem;
}

.section-page .entry {
    max-width: 760px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.card-grid-media {
    gap: 1.75rem;
}

.card {
    background: var(--ox-surface);
    border: 1px solid var(--ox-border);
    border-radius: var(--ox-radius);
    overflow: hidden;
    box-shadow: var(--ox-shadow-sm);
}

.card-media {
    padding: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-media:hover {
    transform: translateY(-4px);
    box-shadow: var(--ox-shadow);
}

.card-media-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.card-media-link:focus-visible {
    outline: 3px solid var(--ox-blue);
    outline-offset: 4px;
    border-radius: var(--ox-radius);
}

.card-figure {
    margin: 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--ox-bg);
}

.card-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.card-media:hover .card-figure img {
    transform: scale(1.04);
}

.card-body {
    padding: 1.25rem 1.35rem 1.45rem;
}

.card-body h3 {
    margin: 0 0 0.45rem;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.card-body p {
    margin: 0;
    color: var(--ox-muted);
    font-size: 0.96rem;
    line-height: 1.55;
}

.card-arrow {
    display: inline-flex;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--ox-blue);
}

.card-arrow::after {
    content: " →";
}

.check-list {
    margin: 1.25rem 0 1.75rem;
    padding-left: 1.15rem;
}

.check-list-modern li {
    margin-bottom: 0.65rem;
    padding-left: 0.15rem;
}

.check-list-modern li::marker {
    color: var(--ox-accent);
}

.split-band-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.split-band-copy h2 {
    margin: 0.4rem 0 1rem;
    font-size: clamp(1.55rem, 2.8vw, 2.15rem);
    letter-spacing: -0.03em;
    line-height: 1.22;
}

.split-band-media {
    margin: 0;
    border-radius: var(--ox-radius-lg);
    overflow: hidden;
    box-shadow: var(--ox-shadow);
    aspect-ratio: 4 / 3;
    background: var(--ox-bg);
}

.split-band-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.faq-modern details {
    border: 1px solid var(--ox-border);
    border-radius: var(--ox-radius);
    padding: 0 1rem;
    margin-top: 0.75rem;
    background: var(--ox-surface);
    box-shadow: var(--ox-shadow-sm);
}

.faq-modern summary {
    cursor: pointer;
    font-weight: 700;
    padding: 1rem 0;
    list-style: none;
}

.faq-modern summary::-webkit-details-marker {
    display: none;
}

.faq-modern details[open] summary {
    border-bottom: 1px solid var(--ox-border);
    margin-bottom: 0.75rem;
}

.faq-modern details p {
    margin: 0 0 1rem;
    color: var(--ox-muted);
}

.entry h1 {
    margin-top: 0;
}

.entry-content > :first-child {
    margin-top: 0;
}

.ox-legal {
    max-width: 760px;
}

.ox-legal h2 {
    margin-top: 0;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.ox-legal h3 {
    margin-top: 1.6rem;
    margin-bottom: 0.5rem;
}

.ox-legal p {
    margin: 0 0 0.85rem;
}

.ox-form {
    max-width: 720px;
    position: relative;
}

.ox-form p {
    margin: 0 0 0.95rem;
}

.ox-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.ox-form input[type="text"],
.ox-form input[type="email"],
.ox-form input[type="tel"],
.ox-form textarea {
    width: 100%;
    border: 1px solid #c6d3de;
    border-radius: 0.55rem;
    padding: 0.65rem 0.8rem;
    font: inherit;
    font-family: var(--font);
}

.ox-form .ox-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.ox-form input[type="text"]:focus-visible,
.ox-form input[type="email"]:focus-visible,
.ox-form input[type="tel"]:focus-visible,
.ox-form textarea:focus-visible {
    outline: 3px solid var(--ox-blue);
    outline-offset: 2px;
    border-color: var(--ox-blue-muted);
}

.form-notice {
    border-radius: 0.55rem;
    padding: 0.75rem 0.95rem;
    border: 1px solid transparent;
}

.form-notice:focus {
    outline: 3px solid var(--ox-blue);
    outline-offset: 2px;
}

.form-notice.success {
    background: #e9ecf8;
    border-color: rgba(51, 65, 149, 0.28);
    color: #1a2042;
}

.form-notice.error {
    background: #fceeee;
    border-color: #c64343;
    color: #6e0a0e;
}

.ox-form input[aria-invalid="true"],
.ox-form textarea[aria-invalid="true"] {
    border-color: #c64343;
    background: #fff7f7;
}

.ox-form .field-error {
    display: block;
    margin-top: 0.35rem;
    color: #6e0a0e;
    font-size: 0.88rem;
    font-weight: 600;
}

/* Inline checkbox + label pair (terms acceptance, etc.) — keeps the label
   beside the box and lets the link inside the label remain clickable without
   toggling the checkbox. */
.ox-form-checkbox {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.55rem;
}

.ox-form-checkbox > input[type="checkbox"] {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0.2rem 0 0;
    accent-color: var(--ox-blue);
    cursor: pointer;
}

.ox-form-checkbox > label {
    display: inline;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
}

.ox-form-checkbox > label a {
    color: var(--ox-blue);
    text-decoration: underline;
}

.ox-form-checkbox > .field-error {
    flex-basis: 100%;
}

.site-footer {
    background: radial-gradient(120% 120% at 10% 0%, #243041 0%, var(--ox-dark) 55%);
    color: #eef4fb;
    padding-top: 2.75rem;
}

.site-footer h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
    margin: 0 0 0.75rem;
}

.site-footer a {
    color: #b9dcff;
}

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

.footer-meta {
    padding: 1.35rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-copy,
.footer-photo-credit {
    display: block;
    line-height: 1.5;
}

.footer-photo-credit {
    opacity: 0.65;
    max-width: 52rem;
    font-size: 0.82rem;
}

@media (max-width: 900px) {
    .card-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-band-inner {
        grid-template-columns: 1fr;
    }

    .split-band-media {
        order: -1;
    }
}

@media (max-width: 720px) {
    .menu-toggle {
        display: inline-block;
    }

    .primary-nav {
        display: none;
        width: 100%;
    }

    .primary-nav.is-open {
        display: block;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .card-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-slider-toolbar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.65rem;
    }

    .hero-slider-dots {
        width: 100%;
        justify-content: center;
        order: -1;
    }
}

.weather-strip {
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(90deg, var(--ox-dark) 0%, var(--ox-blue-deep) 52%, var(--ox-accent-deep) 100%);
    color: #f8fbff;
    padding: 0.55rem 0;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

/* Two copies of the weather strip are emitted in the header — desktop shows
   the one above the site header, mobile/tablet shows the one below it. */
.weather-strip-below {
    display: none;
}

@media (max-width: 1024px) {
    .weather-strip-above {
        display: none;
    }

    .weather-strip-below {
        display: block;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }
}

.weather-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.55rem 1rem;
}

.weather-brand {
    font-weight: 800;
    letter-spacing: 0.04em;
}

.weather-temp {
    font-weight: 800;
    font-size: 1.08rem;
}

.weather-desc {
    opacity: 0.95;
}

.weather-meta {
    color: rgba(248, 251, 255, 0.95);
    opacity: 1;
    font-size: 0.85rem;
}

.weather-source {
    margin-left: auto;
    color: rgba(248, 251, 255, 0.92);
    opacity: 1;
    font-size: 0.78rem;
}

.weather-unavailable {
    opacity: 0.9;
}

@media (max-width: 720px) {
    .weather-source {
        margin-left: 0;
        flex-basis: 100%;
    }
}

/* Hero carousel */
.hero-slider {
    position: relative;
    background: var(--ox-dark);
}

.hero-slider-viewport {
    position: relative;
    min-height: clamp(20rem, 50vw, 32rem);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.55s ease, visibility 0.55s ease;
    z-index: 1;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide-bg-composite .hero-slide-img {
    object-position: center center;
}

.hero-slide-truck-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 min(4vw, 2.5rem) clamp(1.5rem, 5vw, 3.5rem);
    pointer-events: none;
}

.hero-slide-truck {
    max-width: min(58%, 820px);
    max-height: min(42vh, 420px);
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(0 16px 45px rgba(0, 0, 0, 0.5));
}

.hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-slide-scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* Tightened for AA contrast on bright photography. Worst-case white-on-bg
       ≥ 5:1 across the gradient. */
    background: linear-gradient(
        105deg,
        rgba(15, 20, 25, 0.92) 0%,
        rgba(15, 20, 25, 0.78) 35%,
        rgba(29, 41, 53, 0.7)  60%,
        rgba(51, 65, 149, 0.65) 100%
    );
}

.hero-slide-inner {
    position: relative;
    z-index: 3;
    padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 9vw, 5.5rem);
    color: #fff;
    max-width: 46rem;
}

/* Static hero header — overlays the rotating slides at the top of the
   viewport so the page H1 stays stable regardless of which slide is visible.
   Sits above the slide scrim (z-index 5 > slide scrim 2). */
.hero-slider-header {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 5;
    padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(0.5rem, 1.5vw, 1rem);
    color: #fff;
    pointer-events: none;
}

.hero-slider-header .hero-slide-main {
    pointer-events: auto;
}

/* Primary business line — rendered once in the static header */
.hero-slide-main {
    margin: 0;
    font-size: clamp(1.9rem, 3.8vw, 2.95rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.035em;
    text-wrap: balance;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}

/* Slide H2 wraps the eyebrow + title text so they form a single heading the
   screen reader can announce together (M6 — WCAG 1.3.1). The eyebrow stays
   visually styled like an eyebrow via display:block + own type ramp. */
.hero-slide-title {
    margin: 0.2rem 0 0.5rem;
    font-size: clamp(1.1rem, 1.9vw, 1.4rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero-slide-inner .hero-slide-eyebrow {
    display: block;
    font-size: 0.78rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 0.45rem;
    opacity: 1;
}

.hero-slide-title-text {
    display: block;
}

.hero-slide-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
    max-width: 38rem;
}

.hero-slide .cta-row {
    margin-top: 1.45rem;
}

.hero-slider-toolbar {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0 1.75rem;
}

.hero-slider-dots {
    justify-self: center;
    display: flex;
    gap: 0;
}

.hero-slider-prev,
.hero-slider-next,
.hero-slider-pause {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(15, 20, 25, 0.6);
    color: #fff;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    font-size: 1.35rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: var(--font);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-slider-pause {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.hero-slider-pause[aria-pressed="true"] {
    background: rgba(227, 6, 19, 0.85);
    border-color: rgba(255, 255, 255, 0.85);
}

.hero-slider-prev:hover,
.hero-slider-next:hover,
.hero-slider-pause:hover {
    background: rgba(51, 65, 149, 0.92);
    border-color: rgba(255, 255, 255, 0.85);
}

/* Dots — visible 0.7rem core with a 30px hit area for AAA touch targets and
   a fully opaque border so contrast stays ≥ 3:1 against bright slide stops. */
.hero-slider-dot {
    width: 0.7rem;
    height: 0.7rem;
    padding: 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.35);
    background-clip: content-box;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-slider-dot.is-active {
    background: var(--ox-accent);
    background-clip: content-box;
    border-color: #fff;
    transform: scale(1.15);
}

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

/* Page hero banner */
.page-hero {
    position: relative;
    min-height: clamp(9rem, 18vw, 13rem);
    display: grid;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.page-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-scrim {
    position: absolute;
    inset: 0;
    /* Tightened for AA contrast on bright photography. Worst-case white-on-bg
       ≥ 5:1 across the gradient. */
    background: linear-gradient(
        120deg,
        rgba(15, 20, 25, 0.9) 0%,
        rgba(29, 41, 53, 0.78) 55%,
        rgba(51, 65, 149, 0.7) 100%
    );
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    padding: clamp(1.25rem, 2.8vw, 1.85rem) 0;
    max-width: 52rem;
}

.page-hero-title {
    margin: 0;
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
}

.page-hero-lead {
    margin: 0.85rem 0 0;
    font-size: 1.08rem;
    opacity: 0.94;
    line-height: 1.45;
    max-width: 42rem;
}

.page-hero-lead-plain {
    color: var(--ox-muted);
    opacity: 1;
}

.page-hero-compact {
    min-height: clamp(8rem, 14vw, 10rem);
    align-items: center;
}

.page-hero-article {
    min-height: clamp(14rem, 32vw, 22rem);
    align-items: end;
}

.page-hero-scrim-strong {
    background: linear-gradient(125deg, rgba(15, 20, 25, 0.94) 0%, rgba(29, 41, 53, 0.78) 50%, rgba(51, 65, 149, 0.55) 100%);
}

.page-hero-meta {
    margin: 0 0 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b8e0ff;
    opacity: 0.95;
}

.entry-content-prose {
    max-width: 44rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ox-text);
}

.entry-content-prose > p:first-child {
    margin-top: 0;
}

.entry-content-prose h2,
.entry-content-prose h3,
.entry-content-prose h4 {
    margin-top: 1.75rem;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.entry-content-prose .wp-block-image,
.entry-content-prose figure {
    margin: 1.5rem 0;
}

.entry-content-prose img {
    height: auto;
    border-radius: 0.5rem;
}

.page-links {
    margin: 2rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ox-border);
}

.page-links p {
    margin: 0 0 0.5rem;
    font-weight: 700;
}

.post-nav {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ox-border);
}

.post-navigation {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .post-navigation {
        grid-template-columns: 1fr 1fr;
    }

    .post-navigation .nav-next {
        text-align: right;
    }
}

.post-navigation a {
    display: block;
    text-decoration: none;
    padding: 1rem 1.15rem;
    border-radius: var(--ox-radius);
    border: 1px solid var(--ox-border);
    background: var(--ox-bg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.post-navigation a:hover {
    border-color: rgba(51, 65, 149, 0.35);
    box-shadow: var(--ox-shadow-sm);
}

.post-nav-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ox-muted);
    margin-bottom: 0.35rem;
}

.post-nav-title {
    font-weight: 700;
    color: var(--ox-blue-deep);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.post-card {
    margin: 0;
    border-radius: var(--ox-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ox-border);
    background: var(--ox-surface);
    box-shadow: var(--ox-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ox-shadow);
}

.post-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.post-card-link:focus-visible {
    outline: 3px solid var(--ox-blue);
    outline-offset: 3px;
    border-radius: var(--ox-radius-lg);
}

.post-card-figure {
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ox-bg);
}

.post-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.post-card:hover .post-card-img {
    transform: scale(1.03);
}

.post-card-body {
    padding: 1.15rem 1.25rem 1.35rem;
}

.post-card-date {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ox-muted);
}

.post-card-title {
    margin: 0.45rem 0 0.5rem;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.post-card-excerpt {
    margin: 0;
    font-size: 0.94rem;
    color: var(--ox-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination {
    margin-top: 2.5rem;
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
    align-items: center;
}

.pagination .page-numbers {
    display: inline-flex;
    min-width: 2.6rem;
    justify-content: center;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--ox-border);
    background: var(--ox-surface);
    color: var(--ox-dark-soft);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: linear-gradient(135deg, var(--ox-blue) 0%, var(--ox-blue-deep) 100%);
    color: #fff;
    border-color: transparent;
}

.pagination .page-numbers.dots {
    border: none;
    background: transparent;
}

.no-results {
    font-size: 1.05rem;
    color: var(--ox-muted);
    margin-bottom: 1rem;
}

.section-wide {
    padding-left: 0;
    padding-right: 0;
}

.four-oh-four-wrap {
    min-height: 55vh;
    display: flex;
    align-items: center;
}

.four-oh-four {
    width: 100%;
    max-width: 36rem;
    margin-inline: auto;
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--ox-radius-lg);
    background: linear-gradient(165deg, #f4f8fc 0%, #eef4f9 100%);
    border: 1px solid var(--ox-border);
    box-shadow: var(--ox-shadow-sm);
}

.four-oh-four-code {
    margin: 0;
    font-size: clamp(3rem, 10vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    background: linear-gradient(135deg, var(--ox-blue) 0%, var(--ox-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.four-oh-four h1 {
    margin: 0.25rem 0 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.03em;
}

.four-oh-four-lede {
    margin: 0 0 1.5rem;
    color: var(--ox-muted);
    line-height: 1.55;
}

.four-oh-four-actions .button-secondary {
    background: #fff;
    border: 1px solid rgba(15, 20, 25, 0.12);
    color: var(--ox-dark);
}

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

@media (max-width: 720px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* Global safety net — kill animations and most transitions everywhere. */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Strip the explicit hover/active transforms that survived above. */
    .card-media:hover,
    .post-card:hover,
    .service-feature:hover,
    .service-fleet-card:hover,
    .menu-item-booking > a:hover,
    .button:hover,
    .button:active,
    .hero-slider-dot,
    .hero-slider-dot.is-active {
        transform: none !important;
    }

    .card-media:hover .card-figure img,
    .post-card:hover .post-card-img {
        transform: none !important;
    }

    .primary-nav .sub-menu {
        transition: none !important;
    }
}

/* ── Booking CTA button in the primary navigation ───────────────────────── */
.menu-item-booking > a {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--ox-accent) 0%, var(--ox-accent-deep) 100%);
    color: #fff;
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    box-shadow: 0 6px 20px rgba(227, 6, 19, 0.35);
    transition: box-shadow 0.2s ease, transform 0.15s ease, background 0.2s ease;
}

.menu-item-booking > a:hover {
    background: linear-gradient(135deg, #f01828 0%, var(--ox-accent) 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(227, 6, 19, 0.48);
    transform: translateY(-1px);
}

.menu-item-booking > a:active {
    transform: translateY(0);
}

.menu-item-booking > a:focus-visible {
    outline: 3px solid var(--ox-blue);
    outline-offset: 3px;
}

@media (max-width: 720px) {
    .menu-item-booking > a {
        display: block;
        text-align: center;
        border-radius: var(--ox-radius);
        padding: 0.75rem 1rem;
    }
}

/* ── Primary nav dropdown (WordPress sub-menus) ───────────────────────── */
.primary-nav .menu-item-has-children {
    position: relative;
}

.primary-nav .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 0.42rem;
    height: 0.42rem;
    margin-left: 0.4rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.primary-nav .menu-item-has-children.is-open > a::after,
.primary-nav .menu-item-has-children:hover > a::after,
.primary-nav .menu-item-has-children:focus-within > a::after {
    transform: translateY(2px) rotate(225deg);
    opacity: 1;
}

.primary-nav .sub-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    min-width: 14rem;
    margin: 0;
    padding: 0.45rem;
    list-style: none;
    background: var(--ox-surface);
    border: 1px solid var(--ox-border);
    border-radius: var(--ox-radius);
    box-shadow: var(--ox-shadow);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
    z-index: 50;
}

.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children:focus-within > .sub-menu,
.primary-nav .menu-item-has-children.is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-nav .sub-menu a {
    display: block;
    padding: 0.55rem 0.85rem;
    border-radius: 0.55rem;
    font-size: 0.92rem;
    color: var(--ox-dark-soft);
    white-space: nowrap;
}

.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu a:focus-visible {
    background: rgba(51, 65, 149, 0.1);
    color: var(--ox-blue-deep);
}

@media (max-width: 720px) {
    .primary-nav .menu-item-has-children {
        position: static;
    }

    .primary-nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(51, 65, 149, 0.05);
        border-radius: 0.6rem;
        margin-top: 0.35rem;
        padding: 0.35rem 0.45rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease, padding 0.25s ease;
    }

    .primary-nav .menu-item-has-children.is-open > .sub-menu {
        max-height: 36rem;
        padding: 0.5rem 0.45rem;
    }

    .primary-nav .sub-menu a {
        white-space: normal;
    }
}

/* ── Service detail pages (page-{slug}.php → service-page partial) ────── */
.service-intro {
    max-width: 56rem;
    margin-inline: auto;
    text-align: center;
}

.service-intro h2 {
    margin: 0.4rem 0 1rem;
    font-size: clamp(1.55rem, 2.8vw, 2.15rem);
    letter-spacing: -0.03em;
    line-height: 1.22;
}

.service-intro-text {
    margin: 0;
    color: var(--ox-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.service-feature-grid,
.service-fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.25rem;
}

.service-feature,
.service-fleet-card {
    background: var(--ox-surface);
    border: 1px solid var(--ox-border);
    border-radius: var(--ox-radius);
    padding: 1.4rem 1.45rem 1.55rem;
    box-shadow: var(--ox-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-feature:hover,
.service-fleet-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ox-shadow);
}

.service-feature h3,
.service-fleet-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: var(--ox-dark);
}

.service-feature p,
.service-fleet-card p {
    margin: 0;
    color: var(--ox-muted);
    font-size: 0.96rem;
    line-height: 1.55;
}

.service-feature-compact {
    padding: 1rem 1.25rem 1.05rem;
    border-left: 3px solid var(--ox-accent);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(243, 245, 251, 0.7) 100%);
}

.service-feature-compact h3 {
    margin: 0;
    font-size: 1.02rem;
    letter-spacing: -0.015em;
}

.service-fleet-card {
    border-left: 3px solid var(--ox-blue);
}

.service-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    background: linear-gradient(135deg, rgba(51, 65, 149, 0.08) 0%, rgba(227, 6, 19, 0.06) 100%);
    border: 1px solid var(--ox-border);
    border-radius: var(--ox-radius-lg);
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
    box-shadow: var(--ox-shadow-sm);
}

.service-cta-copy h2 {
    margin: 0.35rem 0 0.5rem;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    letter-spacing: -0.03em;
    line-height: 1.22;
}

.service-cta-copy p {
    margin: 0;
    color: var(--ox-muted);
    max-width: 36rem;
}

.service-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-self: end;
}

@media (max-width: 720px) {
    .service-cta {
        grid-template-columns: 1fr;
    }

    .service-cta-actions {
        justify-self: stretch;
    }

    .service-cta-actions .button {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* Block patterns (Gutenberg) — align with theme cards */
.wp-block-group.service-card {
    border: 1px solid var(--ox-border);
    border-radius: var(--ox-radius);
    background: var(--ox-surface);
    box-shadow: var(--ox-shadow-sm);
}

.wp-block-group.service-card a {
    font-weight: 700;
    color: var(--ox-blue);
    text-decoration: none;
}

.wp-block-group.service-card a:hover {
    color: var(--ox-blue-deep);
    text-decoration: underline;
}

.wp-block-group.cta-section.has-primary-background-color {
    border-radius: var(--ox-radius-lg);
}

.wp-block-group.cta-section .wp-block-button__link {
    border-radius: 999px;
}
