:root {
    --ink: #071923;
    --ink-soft: #263b45;
    --muted: #66777d;
    --soft: #f6f8f8;
    --line: #e8eef0;
    --green: #506f62;
    --white: #ffffff;
    --shadow: 0 18px 48px rgba(7, 25, 35, .1);
    --shadow-soft: 0 18px 48px rgba(7, 25, 35, .13);
    --shadow-button:
        0 1px 2px rgba(7, 25, 35, .1),
        0 8px 28px rgba(7, 25, 35, .12),
        inset 0 1px 8px rgba(255, 255, 255, .5);
    --font-serif: "Songti SC", "STSong", "SimSun", Georgia, serif;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--white);
    color: var(--ink);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 50% 0, rgba(77, 107, 95, .08), transparent 28rem),
        var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar {
    width: calc(100% - 36px);
    max-width: 1080px;
    min-height: 66px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}

.brand {
    font-size: 20px;
    font-weight: 800;
}

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

.nav a:hover {
    color: var(--ink);
}

.nav-home {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
}

.nav .nav-home:hover {
    color: #fff;
    opacity: .9;
}

.main {
    flex: 1;
}

.page {
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0, rgba(77, 107, 95, .08), transparent 28rem),
        var(--white);
}

.hero {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    padding: 34px 22px 0;
    text-align: center;
}

.logo {
    margin: 0 0 10px;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: clamp(34px, 9vw, 52px);
    font-weight: 700;
    line-height: 1.05;
}

.tagline,
.eyebrow {
    margin: 0 0 12px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.headline {
    margin: 0 auto;
    color: var(--ink);
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: 0;
}

.headline span {
    white-space: nowrap;
}

.lead,
.intro {
    max-width: 480px;
    margin: 16px auto 0;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.72;
}

.intro p {
    margin: 0;
}

.desktop-note {
    display: none;
    margin-top: 10px;
    color: var(--muted);
}

.actions {
    width: 100%;
    max-width: 340px;
    margin: 18px auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.button:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary,
.button-primary {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow-button);
}

.button.secondary,
.button-secondary {
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 10px 30px rgba(7, 25, 35, .08);
}

.marquee {
    width: 100%;
    margin: 28px 0 38px;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: marquee 16s linear infinite;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    position: relative;
    flex: 0 0 auto;
    width: 78vw;
    max-width: 420px;
    height: 270px;
    margin: 0 9px;
    overflow: hidden;
    border-radius: 16px;
    background: #edf2f1;
    box-shadow: var(--shadow-soft);
}

.marquee-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.marquee-caption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .34);
    pointer-events: none;
}

.marquee-caption em {
    font-style: normal;
    opacity: .84;
}

.sections {
    width: calc(100% - 36px);
    max-width: 1100px;
    margin: 0 auto 58px;
    display: grid;
    gap: 44px;
}

.section-head {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.section-kicker {
    margin: 0;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
}

.section-title {
    margin: 0;
    color: var(--ink);
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.18;
    font-weight: 650;
}

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

.district {
    min-height: 86px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.district:last-child {
    border-bottom: 1px solid var(--line);
}

.district h3 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 19px;
    line-height: 1.2;
    font-weight: 700;
}

.district p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.district .arrow {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 18px;
    transition: transform 180ms ease, background 180ms ease;
}

.district:hover .arrow {
    transform: translateX(2px);
    background: var(--soft);
}

.note-band {
    display: grid;
    gap: 14px;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
}

.note-band p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.76;
}

.reveal {
    opacity: 1;
    transform: none;
}

