:root {
    --ink: #0c1117;
    --panel: #121a23;
    --paper: #f3f5f7;
    --white: #ffffff;
    --line: #d8dde4;
    --muted: #5c6673;
    --red: #df2029;
    --red-dark: #aa1720;
    --steel: #c7ced7;
    --container: 1180px;
    --radius: 8px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
}

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

a {
    color: inherit;
}

.container {
    width: calc(100% - 36px);
    max-width: var(--container);
    margin-inline: auto;
}

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

.skip-link:focus {
    z-index: 100;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    clip: auto;
    background: var(--red);
    color: var(--white);
}

.site-header {
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 60;
}

.header-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    min-height: 92px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(12, 17, 23, 0.88);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.brand-tile {
    display: inline-flex;
    width: 208px;
    align-items: center;
    padding: 10px 12px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
}

.brand-tile img {
    width: 100%;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu a {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius);
    color: var(--white);
    font-size: 0.93rem;
    font-weight: 900;
    text-decoration: none;
}

.menu a:hover,
.menu .current-menu-item > a {
    background: rgba(223, 32, 41, 0.18);
}

.header-contact {
    display: grid;
    gap: 1px;
    justify-items: end;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 900;
}

.header-contact a {
    color: var(--white);
    font-size: 1.05rem;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span:not(.screen-reader-text) {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 2px solid var(--red);
    border-radius: var(--radius);
    background: var(--red);
    color: var(--white);
    font-weight: 950;
    line-height: 1.1;
    text-decoration: none;
}

.button:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.button--light {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
}

.button--small {
    min-height: 42px;
    padding: 10px 15px;
    font-size: 0.9rem;
}

.button-row,
.slab-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.lab-hero {
    position: relative;
    min-height: 860px;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}

.lab-hero__image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
}

.lab-hero__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(12, 17, 23, 0.98), rgba(12, 17, 23, 0.22) 46%, rgba(12, 17, 23, 0.64)),
        linear-gradient(90deg, rgba(12, 17, 23, 0.9), rgba(12, 17, 23, 0.25));
}

.lab-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 38px;
    align-items: end;
    padding: 250px 0 86px;
}

.hero-copy h1,
.page-hero h1 {
    max-width: 900px;
    margin: 0 0 24px;
    font-size: clamp(3rem, 7vw, 6.7rem);
    line-height: 0.9;
    letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
    max-width: 720px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.finish-card {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    background: rgba(12, 17, 23, 0.75);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.finish-card span,
.quote-box span {
    display: block;
    margin-bottom: 10px;
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.finish-card strong {
    display: block;
    margin-bottom: 12px;
    font-size: 1.65rem;
    line-height: 1.05;
}

.finish-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.proof-strip {
    background: var(--ink);
    color: var(--white);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-grid span {
    min-height: 108px;
    display: grid;
    place-items: center;
    padding: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 850;
}

.proof-grid strong {
    display: block;
    color: var(--white);
    font-size: 1.8rem;
    line-height: 1;
}

.section {
    padding: 88px 0;
}

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

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

.intro-grid,
.compare-grid,
.capability-layout,
.slab-inner,
.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: inherit;
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4.4vw, 4rem);
}

h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

p {
    margin-top: 0;
}

.intro-grid p,
.compare-copy p,
.prose p {
    color: var(--muted);
}

.finish-compare {
    padding: 90px 0;
    background: var(--paper);
}

.compare-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 430px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 24px 70px rgba(12, 17, 23, 0.18);
}

.compare-before,
.compare-after {
    position: relative;
    background-position: center;
    background-size: cover;
}

.compare-before::after,
.compare-after::after {
    content: "";
    position: absolute;
    inset: 0;
}

.compare-before::after {
    background: linear-gradient(0deg, rgba(12, 17, 23, 0.62), rgba(12, 17, 23, 0.1));
}

.compare-after::after {
    background: linear-gradient(0deg, rgba(223, 32, 41, 0.28), rgba(12, 17, 23, 0.06));
}

.compare-before span,
.compare-after span {
    position: absolute;
    z-index: 2;
    left: 18px;
    bottom: 18px;
    padding: 8px 12px;
    border-radius: var(--radius);
    background: rgba(12, 17, 23, 0.82);
    color: var(--white);
    font-weight: 950;
}

.section-title {
    max-width: 760px;
    margin-bottom: 34px;
}

.service-lanes {
    background: var(--white);
}

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

.lane-grid article {
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.lane-grid img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.lane-grid article div {
    padding: 20px;
}

.lane-grid p {
    color: var(--muted);
}

.capability-layout {
    align-items: center;
}

.capability-layout p {
    color: rgba(255, 255, 255, 0.78);
}

.capability-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.capability-board span {
    min-height: 84px;
    display: flex;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 900;
}

.contact-slab {
    background:
        linear-gradient(90deg, rgba(12, 17, 23, 0.92), rgba(12, 17, 23, 0.68)),
        url("../images/placeholders/commercial-refinishing.jpg") center / cover;
    color: var(--white);
}

.slab-inner {
    align-items: center;
}

.slab-inner p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.8);
}

