/* BLGD 官网样式 —— 玉墨绿为主色，琥珀色只用于航线与少量强调 */
:root {
  --ground: #f4f7fc;
  --paper: #ffffff;
  --ink: #0f1b33;
  --ink-2: #394866;
  --muted: #6a7794;
  --line: #dfe5f0;
  --line-2: #edf1f8;
  --jade: #245bdb;
  --jade-2: #1b46b3;
  --jade-soft: #e7eeff;
  --deep: #0d1c47;
  --deep-2: #14285e;
  --deep-ink: #eaf0ff;
  --deep-muted: #a6b6e0;
  --amber: #12b8a0;
  --amber-ink: #0a7f6e;
  --amber-soft: #dcf6f1;
  --on-jade: #ffffff;
  --shadow: 0 1px 2px rgba(15, 30, 70, .05), 0 8px 24px rgba(15, 30, 70, .07);
  --radius: 14px;
  --maxw: 1160px;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0a1020;
    --paper: #111a2e;
    --ink: #e6ecf7;
    --ink-2: #c1cbe0;
    --muted: #8d99b3;
    --line: #222f4b;
    --line-2: #18233c;
    --jade: #6f9bff;
    --jade-2: #8fb2ff;
    --jade-soft: #172750;
    --deep: #09122b;
    --deep-2: #101e44;
    --deep-ink: #e4ebfb;
    --deep-muted: #9fb0d8;
    --amber: #2dd4b9;
    --amber-ink: #5fe0ca;
    --amber-soft: #103a38;
    --on-jade: #0a1020;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; letter-spacing: -0.015em; }
a { color: var(--jade); text-underline-offset: 3px; }
a:hover { color: var(--jade-2); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--paper); padding: 8px 14px; border-radius: 8px; }
.tnum { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--ground) 86%, transparent); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(15, 30, 70, .05); }
.site-header .wrap { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--jade); color: var(--on-jade); display: grid; place-items: center; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text b { font-size: 18px; letter-spacing: .06em; }
.brand-text span { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 8px; transition: background .15s, color .15s; }
.nav a:hover { background: var(--line-2); color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.lang a { font-size: 13px; line-height: 1; padding: 6px 11px; border-radius: 999px; color: var(--muted); text-decoration: none; }
.lang a[aria-current="page"] { background: var(--ink); color: var(--ground); }
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; padding: 13px 20px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn-primary { background: var(--jade); color: var(--on-jade); }
.btn-primary:hover { background: var(--jade-2); color: var(--on-jade); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }

/* ---------- section scaffolding ---------- */
section { padding: 104px 0; scroll-margin-top: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--jade); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; margin-bottom: 18px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head .lede { justify-self: end; }

/* ---------- hero ---------- */
.hero { padding: 76px 0 88px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 480px at 85% 10%, color-mix(in srgb, var(--jade) 9%, transparent), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--jade); background: var(--jade-soft); border-radius: 999px; padding: 6px 14px 6px 10px; margin-bottom: 24px; font-weight: 500; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 22%, transparent); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--jade); }
.hero .sub { font-size: 18px; color: var(--ink-2); max-width: 44ch; }
html[lang="en"] .hero .sub { max-width: 52ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--line); }
.stats div { padding: 18px 16px 0 0; }
.stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.stats dt { font-size: 13px; color: var(--muted); order: 2; }
.stats dd { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.stats div { display: flex; flex-direction: column-reverse; gap: 2px; }

/* route card */
.route { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 22px 22px 18px; }
.route-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.route-head b { font-size: 15px; }
.route-head span { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.route svg { width: 100%; height: auto; }
.route .grid-dot { fill: var(--line); }
.route .land { fill: var(--line-2); stroke: var(--line); stroke-width: 1; }
.route .path-bg { stroke: color-mix(in srgb, var(--amber) 28%, transparent); stroke-width: 6; fill: none; stroke-linecap: round; }
.route .path { stroke: var(--amber); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-dasharray: 6 7; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -260; } }
.route .node { fill: var(--paper); stroke: var(--jade); stroke-width: 3; }
.route .node-core { fill: var(--jade); }
.route .halo { fill: color-mix(in srgb, var(--jade) 16%, transparent); animation: pulse 3.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.route .lbl { font-family: var(--sans); font-size: 15px; font-weight: 700; fill: var(--ink); }
.route .lbl-sub { font-family: var(--mono); font-size: 11px; fill: var(--muted); }
.route .dist { font-family: var(--mono); font-size: 11px; fill: var(--amber); font-weight: 600; }
.route-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.route-foot div { background: var(--ground); border-radius: 10px; padding: 12px 14px; }
.route-foot dt { font-size: 12px; color: var(--muted); }
.route-foot dd { font-size: 15px; font-weight: 600; }

/* ---------- about ---------- */
.about { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; }
.about .statement { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.7; font-weight: 500; color: var(--ink); letter-spacing: -0.005em; }
.about .statement mark { background: linear-gradient(transparent 62%, var(--amber-soft) 62%); color: inherit; padding: 0 2px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.values h3 { font-size: 16px; margin-bottom: 6px; }
.values p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- operating chain ---------- */
.chain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.step:hover { border-color: color-mix(in srgb, var(--jade) 40%, var(--line)); box-shadow: var(--shadow); transform: translateY(-2px); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-no { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.step-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--jade-soft); color: var(--jade); display: grid; place-items: center; }
.step-ico svg { width: 22px; height: 22px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.chain-note { margin-top: 24px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.chain-note::before { content: ""; width: 24px; height: 1px; background: var(--line); }

/* ---------- system band ---------- */
.system { background: var(--deep); color: var(--deep-ink); position: relative; overflow: hidden; }
.system::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--deep-ink) 9%, transparent) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); pointer-events: none; }
.system .wrap { position: relative; }
.system .eyebrow { color: var(--amber); }
.system .h2 { color: var(--deep-ink); }
.system .lede { color: var(--deep-muted); }
.system-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.flow { background: var(--deep-2); border: 1px solid color-mix(in srgb, var(--deep-ink) 12%, transparent); border-radius: 20px; padding: 28px; }
.flow-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; }
.flow-node { border: 1px solid color-mix(in srgb, var(--deep-ink) 16%, transparent); border-radius: 12px; padding: 14px 12px; text-align: center; background: color-mix(in srgb, var(--deep-ink) 4%, transparent); }
.flow-node b { display: block; font-size: 14px; color: var(--deep-ink); }
.flow-node span { display: block; font-size: 12px; color: var(--deep-muted); margin-top: 2px; }
.flow-node.core { background: var(--jade); border-color: transparent; }
.flow-node.core b, .flow-node.core span { color: #fff; }
@media (prefers-color-scheme: dark) { .flow-node.core b, .flow-node.core span { color: #0a1020; } }
.flow-arrow { color: var(--amber); width: 22px; height: 22px; }
.flow-split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; position: relative; padding-top: 26px; }
.flow-split::before { content: ""; position: absolute; top: 0; left: 83.33%; width: 1px; height: 12px; background: color-mix(in srgb, var(--amber) 70%, transparent); }
.flow-split::after { content: ""; position: absolute; top: 12px; left: 16.66%; right: 16.67%; height: 1px; background: color-mix(in srgb, var(--amber) 70%, transparent); }
.flow-split .flow-node { position: relative; }
.flow-split .flow-node::before { content: ""; position: absolute; top: -14px; left: 50%; width: 1px; height: 14px; background: color-mix(in srgb, var(--amber) 70%, transparent); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 64px; border-top: 1px solid color-mix(in srgb, var(--deep-ink) 14%, transparent); }
.principles li { padding: 28px 28px 0 0; }
.principles li + li { padding-left: 28px; border-left: 1px solid color-mix(in srgb, var(--deep-ink) 14%, transparent); }
.principles svg { width: 26px; height: 26px; color: var(--amber); margin-bottom: 14px; }
.principles h3 { font-size: 17px; margin-bottom: 6px; color: var(--deep-ink); }
.principles p { font-size: 14px; color: var(--deep-muted); line-height: 1.75; }
.system a { color: var(--deep-ink); }
.system a:hover { color: var(--amber); }
.system .more { margin-top: 26px; font-size: 15px; }

/* ---------- company ---------- */
.company-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.company-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper), var(--line-2)); }
.company-top h3 { font-size: 22px; }
.company-top p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.verified { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--jade); background: var(--jade-soft); padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.verified svg { width: 16px; height: 16px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts div { padding: 22px 32px; border-bottom: 1px solid var(--line-2); }
.facts div:nth-child(odd) { border-right: 1px solid var(--line-2); }
.facts div.wide { grid-column: 1 / -1; border-right: 0; }
.facts dt { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.facts dd { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.facts dd.code { font-family: var(--mono); font-weight: 500; letter-spacing: .04em; }
.company-foot { padding: 18px 32px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; }

/* ---------- contact ---------- */
.contact { padding-top: 0; }
.contact-card { border-radius: 24px; background: linear-gradient(135deg, var(--jade) 0%, var(--jade-2) 100%); color: var(--on-jade); padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 48px solid rgba(255, 255, 255, .06); pointer-events: none; }
.contact-card .eyebrow { color: var(--amber-soft); }
.contact-card h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 12px; color: inherit; }
.contact-card p { opacity: .86; max-width: 52ch; }
.mail-box { position: relative; z-index: 1; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 22px 24px; min-width: 320px; }
.mail-box small { display: block; font-size: 12px; opacity: .75; margin-bottom: 4px; letter-spacing: .04em; }
.mail-box a.mail { display: block; color: inherit; font-size: 22px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; margin-bottom: 16px; }
.mail-box .row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-light { background: #fff; color: #1b46b3; }
.btn-light:hover { background: var(--amber-soft); color: #1b46b3; }
.btn-line { background: transparent; color: inherit; border-color: rgba(255, 255, 255, .35); }
.btn-line:hover { border-color: #fff; color: inherit; }
@media (prefers-color-scheme: dark) { .contact-card { color: #0a1020; } .mail-box { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.14); } .btn-line { border-color: rgba(0,0,0,.3); } .btn-light { background: #0a1020; color: #e6ecf7; } }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: var(--deep-muted); padding: 56px 0 36px; margin-top: 0; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid color-mix(in srgb, var(--deep-ink) 12%, transparent); }
.site-footer .brand { color: var(--deep-ink); }
.site-footer .brand-text span { color: var(--deep-muted); }
.site-footer h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--deep-ink); margin: 0 0 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: var(--deep-muted); text-decoration: none; }
.site-footer a:hover { color: var(--deep-ink); }
.foot-about { margin-top: 16px; max-width: 40ch; line-height: 1.8; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; font-size: 13px; }
.foot-bottom .code { font-family: var(--mono); }

/* ---------- legal ---------- */
.legal-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line); background: var(--paper); }
.legal-hero h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; letter-spacing: -0.02em; }
.legal-hero p { color: var(--muted); margin-top: 10px; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--jade); }
.legal { padding: 56px 0 96px; }
.legal .wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: 14px; }
.toc b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--line); color: var(--ink-2); text-decoration: none; }
.toc a:hover { border-left-color: var(--jade); color: var(--jade); }
.prose { max-width: 70ch; }
.prose section { padding: 0 0 36px; scroll-margin-top: 96px; }
.prose h2 { font-size: 21px; margin-bottom: 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 12px; }
.prose ul { display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 7px; height: 7px; border-radius: 2px; background: var(--jade); }
.prose .contact-line { margin-top: 12px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }

