:root {
    --color-white: #ffffff;
    --color-bg: #ffffff;
    --color-surface: #ffffff;
    --color-primary: #b30000;
    --color-primary-dark: #8f0000;
    --color-charcoal: #1a1a1a;
    --color-text: #111111;
    --color-muted: #666666;
    --color-section: #f7f7f7;
    --color-line: #dddddd;
    --color-line-soft: #e7e7e7;
    --color-header-bg: rgba(255, 255, 255, 0.96);
    --color-shadow: rgba(17, 17, 17, 0.06);
    --color-shadow-soft: rgba(17, 17, 17, 0.03);
    --color-overlay: rgba(17, 17, 17, 0.28);
    --color-input: #cccccc;
    --color-status-bg: #fafafa;
    --color-success-bg: #f5faf5;
    --color-success-line: #b6d4b8;
    --color-success-text: #1e4f24;
    --color-error-bg: #fcf5f5;
    --color-error-line: #dfb6b6;
    --color-error-text: #7a1d1d;
    --media-hero-height: clamp(320px, 38vw, 520px);
    --media-feature-height: clamp(280px, 32vw, 420px);
    --media-card-height: clamp(220px, 23vw, 280px);
    --media-detail-height: clamp(320px, 40vw, 520px);
}

html[data-theme="dark"] {
    --color-bg: #101010;
    --color-surface: #161616;
    --color-charcoal: #f2f2f2;
    --color-text: #f2f2f2;
    --color-muted: #b6b6b6;
    --color-section: #141414;
    --color-line: #2a2a2a;
    --color-line-soft: #222222;
    --color-header-bg: rgba(16, 16, 16, 0.96);
    --color-shadow: rgba(0, 0, 0, 0.24);
    --color-shadow-soft: rgba(0, 0, 0, 0.18);
    --color-overlay: rgba(0, 0, 0, 0.42);
    --color-input: #333333;
    --color-status-bg: #171717;
    --color-success-bg: #112016;
    --color-success-line: #2a5a36;
    --color-success-text: #d4f2da;
    --color-error-bg: #241414;
    --color-error-line: #6b3232;
    --color-error-text: #f0c5c5;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 126px;
}

body {
    margin: 0;
    font-family: Inter, Arial, "Helvetica Neue", system-ui, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    display: none;
}

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

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

.container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.section {
    padding: 84px 0;
    border-top: 1px solid var(--color-line-soft);
}

.section-alt {
    background: var(--color-section);
}

.section-dark {
    background: #111111;
    color: var(--color-white);
    padding: 92px 0;
}

.section-dark .section-kicker {
    color: var(--color-primary);
}

.section-dark .content-block p,
.section-dark .section-heading p,
.section-dark .detail-list li {
    color: #bbbbbb;
}

.section-dark .section-heading h2 {
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
}

.section-dark .content-block h3,
.section-dark .service-title h3,
.section-dark .contact-layout h3 {
    color: var(--color-white);
}

.section-dark .service-row,
.section-dark .clients-grid,
.section-dark .quote-form,
.section-dark .detail-list,
.section-dark .detail-list li {
    border-color: rgba(255, 255, 255, 0.14);
}

.section-dark .service-row p,
.section-dark .summary-list dt,
.section-dark .client img,
.section-dark .form-grid span {
    color: #bbbbbb;
}

.section-dark .region-grid,
.section-dark .region-grid span {
    border-color: rgba(255, 255, 255, 0.14);
}

.section-dark .region-grid span {
    background: transparent;
    color: var(--color-white);
}

.section-dark input,
.section-dark select,
.section-dark textarea {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.section-dark input:focus,
.section-dark select:focus,
.section-dark textarea:focus {
    border-color: var(--color-primary);
}

.section-dark select option {
    color: var(--color-text);
}

.section-dark .button-secondary {
    border-color: rgba(255, 255, 255, 0.36);
    color: var(--color-white);
}

.section-dark .button-secondary:hover,
.section-dark .button-secondary:focus-visible {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.section-dark .form-status {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--color-white);
}

.section-kicker {
    margin: 0 0 16px;
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 860px;
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.65rem, 2.8vw, 2.45rem);
    line-height: 1.14;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: var(--color-header-bg);
    border-bottom: 1px solid var(--color-line-soft);
    isolation: isolate;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 126px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    position: relative;
}

.header-inner > * {
    min-width: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.brand-mark {
    width: 284px;
    height: 102px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
    box-shadow: none;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    transform: scale(1.18);
    transform-origin: center;
    image-rendering: -webkit-optimize-contrast;
}

html[data-theme="dark"] .brand-mark {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.brand-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.brand-text strong {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.2;
}

.brand-text span {
    color: var(--color-muted);
    font-size: 0.86rem;
    line-height: 1.35;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: nowrap;
    white-space: nowrap;
    flex: 0 0 auto;
}

.site-nav > a,
.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    border: 0;
    background: transparent;
    color: var(--color-text);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
}

.nav-dropdown-trigger::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 240px;
    padding: 10px 0;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    box-shadow: 0 14px 32px var(--color-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    z-index: 15;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    white-space: nowrap;
    font-size: 0.9rem;
    transition: background-color 180ms ease, color 180ms ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
    background: var(--color-section);
    color: var(--color-primary);
    outline: none;
}

.site-nav a {
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--color-primary);
    outline: none;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible,
.nav-dropdown-trigger[aria-expanded="true"] {
    color: var(--color-primary);
    outline: none;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-controls-left {
    flex: 0 0 auto;
}

.header-controls-right {
    flex: 0 0 auto;
    margin-left: auto;
}

.control-button {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    color: var(--color-text);
    font: inherit;
    cursor: pointer;
}

.control-button:hover,
.control-button:focus-visible {
    border-color: var(--color-primary);
    color: var(--color-primary);
    outline: none;
}

.theme-toggle {
    min-width: 42px;
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
}

.theme-toggle-moon {
    display: none;
}

html[data-theme="dark"] .theme-toggle-sun {
    display: none;
}

html[data-theme="dark"] .theme-toggle-moon {
    display: inline;
}

.menu-toggle {
    flex-direction: column;
    min-width: 38px;
    width: 38px;
    height: 38px;
    padding: 0;
}

.menu-toggle span {
    width: 16px;
    height: 1px;
    background: currentColor;
}

.menu-panel {
    position: fixed;
    inset: 0 auto 0 0;
    width: 100%;
    padding: 0;
    background: transparent;
    transform: translateX(-100%);
    transition: transform 260ms ease;
    z-index: 1200;
    pointer-events: none;
    display: flex;
    justify-content: flex-start;
}

.menu-panel::before {
    content: "";
    position: fixed;
    inset: 0;
    background: var(--color-overlay);
    opacity: 0;
    transition: opacity 260ms ease;
    z-index: -1;
}

.menu-panel.is-open {
    transform: translateX(0);
    pointer-events: auto;
}

.menu-panel.is-open::before {
    opacity: 1;
}

.menu-panel-inner {
    width: min(360px, calc(100% - 24px));
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    padding: 22px 22px 30px;
    border-right: 1px solid var(--color-line-soft);
    background: var(--color-surface);
    box-shadow: 14px 0 40px var(--color-shadow);
}

.menu-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.menu-panel-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle-menu {
    display: none;
}

.menu-panel-head strong {
    font-size: 1rem;
}

.menu-close {
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-line);
    background: transparent;
    color: var(--color-text);
    font: inherit;
    font-size: 1.3rem;
    cursor: pointer;
}

.menu-links {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--color-line);
}

.menu-links a {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-line);
    font-weight: 500;
}

.theme-toggle-menu {
    border-color: var(--color-line);
}

.menu-links a:hover,
.menu-links a:focus-visible,
.menu-close:hover,
.menu-close:focus-visible {
    color: var(--color-primary);
    outline: none;
}

.menu-links a:hover,
.menu-links a:focus-visible {
    padding-left: 6px;
}

.hero {
    padding: 96px 0 88px;
    border-top: 0;
}

.hero-home {
    padding: 84px 0 72px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(179, 0, 0, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.hero-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17, 17, 17, 0.03), transparent 22%, transparent 78%, rgba(17, 17, 17, 0.03));
    pointer-events: none;
}

html[data-theme="dark"] .hero-home {
    background:
        radial-gradient(circle at top right, rgba(179, 0, 0, 0.11), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0));
}

.hero-home-grid,
.page-hero-grid,
.split-feature,
.industries-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
    gap: 34px;
    align-items: center;
}

.hero-home-grid > *,
.page-hero-grid > *,
.split-feature > *,
.industries-layout > * {
    min-width: 0;
}

.hero-home-grid.hero-home-grid-compact {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: start;
}

.hero-home-grid.hero-home-grid-text {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    align-items: start;
}

.page-hero-grid.page-hero-grid-text,
.split-feature.split-feature-text,
.services-summary-intro.services-summary-text,
.industries-layout.industries-layout-text {
    grid-template-columns: 1fr;
}

.hero-home .hero-copy h1 {
    font-size: clamp(1.72rem, 3vw, 2.55rem);
    line-height: 1.1;
    max-width: 580px;
}

.hero-kicker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.hero-kicker-row .section-kicker {
    margin: 0;
}

.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border: 1px solid rgba(179, 0, 0, 0.22);
    background: rgba(179, 0, 0, 0.06);
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}

.hero-visual,
.feature-media,
.page-hero-media,
.services-summary-image,
.industry-visual,
.service-card-thumb,
.service-page-visual {
    position: relative;
    overflow: hidden;
    border: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual img,
.feature-media img,
.page-hero-media img,
.services-summary-image img,
.industry-visual img,
.service-card-thumb img,
.service-page-visual img {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-visual,
.page-hero-media,
.services-summary-image {
    padding: 0;
    aspect-ratio: 16 / 9;
    height: var(--media-hero-height);
    min-height: 0;
}

.feature-media,
.industry-visual {
    padding: 0;
    aspect-ratio: 16 / 10;
    height: var(--media-feature-height);
    min-height: 0;
}

.service-card-thumb {
    padding: 0;
    aspect-ratio: 16 / 10;
    height: var(--media-card-height);
    min-height: 0;
}

/* Landing page visual system */
.hero-home-immersive {
    padding: 36px 0 44px;
}

.hero-home-immersive .container {
    width: min(1460px, calc(100% - 28px));
}

.home-hero-stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: stretch;
    min-height: clamp(360px, 36vw, 460px);
    border: 1px solid rgba(17, 17, 17, 0.16);
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 22%, rgba(179, 0, 0, 0.06), transparent 46%),
        linear-gradient(180deg, #f7f8fa 0%, #f1f2f5 100%);
    box-shadow: 0 22px 54px rgba(17, 17, 17, 0.08);
}

.home-hero-stage::before {
    display: none;
}

.home-hero-visual {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    padding: clamp(16px, 2vw, 24px);
    border-left: 0;
}

.home-hero-visual img {
    width: min(100%, 860px);
    height: auto;
    max-height: calc(100% - 8px);
    object-fit: contain;
    object-position: center;
    animation: none;
    transform: none;
    filter: saturate(1.03) contrast(1.03);
    image-rendering: -webkit-optimize-contrast;
}

.hero-collage-board {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
}

.hero-collage-tile {
    display: block;
    min-width: 0;
    min-height: 0;
    border: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 245, 241, 0.98));
    box-shadow: 0 8px 20px rgba(17, 17, 17, 0.04);
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.hero-collage-media {
    width: 100%;
    height: 100%;
    padding: 0;
}

.hero-collage-media img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
}

.hero-collage-tile-featured .hero-collage-media img {
    object-position: left center;
}