.reveal.in-view {
    animation: fadeInUp .72s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 1;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.section {
    width: calc(100% - 36px);
    max-width: 1080px;
    margin: 0 auto;
    padding: 34px 0 52px;
    border-top: 1px solid var(--line);
}

.page-hero {
    width: calc(100% - 40px);
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 0 42px;
    text-align: center;
}

.page-title {
    max-width: 680px;
    margin: 0 auto;
    color: var(--ink);
    font-size: clamp(36px, 7vw, 58px);
    line-height: 1.08;
    font-weight: 850;
}

.page-lead {
    max-width: 540px;
    margin: 20px auto 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.82;
    overflow-wrap: anywhere;
}

.section h2 {
    margin: 0 0 18px;
    font-size: 26px;
    line-height: 1.25;
}

.area-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.area-link {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    text-align: center;
}

.area-link:hover {
    background: #eef4f1;
}

.content {
    width: calc(100% - 36px);
    max-width: 880px;
    margin: 0 auto;
    padding: 44px 0 64px;
}

.content h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 6vw, 48px);
    line-height: 1.15;
}

.content p,
.content li {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
}

.content-card {
    margin-top: 16px;
    padding: 22px 0;
    border: 1px solid var(--line);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent;
}

.content-card h2 {
    color: var(--ink);
    font-size: 22px;
    line-height: 1.25;
}

.area-card-list {
    width: calc(100% - 36px);
    max-width: 1080px;
    margin: 0 auto 64px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 42px;
}

.area-card {
    min-height: 132px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.area-card:nth-last-child(1),
.area-card:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
}

.area-card strong {
    color: var(--ink);
    font-size: 22px;
    line-height: 1.2;
}

.area-card span {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

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

.area-card-rich {
    min-height: auto;
    align-content: start;
    gap: 0;
    overflow: hidden;
    padding: 0 0 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(7, 25, 35, .06);
}

.area-card-rich,
.area-card-rich:nth-last-child(1),
.area-card-rich:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
}

.area-card-rich img {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    background: var(--soft);
}

.area-card-rich .area-card-kicker {
    padding: 18px 18px 0;
    color: var(--green);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.4;
}

.area-card-rich strong,
.area-card-rich > span:not(.area-card-kicker) {
    padding-right: 18px;
    padding-left: 18px;
}

.area-card-rich strong {
    margin-top: 7px;
}

.detail-layout {
    width: calc(100% - 36px);
    max-width: 1080px;
    margin: 0 auto 64px;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 54px;
    align-items: start;
    border-top: 1px solid var(--line);
    padding-top: 34px;
}

.detail-aside {
    position: sticky;
    top: 24px;
}

.detail-aside strong {
    color: var(--ink);
    font-size: 18px;
}

.detail-aside p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.82;
}

.detail-list {
    display: grid;
    gap: 0;
}

.detail-block {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.detail-block:first-child {
    padding-top: 0;
}

.detail-block h2 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 22px;
}

.detail-block p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.82;
}

.detail-block p + p {
    margin-top: 10px;
}

.detail-block p strong {
    color: var(--ink);
}

.area-detail-hero {
    width: calc(100% - 36px);
    max-width: 1080px;
    margin: 0 auto;
    padding: 58px 0 38px;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 42px;
    align-items: center;
}

.area-detail-copy .page-title,
.area-detail-copy .page-lead {
    margin-left: 0;
    text-align: left;
}

.area-detail-copy .page-lead {
    max-width: 520px;
}

.area-detail-copy .home-actions {
    max-width: 420px;
    margin: 22px 0 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.area-tags {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.area-tags span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink-soft);
    background: rgba(246, 248, 248, .82);
    font-size: 13px;
    font-weight: 760;
}

.area-detail-media {
    margin: 0;
}

.area-detail-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    background: var(--soft);
    box-shadow: var(--shadow-soft);
}