/* ---------- 404 ---------- */
.notfound { padding: 140px 0 120px; text-align: center; }
.notfound .code404 { font-family: var(--mono); color: var(--amber); font-size: 14px; letter-spacing: .2em; }
.notfound h1 { font-size: clamp(32px, 5vw, 48px); margin: 12px 0; }
.notfound p { color: var(--muted); }
.notfound .actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav a { padding: 8px 9px; font-size: 14px; }
  .hero .wrap, .system-grid { grid-template-columns: 1fr; gap: 48px; }
  .about .wrap { grid-template-columns: 1fr; gap: 28px; }
  .section-head { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .section-head .lede { justify-self: start; }
  .contact-card { grid-template-columns: 1fr; padding: 44px; }
  .mail-box { min-width: 0; }
}
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--ground); border-bottom: 1px solid var(--line); padding: 10px 20px 18px; flex-direction: column; align-items: stretch; gap: 2px; box-shadow: 0 16px 32px rgba(15, 30, 70, .08); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 16px; }
  .header-tools .btn { display: none; }
  .header-tools { margin-left: auto; }
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal .wrap { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  section { padding: 72px 0; }
  .hero { padding: 44px 0 64px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 16px; }
  .brand-text span { display: none; }
  .chain, .values, .principles, .facts { grid-template-columns: 1fr; }
  .principles li + li { padding-left: 0; border-left: 0; border-top: 1px solid color-mix(in srgb, var(--deep-ink) 14%, transparent); margin-top: 24px; }
  .facts div:nth-child(odd) { border-right: 0; }
  .facts div, .company-top, .company-foot { padding-left: 20px; padding-right: 20px; }
  .company-top { flex-direction: column; align-items: flex-start; }
  .flow { padding: 18px; }
  .flow-row { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .flow-split { grid-template-columns: 1fr; padding-top: 12px; }
  .flow-split::before, .flow-split::after, .flow-split .flow-node::before { display: none; }
  .contact-card { padding: 32px 22px; border-radius: 18px; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ================= v2 additions: team / demo / offices ================= */
@media (max-width: 1120px) {
  .nav a { padding: 8px 8px; font-size: 14px; }
  .header-tools .btn { display: none; }
}

/* team */
.team-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 16px; }
.team-grid figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.team-grid figure:first-child { grid-row: 1 / 3; }
.team-grid img { width: 100%; height: 100%; object-fit: cover; }
.team-grid figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(12, 22, 56, .62); backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 8px; }
.team-grid .ph { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--muted); background:
  repeating-linear-gradient(135deg, var(--line-2) 0 10px, transparent 10px 20px), var(--paper); }
