/* V&G Consulting — "Prism" design
   Layout: inset ink panels (hero, funding, CTA) on cool paper, with faceted
   geometry taken from the logo; one accent colour (cobalt) used sparingly. */
:root {
  --ink: #0e1014;
  --ink-2: #171a21;
  --ink-3: #262b36;
  --paper: #f4f5f7;
  --surface: #ffffff;
  --line: #e2e5eb;
  --text: #1b1f27;
  --muted: #5b6372;
  --cobalt: #3355ff;
  --cobalt-deep: #2340d8;
  --cobalt-tint: #e8ecff;
  --cobalt-glow: #8fa3ff;
  --on-ink: #f1f3f7;
  --on-ink-muted: #a7aebc;
  --focus: #3355ff;

  --display: "Lexend", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --zh: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --inset: clamp(8px, 1.2vw, 16px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.lang-zh { font-family: var(--body), var(--zh); line-height: 1.85; }
body.lang-zh h1, body.lang-zh h2, body.lang-zh h3 { font-family: var(--display), var(--zh); letter-spacing: 0; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--cobalt-deep); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0 0 .55em; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.04; font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); line-height: 1.1; font-weight: 600; }
h3 { font-size: 1.22rem; line-height: 1.3; font-weight: 500; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.zh-inline, [lang="zh-Hans"] { font-family: var(--zh); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 300; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: rgba(244, 245, 247, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(14, 16, 20, .06); background: rgba(255, 255, 255, .9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; transition: height .3s var(--ease); }
.site-header.scrolled .header-inner { height: 64px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 26px; height: auto; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-word { width: 150px; height: auto; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav ul { display: flex; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  position: relative; display: block; padding: .5rem .75rem; border-radius: 999px;
  color: var(--text); text-decoration: none; font-size: .94rem; font-weight: 500;
  transition: background .2s, color .2s;
}
.nav ul a:hover { background: rgba(14, 16, 20, .06); }
.nav ul a[aria-current="page"] { background: var(--ink); color: #fff; }
.lang-switch {
  display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .8rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600;
  transition: border-color .2s, transform .2s var(--ease);
}
.lang-switch:hover { border-color: var(--ink); transform: translateY(-1px); }
.lang-switch svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .x { display: none; }
.nav-toggle[aria-expanded="true"] .x { display: block; }
.nav-toggle[aria-expanded="true"] .bars { display: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .brand-word { width: 132px; }
  .nav {
    position: absolute; top: 100%; left: var(--inset); right: var(--inset);
    flex-direction: column; align-items: stretch; gap: .6rem;
    background: var(--surface); border-radius: var(--r-lg); padding: 1rem;
    box-shadow: 0 24px 60px rgba(14, 16, 20, .18);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: .85rem 1rem; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav .lang-switch, .nav .btn { justify-content: center; text-align: center; }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.45rem; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 500; font-size: 1rem; line-height: 1.1; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
body.lang-zh .btn { font-family: var(--display), var(--zh); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--cobalt); color: #fff; box-shadow: 0 10px 24px rgba(51, 85, 255, .28); }
.btn-primary:hover { background: var(--cobalt-deep); color: #fff; box-shadow: 0 14px 30px rgba(51, 85, 255, .36); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cobalt-tint); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: .62rem 1.05rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ── Ink panels (hero, callouts) ────────────────────────── */
.panel-ink {
  position: relative; overflow: hidden; isolation: isolate;
  margin-inline: var(--inset); border-radius: var(--r-xl);
  background: var(--ink); color: var(--on-ink);
}
.panel-ink h1, .panel-ink h2, .panel-ink h3 { color: #fff; }
.panel-ink p { color: var(--on-ink-muted); }
.facets { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.panel-ink::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 16, 20, .92) 0%, rgba(14, 16, 20, .72) 45%, rgba(14, 16, 20, .25) 100%);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt-deep);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; background: currentColor; clip-path: polygon(0 18%, 100% 0, 100% 72%, 34% 100%, 0 80%); }
.panel-ink .eyebrow { color: var(--cobalt-glow); }
body.lang-zh .eyebrow { letter-spacing: .06em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40em; }
.panel-ink .lead { color: #c9cfdb; }

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--cobalt-glow); }
.hero .lead { margin-bottom: 1.6rem; }
.chip-fund {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.8rem;
  padding: .5rem .95rem .5rem .55rem; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; font-weight: 500; font-size: .95rem;
}
.chip-fund .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--cobalt); display: grid; place-items: center; }
.chip-fund .dot svg { width: 15px; height: 15px; color: #fff; }

.prism-photo { position: relative; justify-self: end; width: min(100%, 380px); }
.prism-photo .frame {
  aspect-ratio: 274 / 330; overflow: hidden; background: var(--ink-3);
  clip-path: polygon(0 12%, 88% 0, 100% 1%, 100% 76%, 34% 100%, 0 82%);
  transition: clip-path .8s var(--ease);
}
.prism-photo:hover .frame { clip-path: polygon(0 8%, 86% 0, 100% 3%, 100% 80%, 36% 100%, 0 85%); }
.prism-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.04); transition: transform .8s var(--ease); }
.prism-photo:hover img { transform: scale(1.08); }
.prism-photo .edge { position: absolute; inset: 0; pointer-events: none; }
.prism-photo figcaption { margin-top: 1rem; font-size: .92rem; color: var(--on-ink-muted); line-height: 1.5; }
.prism-photo figcaption strong { display: block; font-family: var(--display); font-weight: 500; font-size: 1.1rem; color: #fff; }
.prism-photo.on-paper figcaption { color: var(--muted); }
.prism-photo.on-paper figcaption strong { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .prism-photo { justify-self: start; width: min(78%, 300px); }
  .panel-ink::after { background: linear-gradient(180deg, rgba(14, 16, 20, .9), rgba(14, 16, 20, .7)); }
}

/* Path finder */
.finder { margin-top: 2.2rem; padding: 1.25rem; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.finder-q { font-family: var(--display); font-weight: 500; color: #fff; font-size: 1.02rem; margin-bottom: .8rem; }
.finder-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.finder-chip {
  font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer;
  padding: .5rem .9rem; border-radius: 999px; color: #dfe3ec;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.finder-chip:hover { border-color: rgba(255, 255, 255, .45); transform: translateY(-1px); }
.finder-chip[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.finder-result { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.finder-result h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.finder-result p { margin-bottom: .7rem; font-size: .98rem; }
.finder-result a.more { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.finder-result a.more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.finder-result a.more:hover svg { transform: translateX(3px); }
.finder-panel { animation: rise .45s var(--ease); }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 4.5vw, 4rem); }
.page-hero .lead { margin-bottom: 1.5rem; }
.crumbs { font-size: .88rem; color: var(--on-ink-muted); margin-bottom: 1.4rem; }
.crumbs a { color: var(--on-ink-muted); }
.crumbs a:hover { color: #fff; }

/* ── Sections ───────────────────────────────────────────── */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; } }

/* Credentials strip */
.creds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.creds li { list-style: none; background: var(--surface); padding: 1.3rem 1.25rem; display: flex; gap: .85rem; align-items: flex-start; }
.creds { padding: 0; }
.creds svg { width: 24px; height: 24px; color: var(--cobalt); flex: none; margin-top: 2px; }
.creds strong { display: block; font-family: var(--display); font-weight: 500; color: var(--ink); line-height: 1.3; }
.creds span { font-size: .92rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) { .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .creds { grid-template-columns: 1fr; } }

/* Ribbon */
.ribbon { overflow: hidden; padding-block: 1.1rem; border-block: 1px solid var(--line); background: var(--surface); }
.ribbon-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon ul { display: flex; gap: 2.4rem; padding: 0 1.2rem; margin: 0; list-style: none; }
.ribbon li { display: flex; align-items: center; gap: 2.4rem; font-family: var(--display); font-size: 1.15rem; color: var(--ink); white-space: nowrap; }
.ribbon li::after { content: ""; width: 10px; height: 10px; background: var(--cobalt); clip-path: polygon(0 18%, 100% 0, 100% 72%, 34% 100%, 0 80%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Service cards with cursor spotlight */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }
.card {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; gap: .2rem; overflow: hidden; isolation: isolate;
  padding: 2rem 1.8rem 1.8rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  color: inherit; text-decoration: none;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(51, 85, 255, .12), transparent 60%);
}
a.card:hover { transform: translateY(-4px); border-color: rgba(51, 85, 255, .35); box-shadow: 0 24px 50px rgba(14, 16, 20, .08); }
.card:hover::before { opacity: 1; }
.card-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 1.3rem; transition: background .3s, transform .4s var(--ease); }
a.card:hover .card-icon { background: var(--cobalt); transform: rotate(-6deg); }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.35rem; }
.card p { color: var(--muted); }
.card ul { margin: 0 0 1.2rem; padding-left: 1.1rem; color: var(--muted); }
.card ul li { margin-bottom: .3rem; }
.card .go { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; font-family: var(--display); font-weight: 500; color: var(--ink); }
.card .go svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
a.card:hover .go svg { transform: translateX(4px); }
.card-tag { position: absolute; top: 1.5rem; right: 1.5rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt-deep); background: var(--cobalt-tint); padding: .25rem .6rem; border-radius: 999px; }

/* Who we help */
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; padding: 0; margin: 0; }
.who li { list-style: none; background: var(--surface); padding: 1.5rem; transition: background .3s; }
.who li:hover { background: var(--cobalt-tint); }
.who h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.who p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Journey stepper */
.journey { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .journey { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; counter-reset: s; }
.step-btn {
  counter-increment: s; width: 100%; display: flex; align-items: center; gap: 1rem; text-align: left;
  padding: 1rem 1.1rem; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface);
  font: inherit; color: var(--text); cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s var(--ease), color .25s;
}
.step-btn::before {
  content: counter(s); flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 500; background: var(--paper); color: var(--ink); transition: background .25s, color .25s;
}
.step-btn:hover { border-color: var(--ink); transform: translateX(3px); }
.step-btn[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.step-btn[aria-selected="true"]::before { background: var(--cobalt); color: #fff; }
.step-btn strong { display: block; font-family: var(--display); font-weight: 500; font-size: 1.02rem; line-height: 1.3; }
.step-btn small { display: block; font-size: .86rem; color: var(--muted); line-height: 1.4; }
.step-btn[aria-selected="true"] small { color: var(--on-ink-muted); }
.step-panel {
  position: sticky; top: 100px; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(14, 16, 20, .06);
  animation: rise .45s var(--ease);
}
.step-panel .k { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt-deep); }
.step-panel h3 { font-size: 1.6rem; margin: .4rem 0 .8rem; }
.step-panel h4 { font-family: var(--display); font-weight: 500; font-size: 1rem; color: var(--ink); margin: 1.2rem 0 .5rem; }
.step-panel .progress { height: 4px; border-radius: 4px; background: var(--paper); overflow: hidden; margin-top: 1.5rem; }
.step-panel .progress span { display: block; height: 100%; background: var(--cobalt); border-radius: 4px; transition: width .6s var(--ease); }
.w1 { width: 16.7%; } .w2 { width: 33.3%; } .w3 { width: 50%; } .w4 { width: 66.7%; } .w5 { width: 83.3%; } .w6 { width: 100%; }
@media (max-width: 900px) { .step-panel { position: static; } }

/* Checks */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.checks li { position: relative; padding-left: 1.85rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / .75rem no-repeat;
}
.panel-ink .checks li { color: #d6dbe5; }

/* Feature grid (service pages) */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.features li {
  position: relative; padding: 1.5rem 1.5rem 1.5rem 1.6rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s var(--ease);
}
.features li:hover { border-color: var(--ink); transform: translateY(-2px); }
.features h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.features p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

.side { padding: 1.7rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.side h3 { font-size: 1.1rem; }
.side ul, .side ol { margin: 0; padding-left: 1.15rem; }
.side li { margin-bottom: .45rem; }

.terms { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.terms li { padding: .4rem .9rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; color: var(--text); transition: background .2s, color .2s, border-color .2s; }
.terms li:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Funding callout */
.funding { padding: clamp(2.2rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.funding::after { background: linear-gradient(110deg, rgba(14, 16, 20, .95) 30%, rgba(14, 16, 20, .55)); }
.funding .big { font-family: var(--display); font-size: clamp(3.2rem, 8vw, 5.5rem); line-height: 1; color: #fff; letter-spacing: -.04em; }
.funding .big em { font-style: normal; color: var(--cobalt-glow); }
.funding .fine { font-size: .88rem; color: var(--on-ink-muted); margin: 1rem 0 0; }
@media (max-width: 860px) { .funding { grid-template-columns: 1fr; } }

/* Mandarin band */
.zh-band { position: relative; overflow: hidden; border-radius: var(--r-xl); margin-inline: var(--inset); background: var(--cobalt); color: #fff; padding: clamp(2.2rem, 5vw, 3.6rem); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; isolation: isolate; }
.zh-band h2 { color: #fff; }
.zh-band p { color: #dfe5ff; margin: 0; max-width: 34em; }
.zh-band .glyph { position: absolute; right: -1rem; bottom: -3.5rem; font-family: var(--zh); font-weight: 700; font-size: clamp(9rem, 22vw, 16rem); line-height: 1; color: rgba(255, 255, 255, .08); z-index: -1; pointer-events: none; }
@media (max-width: 760px) { .zh-band { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: .7rem; max-width: 860px; }
.faq details { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--ink); box-shadow: 0 16px 40px rgba(14, 16, 20, .06); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--ink); }
body.lang-zh .faq summary { font-family: var(--display), var(--zh); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); position: relative; transition: background .25s, transform .35s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .35s var(--ease), background .25s; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { background: var(--ink); transform: rotate(180deg); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: #fff; }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 1.4rem 1.3rem; color: var(--muted); animation: rise .35s var(--ease); }
.faq .answer p:last-child { margin: 0; }

/* CTA band */
.cta { padding: clamp(2.8rem, 6vw, 4.8rem) clamp(1.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; }
.cta .mark { position: absolute; right: clamp(-3rem, -2vw, 0rem); top: 50%; width: clamp(160px, 22vw, 260px); transform: translateY(-50%) rotate(-8deg); opacity: .09; z-index: -1; filter: invert(1); }
.cta p { margin: 0; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-grid .prism-photo { justify-self: start; position: sticky; top: 110px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid .prism-photo { position: static; } }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
@media (max-width: 640px) { .duo { grid-template-columns: 1fr; } }

/* ── Form ───────────────────────────────────────────────── */
.form-card { padding: clamp(1.4rem, 3.5vw, 2.4rem); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(14, 16, 20, .07); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .93rem; color: var(--ink); margin-bottom: .4rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--paper); border: 1.5px solid transparent; border-radius: var(--r-sm); padding: .8rem .95rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(51, 85, 255, .15); }
.field textarea { min-height: 150px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: .55rem; }
.field label.choice {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0; cursor: pointer;
  padding: .55rem .95rem; border-radius: 999px; background: var(--paper); border: 1.5px solid transparent;
  font-weight: 500; font-size: .95rem; transition: background .2s, border-color .2s, color .2s;
}
.field label.choice:hover { border-color: var(--line); }
.field label.choice:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice input { accent-color: var(--cobalt); width: 1rem; height: 1rem; margin: 0; }
.form-hint { font-size: .86rem; color: var(--muted); margin: .4rem 0 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.form-status { margin: 1rem 0 0; padding: .95rem 1.1rem; border-radius: var(--r-sm); display: none; }
.form-status.ok { display: block; background: var(--cobalt-tint); color: var(--cobalt-deep); font-weight: 500; animation: rise .4s var(--ease); }
.form-status.err { display: block; background: #fdecec; color: #9b2420; animation: rise .4s var(--ease); }
.turnstile-slot:empty { display: none; }
.turnstile-slot { margin-top: 1rem; }
.note { padding: 1.2rem 1.35rem; border-radius: var(--r-md); background: var(--cobalt-tint); color: var(--ink); }
.note p:last-child { margin: 0; }
.stack { display: grid; gap: 1rem; align-content: start; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { margin: clamp(2.5rem, 6vw, 4rem) var(--inset) var(--inset); border-radius: var(--r-xl); background: var(--ink); color: var(--on-ink-muted); padding-block: clamp(2.8rem, 6vw, 4rem) 1.8rem; font-size: .95rem; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
.footer-grid h2 { font-family: var(--body); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #7f8899; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-logo { width: 190px; margin-bottom: 1.1rem; }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .84rem; color: #7f8899; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* Preview banner (only on the preview build) */
.preview-bar { background: var(--cobalt); color: #fff; text-align: center; font-size: .86rem; padding: .5rem 1rem; }

/* ── Motion ─────────────────────────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-in > * { animation: rise .8s var(--ease) both; }
.hero-in > *:nth-child(2) { animation-delay: .08s; }
.hero-in > *:nth-child(3) { animation-delay: .16s; }
.hero-in > *:nth-child(4) { animation-delay: .24s; }
.hero-in > *:nth-child(5) { animation-delay: .32s; }
.hero-in > *:nth-child(6) { animation-delay: .4s; }
.js .reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.below { opacity: 0; transform: translateY(24px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal.below { opacity: 1; transform: none; }
  .ribbon-track { animation: none; }
}

/* Utilities */
.mt { margin-top: 1.4rem; }
.eyebrow-light { color: #fff; }
.zh-band .eyebrow-light { color: #fff; }
.funding .big { margin-bottom: .45em; }
.bio h3 { margin: 2rem 0 .5rem; font-size: 1.3rem; }
.bio .lead { color: var(--ink); }