.home-hero-copy {
    position: relative;
    z-index: 1;
    width: min(100%, 720px);
    margin: clamp(12px, 2.1vw, 22px);
    padding: clamp(18px, 2.6vw, 28px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(17, 17, 17, 0.12);
    align-self: center;
}

.hero-home-immersive .hero-copy h1,
.hero-home-immersive .hero-copy p,
.hero-home-immersive .hero-copy .section-kicker {
    color: #111111;
}

.hero-home-immersive .hero-copy .section-kicker {
    color: var(--color-primary);
}

.hero-home-immersive .hero-trust-grid {
    margin-top: 20px;
}

.hero-home-immersive .trust-tile {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: none;
}

html[data-theme="dark"] .home-hero-copy {
    background: rgba(14, 14, 14, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

html[data-theme="dark"] .hero-home-immersive .hero-copy h1,
html[data-theme="dark"] .hero-home-immersive .hero-copy p {
    color: #f2f2f2;
}

html[data-theme="dark"] .hero-home-immersive .trust-tile {
    background: rgba(16, 16, 16, 0.78);
    border-color: rgba(255, 255, 255, 0.15);
}

html[data-theme="dark"] .home-hero-stage {
    border-color: rgba(255, 255, 255, 0.18);
    background:
        radial-gradient(circle at 78% 22%, rgba(179, 0, 0, 0.1), transparent 46%),
        linear-gradient(180deg, #15171b 0%, #111318 100%);
}

html[data-theme="dark"] .hero-collage-tile {
    background: linear-gradient(180deg, rgba(24, 24, 24, 0.92), rgba(18, 18, 18, 0.98));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.compact-grid-home {
    gap: 24px;
}

.compact-grid-home .service-preview-home {
    padding: 18px;
    gap: 12px;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    align-items: start;
}

.compact-grid-home .service-preview-home .service-card-thumb {
    margin: 0;
    width: 100%;
    height: clamp(220px, 24vw, 280px);
    aspect-ratio: 16 / 9;
}

.compact-grid-home .service-preview-home .service-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industries-layout.industries-layout-home {
    grid-template-columns: minmax(180px, 0.72fr) minmax(620px, 1.56fr) minmax(180px, 0.72fr);
    grid-template-areas: "left image right";
    gap: 16px;
    align-items: stretch;
}

.industries-layout.industries-layout-home .industry-list-side {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-content: stretch;
    height: 100%;
}

.industries-layout.industries-layout-home .industry-list-left {
    grid-area: left;
}

.industries-layout.industries-layout-home .industry-list-right {
    grid-area: right;
}

.industries-layout.industries-layout-home .industry-list-side .capability-block {
    min-height: 0;
    height: 100%;
    padding: 16px;
}

.industries-layout.industries-layout-home > .industries-feature-home {
    grid-area: image;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 565 / 308;
    padding: 0;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.industries-layout.industries-layout-home > .industries-feature-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.fleet-shell-home {
    overflow: hidden;
}

.fleet-grid-home {
    gap: 18px;
}

.fleet-grid-home .fleet-card-home {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fleet-grid-home .fleet-card-media-home {
    width: 100%;
    height: var(--media-card-height);
    aspect-ratio: 16 / 10;
    min-height: 0;
    max-height: none;
}

.fleet-grid-home .fleet-card-media-home img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.split-feature-home {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.96fr);
    align-items: center;
}

.split-feature-home .about-feature-home {
    width: 100%;
    height: auto;
    aspect-ratio: 680 / 382;
    max-width: 740px;
    justify-self: end;
}

.split-feature-home .about-feature-home img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.split-feature-home .about-feature-home.about-feature-home-yard {
    aspect-ratio: 21 / 9;
    max-width: 760px;
    padding: 10px;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
}

.split-feature-home .about-feature-home.about-feature-home-yard img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.about-yard-panel {
    position: relative;
    height: clamp(320px, 34vw, 430px);
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    overflow: hidden;
}

.about-yard-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 44%;
}

.about-yard-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(102deg, rgba(9, 13, 18, 0.36) 0%, rgba(9, 13, 18, 0.24) 42%, rgba(9, 13, 18, 0.1) 68%, rgba(9, 13, 18, 0.04) 100%);
    pointer-events: none;
}

.about-yard-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(58%, 700px);
    padding: clamp(22px, 3.2vw, 40px);
    display: grid;
    align-content: start;
    gap: 16px;
    z-index: 1;
    background: linear-gradient(180deg, rgba(10, 14, 19, 0.3) 0%, rgba(10, 14, 19, 0.22) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(1.5px);
}

.about-yard-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.98);
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 0.002em;
    line-height: 1.62;
    max-width: 54ch;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

.about-yard-overlay .text-link {
    color: #ffffff;
    font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.about-yard-overlay .text-link:hover,
.about-yard-overlay .text-link:focus-visible {
    color: #ffd6d6;
    outline: none;
}

html[data-theme="dark"] .about-yard-panel::before {
    background: linear-gradient(102deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.34) 42%, rgba(0, 0, 0, 0.14) 68%, rgba(0, 0, 0, 0.05) 100%);
}

html[data-theme="dark"] .about-yard-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.32) 100%);
    border-right-color: rgba(255, 255, 255, 0.12);
}

#about .section-heading h2 {
    font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hero-trust-grid,
.fleet-grid,
.credibility-grid {
    display: grid;
    gap: 18px;
}

.hero-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.trust-tile,
.fleet-card,
.credibility-card {
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.03);
    border-radius: 0;
}

.trust-tile {
    padding: 20px 22px;
}

.trust-tile strong,
.credibility-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 0.98rem;
}

.trust-tile span,
.credibility-card p {
    color: var(--color-muted);
    font-size: 0.94rem;
}

.section-shell {
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    padding: 28px;
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.04);
    border-radius: 0;
}

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

.fleet-card-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 0;
    background: transparent;
    padding: 0;
    height: var(--media-card-height);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.fleet-card-copy {
    padding: 18px 18px 20px;
}

.fleet-card-copy strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
}

.fleet-card-copy p {
    margin: 0;
    color: var(--color-muted);
}

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

.credibility-card {
    padding: 22px;
}

.media-stack {
    display: grid;
    gap: 20px;
}

.media-caption {
    margin-top: 12px;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.section-shell.section-shell-dark {
    background: #111111;
    border-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.section-shell.section-shell-dark p,
.section-shell.section-shell-dark li,
.section-shell.section-shell-dark .media-caption {
    color: #bbbbbb;
}

.section-shell.section-shell-dark .trust-tile,
.section-shell.section-shell-dark .credibility-card,
.section-shell.section-shell-dark .fleet-card {
    background: #151515;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.page-hero {
    padding: 68px 0 58px;
}

.page-hero-copy h1 {
    margin: 0;
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.page-hero-copy p:last-child {
    margin: 22px 0 0;
    color: var(--color-muted);
    max-width: 620px;
}

.page-hero-copy .eyebrow-badge {
    margin-top: 18px;
}

.split-feature .feature-copy {
    display: grid;
    gap: 18px;
}

.split-feature .feature-copy p {
    margin: 0;
    color: var(--color-muted);
}

.yard-banner {
    position: relative;
    min-height: 240px;
    border: 1px solid var(--color-line);
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(17, 17, 17, 0.88) 0%, rgba(17, 17, 17, 0.78) 35%, rgba(17, 17, 17, 0.22) 100%),
        url("Images/brand/AATYard-optimized.jpg") center/contain no-repeat,
        var(--color-surface);
    display: flex;
    align-items: center;
    padding: 26px 32px;
}

.yard-banner-copy {
    max-width: 560px;
    display: grid;
    gap: 16px;
}

.yard-banner-copy h2,
.yard-banner-copy p,
.yard-banner-copy .section-kicker {
    margin: 0;
}

.yard-banner-copy h2 {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
}

.yard-banner-copy .section-kicker {
    color: #ffd6d6;
}

.yard-banner-copy p {
    color: #f0f0f0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.services-summary-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

.services-summary-copy {
    display: grid;
    gap: 18px;
}

.services-summary-copy p {
    margin: 0;
    color: var(--color-muted);
}

.compact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.industry-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-content: start;
}

.industries-layout {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 1.08fr);
    gap: 28px;
}

.industries-layout > .feature-media {
    min-height: 100%;
    height: var(--media-feature-height);
    aspect-ratio: 16 / 10;
    padding: 0;
}

.industries-layout-text .industry-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.industry-visual-slider {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
}

.industry-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 320ms ease;
}

.industry-slide.is-active {
    opacity: 1;
}

.industry-slide img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    background: transparent;
}

.industry-slide-label {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 8px 12px;
    background: rgba(17, 17, 17, 0.74);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.trust-section {
    display: grid;
    gap: 24px;
}

.trust-copy {
    max-width: 780px;
}

.trust-copy p {
    margin: 0;
    color: var(--color-muted);
}

.cta-panel-stacked {
    display: grid;
    gap: 24px;
}

.cta-heading {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.1;
}

.cta-text {
    margin: 14px 0 0;
    color: var(--color-muted);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.quick-link-card {
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    padding: 22px;
}

.quick-link-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
}

.quick-link-card span {
    display: block;
    color: var(--color-muted);
    font-size: 0.94rem;
}

.quick-link-card:hover,
.quick-link-card:focus-visible {
    border-color: rgba(179, 0, 0, 0.26);
    color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(17, 17, 17, 0.06);
    outline: none;
}

.page-hero-simple {
    padding: 76px 0 58px;
}

.page-hero-simple .page-hero-copy {
    max-width: 760px;
}

.founder-page {
    padding-top: 88px;
}

.founder-story {
    max-width: 860px;
}

.footer-established {
    color: var(--color-muted);
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 48px;
    align-items: start;
}

.hero-compact {
    padding: 56px 0 48px;
}

.hero-compact .hero-layout {
    gap: 36px;
}

.hero-compact .hero-intro {
    max-width: 680px;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(1.85rem, 3.2vw, 2.8rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.04em;
    max-width: 700px;
}

.hero-intro {
    margin: 24px 0 0;
    max-width: 620px;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.hero-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border: 1px solid var(--color-text);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
    cursor: pointer;
}

.button-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    outline: none;
}

.button-secondary {
    background: transparent;
    color: var(--color-text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: var(--color-primary);
    color: var(--color-primary);
    outline: none;
}

.hero-summary {
    border-left: 2px solid var(--color-primary);
    padding-left: 24px;
}

.summary-list {
    margin: 0;
}

.summary-list div {
    padding: 18px 0;
    border-bottom: 1px solid var(--color-line);
}

.summary-list div:first-child {
    padding-top: 0;
}

.summary-list div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.summary-list dt {
    margin-bottom: 6px;
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.summary-list dd {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 600;
}

.two-column,
.coverage-layout,
.contact-layout,
.quote-layout {
    display: grid;
    gap: 32px;
}

.two-column,
.contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.coverage-layout {
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
}

.content-block {
    padding: 28px;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    box-shadow: none;
    border-radius: 0;
}

.content-block h3 {
    margin: 0 0 16px;
    font-size: 1.3rem;
    line-height: 1.25;
}

.content-block p {
    margin: 0 0 18px;
    color: var(--color-muted);
}

.contact-direct-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.contact-support-points {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.contact-support-points strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.96rem;
}

.contact-support-points span {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.coverage-note {
    align-self: start;
}

.coverage-note h3 {
    margin-bottom: 14px;
}

.coverage-note p:last-child {
    margin-bottom: 0;
}

.coverage-map-block {
    margin-top: 34px;
    border-top: 1px solid var(--color-line);
    padding-top: 34px;
}

.coverage-map-copy {
    max-width: 760px;
    margin-bottom: 22px;
}

.coverage-map-copy h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    line-height: 1.25;
}

.coverage-map-copy p:last-child {
    margin-bottom: 0;
    color: var(--color-muted);
}

.coverage-map-shell {
    border: 1px solid var(--color-line);
    background: #151515;
    padding: 12px;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.coverage-map-shell.reveal,
.coverage-map-copy.reveal {
    opacity: 1;
    transform: none;
}

.coverage-map {
    width: 100%;
    height: 500px;
    display: block;
    position: relative;
    z-index: 0;
}

.leaflet-container {
    font-family: Inter, Arial, "Helvetica Neue", system-ui, sans-serif;
    background: #151515;
    z-index: 0;
}

.leaflet-control-zoom {
    border: 1px solid var(--color-line) !important;
    box-shadow: none !important;
}

.leaflet-control-zoom a {
    width: 34px !important;
    height: 34px !important;
    line-height: 34px !important;
    background: #151515 !important;
    color: #f2f2f2 !important;
    border-bottom: 1px solid #343434 !important;
}

.leaflet-control-attribution {
    background: rgba(17, 17, 17, 0.86) !important;
    color: #9d9d9d !important;
    font-size: 0.72rem !important;
    border-top: 1px solid #343434;
    border-left: 1px solid #343434;
}

.leaflet-control-attribution a {
    color: #9d9d9d !important;
}

.coverage-marker {
    width: 20px;
    height: 20px;
    border-radius: 0;
    background: rgba(179, 0, 0, 0.16);
    border: 1px solid rgba(179, 0, 0, 0.26);
    display: grid;
    place-items: center;
}

.coverage-marker::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 0;
    background: var(--color-primary);
}

.leaflet-tooltip.coverage-tooltip {
    padding: 8px 10px;
    border: 1px solid #343434;
    border-radius: 0;
    background: #171717;
    color: #f2f2f2;
    box-shadow: none;
    font-size: 0.82rem;
    font-weight: 600;
}

.leaflet-tooltip.coverage-tooltip::before {
    display: none;
}

.leaflet-tooltip-top.coverage-tooltip,
.leaflet-tooltip-bottom.coverage-tooltip,
.leaflet-tooltip-left.coverage-tooltip,
.leaflet-tooltip-right.coverage-tooltip {
    box-shadow: none;
}

html[data-theme="dark"] .coverage-map-shell {
    background: #151515;
}

html[data-theme="dark"] .leaflet-control-zoom a {
    background: #151515 !important;
    color: #f2f2f2 !important;
    border-bottom: 1px solid #343434 !important;
}

html[data-theme="dark"] .leaflet-control-attribution {
    background: rgba(17, 17, 17, 0.86) !important;
    color: #9d9d9d !important;
    border-top: 1px solid #343434;
    border-left: 1px solid #343434;
}

html[data-theme="dark"] .leaflet-control-attribution a {
    color: #9d9d9d !important;
}

html[data-theme="dark"] .leaflet-tooltip.coverage-tooltip {
    background: #171717;
    border-color: #343434;
    color: #f2f2f2;
}

#advisory,
#coverage-areas,
#coverage-map-section {
    scroll-margin-top: 126px;
}

.text-link,
.footer-block a,
.footer-brand a,
.client img,
.service-preview-card,
.service-list-card,
.region-group,
.mission-card,
.content-block,
.button,
.nav-dropdown-trigger,
.site-nav a {
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.service-preview-card:hover,
.service-preview-card:focus-within,
.service-list-card:hover,
.service-list-card:focus-within,
.region-group:hover,
.region-group:focus-within,
.mission-card:hover,
.mission-card:focus-within {
    border-color: rgba(179, 0, 0, 0.26);
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(17, 17, 17, 0.06);
}

.section-alt .content-block {
    background: var(--color-white);
}

html[data-theme="dark"] .section-alt .content-block {
    background: var(--color-surface);
}

.section-dark .content-block {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

html[data-theme="dark"] .service-media {
    background:
        linear-gradient(180deg, rgba(22, 22, 22, 0.94), rgba(18, 18, 18, 0.94)),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 14px,
            rgba(179, 0, 0, 0.08) 14px,
            rgba(179, 0, 0, 0.08) 28px
        );
}

.detail-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--color-line);
}

.detail-list li {
    padding: 18px 0;
    border-bottom: 1px solid var(--color-line);
    font-weight: 500;
}

.service-table {
    border-top: 1px solid var(--color-line);
}

.services-intro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.service-lead-note,
.service-side-note,
.cta-panel {
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    padding: 24px;
    box-shadow: none;
}

.service-lead-note strong,
.service-side-note strong,
.cta-panel strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
}

