:root {
    --brand: #e8491d;
    --brand-dark: #bf3b16;
    --ink: #15212c;
    --ink-soft: #4e5964;
    --line: #dbe1e6;
    --bg: #f3f6f8;
    --surface: #ffffff;
    --radius-lg: 24px;
    --radius-md: 14px;
    --shadow-soft: 0 20px 45px rgba(21, 33, 44, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
}

h1,
h2,
h3,
p,
figure {
    margin: 0;
}

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

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

.container {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: none;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 0.94rem;
    font-weight: 700;
    transition: background 0.25s ease, transform 0.25s ease;
    cursor: pointer;
}

.btn:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(21, 33, 44, 0.2);
}

.btn-outline:hover {
    background: var(--ink);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(10px);
}

.utility-bar {
    background: #111820;
    color: #d8dee5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 42px;
    gap: 16px;
    font-size: 0.84rem;
}

.utility-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.utility-links a:hover {
    color: #fff;
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    min-height: 84px;
    background: rgba(255, 255, 255, 0.97);
}

.brand {
    flex: 0 0 auto;
}

.brand img {
    width: auto;
    height: 56px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.main-nav a {
    color: #27313a;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover {
    color: var(--brand);
    border-color: var(--brand);
}

.main-nav a.is-active {
    color: var(--brand);
    border-color: var(--brand);
}

.main-nav .mobile-cta {
    display: none;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(21, 33, 44, 0.2);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-toggle:hover {
    border-color: rgba(21, 33, 44, 0.34);
}

.site-header.scrolled .nav-row {
    box-shadow: 0 12px 28px rgba(16, 25, 33, 0.16);
}

.hero {
    position: relative;
    min-height: 780px;
    color: #fff;
    overflow: clip;
}

.hero-bg,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    background: linear-gradient(112deg, rgba(16, 25, 33, 0.9) 0%, rgba(16, 25, 33, 0.78) 52%, rgba(16, 25, 33, 0.35) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -150px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 73, 29, 0.52) 0%, rgba(232, 73, 29, 0) 68%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 30px;
    align-items: end;
    padding: 96px 0 64px;
}

.hero-copy {
    max-width: 710px;
}

.hero-copy h1 {
    font-size: clamp(2rem, 4vw, 3.55rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.hero-description {
    margin-top: 22px;
    max-width: 620px;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 36px;
}

.fact-card {
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
}

.fact-card h2 {
    margin-bottom: 4px;
    font-size: 1.85rem;
    line-height: 1;
}

.fact-card p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.86);
}

.dispatch-panel {
    padding: 28px;
    border-radius: var(--radius-lg);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-soft);
}

.panel-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
}

.dispatch-panel h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.56rem;
    line-height: 1.2;
}

.dispatch-panel p {
    color: var(--ink-soft);
}

.dispatch-panel ul {
    margin: 18px 0 22px;
    padding-left: 18px;
    color: #2e3841;
}

.dispatch-panel li + li {
    margin-top: 8px;
}

.section {
    padding: 88px 0;
}

section[id] {
    scroll-margin-top: 132px;
}

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

.section-head h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.section-head.narrow {
    max-width: 700px;
}

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

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 24px;
    align-items: stretch;
}

.card-surface {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 12px 30px rgba(21, 33, 44, 0.07);
}

.about-story {
    padding: 30px;
}

.about-story p {
    color: var(--ink-soft);
}

.about-story p + p {
    margin-top: 16px;
}

.about-media img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 30px rgba(21, 33, 44, 0.14);
}

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

.value-card {
    padding: 20px;
    border-radius: 12px;
    background: #f6f8fa;
    border-left: 4px solid var(--brand);
}

.value-card h3 {
    margin-bottom: 8px;
    font-size: 1.07rem;
}

.value-card p {
    color: var(--ink-soft);
    font-size: 0.93rem;
}

.section-services {
    position: relative;
    overflow: clip;
}

.section-services::before,
.section-services::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.section-services::before {
    top: -140px;
    right: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 73, 29, 0.2) 0%, rgba(232, 73, 29, 0) 70%);
}

.section-services::after {
    bottom: -180px;
    left: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21, 33, 44, 0.1) 0%, rgba(21, 33, 44, 0) 72%);
}

