/* =====================================================================
   Brooksview Capital — site stylesheet
   Palette: ink navy + river teal (取自 "Brook" 溪流意象)
   Breakpoints: 1024px (平板/手机菜单) · 640px (手机)
   ===================================================================== */

:root {
    --ink: #10243A;
    --ink-2: #193450;
    --ink-3: #2A4A6B;
    --river: #3E8A87;
    --river-dark: #316F6C;
    --river-light: #6FB3AE;
    --river-soft: #E1EFEE;
    --mist: #F1F4F6;
    --paper: #FFFFFF;
    --text: #1E2B38;
    --muted: #5A6774;
    --line: #DCE3E8;
    --danger: #B42318;

    --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
    --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;

    --wrap: 1240px;
    --gutter: clamp(20px, 4vw, 40px);
    --header-h: 84px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s; }
h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--ink);
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--river-light); outline-offset: 3px; }
::selection { background: var(--river-soft); color: var(--ink); }

.container {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.skip-link {
    position: absolute; left: 16px; top: -100px; z-index: 200;
    background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons & links ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 52px; padding: 0 28px;
    font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .01em;
    border: 1px solid transparent; border-radius: 2px; cursor: pointer;
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-primary { background: var(--river); color: #fff; }
.btn-primary:hover { background: var(--river-dark); color: #fff; }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--river-soft); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.text-link {
    display: inline-block;
    font-weight: 600; font-size: 16px; color: var(--ink);
    padding-bottom: 4px;
    background: linear-gradient(var(--river), var(--river)) left bottom / 100% 1px no-repeat;
    transition: color .25s, background-size .35s var(--ease);
}
.text-link:hover { color: var(--river-dark); background-size: 40% 1px; }
.text-link-sm { font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    color: var(--ink);
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    transition: background-color .35s, border-color .35s, color .35s;
}
.site-header.is-overlay {
    position: fixed; left: 0; right: 0;
    background: transparent; border-bottom-color: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    color: #fff;
}
.site-header.is-overlay.is-scrolled {
    background: rgba(255,255,255,.97); border-bottom-color: var(--line);
    color: var(--ink);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 23px; line-height: 1; letter-spacing: .005em; white-space: nowrap; }

.nav-menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-menu > a { position: relative; font-size: 15px; font-weight: 500; color: inherit; padding: 6px 0; }
.nav-menu > a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: left;
    transition: transform .35s var(--ease);
}
.nav-menu > a:hover::after, .nav-menu > a.active::after { transform: scaleX(1); }
.nav-menu > a.nav-cta { border: 1px solid currentColor; padding: 10px 20px; border-radius: 2px; }
.nav-menu > a.nav-cta::after { display: none; }
.nav-menu > a.nav-cta:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.is-overlay:not(.is-scrolled) .nav-menu > a.nav-cta:hover { background: #fff; border-color: #fff; color: var(--ink); }
.nav-extra { display: none; }

.nav-toggle {
    display: none; position: relative; width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; color: inherit; cursor: pointer;
}
.nav-toggle span {
    position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
    transition: transform .3s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Flowing lines (hero / banners) ---------- */
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-lines path { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-lines .flow { animation: flow 40s linear infinite; }
@keyframes flow { to { transform: translateX(-600px); } }

/* ---------- Hero (home) ---------- */
.hero {
    position: relative; overflow: hidden;
    display: flex; align-items: flex-end;
    min-height: 100vh; min-height: 100svh;
    color: #fff;
    background:
        radial-gradient(1100px 600px at 88% 12%, rgba(62,138,135,.28), transparent 60%),
        linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 55%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(16,36,58,.35) 0%, rgba(16,36,58,.05) 38%, rgba(16,36,58,.88) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    padding-top: calc(var(--header-h) + 72px);
    padding-bottom: clamp(56px, 9vh, 112px);
}
.hero h1 {
    color: #fff;
    font-size: clamp(44px, 7.2vw, 104px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.025em;
    max-width: 13ch;
}
.hero-lede { max-width: 54ch; margin: 32px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-facts {
    list-style: none; display: flex; flex-wrap: wrap; gap: 12px 44px;
    margin-top: clamp(48px, 8vh, 88px); padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.18);
    font-size: 15px; color: rgba(255,255,255,.72);
}
.hero-facts li::before {
    content: ""; display: inline-block; width: 16px; height: 1px; margin-right: 12px;
    vertical-align: middle; background: var(--river-light);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative; overflow: hidden;
    padding: clamp(72px, 10vw, 136px) 0 clamp(56px, 7vw, 96px);
    color: #fff;
    background:
        radial-gradient(900px 480px at 90% 0%, rgba(62,138,135,.24), transparent 60%),
        var(--ink);
}
.page-hero .hero-lines { opacity: .75; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(40px, 6vw, 80px); font-weight: 300; letter-spacing: -.02em; max-width: 16ch; }
.page-hero p { max-width: 60ch; margin: 24px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.75); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section-mist { background: var(--mist); }

.display { font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -.02em; }
.display-sm { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 24px; }
.lead { font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); line-height: 1.45; color: var(--ink); margin-bottom: 24px; }

.split {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 7vw, 112px); align-items: start;
}
.split p:not(.lead) { color: var(--muted); max-width: 62ch; }
.split .text-link { margin-top: 12px; }

.section-head {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(20px, 7vw, 112px); align-items: end;
    margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head p { margin: 0; color: var(--muted); max-width: 56ch; }
.section-head-inline { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; }

/* Steps（投资流程） */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.step { padding: 28px 28px 8px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-num { display: block; font-family: var(--serif); font-size: 16px; color: var(--river-dark); }
.step h3 { font-size: clamp(24px, 2vw, 28px); margin: 40px 0 12px; }
.step p { font-size: 16px; color: var(--muted); }

/* Sectors */
.sector-list { border-top: 1px solid var(--line); margin-bottom: 40px; }
.sector-row {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(12px, 7vw, 112px); align-items: baseline;
    padding: 28px 0; border-bottom: 1px solid var(--line);
    transition: padding-left .4s var(--ease);
}
.sector-row h3 { font-size: clamp(24px, 2.4vw, 32px); transition: color .3s; }
.sector-row p { margin: 0; color: var(--muted); max-width: 56ch; }
.sector-row:hover { padding-left: 12px; }
.sector-row:hover h3 { color: var(--river-dark); }

/* Principles / pillars */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 88px); }
.principle { padding: 32px 0 16px; border-top: 1px solid var(--line); }
.principle h3, .pillar h3 { font-size: clamp(24px, 2vw, 28px); margin-bottom: 12px; }
.principle p, .pillar p { color: var(--muted); max-width: 48ch; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.pillar { padding-top: 28px; border-top: 2px solid var(--ink); }

/* News cards（首页） */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 48px); }
.news-card { display: flex; flex-direction: column; }
.news-card.no-image { padding-top: 24px; border-top: 2px solid var(--ink); }
.news-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); margin-bottom: 20px; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-card time { font-size: 14px; color: var(--muted); }
.news-card h3 { font-size: clamp(22px, 2vw, 26px); margin: 10px 0 12px; }
.news-card h3 a:hover { color: var(--river-dark); }
.news-card p { font-size: 16px; color: var(--muted); }

/* News list（列表页） */
.news-list { border-top: 1px solid var(--ink); }
.news-row {
    display: grid; grid-template-columns: 170px minmax(0, 1fr) 280px;
    gap: clamp(24px, 4vw, 56px); align-items: start;
    padding: 40px 0; border-bottom: 1px solid var(--line);
}
.news-row.no-thumb { grid-template-columns: 170px minmax(0, 1fr); }
.news-row time { padding-top: 8px; font-size: 15px; color: var(--muted); }
.news-row h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 12px; }
.news-row h2 a:hover { color: var(--river-dark); }
.news-row-body p { color: var(--muted); max-width: 64ch; }
.news-row-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.news-row-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-row:hover .news-row-thumb img { transform: scale(1.04); }

/* Pagination（FastAdmin/TP 默认输出 ul.pagination） */
.pager { margin-top: 56px; }
.pagination { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination li a, .pagination li span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px; padding: 0 12px;
    border: 1px solid var(--line); font-size: 15px; color: var(--ink);
}
.pagination li a:hover { border-color: var(--ink); }
.pagination li.active span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination li.disabled span { color: var(--muted); opacity: .5; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) clamp(24px, 3.5vw, 48px); }
.person-photo {
    position: relative; aspect-ratio: 4 / 5; overflow: hidden;
    background: linear-gradient(160deg, var(--mist), var(--line));
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); transition: filter .6s, transform .8s var(--ease); }
.person:hover .person-photo img { filter: grayscale(0); transform: scale(1.03); }
.person-initials {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: clamp(56px, 7vw, 88px); font-weight: 300; color: var(--ink-3);
}
.person h2 { font-size: clamp(24px, 2vw, 28px); margin-top: 24px; }
.person-role { margin: 6px 0 14px; font-size: 15px; font-weight: 600; color: var(--river-dark); }
.person-bio { font-size: 16px; color: var(--muted); }