.service-lead-note p,
.service-side-note p,
.cta-panel p {
    margin: 0;
    color: var(--color-muted);
}

.services-preview-grid,
.mission-grid,
.capability-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.service-list-grid,
.service-detail-grid {
    display: grid;
    gap: 22px;
    align-items: stretch;
}

.service-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-list-grid-primary,
.service-list-grid-secondary {
    display: grid;
    gap: 22px;
    align-items: stretch;
}

.service-list-grid-primary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-list-grid-secondary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 22px;
}

.service-preview-card,
.mission-card,
.capability-block,
.process-step {
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    padding: 24px;
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.03);
    border-radius: 0;
}

.service-list-card {
    border: 1px solid var(--color-line);
    background: var(--color-surface);
    padding: 26px;
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.03);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.service-preview-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-preview-card .service-card-thumb,
.service-list-card .service-card-thumb {
    margin: 0 0 18px;
    border-width: 1px;
}

.service-list-card .service-card-thumb {
    margin: 0 0 18px;
}

.service-preview-card h3,
.mission-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.service-preview-card p,
.service-list-card p,
.capability-block p,
.content-block p,
.services-summary-copy p,
.feature-copy p {
    max-width: 64ch;
}

.hero-summary.compact-summary,
.content-block.compact-note,
.service-side-note.compact-note {
    padding: 24px;
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.04);
}

.hero-summary.compact-summary strong,
.content-block.compact-note strong,
.service-side-note.compact-note strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
}

.hero-summary.compact-summary p,
.content-block.compact-note p,
.service-side-note.compact-note p {
    margin: 0;
    color: var(--color-muted);
}

.service-preview-card.service-preview-card-text,
.service-list-card.service-list-card-text {
    padding-top: 20px;
}

.service-list-grid-secondary .service-list-card {
    padding: 20px;
    min-height: 0;
}

.service-list-grid-secondary .service-list-card p {
    max-width: 28ch;
}

.service-list-grid-secondary .service-list-card h3 {
    font-size: 1.02rem;
}

.service-preview-card p,
.mission-card p,
.capability-block p,
.process-step p {
    margin: 0;
    color: var(--color-muted);
}

.capability-block h3,
.process-step h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.35;
}

.process-step {
    position: relative;
    padding-top: 52px;
}

.process-number {
    position: absolute;
    top: 22px;
    left: 24px;
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.service-list-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    line-height: 1.35;
}

.service-list-card p {
    margin: 0 0 16px;
    color: var(--color-muted);
}

.service-list-card .button {
    margin-top: 10px;
}

.service-list-card .button,
.service-preview-card .text-link {
    margin-top: auto;
}

/* Services page card symmetry and image containment */
body[data-page="services"] .service-list-grid-primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

body[data-page="services"] .service-list-grid-secondary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

body[data-page="services"] .service-list-card {
    min-height: 100%;
    gap: 12px;
}

body[data-page="services"] .service-list-grid-primary .service-list-card {
    padding: 20px;
}

body[data-page="services"] .service-list-grid-primary .service-card-thumb {
    width: 100%;
    height: clamp(220px, 26vw, 280px);
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
}

body[data-page="services"] .service-list-grid-primary .service-card-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

body[data-page="services"] .service-list-grid-primary .service-list-card h3 {
    margin-top: 2px;
}

body[data-page="services"] .service-list-grid-secondary .service-list-card {
    padding: 18px;
}

body[data-page="services"] .page-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
    align-items: center;
}

body[data-page="services"] .page-hero-media {
    height: clamp(250px, 30vw, 360px);
    aspect-ratio: 16 / 10;
    background: var(--color-surface);
}

body[data-page="services"] .page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

body[data-page="services"] .split-feature .feature-media {
    height: clamp(240px, 29vw, 340px);
    aspect-ratio: 16 / 10;
    background: var(--color-surface);
}

body[data-page="services"] .split-feature .feature-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* About page image containment and symmetry */
body[data-page="about"] .page-hero-media {
    height: clamp(280px, 34vw, 420px);
    aspect-ratio: 16 / 10;
}

body[data-page="about"] .page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

body[data-page="about"] .split-feature .feature-media {
    height: clamp(260px, 32vw, 380px);
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

body[data-page="about"] .split-feature .feature-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

body[data-page="about"] .fleet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

body[data-page="about"] .fleet-grid-about .fleet-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

body[data-page="about"] .fleet-grid-about .fleet-card-media {
    height: clamp(200px, 23vw, 250px);
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
}

body[data-page="about"] .fleet-grid-about .fleet-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

body[data-page="about"] .fleet-grid-about .fleet-card-copy {
    flex: 1;
}

/* Contact page yard image refinement */
body[data-page="contact"] .split-feature .feature-media {
    height: clamp(260px, 28vw, 360px);
    aspect-ratio: 16 / 9;
    min-height: 0;
    border: 1px solid var(--color-line);
    background: var(--color-section);
}

body[data-page="contact"] .split-feature .feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: var(--color-section);
}

/* Quote page hero image refinement */
body[data-page="quote"] .page-hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
    align-items: center;
}

body[data-page="quote"] .page-hero-media {
    height: clamp(280px, 33vw, 420px);
    aspect-ratio: 16 / 10;
    background: var(--color-surface);
}

body[data-page="quote"] .page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* What we stand for page hero image refinement */
body[data-page="standards"] .page-hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
    align-items: center;
}

body[data-page="standards"] .page-hero-media {
    height: clamp(280px, 33vw, 420px);
    aspect-ratio: 16 / 10;
    background: var(--color-surface);
}

body[data-page="standards"] .page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Diesel tanker detail page image balance */
body[data-service="diesel-tanker"] .page-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
    align-items: center;
}

body[data-service="diesel-tanker"] .page-hero-media {
    height: clamp(250px, 30vw, 360px);
    aspect-ratio: 16 / 10;
    background: var(--color-surface);
}

body[data-service="diesel-tanker"] .page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

body[data-service="diesel-tanker"] .service-page-visual {
    height: clamp(260px, 32vw, 380px);
    aspect-ratio: 16 / 10;
    background: var(--color-surface);
}

body[data-service="diesel-tanker"] .service-page-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Trailer transport detail page image balance */
body[data-service="trailer-transport"] .page-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
    align-items: center;
}

body[data-service="trailer-transport"] .page-hero-media {
    height: clamp(250px, 30vw, 360px);
    aspect-ratio: 16 / 10;
    background: var(--color-surface);
}

body[data-service="trailer-transport"] .page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

body[data-service="trailer-transport"] .service-page-visual {
    height: clamp(260px, 32vw, 380px);
    aspect-ratio: 16 / 10;
    background: var(--color-surface);
}

body[data-service="trailer-transport"] .service-page-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* HIAB detail page image balance */
body[data-service="hiab-truck"] .page-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
    align-items: center;
}

body[data-service="hiab-truck"] .page-hero-media {
    height: clamp(250px, 30vw, 360px);
    aspect-ratio: 16 / 10;
    background: var(--color-surface);
}

body[data-service="hiab-truck"] .page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

body[data-service="hiab-truck"] .service-page-visual {
    height: clamp(260px, 32vw, 380px);
    aspect-ratio: 16 / 10;
    background: var(--color-surface);
}

body[data-service="hiab-truck"] .service-page-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Workshop repairs detail page image balance */
body[data-service="workshop-repairs"] .page-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
    align-items: center;
}

body[data-service="workshop-repairs"] .page-hero-media {
    height: clamp(250px, 30vw, 360px);
    aspect-ratio: 16 / 10;
    background: var(--color-surface);
}

body[data-service="workshop-repairs"] .page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

body[data-service="workshop-repairs"] .service-page-visual {
    height: clamp(260px, 32vw, 380px);
    aspect-ratio: 16 / 10;
    background: var(--color-surface);
}

body[data-service="workshop-repairs"] .service-page-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.service-page-visual-band {
    padding-top: 0;
}

.service-page-visual {
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    aspect-ratio: 16 / 9;
    height: var(--media-detail-height);
    min-height: 0;
}

.service-page-visual img {
    min-height: 0;
    max-height: none;
}

.service-page-visual-band + .section {
    border-top: 0;
}

.services-preview-footer {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.services-preview-footer p {
    margin: 0;
    color: var(--color-muted);
    max-width: 700px;
}

.service-row {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid var(--color-line);
}

.service-media {
    min-height: 170px;
    border: 1px solid var(--color-line);
    background: var(--color-section);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 18px;
}

.service-media strong {
    color: var(--color-text);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-media-placeholder {
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.service-media-placeholder span {
    color: var(--color-muted);
    font-size: 0.88rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.service-tags li {
    color: var(--color-muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 10px;
    border: 1px solid var(--color-line);
    background: var(--color-surface);
}

.service-copy {
    display: grid;
    gap: 14px;
}

.service-title {
    display: flex;
    align-items: center;
    gap: 0;
}

.service-title h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.2;
}

.service-row p {
    margin: 0;
    color: var(--color-muted);
}

.service-points {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.service-points li {
    position: relative;
    padding-left: 18px;
    color: var(--color-muted);
}

.service-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 1px;
    background: var(--color-primary);
}

.region-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--color-line);
    border-left: 1px solid var(--color-line);
}

.region-group {
    padding: 24px 22px;
    border-right: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    background: var(--color-surface);
    min-height: 118px;
}

.region-group h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    line-height: 1.2;
}

.region-group p {
    margin: 0;
    color: var(--color-muted);
}

.trust-layout {
    align-items: start;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px 22px;
    padding: 34px 0;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

.client {
    flex: 0 1 192px;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
}

.client img {
    display: block;
    max-width: 96%;
    max-height: 46px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
    filter: none;
    transition: transform 0.22s ease;
}

.client:hover img,
.client:focus-within img {
    transform: scale(1.02);
}

.quote-layout {
    grid-template-columns: 1fr;
}

.quote-form {
    border: 1px solid var(--color-line);
    padding: 32px;
    background: var(--color-surface);
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 0;
}

.cta-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.service-action-buttons .button {
    flex: 0 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 24px;
}

.form-grid label {
    display: grid;
    gap: 10px;
}

.phone-field {
    align-content: start;
}

.phone-input-group {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
}

.form-grid span {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--color-text);
}

.field-help {
    color: var(--color-muted);
    font-size: 0.78rem;
}

.field-error {
    min-height: 1.1rem;
    color: var(--color-primary);
    font-size: 0.78rem;
}

.form-note {
    margin: 20px 0 0;
    color: var(--color-muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

.faq-list {
    border-top: 1px solid var(--color-line);
    border-radius: 0;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--color-line);
}

.faq-trigger {
    width: 100%;
    padding: 22px 0;
    background: transparent;
    border: 0;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    text-align: left;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, padding-left 180ms ease;
}

.faq-trigger:hover,
.faq-trigger:focus-visible {
    color: var(--color-primary);
    padding-left: 6px;
    outline: none;
}

.faq-icon {
    color: var(--color-primary);
    font-size: 1.2rem;
    line-height: 1;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

.faq-panel {
    padding: 0 0 22px;
}

.faq-panel p {
    margin: 0;
    max-width: 840px;
    color: var(--color-muted);
}

.full-width {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--color-input);
    border-radius: 0;
    background: var(--color-surface);
    color: var(--color-text);
    font: inherit;
}

html[data-theme="dark"] .quote-form {
    background: #151515;
}

.text-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--color-primary);
    font-weight: 600;
}

