/* Oxford DeepTech Innovators — "Blue hour" design
   Night-sky navy, warm gold light, glass surfaces. Spacing on an 8px grid. */

:root {
  --night: #050d24;
  --night-2: #071231;
  --night-3: #0c1d47;
  --sky-top: #011639;
  --text: #f4f6fb;
  --soft: #d6e0f5;
  --muted: #a3b3d6;
  --muted-2: #7c8db4;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.2);
  --gold: #f2c063;
  --gold-hi: #f8dc8e;
  --gold-lo: #e0a03c;
  --gold-line: rgba(246, 207, 122, 0.55);
  --sky: #8fb0ff;
  --rose: #e9a9b2;

  --radius: 22px;
  --max: 1240px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --section-y: clamp(60px, 6.2vw, 92px);

  /* Chinese headings use the Noto Serif SC web font. Chinese body text uses the reader's own system font
     (PingFang on Apple devices, YaHei on Windows): it needs no download, so switching language is instant. */
  --display: "Fraunces", "Noto Serif SC", "Songti SC", Georgia, serif;
  --sans: "Outfit", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;

  color-scheme: dark;
}

/* ---------- Language switch ---------- */
html[data-lang="en"] .zh { display: none !important; }
html[data-lang="zh"] .en { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 116px; -webkit-text-size-adjust: 100%; background: var(--night); }

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 350;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[data-lang="zh"] body { line-height: 1.8; font-weight: 400; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 420; letter-spacing: -0.015em; text-wrap: balance; }
html[data-lang="zh"] h1, html[data-lang="zh"] h2, html[data-lang="zh"] h3 { letter-spacing: 0; font-weight: 600; }
p, li, dd { text-wrap: pretty; }
/* Chinese has no spaces, so a browser breaks a line between any two characters: it splits words
   and leaves two or three characters alone on the last line. Here lines may break only after
   punctuation and at the <wbr> marks placed between phrases in index.html, and they are balanced.
   When a phrase is wider than its box, overflow-wrap still lets it break. */
html[data-lang="zh"] :is(h1, h2, h3, p, li, dd) { word-break: keep-all; overflow-wrap: break-word; }
html[data-lang="zh"] :is(p, li, dd) { text-wrap: balance; }

/* At the same font size a Chinese character is about a quarter taller than an English capital
   (measured: 0.875 em against 0.693 em), so Chinese text looked larger than English.
   font-size-adjust scales each font so that its lowercase height matches the number given:
   0.475 is Outfit's own value, so English letters stay as they are and the Chinese font
   (0.542) is drawn at 88% of the size. Display type has its own sizes and is left alone. */
html[data-lang="zh"] body { font-size-adjust: 0.475; }
html[data-lang="zh"] :is(h1, h2, h3, .facts dt, .brand, .footer-name, .footer-sub, .stage-num, .section-label .num, .portrait, .lang-toggle) { font-size-adjust: none; }
/* Small Chinese labels in medium weight, and the Chinese figure labels in the one serif weight that is loaded */
html[data-lang="zh"] :is(.eyebrow, .section-label, .team-label, .role, .tag, .pill, .kicker, .partner-meta, .list-title, .event-panel dt) { font-weight: 500; }
html[data-lang="zh"] .facts dt .zh { font-weight: 600; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(242, 192, 99, 0.35); }

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