/* Portfolio */
.portfolio-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.company {
    display: flex; flex-direction: column;
    min-height: 300px; padding: clamp(28px, 3vw, 40px);
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    transition: background-color .35s;
}
.company:hover { background: var(--mist); }
.company-logo { min-height: 56px; display: flex; align-items: center; margin-bottom: 20px; }
.company-logo img { max-height: 48px; width: auto; }
.company-wordmark, .company h2 { font-size: clamp(24px, 2.2vw, 30px); }
.company h2 { margin-bottom: 4px; }
.company-sector { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--river-dark); }
.company-desc { font-size: 16px; color: var(--muted); }
.company-link { margin-top: auto; align-self: flex-start; }
.notice { margin-top: 48px; padding: 20px 24px; background: var(--mist); border-left: 2px solid var(--river); }
.notice p { margin: 0; color: var(--muted); font-size: 16px; }

/* Article */
.article { padding-bottom: clamp(72px, 9vw, 120px); }
.article-head { max-width: 860px; padding-top: clamp(48px, 7vw, 96px); }
.back-link { font-size: 15px; color: var(--muted); }
.back-link::before { content: "‹"; margin-right: 8px; }
.back-link:hover { color: var(--river-dark); }
.article-head h1 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.02em; margin: 24px 0 20px; }
.article-meta { color: var(--muted); font-size: 15px; margin: 0; }
.article-cover { max-width: 1080px; margin-top: 48px; margin-bottom: 0; }
.article-cover img { width: 100%; }
.article-body {
    max-width: 780px; margin-top: 56px;
    font-size: 18px; line-height: 1.8; overflow-wrap: anywhere;
}
.article-body h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 48px 0 16px; }
.article-body h3 { font-size: 24px; margin: 36px 0 12px; }
.article-body img { margin: 32px 0; height: auto !important; }
.article-body a { color: var(--river-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.article-body li { margin-bottom: .5em; }
.article-body blockquote {
    margin: 36px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--river);
    font-family: var(--serif); font-size: 23px; line-height: 1.5; color: var(--ink);
}
.article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 24px 0; font-size: 16px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article-nav {
    max-width: 780px; margin-top: 72px; padding-top: 32px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    border-top: 1px solid var(--line);
}
.article-nav a { display: block; }
.article-nav span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.article-nav strong { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.3; color: var(--ink); }
.article-nav a:hover strong { color: var(--river-dark); }
.article-nav-next { text-align: right; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact-details dl { margin: 0; }
.contact-item { padding: 24px 0; border-top: 1px solid var(--line); }
.contact-item dt { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.contact-item dd { margin: 0; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 23px); line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.contact-item dd a:hover { color: var(--river-dark); }
.contact-form-wrap { background: var(--mist); padding: clamp(28px, 4vw, 52px); }
.form-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.req { color: var(--river-dark); }
.field input, .field textarea {
    width: 100%; padding: 14px 16px;
    font: inherit; font-size: 16px; color: var(--text);
    background: #fff; border: 1px solid var(--line); border-radius: 2px;
    -webkit-appearance: none; appearance: none;
    transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--river); box-shadow: 0 0 0 3px var(--river-soft); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-top: 4px; }
.form-note { margin: 0; font-size: 14px; color: var(--muted); max-width: 40ch; }
.form-status { grid-column: 1 / -1; margin: 0; font-size: 15px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--river-dark); }
.form-status.is-error { color: var(--danger); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Empty state */
.empty-state { padding: 48px 0; border-top: 1px solid var(--line); color: var(--muted); }
.empty-state p { margin: 0; }

/* CTA band */
.cta-band {
    position: relative; overflow: hidden;
    padding: clamp(64px, 8vw, 112px) 0;
    background: var(--ink); color: rgba(255,255,255,.75);
}
.cta-band .hero-lines { opacity: .6; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 32px 48px; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 4vw, 52px); font-weight: 300; letter-spacing: -.02em; max-width: 18ch; }
.cta-band p { margin: 16px 0 0; max-width: 48ch; }

/* ---------- Footer ---------- */
.site-footer { background: #0C1D30; color: rgba(255,255,255,.66); padding: clamp(64px, 8vw, 96px) 0 32px; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; padding-bottom: 56px; }
.footer-brand .brand { color: #fff; margin-bottom: 20px; }
.footer-brand p { max-width: 36ch; margin: 0; }
.footer-title { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .02em; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; overflow-wrap: anywhere; }
.footer-legal { padding: 28px 0; border-top: 1px solid rgba(255,255,255,.12); }
.footer-legal p { margin: 0; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.48); max-width: 110ch; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.footer-bottom p { margin: 0; }

/* ---------- Motion ---------- */
.js [data-load] { opacity: 0; transform: translateY(24px); }
.js body.is-loaded [data-load] {
    opacity: 1; transform: none;
    transition: opacity 1s var(--ease), transform 1s var(--ease);
    transition-delay: calc(var(--d, 0) * 140ms);
}
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .js [data-load], .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Tablet (≤1024px)：切换为移动菜单 ---------- */
@media (max-width: 1024px) {
    :root { --header-h: 68px; }

    .site-header, .site-header.is-overlay { -webkit-backdrop-filter: none; backdrop-filter: none; }
    .site-header { background: #fff; }
    .nav-toggle { display: block; }
    .brand-name { font-size: 21px; }

    .nav-menu {
        position: fixed; inset: 0; z-index: -1;
        flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
        padding: calc(var(--header-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
        background: var(--ink); overflow-y: auto;
        opacity: 0; visibility: hidden;
        transition: opacity .35s var(--ease), visibility 0s linear .35s;
    }
    .nav-open .nav-menu { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
    .nav-menu > a, .nav-menu > a.nav-cta {
        font-family: var(--serif); font-size: clamp(28px, 7vw, 40px); font-weight: 300;
        color: #fff; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0;
        transform: translateY(12px); transition: transform .5s var(--ease), color .25s;
    }
    .nav-open .nav-menu > a { transform: none; }
    .nav-menu > a::after { display: none; }
    .nav-menu > a.active { color: var(--river-light); }
    .nav-menu > a.nav-cta:hover { background: none; color: var(--river-light); }
    .nav-extra { display: block; margin-top: auto; padding-top: 32px; font-size: 15px; color: rgba(255,255,255,.6); }

    .nav-open { overflow: hidden; }
    .nav-open .site-header, .nav-open .site-header.is-overlay.is-scrolled { background: transparent; border-bottom-color: transparent; color: #fff; }

    .split, .section-head { grid-template-columns: 1fr; }
    .section-head { gap: 16px; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .step:nth-child(3) { padding-left: 0; border-left: 0; }
    .step:nth-child(n+3) { border-top: 1px solid var(--line); }
    .news-grid, .team-grid, .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pillars { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .news-row { grid-template-columns: minmax(0, 1fr) 240px; }
    .news-row.no-thumb { grid-template-columns: 1fr; }
    .news-row time { grid-column: 1 / -1; padding-top: 0; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Mobile (≤640px) ---------- */
@media (max-width: 640px) {
    body { font-size: 16px; }
    .brand-name { font-size: 19px; }
    .brand-mark { width: 28px; height: 28px; }

    .hero h1 { font-size: clamp(40px, 11vw, 56px); }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-facts { flex-direction: column; gap: 10px; }

    .steps { grid-template-columns: 1fr; }
    .step, .step + .step { padding: 24px 0 8px; border-left: 0; }
    .step + .step { border-top: 1px solid var(--line); }
    .step h3 { margin-top: 16px; }

    .sector-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
    .sector-row:hover { padding-left: 0; }

    .principles, .news-grid, .team-grid, .portfolio-grid { grid-template-columns: 1fr; }
    .company { min-height: 0; }

    .news-row, .news-row.no-thumb { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
    .news-row-thumb { order: -1; }

    .form-grid { grid-template-columns: 1fr; }
    .form-foot .btn { width: 100%; }

    .article-body { font-size: 17px; }
    .article-nav { grid-template-columns: 1fr; }
    .article-nav-next { text-align: left; }

    .cta-inner .btn { width: 100%; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
}





/* =====================================================================
   About 页：图文板块（追加在 index.css 最末尾）
   ===================================================================== */

/* ---------- 图片衬底（横幅 / 底部联系区） ---------- */
.media-bg {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center;
    transform: scale(1.1);
    animation: media-settle 2.6s var(--ease) forwards;
}
.media-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(16,36,58,.94) 0%, rgba(16,36,58,.74) 48%, rgba(16,36,58,.38) 100%);
}
@keyframes media-settle { to { transform: scale(1); } }

.page-hero .hero-lines, .cta-band .hero-lines { z-index: 1; }
.page-hero .container, .cta-band .cta-inner { position: relative; z-index: 2; }
.page-hero.has-image { padding-top: clamp(104px, 14vw, 208px); padding-bottom: clamp(72px, 9vw, 128px); }
.cta-band.has-image { padding: clamp(88px, 11vw, 160px) 0; }

/* 无图时的深蓝渐变兜底（卡片共用） */
.mission-media, .deck-bg, .pillar-bg {
    background-color: var(--ink-2);
    background-image:
        radial-gradient(520px 360px at 85% 8%, rgba(62,138,135,.42), transparent 62%),
        linear-gradient(160deg, var(--ink-3) 0%, var(--ink) 70%);
    background-size: cover; background-position: center;
}

.media-rule {
    display: block; width: 48px; height: 2px; margin-bottom: 20px;
    background: var(--river-light);
    transform: scaleX(0); transform-origin: left;
    transition: transform 1s var(--ease) .35s;
}
.is-visible .media-rule, .deck-card.is-active .media-rule { transform: scaleX(1); }

/* ---------- 使命：图片压标题 + 视差 ---------- */
.mission {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 6vw, 96px); align-items: stretch;
}
.mission-media {
    position: relative; margin: 0; overflow: hidden; isolation: isolate;
    min-height: clamp(400px, 42vw, 580px);
}
.mission-media img {
    position: absolute; left: 0; top: -8%;
    width: 100%; height: 116%; max-width: none; object-fit: cover;
    will-change: transform;
}
.mission-media::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(16,36,58,0) 30%, rgba(16,36,58,.88) 100%);
}
.mission-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(24px, 3vw, 44px); }
.mission-media h2 { color: #fff; }
.mission-text { align-self: center; }
.mission-text .rich p { color: var(--muted); max-width: 62ch; }

/* ---------- 核心原则：点击展开卡片组 ---------- */
.deck { display: flex; gap: 12px; height: clamp(440px, 46vw, 580px); }
.deck-card {
    position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate;
    color: #fff; cursor: pointer;
    transition: flex-grow .9s var(--ease);
}
.deck-card.is-active { flex-grow: 2.4; cursor: default; }
.deck-card:not(.is-active) .deck-toggle { flex-direction: column-reverse; align-items: flex-start; gap: 14px; font-size: clamp(18px, 1.5vw, 22px); }
.deck-card:nth-child(4n+2) .deck-bg { background-position: 30% 50%; }
.deck-bg {
    position: absolute; inset: 0; z-index: 0;
    transform: scale(1.14);
    filter: grayscale(.55) brightness(.62);
    transition: transform 1.4s var(--ease), filter .9s var(--ease);
}
.deck-card:not(.is-active):hover .deck-bg { filter: grayscale(.2) brightness(.78); transform: scale(1.1); }
.deck-card.is-active .deck-bg { transform: scale(1); filter: none; }
.deck-card::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(16,36,58,.05) 25%, rgba(16,36,58,.9) 100%);
}
.deck-card::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2;
    background: var(--river-light); transform: scaleX(0); transform-origin: left;
    transition: transform 1s var(--ease);
}
.deck-card.is-active::before { transform: scaleX(1); }

.deck-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: clamp(20px, 2.4vw, 36px); }
.deck-content h3 { margin: 0; }
.deck-toggle {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
    width: 100%; padding: 0; background: none; border: 0; cursor: inherit;
    font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1.15;
    color: #fff; text-align: left;
}
.deck-plus {
    position: relative; flex: none; width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,.5); border-radius: 50%;
    transition: transform .6s var(--ease), background-color .3s, border-color .3s;
}
.deck-plus::before, .deck-plus::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px;
    background: currentColor; transform: translate(-50%, -50%);
}
.deck-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.deck-card:not(.is-active):hover .deck-plus { background: var(--river); border-color: var(--river); }
.deck-card.is-active .deck-plus { transform: rotate(135deg); opacity: 0; }

.deck-body {
    display: grid; grid-template-rows: 0fr; opacity: 0;
    transition: grid-template-rows .7s var(--ease), opacity .4s;
}
.deck-body p { overflow: hidden; margin: 0; max-width: 44ch; color: rgba(255,255,255,.84); font-size: 17px; }
.deck-card.is-active .deck-body { grid-template-rows: 1fr; opacity: 1; transition-delay: .25s; }
.deck-card.is-active .deck-body p { padding-top: 14px; }

/* ---------- 合作价值：图片卡片 ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.pillar-card {
    position: relative; overflow: hidden; isolation: isolate;
    aspect-ratio: 4 / 5; color: #fff; outline: none;
}
.pillar-card:focus-visible { outline: 2px solid var(--river-light); outline-offset: 3px; }
.pillar-bg { position: absolute; inset: 0; z-index: 0; transition: transform 1.4s var(--ease); }
.pillar-card::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(16,36,58,.08) 30%, rgba(16,36,58,.9) 100%);
    transition: background-color .6s;
}
.pillar-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(22px, 2.4vw, 34px); }
.pillar-content h3 { color: #fff; font-size: clamp(24px, 2.2vw, 30px); }
.pillar-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s var(--ease), opacity .4s; }
.pillar-body p { overflow: hidden; margin: 0; color: rgba(255,255,255,.84); font-size: 16px; }
.pillar-card:hover .pillar-bg, .pillar-card:focus-within .pillar-bg { transform: scale(1.07); }
.pillar-card:hover::after, .pillar-card:focus-within::after { background-color: rgba(16,36,58,.35); }
.pillar-card:hover .pillar-body, .pillar-card:focus-within .pillar-body { grid-template-rows: 1fr; opacity: 1; }
.pillar-card:hover .pillar-body p, .pillar-card:focus-within .pillar-body p { padding-top: 12px; }

/* 触屏设备没有悬停：文字直接展示 */
@media (hover: none) {
    .pillar-body { grid-template-rows: 1fr; opacity: 1; }
    .pillar-body p { padding-top: 12px; }
}

/* ---------- 平板 / 手机 ---------- */
@media (max-width: 1024px) {
    .mission { grid-template-columns: 1fr; }
    .mission-media { min-height: clamp(320px, 60vw, 480px); }
    .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .deck { flex-direction: column; height: auto; gap: 10px; }
    .deck-card { flex: none; height: 92px; transition: height .8s var(--ease); }
    .deck-card.is-active { height: 380px; }
    .deck-content { padding: 20px 22px; }
    .deck-toggle, .deck-card:not(.is-active) .deck-toggle { flex-direction: row; align-items: center; font-size: 22px; }
}
@media (max-width: 640px) {
    .pillar-grid { grid-template-columns: 1fr; }
    .pillar-card { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
    .media-bg, .deck-bg { transform: none !important; }
}