/* H&N Capital · hn.capital  (v2: cinematic institutional)
   Serif display (Newsreader) over a grotesk body (Schibsted), deep-navy color blocks with grain and
   radial light, full-bleed photography, GSAP-driven reveals. One hue family: navy → steel → mist.
   ponytail: single (light) theme with deliberate navy blocks; fonts/GSAP self-hosted for mainland China. */

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("fonts/schibsted-var.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/schibsted-var-italic.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/newsreader-var.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("fonts/newsreader-var-italic.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --navy-950: #061a2c;
  --navy-900: #08263d;
  --navy-800: #0a314e;
  --navy-700: #123f63;
  --navy-600: #1c527c;
  --steel: #9db4c9;
  --mist: #dfe7ee;
  --bg: #f3f5f8;
  --surface: #ffffff;
  --ink: #0f1a26;
  --ink-2: #3a4756;
  --ink-3: #66748a;
  --line: #d9dfe6;
  --line-strong: #b9c3cf;
  --navy: var(--navy-800);
  --navy-soft: #e6ecf2;
  --on-navy: #f3f5f8;
  --on-navy-2: #b7c4d2;
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 30px 60px -30px rgba(6, 26, 44, .35), 0 12px 24px -16px rgba(6, 26, 44, .25);
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", "Times New Roman", Georgia, serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html[lang="zh"] { --font: "Schibsted Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "Newsreader", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 500; font-optical-sizing: auto; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: .98; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.04; }
h3, h4 { font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
html[lang="zh"] h1, html[lang="zh"] h2 { letter-spacing: 0; line-height: 1.18; font-weight: 600; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.32rem); color: var(--ink-2); max-width: 60ch; line-height: 1.5; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { position: relative; padding: clamp(72px, 10vw, 150px) 0; }
.section + .section { padding-top: 0; }
.section + .section.dark, .dark + .section, .section.dark + .cta-band { padding-top: clamp(72px, 10vw, 150px); }
.section-head { margin-bottom: clamp(36px, 4.5vw, 64px); max-width: 60ch; }
.section-head p { margin-top: 18px; color: var(--ink-2); font-size: 1.1rem; }

/* Dark surfaces: radial light + grain */
.dark { position: relative; color: var(--on-navy); background: radial-gradient(1100px 620px at 12% -10%, var(--navy-700) 0%, transparent 62%), radial-gradient(800px 500px at 100% 110%, var(--navy-800) 0%, transparent 60%), var(--navy-950); }
.dark::after, .footer::after, .hero-full::after, .page-hero.photo::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); background-size: 220px; opacity: .07; pointer-events: none; mix-blend-mode: overlay; z-index: 1; }
.dark > .wrap, .footer > .wrap { position: relative; z-index: 2; }
.dark h2, .dark h3 { color: #fff; }
.dark p, .dark .muted { color: var(--on-navy-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; background: var(--navy); color: #fff; font-weight: 500; font-size: .95rem; line-height: 1; white-space: nowrap; border: 1px solid var(--navy); position: relative; overflow: hidden; transition: color .35s var(--ease), border-color .35s var(--ease), transform .15s var(--ease), box-shadow .35s var(--ease); cursor: pointer; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--navy-600); transform: translateY(101%); transition: transform .45s var(--ease); z-index: 0; }
.btn:hover::before { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; }
.btn:hover { box-shadow: 0 14px 30px -14px rgba(6,26,44,.55); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost::before { background: var(--navy-soft); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light::before { background: var(--mist); }
.btn.ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.45); }
.btn.ghost.on-dark::before { background: rgba(255,255,255,.1); }
.btn .arr { width: 16px; height: 16px; flex: none; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.link { color: var(--navy); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; position: relative; padding-bottom: 2px; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(.35); transform-origin: left; transition: transform .4s var(--ease); }
.link:hover::after { transform: scaleX(1); }
.link .arr { width: 15px; height: 15px; }
.dark .link { color: #fff; }

/* Navigation: transparent over dark heroes, solid glass once scrolled */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s, box-shadow .4s; border-bottom: 1px solid transparent; }
.nav .wrap { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.nav .logo { display: flex; align-items: center; margin-right: auto; position: relative; }
.nav .logo img { height: 50px; width: auto; transition: opacity .3s; }
.nav .logo .dk { position: absolute; left: 0; top: 0; opacity: 0; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav ul a { font-size: .95rem; font-weight: 500; color: inherit; opacity: .82; padding: 6px 0; border-bottom: 1px solid transparent; transition: opacity .25s, border-color .25s; }
.nav ul a:hover, .nav ul a[aria-current="page"] { opacity: 1; border-color: currentColor; }
.nav .lang { font-size: .85rem; font-weight: 500; opacity: .75; letter-spacing: .02em; display: flex; gap: 6px; align-items: center; }
.nav .lang a:hover, .nav .lang .cur { opacity: 1; }
.nav .btn { padding: 12px 18px; font-size: .9rem; background: #fff; color: var(--navy); border-color: #fff; }
.nav .btn::before { background: var(--mist); }
.nav.solid { background: rgba(243,245,248,.86); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); color: var(--ink); border-color: var(--line); }
.nav.solid .logo .lt { opacity: 0; }
.nav.solid .logo .dk { opacity: 1; }
.nav.solid .btn { background: var(--navy); color: #fff; border-color: var(--navy); }
.nav.solid .btn::before { background: var(--navy-600); }
.nav .burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; margin-left: -8px; }
.nav .burger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .25s, opacity .25s; }
@media (max-width: 1023px) {
  .nav .wrap { gap: 14px; }
  .nav .burger { display: block; order: 3; }
  .nav .btn { display: none; }
  .nav ul { display: none; position: absolute; left: 0; right: 0; top: var(--nav-h); flex-direction: column; gap: 0; background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; opacity: 1; }
  .nav.open ul { display: flex; }
  .nav.open { background: rgba(243,245,248,.96); color: var(--ink); }
  .nav.open .logo .lt { opacity: 0; } .nav.open .logo .dk { opacity: 1; }
  .nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .burger span:nth-child(2) { opacity: 0; }
  .nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Full-bleed cinematic hero (home) */
.hero-full { position: relative; min-height: 100dvh; display: grid; align-items: end; color: #fff; background: var(--navy-950); overflow: hidden; }
.hero-full .media { position: absolute; inset: 0; transform-origin: center; }
.hero-full .media video, .hero-full .media img { width: 100%; height: 100%; object-fit: cover; }
.hero-full .media video { position: absolute; inset: 0; }
.hero-full .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,26,44,.42) 0%, rgba(6,26,44,.08) 38%, rgba(6,26,44,.55) 70%, rgba(6,26,44,.92) 100%), linear-gradient(100deg, rgba(6,26,44,.55) 0%, rgba(6,26,44,0) 60%); }
.hero-full .content { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(56px, 8vw, 112px); }
.hero-full h1 { max-width: 12ch; color: #fff; }
.hero-full .l { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-full .l > span { display: block; transform: translateY(110%); }
.hero-full .lede { color: rgba(255,255,255,.86); margin: 28px 0 0; max-width: 46ch; }
.hero-full .sub { color: rgba(255,255,255,.62); max-width: 52ch; margin-top: 14px; font-size: 1rem; }
.hero-full .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-full .meta { position: absolute; right: var(--gutter); bottom: clamp(56px, 8vw, 112px); z-index: 2; text-align: right; color: rgba(255,255,255,.7); font-size: .85rem; line-height: 1.7; }
.hero-full .meta strong { display: block; color: #fff; font-weight: 500; }
@media (max-width: 900px) { .hero-full .meta { display: none; } .hero-full { min-height: 92dvh; } }

/* Inner page hero: photo band */
.page-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); }
.page-hero.photo { position: relative; min-height: 62vh; display: grid; align-items: end; color: #fff; background: var(--navy-950); overflow: hidden; padding: calc(var(--nav-h) + 48px) 0 clamp(48px, 6vw, 88px); }
.page-hero.photo .media { position: absolute; inset: -12% 0; }
.page-hero.photo .media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.photo .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,26,44,.45) 0%, rgba(6,26,44,.2) 40%, rgba(6,26,44,.9) 100%); }
.page-hero.photo .wrap { position: relative; z-index: 2; width: 100%; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 18ch; }
.page-hero.photo h1 { color: #fff; }
.page-hero .lede { margin-top: 22px; }
.page-hero.photo .lede { color: rgba(255,255,255,.84); }
.page-hero + .section { padding-top: clamp(56px, 7vw, 104px); }

/* Relationship band */
.relation { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); margin-top: 56px; }
.relation > div { padding: 32px 24px 32px 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -0.01em; position: relative; transition: background .35s var(--ease); }
.relation > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.relation > div small { display: block; font-family: var(--font); font-weight: 400; font-size: .9rem; color: var(--ink-3); margin-top: 8px; letter-spacing: 0; }
.relation-note { display: flex; align-items: center; gap: 16px; margin-top: 22px; color: var(--ink-2); }
.relation-note .mark { width: 44px; height: 44px; border: 1px solid var(--navy); display: grid; place-items: center; font-weight: 700; color: var(--navy); font-size: .8rem; letter-spacing: .02em; flex: none; }
@media (max-width: 720px) { .relation { grid-template-columns: 1fr 1fr; } .relation > div:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .relation > div:nth-child(4) { border-top: 1px solid var(--line); } }

/* Capability bento: six photographic cells, duotone navy that lifts on hover */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bento .cell { position: relative; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; color: #fff; overflow: hidden; isolation: isolate; background: var(--navy-900); box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.bento .cell:hover { transform: translateY(-4px); }
.bento .cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.02); filter: saturate(.55) contrast(1.05); transition: transform 1.2s var(--ease), filter .8s var(--ease); }
.bento .cell::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,38,61,.25) 0%, rgba(8,38,61,.55) 55%, rgba(6,26,44,.94) 100%); transition: opacity .6s var(--ease); }
.bento .cell::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(10,49,78,.35); mix-blend-mode: multiply; transition: opacity .6s var(--ease); }
.bento .cell:hover img { transform: scale(1.07); filter: saturate(.9) contrast(1.02); }
.bento .cell:hover::after { opacity: 0; }
.bento .cell > * { position: relative; z-index: 2; }
.bento .cell h3 { margin-bottom: 10px; font-family: var(--serif); font-weight: 500; font-size: 1.7rem; letter-spacing: -0.01em; color: #fff; }
.bento .cell p { margin: 0; color: rgba(255,255,255,.8); font-size: .97rem; max-width: 44ch; }
.bento .cell .go { position: absolute; top: 24px; right: 24px; width: 24px; height: 24px; color: rgba(255,255,255,.75); transition: transform .35s var(--ease), color .35s; }
.bento .cell:hover .go { color: #fff; transform: translate(3px, -3px); }
.bento .cell.wide { grid-column: span 2; min-height: 400px; }
@media (max-width: 1023px) { .bento { grid-template-columns: 1fr 1fr; } .bento .cell.wide { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento .cell.wide { grid-column: auto; } .bento .cell { min-height: 260px; } }

/* Industry index: serif links */
.index { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.index a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 30px 20px 30px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.5rem, 2.3vw, 2.1rem); font-weight: 500; letter-spacing: -0.01em; position: relative; transition: color .3s, padding-left .35s var(--ease); }
.index a:nth-child(3n+2), .index a:nth-child(3n) { padding-left: 20px; border-left: 1px solid var(--line); }
.index a::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.index a:hover::before { transform: scaleX(1); }
.index a .arr { width: 22px; height: 22px; color: var(--ink-3); flex: none; transition: color .2s, transform .35s var(--ease); }
.index a:hover { color: var(--navy); }
.index a:hover .arr { color: var(--navy); transform: translateX(5px); }
@media (max-width: 760px) { .index { grid-template-columns: 1fr; } .index a { padding-left: 0 !important; border-left: 0 !important; } }

/* Global reach on navy: map, arcs, pins */
.map { position: relative; aspect-ratio: 1010 / 666; overflow: hidden; }
.map img { width: 100%; height: 100%; object-fit: contain; }
.map .arcs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.map .arcs path { fill: none; stroke: var(--steel); stroke-width: 1.2; stroke-linecap: round; opacity: .9; }
.map .pin { position: absolute; transform: translate(-50%, -50%); width: 10px; height: 10px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 3px rgba(6,26,44,.9), 0 0 24px 4px rgba(159,182,201,.35); }
.map .pin::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); animation: ping 3s var(--ease) infinite; }
.map .pin.hub { background: var(--mist); width: 13px; height: 13px; }
.map .pin span { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .82rem; font-weight: 500; color: #fff; letter-spacing: .02em; text-shadow: 0 1px 8px rgba(6,26,44,.9); }
.map .pin.left span { left: auto; right: 18px; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.8); opacity: 0; } }
.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.regions > div { padding: 32px 30px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.regions h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); font-weight: 600; margin-bottom: 18px; }
html[lang="zh"] .regions h3 { letter-spacing: .25em; }
.regions ul { list-style: none; margin: 0; padding: 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.7; color: #fff; }
.regions p { margin: 0; color: var(--on-navy-2); }
@media (max-width: 760px) { .regions { grid-template-columns: 1fr; } .map .pin span { display: none; } }

/* Projects band */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--line-strong); padding: 8px 14px; font-size: .9rem; font-weight: 500; color: var(--ink-2); background: var(--surface); }
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.band .art, .two .art, .cap .art, .post .art, .article .art { overflow: hidden; background: var(--navy-soft); box-shadow: var(--shadow); }
.band .art { aspect-ratio: 4 / 3; }
.band .art img, .two .art img, .cap .art img, .post .art img, .article .art img { width: 100%; height: 100%; object-fit: cover; }
[data-parallax] { will-change: transform; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* Insights */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post { display: block; }
.post .art { aspect-ratio: 16 / 10; margin-bottom: 20px; }
.post .art img { transition: transform 1.2s var(--ease), filter .8s var(--ease); filter: saturate(.85); }
.post:hover .art img { transform: scale(1.05); filter: saturate(1); }
.post .meta { font-size: .82rem; color: var(--ink-3); margin-bottom: 8px; letter-spacing: .04em; text-transform: uppercase; }
.post h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 10px; transition: color .2s; }
.post:hover h3 { color: var(--navy); }
.post p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; gap: 40px; } }

