:root {
    color-scheme: light;
    --ink: #17202a;
    --muted: #637083;
    --line: #dbe4ee;
    --paper: #f7fafc;
    --panel: #ffffff;
    --brand: #2f6f68;
    --brand-dark: #1f4f4b;
    --accent: #d89b3d;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(247, 250, 252, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.nav {
    width: min(1120px, calc(100% - 32px));
    min-height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--brand-dark);
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: var(--brand);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.nav-links a:hover {
    color: var(--brand-dark);
}

.hero {
    min-height: 460px;
    display: grid;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(rgba(16, 39, 38, 0.58), rgba(16, 39, 38, 0.36)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='680' viewBox='0 0 1200 680'%3E%3Crect width='1200' height='680' fill='%23396f69'/%3E%3Cpath d='M0 520C150 430 250 470 380 390C560 280 720 340 900 220C1030 135 1120 120 1200 82V680H0Z' fill='%23e8efe9' fill-opacity='.18'/%3E%3Cpath d='M0 165C175 120 285 150 442 92C620 25 760 95 922 55C1040 25 1135 30 1200 8V0H0Z' fill='%23ffffff' fill-opacity='.14'/%3E%3Ccircle cx='930' cy='170' r='86' fill='%23d89b3d' fill-opacity='.3'/%3E%3C/svg%3E") center / cover no-repeat;
}

.hero-inner,
.section {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.hero-inner {
    color: #fff;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(34px, 6vw, 62px);
    line-height: 1.1;
}

.hero-copy {
    max-width: 680px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
}

.section {
    padding: 72px 0;
}

.band {
    width: 100%;
    max-width: none;
    padding-left: max(16px, calc((100% - 1120px) / 2));
    padding-right: max(16px, calc((100% - 1120px) / 2));
    background: #edf4f1;
}

.section-head {
    margin-bottom: 28px;
}

.section h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
}

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

.card,
.timeline article,
.work-item {
    border: 1px solid var(--line);
    background: var(--panel);
}

.card {
    min-height: 180px;
    padding: 24px;
    border-radius: 8px;
}

.card h3,
.timeline h3,
.work-item h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.card p,
.timeline p,
.work-item p,
.about p {
    margin: 0;
    color: var(--muted);
}

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

.timeline article {
    padding: 22px;
    border-radius: 8px;
}

.timeline span,
.work-item span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-bottom: 12px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--brand-dark);
    background: #dcece7;
    font-size: 12px;
    font-weight: 800;
}

.work-list {
    display: grid;
    gap: 14px;
}

.work-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px;
    border-radius: 8px;
}

.work-item span {
    margin: 0;
}

.about {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.footer {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 40px;
    color: var(--muted);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
}

.footer p {
    margin: 0;
}

@media (max-width: 780px) {
    .nav {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .hero {
        min-height: 520px;
    }

    .grid,
    .timeline,
    .about {
        grid-template-columns: 1fr;
    }

    .work-item,
    .footer {
        flex-direction: column;
    }
}
