:root {
    --ink: #182126;
    --muted: #65747c;
    --line: #dfe7e8;
    --paper: #f4f1ec;
    --white: #ffffff;
    --green: #185b4a;
    --green-dark: #161b1d;
    --gold: #c99a4a;
    --blue: #1e5d7a;
    --rail: 1120px;
    --narrow: 760px;
    --shadow: 0 16px 36px rgba(18, 33, 38, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    color: inherit;
}

img,
iframe {
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 76px;
    padding: 0 20px;
    background: rgba(18, 24, 26, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(var(--rail), 100%);
    min-height: 92px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 150px;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-width: 96px;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.15;
}

.brand img {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.nav a,
.header-call {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.nav a.active,
.nav a:hover {
    background: transparent;
    color: var(--gold);
}

.header-call {
    background: var(--gold);
    color: #171b1d;
    white-space: nowrap;
    justify-self: end;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
    width: 20px;
    height: 2px;
    display: block;
    background: currentColor;
}

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

.hero {
    position: relative;
    min-height: 500px;
    display: grid;
    align-items: center;
    overflow: hidden;
    background: #151a1d;
}

.hero-compact {
    min-height: 360px;
}

.hero-inner {
    min-height: 410px;
}

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

.hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 21, 23, 0.88) 0%, rgba(16, 21, 23, 0.68) 45%, rgba(16, 21, 23, 0.24) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(var(--rail), calc(100% - 40px));
    max-width: var(--rail);
    margin: 0 auto;
    padding: clamp(42px, 6vw, 76px) 0;
}

.hero-inner .hero-content {
    display: grid;
    justify-items: center;
    text-align: center;
}

.hero-inner h1,
.hero-inner .lead,
.hero-inner p {
    margin-left: auto;
    margin-right: auto;
}

.kicker {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0 0 18px;
    max-width: 760px;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 650;
    line-height: 1.04;
    letter-spacing: 0;
}

.hero h1,
.hero p {
    color: #fff;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.82);
}

h2 {
    margin: 0 0 16px;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 650;
    line-height: 1.14;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.25;
}

p {
    margin: 0 0 14px;
}

.lead {
    max-width: 720px;
    font-size: 18px;
    color: #34444b;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 0;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    overflow-wrap: anywhere;
}

.btn.primary {
    background: var(--gold);
    color: #171b1d;
}

.btn.secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.34);
}

.section {
    width: min(var(--rail), calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(36px, 5vw, 58px) 0;
}

.section-head {
    max-width: var(--narrow);
    margin: 0 auto 22px;
    text-align: center;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 36px);
    align-items: center;
}

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

.split > *,
.reverse > * {
    min-width: 0;
}

.stat-panel,
.quote-panel,
.list-panel,
.contact-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    box-shadow: var(--shadow);
    height: 100%;
}

.mission-vision-panel {
    display: grid;
    align-content: stretch;
    overflow: hidden;
    min-height: 310px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #0d315f;
    color: #fff;
    box-shadow: 0 22px 42px rgba(18, 33, 38, 0.14);
}

.mission-vision-panel article {
    display: grid;
    align-content: center;
    min-height: 155px;
    padding: clamp(22px, 3vw, 32px);
}

.mission-vision-panel article:first-child {
    background: #686f78;
}

.mission-vision-panel article:last-child {
    background: #0d315f;
}

.mission-vision-panel h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    line-height: 0.95;
}

.mission-vision-panel p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(13px, 1.05vw, 14px);
    font-weight: 500;
    line-height: 1.35;
}

.stat-panel {
    display: grid;
    gap: 8px;
    align-content: center;
    text-align: center;
}

.stat-panel strong {
    color: var(--green);
    font-size: 44px;
    font-weight: 650;
    line-height: 1;
}

.stat-panel span {
    margin-bottom: 14px;
    color: var(--muted);
    font-weight: 600;
}