.founder-section {
    padding: 118px 0 120px;
}

.founder-section .section-heading {
    max-width: 980px;
    margin: 0 auto 26px;
    text-align: center;
}

.founder-section .section-kicker {
    margin-bottom: 18px;
    font-size: 0.96rem;
    letter-spacing: 0.24em;
}

.founder-section .section-heading h2 {
    font-size: clamp(2rem, 3.8vw, 3rem);
    line-height: 1.08;
}

.founder-story {
    max-width: 920px;
    margin: 0 auto;
    padding-top: 10px;
}

.founder-story p {
    font-size: 1.05rem;
    line-height: 1.9;
}

.founder-story p + p {
    margin-top: 22px;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
    background: #101010;
    color: var(--color-text);
    border-color: #363636;
}

html[data-theme="dark"] .faq-trigger {
    color: var(--color-white);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
    color: #8f8f8f;
}

html[data-theme="dark"] .form-grid span {
    color: #d8d8d8;
}

html[data-theme="dark"] .field-help {
    color: #9b9b9b;
}

html[data-theme="dark"] input[type="file"] {
    background: #151515;
}

html[data-theme="dark"] select option {
    background: #151515;
    color: #f2f2f2;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-primary);
    outline: none;
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
    border-color: var(--color-primary);
}