.service-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    display: grid;
    grid-template-rows: 210px 1fr;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 10px 26px rgba(21, 33, 44, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 32px rgba(21, 33, 44, 0.13);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card div {
    padding: 20px;
}

.service-card h3 {
    margin-bottom: 8px;
    font-size: 1.12rem;
}

.service-card p {
    color: var(--ink-soft);
    font-size: 0.94rem;
}

.section-operations {
    background: linear-gradient(150deg, #111a23 0%, #1b2833 55%, #243443 100%);
    color: #edf2f6;
}

.operations-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
}

.operations-image {
    position: relative;
}

.operations-image::after {
    content: "";
    position: absolute;
    inset: 14px -14px -14px 14px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.operations-image img {
    width: 100%;
    min-height: 430px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.operations-content .eyebrow {
    color: #ff8d6b;
}

.operations-content h2 {
    font-size: clamp(1.72rem, 2.8vw, 2.45rem);
    line-height: 1.16;
}

.operations-content > p {
    margin-top: 16px;
    color: rgba(237, 242, 246, 0.86);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.metric-card {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.metric-card h3 {
    color: #fff;
    font-size: 1.35rem;
}

.metric-card p {
    font-size: 0.88rem;
    color: rgba(237, 242, 246, 0.82);
}

.section-projects {
    background: #fff;
}

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

.project-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(21, 33, 44, 0.08);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-card div {
    padding: 18px 20px 22px;
}

.project-card h3 {
    margin-bottom: 8px;
    font-size: 1.14rem;
}

.project-card p {
    color: var(--ink-soft);
    font-size: 0.93rem;
}

.project-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

.project-featured img {
    height: 100%;
    min-height: 250px;
}

.project-featured div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #fff 0%, #f7f9fb 100%);
}

.section-standards {
    background: #eef2f5;
}

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

.standard-card {
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(21, 33, 44, 0.08);
    overflow: hidden;
}

.standard-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.standard-card h3,
.standard-card p {
    padding: 0 18px;
}

.standard-card h3 {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.standard-card p {
    padding-bottom: 22px;
    color: var(--ink-soft);
    font-size: 0.93rem;
}

.section-careers {
    background: #fff;
}

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

.careers-copy {
    border-radius: var(--radius-lg);
    padding: 34px;
    color: #eef3f8;
    background: linear-gradient(145deg, #1f2f3d 0%, #273a49 60%, #31495d 100%);
    box-shadow: var(--shadow-soft);
}

.careers-copy .eyebrow {
    color: #ff9a79;
}

.careers-copy h2 {
    font-size: clamp(1.65rem, 2.6vw, 2.3rem);
    line-height: 1.15;
}

.careers-copy p {
    margin-top: 14px;
    color: rgba(238, 243, 248, 0.88);
}

.careers-copy .btn {
    margin-top: 24px;
}

.careers-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 32px rgba(21, 33, 44, 0.14);
}

.section-contact {
    background: #111b25;
    color: #f4f7fa;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: start;
}

.contact-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.contact-card .eyebrow {
    color: #ff9d7d;
}

.contact-card h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    line-height: 1.16;
}

.contact-list {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.contact-list p {
    color: rgba(244, 247, 250, 0.9);
}

.contact-list a {
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.45);
    text-underline-offset: 3px;
}

.contact-note {
    margin-top: 18px;
    color: rgba(244, 247, 250, 0.75);
}

.contact-form {
    padding: 26px;
    border-radius: var(--radius-lg);
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-soft);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #3f4a55;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 14px;
    padding: 12px 13px;
    border: 1px solid #cfd6dd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    background: #fff;
}

.contact-form textarea {
    min-height: 135px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(232, 73, 29, 0.14);
}

.contact-form .btn {
    width: 100%;
    margin-top: 4px;
}

.site-footer {
    background: #0d151e;
    color: #d4dae0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-row {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.87rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-links a:hover {
    color: #fff;
}

.reveal-ready {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.65s ease var(--reveal-delay, 0ms),
        transform 0.65s ease var(--reveal-delay, 0ms);
}

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

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

    .btn,
    .service-card,
    .main-nav a {
        transition: none;
    }

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

@media (max-width: 1080px) {
    .main-nav {
        gap: 18px;
        font-size: 0.82rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 72px;
        gap: 20px;
    }

    .dispatch-panel {
        max-width: 470px;
    }

    .about-layout,
    .operations-layout,
    .careers-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .project-featured {
        grid-template-columns: 1fr;
    }

    .operations-image::after {
        inset: 10px -10px -10px 10px;
    }
}

@media (max-width: 900px) {
    .nav-row {
        min-height: 74px;
        padding: 10px 0;
    }

    .brand img {
        height: 48px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-cta {
        display: none;
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: 0 14px 30px rgba(16, 25, 33, 0.18);
        z-index: 60;
        text-transform: none;
        letter-spacing: 0.01em;
        font-size: 0.98rem;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 14px;
        border-bottom: 1px solid #e8edf2;
        border-left: 3px solid transparent;
        border-radius: 8px;
    }

    .main-nav a:hover,
    .main-nav a:focus-visible,
    .main-nav a.is-active {
        color: var(--brand);
        border-color: transparent;
        border-left-color: var(--brand);
        background: rgba(232, 73, 29, 0.08);
    }

    .main-nav a:last-of-type {
        border-bottom: none;
    }

    .main-nav .mobile-cta {
        display: inline-flex;
        justify-content: center;
        margin-top: 8px;
        border: none;
        border-radius: 999px;
        background: var(--brand);
        color: #fff;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        font-size: 0.82rem;
    }

    .main-nav .mobile-cta.is-active {
        background: var(--brand-dark);
        border-left-color: transparent;
        color: #fff;
    }

    .main-nav .mobile-cta:hover,
    .main-nav .mobile-cta:focus-visible {
        background: var(--brand-dark);
        border-left-color: transparent;
        color: #fff;
    }

    .service-grid,
    .standards-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-featured {
        grid-column: auto;
    }

    .value-grid,
    .metric-grid,
    .hero-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    section[id] {
        scroll-margin-top: 170px;
    }

    .utility-content,
    .utility-links,
    .footer-row {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .utility-content {
        padding: 8px 0;
    }

    .nav-row {
        min-height: 68px;
    }

    .brand img {
        height: 42px;
    }

    .hero {
        min-height: 700px;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn,
    .dispatch-panel .btn {
        width: 100%;
    }

    .hero-facts,
    .value-grid,
    .metric-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 72px 0;
    }

    .about-story,
    .careers-copy,
    .contact-card,
    .contact-form {
        padding: 22px;
    }
}