.home-stat-panel,
.ohs-act-panel {
    grid-template-columns: 1fr 1.04fr;
    gap: 0;
    align-content: stretch;
    overflow: hidden;
    min-height: 300px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #0f2f59;
    box-shadow: 0 22px 42px rgba(18, 33, 38, 0.14);
    text-align: left;
}

.home-stat-panel .stat-numbers,
.home-stat-panel .stat-copy,
.ohs-act-panel .stat-numbers,
.ohs-act-panel .stat-copy {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.home-stat-panel .stat-numbers,
.ohs-act-panel .stat-numbers {
    background: #686f78;
}

.home-stat-panel .stat-numbers strong,
.home-stat-panel .stat-copy span,
.ohs-act-panel .stat-numbers strong,
.ohs-act-panel .stat-copy span {
    min-height: 150px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.48);
}

.home-stat-panel .stat-numbers strong:last-child,
.home-stat-panel .stat-copy span:last-child,
.ohs-act-panel .stat-numbers strong:last-child,
.ohs-act-panel .stat-copy span:last-child {
    border-bottom: 0;
}

.home-stat-panel .stat-numbers strong,
.ohs-act-panel .stat-numbers strong {
    justify-content: center;
    color: #fff;
    font-size: clamp(44px, 5.4vw, 68px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.9;
}

.home-stat-panel .stat-copy,
.ohs-act-panel .stat-copy {
    background: #0d315f;
}

.home-stat-panel .stat-copy span,
.ohs-act-panel .stat-copy span {
    max-width: none;
    margin: 0;
    padding: 26px clamp(26px, 4vw, 42px);
    color: #fff;
    font-size: clamp(13px, 1.2vw, 15px);
    font-weight: 700;
    line-height: 1.25;
}

.ohs-act-panel .stat-numbers strong {
    font-size: clamp(44px, 4.7vw, 62px);
}

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

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

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

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

.service-card,
.service-grid article,
.value-grid article,
.process-grid article {
    min-height: 210px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(18, 33, 38, 0.04);
}

.service-card,
.service-grid article,
.value-grid article,
.process-grid article {
    display: flex;
    flex-direction: column;
}

.service-card {
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.service-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    filter: saturate(0.92);
}

.service-card > div {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.service-card span {
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.service-card a {
    margin-top: auto;
}

.service-card a {
    display: inline-flex;
    margin-top: 12px;
    color: var(--green);
    font-weight: 700;
    text-decoration: none;
}

.compact article {
    min-height: 170px;
}

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

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

.value-grid article:last-child:nth-child(7) {
    grid-column: 1 / -1;
    max-width: 360px;
    width: 100%;
    justify-self: center;
    text-align: center;
}

.value-section {
    background: #fff;
    max-width: 1180px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px;
}

.values-band .section-head,
.values-band .value-grid {
    width: min(1120px, 100%);
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.values-band .section-head {
    max-width: var(--narrow);
}

.visual-proof {
    background: transparent;
}

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

.image-grid figure {
    min-height: 320px;
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #121a1e;
}

.image-grid img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: block;
    object-fit: cover;
    opacity: 0.94;
}

.image-grid figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 12px 14px;
    border-left: 4px solid var(--gold);
    background: rgba(18, 26, 30, 0.86);
    color: #fff;
    font-weight: 650;
}

.value-grid article span,
.process-grid article span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #e5f0ec;
    color: var(--green);
    font-weight: 700;
}

.local-band {
    background: #151a1d;
    color: var(--white);
    max-width: 1180px;
    padding-left: 32px;
    padding-right: 32px;
    border-radius: 10px;
    text-align: center;
}

.full-bleed-band {
    width: 100%;
    max-width: none;
    border-radius: 0;
    padding-left: 20px;
    padding-right: 20px;
}

.full-bleed-band > * {
    max-width: var(--narrow);
    margin-left: auto;
    margin-right: auto;
}

.local-support-band {
    background: #0d2a52;
}

.local-support-band > * {
    max-width: var(--rail);
}

.local-support-band p {
    max-width: var(--narrow);
}

.local-band p {
    max-width: var(--narrow);
    margin-left: auto;
    margin-right: auto;
}

.cta-band {
    background: #151a1d;
    color: var(--white);
    margin-top: 0;
    padding-top: 0 !important;
}

.local-band .kicker,
.cta-band .kicker {
    color: #f0be58;
}

.cta-band {
    padding: 0 20px;
}

.cta-inner {
    width: min(var(--rail), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: clamp(30px, 4vw, 44px) 0;
}

.cta-band p {
    max-width: 760px;
    color: #d9e5e1;
}

.cta-band .btn.primary {
    background: var(--gold);
    color: #1d1608;
    flex: 0 0 auto;
}

.process-band {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 20px;
    padding-right: 20px;
    background: #151a1d;
    color: #fff;
}

.process-band .section-head {
    color: #fff;
}

.process-band .section-head p:not(.kicker) {
    color: rgba(255, 255, 255, 0.72);
}

.process-strip {
    width: min(var(--rail), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.13);
}

.process-strip article {
    min-height: 200px;
    padding: 24px 22px;
    background: #1d2326;
}

.process-strip span {
    display: block;
    margin-bottom: 24px;
    color: var(--gold);
    font-size: 34px;
    font-weight: 650;
    line-height: 1;
}

.process-strip p {
    color: rgba(255, 255, 255, 0.72);
}

.list-panel ul {
    margin: 0;
    padding-left: 20px;
}

.list-panel li {
    margin: 10px 0;
}

.feature-text {
    max-width: 100%;
    margin-bottom: 20px;
}

.media-panel {
    min-height: 330px;
    overflow: hidden;
    border-radius: 8px;
    background: #121a1e;
    box-shadow: var(--shadow);
    height: 100%;
}

.media-panel img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    display: block;
    object-fit: cover;
}

.media-panel.tall {
    min-height: 460px;
}

.media-panel.tall img {
    min-height: 460px;
}

.contact-card a {
    display: block;
    margin: 12px 0;
    color: var(--green);
    font-size: 20px;
    font-weight: 650;
    text-decoration: none;
}

.contact-map {
    width: 100%;
    height: 410px;
    display: block;
    margin-top: 18px;
    border: 0;
    border-radius: 8px;
    filter: saturate(0.9);
}

.lead-form {
    display: grid;
    gap: 14px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: 100%;
}

.lead-form label {
    display: grid;
    gap: 6px;
    font-size: 14px;
    font-weight: 650;
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.form-alert {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
}

.form-alert.success {
    border: 1px solid #a9d8bf;
    background: #eaf7ef;
    color: #185b4a;
}

.form-alert.error {
    border: 1px solid #e0b3aa;
    background: #fff0ed;
    color: #8a2f21;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #bdc9ce;
    border-radius: 4px;
    font: inherit;
    background: #fff;
}

.site-footer {
    background: #121a1e;
    color: #d7e0e2;
    padding: 0 20px;
}

.footer-inner {
    width: min(var(--rail), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    padding: 34px 0;
    align-items: start;
}

.footer-inner > div:first-child {
    max-width: none;
}

.site-footer a {
    display: block;
    margin: 8px 0;
    color: #d7e0e2;
    text-decoration: none;
}

.site-footer h2,
.site-footer h3 {
    color: var(--white);
}

.footer-logo {
    width: 112px;
    height: 112px;
    object-fit: contain;
}

@media (max-width: 980px) {
    .header-inner {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        padding: 12px 0;
    }

    .nav {
        justify-content: flex-start;
    }

    .split,
    .reverse,
    .cta-inner,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .value-grid,
    .process-grid,
    .grid-even-3,
    .grid-even-4,
    .image-grid,
    .process-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-inner {
        display: grid;
    }

    .home-stat-panel,
    .ohs-act-panel {
        min-height: 260px;
    }

    .home-stat-panel .stat-numbers strong,
    .home-stat-panel .stat-copy span,
    .ohs-act-panel .stat-numbers strong,
    .ohs-act-panel .stat-copy span {
        min-height: 130px;
    }
}

@media (max-width: 640px) {
    .site-header {
        position: relative;
        padding: 0 16px;
    }

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

    .brand {
        min-width: 0;
    }

    .brand img {
        width: 68px;
        height: 68px;
    }

    .brand span {
        font-size: 15px;
    }

    .nav {
        grid-column: 1 / -1;
        width: 100%;
        display: none;
        grid-template-columns: 1fr;
        gap: 6px;
        padding-top: 8px;
    }

    .nav a,
    .header-call {
        min-height: 36px;
        padding: 7px 8px;
        font-size: 11px;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
    }

    .nav a {
        justify-content: flex-start;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }

    .menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .site-header.menu-open .menu-toggle {
        background: var(--gold);
        border-color: var(--gold);
        color: #171b1d;
    }

    .site-header.menu-open .nav {
        display: grid;
    }

    .header-call {
        grid-column: 1 / -1;
        display: none;
        width: 100%;
    }

    .site-header.menu-open .header-call {
        display: inline-flex;
    }

    .hero,
    .hero-compact {
        min-height: 0;
    }

    .hero-image::before {
        background: rgba(16, 21, 23, 0.78);
    }

    .hero-content {
        width: min(100% - 32px, var(--rail));
        padding: 34px 0;
    }

    h1 {
        font-size: 30px;
        line-height: 1.08;
    }

    h2 {
        font-size: 24px;
    }

    .lead {
        font-size: 16px;
    }

    .actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .actions .btn {
        width: 100%;
    }

    .service-grid,
    .value-grid,
    .process-grid,
    .grid-even-3,
    .grid-even-4,
    .image-grid,
    .process-strip {
        grid-template-columns: 1fr;
    }

    .section {
        width: min(100% - 32px, var(--rail));
        padding: 34px 0;
    }

    .local-band,
    .value-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .mission-vision-panel {
        min-height: 0;
    }

    .mission-vision-panel article {
        min-height: 130px;
        padding: 20px;
    }

    .mission-vision-panel h3 {
        font-size: 22px;
    }

    .lead-form {
        padding: 20px;
    }

    .contact-card a {
        font-size: 17px;
        overflow-wrap: anywhere;
    }

    .contact-map {
        height: 300px;
    }

    .home-stat-panel,
    .ohs-act-panel {
        grid-template-columns: 1fr;
    }

    .home-stat-panel .stat-numbers,
    .home-stat-panel .stat-copy,
    .ohs-act-panel .stat-numbers,
    .ohs-act-panel .stat-copy {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 1fr;
    }

    .home-stat-panel .stat-numbers strong,
    .home-stat-panel .stat-copy span,
    .ohs-act-panel .stat-numbers strong,
    .ohs-act-panel .stat-copy span {
        min-height: 104px;
        border-bottom: 0;
    }

    .home-stat-panel .stat-numbers strong:first-child,
    .home-stat-panel .stat-copy span:first-child,
    .ohs-act-panel .stat-numbers strong:first-child,
    .ohs-act-panel .stat-copy span:first-child {
        border-right: 1px solid rgba(255, 255, 255, 0.48);
    }

    .home-stat-panel .stat-copy span,
    .ohs-act-panel .stat-copy span {
        padding: 16px;
        font-size: 12px;
    }

    .ohs-act-panel .stat-numbers strong {
        font-size: 34px;
    }
}

@media (max-width: 390px) {
    .brand img {
        width: 62px;
        height: 62px;
    }

    h1 {
        font-size: 28px;
    }

    .home-stat-panel .stat-numbers strong,
    .ohs-act-panel .stat-numbers strong {
        font-size: 32px;
    }

    .home-stat-panel .stat-copy span,
    .ohs-act-panel .stat-copy span {
        padding: 14px;
        font-size: 11px;
    }
}