.area-detail-media figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.area-fact-strip {
    width: calc(100% - 36px);
    max-width: 1080px;
    margin: 0 auto 44px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.area-fact-strip div {
    min-height: 116px;
    padding: 20px 24px 20px 0;
    border-right: 1px solid var(--line);
}

.area-fact-strip div:last-child {
    border-right: 0;
}

.area-fact-strip span {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-size: 12px;
    font-weight: 850;
}

.area-fact-strip strong {
    color: var(--ink);
    font-size: 17px;
    line-height: 1.55;
}

.source-list {
    margin: 0;
    padding-left: 18px;
}

.source-list li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.source-list a {
    color: var(--ink-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.source-list a:hover {
    color: var(--ink);
}

.footer {
    width: calc(100% - 36px);
    max-width: 1080px;
    margin: 0 auto;
    padding: 22px 0 34px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.footer a {
    color: inherit;
}

.footer a:hover {
    color: var(--ink);
}

.footer-records {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

@media (min-width: 640px) {
    .hero {
        padding-top: 52px;
    }

    .actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 390px;
        gap: 12px;
    }

    .marquee {
        margin-top: 48px;
    }
}

@media (min-width: 768px) {
    .desktop-note {
        display: block;
    }

    .marquee {
        margin-bottom: 72px;
    }

    .marquee-track {
        animation-duration: 24s;
    }

    .marquee-item {
        width: 60vw;
        max-width: 720px;
        height: 500px;
        margin: 0 12px;
        border-radius: 18px;
    }

    .marquee-caption {
        left: 20px;
        right: 20px;
        bottom: 18px;
        font-size: 14px;
    }

    .district-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 38px;
    }

    .district:nth-last-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .note-band {
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        align-items: start;
    }
}

@media (max-width: 900px) {
    .area-card-list-rich {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .area-detail-hero {
        grid-template-columns: 1fr;
        max-width: 720px;
        gap: 26px;
    }

    .area-detail-copy .page-title,
    .area-detail-copy .page-lead {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .area-tags {
        justify-content: center;
    }

    .area-detail-copy .home-actions {
        margin-right: auto;
        margin-left: auto;
    }

    .area-detail-copy {
        text-align: center;
    }
}

@media (max-width: 720px) {
    .topbar {
        min-height: 74px;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 12px 0;
    }

    .nav {
        gap: 11px;
        font-size: 13px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-hero {
        max-width: 350px;
        padding-top: 42px;
        padding-bottom: 32px;
    }

    .page-title {
        max-width: 330px;
        font-size: 34px;
    }

    .page-lead {
        max-width: 270px;
        font-size: 14px;
        line-height: 1.75;
    }

    .lead {
        max-width: 260px;
        font-size: 15px;
    }

    .area-list {
        grid-template-columns: 1fr;
    }

    .area-card-list,
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .area-card-list-rich {
        gap: 14px;
    }

    .area-card:nth-last-child(2) {
        border-bottom: 0;
    }

    .area-card-rich:nth-last-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .detail-aside {
        position: static;
    }

    .area-detail-hero {
        width: calc(100% - 36px);
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 36px 0 26px;
    }

    .area-detail-copy {
        text-align: center;
    }

    .area-detail-copy .page-title,
    .area-detail-copy .page-lead {
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .area-tags {
        justify-content: center;
    }

    .area-detail-copy .home-actions {
        grid-template-columns: 1fr;
        max-width: 260px;
    }

    .area-detail-media img {
        aspect-ratio: 4 / 3;
    }

    .area-fact-strip {
        grid-template-columns: 1fr;
        margin-bottom: 34px;
    }

    .area-fact-strip div {
        min-height: auto;
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .area-fact-strip div:last-child {
        border-bottom: 0;
    }

}

@media (max-width: 639px) {
    .hero {
        max-width: 390px;
        padding-top: 28px;
        padding-right: 24px;
        padding-left: 24px;
    }

    .headline {
        max-width: 330px;
        margin-right: auto;
        margin-left: auto;
        font-size: 34px;
        text-align: center;
    }

    .headline span {
        white-space: normal;
    }

    .tagline {
        margin-bottom: 10px;
        text-align: center;
    }

    .intro {
        max-width: 300px;
        font-size: 14px;
        line-height: 1.62;
        text-align: center;
    }

    .actions {
        grid-template-columns: 1fr;
        max-width: 260px;
    }

    .marquee-item {
        height: 248px;
    }

    .sections {
        margin-bottom: 42px;
    }

    .footer {
        display: grid;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.in-view {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .marquee-track {
        animation-duration: 36s;
    }

    .button,
    .district .arrow {
        transition: none;
    }
}
