:root {
    --ink: #172331;
    --muted: #667482;
    --paper: #f6f9f8;
    --panel: #ffffff;
    --line: #dde6e7;
    --blue: #1c5d89;
    --green: #4c8b7d;
    --clay: #c65b45;
    --mist: #e7f0ef;
    --shadow: 0 24px 60px rgba(23, 35, 49, 0.11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    background: var(--ink);
    border: 2px solid var(--green);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

main[tabindex="-1"]:focus {
    outline: none;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid rgba(76, 139, 125, 0.8);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 18px clamp(20px, 5vw, 72px);
    background: rgba(246, 249, 248, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    font-weight: 800;
    letter-spacing: 0;
}

.brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.brand span {
    font-size: 14px;
    white-space: nowrap;
}

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

.nav a {
    padding: 8px 12px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
}

.nav a:hover {
    color: var(--blue);
    background: var(--mist);
}

.section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 78px 0;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: clamp(32px, 5vw, 70px);
    align-items: center;
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 92px;
    min-width: 0;
}

.hero-copy {
    min-width: 0;
    max-width: 100%;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--clay);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
}

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

h1 {
    margin-bottom: 22px;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: 0;
    text-wrap: balance;
    max-width: 100%;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 3.4vw, 48px);
    line-height: 1.15;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: 0;
}

.lead {
    max-width: 680px;
    color: var(--muted);
    font-size: 19px;
}

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

.primary-link,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    font-weight: 850;
}

.primary-link {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 14px 28px rgba(28, 93, 137, 0.22);
}

.text-link {
    color: var(--blue);
    border: 1px solid var(--line);
    background: #fff;
}

.hero-visual {
    position: relative;
    margin: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    min-width: 0;
    max-width: 100%;
}

.hero-visual img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.hero-visual figcaption {
    position: absolute;
    right: 26px;
    bottom: 26px;
    max-width: 260px;
    padding: 12px 14px;
    color: #fff;
    background: rgba(23, 35, 49, 0.82);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 750;
}

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

.section-heading.narrow {
    max-width: 620px;
}

.company-grid,
.timeline {
    display: grid;
    gap: 18px;
}

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

.company-grid article,
.timeline article {
    min-height: 210px;
    padding: 28px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.company-grid span,
.timeline span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 28px;
    color: #fff;
    background: var(--green);
    border-radius: 50%;
    font-weight: 900;
}

.company-grid p,
.timeline p,
.capability-copy p,
.contact p {
    color: var(--muted);
}

.capability {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
    gap: 34px;
    align-items: stretch;
    min-width: 0;
}

.capability-copy {
    padding: clamp(34px, 4.4vw, 56px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-width: 0;
}

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

.check-list li {
    position: relative;
    padding-left: 28px;
    font-weight: 750;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 10px;
    height: 10px;
    background: var(--clay);
    border-radius: 50%;
}

.capability-media {
    min-height: 520px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-width: 0;
}

.capability-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quality-band {
    width: 100%;
    padding-left: max(20px, calc((100% - 1180px) / 2));
    padding-right: max(20px, calc((100% - 1180px) / 2));
    background: #edf4f2;
    border-block: 1px solid var(--line);
}

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

.quality-grid figure {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.quality-grid img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.quality-grid figcaption {
    display: grid;
    gap: 6px;
    padding: 20px;
}

.quality-grid span {
    color: var(--muted);
}

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

.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
    gap: 36px;
    align-items: start;
    min-width: 0;
}

.contact-list {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.contact-list div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}

.contact-list div:last-child {
    border-bottom: 0;
}

.contact-list dt {
    color: var(--green);
    font-weight: 900;
}

.contact-list dd {
    margin: 0;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 28px clamp(20px, 5vw, 72px);
    color: #fff;
    background: #172331;
    font-weight: 750;
}

@media (max-width: 980px) {
    .site-header,
    .hero,
    .capability,
    .contact {
        grid-template-columns: 1fr;
    }

    .site-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
    }

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

    .hero {
        min-height: auto;
    }

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

@media (max-width: 640px) {
    .section {
        width: min(1180px, calc(100% - 28px));
        padding: 56px 0;
    }

    h1 {
        font-size: 29px;
        line-height: 1.2;
        word-break: break-all;
        line-break: anywhere;
    }

    .lead {
        max-width: 100%;
        font-size: 17px;
    }

    h2 {
        font-size: 28px;
    }

    .site-header {
        padding: 16px 14px;
    }

    .nav {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .nav a {
        padding: 10px 8px;
        text-align: center;
        font-size: 13px;
        background: #fff;
        border: 1px solid var(--line);
    }

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

    .brand span {
        font-size: 12px;
        line-height: 1.25;
    }

    .brand span {
        white-space: normal;
    }

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

    .capability-media {
        min-height: 360px;
    }

    .hero-visual figcaption {
        position: static;
        max-width: none;
        margin-top: 12px;
        color: var(--ink);
        background: var(--mist);
    }

    .contact-list div {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}