input.is-valid,
select.is-valid,
textarea.is-valid {
    border-color: #7aa67f;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

[data-submit-button][disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-status {
    display: none;
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid var(--color-line);
    background: var(--color-status-bg);
    font-weight: 500;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-success {
    border-color: var(--color-success-line);
    background: var(--color-success-bg);
    color: var(--color-success-text);
}

.form-status.is-error {
    border-color: var(--color-error-line);
    background: var(--color-error-bg);
    color: var(--color-error-text);
}

.site-footer {
    border-top: 1px solid var(--color-line-soft);
    padding: 0;
    background: var(--color-surface);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(300px, 1.35fr) minmax(280px, 1.35fr) minmax(220px, 1fr) minmax(180px, 1fr);
    gap: 28px;
    padding: 42px 0 30px;
    align-items: start;
}

.footer-brand {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.footer-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 72px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    text-decoration: none;
    overflow: hidden;
    align-self: start;
    justify-self: start;
}

.footer-brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.footer-brand strong,
.footer-block h3 {
    display: block;
    margin: 0 0 12px;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text);
}

.footer-inner p,
.footer-bottom p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-block {
    min-width: 0;
}

.footer-block p + p {
    margin-top: 4px;
}

.footer-block a,
.footer-brand a {
    color: var(--color-text);
    text-decoration: none;
}

.footer-block a:hover,
.footer-brand a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 18px 0 24px;
    border-top: 1px solid var(--color-line-soft);
}

body.dark-mode .footer-brand-mark {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

body.dark-mode .footer-block a,
body.dark-mode .footer-brand a {
    color: var(--color-white);
}

body.dark-mode .footer-block a:hover,
body.dark-mode .footer-brand a:hover {
    color: #d14a4a;
}

body.dark-mode .footer-brand-mark:hover,
body.dark-mode .footer-brand-mark:focus-visible {
    border-color: #d14a4a;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-item a,
.footer-contact-item span {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}

@media (min-width: 981px) {
    .footer-inner > .footer-block:first-of-type .footer-contact-item a[href^="mailto:"] {
        white-space: nowrap;
    }
}

.footer-location-item {
    align-items: center;
}

.footer-location-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 62px;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.footer-address-text {
    display: block;
}

.footer-map-link {
    position: relative;
    display: grid;
    place-items: center;
    width: 62px;
    height: 46px;
    border: 1px solid var(--color-line);
    background:
        linear-gradient(90deg, transparent 49%, rgba(179, 0, 0, 0.16) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(17, 17, 17, 0.1) 50%, transparent 51%),
        var(--color-section);
    color: var(--color-primary);
    text-decoration: none;
    overflow: hidden;
}

.footer-map-mini {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    transform: rotate(45deg);
}

.footer-map-mini::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 2px solid currentColor;
}

.footer-map-mini span {
    position: absolute;
    left: 50%;
    bottom: -9px;
    width: 2px;
    height: 10px;
    background: currentColor;
    transform: translateX(-50%) rotate(-45deg);
}

.footer-map-label {
    position: absolute;
    right: 5px;
    bottom: 3px;
    font-size: 0.55rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.footer-map-link:hover,
.footer-map-link:focus-visible {
    border-color: var(--color-primary);
    color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 1px rgba(179, 0, 0, 0.22) inset;
}

.footer-contact-item + .footer-contact-item {
    margin-top: 8px;
}

.footer-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-line);
    color: var(--color-primary);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 3px;
}

body.dark-mode .footer-icon {
    border-color: rgba(255, 255, 255, 0.16);
    color: #ff5b5b;
    background: rgba(255, 255, 255, 0.06);
}

.text-link {
    color: var(--color-primary);
    font-weight: 600;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 12;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-charcoal);
    border-radius: 0;
    background: var(--color-white);
    color: #25d366;
    box-shadow: 0 4px 14px var(--color-shadow);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    border-color: var(--color-primary);
    color: #1faa52;
    outline: none;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.compact-grid > *:nth-child(2),
.industry-list > *:nth-child(2),
.quick-links-grid > *:nth-child(2),
.service-list-grid > *:nth-child(2),
.service-detail-grid > *:nth-child(2),
.mission-grid > *:nth-child(2),
.process-grid > *:nth-child(2) {
    transition-delay: 80ms;
}

.compact-grid > *:nth-child(3),
.industry-list > *:nth-child(3),
.quick-links-grid > *:nth-child(3),
.service-list-grid > *:nth-child(3),
.service-detail-grid > *:nth-child(3),
.mission-grid > *:nth-child(3),
.process-grid > *:nth-child(3) {
    transition-delay: 140ms;
}

.compact-grid > *:nth-child(4),
.industry-list > *:nth-child(4),
.quick-links-grid > *:nth-child(4),
.service-list-grid > *:nth-child(4),
.service-detail-grid > *:nth-child(4),
.mission-grid > *:nth-child(4),
.process-grid > *:nth-child(4) {
    transition-delay: 200ms;
}

.compact-grid > *:nth-child(5),
.industry-list > *:nth-child(5),
.service-list-grid > *:nth-child(5),
.service-detail-grid > *:nth-child(5) {
    transition-delay: 260ms;
}

.compact-grid > *:nth-child(6),
.industry-list > *:nth-child(6),
.service-list-grid > *:nth-child(6),
.service-detail-grid > *:nth-child(6) {
    transition-delay: 320ms;
}

html[data-theme="dark"] .service-preview-card,
html[data-theme="dark"] .service-list-card,
html[data-theme="dark"] .mission-card,
html[data-theme="dark"] .capability-block,
html[data-theme="dark"] .process-step,
html[data-theme="dark"] .hero-summary.compact-summary,
html[data-theme="dark"] .content-block.compact-note,
html[data-theme="dark"] .service-side-note.compact-note,
html[data-theme="dark"] .quick-link-card {
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 980px) {
    .header-inner {
        min-height: 118px;
        gap: 16px;
    }

    .brand-mark {
        width: 252px;
        height: 90px;
    }

    .brand-text strong {
        font-size: 0.98rem;
    }

    .brand-text span {
        font-size: 0.8rem;
    }

    .hero-home-grid,
    .hero-home-grid.hero-home-grid-text,
    .page-hero-grid,
    .split-feature,
    .industries-layout,
    .services-summary-intro {
        grid-template-columns: 1fr;
    }

    .hero-home-immersive {
        padding: 30px 0 36px;
    }

    .hero-home-immersive .container {
        width: min(1460px, calc(100% - 20px));
    }

    .home-hero-stage {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .home-hero-visual {
        min-height: clamp(280px, 48vw, 380px);
        border-left: 0;
        border-top: 0;
    }

    .hero-collage-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-hero-copy {
        width: auto;
        margin: 14px 0 0;
        padding: 20px;
    }

    .compact-grid,
    .hero-trust-grid,
    .fleet-grid,
    .credibility-grid,
    .quick-links-grid,
    .industry-list {
        grid-template-columns: 1fr;
    }

    .industry-slide img {
        min-height: 260px;
    }

    .hero-layout,
    .two-column,
    .coverage-layout,
    .contact-layout,
    .service-row,
    .services-intro,
    .form-grid,
    .phone-input-group {
        grid-template-columns: 1fr;
    }

    .site-nav {
        display: none;
    }

    .services-preview-grid,
    .mission-grid,
    .service-list-grid,
    .service-list-grid-primary {
        grid-template-columns: 1fr;
    }

    .service-list-grid-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header-controls-right {
        margin-left: 0;
    }

    .section {
        padding: 80px 0;
    }

    .hero {
        padding: 88px 0 80px;
    }

    .hero-summary {
        border-left: 0;
        border-top: 2px solid var(--color-primary);
        padding-left: 0;
        padding-top: 20px;
        width: 100%;
    }

    .hero-layout {
        gap: 36px;
    }

    .region-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .menu-panel-inner {
        width: min(340px, calc(100% - 20px));
        height: 100vh;
        max-height: 100vh;
    }

    .hero-visual,
    .page-hero-media,
    .services-summary-image {
        height: clamp(250px, 42vw, 380px);
    }

    .compact-grid-home .service-preview-home .service-card-thumb {
        height: clamp(200px, 40vw, 270px);
    }

    .feature-media,
    .industry-visual,
    .industries-layout > .feature-media {
        height: clamp(220px, 36vw, 330px);
    }

    .industries-layout-home > .industries-feature-home {
        height: 100%;
        min-height: clamp(300px, 42vw, 420px);
        aspect-ratio: auto;
        padding: 0;
    }

    .service-card-thumb,
    .fleet-card-media {
        height: clamp(190px, 28vw, 240px);
    }

    .split-feature-home .about-feature-home {
        height: auto;
    }

    .about-yard-panel {
        height: clamp(300px, 52vw, 390px);
    }

    .about-yard-overlay {
        width: min(72%, 620px);
        padding: clamp(18px, 3vw, 28px);
        gap: 12px;
    }

    .service-page-visual {
        height: clamp(240px, 40vw, 360px);
    }

    .yard-banner {
        min-height: 220px;
    }

    .industries-layout.industries-layout-home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "image image"
            "left right";
        gap: 14px;
    }

    .industries-layout.industries-layout-home > .industries-feature-home {
        aspect-ratio: 565 / 308;
        min-height: 0;
    }

    .industries-layout.industries-layout-home .industry-list-side {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 12px;
        height: auto;
    }

    .industries-layout.industries-layout-home .industry-list-side .capability-block {
        padding: 16px;
    }

    body[data-page="services"] .page-hero-grid,
    body[data-page="quote"] .page-hero-grid,
    body[data-page="standards"] .page-hero-grid,
    body[data-page="service-detail"] .page-hero-grid,
    body[data-service="diesel-tanker"] .page-hero-grid,
    body[data-service="trailer-transport"] .page-hero-grid,
    body[data-service="hiab-truck"] .page-hero-grid,
    body[data-service="workshop-repairs"] .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body[data-page="services"] .page-hero-copy,
    body[data-page="quote"] .page-hero-copy,
    body[data-page="standards"] .page-hero-copy,
    body[data-page="service-detail"] .page-hero-copy {
        max-width: 100%;
    }

    body[data-page="quote"] .page-hero-media {
        height: clamp(240px, 44vw, 340px);
    }

    body[data-page="standards"] .page-hero-media {
        height: clamp(240px, 44vw, 340px);
    }
}

@media (max-width: 720px) {
    .hero-home {
        padding: 56px 0 48px;
    }

    .hero-home-immersive {
        padding: 26px 0 32px;
    }

    .page-hero {
        padding: 50px 0 44px;
    }

    .hero-compact {
        padding: 38px 0 34px;
    }

    .hero-home .hero-copy h1,
    .page-hero-copy h1 {
        font-size: clamp(1.56rem, 8vw, 2.05rem);
        letter-spacing: -0.04em;
    }

    .hero-home-grid.hero-home-grid-compact {
        grid-template-columns: 1fr;
    }

    .home-hero-stage {
        min-height: 0;
    }

    .home-hero-copy {
        width: auto;
        margin: 10px 10px 0;
        padding: 16px;
    }

    .hero-home-immersive .hero-trust-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-hero-visual {
        min-height: 0;
        height: auto;
        padding: 8px;
        overflow: visible;
    }

    .hero-collage-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        height: auto;
        gap: 8px;
        align-content: start;
    }

    .hero-collage-tile {
        aspect-ratio: 16 / 10;
    }

    .hero-visual img,
    .feature-media img,
    .page-hero-media img,
    .services-summary-image img,
    .industry-visual img,
    .service-card-thumb img,
    .service-page-visual img {
        min-height: 0;
    }

    .container {
        width: min(1120px, calc(100% - 24px));
    }

    .hero-visual,
    .page-hero-media,
    .services-summary-image {
        height: clamp(220px, 62vw, 320px);
    }

    .feature-media,
    .industry-visual,
    .industries-layout > .feature-media {
        height: clamp(200px, 58vw, 300px);
    }

    .industries-layout-home > .industries-feature-home {
        height: 100%;
        min-height: clamp(240px, 56vw, 340px);
        aspect-ratio: auto;
        padding: 0;
    }

    .service-card-thumb,
    .fleet-card-media {
        height: clamp(180px, 52vw, 250px);
    }

    .compact-grid-home .service-preview-home {
        padding: 14px;
    }

    .compact-grid-home .service-preview-home .service-card-thumb {
        height: clamp(190px, 56vw, 240px);
    }

    .fleet-grid-home {
        gap: 14px;
    }

    .split-feature-home .about-feature-home {
        height: auto;
    }

    .about-yard-panel {
        height: clamp(280px, 72vw, 360px);
    }

    .about-yard-panel::before {
        background: linear-gradient(180deg, rgba(9, 13, 18, 0.34) 0%, rgba(9, 13, 18, 0.24) 42%, rgba(9, 13, 18, 0.1) 100%);
    }

    .about-yard-overlay {
        width: 100%;
        justify-content: end;
        align-content: end;
        padding: 16px;
        gap: 10px;
        background: linear-gradient(180deg, rgba(9, 13, 18, 0.08) 0%, rgba(9, 13, 18, 0.34) 72%, rgba(9, 13, 18, 0.46) 100%);
        border-right: 0;
    }

    .about-yard-overlay p {
        font-size: 0.96rem;
        line-height: 1.5;
    }

    .service-page-visual {
        height: clamp(220px, 62vw, 320px);
    }

    .yard-banner {
        min-height: 180px;
        padding: 18px 20px;
        background:
            linear-gradient(180deg, rgba(17, 17, 17, 0.88) 0%, rgba(17, 17, 17, 0.72) 100%),
            url("Images/brand/AATYard-optimized.jpg") center/contain no-repeat,
            var(--color-surface);
    }

    .yard-banner-copy {
        max-width: 100%;
        gap: 12px;
    }

    .industries-layout.industries-layout-home {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "left"
            "right";
        gap: 12px;
    }

    .industries-layout.industries-layout-home > .industries-feature-home {
        aspect-ratio: 565 / 308;
        min-height: 0;
    }

    .industries-layout.industries-layout-home .industry-list-side {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        height: auto;
    }

    body[data-page="services"] .page-hero-grid,
    body[data-page="quote"] .page-hero-grid,
    body[data-page="standards"] .page-hero-grid,
    body[data-page="service-detail"] .page-hero-grid,
    body[data-service="diesel-tanker"] .page-hero-grid,
    body[data-service="trailer-transport"] .page-hero-grid,
    body[data-service="hiab-truck"] .page-hero-grid,
    body[data-service="workshop-repairs"] .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body[data-page="services"] .page-hero-copy h1,
    body[data-page="quote"] .page-hero-copy h1,
    body[data-page="standards"] .page-hero-copy h1,
    body[data-page="service-detail"] .page-hero-copy h1 {
        max-width: 100%;
    }

    body[data-page="quote"] .page-hero-media {
        height: clamp(220px, 56vw, 300px);
    }

    body[data-page="standards"] .page-hero-media {
        height: clamp(220px, 56vw, 300px);
    }

    .service-list-grid-secondary {
        grid-template-columns: 1fr;
    }

    body[data-page="services"] .service-list-grid-primary,
    body[data-page="services"] .service-list-grid-secondary {
        grid-template-columns: 1fr;
    }

    body[data-page="services"] .service-list-grid-primary .service-card-thumb {
        height: clamp(190px, 56vw, 250px);
    }

    body[data-page="about"] .page-hero-media,
    body[data-page="about"] .split-feature .feature-media,
    body[data-page="about"] .fleet-card-media {
        height: clamp(190px, 60vw, 260px);
    }

    body[data-page="about"] .fleet-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        min-height: auto;
        padding: 10px 0;
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .brand {
        max-width: calc(100% - 104px);
        flex: 1 1 auto;
        gap: 8px;
        align-items: flex-start;
    }

    .brand-mark {
        width: 220px;
        height: 80px;
        padding: 0;
        flex: 0 0 auto;
    }

    .brand-text {
        gap: 1px;
        padding-top: 2px;
    }

    .brand-text strong {
        font-size: 0.98rem;
        line-height: 1.2;
    }

    .brand-text span {
        display: none;
    }

    .section {
        padding: 56px 0;
    }

    .hero {
        padding: 58px 0 54px;
    }

    .hero-copy h1 {
        font-size: clamp(1.72rem, 9vw, 2.35rem);
    }

    .hero-layout,
    .page-hero-grid,
    .hero-home-grid {
        gap: 24px;
    }

    .hero-home-grid.hero-home-grid-text {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero-compact .hero-layout {
        gap: 22px;
    }

    .hero-kicker-row {
        gap: 10px;
        margin-bottom: 16px;
    }

    .hero-intro,
    .page-hero-copy p,
    .content-block p,
    .service-preview-card p,
    .service-list-card p {
        font-size: 0.98rem;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .section-heading h2 {
        font-size: clamp(1.6rem, 7vw, 2.25rem);
    }

    .coverage-map-block {
        margin-top: 28px;
        padding-top: 28px;
    }

    .coverage-map-copy h3 {
        font-size: 1.15rem;
    }

    .coverage-map-shell {
        padding: 10px;
        max-width: 100%;
    }

    .summary-list dd {
        font-size: 1rem;
        line-height: 1.32;
    }

    .hero-actions .button,
    .form-actions .button {
        width: 100%;
        min-height: 56px;
    }

    .region-groups {
        grid-template-columns: 1fr;
    }

    .section-shell,
    .content-block,
    .service-lead-note,
    .service-side-note,
    .cta-panel,
    .service-preview-card,
    .mission-card,
    .capability-block,
    .process-step,
    .quote-form,
    .region-group,
    .service-media {
        padding: 18px;
    }

    .services-preview-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-row {
        gap: 20px;
        padding: 22px 0;
    }

    .service-media {
        min-height: 132px;
    }

    .region-group {
        min-height: auto;
    }

    .form-grid {
        gap: 18px;
    }

    .menu-panel-inner {
        width: min(320px, calc(100% - 12px));
        padding: 16px;
        height: 100vh;
        max-height: 100vh;
    }

    body::before,
    body::after {
        width: 4px;
    }

    .clients-grid {
        gap: 16px 18px;
        padding: 26px 0;
    }

    .client {
        flex-basis: calc(50% - 9px);
        min-height: 76px;
        padding: 10px 14px;
    }

    .client img {
        max-height: 36px;
    }

    .whatsapp-float {
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom));
        width: 56px;
        height: 56px;
    }

    .coverage-map {
        height: 360px;
    }

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

@media (max-width: 980px) and (min-width: 721px) {
    body[data-page="services"] .service-list-grid-primary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-page="services"] .service-list-grid-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-page="about"] .fleet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .services-preview-grid,
    .mission-grid,
    .capability-grid,
    .process-grid,
    .service-list-grid,
    .service-list-grid-primary,
    .service-list-grid-secondary {
        grid-template-columns: 1fr;
    }

    .services-preview-footer,
    .cta-panel,
    .cta-panel-actions {
        align-items: flex-start;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 34px 0 24px;
    }

    .footer-brand {
        grid-template-columns: 128px minmax(0, 1fr);
    }

    .footer-brand-mark {
        width: 128px;
        height: 72px;
        font-size: 1rem;
        border-radius: 0;
    }

    .footer-bottom {
        padding: 16px 0 22px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(1120px, calc(100% - 18px));
    }

    .header-inner {
        gap: 10px;
    }

    .brand {
        max-width: calc(100% - 96px);
    }

    .brand-mark {
        width: 196px;
        height: 70px;
    }

    .brand-text strong {
        font-size: 0.96rem;
    }

    .control-button {
        width: 44px;
        height: 44px;
    }

    .menu-panel-inner {
        width: calc(100% - 8px);
        padding: 14px;
    }

    .menu-links a {
        padding: 12px 0;
        font-size: 0.96rem;
    }

    .hero-home .hero-copy h1,
    .page-hero-copy h1,
    .hero-copy h1 {
        font-size: clamp(1.42rem, 8.5vw, 1.88rem);
    }

    .hero-intro,
    .page-hero-copy p {
        font-size: 0.94rem;
    }

    .hero-visual,
    .page-hero-media,
    .services-summary-image,
    .feature-media,
    .industry-visual,
    .industries-layout > .feature-media,
    .service-card-thumb,
    .fleet-card-media,
    .service-page-visual {
        padding: 0;
    }

    .yard-banner {
        min-height: 160px;
        padding: 16px;
    }

    .hero-summary,
    .compact-summary,
    .content-block,
    .service-preview-card,
    .service-list-card,
    .capability-block,
    .process-step,
    .quote-form {
        padding: 16px;
    }
}

@media (max-width: 980px) {
    body[data-page="contact"] .split-feature .feature-media {
        height: clamp(230px, 44vw, 320px);
    }
}