.slab-actions {
    justify-content: end;
}

.page-hero {
    padding: 230px 0 88px;
    background:
        linear-gradient(90deg, rgba(12, 17, 23, 0.94), rgba(12, 17, 23, 0.62)),
        url("../images/placeholders/hero-hgv-spray-booth.jpg") center / cover;
    color: var(--white);
}

.page-hero p:not(.eyebrow) {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.16rem;
}

.prose {
    max-width: 860px;
}

.prose h2 {
    margin-top: 38px;
    font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.prose h2:first-child {
    margin-top: 0;
}

.prose a,
.text-link {
    color: var(--red);
    font-weight: 900;
}

.quote-box {
    position: sticky;
    top: 140px;
    display: grid;
    gap: 14px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--white);
}

.quote-box h2 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.quote-box p {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer {
    background: #070b10;
    color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.9fr;
    gap: 44px;
    padding: 58px 0;
}

.site-footer h2 {
    color: var(--white);
    font-size: 1.05rem;
}

.site-footer .brand-tile {
    margin-bottom: 18px;
}

.site-footer a {
    color: var(--white);
    text-decoration: none;
}

@media (max-width: 1040px) {
    .header-grid {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .nav-toggle {
        display: block;
    }

    .primary-nav {
        grid-column: 1 / -1;
        display: none;
        width: 100%;
    }

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

    .menu {
        display: grid;
        gap: 8px;
        padding: 0 0 12px;
    }

    .menu a {
        background: rgba(255, 255, 255, 0.08);
    }

    .header-contact {
        display: none;
    }

    .lab-hero__inner,
    .intro-grid,
    .compare-grid,
    .capability-layout,
    .slab-inner,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .proof-grid,
    .lane-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .slab-actions {
        justify-content: start;
    }
}

@media (max-width: 680px) {
    .container {
        width: calc(100% - 32px);
    }

    .site-header {
        top: 10px;
    }

    .header-grid {
        min-height: 78px;
    }

    .brand-tile {
        width: 174px;
    }

    .lab-hero {
        min-height: auto;
    }

    .lab-hero__inner {
        padding: 170px 0 56px;
    }

    .hero-copy h1,
    .page-hero h1 {
        max-width: 100%;
        font-size: 1.82rem;
        line-height: 1.02;
        overflow-wrap: anywhere;
    }

    h2 {
        max-width: 100%;
        font-size: 1.9rem;
        overflow-wrap: anywhere;
    }

    .hero-copy p:not(.eyebrow),
    .intro-grid p,
    .compare-copy p,
    .prose p,
    .slab-inner p,
    .finish-card p {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.08em;
        overflow-wrap: anywhere;
    }

    .button-row,
    .slab-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .finish-card {
        padding: 20px;
    }

    .finish-card strong {
        font-size: 1.28rem;
        overflow-wrap: anywhere;
    }

    .proof-grid,
    .lane-grid,
    .capability-board,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section,
    .finish-compare {
        padding: 62px 0;
    }

    .compare-panel {
        grid-template-columns: 1fr;
        min-height: 620px;
    }

    .quote-box {
        position: static;
    }

    .page-hero {
        padding: 178px 0 62px;
    }
}