/* H&N AI block on navy with photographic backdrop */
.ai-section { overflow: hidden; }
.ai-section .backdrop { position: absolute; inset: 0; z-index: 0; }
.ai-section .backdrop img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: saturate(.6); }
.ai-section .backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-950) 0%, rgba(6,26,44,.6) 55%, rgba(6,26,44,.35) 100%); }
.ai { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.ai-box { background: rgba(8,38,61,.55); border: 1px solid rgba(255,255,255,.14); padding: 26px; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 40px 80px -40px rgba(0,0,0,.6); }
.ai-box form { display: flex; gap: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.05); padding: 6px 6px 6px 16px; align-items: center; transition: border-color .3s; }
.ai-box input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; font: inherit; font-size: 1rem; outline: none; }
.ai-box input::placeholder { color: rgba(255,255,255,.55); }
.ai-box form:focus-within { border-color: rgba(255,255,255,.7); }
.ai-box .btn { padding: 12px 18px; }
.prompts { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.prompts a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; color: var(--on-navy); font-size: .95rem; border: 1px solid rgba(255,255,255,.1); transition: background .25s, border-color .25s, padding-left .3s var(--ease); }
.prompts a:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.32); padding-left: 18px; }
.prompts .arr { width: 16px; height: 16px; opacity: .7; flex: none; }
.ai-box .note { margin: 16px 0 0; font-size: .85rem; color: var(--on-navy-2); }
@media (max-width: 860px) { .ai { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { position: relative; border-top: 1px solid var(--line-strong); padding: clamp(56px, 7vw, 96px) 0; background: linear-gradient(180deg, var(--bg), #e9eef4); }
.cta-band .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { max-width: 22ch; }

/* Footer */
.footer { position: relative; background: var(--navy-950); color: var(--on-navy-2); padding: 72px 0 32px; font-size: .92rem; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer img { height: 66px; width: auto; margin-bottom: 20px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
html[lang="zh"] .footer h4 { letter-spacing: .25em; }
.footer ul { list-style: none; margin: 0; padding: 0; line-height: 2.1; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .82rem; }
@media (max-width: 860px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .cols { grid-template-columns: 1fr; } }

/* Pages without a dark hero (articles): keep the first block clear of the fixed nav */
main > .section:first-child { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) !important; }

/* Inner pages */
.prose { max-width: 66ch; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 2.2em 0 .6em; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.two .art { aspect-ratio: 4 / 3; }
.two.sticky > .art { position: sticky; top: calc(var(--nav-h) + 24px); }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.steps > div { padding: 30px 24px 34px 0; border-bottom: 1px solid var(--line); }
.steps > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.steps h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: var(--navy); margin-bottom: 12px; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps > div:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps > div { padding-left: 0 !important; border-left: 0 !important; } }

.cap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 16px); }
.cap:first-of-type { border-top: 0; }
.cap h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.cap .art { aspect-ratio: 16 / 10; margin-top: 22px; }
.cap ul { columns: 2; column-gap: 32px; padding-left: 1.1em; margin: 0; color: var(--ink-2); }
.cap ul li { break-inside: avoid; margin-bottom: 8px; }
.cap .who { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }
@media (max-width: 860px) { .cap { grid-template-columns: 1fr; } .cap ul { columns: 1; } }

.subnav { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .92rem; font-weight: 500; }
.subnav a { color: var(--ink-2); }
.subnav a:hover { color: var(--navy); }

.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.fields li { border: 1px solid var(--line); background: var(--surface); padding: 12px 14px; font-size: .92rem; font-weight: 500; }
.empty { border: 1px dashed var(--line-strong); padding: clamp(32px, 5vw, 56px); background: var(--surface); max-width: 720px; }
.empty h3 { margin-bottom: 10px; }
.empty p { margin: 0 0 18px; color: var(--ink-2); }

/* Forms */
.form { display: grid; gap: 20px; max-width: 640px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 8px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); outline: none; border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-soft); }
.form input::placeholder, .form textarea::placeholder { color: #7b8797; }
.form .help { font-size: .85rem; color: var(--ink-3); margin: 8px 0 0; }
.form .err { display: none; font-size: .85rem; color: #9b1c1c; margin: 8px 0 0; }
.form .invalid input, .form .invalid select, .form .invalid textarea { border-color: #b42323; }
.form .invalid .err { display: block; }
.form .ok { display: none; border: 1px solid var(--navy); padding: 18px 20px; background: var(--navy-soft); }
.form.sent .ok { display: block; }
.form.sent > :not(.ok) { display: none; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.contact-side { display: grid; gap: 28px; }
.contact-side h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-side p { margin: 0; color: var(--ink-2); }

/* Article */
.article { max-width: 740px; }
.article .meta { color: var(--ink-3); font-size: .88rem; margin-bottom: 20px; letter-spacing: .03em; }
.article h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.article .lede { margin: 22px 0 34px; }
.article .art { aspect-ratio: 16 / 9; margin-bottom: 44px; }
.article p { font-size: 1.12rem; }
.article .prose h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-3); }

/* Reveal (driven by GSAP; static fallback when motion is reduced or JS is absent) */
.rv { opacity: 0; transform: translateY(26px); }
.rv.in { opacity: 1; transform: none; }
:focus-visible { outline: 2px solid var(--navy-600); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .hero-full .l > span { opacity: 1; transform: none; }
  .map .pin::after { animation: none; }
  .bento .cell img, .post .art img, .btn::before { transition: none; }
}
