:root {
    --bg: #f4f7f6;
    --ink: #14201f;
    --muted: #62706f;
    --line: rgba(20, 32, 31, 0.12);
    --panel: #ffffff;
    --brand: #00a784;
    --brand-dark: #026b66;
    --accent: #e4b449;
    --danger: #d94e4e;
    --shadow: 0 18px 60px rgba(16, 31, 30, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px clamp(18px, 4vw, 64px);
    color: #fff;
    transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
    padding-top: 12px;
    padding-bottom: 12px;
    background: rgba(8, 22, 22, 0.9);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
}

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

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: rgba(0, 167, 132, 0.22);
    font-weight: 800;
    letter-spacing: 0;
}

.brand-text {
    display: grid;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 16px;
}

.brand-text small {
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
}

.primary-nav .menu {
    display: flex;
    gap: 24px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav a {
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    font-weight: 600;
}

.primary-nav a:hover {
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
}

.hero {
    min-height: 92vh;
    color: #fff;
    background-image: linear-gradient(90deg, rgba(4, 13, 13, 0.94) 0%, rgba(4, 13, 13, 0.72) 42%, rgba(4, 13, 13, 0.22) 100%), var(--hero-image);
    background-position: center;
    background-size: cover;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: clamp(28px, 5vw, 72px);
    align-items: end;
    min-height: 92vh;
    padding: 132px clamp(20px, 5vw, 76px) 56px;
}

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

.eyebrow,
.section-heading span,
.contact-section span {
    display: inline-block;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 760px;
    margin: 14px 0 20px;
    font-size: clamp(42px, 7vw, 84px);
    line-height: 1.04;
    letter-spacing: 0;
}

.hero p {
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
}

.button.primary {
    color: #062321;
    background: var(--accent);
}

.button.ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
}

.hero-status {
    display: grid;
    gap: 12px;
}

.hero-status div,
.ops-board,
.service-card,
.metric,
.post-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.hero-status div {
    padding: 18px;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(7, 24, 24, 0.58);
    backdrop-filter: blur(14px);
}

.hero-status span {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
}

.hero-status strong {
    display: block;
    margin-top: 6px;
    font-size: 32px;
    line-height: 1;
}

.section {
    padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 76px);
}

.section.compact {
    padding-top: 28px;
    padding-bottom: 28px;
    background: #e9efed;
}

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

.metric {
    padding: 22px;
    box-shadow: none;
}

.metric span {
    display: block;
    color: var(--brand-dark);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.metric p {
    margin: 10px 0 0;
    color: var(--muted);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading.align-left {
    margin-right: 0;
    margin-left: 0;
    text-align: left;
}

.section-heading h2,
.contact-section h2,
.post-panel h1 {
    margin: 8px 0 12px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.12;
    letter-spacing: 0;
}

.section-heading p,
.contact-section p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.service-card {
    padding: 26px;
    box-shadow: none;
}

.card-icon {
    display: inline-grid;
    width: 44px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--brand-dark);
    font-weight: 800;
}

.service-card h3 {
    margin: 22px 0 10px;
    font-size: 22px;
}

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

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: center;
    background: #101f1e;
    color: #fff;
}

.split-section .section-heading p,
.split-section .check-list {
    color: rgba(255, 255, 255, 0.72);
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    padding-left: 28px;
    background: linear-gradient(var(--brand), var(--brand)) left 11px / 14px 2px no-repeat;
}

.ops-board {
    display: grid;
    gap: 10px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.board-row {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 16px;
    align-items: center;
    min-height: 68px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.board-row span {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
}

.board-row em {
    color: rgba(255, 255, 255, 0.68);
    font-style: normal;
    white-space: nowrap;
}

.board-row.active {
    border-color: rgba(217, 78, 78, 0.55);
    background: rgba(217, 78, 78, 0.16);
}

.timeline-section {
    background: #fff;
}

.timeline div {
    padding: 24px;
    border-left: 3px solid var(--brand);
    background: #f4f7f6;
}

.timeline strong {
    display: block;
    font-size: 18px;
}

.timeline p {
    margin: 10px 0 0;
    color: var(--muted);
}

.contact-section {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: linear-gradient(135deg, #073331, #0a5751);
}

.contact-section h2 {
    max-width: 820px;
}

.site-footer {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 28px clamp(20px, 5vw, 76px);
    color: rgba(255, 255, 255, 0.72);
    background: #081413;
}

.site-footer p {
    margin: 4px 0 0;
}

.site-footer a {
    color: #fff;
    font-weight: 800;
}

.content-shell {
    width: min(980px, calc(100% - 40px));
    margin: 120px auto 64px;
}

.post-panel {
    padding: clamp(24px, 5vw, 48px);
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 920px) {
    .nav-toggle {
        display: block;
    }

    .primary-nav {
        position: absolute;
        top: 72px;
        right: 20px;
        display: none;
        min-width: 220px;
        padding: 16px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 8px;
        background: rgba(8, 22, 22, 0.96);
    }

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

    .primary-nav .menu {
        display: grid;
        gap: 14px;
    }

    .hero-inner,
    .split-section {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 640px) {
    .brand-text small {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        min-height: auto;
        padding-top: 112px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-status,
    .metrics-grid,
    .service-grid,
    .timeline {
        grid-template-columns: 1fr;
    }

    .board-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .contact-section,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