.nb { white-space: nowrap; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -64px; z-index: 200; padding: 10px 18px; border-radius: 10px;
  background: var(--gold); color: #1a1404; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.hero-title .gold, .facts dt, .stage-num, .section-label .num {
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  font: 550 17px/1.2 var(--sans); letter-spacing: 0.005em; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, #f8d988 0%, #eeb654 100%); color: #1c1503;
  box-shadow: 0 14px 40px -12px rgba(242, 192, 99, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-gold:hover { box-shadow: 0 18px 54px -10px rgba(242, 192, 99, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-line {
  border-color: rgba(255, 255, 255, 0.78); color: #fff; background: rgba(6, 18, 52, 0.28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-line:hover { border-color: var(--gold-hi); color: var(--gold-hi); box-shadow: 0 0 44px -12px rgba(242, 192, 99, 0.6); }

/* ---------- Header ---------- */
.site-header { position: fixed; left: 0; right: 0; top: 14px; z-index: 60; pointer-events: none; }
.nav-bar {
  pointer-events: auto; position: relative;
  width: min(1520px, 100% - 32px); margin-inline: auto; min-height: 78px; padding: 0 12px 0 20px;
  display: flex; align-items: center; gap: 20px;
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.17);
  background: linear-gradient(180deg, rgba(20, 40, 92, 0.42), rgba(8, 20, 56, 0.36));
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 18px 50px -28px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.35s ease, border-color 0.35s ease;
}
.site-header.scrolled .nav-bar { background: linear-gradient(180deg, rgba(9, 21, 56, 0.86), rgba(5, 13, 36, 0.84)); border-color: rgba(255, 255, 255, 0.13); }

.brand { display: flex; align-items: center; gap: 20px; text-decoration: none; color: #fff; flex-shrink: 0; }
/* The emblem: an interlaced O, D and I in gold. The image has a transparent background. */
/* Shown large enough for its fine ribbons to read; the bar is taller to hold it (chosen 29 Nov 2026) */
.brand-mark { height: 66px; width: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-family: var(--display); font-size: 20px; font-weight: 440; letter-spacing: -0.005em; }
.brand-sub { font-family: var(--sans); font-size: 11.5px; color: var(--muted); letter-spacing: 0.2em; margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-nav a {
  position: relative; padding: 10px 16px; border-radius: 999px; text-decoration: none;
  font-size: 16px; font-weight: 420; color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 1px;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.site-nav a:not(.nav-cta):hover, .site-nav a.current { color: var(--gold-hi); }
.site-nav a:not(.nav-cta):hover::after, .site-nav a.current::after { transform: scaleX(1); }
.site-nav .nav-cta { margin-left: 10px; padding: 9px 22px; border: 1.5px solid rgba(255, 255, 255, 0.85); font-weight: 520; transition: all 0.25s ease; }
.site-nav .nav-cta:hover { background: linear-gradient(180deg, #f8d988, #eeb654); border-color: transparent; color: #1c1503; }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lang-toggle {
  min-width: 54px; height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.04); color: #fff;
  font: 520 14px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold-hi); }
.menu-toggle {
  display: none; width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.04); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -5px; }
.menu-bars::after { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(700px, 100svh, 1060px);
  background: var(--sky-top);
}
.hero-art { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero-art svg { width: 100%; height: 100%; transform-origin: 82% 100%; animation: settle 3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, transparent 80%, rgba(5, 13, 36, 0.7) 94%, var(--night) 100%),
    linear-gradient(90deg, rgba(1, 12, 40, 0.5) 0%, rgba(1, 12, 40, 0.22) 38%, transparent 60%);
}
.hero-inner { padding-top: clamp(124px, 16.5vh, 190px); padding-bottom: clamp(96px, 12vh, 150px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-hi);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
html[data-lang="zh"] .eyebrow { letter-spacing: 0.24em; font-size: 15px; }

.hero-title { font-size: clamp(46px, 7.15vw, 120px); line-height: 0.99; letter-spacing: -0.022em; font-weight: 430; }
.hero-title .line { display: block; filter: drop-shadow(0 4px 28px rgba(1, 10, 34, 0.5)); padding-bottom: 0.08em; }
/* The gold fill is only painted inside the line's own box. With a line height this tight the
   tails of g, p and y hang below that box, so the box is made taller and pulled back up. */
.hero-title .line.gold { padding-bottom: 0.3em; margin-bottom: -0.22em; }
html[data-lang="zh"] .hero-title { font-size: clamp(36px, 5.5vw, 88px); line-height: 1.18; }
.hero-lead { margin-top: clamp(20px, 2.4vw, 30px); max-width: 27em; font-size: clamp(18px, 1.72vw, 26px); line-height: 1.42; font-weight: 320; color: var(--soft); text-shadow: 0 2px 20px rgba(1, 10, 34, 0.6); }
html[data-lang="zh"] .hero-lead { line-height: 1.7; font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(28px, 3vw, 40px); }
.hero-actions .btn { min-height: 60px; padding: 0 34px; font-size: 18px; }

.rise { opacity: 0; transform: translateY(26px); animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
/* Once the page has settled, text that is shown again (a language switch) appears at once instead of sliding in again */
.settled .rise { animation: none; opacity: 1; transform: none; }

/* The figure over the spire (drawn in image coordinates).
   One bright line rises from the spire through four stars; each star lights as the line reaches it,
   and thin lines then spread from it to the smaller stars. --t is when a part appears. */
.c-line, .c-glow, .c-web path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.c-line { stroke: #f8d98c; stroke-width: 1.7; }
.c-glow { stroke: #f2c063; stroke-width: 6; opacity: 0.6; }
.c-path { animation: draw 3.2s cubic-bezier(0.42, 0, 0.58, 1) 0.9s forwards; }
.c-web path { stroke: rgba(248, 217, 140, 0.5); stroke-width: 1.1; animation: draw 0.9s ease-out var(--t, 2s) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.c-node { opacity: 0; animation: nodeIn 0.9s ease-out var(--t, 2s) forwards; }
@keyframes nodeIn { from { opacity: 0; } to { opacity: 1; } }
.c-node .halo { fill: url(#halo); transform-box: fill-box; transform-origin: center; animation: breathe 5s ease-in-out var(--b, 0s) infinite; }
.c-node .core { fill: #fff4d4; }
.c-minor .halo { animation: none; opacity: 0.75; }
.c-spark { fill: #fff1c9; transform-box: fill-box; transform-origin: center; animation: twinkle 5s ease-in-out -1s infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.28); opacity: 0.72; } }
@keyframes twinkle { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.84); } }

/* ---------- Ticker ---------- */
.ticker {
  position: relative; overflow: hidden; padding: 22px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: ticker 52s linear infinite; }
.ticker-track span { font-family: var(--display); font-style: italic; font-weight: 320; font-size: clamp(20px, 2vw, 28px); color: rgba(255, 255, 255, 0.62); white-space: nowrap; }
.ticker-track i { width: 7px; height: 7px; transform: rotate(45deg); background: linear-gradient(135deg, var(--gold-hi), var(--gold-lo)); flex-shrink: 0; }
@keyframes ticker { to { transform: translateX(calc(-50% - 20px)); } }
html[data-lang="zh"] .ticker-track span { font-family: var(--sans); font-style: normal; font-weight: 300; letter-spacing: 0.18em; }
/* Endless animations are paused while their part of the page is off screen (script.js sets the class) */
.off-screen, .off-screen * , .off-screen *::before { animation-play-state: paused !important; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
/* Soft light behind each section. The layer reaches past the section's own
   edges so the glow fades out instead of ending in a straight line. */
.section::before {
  content: ""; position: absolute; inset: -300px 0; z-index: -1; pointer-events: none;
  background: radial-gradient(700px 440px at 95% 560px, rgba(143, 176, 255, 0.11), transparent 70%);
}
.section:nth-of-type(odd)::before { background: radial-gradient(700px 440px at 3% 600px, rgba(143, 176, 255, 0.1), transparent 70%); }
main { position: relative; z-index: 0; }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 4vw, 56px);
}
.section-label {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-hi);
}
.section-label .num { font-family: var(--display); font-style: italic; font-size: 20px; letter-spacing: 0; font-weight: 400; }
.section-label .num::after { content: ""; }
.section-label .num + span, .section-label .num ~ span { position: relative; }
.section-label::after { content: ""; flex: 0 0 56px; height: 1px; background: linear-gradient(90deg, var(--gold-line), transparent); }
html[data-lang="zh"] .section-label { letter-spacing: 0.16em; font-size: 15px; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.04; }
html[data-lang="zh"] .section-head h2 { line-height: 1.25; font-size: clamp(32px, 4vw, 58px); }
.section-intro { font-size: clamp(18px, 1.45vw, 21px); color: var(--muted); max-width: 32em; padding-bottom: 6px; }

/* About */
.about { padding-top: clamp(64px, 7vw, 104px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.statement { font-size: clamp(34px, 4.5vw, 66px); line-height: 1.08; }
html[data-lang="zh"] .statement { line-height: 1.3; font-size: clamp(30px, 3.8vw, 54px); }
.about-copy > p { font-size: clamp(18px, 1.45vw, 21px); color: var(--muted); padding-bottom: 8px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(44px, 5vw, 72px); border-top: 1px solid var(--line-2); }
.facts > div { padding: 28px clamp(20px, 2.6vw, 40px) 4px; border-left: 1px solid var(--line); }
.facts > div:first-child { padding-left: 0; border-left: 0; }
.facts > div:last-child { padding-right: 0; }
/* Sized so the longest figure ("Oxford advisors") stays on one line in its column at every width */
.facts dt { font-family: var(--display); font-size: clamp(28px, 3.3vw, 48px); line-height: 1.1; width: fit-content; white-space: nowrap; }
.facts dd { margin-top: 10px; font-size: 16.5px; line-height: 1.45; color: var(--muted); }

/* Cards */
.card {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.022) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.9s ease;
}
.card::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}
.card::after {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -170px; top: -230px; pointer-events: none;
  background: radial-gradient(circle, rgba(143, 176, 255, 0.16), transparent 66%);
  transition: opacity 0.4s ease;
}
.card:hover {
  transform: translateY(-5px); border-color: rgba(246, 207, 122, 0.42);
  box-shadow: 0 40px 70px -36px rgba(0, 0, 0, 0.75), 0 0 70px -24px rgba(242, 192, 99, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.card h3 { font-size: clamp(25px, 2.3vw, 34px); line-height: 1.14; }
html[data-lang="zh"] .card h3 { line-height: 1.35; font-size: clamp(23px, 2vw, 30px); }
.card p { color: var(--muted); }

.tag, .pill, .kicker {
  display: inline-flex; align-items: center; gap: 9px; width: fit-content;
  font-size: 12.5px; font-weight: 520; letter-spacing: 0.16em; text-transform: uppercase;
}
html[data-lang="zh"] .tag, html[data-lang="zh"] .pill, html[data-lang="zh"] .kicker { letter-spacing: 0.1em; font-size: 14px; }

.checks { list-style: none; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 32px; font-size: 17px; line-height: 1.45; color: var(--soft); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(242, 192, 99, 0.12); box-shadow: inset 0 0 0 1px var(--gold-line);
}
.checks li::after {
  content: ""; position: absolute; left: 6px; top: calc(0.2em + 5.5px); width: 7px; height: 4px;
  border-left: 1.5px solid var(--gold-hi); border-bottom: 1.5px solid var(--gold-hi); transform: rotate(-45deg);
}

/* Tracks */
.tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.track { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 18px; padding: clamp(28px, 3.4vw, 48px); }
.track-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.track .tag { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--gold-line); color: var(--gold-hi); background: rgba(242, 192, 99, 0.07); }
.track-icon { width: 64px; height: 64px; color: var(--gold); filter: drop-shadow(0 0 14px rgba(242, 192, 99, 0.5)); }
.track h3 { font-size: clamp(28px, 2.8vw, 40px); }
.track > p { font-size: 18px; }
.track .checks { margin-top: 10px; padding-top: 28px; border-top: 1px solid var(--line); align-content: start; }

/* Founders journey */
.founders::before {
  background:
    radial-gradient(900px 520px at 88% 50%, rgba(242, 192, 99, 0.1), transparent 70%),
    radial-gradient(700px 480px at 6% 38%, rgba(143, 176, 255, 0.1), transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(12, 29, 71, 0.4) 34%, rgba(12, 29, 71, 0.4) 66%, transparent 100%) !important;
}
.journey { position: relative; aspect-ratio: 4 / 1; }
.journey-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.j-drops line { stroke: rgba(246, 207, 122, 0.3); stroke-width: 1; stroke-dasharray: 3 7; }
.j-line { fill: none; stroke: url(#jg); stroke-width: 2.2; stroke-linecap: round; }
.j-glow { fill: none; stroke: #f2c063; stroke-width: 10; stroke-linecap: round; opacity: 0.4; }
.j-node {
  position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  background: var(--night-2);
  box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 9px rgba(242, 192, 99, 0.1), 0 0 34px 2px rgba(242, 192, 99, 0.55);
}
.j-node-final {
  width: 28px; height: 28px; margin: -14px 0 0 -14px; background: radial-gradient(circle at 35% 30%, #fff4d4, var(--gold) 60%);
  box-shadow: 0 0 0 11px rgba(242, 192, 99, 0.14), 0 0 60px 8px rgba(242, 192, 99, 0.7);
}
.js .journey .j-line, .js .journey .j-glow { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s; }
.js .journey.in .j-line, .js .journey.in .j-glow { stroke-dashoffset: 0; }
.js .journey .j-node { opacity: 0; transform: scale(0.3); transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 1.4, 0.4, 1); }
.js .journey.in .j-node { opacity: 1; transform: none; }
.js .journey.in .j-node:nth-of-type(1) { transition-delay: 0.6s; }
.js .journey.in .j-node:nth-of-type(2) { transition-delay: 1.1s; }
.js .journey.in .j-node:nth-of-type(3) { transition-delay: 1.6s; }
.js .journey.in .j-node:nth-of-type(4) { transition-delay: 2.1s; }

/* Number, title and text share rows across the four stages, so the texts start level
   even when one title takes two lines. */
.stages { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto auto; }
.stage { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 10px; justify-items: center; align-items: start; padding: 0 clamp(8px, 1.2vw, 18px); text-align: center; }
.stage-num { font-family: var(--display); font-style: italic; font-size: 20px; }
.stage h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; }
.stage p { color: var(--muted); font-size: 17px; max-width: 15em; text-wrap: balance; }

/* Events */
.event {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch;
  border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line-2);
  background: linear-gradient(120deg, rgba(20, 44, 104, 0.6) 0%, rgba(9, 22, 58, 0.55) 55%, rgba(7, 18, 49, 0.9) 100%);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.event::before {
  content: ""; position: absolute; z-index: -1; left: -10%; bottom: -60%; width: 70%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(242, 192, 99, 0.2), transparent 70%);
}
.event-main { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: clamp(32px, 4.4vw, 64px); }
.event-main h3 { font-size: clamp(34px, 4vw, 60px); line-height: 1.04; }
html[data-lang="zh"] .event-main h3 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.25; }
.event-main p:not(.kicker) { color: var(--soft); font-size: clamp(17px, 1.4vw, 20px); max-width: 34em; }
.kicker { color: var(--gold-hi); }
.kicker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(242, 192, 99, 0.6); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(242, 192, 99, 0.55); } 100% { box-shadow: 0 0 0 16px rgba(242, 192, 99, 0); } }
.event-panel {
  display: flex; flex-direction: column; gap: 28px; padding: clamp(32px, 4vw, 56px);
  border-left: 1px solid var(--line); background: rgba(3, 9, 28, 0.42);
}
.event-panel dl { display: grid; }
.event-panel dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.event-panel dl > div:first-child { padding-top: 0; }
.event-panel dt { font-size: 12.5px; font-weight: 520; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-hi); padding-top: 5px; }
html[data-lang="zh"] .event-panel dt { letter-spacing: 0.1em; font-size: 14.5px; padding-top: 3px; }
.event-panel dd { font-size: 18px; color: var(--text); line-height: 1.45; }
.event-panel .btn { margin-top: auto; align-self: flex-start; }

/* Network */
.network { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.partner { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 18px; }
.partner h3 { font-size: clamp(22px, 1.95vw, 27px); }
html[data-lang="zh"] .partner h3 { font-size: clamp(22px, 1.9vw, 27px); }
.pill { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--sky); }
.pill-live { border-color: var(--gold-line); color: var(--gold-hi); background: rgba(242, 192, 99, 0.07); }
.pill-live::before { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.partner-meta { align-self: end; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 520; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi) !important; }
html[data-lang="zh"] .partner-meta { letter-spacing: 0.1em; font-size: 14.5px; }

/* Team */
.portrait {
  --w: 104px;
  width: var(--w); height: calc(var(--w) * 1.27); flex-shrink: 0; overflow: hidden;
  border-radius: calc(var(--w) / 2) calc(var(--w) / 2) 16px 16px;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 60% at 50% 108%, rgba(246, 207, 122, 0.75), rgba(233, 169, 178, 0.45) 40%, transparent 72%),
    linear-gradient(180deg, #0c2460 0%, #1c3a86 52%, #40539a 100%);
  box-shadow: inset 0 0 0 1px rgba(246, 207, 122, 0.6), inset 0 0 0 5px rgba(5, 13, 36, 0.35), 0 18px 34px -16px rgba(0, 0, 0, 0.75);
}
.portrait::after { content: attr(data-initials); font-family: var(--display); font-size: calc(var(--w) * 0.33); font-weight: 400; color: #fff; letter-spacing: 0.02em; text-shadow: 0 2px 14px rgba(1, 10, 34, 0.6); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait:has(img)::after { content: none; }
/* A photo covers the inner gold line, so the line is drawn outside the frame instead */
.portrait:has(img) { box-shadow: 0 0 0 1.5px rgba(246, 207, 122, 0.7), 0 18px 34px -16px rgba(0, 0, 0, 0.75); }
.portrait-empty { background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px rgba(246, 207, 122, 0.4); }
.portrait-empty::after { color: var(--gold); font-weight: 300; }

/* Small label above each group of people: the committee, then the founder and advisors */
.team-label { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; font-size: 12.5px; font-weight: 520; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi); }
.team-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
html[data-lang="zh"] .team-label { letter-spacing: 0.1em; font-size: 14.5px; }
.team-grid + .team-label { margin-top: clamp(40px, 4.4vw, 60px); }

.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.team-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Five people: two wide cards, then three. Six narrow columns let both rows fill the full width. */
.team-five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.team-five .person { grid-column: span 2; }
.team-five .person.wide { grid-column: span 3; }
/* Wide cards have room for a larger portrait and name */
.team-pair .portrait { --w: 120px; }
.team-pair .person h3 { font-size: clamp(26px, 2.4vw, 34px); }
.person { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: subgrid; grid-row: span 2; column-gap: 22px; row-gap: 24px; align-items: center; }
.person-head { display: flex; flex-direction: column; gap: 8px; padding-bottom: 4px; }
.person h3 { font-size: clamp(24px, 2vw, 30px); }
.person .field { grid-column: 1 / -1; align-self: start; padding-top: 22px; border-top: 1px solid var(--line); }
.role { font-size: 12.5px; font-weight: 520; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-hi) !important; line-height: 1.5; text-wrap: balance; }
html[data-lang="zh"] .role { letter-spacing: 0.08em; font-size: 14.5px; }
.field { font-size: 17px; line-height: 1.55; }

/* The President's card looks like every other card until the pointer is on it. Then it turns gold:
   a bright gold border and top line, a warm light inside the card and a gold ring round the portrait.
   The other cards only lift and get a faint border. */
.portrait { transition: box-shadow 0.4s ease; }
.person.lead::before { transition: left 0.4s ease, right 0.4s ease, height 0.2s ease; }
.person.lead:hover {
  border-color: rgba(246, 207, 122, 0.95);
  box-shadow: 0 40px 70px -36px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(246, 207, 122, 0.55), 0 0 90px -24px rgba(242, 192, 99, 0.6),
    inset 0 150px 130px -90px rgba(246, 207, 122, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.person.lead:hover::before { left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.person.lead:hover::after { background: radial-gradient(circle, rgba(242, 192, 99, 0.3), transparent 66%); }
.person.lead:hover .portrait:has(img) { box-shadow: 0 0 0 2px var(--gold-hi), 0 0 0 6px rgba(242, 192, 99, 0.14), 0 0 36px rgba(242, 192, 99, 0.4), 0 18px 34px -16px rgba(0, 0, 0, 0.75); }
.person.lead:hover .role-tag { border-color: var(--gold-hi); background: rgba(242, 192, 99, 0.2); }

/* The one mark on the President's card: the role sits in a gold-outlined tag.
   One line where there is room; on phones the tag narrows to its longest word and takes two tidy lines. */
.role-tag { width: fit-content; white-space: nowrap; padding: 6px 13px; border-radius: 14px; border: 1px solid var(--gold-line); background: rgba(242, 192, 99, 0.12); line-height: 1.45; }

/* Join */
.join { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.join-card { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 16px; }
.list-title { margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 520; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi) !important; }
html[data-lang="zh"] .list-title { letter-spacing: 0.1em; font-size: 14.5px; }
.join-card .checks { margin-bottom: 20px; align-content: start; }
.join-card .btn { align-self: end; justify-self: start; min-height: 52px; padding: 0 26px; font-size: 16px; }

/* ---------- Closing ---------- */
.closing { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(96px, 11vw, 168px) 0 clamp(260px, 30vw, 440px); background: #03173a; }
.closing-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 100%; }
.closing-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, var(--night) 0%, rgba(5, 13, 36, 0.55) 22%, transparent 52%, transparent 86%, rgba(3, 8, 24, 0.85) 100%); }
.closing-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.closing h2 { font-size: clamp(36px, 5.2vw, 78px); line-height: 1.05; max-width: 15em; filter: drop-shadow(0 4px 30px rgba(1, 10, 34, 0.6)); }
html[data-lang="zh"] .closing h2 { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.28; }
.closing p { font-size: clamp(18px, 1.5vw, 21px); color: var(--soft); max-width: 34em; text-shadow: 0 2px 18px rgba(1, 10, 34, 0.7); }
.closing p a { color: var(--gold-hi); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.closing p a:hover { color: #fff; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: #030818; padding: 56px 0 44px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.footer-mark { height: 104px; width: auto; margin-bottom: 20px; }
.footer-name { font-family: var(--display); font-size: 24px; }
.footer-sub { font-family: var(--sans); font-size: 13px; color: var(--muted); letter-spacing: 0.2em; margin-top: 4px; }
.footer-note { margin-top: 18px; font-size: 15.5px; color: var(--muted-2); max-width: 28em; }
.footer-nav { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 32px; justify-content: start; }
.footer-nav a { text-decoration: none; color: var(--soft); font-size: 16px; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--gold-hi); }
.footer-copy { font-size: 14.5px; color: var(--muted-2); white-space: nowrap; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s ease var(--d, 0s), transform 1s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease, opacity 1s ease var(--d, 0s); }
.js .card.reveal.in:hover { transform: translateY(-5px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .c-node, .js .reveal, .js .journey .j-node { opacity: 1 !important; transform: none !important; }
  .c-line, .c-glow, .c-web path, .js .journey .j-line, .js .journey .j-glow { stroke-dashoffset: 0 !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .team-pair .portrait { --w: 104px; }
  .site-nav a { padding: 10px 11px; font-size: 15px; }
  .site-nav a:not(.nav-cta)::after { left: 11px; right: 11px; }
  .brand-name { font-size: 18px; }
}

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 10px);
    display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px 22px 22px;
    border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(6, 15, 42, 0.96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 15px 2px; border-radius: 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.nav-cta)::after { display: none; }
  .site-nav .nav-cta { margin: 18px 0 0; border-radius: 999px; text-align: center; border-bottom: 1.5px solid rgba(255, 255, 255, 0.85); padding: 14px; }

  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .event { grid-template-columns: minmax(0, 1fr); }
  .event-panel { border-left: 0; border-top: 1px solid var(--line); }
  .network, .join { grid-template-columns: minmax(0, 1fr); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Five cards in two columns: the last one takes the full row */
  .team-five .person, .team-five .person.wide { grid-column: auto; }
  .team-five .person:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

/* Narrower windows that are still wide enough for the text to sit on the picture:
   the figure shrinks towards the spire tip, so it stays clear of the headline. */
@media (min-width: 901px) and (max-width: 1100px) and (min-aspect-ratio: 5/4) {
  .constellation { transform-box: view-box; transform-origin: 1418px 446px; transform: scale(0.8); }
}

/* Hero: text first, the scene below it. On phones, and on windows that are
   taller than they are wide (a tablet held upright), where the picture is cropped
   so far that the figure would land on the headline. */
@media (max-width: 900px), (max-width: 1180px) and (max-aspect-ratio: 5/4) {
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-inner { order: 1; padding-top: 124px; padding-bottom: 8px; }
  .hero-art { order: 2; position: relative; inset: auto; height: 96vw; max-height: 620px; margin-top: -8vw; z-index: -2; }
  .hero-shade { background: linear-gradient(180deg, transparent 86%, var(--night) 100%); }
}

@media (max-width: 900px) {
  .team-pair { grid-template-columns: minmax(0, 1fr); }

  /* Journey becomes a vertical list */
  .journey { display: none; }
  .stages { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; margin-top: 0; gap: 0; position: relative; }
  .stages::before { content: ""; position: absolute; left: 10px; top: 14px; bottom: 30px; width: 1px; background: linear-gradient(180deg, rgba(143, 176, 255, 0.4), var(--gold)); }
  .stage { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 0 0 36px 48px; gap: 6px; }
  .stage::before {
    content: ""; position: absolute; left: 0; top: 6px; width: 21px; height: 21px; border-radius: 50%; background: var(--night-2);
    box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 7px rgba(242, 192, 99, 0.1), 0 0 26px rgba(242, 192, 99, 0.55);
  }
  .stage:last-child { padding-bottom: 0; }
  .stage:last-child::before { background: var(--gold); }
  .stage p { max-width: none; }
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .site-header { top: 10px; }
  .nav-bar { width: calc(100% - 20px); min-height: 68px; padding: 0 8px 0 12px; border-radius: 16px; }
  .brand-mark { height: 56px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 10.5px; letter-spacing: 0.16em; }
  .hero-inner { padding-top: 112px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .tracks, .team-grid { grid-template-columns: minmax(0, 1fr); }
  .team-five .person:last-child { grid-column: auto; }
  .team-pair .portrait { --w: 96px; }
  .team-pair .person h3 { font-size: 24px; }
  .person { column-gap: 18px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > div { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
  .closing-actions .btn { white-space: normal; text-align: center; padding: 12px 26px; }
  .event-panel dl > div { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; }
  .footer-nav { grid-template-columns: repeat(2, auto); }
}

/* Phones: the top bar has to hold the name, the language button and the menu button */
@media (max-width: 480px) {
  .nav-bar { gap: 10px; padding: 0 8px 0 12px; }
  .brand { gap: 12px; flex: 1 1 auto; min-width: 0; }
  .brand-mark { height: 52px; }
  .brand-name { font-size: 15px; }
  .brand-sub { display: none; }
  .lang-toggle { min-width: 44px; padding: 0 10px; }
  .eyebrow { font-size: 12px; letter-spacing: 0.14em; }
  .eyebrow::before { display: none; }
  .role-tag { width: min-content; white-space: normal; }
  /* Small enough that "breakthrough to" stays on one line on a 360px phone */
  .hero-title { font-size: clamp(36px, 11.4vw, 46px); }
  html[data-lang="zh"] .hero-title { font-size: clamp(30px, 8.6vw, 36px); }
}