@media (max-width: 720px) {
    body[data-page="contact"] .split-feature .feature-media {
        height: clamp(220px, 58vw, 300px);
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .home-hero-visual img {
        animation: none;
        transform: none;
    }
}

/* Mobile stability pass */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

main,
section,
.container,
.site-header,
.site-footer {
    max-width: 100%;
}

img,
picture,
svg,
video,
canvas {
    max-width: 100%;
}

.brand,
.brand-text,
.page-hero-copy,
.hero-copy,
.feature-copy,
.content-block,
.service-preview-card,
.service-list-card,
.cta-panel,
.footer-block,
.footer-brand {
    min-width: 0;
}

.page-hero-media,
.hero-visual,
.feature-media,
.services-summary-image,
.industry-visual,
.service-card-thumb,
.service-page-visual,
.fleet-card-media {
    width: 100%;
    max-width: 100%;
}

.page-hero-media img,
.hero-visual img,
.feature-media img,
.services-summary-image img,
.industry-visual img,
.service-card-thumb img,
.service-page-visual img,
.fleet-card-media img {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 980px) {
    html {
        scroll-padding-top: 86px;
    }

    .site-header {
        overflow: hidden;
    }

    .header-inner {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        align-items: center;
        justify-content: stretch;
        gap: 10px;
        min-height: auto;
        padding: 9px 0;
    }

    .header-controls {
        min-width: 0;
    }

    .header-controls-left,
    .header-controls-right {
        width: 44px;
        margin: 0;
    }

    .control-button,
    .menu-toggle,
    .theme-toggle {
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 0;
    }

    .brand {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        align-items: center;
        gap: 8px;
        overflow: hidden;
    }

    .brand-mark {
        flex: 0 1 clamp(98px, 26vw, 150px);
        width: clamp(98px, 26vw, 150px);
        height: clamp(46px, 12vw, 62px);
    }

    .brand-text {
        flex: 0 1 112px;
        max-width: 112px;
    }

    .brand-text strong {
        display: block;
        overflow-wrap: anywhere;
        font-size: 0.86rem;
        line-height: 1.12;
    }

    .brand-text span {
        display: none;
    }

    .hero-home-grid,
    .hero-home-grid.hero-home-grid-compact,
    .hero-home-grid.hero-home-grid-text,
    .page-hero-grid,
    .split-feature,
    .industries-layout,
    .services-summary-intro,
    .two-column,
    .coverage-layout,
    .contact-layout,
    .quote-layout,
    .services-intro,
    .service-row,
    body[data-page="services"] .page-hero-grid,
    body[data-page="quote"] .page-hero-grid,
    body[data-page="standards"] .page-hero-grid,
    body[data-page="service-detail"] .page-hero-grid,
    body[data-service="diesel-tanker"] .page-hero-grid,
    body[data-service="trailer-transport"] .page-hero-grid,
    body[data-service="hiab-truck"] .page-hero-grid,
    body[data-service="workshop-repairs"] .page-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .page-hero-copy,
    .hero-copy,
    .feature-copy,
    body[data-page="services"] .page-hero-copy,
    body[data-page="quote"] .page-hero-copy,
    body[data-page="standards"] .page-hero-copy,
    body[data-page="service-detail"] .page-hero-copy {
        width: 100%;
        max-width: 100%;
    }

    .page-hero-copy h1,
    .hero-copy h1,
    .section-heading h2,
    .cta-heading {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .page-hero-copy p,
    .hero-intro,
    .content-block p,
    .feature-copy p,
    .service-preview-card p,
    .service-list-card p,
    .cta-panel p {
        max-width: 100%;
    }

    .page-hero-media,
    .hero-visual,
    .feature-media,
    .services-summary-image,
    .industry-visual,
    .service-page-visual,
    body[data-page="services"] .page-hero-media,
    body[data-page="services"] .split-feature .feature-media,
    body[data-page="quote"] .page-hero-media,
    body[data-page="standards"] .page-hero-media,
    body[data-page="about"] .page-hero-media,
    body[data-page="about"] .split-feature .feature-media,
    body[data-page="contact"] .split-feature .feature-media,
    body[data-page="service-detail"] .page-hero-media,
    body[data-service="diesel-tanker"] .page-hero-media,
    body[data-service="trailer-transport"] .page-hero-media,
    body[data-service="hiab-truck"] .page-hero-media,
    body[data-service="workshop-repairs"] .page-hero-media,
    body[data-service="diesel-tanker"] .service-page-visual,
    body[data-service="trailer-transport"] .service-page-visual,
    body[data-service="hiab-truck"] .service-page-visual,
    body[data-service="workshop-repairs"] .service-page-visual {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .page-hero-media img,
    .hero-visual img,
    .feature-media img,
    .services-summary-image img,
    .industry-visual img,
    .service-page-visual img,
    body[data-page="services"] .page-hero-media img,
    body[data-page="services"] .split-feature .feature-media img,
    body[data-page="quote"] .page-hero-media img,
    body[data-page="standards"] .page-hero-media img,
    body[data-page="about"] .page-hero-media img,
    body[data-page="about"] .split-feature .feature-media img,
    body[data-page="contact"] .split-feature .feature-media img,
    body[data-page="service-detail"] .page-hero-media img,
    body[data-service="diesel-tanker"] .page-hero-media img,
    body[data-service="trailer-transport"] .page-hero-media img,
    body[data-service="hiab-truck"] .page-hero-media img,
    body[data-service="workshop-repairs"] .page-hero-media img,
    body[data-service="diesel-tanker"] .service-page-visual img,
    body[data-service="trailer-transport"] .service-page-visual img,
    body[data-service="hiab-truck"] .service-page-visual img,
    body[data-service="workshop-repairs"] .service-page-visual img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .services-summary-copy .button,
    .service-action-buttons,
    .service-action-buttons .button,
    .cta-panel-actions,
    .cta-panel-actions .button {
        width: 100%;
    }

    .cta-panel-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .footer-brand-mark {
        width: 150px;
        height: 76px;
    }
}

@media (max-width: 720px) {
    html {
        scroll-padding-top: 76px;
    }

    .container {
        width: min(1120px, calc(100% - 24px));
    }

    .section,
    .section-dark {
        padding: 48px 0;
    }

    .page-hero,
    .hero,
    .hero-home {
        padding: 40px 0 42px;
    }

    .page-hero-grid,
    .hero-home-grid,
    .split-feature,
    .industries-layout,
    .services-summary-intro {
        gap: 18px;
    }

    .home-hero-stage {
        border-left: 0;
        border-right: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .home-hero-copy {
        margin: 0;
        padding: 16px 12px;
        border-left: 0;
        border-right: 0;
    }

    .home-hero-visual {
        padding: 8px 12px 12px;
        overflow: hidden;
    }

    .hero-collage-board {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .hero-collage-tile {
        aspect-ratio: 16 / 9;
    }

    .hero-collage-tile:nth-child(n + 2) {
        display: none;
    }

    .page-hero-media,
    .hero-visual,
    .feature-media,
    .services-summary-image,
    .industry-visual,
    .service-page-visual,
    .service-card-thumb,
    .fleet-card-media,
    body[data-page="services"] .service-list-grid-primary .service-card-thumb,
    .compact-grid-home .service-preview-home .service-card-thumb {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .service-page-visual-band {
        padding-top: 0;
    }

    .section-shell,
    .content-block,
    .service-lead-note,
    .service-side-note,
    .cta-panel,
    .service-preview-card,
    .service-list-card,
    .mission-card,
    .capability-block,
    .process-step,
    .quote-form,
    .region-group {
        padding: 16px;
    }

    .footer-brand {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 14px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-brand-mark {
        width: 104px;
        height: 58px;
    }

    .footer-contact-item a[href^="mailto:"] {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer-location-main {
        grid-template-columns: minmax(0, 1fr) 58px;
        gap: 8px;
    }

    .footer-map-link {
        width: 58px;
        height: 44px;
    }

    .footer-bottom {
        padding-right: 72px;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(1120px, calc(100% - 20px));
    }

    .header-inner {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 8px;
    }

    .header-controls-left,
    .header-controls-right,
    .control-button,
    .menu-toggle,
    .theme-toggle {
        width: 42px;
        min-width: 42px;
        height: 42px;
    }

    .brand-mark {
        flex-basis: clamp(92px, 28vw, 118px);
        width: clamp(92px, 28vw, 118px);
        height: clamp(42px, 13vw, 54px);
    }

    .brand-text {
        flex-basis: 94px;
        max-width: 94px;
    }

    .brand-text strong {
        font-size: 0.78rem;
        line-height: 1.08;
    }

    .page-hero-copy h1,
    .hero-copy h1 {
        font-size: 1.72rem;
    }

    .section-kicker {
        letter-spacing: 0.1em;
    }
}

@supports not (overflow: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}

/* Premium finish */
:root {
    --premium-ink: #0c0d0f;
    --premium-panel: rgba(255, 255, 255, 0.92);
    --premium-line: rgba(17, 17, 17, 0.12);
    --premium-shadow: 0 24px 60px rgba(16, 19, 24, 0.1);
    --premium-shadow-soft: 0 12px 34px rgba(16, 19, 24, 0.07);
    --premium-radius: 8px;
}

body {
    background:
        linear-gradient(180deg, rgba(248, 249, 251, 0.96) 0%, rgba(255, 255, 255, 1) 26%, rgba(246, 247, 249, 0.82) 100%);
    color: var(--premium-ink);
}

.site-header {
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 32px rgba(16, 19, 24, 0.06);
}

.header-inner {
    transition: min-height 220ms ease, padding 220ms ease;
}

.brand-mark,
.footer-brand-mark {
    filter: drop-shadow(0 8px 16px rgba(16, 19, 24, 0.08));
}

.section {
    border-top-color: rgba(17, 17, 17, 0.08);
}

.section-alt {
    background:
        linear-gradient(180deg, rgba(246, 247, 249, 0.92), rgba(255, 255, 255, 0.96));
}

.hero-home,
.page-hero {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 250, 0.92) 54%, rgba(255, 255, 255, 1));
}

.home-hero-stage {
    border-color: rgba(17, 17, 17, 0.1);
    border-radius: var(--premium-radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 244, 247, 0.94));
    box-shadow: var(--premium-shadow);
}

.home-hero-copy {
    border-color: rgba(17, 17, 17, 0.1);
    border-radius: var(--premium-radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 48px rgba(16, 19, 24, 0.08);
}

.hero-copy h1,
.page-hero-copy h1,
.section-heading h2,
.founder-section .section-heading h2,
.section-dark .section-heading h2,
.cta-heading,
.hero-home .hero-copy h1,
.service-title h3,
.fleet-card-copy strong,
.footer-brand strong,
.footer-block h3 {
    letter-spacing: 0;
}

.hero-copy h1,
.page-hero-copy h1,
.section-heading h2,
.cta-heading {
    letter-spacing: 0;
    text-wrap: balance;
}

.hero-copy h1 {
    font-size: 3.1rem;
}

.page-hero-copy h1 {
    font-size: 2.8rem;
}

.section-heading h2,
.cta-heading {
    font-size: 2.55rem;
}

.hero-intro,
.page-hero-copy p,
.content-block p,
.service-preview-card p,
.service-list-card p,
.feature-copy p,
.trust-copy p,
.cta-text {
    color: #4c525a;
}

.section-kicker {
    letter-spacing: 0.12em;
}

.eyebrow-badge,
.service-tags li {
    border-radius: 999px;
}

.button {
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: translateX(-120%);
    transition: transform 520ms ease;
}

.button:hover::before,
.button:focus-visible::before {
    transform: translateX(120%);
}

.button-primary {
    box-shadow: 0 16px 30px rgba(179, 0, 0, 0.2);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.76);
}

.hero-visual,
.feature-media,
.page-hero-media,
.services-summary-image,
.industry-visual,
.service-card-thumb,
.service-page-visual,
.fleet-card-media,
.about-yard-panel,
.yard-banner,
.coverage-map-shell {
    border-radius: var(--premium-radius);
    box-shadow: var(--premium-shadow-soft);
}

.hero-visual img,
.feature-media img,
.page-hero-media img,
.services-summary-image img,
.industry-visual img,
.service-card-thumb img,
.service-page-visual img,
.fleet-card-media img,
.about-yard-panel img {
    transition: transform 620ms ease, filter 620ms ease;
}

.hero-visual:hover img,
.feature-media:hover img,
.page-hero-media:hover img,
.service-card-thumb:hover img,
.service-page-visual:hover img,
.fleet-card-media:hover img,
.about-yard-panel:hover img {
    transform: scale(1.035);
    filter: saturate(1.06) contrast(1.04);
}

.content-block,
.service-preview-card,
.service-list-card,
.mission-card,
.capability-block,
.process-step,
.trust-tile,
.region-group,
.client,
.quote-form,
.cta-panel,
.section-shell,
.service-lead-note,
.service-side-note {
    border-color: var(--premium-line);
    border-radius: var(--premium-radius);
    background: var(--premium-panel);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, var(--premium-shadow-soft);
}

.service-preview-card:hover,
.service-preview-card:focus-within,
.service-list-card:hover,
.service-list-card:focus-within,
.region-group:hover,
.region-group:focus-within,
.mission-card:hover,
.mission-card:focus-within,
.capability-block:hover,
.capability-block:focus-within,
.quick-link-card:hover,
.quick-link-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: var(--premium-shadow);
}

.service-preview-card h3,
.service-list-card h3,
.content-block h3,
.mission-card h3,
.capability-block h3,
.process-step h3 {
    letter-spacing: 0;
}

.clients-grid {
    border-color: rgba(17, 17, 17, 0.08);
}

.client {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.client:hover,
.client:focus-within {
    transform: translateY(-4px);
    border-color: rgba(179, 0, 0, 0.2);
}

.about-yard-overlay {
    border-radius: var(--premium-radius);
    backdrop-filter: blur(10px);
}

.yard-banner {
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(12, 13, 15, 0.88) 0%, rgba(12, 13, 15, 0.68) 48%, rgba(12, 13, 15, 0.18) 100%),
        url("Images/brand/AATYard-optimized.jpg") center/cover no-repeat,
        #111111;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(4px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 700ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.whatsapp-float {
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(16, 19, 24, 0.18);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: translateY(-3px);
}

html[data-theme="dark"] body {
    background:
        linear-gradient(180deg, #101112 0%, #151618 42%, #101112 100%);
}

html[data-theme="dark"] .site-header {
    background: rgba(16, 16, 16, 0.86);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .hero-home,
html[data-theme="dark"] .page-hero,
html[data-theme="dark"] .section-alt {
    background:
        linear-gradient(135deg, rgba(18, 19, 21, 0.98), rgba(27, 29, 32, 0.96));
}

html[data-theme="dark"] .home-hero-stage,
html[data-theme="dark"] .home-hero-copy,
html[data-theme="dark"] .content-block,
html[data-theme="dark"] .service-preview-card,
html[data-theme="dark"] .service-list-card,
html[data-theme="dark"] .mission-card,
html[data-theme="dark"] .capability-block,
html[data-theme="dark"] .process-step,
html[data-theme="dark"] .trust-tile,
html[data-theme="dark"] .region-group,
html[data-theme="dark"] .client,
html[data-theme="dark"] .quote-form,
html[data-theme="dark"] .cta-panel,
html[data-theme="dark"] .section-shell,
html[data-theme="dark"] .service-lead-note,
html[data-theme="dark"] .service-side-note {
    background: rgba(22, 23, 25, 0.92);
    border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .hero-intro,
html[data-theme="dark"] .page-hero-copy p,
html[data-theme="dark"] .content-block p,
html[data-theme="dark"] .service-preview-card p,
html[data-theme="dark"] .service-list-card p,
html[data-theme="dark"] .feature-copy p,
html[data-theme="dark"] .trust-copy p,
html[data-theme="dark"] .cta-text {
    color: #c5c8cc;
}

@media (max-width: 980px) {
    .hero-copy h1,
    .page-hero-copy h1 {
        font-size: 2.05rem;
    }

    .section-heading h2,
    .cta-heading {
        font-size: 1.9rem;
    }

    .home-hero-stage {
        box-shadow: 0 16px 38px rgba(16, 19, 24, 0.08);
    }
}

@media (max-width: 720px) {
    .hero-copy h1,
    .page-hero-copy h1 {
        font-size: 1.72rem;
    }

    .section-heading h2,
    .cta-heading {
        font-size: 1.62rem;
    }

    .hero-home,
    .page-hero {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 247, 249, 0.94));
    }

    .home-hero-copy {
        box-shadow: none;
    }

    .hero-home .hero-trust-grid {
        display: none;
    }

    .hero-visual:hover img,
    .feature-media:hover img,
    .page-hero-media:hover img,
    .service-card-thumb:hover img,
    .service-page-visual:hover img,
    .fleet-card-media:hover img,
    .about-yard-panel:hover img {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .button::before {
        display: none;
    }

    .hero-visual img,
    .feature-media img,
    .page-hero-media img,
    .services-summary-image img,
    .industry-visual img,
    .service-card-thumb img,
    .service-page-visual img,
    .fleet-card-media img,
    .about-yard-panel img,
    .whatsapp-float,
    .client,
    .service-preview-card,
    .service-list-card,
    .mission-card,
    .capability-block,
    .quick-link-card {
        transition: none;
    }
}

/* Sharp operations finish */
:root {
    --premium-radius: 0;
    --premium-shadow: 0 18px 40px rgba(10, 12, 16, 0.16);
    --premium-shadow-soft: 0 10px 24px rgba(10, 12, 16, 0.08);
}

.button,
.control-button,
.menu-close,
.eyebrow-badge,
.service-tags li,
.hero-visual,
.feature-media,
.page-hero-media,
.services-summary-image,
.industry-visual,
.service-card-thumb,
.service-page-visual,
.fleet-card-media,
.about-yard-panel,
.yard-banner,
.coverage-map-shell,
.content-block,
.service-preview-card,
.service-list-card,
.mission-card,
.capability-block,
.process-step,
.trust-tile,
.region-group,
.client,
.quote-form,
.cta-panel,
.section-shell,
.service-lead-note,
.service-side-note,
.home-hero-stage,
.home-hero-copy,
.whatsapp-float,
input,
select,
textarea {
    border-radius: 0;
}

.hero-home-immersive {
    background:
        linear-gradient(90deg, #c40000 0%, #c40000 18%, #f3f4f6 18%, #f3f4f6 100%);
    padding: 44px 0 50px;
}

.home-hero-stage {
    background: #050505;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 70px rgba(7, 9, 12, 0.26);
    color: #ffffff;
}

.home-hero-stage::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: min(18vw, 220px);
    height: 100%;
    background:
        linear-gradient(180deg, rgba(196, 0, 0, 0.76), rgba(196, 0, 0, 0)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px);
    pointer-events: none;
    opacity: 0.56;
}

.home-hero-copy {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.hero-home-immersive .hero-copy h1,
.hero-home-immersive .hero-copy p {
    color: #ffffff;
}

.hero-home-immersive .hero-copy .section-kicker {
    color: #ff4a4a;
}

.hero-home-immersive .eyebrow-badge {
    background: #c40000;
    border-color: #c40000;
    color: #ffffff;
}

.hero-home-immersive .button-primary {
    background: #c40000;
    border-color: #c40000;
    box-shadow: 0 12px 0 rgba(255, 255, 255, 0.08);
}

.hero-home-immersive .button-secondary {
    background: #ffffff;
    border-color: #ffffff;
    color: #050505;
}

.hero-home-immersive .hero-trust-grid {
    gap: 12px;
}

.hero-home-immersive .trust-tile {
    background: #0c0c0d;
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    box-shadow: none;
}

.hero-home-immersive .trust-tile span {
    color: #b8bcc3;
}

.hero-collage-board {
    gap: 8px;
    align-content: stretch;
}

.hero-collage-tile {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #0b0b0c;
    box-shadow: none;
}

.hero-collage-tile-featured {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 7;
}

.hero-collage-media img {
    filter: saturate(1.08) contrast(1.08);
}

.content-block,
.service-preview-card,
.service-list-card,
.mission-card,
.capability-block,
.process-step,
.region-group,
.client,
.quote-form,
.cta-panel,
.section-shell,
.service-lead-note,
.service-side-note {
    box-shadow: none;
}

.service-preview-card,
.service-list-card,
.content-block,
.capability-block,
.mission-card,
.process-step {
    border-color: rgba(17, 17, 17, 0.14);
}

.service-preview-card:hover,
.service-preview-card:focus-within,
.service-list-card:hover,
.service-list-card:focus-within,
.region-group:hover,
.region-group:focus-within,
.mission-card:hover,
.mission-card:focus-within,
.capability-block:hover,
.capability-block:focus-within,
.quick-link-card:hover,
.quick-link-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(10, 12, 16, 0.1);
}

.button::before {
    display: none;
}

.button,
.client,
.service-preview-card,
.service-list-card,
.mission-card,
.capability-block,
.process-step,
.quick-link-card,
.whatsapp-float {
    transition-duration: 150ms;
}

.hero-visual img,
.feature-media img,
.page-hero-media img,
.services-summary-image img,
.industry-visual img,
.service-card-thumb img,
.service-page-visual img,
.fleet-card-media img,
.about-yard-panel img {
    transition: transform 220ms ease, filter 220ms ease;
}

.hero-visual:hover img,
.feature-media:hover img,
.page-hero-media:hover img,
.service-card-thumb:hover img,
.service-page-visual:hover img,
.fleet-card-media:hover img,
.about-yard-panel:hover img {
    transform: scale(1.018);
}

.reveal {
    transform: translateY(14px);
    filter: blur(2px);
    transition: opacity 260ms ease, transform 260ms cubic-bezier(0.22, 0.8, 0.26, 1), filter 220ms ease;
}

.reveal.is-visible {
    filter: blur(0);
}

@media (max-width: 980px) {
    .hero-home-immersive {
        background:
            linear-gradient(180deg, #c40000 0%, #c40000 92px, #f3f4f6 92px, #f3f4f6 100%);
    }

    .home-hero-stage {
        background: #050505;
    }

    .home-hero-stage::after {
        width: 120px;
        opacity: 0.36;
    }
}

@media (max-width: 720px) {
    .hero-home,
    .page-hero {
        background: #f3f4f6;
    }

    .hero-home-immersive {
        background:
            linear-gradient(180deg, #c40000 0%, #c40000 78px, #f3f4f6 78px, #f3f4f6 100%);
    }

    .home-hero-stage {
        background: #050505;
        border-color: rgba(255, 255, 255, 0.14);
    }

    .home-hero-copy {
        border-color: rgba(255, 255, 255, 0.12);
    }

    .home-hero-stage::after {
        display: none;
    }

    .hero-collage-tile-featured {
        aspect-ratio: 16 / 10;
    }
}

/* Final fit and theme corrections */
.home-hero-visual {
    display: flex;
    align-items: stretch;
}

.hero-collage-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1.85fr) repeat(2, minmax(0, 1fr));
    align-content: stretch;
    height: min(100%, 520px);
    max-height: 100%;
}

.hero-collage-tile,
.hero-collage-tile-featured {
    aspect-ratio: auto;
}

.hero-collage-tile-featured {
    grid-column: 1 / -1;
    grid-row: 1;
}

.hero-collage-tile:nth-child(6) {
    grid-column: 2 / -1;
}

.hero-collage-tile-featured .hero-collage-media img {
    object-position: center 22%;
}

html[data-theme="dark"] body {
    background: #0d0f11;
    color: #edf1f5;
}

html[data-theme="dark"] .site-header {
    background: rgba(11, 12, 14, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .site-nav a,
html[data-theme="dark"] .nav-dropdown-trigger,
html[data-theme="dark"] .menu-panel-head strong,
html[data-theme="dark"] .menu-links a,
html[data-theme="dark"] .menu-close,
html[data-theme="dark"] .control-button {
    color: #edf1f5;
    border-color: rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] .nav-dropdown-menu,
html[data-theme="dark"] .menu-panel-inner {
    background: #111317;
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .nav-dropdown-menu a:hover,
html[data-theme="dark"] .nav-dropdown-menu a:focus-visible,
html[data-theme="dark"] .menu-links a:hover,
html[data-theme="dark"] .menu-links a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #ff5959;
}

html[data-theme="dark"] .section-kicker,
html[data-theme="dark"] .text-link {
    color: #ff6666;
}

html[data-theme="dark"] :is(
    a[href]:not(.button):not(.brand):not(.whatsapp-float),
    .nav-dropdown-trigger,
    .faq-trigger,
    .menu-links a,
    .nav-dropdown-menu a,
    .site-nav a,
    .footer-block a,
    .footer-brand a
):is(:hover, :focus-visible) {
    color: #ff5a5a;
    text-shadow: 0 0 12px rgba(255, 90, 90, 0.44);
}

html[data-theme="dark"] :is(
    .control-button,
    .menu-close,
    .faq-trigger,
    .nav-dropdown-trigger
):is(:hover, :focus-visible) {
    border-color: rgba(255, 90, 90, 0.7);
    box-shadow: 0 0 0 1px rgba(255, 90, 90, 0.24) inset, 0 0 16px rgba(255, 90, 90, 0.32);
}

html[data-theme="dark"] .hero-home-immersive {
    background:
        linear-gradient(90deg, #a30000 0%, #a30000 16%, #0f1113 16%, #0f1113 100%);
}

html[data-theme="dark"] .home-hero-stage {
    background: #050607;
    border-color: rgba(255, 255, 255, 0.15);
}

html[data-theme="dark"] .home-hero-copy {
    background: linear-gradient(180deg, rgba(10, 11, 12, 0.78), rgba(13, 14, 16, 0.74));
    border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .hero-collage-tile,
html[data-theme="dark"] .trust-tile {
    background: #111317;
    border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .section:not(.section-dark),
html[data-theme="dark"] .site-footer {
    background: #0f1113;
    border-top-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .section-alt,
html[data-theme="dark"] .hero-home,
html[data-theme="dark"] .page-hero {
    background: #13161a;
}

html[data-theme="dark"] .hero-intro,
html[data-theme="dark"] .page-hero-copy p,
html[data-theme="dark"] .content-block p,
html[data-theme="dark"] .service-preview-card p,
html[data-theme="dark"] .service-list-card p,
html[data-theme="dark"] .feature-copy p,
html[data-theme="dark"] .trust-copy p,
html[data-theme="dark"] .cta-text,
html[data-theme="dark"] .brand-text span,
html[data-theme="dark"] .footer-inner p,
html[data-theme="dark"] .footer-bottom p,
html[data-theme="dark"] .faq-panel p,
html[data-theme="dark"] .field-help,
html[data-theme="dark"] .form-grid span {
    color: #c4cbd3;
}

html[data-theme="dark"] .footer-block a,
html[data-theme="dark"] .footer-brand a {
    color: #edf1f5;
}

html[data-theme="dark"] .footer-icon {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ff5d5d;
}

html[data-theme="dark"] .footer-map-link {
    background:
        linear-gradient(90deg, transparent 49%, rgba(255, 93, 93, 0.2) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(255, 255, 255, 0.12) 50%, transparent 51%),
        rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ff5d5d;
}

html[data-theme="dark"] .footer-map-link:hover,
html[data-theme="dark"] .footer-map-link:focus-visible {
    border-color: rgba(255, 90, 90, 0.72);
    color: #ff6a6a;
    box-shadow: 0 0 0 1px rgba(255, 90, 90, 0.24) inset, 0 0 14px rgba(255, 90, 90, 0.24);
}

html[data-theme="dark"] .button-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.34);
    color: #edf1f5;
}

html[data-theme="dark"] .button-secondary:hover,
html[data-theme="dark"] .button-secondary:focus-visible {
    background: #ffffff;
    border-color: #ffffff;
    color: #111111;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
    background: #101215;
    border-color: rgba(255, 255, 255, 0.2);
    color: #edf1f5;
}

@media (max-width: 1200px) {
    .hero-collage-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
        height: 100%;
    }

    .hero-collage-tile:nth-child(6) {
        grid-column: auto;
    }
}

@media (max-width: 980px) {
    .hero-collage-board {
        grid-template-rows: minmax(0, 1.55fr) repeat(2, minmax(0, 1fr));
    }

    .hero-collage-tile:nth-child(6) {
        display: none;
    }

    html[data-theme="dark"] .hero-home-immersive {
        background:
            linear-gradient(180deg, #a30000 0%, #a30000 92px, #0f1113 92px, #0f1113 100%);
    }
}

@media (max-width: 720px) {
    .hero-collage-board {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        height: auto;
    }

    .hero-collage-tile-featured .hero-collage-media img {
        object-position: center;
    }

    html[data-theme="dark"] .hero-home,
    html[data-theme="dark"] .page-hero {
        background: #0f1113;
    }

    html[data-theme="dark"] .hero-home-immersive {
        background:
            linear-gradient(180deg, #a30000 0%, #a30000 78px, #0f1113 78px, #0f1113 100%);
    }
}

/* Media frame fit cleanup */
body[data-page="services"] :is(.page-hero-media, .split-feature .feature-media, .service-card-thumb),
body[data-page="service-detail"] :is(.page-hero-media, .service-page-visual),
body[data-service] :is(.page-hero-media, .service-page-visual),
body[data-page="about"] :is(.page-hero-media, .split-feature .feature-media, .fleet-card-media),
body[data-page="quote"] .page-hero-media,
body[data-page="standards"] .page-hero-media,
body[data-page="contact"] .split-feature .feature-media {
    background: transparent;
}

body[data-page="services"] :is(.page-hero-media img, .split-feature .feature-media img, .service-card-thumb img),
body[data-page="service-detail"] :is(.page-hero-media img, .service-page-visual img),
body[data-service] :is(.page-hero-media img, .service-page-visual img),
body[data-page="about"] :is(.page-hero-media img, .split-feature .feature-media img, .fleet-card-media img),
body[data-page="quote"] .page-hero-media img,
body[data-page="standards"] .page-hero-media img,
body[data-page="contact"] .split-feature .feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Site wide image scaling pass */
:is(
    .services-summary-image,
    .industry-visual
) {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
}

:is(
    .services-summary-image img,
    .industry-visual img
) {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* Section alignment refinement */
body[data-page="home"] .industries-layout.industries-layout-home {
    align-items: start;
}

body[data-page="home"] .industries-layout.industries-layout-home > .industries-feature-home {
    min-height: clamp(320px, 28vw, 420px);
    height: clamp(320px, 28vw, 420px);
    aspect-ratio: auto;
    align-self: center;
}

body[data-page="home"] .industries-layout.industries-layout-home > .industries-feature-home img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 48% !important;
}

body[data-page="home"] .industries-layout.industries-layout-home .industry-list-side .capability-block {
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

body[data-page="home"] .fleet-grid-home {
    align-items: stretch;
}

body[data-page="home"] .fleet-grid-home .fleet-card-home {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
}

body[data-page="home"] .fleet-grid-home .fleet-card-media-home {
    height: clamp(190px, 18vw, 235px);
    aspect-ratio: auto;
}

body[data-page="home"] .fleet-grid-home .fleet-card-media-home img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

body[data-page="home"] .fleet-grid-home .fleet-card-copy {
    display: grid;
    align-content: start;
    height: 100%;
}

body[data-page="about"] .fleet-grid-about {
    align-items: stretch;
}

body[data-page="about"] .fleet-grid-about .fleet-card {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
}

body[data-page="about"] .fleet-grid-about .fleet-card-media {
    height: clamp(190px, 18vw, 235px);
    aspect-ratio: auto;
}

body[data-page="about"] .fleet-grid-about .fleet-card-media img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

body[data-page="contact"] .split-feature {
    grid-template-columns: minmax(0, 0.62fr) minmax(680px, 1.38fr);
    align-items: stretch;
}

body[data-page="contact"] .split-feature .feature-copy {
    min-height: clamp(252px, 21.6vw, 312px);
    display: grid;
    align-content: center;
}

body[data-page="contact"] .split-feature .feature-media {
    height: clamp(252px, 21.6vw, 312px) !important;
    aspect-ratio: auto !important;
    background: transparent !important;
}

body[data-page="contact"] .split-feature .feature-media img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 46% !important;
}

body[data-page="quote"] .page-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

body[data-page="quote"] .page-hero-copy {
    min-height: clamp(300px, 26vw, 360px);
    display: grid;
    align-content: center;
}

body[data-page="quote"] .page-hero-media {
    height: auto !important;
    aspect-ratio: auto !important;
    background: transparent !important;
    align-self: start;
    display: block;
}

body[data-page="quote"] .page-hero-media img {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
}

body[data-page="about"] .page-hero-media {
    height: clamp(280px, 23vw, 330px) !important;
    aspect-ratio: auto !important;
}

body[data-page="about"] .page-hero-media img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 52% !important;
}

body[data-page="about"] .split-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

body[data-page="about"] .split-feature .content-block {
    min-height: clamp(260px, 24vw, 320px);
    display: grid;
    align-content: center;
}

body[data-page="about"] .split-feature .feature-media {
    height: clamp(260px, 24vw, 320px) !important;
    aspect-ratio: auto !important;
}

body[data-page="about"] .split-feature .feature-media img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 50% !important;
}

body[data-page="standards"] .page-hero-media {
    height: clamp(300px, 26vw, 380px) !important;
    aspect-ratio: auto !important;
}

body[data-page="standards"] .page-hero-media img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

body[data-page="service-detail"] .page-hero-media,
body[data-service] .page-hero-media {
    height: clamp(260px, 23vw, 330px) !important;
    aspect-ratio: auto !important;
}

body[data-page="services"] .split-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

body[data-page="services"] .split-feature .content-block {
    min-height: clamp(300px, 27vw, 380px);
    display: grid;
    align-content: center;
}

body[data-page="services"] .split-feature .feature-media {
    height: clamp(300px, 27vw, 380px) !important;
    aspect-ratio: auto !important;
}

body[data-page="services"] .split-feature .feature-media img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

body[data-page="service-detail"] .service-page-visual,
body[data-service] .service-page-visual {
    height: auto !important;
    aspect-ratio: auto !important;
    max-width: min(920px, 100%);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: visible !important;
}

body[data-page="service-detail"] .service-page-visual img,
body[data-service] .service-page-visual img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
}

body[data-page="founder"] .page-hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

body[data-page="founder"] .page-hero-copy {
    max-width: 900px;
}

body[data-page="founder"] .page-hero-copy p {
    margin-left: auto;
    margin-right: auto;
}

body[data-page="founder"] .page-hero-media {
    width: min(920px, 100%);
    height: clamp(260px, 28vw, 360px) !important;
    aspect-ratio: auto !important;
}

body[data-page="founder"] .page-hero-media img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

body[data-page="founder"] .founder-story {
    max-width: 980px;
}

body[data-page="founder"] .founder-story .content-block {
    text-align: center;
    padding: clamp(28px, 3vw, 44px);
}

body[data-page="founder"] .founder-story p {
    margin-left: auto;
    margin-right: auto;
    max-width: 44ch;
    font-size: clamp(1.08rem, 1.45vw, 1.3rem);
    line-height: 1.78;
}

body[data-page="home"] .about-yard-panel {
    position: relative;
    height: clamp(280px, 24vw, 360px) !important;
    min-height: 0;
    aspect-ratio: auto !important;
    display: block;
}

body[data-page="home"] .about-yard-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 50% !important;
}

body[data-page="home"] .about-yard-overlay {
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(2.5px);
}

@media (max-width: 980px) {
    body[data-page="quote"] .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body[data-page="contact"] .split-feature,
    body[data-page="services"] .split-feature,
    body[data-page="about"] .split-feature {
        grid-template-columns: 1fr;
    }

    body[data-page="services"] .split-feature .content-block,
    body[data-page="about"] .split-feature .content-block,
    body[data-page="contact"] .split-feature .feature-copy {
        min-height: 0;
    }

    body[data-page="quote"] .page-hero-media,
    body[data-page="contact"] .split-feature .feature-media,
    body[data-page="services"] .split-feature .feature-media,
    body[data-page="about"] .split-feature .feature-media {
        height: clamp(240px, 44vw, 340px) !important;
    }

    body[data-page="service-detail"] .service-page-visual,
    body[data-service] .service-page-visual {
        max-width: 100%;
        height: auto !important;
    }

    body[data-page="quote"] .page-hero-copy {
        min-height: 0;
    }
}

/* Standards hero full image fit without crop or inner frame gaps */
body[data-page="standards"] .page-hero-grid {
    align-items: center;
}

body[data-page="standards"] .page-hero-media {
    height: auto !important;
    min-height: 0;
    aspect-ratio: auto !important;
    background: transparent !important;
    display: block;
}

body[data-page="standards"] .page-hero-media img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
}

@media (max-width: 980px) {
    body[data-page="standards"] .page-hero-media {
        height: auto !important;
    }
}

/* Services page card normalization */
body[data-page="services"] .service-list-grid-secondary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
}

body[data-page="services"] .service-list-grid-secondary .service-list-card {
    min-height: 0;
    align-self: start;
    padding: 20px;
}

body[data-page="services"] .service-list-grid-secondary .service-list-card:has(.service-card-thumb) {
    grid-column: span 2;
    grid-row: span 2;
    align-self: start;
}

body[data-page="services"] .service-list-grid-secondary .service-list-card:has(.service-card-thumb) .service-card-thumb {
    width: 100%;
    height: clamp(220px, 26vw, 280px);
    aspect-ratio: 16 / 10;
    margin: 0 0 18px;
    overflow: hidden;
}

body[data-page="services"] .service-list-grid-secondary .service-list-card:has(.service-card-thumb) .service-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body[data-page="services"] .service-list-grid-secondary .service-list-card.service-list-card-text {
    padding: 16px;
}

body[data-page="services"] .service-list-grid-secondary .service-list-card.service-list-card-text p {
    margin-bottom: 0;
    max-width: 100%;
}

body[data-page="services"] .service-list-grid-secondary > .service-list-card:nth-child(4) {
    grid-column: 3;
}

body[data-page="services"] .service-list-grid-secondary > .service-list-card:nth-child(5) {
    grid-column: 4;
}

@media (max-width: 980px) and (min-width: 721px) {
    body[data-page="services"] .service-list-grid-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-page="services"] .service-list-grid-secondary .service-list-card:has(.service-card-thumb) {
        grid-column: auto;
        grid-row: auto;
    }

    body[data-page="services"] .service-list-grid-secondary > .service-list-card:nth-child(4),
    body[data-page="services"] .service-list-grid-secondary > .service-list-card:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 720px) {
    body[data-page="services"] .service-list-grid-secondary {
        grid-template-columns: 1fr;
    }

    body[data-page="services"] .service-list-grid-secondary .service-list-card:has(.service-card-thumb) {
        grid-column: auto;
        grid-row: auto;
    }

    body[data-page="services"] .service-list-grid-secondary > .service-list-card:nth-child(4),
    body[data-page="services"] .service-list-grid-secondary > .service-list-card:nth-child(5) {
        grid-column: auto;
    }
}