.team-grid .ph svg { width: 34px; height: 34px; color: var(--jade); opacity: .7; }
.team-grid .ph span { font-size: 14px; }
.team-grid .ph + figcaption { background: var(--jade); }
.team-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* product demo */
.demo { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tab { font: inherit; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--ground); color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.tab svg { width: 18px; height: 18px; }
.tab:hover { border-color: var(--ink-2); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.demo-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 40px; align-items: start; }
.demo-copy h3 { font-size: 24px; margin-bottom: 12px; }
.demo-copy p { color: var(--ink-2); }
.demo-copy ul { display: grid; gap: 10px; margin-top: 20px; }
.demo-copy li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); font-size: 15px; }
.demo-copy li svg { width: 18px; height: 18px; color: var(--jade); margin-top: 4px; }
.window { border-radius: 16px; border: 1px solid var(--line); background: var(--ground); box-shadow: 0 30px 60px -30px rgba(15, 30, 70, .35), var(--shadow); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: inline-block; }
.window-bar .dots { display: flex; gap: 6px; }
.window-bar b { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.window-bar .sample { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--amber); background: var(--amber-soft); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.window-body { padding: 18px; display: grid; gap: 14px; min-height: 360px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.panel-t { font-size: 12px; color: var(--muted); margin-bottom: 8px; display: flex; justify-content: space-between; gap: 8px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kpi span { display: block; font-size: 12px; color: var(--muted); }
.kpi b { display: block; font-size: 19px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--jade); }
.kpi em.down { color: #c2553f; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding-top: 6px; border-bottom: 1px solid var(--line); }
.bars span { flex: 1; background: color-mix(in srgb, var(--jade) 30%, transparent); border-radius: 4px 4px 0 0; }
.bars span.hi { background: var(--jade); }
.split { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin: 6px 0 10px; }
.split span:nth-child(1) { background: var(--jade); }
.split span:nth-child(2) { background: var(--amber); }
.split span:nth-child(3) { background: color-mix(in srgb, var(--ink) 30%, transparent); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--ink-2); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
.row2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 0 8px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px 8px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num, .tbl th.num { text-align: right; }
.tbl-wrap { overflow-x: auto; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.ok { color: #1f7a52; background: #e2f3ea; }
.chip.warn { color: #a8651b; background: #f8ebd9; }
.chip.bad { color: #b3432f; background: #f8e1dc; }
.chip.info { color: var(--jade); background: var(--jade-soft); }
@media (prefers-color-scheme: dark) {
  .chip.ok { color: #7fd6a9; background: #173326; }
  .chip.warn { color: #efb46a; background: #35281a; }
  .chip.bad { color: #f09584; background: #3a1f1a; }
}
.flag { display: inline-flex; align-items: center; gap: 6px; }
.flag svg { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px var(--line); }
.meter { height: 6px; background: var(--line-2); border-radius: 999px; overflow: hidden; min-width: 60px; }
.meter span { display: block; height: 100%; background: var(--jade); border-radius: 999px; }
.meter span.warn { background: var(--amber); }
.meter span.bad { background: #c2553f; }
.ai-list { display: grid; gap: 10px; }
.ai-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; }
.ai-card .ai-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--jade-soft); color: var(--jade); }
.ai-card .ai-ico svg { width: 17px; height: 17px; }
.ai-card h4 { margin: 0 0 3px; font-size: 14px; }
.ai-card p { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.ai-card .act { font-size: 12px; font-weight: 600; color: var(--jade); white-space: nowrap; padding-top: 2px; }
.ai-head { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.ai-head svg { width: 18px; height: 18px; color: var(--amber); }
.demo-foot { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* offices */
.contact-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.offices { position: relative; z-index: 1; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 22px 24px; display: grid; gap: 4px; align-content: start; }
.offices h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .78; margin: 0 0 8px; font-weight: 600; }
.office { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.office:first-of-type { border-top: 0; }
.office svg { width: 26px; height: 17px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.office b { display: block; font-size: 15px; }
.office small { display: block; font-size: 12px; opacity: .72; }
.office a { color: inherit; font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; }
.office a:hover { text-decoration: underline; }
.contact-left { display: grid; gap: 22px; align-content: start; position: relative; z-index: 1; }
.contact-left .mail-box { min-width: 0; }
@media (prefers-color-scheme: dark) { .offices { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.14); } .office { border-top-color: rgba(0,0,0,.14); } .office svg { box-shadow: 0 0 0 1px rgba(0,0,0,.2); } }

@media (max-width: 1024px) {
  .demo-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .team-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 180px 180px; }
  .team-grid figure:first-child { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 640px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .team-grid figure:first-child { grid-column: auto; }
  .ai-card { grid-template-columns: auto 1fr; }
  .ai-card .act { grid-column: 2; }
  .window-body { padding: 12px; }
  .office { grid-template-columns: 30px 1fr; }
  .office a { grid-column: 2; }
}
/* team layouts by photo count */
.team-grid.n1 { grid-template-columns: 1fr; grid-template-rows: 460px; }
.team-grid.n1 figure:first-child { grid-row: auto; }
.team-grid.n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 380px; }
.team-grid.n2 figure:first-child { grid-row: auto; }
.team-grid.n3 { grid-template-columns: 1.5fr 1fr; }
.team-grid.n4 figure:nth-child(4) { grid-column: 2 / 4; }
@media (max-width: 860px) {
  .team-grid.n3, .team-grid.n4, .team-grid.n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 200px auto; }
  .team-grid.n4 figure:nth-child(4) { grid-column: auto; }
}
@media (max-width: 640px) {
  .team-grid.n1, .team-grid.n2, .team-grid.n3, .team-grid.n4 { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
}
html[lang="en"] .hero h1 { font-size: clamp(34px, 4.3vw, 54px); }

/* ================= v3: open program ================= */
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.who { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.who .step-ico { margin-bottom: 18px; }
.who h3 { font-size: 18px; margin-bottom: 8px; }
.who p { color: var(--muted); font-size: 15px; }
.onboard { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px 36px; box-shadow: var(--shadow); }
.onboard h3 { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 18px; letter-spacing: .02em; }
.onboard-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.onboard-steps li { display: grid; gap: 12px; position: relative; align-content: start; }
.onboard-steps li:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: 42px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px); }
.onboard-steps .n { width: 32px; height: 32px; border-radius: 50%; background: var(--jade); color: var(--on-jade); display: grid; place-items: center; font-weight: 700; font-size: 14px; position: relative; z-index: 1; }
.onboard-steps b { font-size: 16px; }
.onboard-steps p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-top: 2px; }
.onboard-cta { border-left: 1px solid var(--line); padding-left: 32px; display: grid; gap: 14px; justify-items: start; }
.onboard-cta p { font-size: 13px; color: var(--muted); }
@media (max-width: 1024px) {
  .onboard { grid-template-columns: 1fr; }
  .onboard-cta { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
}
@media (max-width: 760px) {
  .who-grid, .onboard-steps { grid-template-columns: 1fr; }
  .onboard { padding: 24px 20px; }
  .onboard-steps li { grid-template-columns: 32px 1fr; align-items: start; }
  .onboard-steps li::after { display: none; }
}

/* ================= v4: fashion e-commerce + POD positioning ================= */
/* generic photo figure */
figure.hero-photo, .gallery figure, .team-grid figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
figure.hero-photo img, .gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
figure.hero-photo figcaption, .gallery figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(12, 22, 56, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 8px; }
.ph { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--muted); background: repeating-linear-gradient(135deg, var(--line-2) 0 10px, transparent 10px 20px), var(--paper); }
.ph svg { width: 34px; height: 34px; color: var(--jade); opacity: .7; }
.ph span { font-size: 14px; }
figure .ph + figcaption { background: var(--jade) !important; }

/* hero */
.hero h1 { font-size: clamp(36px, 4.8vw, 58px); }
.hero .pill { font-size: 12px; letter-spacing: .02em; }
.hero-visual { position: relative; }
figure.hero-photo { aspect-ratio: 4 / 4.2; border-radius: 22px; box-shadow: var(--shadow); }
.hero-badge { position: absolute; left: -22px; bottom: 64px; background: var(--jade); color: var(--on-jade); border-radius: 16px; padding: 16px 20px; box-shadow: 0 20px 40px -18px rgba(15, 30, 70, .55); }
.hero-badge b { display: block; font-size: 34px; line-height: 1.05; letter-spacing: -0.02em; }
.hero-badge span { font-size: 13px; opacity: .9; }
.hero-chip { position: absolute; right: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.hero-chip svg { width: 16px; height: 16px; color: var(--amber); flex-shrink: 0; }
.stats dd { font-size: 21px; }

/* about + loop */
.about .wrap { display: block; }
.about-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.about-en { font-size: 15px; color: var(--muted); margin-top: -6px; font-style: italic; }
.about-body { color: var(--ink-2); margin-top: 18px; max-width: 64ch; }
.loop-box { margin-top: 56px; background: var(--ground); border: 1px solid var(--line); border-radius: 20px; padding: 28px 28px 22px; }
.loop-title { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.loop-title svg { width: 20px; height: 20px; color: var(--amber); }
.loop-title b { font-size: 17px; }
.loop { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; position: relative; }
.loop::before { content: ""; position: absolute; top: 22px; left: 5%; right: 5%; height: 2px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--jade) 45%, transparent) 0 8px, transparent 8px 14px); }
.loop li { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; }
.loop-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 2px solid var(--jade); color: var(--jade); display: grid; place-items: center; position: relative; z-index: 1; margin-bottom: 6px; }
.loop li:last-child .loop-ico { background: var(--amber); border-color: var(--amber); color: #fff; }
.loop-ico svg { width: 20px; height: 20px; }
.loop-no { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.loop b { font-size: 15px; line-height: 1.35; }
.loop small { font-size: 12px; color: var(--muted); line-height: 1.5; }
.loop-back { position: relative; margin-top: 10px; color: var(--amber); }
.loop-back svg { width: 100%; height: 34px; display: block; }
.loop-back span { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); background: var(--ground); padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--amber); white-space: nowrap; }

/* business pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.pillar-key { border-color: color-mix(in srgb, var(--jade) 55%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--jade) 10%, transparent), var(--shadow); }
.pillar-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.pillar-en { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--jade); }
.pillar h3 { font-size: 21px; }
.pillar-desc { color: var(--ink-2); font-size: 15px; }
.pillar-list { display: grid; gap: 8px; margin-top: 4px; }
.pillar-list li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 14px; color: var(--ink-2); }
.pillar-list svg { width: 16px; height: 16px; color: var(--jade); margin-top: 4px; }
.pillar-quote { margin-top: auto; padding: 14px 16px; border-left: 3px solid var(--amber); background: var(--amber-soft); border-radius: 0 10px 10px 0; font-size: 14px; color: var(--ink); line-height: 1.65; }
.mini-t { font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-top: 4px; }
.dev-flow { display: grid; gap: 0; counter-reset: dev; }
.dev-flow li { counter-increment: dev; position: relative; padding: 9px 0 9px 40px; font-size: 15px; font-weight: 600; }
.dev-flow li::before { content: counter(dev); position: absolute; left: 0; top: 7px; width: 26px; height: 26px; border-radius: 50%; background: var(--jade-soft); color: var(--jade); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.dev-flow li:not(:last-child)::after { content: ""; position: absolute; left: 12.5px; top: 34px; height: calc(100% - 26px); width: 1px; background: var(--line); }

/* POD */
.pod { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pod-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pod-stat { background: var(--ground); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 20px; display: grid; gap: 2px; }
.pod-stat:first-child { background: var(--jade); border-color: transparent; color: var(--on-jade); }
.pod-stat b { font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.02em; line-height: 1.1; }
.pod-stat span { font-size: 15px; font-weight: 600; margin-top: 6px; }
.pod-stat small { font-size: 13px; color: var(--muted); }
.pod-stat:first-child small { color: inherit; opacity: .82; }
.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.caps li { display: grid; gap: 14px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.caps small { font-size: 12px; color: var(--jade); font-weight: 600; letter-spacing: .04em; }
.caps h3 { font-size: 17px; margin: 2px 0 4px; }
.caps p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.gallery-head { display: flex; align-items: baseline; justify-content: space-between; margin: 56px 0 18px; }
.gallery-head h3 { font-size: 20px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 14px; }
.gallery .g1 { grid-column: span 2; grid-row: span 2; }
.gallery .g5 { grid-row: span 2; }
.gallery .g8 { grid-column: span 2; }

/* markets */
.markets-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.market-list { display: grid; gap: 12px; margin-top: 28px; }
.market { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.market-top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.market-top svg { width: 30px; height: 20px; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); flex-shrink: 0; }
.market-top b { display: block; font-size: 16px; line-height: 1.3; }
.market-top span { display: block; font-size: 13px; color: var(--jade); font-weight: 600; }
.market p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.mk-more { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* team grid (3 slots) */
.team-grid.n3 { grid-template-columns: 1.5fr 1fr; grid-template-rows: 250px 250px; }
.team-grid figure img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1024px) {
  .about-head, .markets-grid { grid-template-columns: 1fr; gap: 28px; }
  .pillars { grid-template-columns: 1fr; }
  .pod-stats, .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loop { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 26px; }
  .loop::before { display: none; }
  .loop-back { display: none; }
  .hero-badge { left: 16px; bottom: 16px; }
  figure.hero-photo { aspect-ratio: 16 / 11; }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery .g1 { grid-column: span 2; grid-row: span 2; }
  .gallery .g5 { grid-row: span 1; }
  .gallery .g8 { grid-column: span 1; }
  .pod-stats, .caps { grid-template-columns: 1fr; }
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loop-box { padding: 22px 16px; }
  .hero-chip { font-size: 12px; }
  .hero-badge b { font-size: 26px; }
}
/* gallery: fill 4 x 4 without holes */
.gallery { grid-auto-flow: dense; }
.gallery .g6 { grid-column: span 2; }
.gallery .g9 { grid-column: span 2; }
@media (max-width: 640px) {
  .gallery .g6, .gallery .g9 { grid-column: span 1; }
  .gallery .g9 { grid-column: span 2; }
}
/* v5: fewer photos — 3-photo gallery, single team photo */
.gallery { grid-template-columns: 1.5fr 1fr; grid-auto-rows: 220px; }
.gallery .g1 { grid-column: auto; grid-row: span 2; }
.team-grid.n1 { grid-template-columns: 1fr; grid-template-rows: 420px; }
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery .g1 { grid-column: auto; grid-row: span 1; }
  .team-grid.n1 { grid-template-rows: 240px; }
}

/* v6: blue + teal palette — accent text uses the darker teal for contrast */
.route .dist { fill: var(--amber-ink); }
.loop-back span { color: var(--amber-ink); }
.loop-back { color: var(--amber); }
.pillar-quote { border-left-color: var(--amber); }
.contact-card { background: linear-gradient(135deg, var(--jade) 0%, var(--deep-2) 100%); }
.contact-card .eyebrow { color: #9ff0e2; }
.hero::before { background: radial-gradient(900px 480px at 85% 10%, color-mix(in srgb, var(--jade) 10%, transparent), transparent 70%), radial-gradient(600px 360px at 10% 90%, color-mix(in srgb, var(--amber) 8%, transparent), transparent 70%); }
.pod-stat:first-child { background: linear-gradient(135deg, var(--jade), var(--deep-2)); }
@media (prefers-color-scheme: dark) {
  .contact-card { background: linear-gradient(135deg, #1d3f9e 0%, #101e44 100%); color: #e6ecf7; }
  .contact-card .eyebrow { color: #7ee8d6; }
  .mail-box, .offices { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
  .office { border-top-color: rgba(255,255,255,.12); }
  .btn-line { border-color: rgba(255,255,255,.3); }
  .btn-light { background: #ffffff; color: #1b46b3; }
  .pod-stat:first-child { background: linear-gradient(135deg, #1d3f9e, #101e44); color: #e6ecf7; }
  .hero-badge { color: #0a1020; }
  .flow-node.core b, .flow-node.core span { color: #0a1020; }
}
/* 照片数量自适应 */
.gallery.n1 { grid-template-columns: 1fr; grid-auto-rows: 420px; }
.gallery.n1 .g1 { grid-row: auto; }
.gallery.n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 360px; }
.gallery.n2 .g1 { grid-row: auto; }
.hero .wrap:has(> div:only-child) { grid-template-columns: 1fr; }
.hero-chip { top: auto; bottom: 16px; right: 16px; }
@media (max-width: 1024px) { .hero-chip { bottom: auto; top: 16px; } }
