/* Mockup E. Light only. Geist throughout. One accent (electric blue).
   Radius rule: cards 24px, tiles 16px, buttons and chips full pill, inputs 14px.
   Elevation by borders; soft shadow only on floating elements (nav, floats, ask panel). */
:root {
  --bg: #FBFBFC; --paper: #FFFFFF; --soft: #F3F4F7; --soft-2: #ECEEF3;
  --ink: #0C0E14; --ink-2: #2A2F3A; --muted: #5D6372; --faint: #A3A8B4; --line: #E6E8EE;
  --accent: #2B50FF; --accent-2: #1BB8F0; --accent-soft: #EEF1FF; --accent-ink: #FFFFFF;
  --gold: #F5B83D;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --r-card: 24px; --r-tile: 16px;
  --nav-h: 72px;
  --float-shadow: 0 1px 2px rgba(12, 14, 20, .04), 0 10px 30px -10px rgba(12, 14, 20, .14);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; font-feature-settings: "ss01"; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 999px; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 64px); margin-inline: auto; }
@media (max-width: 760px) { .wrap { width: calc(100% - 32px); } }
main > section { position: relative; padding-block: clamp(64px, 7vw, 96px); }
/* Hairline between two sections that share the page background (tinted bands already separate themselves) */
main > section:not(.hero, .numbers, .ai, .try) + section:not(.hero, .numbers, .ai, .try)::before { content: ""; position: absolute; top: 0; left: 50%; width: min(1200px, 100% - 64px); transform: translateX(-50%); border-top: 1px solid var(--line); }
@media (max-width: 760px) { main > section:not(.hero, .numbers, .ai, .try) + section:not(.hero, .numbers, .ai, .try)::before { width: calc(100% - 32px); } }
main > section.wrap::before { width: 100% !important; }
.h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.04em; max-width: 20ch; text-wrap: balance; }
.lede { margin: 16px 0 0; max-width: 56ch; color: var(--muted); font-size: 19px; line-height: 1.6; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn i { font-size: 18px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-lg { padding: 18px 26px; font-size: 17px; }
@media (hover: hover) and (pointer: fine) {
  .btn-accent:hover { background: #1F43F0; }
  .btn-line:hover { border-color: var(--ink-2); }
  .btn-dark:hover { background: #22252E; }
}
.icon-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 20px; cursor: pointer; transition: transform 160ms var(--ease-out); }
.icon-btn:active { transform: scale(0.95); }

/* NAV: floating, blurred */
.nav { position: fixed; z-index: 40; top: 12px; left: 50%; transform: translateX(-50%); width: min(1360px, calc(100% - 48px)); height: 56px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 0 8px 0 10px; border-radius: 999px; background: rgba(236,240,255,.94); backdrop-filter: blur(16px) saturate(170%); -webkit-backdrop-filter: blur(16px) saturate(170%); border: 1px solid #CDD6FF; box-shadow: 0 10px 30px -12px rgba(43,80,255,.35), 0 1px 2px rgba(12,14,20,.05); }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1px #CDD6FF; }
.brand em { font-style: normal; font-weight: 500; color: var(--muted); }
.tabs { position: relative; display: flex; gap: 2px; justify-self: center; white-space: nowrap; }
.tabs a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color 200ms ease; }
.tabs a i { font-size: 16px; }
.tabs a:hover { color: var(--ink); }
.tabs a.is-active i { color: #fff; }
.tabs a.is-active { color: #fff; }
.tabs-ind { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; background: var(--accent); opacity: 0; transition: transform 320ms var(--ease-out), width 320ms var(--ease-out), opacity 200ms ease; }
.nav-end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nav-cta { padding: 11px 18px; font-size: 14px; white-space: nowrap; }
/* the bar steps down only when it runs out of room (set by e.js): lv1 drops icons, lv2 tightens, lv3 folds the links into Menu */
.nav.lv1 .tabs a i { display: none; }
.nav.lv2 .brand em { display: none; }
.nav.lv2 .tabs a { padding-inline: 9px; }
.nav.lv3 .tabs { visibility: hidden; position: absolute; pointer-events: none; }
.nav-menu { display: none; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid #CDD6FF; background: var(--paper); font: 600 14px var(--font); color: var(--ink); cursor: pointer; }
.nav-menu i { font-size: 18px; }
.nav.lv3 .nav-menu { display: inline-flex; }
.nav-panel { position: absolute; top: calc(100% + 10px); right: 8px; width: 260px; padding: 8px; display: grid; gap: 2px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--float-shadow); }
.nav-panel[hidden] { display: none; }
.nav-panel a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav-panel a i { font-size: 18px; color: var(--muted); }
.nav-panel a:hover, .nav-panel a.is-active { background: var(--accent-soft); color: var(--accent); }
.nav-panel a.is-active i { color: var(--accent); }
.progress { position: absolute; left: 28px; right: 28px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.tabbar { display: none; }
@media (max-width: 760px) {
  .nav { top: 8px; height: 52px; }
  .brand span { font-size: 15px; }
  .brand em { display: none; }
  .nav-cta { display: none; }
  .tabbar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; border-radius: 22px; background: rgba(255,255,255,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: var(--float-shadow); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 0; font-size: 11px; font-weight: 600; color: var(--muted); text-decoration: none; border-radius: 16px; }
  .tabbar a i { font-size: 22px; }
  .tabbar a.is-active { color: var(--accent); background: var(--accent-soft); }
}

/* 1. HERO */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100dvh; padding: calc(var(--nav-h) + 8px) 0 0 !important; display: flex; align-items: stretch; background: var(--paper); }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.aurora span:nth-child(1) { width: 46vw; height: 46vw; right: -6vw; top: 6vh; background: #C9D4FF; }
.aurora span:nth-child(2) { width: 30vw; height: 30vw; right: 22vw; bottom: -8vw; background: #BDEBFF; }
.aurora span:nth-child(3) { width: 24vw; height: 24vw; right: 2vw; bottom: 4vh; background: #DCD6FF; opacity: .45; }
@media (prefers-reduced-motion: no-preference) {
  .aurora span:nth-child(1) { animation: drift1 18s ease-in-out infinite alternate; }
  .aurora span:nth-child(2) { animation: drift2 22s ease-in-out infinite alternate; }
  .aurora span:nth-child(3) { animation: drift1 26s ease-in-out infinite alternate-reverse; }
}
@keyframes drift1 { to { transform: translate(-4vw, 3vh) scale(1.08); } }
@keyframes drift2 { to { transform: translate(3vw, -4vh) scale(.94); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle at 1px 1px, rgba(12,14,20,.07) 1px, transparent 0); background-size: 24px 24px; mask-image: linear-gradient(90deg, #000 0%, transparent 55%); pointer-events: none; }
.hero-inner { width: min(1360px, 100% - 64px); margin-inline: auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: end; }
.hero-copy { align-self: center; padding-bottom: 32px; min-width: 0; }
.hello { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 clamp(12px, 2dvh, 22px); padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hello-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,.15); }
.name { white-space: nowrap; font-size: clamp(40px, min(4.4vw, 9dvh), 76px); line-height: 1; letter-spacing: -0.05em; font-weight: 650; }
.tagline { margin: clamp(8px, 1.4dvh, 14px) 0 0; font-size: clamp(17px, min(1.5vw, 2.7dvh), 22px); font-weight: 500; letter-spacing: -0.015em; color: var(--accent); }
.hello .pipe { color: var(--faint); margin: 0 4px; }
.hello .roles { display: inline; white-space: nowrap; }
.hello .grp { white-space: nowrap; }
.hello .gsep { margin: 0 8px; }
@media (min-width: 981px) { .hello { font-size: clamp(11.5px, 0.97vw, 14px); } }
@media (max-width: 640px) {
  .hello { align-items: flex-start; border-radius: 16px; padding: 8px 12px 8px 10px; font-size: 11.5px; line-height: 1.55; }
  .hello-dot { margin-top: 6px; flex: none; }
  .hello .roles { white-space: normal; }
  .hello .grp { display: block; }
  .hello .gsep { display: none; }
}
.tm { margin: clamp(12px, 2dvh, 20px) 0 0; max-width: 33em; font-size: clamp(18px, min(1.55vw, 2.9dvh), 23px); line-height: 1.55; letter-spacing: -0.012em; font-weight: 400; color: #7A808D; text-wrap: balance; }
@media (min-width: 641px) { .tm .k { white-space: nowrap; } }
.tm .k { color: var(--ink); font-weight: 600; background: linear-gradient(transparent 60%, #DCE3FF 60%, #DCE3FF 92%, transparent 92%); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 1px; }
.points { list-style: none; margin: clamp(20px, 3.4dvh, 34px) 0 0; padding: clamp(16px, 2.6dvh, 24px) 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; max-width: 600px; }
.points li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.points i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: 16px; }
.points li.award-line { grid-column: 1 / -1; justify-self: start; margin-top: 4px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #FFF7E0; border: 1px solid #F3DD9E; }
.points li.award-line i { border-radius: 50%; background: #fff; color: #C98A0A; }
.award-line b { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(16px, 2.6dvh, 30px); }
.hero-visual { position: relative; align-self: end; height: min(calc(100dvh - var(--nav-h) - 8px), 1000px); display: flex; justify-content: center; }
.photo-box { position: relative; height: 100%; aspect-ratio: 830 / 1045; }
.hero-photo { width: 100%; height: 100%; object-fit: contain; object-position: bottom; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 4%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 4%); mask-composite: intersect; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; transform: translateY(14px); filter: blur(6px); animation: enter 900ms var(--ease-out) forwards; }
  .hero-copy > :nth-child(2) { animation-delay: 80ms; }
  .hero-copy > :nth-child(3) { animation-delay: 220ms; }
  .hero-copy > :nth-child(4) { animation-delay: 320ms; }
  .hero-photo { opacity: 0; transform: translateY(40px); animation: enter 1200ms var(--ease-out) 120ms forwards; }
}
@keyframes enter { to { opacity: 1; transform: none; filter: none; } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 980px) {
  .name { white-space: normal; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); width: calc(100% - 32px); }
  .photo-box { height: auto; width: min(100%, 420px); margin-inline: auto; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { height: auto; order: 2; }
  .points { grid-template-columns: 1fr; }
}

/* 2. NUMBERS */
.numbers { padding-block: 0 !important; background: var(--paper); border-block: 1px solid var(--line); }
.numbers-row { display: grid; grid-template-columns: repeat(6, 1fr); }
.num { padding: 34px 20px 30px; border-left: 1px solid var(--line); }
.num:first-child { border-left: 0; padding-left: 0; }
.num b { display: block; font-size: clamp(36px, 3.6vw, 52px); line-height: 1; letter-spacing: -0.045em; font-weight: 600; font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.35; }
@media (max-width: 900px) { .numbers-row { grid-template-columns: repeat(3, 1fr); } .num:nth-child(4) { border-left: 0; padding-left: 0; } .num:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .numbers-row { grid-template-columns: repeat(2, 1fr); } .num:nth-child(n) { border-left: 1px solid var(--line); padding-left: 16px; border-top: 0; } .num:nth-child(odd) { border-left: 0; padding-left: 0; } .num:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* 3. BRING */
.bring { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.bring-side { position: sticky; top: calc(var(--nav-h) + 40px); }
.bring-close { margin: 28px 0 0; padding-left: 18px; border-left: 3px solid var(--accent); font-size: 21px; line-height: 1.5; color: var(--ink-2); max-width: 30ch; }
.bring-list { display: grid; gap: 12px; }
.bcard { border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: border-color 200ms ease; }
.bcard[aria-expanded="true"] { border-color: #C9D2FF; }
.bcard button { width: 100%; display: grid; grid-template-columns: 52px 1fr 24px; gap: 16px; align-items: center; padding: 20px 22px; border: 0; background: none; text-align: left; font: 600 21px/1.2 var(--font); letter-spacing: -0.02em; color: var(--ink); cursor: pointer; }
.bcard button > i:first-child { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--soft); color: var(--ink-2); font-size: 26px; transition: background-color 240ms ease, color 240ms ease; }
.bcard[aria-expanded="true"] button > i:first-child { background: var(--accent); color: #fff; }
.bcard .chev { font-size: 20px; color: var(--faint); transition: transform 300ms var(--ease-out); }
.bcard[aria-expanded="true"] .chev { transform: rotate(45deg); color: var(--accent); }
.bbody { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--ease-out); }
.bcard[aria-expanded="true"] .bbody { grid-template-rows: 1fr; }
.bbody > div { overflow: hidden; }
.bbody p { margin: 0; padding: 0 22px 0 90px; color: var(--muted); font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 22px 22px 90px; }
.tags span { padding: 5px 11px; border-radius: 999px; background: var(--accent-soft); color: #2440D6; font-size: 13px; font-weight: 500; }
@media (max-width: 900px) { .bring { grid-template-columns: 1fr; } .bring-side { position: static; } .bbody p, .tags { padding-left: 22px; } }
.bbody p { padding-bottom: 22px; }
.tags { padding-top: 0; margin-top: -8px; }
/* Grid layout preview (?layout=grid): heading on top, six cards fully open in a 3 x 2 grid */
.bring--grid { grid-template-columns: 1fr; gap: 40px; }
.bring--grid .bring-side { position: static; display: grid; grid-template-columns: auto 1fr; gap: 24px 64px; align-items: end; }
.bring--grid .bring-close { margin: 0; max-width: 46ch; }
.bring--grid .bring-list { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bring--grid .bcard button { cursor: default; grid-template-columns: 52px 1fr; padding-bottom: 12px; align-items: start; }
.bring--grid .bcard .chev { display: none; }
.bring--grid .bcard[aria-expanded="true"] button > i:first-child { background: var(--accent-soft); color: var(--accent); }
.bring--grid .bcard[aria-expanded="true"] { border-color: var(--line); }
.bring--grid .bbody p { padding: 0 22px 24px; }
.bring--grid .bcard { transition: border-color 200ms ease, transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .bring--grid .bcard:hover { border-color: #C9D2FF; transform: translateY(-2px); } }
@media (max-width: 1000px) { .bring--grid .bring-list { grid-template-columns: 1fr 1fr; } .bring--grid .bring-side { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .bring--grid .bring-list { grid-template-columns: 1fr; } }

/* 4. ENTERPRISE AI: sideways-scrolling row (native scroll, no pinning) */
.ai { padding: 0 !important; background: var(--soft); }
.ai-pin { display: flex; flex-direction: column; gap: 36px; padding: clamp(80px, 9vw, 120px) 0; }
.ai-head { display: grid; gap: 28px; }
.ai-controls { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; }
.rail { position: relative; height: 4px; border-radius: 4px; background: var(--soft-2); overflow: hidden; }
.rail-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(0.06); transition: transform 120ms linear; }
.ai-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(32px, calc((100vw - 1200px) / 2)); padding: 4px max(32px, calc((100vw - 1200px) / 2)) 12px; scrollbar-width: none; cursor: grab; outline: none; }
.ai-track::-webkit-scrollbar { display: none; }
.ai-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.ai-track:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.mile { position: relative; width: 380px; flex: none; scroll-snap-align: start; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); min-height: 400px; }
.mile-top { display: flex; justify-content: space-between; align-items: center; }
.mile-year { font-size: 14px; font-weight: 600; color: var(--accent); padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); }
.mile-top i { font-size: 28px; color: var(--ink-2); }
.mile h3 { margin: 26px 0 10px; font-size: 25px; line-height: 1.15; }
.mile p { margin: 0; color: var(--muted); font-size: 16px; }
.mile-metric { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.mile-metric b { display: block; font-size: 46px; line-height: 1; letter-spacing: -0.045em; font-weight: 600; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mile-metric span { font-size: 14px; color: var(--muted); }
.mile a { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.mile:nth-child(5) { background: linear-gradient(160deg, #EEF1FF, #E3F6FF); border-color: #C9D2FF; }
.mile:nth-child(5) .mile-top i { color: var(--accent); }
.mile:nth-child(5) .mile-year { background: var(--accent); color: #fff; }
.draft { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #FFE9A8; color: #6B4A00; font-size: 11px; font-weight: 600; vertical-align: 3px; letter-spacing: 0; }
@media (max-width: 760px) {
  .ai-track { padding-inline: 16px; scroll-padding-inline: 16px; }
  .mile { width: min(320px, 82vw); }
  .ai-controls .icon-btn { display: none; }
}
}

/* 5. PHILOSOPHY */
.philo-wrap { max-width: 920px; }
.essay { margin-top: 40px; display: grid; gap: 28px; }
.essay p { margin: 0; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.45; letter-spacing: -0.02em; font-weight: 500; color: var(--ink); }
.essay .wd { opacity: .16; transition: opacity 120ms linear; }
.shift-intro { margin: 72px 0 20px; font-size: 18px; font-weight: 600; color: var(--muted); }
.shifts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.shift { display: grid; grid-template-columns: 1fr 56px 1.2fr; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.shift .from { position: relative; justify-self: start; font-size: clamp(17px, 1.6vw, 21px); color: var(--faint); }
.shift .from::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 2px; background: var(--faint); transform-origin: 0 50%; transform: scaleX(0); transition: transform 600ms var(--ease-out); }
.shift .arrow { justify-self: center; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--muted); font-size: 18px; transition: background-color 300ms ease 300ms, color 300ms ease 300ms; }
.shift .to { font-size: clamp(19px, 1.9vw, 26px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); opacity: .15; transform: translateX(-10px); transition: opacity 600ms var(--ease-out) 350ms, transform 600ms var(--ease-out) 350ms; }
.shift.on .from::after { transform: scaleX(1); }
.shift.on .arrow { background: var(--accent); color: #fff; }
.shift.on .to { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .essay .wd { opacity: 1; } .shift .to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .shift { grid-template-columns: 1fr; gap: 6px; } .shift .arrow { justify-self: start; transform: rotate(90deg); width: 32px; height: 32px; } }
.philo-close { margin: 72px 0 0; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.15; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.philo-close mark { background: linear-gradient(transparent 62%, #D6DEFF 62%); color: inherit; }

/* 6. LEADERSHIP and 7. CONTENT */
.big-stat { margin: 28px 0 0; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.big-stat b { font-size: 64px; line-height: 1; letter-spacing: -0.05em; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.big-stat span { color: var(--muted); }
.prog { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.prog li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: var(--r-tile); background: var(--paper); border: 1px solid var(--line); }
.prog i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--soft); font-size: 20px; color: var(--ink-2); }
.prog b { display: block; font-weight: 600; font-size: 16px; }
.prog span { color: var(--muted); font-size: 15px; }
.sample { position: relative; padding: 32px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--float-shadow); }
.sample-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--accent-soft); color: #2440D6; font-size: 13px; font-weight: 600; }
.sample h3 { margin: 16px 0 10px; font-size: 24px; line-height: 1.25; }
.sample p { margin: 0; color: var(--muted); }
.opts { display: grid; gap: 10px; margin-top: 22px; }
.opt { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; width: 100%; padding: 14px 16px; border-radius: var(--r-tile); border: 1px solid var(--line); background: var(--paper); font: 400 16px/1.45 var(--font); color: var(--ink); text-align: left; cursor: pointer; transition: border-color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out); }
.opt:hover { border-color: var(--ink-2); }
.opt:active { transform: scale(0.99); }
.opt kbd { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--soft); font: 600 13px var(--font); }
.opt.good { border-color: #22C55E; background: #F0FDF4; }
.opt.mid { border-color: var(--gold); background: #FFFBEB; }
.opt.bad { border-color: #EF4444; background: #FEF2F2; }
.opt[disabled] { cursor: default; }
.fb { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-tile); background: var(--soft); font-size: 15px; animation: enter 300ms var(--ease-out); }
.fb b { display: block; margin-bottom: 2px; }
.reset { margin-top: 14px; background: none; border: 0; padding: 0; font: 600 14px var(--font); color: var(--accent); cursor: pointer; }
.cpoints { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.cpoints li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.cpoints i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-size: 24px; }
.cpoints b { display: block; font-size: 20px; letter-spacing: -0.02em; font-weight: 600; }
.cpoints span { color: var(--muted); }
.game-hud { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; font-weight: 600; }
.xp { flex: 1; height: 8px; border-radius: 8px; background: var(--soft-2); overflow: hidden; }
.xp span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 500ms var(--ease-out); }
.claim { margin-top: 18px; padding: 18px; border-radius: var(--r-tile); background: var(--soft); font-size: 17px; line-height: 1.5; }
.claim i { color: var(--accent); margin-right: 6px; }
.game-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }

/* 8. PROJECTS bento */
.bento { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.proj { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 240px; padding: 28px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); isolation: isolate; }
.proj.wide { grid-column: span 2; }
.proj::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 240ms ease; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(43,80,255,.09), transparent 60%); }
@media (hover: hover) and (pointer: fine) { .proj:hover::before { opacity: 1; } }
.proj > i { font-size: 30px; color: var(--accent); }
.proj h3 { margin: 20px 0 8px; font-size: 23px; line-height: 1.2; }
.proj p { margin: 0; color: var(--muted); font-size: 16px; max-width: 46ch; }
.proj a { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; }
.proj.tint { background: linear-gradient(135deg, #EEF1FF, #E6F7FF); border-color: #DCE3FF; }
.proj.ink { background: linear-gradient(160deg, #FFF8E6, #FFF1D1); border-color: #F6E2B0; }
.proj.ink > i { color: #C98A0A; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .proj.wide { grid-column: auto; } }

/* TRY IT playground */
.try { background: var(--soft); }
.play { margin-top: 40px; display: grid; grid-template-columns: 260px 1fr; gap: 14px; }
.play > * { min-width: 0; }
.play-tabs { display: flex; flex-direction: column; gap: 6px; }
.play-tabs button { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r-tile); border: 1px solid transparent; background: transparent; font: 600 16px/1 var(--font); color: var(--muted); cursor: pointer; text-align: left; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.play-tabs button i { font-size: 22px; }
.play-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); border-color: var(--line); box-shadow: var(--float-shadow); }
.play-tabs button[aria-selected="true"] i { color: var(--accent); }
.play-stage { min-height: 520px; padding: 32px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); }
.play-stage > * { animation: enter 380ms var(--ease-out); }
.ph-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.ph-head h3 { font-size: 26px; }
.ph-head p { margin: 6px 0 0; color: var(--muted); max-width: 52ch; }
.chat { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; min-height: 120px; }
.bub { max-width: 80%; padding: 12px 15px; border-radius: 18px; font-size: 16px; line-height: 1.45; animation: enter 300ms var(--ease-out); }
.bub.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.bub.bot { align-self: flex-start; background: var(--soft); border-bottom-left-radius: 6px; }
.bub.bot b { display: block; font-size: 12px; color: var(--accent); margin-bottom: 3px; }
.reply { display: flex; gap: 8px; margin-top: 18px; }
.reply input { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font: 400 16px var(--font); color: var(--ink); }
.reply input::placeholder { color: var(--muted); }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.suggest button { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: 500 14px var(--font); color: var(--ink-2); cursor: pointer; }
.suggest button:hover { border-color: var(--accent); color: var(--accent); }
.scores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.score { padding: 14px; border-radius: var(--r-tile); background: var(--paper); border: 1px solid var(--line); }
.bub .score b, .score b { display: block; margin: 0; font-size: 30px; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.score span { font-size: 13px; color: var(--muted); }
.q-meta { display: flex; justify-content: space-between; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.q-text { margin: 10px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; }
.q-text code, .opt code { font: 500 15px ui-monospace, SFMono-Regular, Consolas, monospace; padding: 2px 6px; border-radius: 6px; background: var(--soft); }
.result { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-top: 24px; }
.ring { --p: 0; width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--soft-2) 0); transition: --p 1s; }
.ring b { width: 112px; height: 112px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: 34px; letter-spacing: -0.04em; }
.skill-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.skill-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 15px; }
.skill-list b { color: var(--accent); }
.ds-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ds-pick button { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: 500 14px var(--font); color: var(--ink-2); cursor: pointer; }
.ds-pick button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.dash { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 20px; }
.chart { padding: 18px; border-radius: var(--r-tile); background: var(--bg); border: 1px solid var(--line); }
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 150px 1fr 54px; gap: 10px; align-items: center; font-size: 14px; }
.bar span:first-child { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar i { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 900ms var(--ease-out); }
.bar b { text-align: right; font-variant-numeric: tabular-nums; }
.insights { list-style: none; margin: 0; padding: 18px; border-radius: var(--r-tile); background: var(--accent-soft); display: grid; gap: 12px; align-content: start; font-size: 15px; }
.insights li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.insights i { color: var(--accent); margin-top: 3px; }
.gen-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .play { grid-template-columns: 1fr; } .play-tabs { flex-direction: row; overflow-x: auto; } .play-tabs button { flex: none; } .play-stage { padding: 20px; } .dash { grid-template-columns: 1fr; } .bar { grid-template-columns: 110px 1fr 46px; } .result { grid-template-columns: 1fr; } .scores { grid-template-columns: 1fr; } }

/* IMPACT measures */
.measures { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.measure { padding: 24px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); }
.measure:first-child { grid-column: span 2; background: linear-gradient(135deg, #EEF1FF, #E6F7FF); border-color: #DCE3FF; }
.measure > i { font-size: 26px; color: var(--accent); }
.measure h3 { margin: 14px 0 12px; font-size: 20px; }
.measure ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.measure li { padding: 5px 10px; border-radius: 999px; background: var(--soft); font-size: 13px; color: var(--ink-2); }
.measure:first-child li { background: rgba(255,255,255,.8); }
@media (max-width: 1000px) { .measures { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .measures { grid-template-columns: 1fr; } .measure:first-child { grid-column: auto; } }

/* RECOGNITION */
.recog-grid { margin-top: 44px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; align-items: start; }
.video { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden; background: #0B0D12; aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 30px; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform 200ms var(--ease-out); }
.video-play:hover { transform: scale(1.06); }
.video-play:active { transform: scale(0.95); }
.video figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 16px; color: #fff; background: linear-gradient(transparent, rgba(5,6,10,.8)); }
.video figcaption b { display: block; font-weight: 600; }
.video figcaption span { font-size: 14px; opacity: .8; }
.video.is-playing .video-play, .video.is-playing figcaption { opacity: 0; pointer-events: none; }
.awards { display: grid; gap: 10px; }
@media (max-width: 900px) { .recog-grid { grid-template-columns: 1fr; } }

/* LINKEDIN posts */
.post-grid { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 14px; }
.post { display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color 200ms ease, transform 200ms var(--ease-out); }
.post:hover { border-color: #C9D2FF; }
.post:active { transform: scale(0.99); }
.post-head { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.post-head i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: #0A66C2; color: #fff; font-size: 20px; }
.post h3 { margin: 18px 0 8px; font-size: 21px; line-height: 1.25; }
.post p { margin: 0; color: var(--muted); font-size: 15px; }
.post-foot { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.post-foot span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; }
.post-foot em { font-style: normal; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.post.more { justify-content: center; align-items: flex-start; background: var(--soft); border-style: dashed; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } }

/* GALLERY (two rows, opposite directions) */
.gallery { overflow: hidden; }
.g-row { margin-top: 16px; overflow: hidden; }
.gallery .wrap + .g-row { margin-top: 40px; }
.g-track { display: flex; gap: 16px; width: max-content; }
.g-item { flex: none; width: 360px; aspect-ratio: 16 / 10; border-radius: var(--r-tile); overflow: hidden; background: var(--soft); border: 0; padding: 0; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.g-item:hover img { transform: scale(1.04); }
.g-ph { display: grid; place-items: center; align-content: center; gap: 8px; cursor: default; background: repeating-linear-gradient(135deg, var(--soft) 0 12px, var(--soft-2) 12px 24px); color: var(--muted); font-size: 14px; font-weight: 500; }
.g-ph i { font-size: 30px; color: var(--faint); }
@media (prefers-reduced-motion: no-preference) {
  .g-row[data-dir="left"] .g-track { animation: gl 60s linear infinite; }
  .g-row[data-dir="right"] .g-track { animation: gr 60s linear infinite; }
  .g-row:hover .g-track { animation-play-state: paused; }
}
@keyframes gl { to { transform: translateX(-50%); } }
@keyframes gr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 760px) { .g-item { width: 260px; } }
.lightbox { padding: 0; border: 0; border-radius: var(--r-card); max-width: min(1100px, 94vw); background: #000; }
.lightbox::backdrop { background: rgba(12,14,20,.7); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; height: auto; }
.lightbox button { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 20px; cursor: pointer; display: grid; place-items: center; }

/* TESTIMONIALS */
.quote-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tq { display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: var(--r-card); background: var(--paper); border: 1px dashed #D3D7E0; min-height: 230px; }
.tq > i { font-size: 30px; color: #C9D2FF; }
.tq p { margin: 0; font-size: 18px; color: var(--faint); }
.tq-who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.tq-who span:first-child { width: 44px; height: 44px; border-radius: 50%; background: var(--soft-2); display: grid; place-items: center; color: var(--faint); }
.tq-who b { display: block; font-size: 15px; color: var(--muted); font-weight: 600; }
.tq-who small { color: var(--faint); font-size: 13px; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

:root { --kg-edge: var(--line); --kg-edge-on: var(--accent); --kg-label: var(--ink); --kg-ring: var(--paper); --kg-halo: var(--paper); --focus: var(--accent); --font-ui: var(--font); }
/* MAP: clustered knowledge graph, card beside it */
.map-box { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.map-stage { padding: 18px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--paper) radial-gradient(circle, #E6E8EE 1px, transparent 1.2px) 0 0/24px 24px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.map-legend button { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: 500 13px var(--font); color: var(--ink); cursor: pointer; }
.map-legend button i { width: 9px; height: 9px; border-radius: 50%; }
.map-legend button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.kg { display: block; width: 100%; height: auto; margin-top: 10px; user-select: none; }
.kg text { font: 500 14px var(--font); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; pointer-events: none; }
.kg .lnk { stroke: #DDE0E7; stroke-width: 1; transition: stroke 160ms ease, opacity 160ms ease; }
.kg .nd { cursor: pointer; outline: none; transition: opacity 160ms ease; }
.kg .nd circle { stroke: #fff; stroke-width: 2; }
.kg .lab { opacity: 0; transition: opacity 160ms ease; }
.kg .nd.always .lab { opacity: 1; }
.kg .nd.always text { font-weight: 600; font-size: 15px; }
.kg .nd:focus-visible .lab { opacity: 1; }
.kg .nd:focus-visible circle { stroke: var(--accent); stroke-width: 3; }
.kg.focus .nd { opacity: .14; } .kg.focus .lnk { opacity: .12; }
.kg.focus .nd.hot { opacity: 1; } .kg.focus .nd.hot .lab { opacity: 1; }
.kg.focus .lnk.hot { opacity: 1; stroke: #6E7690; stroke-width: 1.5; }
.kg .nd.sel circle { stroke: var(--ink); stroke-width: 3; }
.kg-tall text { font-size: 21px; } .kg-tall .nd.always text { font-size: 22px; }
.map-card { padding: 22px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); position: sticky; top: 96px; }
.map-card .kind { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px "Geist Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.map-card .kind i { width: 9px; height: 9px; border-radius: 50%; }
.map-card h3 { margin: 10px 0 6px; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; font-weight: 600; }
.map-card p { margin: 0; color: var(--muted); font-size: 15px; }
.map-card .rel-h { margin: 18px 0 8px; font: 600 11px "Geist Mono", ui-monospace, monospace; letter-spacing: .14em; color: var(--faint); }
.map-card .rel { display: flex; flex-wrap: wrap; gap: 6px; }
.map-card .rel button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font: 500 12.5px var(--font); color: var(--ink); cursor: pointer; text-align: left; }
.map-card .rel button i { flex: none; width: 7px; height: 7px; border-radius: 50%; }
@media (max-width: 1000px) { .map-box { grid-template-columns: 1fr; } .map-card { position: static; } .map-stage { padding: 12px; } }

/* CAREER */
.career-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.career-nav { display: flex; gap: 8px; }
.career-track { list-style: none; margin: 40px 0 0; padding: 0 max(32px, calc((100vw - 1200px) / 2)) 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(32px, calc((100vw - 1200px) / 2)); scrollbar-width: none; }
.career-track::-webkit-scrollbar { display: none; }
.job { scroll-snap-align: start; display: flex; flex-direction: column; min-height: 220px; padding: 24px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); }
.job-years { font-size: 14px; font-weight: 600; color: var(--muted); }
.job h3 { margin: 22px 0 6px; font-size: 23px; line-height: 1.15; }
.job p { margin: 0; color: var(--muted); font-size: 15px; }
.job.is-now { background: var(--accent); color: #fff; border-color: var(--accent); }
.job.is-now .job-years, .job.is-now p { color: rgba(255,255,255,.85); }
@media (max-width: 760px) { .career-track { padding-inline: 16px; scroll-padding-inline: 16px; } .career-nav { display: none; } }

/* VOICE */
/* WRITING AND PODCAST: whitepaper as a document, podcast card opens the show (the player stays playable) */
.voice-grid { margin-top: 44px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: stretch; }
.v-kick { display: inline-flex; align-items: center; gap: 10px; font: 600 12px "Geist Mono", ui-monospace, monospace; letter-spacing: .14em; color: var(--accent); }
.v-read { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; padding: 34px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); }
.v-doc { position: relative; aspect-ratio: 595/842; }
.v-doc::before, .v-doc::after { content: ""; position: absolute; inset: 0; border-radius: 4px; background: #fff; border: 1px solid var(--line); }
.v-doc::before { transform: translate(10px, 8px) rotate(3deg); }
.v-doc::after { transform: translate(5px, 4px) rotate(1.5deg); }
.v-doc img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: 0 24px 40px -24px rgba(12,14,20,.55); transform: rotate(-2deg); transition: transform 320ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .v-read:hover .v-doc img { transform: rotate(0) translateY(-6px); } }
.v-read h3 { margin: 10px 0 8px; font-size: clamp(30px, 3vw, 42px); line-height: 1; letter-spacing: -0.04em; font-weight: 600; }
.v-read p { margin: 0 0 24px; color: var(--muted); max-width: 34ch; }
.v-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; }
.v-pod { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 34px; border-radius: var(--r-card); background: #F3F1FF; border: 1px solid #E2DDFF; transition: transform 240ms var(--ease-out), border-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .v-pod:hover { transform: translateY(-4px); border-color: #CFC6FF; } }
.v-pod .v-kick { color: #5B3DF5; }
.v-pod-head { display: flex; align-items: center; gap: 16px; }
.v-art { flex: none; width: 84px; height: 84px; border-radius: 16px; display: grid; place-items: center; background: var(--paper); color: #5B3DF5; font-size: 40px; border: 1px solid #E2DDFF; }
.v-pod h3 { margin: 4px 0 2px; font-size: 30px; letter-spacing: -0.03em; font-weight: 600; }
.v-pod-link { color: inherit; text-decoration: none; }
.v-pod-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* the whole card opens the show */
.v-pod-link:focus-visible { outline: none; } .v-pod:has(.v-pod-link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.v-pod p { margin: 0; color: var(--muted); }
.v-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.v-chips span { padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid #E2DDFF; font-size: 13px; font-weight: 500; }
.v-pod iframe { position: relative; z-index: 1; margin-top: auto; border: 0; border-radius: 14px; display: block; } /* above the card link, so play still works */
.v-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.v-bars i { width: 3px; border-radius: 2px; background: currentColor; animation: v-eq 1s ease-in-out infinite; }
.v-bars i:nth-child(2) { animation-delay: -.3s } .v-bars i:nth-child(3) { animation-delay: -.6s } .v-bars i:nth-child(4) { animation-delay: -.15s }
@keyframes v-eq { 0%,100% { height: 30% } 50% { height: 100% } }
@media (prefers-reduced-motion: reduce) { .v-bars i { animation: none; height: 60%; } }
@media (max-width: 900px) { .voice-grid { grid-template-columns: 1fr; } .v-read { grid-template-columns: 140px 1fr; gap: 22px; padding: 24px; } .v-pod { padding: 24px; } }
@media (max-width: 560px) { .v-read { grid-template-columns: 1fr; } .v-doc { width: 150px; } .v-art { width: 64px; height: 64px; font-size: 30px; } }

/* CONTACT */
.contact { padding-bottom: 140px !important; }
.contact-box { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: linear-gradient(135deg, #EEF1FF, #E6F7FF 60%, #F3EEFF); border: 1px solid #DCE3FF; }
.contact-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; object-position: 50% 24%; border: 4px solid #fff; }
.contact-h { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.045em; max-width: 16ch; }
.contact-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 760px) { .contact-box { grid-template-columns: 1fr; } .contact-photo { width: 104px; height: 104px; } .contact { padding-bottom: 200px !important; } }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  [data-reveal].in { opacity: 1; transform: none; }
}

/* ASK v2 (light) */
.ask2-launch { position: fixed; z-index: 50; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 600 15px/1 var(--font); cursor: pointer; box-shadow: var(--float-shadow); transition: transform 160ms var(--ease-out); }
.ask2-launch:active { transform: scale(0.97); }
.ask2-launch img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #fff; }
.ask2-launch kbd { font: 600 12px/1 var(--font); padding: 4px 7px; border-radius: 6px; background: var(--soft); color: var(--muted); }
.ask2 { position: fixed; z-index: 60; right: 20px; bottom: 82px; width: min(400px, calc(100vw - 24px)); height: min(600px, calc(100dvh - 120px)); display: flex; flex-direction: column; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 80px -20px rgba(12,14,20,.28); transform-origin: 100% 100%; opacity: 0; transform: translateY(10px) scale(0.97); transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out); }
.ask2.is-open { opacity: 1; transform: none; }
.ask2[hidden] { display: none; }
.ask2-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); }
.ask2-head img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.ask2-head div { flex: 1; }
.ask2-name { margin: 0; font-weight: 600; font-size: 16px; }
.ask2-sub { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.ask2-x { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px; border: 0; background: var(--soft); color: var(--ink); font-size: 18px; cursor: pointer; }
.ask2-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ask2-welcome p { margin: 0 0 12px; font-size: 15px; }
.ask2-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ask2-topics button { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 500 14px/1.2 var(--font); cursor: pointer; text-align: left; transition: border-color 200ms ease, transform 160ms var(--ease-out); }
.ask2-topics button i { font-size: 20px; color: var(--accent); }
.ask2-topics button:hover { border-color: var(--accent); }
.ask2-topics button:active { transform: scale(0.97); }
.ask2-msg { max-width: 90%; padding: 11px 14px; border-radius: 18px; font-size: 15px; line-height: 1.5; animation: enter 240ms var(--ease-out); }
.ask2-msg p { margin: 0; }
.ask2-q { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.ask2-a { align-self: flex-start; background: var(--soft); border-bottom-left-radius: 6px; }
.ask2-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 12px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: 600 13px/1 var(--font); cursor: pointer; }
.ask2-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ask2-chips button { padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 500 13px/1.2 var(--font); cursor: pointer; }
.ask2-chips button:hover { border-color: var(--accent); }
/* Ask me v3: lists, actions and status */
.ask2-welcome { display: grid; gap: 10px; }
.ask2-welcome .ask2-msg { margin: 0; }
.ask3-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #1FA971; vertical-align: 1px; }
.ask3-reset { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; }
.ask3-reset:hover { background: var(--soft); color: var(--ink); }
.ask3-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.ask3-list li { position: relative; display: grid; gap: 1px; padding: 8px 10px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); animation: enter 220ms var(--ease-out); }
.ask3-list li:has(.ask3-watch) { padding-right: 46px; }
.ask3-list b { font-size: 14px; font-weight: 600; line-height: 1.3; }
.ask3-list span { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.ask3-watch { position: absolute; right: 8px; top: 50%; width: 30px; height: 30px; margin-top: -15px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 13px; cursor: pointer; }
.ask3-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ask3-acts .ask2-go { margin-top: 0; text-decoration: none; }
.ask2-go.ask3-ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.ask2-go.ask3-ghost:hover { border-color: var(--accent); }
.ask2-form button:disabled { opacity: .5; cursor: default; }
.ask2-typing { display: flex; gap: 4px; padding: 14px; }
.ask2-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.ask2-typing span:nth-child(2) { animation-delay: .15s; }
.ask2-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.ask2-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.ask2-form input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 400 16px var(--font); }
.ask2-form input::placeholder { color: var(--muted); }
.ask2-form button { width: 46px; border-radius: 14px; border: 0; background: var(--accent); color: #fff; font-size: 20px; cursor: pointer; }
@media (max-width: 760px) {
  .ask2-launch { bottom: calc(92px + env(safe-area-inset-bottom)); right: 16px; padding: 4px; }
  .ask2-launch span, .ask2-launch kbd { display: none; }
  .ask2-launch img { width: 48px; height: 48px; }
  .ask2 { right: 12px; bottom: calc(150px + env(safe-area-inset-bottom)); height: min(560px, calc(100dvh - 190px)); }
}

.mock-flag { position: fixed; left: 12px; bottom: 12px; z-index: 45; margin: 0; padding: 7px 10px; border-radius: 999px; font: 600 12px/1 var(--font); background: #FFE9A8; color: #6B4A00; }
@media (max-width: 760px) { .mock-flag { display: none; } }

/* Lifecycle wheel beside the accordion */
.wheel { position: relative; width: min(300px, 70%); aspect-ratio: 1; margin: 36px 0 0 96px; }
.wheel svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.w-ring { fill: none; stroke: var(--line); stroke-width: 0.6; stroke-dasharray: 1.2 1.6; }
.w-arc { fill: none; stroke: var(--accent); stroke-width: 1; stroke-linecap: round; stroke-dasharray: 1 6; transition: stroke-dasharray 600ms var(--ease-out); }
.w-centre { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 13px; color: var(--muted); line-height: 1.3; pointer-events: none; }
.w-centre i { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 46px; }
.w-centre.empty i { opacity: 0; }
.w-centre.swap i { animation: centreSwap 360ms var(--ease-out); }
@keyframes centreSwap { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
/* Button is the icon only, centred on the ring; the label sits outside the circle */
.w-node { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; padding: 0; border: 0; background: none; cursor: pointer; font: 500 12px/1.25 var(--font); color: var(--muted); }
.w-node i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); font-size: 20px; transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease, transform 240ms var(--ease-out); }
.w-node span { position: absolute; width: 110px; pointer-events: none; }
.w-top span { bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); text-align: center; }
.w-bottom span { top: calc(100% + 6px); left: 50%; transform: translateX(-50%); text-align: center; }
.w-right span { left: calc(100% + 10px); top: 50%; transform: translateY(-50%); text-align: left; }
.w-left span { right: calc(100% + 10px); top: 50%; transform: translateY(-50%); text-align: right; }
.w-node:hover i { border-color: var(--accent); }
.w-node.on i { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.08); }
.w-node.on span { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .w-arc, .w-node i { transition: none; } }
@media (max-width: 900px) { .wheel { display: none; } }
.bring--grid .wheel { display: none; }

/* Philosophy lead line */
.essay p.essay-lead { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.25; letter-spacing: -0.03em; font-weight: 600; }

/* Shift style A: columns, no strikethrough */
.shifts--columns .from { color: var(--muted); }
.shifts--columns .from::after { display: none; }
.shifts--columns .shift-head { padding: 0 0 12px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--faint); text-transform: none; letter-spacing: 0; }
.shifts--columns .shift-head span:last-child { color: var(--accent); }
.shifts--columns .shift.on .from { color: var(--faint); }
.shifts--columns { border-top: 0; }

/* Shift style B: cards, from above to */
.shifts--cards { border-top: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shifts--cards .shift { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); }
.shifts--cards .from { color: var(--muted); font-size: 15px; }
.shifts--cards .from::after { display: none; }
.shifts--cards .from small { display: block; font-size: 12px; font-weight: 600; color: var(--faint); margin-bottom: 2px; }
.shifts--cards .arrow { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--muted); font-size: 16px; transition: background-color 300ms ease 200ms, color 300ms ease 200ms; }
.shifts--cards .shift.on .arrow { background: var(--accent); color: #fff; }
.shifts--cards .to { font-size: 20px; }
@media (max-width: 900px) { .shifts--cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .shifts--cards { grid-template-columns: 1fr; } }

/* TOOLS I BUILT */
.tools-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tool { display: flex; flex-direction: column; border-radius: var(--r-tile); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: border-color 200ms ease, transform 240ms var(--ease-out); }
.tool-shot { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: var(--soft); overflow: hidden; cursor: pointer; }
.tool-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 700ms var(--ease-out); }
.tool-play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--accent); font-size: 20px; box-shadow: 0 10px 30px -8px rgba(12,14,20,.5); opacity: 0; transform: scale(.9); transition: opacity 200ms ease, transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tool:hover { border-color: #C9D2FF; transform: translateY(-3px); }
  .tool:hover .tool-shot img { transform: scale(1.04); }
  .tool:hover .tool-play { opacity: 1; transform: none; }
}
@media (hover: none) { .tool-play { opacity: 1; transform: none; } }
.tool-body { flex: 1; padding: 18px 18px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tool-body h3 { font-size: 18px; letter-spacing: -0.01em; }
.tool-body p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.tool-go { margin-top: auto; padding: 10px 16px; gap: 8px; font-size: 14px; }
@media (max-width: 1100px) { .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tools-grid { grid-template-columns: 1fr; } }

/* Product demo: a 16:10 window inside 80% of the viewport, the screenshot fills it */
html.tour-open { overflow: hidden; }
.demo:focus { outline: none; }
.demo { padding: 0; border: 0; background: none; max-width: none; max-height: none; overflow: visible; color: var(--ink); }
.demo::backdrop { background: rgba(12,14,20,.74); backdrop-filter: blur(8px); }
.demo[open] { animation: demoIn 460ms var(--ease-out); }
@keyframes demoIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.demo-win { position: relative; width: min(80vw, calc(80vh * 1.6)); aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--soft); container-type: inline-size; isolation: isolate; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 60px 160px -40px rgba(0,0,0,.7); }

/* Camera layers: crossfade with a blur, then ease into the feature */
.demo-layer { position: absolute; inset: 0; transform-origin: 0 0; opacity: 0; filter: blur(12px); transition: transform 1300ms var(--ease-io), opacity 650ms ease, filter 650ms ease; will-change: transform; }
.demo-layer.on { opacity: 1; filter: none; }
.demo-layer img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* Focus: the screen dims, the feature stays bright with feathered edges. No outline. */
.demo-dim { position: absolute; inset: 0; z-index: 2; background: rgba(12,14,20,.5); opacity: 0; pointer-events: none; transition: opacity 600ms ease; }
.demo-lift { position: absolute; inset: 0; z-index: 3; transform-origin: 0 0; opacity: 0; pointer-events: none; mask-composite: intersect; -webkit-mask-composite: source-in; transition: opacity 600ms ease, filter 600ms ease; }
.demo-lift img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.demo-dim.on, .demo-lift.on { opacity: 1; }
.demo-lift.on { filter: brightness(1.04) saturate(1.05); }

/* Cursor that glides in and clicks */
.demo-cursor { position: absolute; z-index: 4; width: max(20px, 2.2cqw); aspect-ratio: 1; pointer-events: none; opacity: 0; filter: drop-shadow(0 4px 8px rgba(0,0,0,.35)); transition: left 1000ms var(--ease-io), top 1000ms var(--ease-io), opacity 300ms ease; }
.demo-cursor.on { opacity: 1; }
.demo-cursor svg { display: block; width: 100%; height: 100%; transform-origin: 17% 12%; }
.demo-cursor.click svg { animation: press 380ms var(--ease-out); }
@keyframes press { 40% { transform: scale(.8); } }
.demo-ripple { position: absolute; left: -130%; top: -138%; width: 300%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #fff; background: rgba(43,80,255,.35); opacity: 0; }
.demo-cursor.click .demo-ripple { animation: ripple 750ms var(--ease-out); }
@keyframes ripple { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(1.5); } }

/* Lower-third caption */
.demo-cap { position: absolute; z-index: 5; max-width: 44%; margin: 0; padding: 16px 22px 18px; border-radius: 16px; background: rgba(255,255,255,.95); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(12,14,20,.06), 0 28px 60px -18px rgba(12,14,20,.6); opacity: 0; transform: translateY(12px); transition: opacity 300ms ease, transform 500ms var(--ease-out); }
.demo-cap.on { opacity: 1; transform: none; }
.demo-cap.bl { left: 3%; bottom: 4%; } .demo-cap.tl { left: 3%; top: 11%; } .demo-cap.tr { right: 3%; top: 11%; } .demo-cap.br { right: 3%; bottom: 13%; }
.demo-cap b { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.demo-cap p { margin: 0; font-size: max(15px, 1.75cqw); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); }
.demo-cap p span, .demo-card p span { display: inline-block; opacity: 0; animation: wordIn 560ms var(--ease-out) var(--d) forwards; }
@keyframes wordIn { from { opacity: 0; transform: translateY(.45em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Title card: the movie-title open, over a frosted first screen */
.demo-card { position: absolute; inset: 0; z-index: 6; display: grid; place-content: center; justify-items: center; gap: max(10px, 1.6cqw); padding: 8%; text-align: center; background: var(--bg); transition: opacity 750ms ease, transform 1000ms var(--ease-out), filter 750ms ease; }
.demo-card[hidden] { display: none; }
.demo-title.out { opacity: 0; transform: scale(1.06); filter: blur(10px); pointer-events: none; }
.demo-icon { width: max(40px, 5cqw); aspect-ratio: 1; display: grid; place-items: center; border-radius: 28%; background: var(--accent); color: #fff; font-size: max(20px, 2.6cqw); opacity: 0; animation: iconIn 700ms var(--ease-out) forwards; }
@keyframes iconIn { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
.demo-card h3 { margin: 0; font-size: clamp(32px, 7.4cqw, 104px); font-weight: 600; line-height: 1; letter-spacing: -0.045em; }
.demo-card h3 .w { display: inline-block; white-space: nowrap; }
.demo-card h3 .w span { display: inline-block; opacity: 0; animation: charIn 820ms var(--ease-out) calc(220ms + var(--d)) forwards; }
@keyframes charIn { from { opacity: 0; transform: translateY(.35em) rotate(4deg); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
.demo-card p { max-width: 36ch; text-wrap: balance; margin: 0; font-size: max(15px, 2cqw); line-height: 1.35; color: var(--ink-2); }
.demo-rule { width: max(48px, 8cqw); height: 3px; border-radius: 3px; background: var(--accent); transform: scaleX(0); animation: rule 900ms var(--ease-io) 1100ms forwards; }
@keyframes rule { to { transform: scaleX(1); } }
.demo-end .btn { margin-top: max(6px, 1cqw); opacity: 0; animation: iconIn 600ms var(--ease-out) 1400ms forwards; }
.demo-end.in { animation: endIn 500ms var(--ease-out); }
@keyframes endIn { from { opacity: 0; } }

/* Chrome: story-style step bars, name tag, close, player controls */
.demo-glass { background: rgba(255,255,255,.88); backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(12,14,20,.08), 0 10px 28px -12px rgba(12,14,20,.5); }
.demo-bars { position: absolute; z-index: 7; left: 16px; right: 68px; top: 12px; display: flex; gap: 6px; }
.demo-bars button { flex: 1; height: 16px; padding: 6px 0; border: 0; background: none; cursor: pointer; }
.demo-bars span { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(12,14,20,.12); overflow: hidden; position: relative; }
.demo-bars span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.demo-bars .done span::after { transform: scaleX(1); }
.demo-bars .now span::after { animation: bar var(--step, 6500ms) linear forwards; }
.demo-win.paused .demo-bars .now span::after { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.demo-tag { position: absolute; z-index: 7; left: 16px; top: 36px; display: flex; gap: 10px; align-items: baseline; padding: 7px 12px; border-radius: 999px; font-size: 13px; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(12,14,20,.08); }
.demo-tag span { color: var(--muted); font-variant-numeric: tabular-nums; }
.demo-x { position: absolute; z-index: 8; right: 12px; top: 8px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--ink); font-size: 18px; cursor: pointer; transition: transform 160ms var(--ease-out); }
.demo-ctrl { position: absolute; z-index: 8; right: 16px; bottom: 16px; display: flex; gap: 2px; padding: 4px; border-radius: 999px; }
.demo-ctrl button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--ink); font-size: 18px; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.demo-ctrl button:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .demo-ctrl button:not(:disabled):hover { background: var(--soft); } }
.demo-x:active, .demo-ctrl button:active { transform: scale(.94); }
.demo-tag, .demo-ctrl { transition: opacity 300ms ease, transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .demo-win.idle:not(:has(:focus-visible)) .demo-tag, .demo-win.idle:not(:has(:focus-visible)) .demo-ctrl { opacity: 0; transform: translateY(6px); pointer-events: none; } }

@media (prefers-reduced-motion: reduce) {
  .demo[open], .demo-end.in { animation: none; }
  .demo-layer, .demo-dim, .demo-lift, .demo-cap, .demo-card { transition: opacity 200ms ease; filter: none; }
  .demo-cursor { display: none; }
  .demo-cap p span, .demo-card p span, .demo-card h3 .w span, .demo-icon, .demo-rule, .demo-end .btn { animation: none; opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .demo-win { width: calc(100vw - 24px); border-radius: 14px; }
  .demo-tag { display: none; }
  .demo-x { width: 34px; height: 34px; font-size: 15px; }
  .demo-ctrl { right: 8px; bottom: 8px; padding: 2px; }
  .demo-ctrl button { width: 32px; height: 32px; font-size: 15px; }
  .demo-bars { left: 10px; right: 50px; top: 8px; }
  .demo > .demo-cap { position: static; max-width: none; margin-top: 12px; padding: 14px 16px; }
  .demo > .demo-cap p { font-size: 16px; }
  .demo-card p { font-size: 13px; }
}

/* LEADERSHIP: stage ladder */
.lead-head { display: block; }
/* The 600+ stat sits under the line as a wide, low accent panel, so the header reads as one block with no empty column */
.lead-stat { position: relative; display: inline-flex; flex-direction: row; align-items: center; gap: 22px; margin: 32px 0 0; padding: 20px 32px 20px 20px; border-radius: var(--r-card); background: var(--accent); color: #fff; overflow: hidden; box-shadow: 0 24px 60px -28px rgba(43,80,255,.7); }
.lead-stat::after { content: ""; position: absolute; right: -50px; top: -70px; width: 180px; height: 180px; border-radius: 50%; border: 32px solid rgba(255,255,255,.08); }
.lead-stat b { font-size: 68px; color: #fff; }
.lead-stat > span:last-child { max-width: 330px; color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.45; }
.lead-stat-icon { color: #fff !important; width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.16); font-size: 26px; }
.ladder { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rung { --tint: var(--soft); --tint-line: var(--line); --tone: var(--accent); position: relative; display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.rung--blue { --tint: #EEF1FF; --tint-line: #D9E0FF; --tone: #2B50FF; --next: #0E8A6B; }
.rung--teal { --tint: #E6F6F2; --tint-line: #C8EADF; --tone: #0E8A6B; --next: #B26A00; }
.rung--amber { --tint: #FFF4E2; --tint-line: #F6DFB5; --tone: #B26A00; --next: #C0306A; }
.rung--rose { --tint: #FDEEF3; --tint-line: #F5D2DE; --tone: #C0306A; }
.rung-stage { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); }
.rung-stage i { position: relative; z-index: 1; width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--tint-line); }
/* One continuous line joins every stage, including the workshop that runs across them all; it shifts colour into the next card */
.rung:not(:last-child)::before { content: ""; position: absolute; top: 6px; left: 14px; right: -16px; height: 2px; background: linear-gradient(90deg, var(--tone), var(--next, var(--tone))); transform-origin: 0 50%; transform: scaleX(0); transition: transform 700ms var(--ease-io) calc(var(--i) * 450ms + 200ms); }
.ladder.on .rung::before { transform: scaleX(1); }
.rung--across .rung-stage i { background: var(--paper); box-shadow: 0 0 0 4px var(--bg), inset 0 0 0 3px var(--tone); }
.rung-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-tile); background: var(--tint); border: 1px solid var(--tint-line); opacity: 0; transform: translateY(14px); transition: opacity 500ms ease calc(var(--i) * 450ms), transform 600ms var(--ease-out) calc(var(--i) * 450ms), box-shadow 240ms ease; }
.ladder.on .rung-card { opacity: 1; transform: none; }
.rung-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--paper); font-size: 22px; color: var(--tone); }
.rung-card h3 { margin: 6px 0 0; font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; }
.rung-card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.rung-focus { list-style: none; margin: auto 0 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--tint-line); }
.rung-focus li { padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--tone); font-size: 13px; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .rung-card:hover { box-shadow: 0 18px 40px -24px rgba(12,14,20,.35); } }
@media (prefers-reduced-motion: reduce) { .rung::before, .rung-card { transition: none; } }
@media (max-width: 1100px) and (min-width: 761px) { .ladder { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } .rung:nth-child(2)::before { display: none; } }
@media (max-width: 760px) {
  .lead-stat { display: flex; flex-wrap: wrap; gap: 12px 16px; padding: 20px; }
  .lead-stat b { font-size: 56px; }
  .ladder { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .rung { grid-template-columns: 20px 1fr; grid-template-rows: none; gap: 0 16px; padding-bottom: 20px; }
  .rung-stage { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 10px; padding-left: 3px; margin-bottom: 10px; }
  .rung-card { grid-column: 2; }
  .rung:not(:last-child)::before { top: 10px; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--tone), var(--next, var(--tone))); transform-origin: 50% 0; transform: scaleY(0); }
  .ladder.on .rung::before { transform: scaleY(1); }
}

/* CONTENT: stat row + demo cards */
.content-stats { margin-top: 32px; display: grid; justify-items: start; gap: 36px; }
.content-stats .lead-stat { margin: 0; }
.content-stats .cpoints { width: 100%; margin: 0; grid-template-columns: repeat(3, 1fr); gap: 18px 32px; }
.content-demos-head { margin: 72px 0 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 600; }
.content-demos { margin-top: 24px; }
@media (max-width: 760px) { .content-stats .cpoints { grid-template-columns: 1fr; } }

/* RHYTHM: tighter page spacing and card sizes (overrides the per-section values above) */
main > section { padding-block: clamp(48px, 5vw, 72px); }
.ai-pin { padding: clamp(56px, 6vw, 80px) 0; gap: 28px; }
.h2 { font-size: clamp(32px, 3.6vw, 48px); }
.lede { font-size: 18px; }

/* AI milestones */
.mile { width: 300px; min-height: 300px; padding: 22px; border-radius: var(--r-tile); }
.mile-top i { font-size: 24px; }
.mile h3 { margin: 18px 0 8px; font-size: 20px; line-height: 1.2; }
.mile p { font-size: 15px; line-height: 1.5; }
.mile-metric { padding-top: 16px; }
.mile-metric b { font-size: 36px; }
.mile-metric span { font-size: 13px; }

/* Philosophy */
.essay { gap: 22px; }
.shift-intro { margin: 48px 0 16px; }
.philo-close { margin-top: 48px; font-size: clamp(26px, 2.8vw, 38px); }
.shifts--cards { gap: 12px; }
.shifts--cards .shift { gap: 8px; padding: 18px 20px; border-radius: var(--r-tile); }
.shifts--cards .arrow { width: 28px; height: 28px; font-size: 14px; }
.shifts--cards .to { font-size: 18px; }

/* Tools, Leadership, Content */
.tools-grid { margin-top: 32px; }
.lead-stat { margin-top: 28px; }
.ladder { margin-top: 40px; }
.content-demos-head { margin-top: 56px; }

/* Content: one stat band, the 60+ in accent and the three points as matching tiles */
.content-stats { margin-top: 28px; display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 12px; align-items: stretch; justify-items: stretch; }
.content-stats .lead-stat { margin: 0; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 24px; }
.content-stats .lead-stat b { font-size: 56px; }
.content-stats .lead-stat > span:last-child { font-size: 16px; max-width: 26ch; }
.content-stats .cpoints { display: contents; }
.content-stats .cpoints li { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); }
.content-stats .cpoints i { width: 44px; height: 44px; font-size: 22px; border-radius: 12px; }
.content-stats .cpoints b { font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); }
.content-stats .cpoints span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; }
@media (max-width: 1100px) { .content-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .content-stats { grid-template-columns: 1fr; } .content-stats .lead-stat b { font-size: 48px; } }

/* STRATEGIC PROJECTS: ecosystem hub + initiatives */
.hub { margin-top: 36px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: center; padding: 32px; border-radius: var(--r-card); background: var(--accent-soft); border: 1px solid #DCE3FF; }
.hub-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--accent); color: #fff; font-size: 24px; }
.hub-copy h3 { margin: 18px 0 10px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -0.03em; }
.hub-copy p { margin: 0; max-width: 40ch; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.hub-map { position: relative; aspect-ratio: 1.55; min-height: 280px; }
.hub-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-map line { stroke: #B9C6FF; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 4 5; opacity: 0; transition: opacity 500ms ease calc(var(--i) * 120ms + 200ms); }
.hub-core { position: absolute; left: 50%; top: 52%; width: 76px; height: 76px; margin: -38px 0 0 -38px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 34px; box-shadow: 0 0 0 10px rgba(43,80,255,.12), 0 18px 40px -16px rgba(43,80,255,.7); }
.hub-node { position: absolute; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 14px 9px 10px; border-radius: 999px; background: var(--paper); border: 1px solid #DCE3FF; font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--ink); box-shadow: 0 8px 22px -14px rgba(12,14,20,.35); transform: translate(-50%, -50%) scale(.92); opacity: 0; transition: opacity 400ms ease calc(var(--i) * 120ms + 300ms), transform 500ms var(--ease-out) calc(var(--i) * 120ms + 300ms); }
.hub-node i { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 16px; }
.hub.on .hub-map line { opacity: 1; }
.hub.on .hub-node { opacity: 1; transform: translate(-50%, -50%); }

.inits { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.init { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-tile); background: var(--paper); border: 1px solid var(--line); transition: border-color 200ms ease, transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .init:hover { border-color: #C9D2FF; transform: translateY(-2px); } }
.init-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.init-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--soft); color: var(--accent); font-size: 22px; }
.init-tag { padding: 5px 10px; border-radius: 999px; background: #E6F6F2; color: #0E8A6B; font-size: 12px; font-weight: 600; }
.init h3 { margin: 6px 0 0; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; }
.init p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.init-metric { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; }
.init-metric b { font-size: 40px; line-height: 1; letter-spacing: -0.045em; font-weight: 600; color: var(--accent); }
.init-metric span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.init a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.init:not(.init--metric) a { margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .hub-map line, .hub-node { transition: none; } }
@media (max-width: 1000px) { .hub { grid-template-columns: 1fr; } .inits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .hub { padding: 22px; }
  .hub-map { aspect-ratio: auto; min-height: 0; display: grid; gap: 8px; }
  .hub-map svg, .hub-core { display: none; }
  .hub-node { position: static; white-space: normal; transform: none; justify-self: start; }
  .hub.on .hub-node { transform: none; }
  .inits { grid-template-columns: 1fr; }
}

/* STRATEGIC PROJECTS: hub count + initiative explorer */
.hub-count { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.hub-count b { font-size: 64px; line-height: 1; letter-spacing: -0.05em; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.hub-count span { font-size: 17px; color: var(--ink-2); }
.explore { margin-top: 14px; display: grid; grid-template-columns: minmax(260px, 0.8fr) 1.6fr; gap: 14px; align-items: stretch; }
.ex-tabs { display: grid; gap: 8px; align-content: start; }
.ex-tabs button { position: relative; overflow: hidden; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-tile); border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); font: 600 15px/1.3 var(--font); text-align: left; cursor: pointer; transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease; }
.ex-tabs button i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--soft); color: var(--ink-2); font-size: 20px; transition: background-color 200ms ease, color 200ms ease; }
.ex-tabs button[aria-selected="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.ex-tabs button[aria-selected="true"] i { background: var(--accent); color: #fff; }
@media (hover: hover) and (pointer: fine) { .ex-tabs button:hover { border-color: #C9D2FF; } }
.ex-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.ex-tabs button.run .ex-bar { animation: exbar 7000ms linear forwards; }
.ex-tabs button.run.hold .ex-bar { animation-play-state: paused; }
@keyframes exbar { to { transform: scaleX(1); } }
.ex-panel { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 60px -36px rgba(12,14,20,.35); min-height: 580px; }
.ex-panel.in > * { animation: exIn 520ms var(--ease-out) both; }
.ex-panel.in > *:nth-child(2) { animation-delay: 50ms; } .ex-panel.in > *:nth-child(3) { animation-delay: 100ms; } .ex-panel.in > *:nth-child(n+4) { animation-delay: 160ms; }
@keyframes exIn { from { opacity: 0; transform: translateY(10px); } }
.ex-head { display: flex; justify-content: space-between; align-items: center; }
.ex-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--accent); color: #fff; font-size: 26px; }
.ex-panel h3 { margin: 4px 0 0; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.03em; }
.ex-panel > p { margin: 0; max-width: 62ch; color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.ex-metric { display: flex; align-items: baseline; gap: 12px; }
.ex-metric b { font-size: 56px; line-height: 1; letter-spacing: -0.05em; font-weight: 600; color: var(--accent); }
.ex-metric span { color: var(--muted); font-size: 15px; }
.ex-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; }
/* visuals */
.vz { margin-top: 6px; padding: 20px; border-radius: var(--r-tile); background: var(--soft); }
.vz-ring { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; position: relative; }
.vz-ring .vz-chips::before { content: attr(data-label); flex-basis: 100%; font-size: 15px; color: var(--muted); }
.vz-ring svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.vz-ring circle { fill: none; stroke: var(--soft-2); stroke-width: 12; }
.vz-ring .arc { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; animation: ring 1200ms var(--ease-out) 200ms forwards; }
@keyframes ring { to { stroke-dashoffset: calc(326.7 - 326.7 * var(--p) / 100); } }
.vz-ring > b { position: absolute; left: 20px; top: 20px; line-height: 120px; width: 120px; text-align: center; font-size: 26px; letter-spacing: -0.03em; }
.vz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vz-chips span, .vz-flow span { padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.vz-time { display: grid; gap: 12px; }
.vz-days { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--muted); }
.vz-bar { height: 8px; border-radius: 8px; background: var(--soft-2); overflow: hidden; }
.vz-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; animation: grow 1400ms var(--ease-out) 200ms both; }
@keyframes grow { from { transform: scaleX(0); } }
.vz-batches { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.vz-batches span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: var(--paper); border: 1px solid #DCE3FF; font-size: 12px; font-weight: 600; color: var(--accent); animation: pop 400ms var(--ease-out) calc(300ms + var(--k) * 70ms) both; }
@keyframes pop { from { opacity: 0; transform: scale(.8); } }
.vz-time small { font-size: 13px; color: var(--muted); }
.vz-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.vz-flow span { animation: pop 420ms var(--ease-out) calc(200ms + var(--k) * 160ms) both; }
.vz-flow span:last-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.vz-flow i { color: var(--faint); font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .ex-panel.in > *, .vz-ring .arc, .vz-bar i, .vz-batches span, .vz-flow span { animation: none; } .vz-ring .arc { stroke-dashoffset: calc(326.7 - 326.7 * var(--p) / 100); } }
@media (max-width: 1000px) {
  .explore { grid-template-columns: 1fr; }
  .ex-tabs { grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .ex-tabs::-webkit-scrollbar { display: none; }
  .ex-panel { min-height: 0; padding: 22px; }
}
@media (max-width: 560px) { .vz-batches { grid-template-columns: repeat(6, 1fr); } .vz-ring { grid-template-columns: 1fr; } .vz-ring > b { top: 20px; line-height: 120px; } .ex-metric b { font-size: 44px; } }

/* Flow visual: three connected tiles that fill the panel */
.vz-flow { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; align-items: stretch; padding: 24px; }
.vz-flow span { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 170px; padding: 20px; border-radius: var(--r-tile); background: var(--paper); border: 1px solid var(--line); font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.vz-flow span i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 22px; margin-bottom: auto; }
.vz-flow span:not(:last-child)::after { content: "→"; position: absolute; right: -27px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--accent); }
.vz-flow span:last-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.vz-flow span:last-child i { background: rgba(255,255,255,.18); color: #fff; }
@media (max-width: 560px) { .vz-flow { grid-template-columns: 1fr; gap: 26px; padding: 16px; } .vz-flow span { min-height: 0; } .vz-flow span:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -24px; transform: translateX(-50%); } }
/* every visual fills the fixed-height panel */
.ex-panel .vz { flex: 1; align-content: center; }
.vz-ring { grid-template-columns: 160px 1fr; }
.vz-ring svg { width: 160px; height: 160px; }
.vz-ring > b { width: 160px; line-height: 160px; font-size: 34px; top: 50%; transform: translateY(-50%); line-height: 1; }
.vz-time { align-content: center; }
.ex-panel { min-height: 540px; }
@media (max-width: 1000px) { .ex-panel { min-height: 0; } }
@media (max-width: 560px) { .vz-ring { grid-template-columns: 1fr; justify-items: start; } .vz-ring > b { top: 100px; } }

  /* STRATEGIC PROJECTS: project book (pages turn on the spine; each page has an index tab) */
.deck-wrap { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: stretch; }
/* A bound case book: pages turn on their left edge, each page has its own index tab */
.deck { position: relative; height: 520px; padding-left: 18px; perspective: 1800px; touch-action: pan-y; }
.deck::before { content: ""; position: absolute; left: 0; top: 34px; bottom: 0; width: 22px; z-index: 400; border-radius: 10px 4px 4px 10px; background: var(--ink-2);
  box-shadow: inset -4px 0 0 rgba(255,255,255,.08), 0 12px 24px -12px rgba(12,14,20,.5); }
.deck::after { content: ""; position: absolute; left: 6px; top: 64px; bottom: 30px; width: 10px; z-index: 401; background: radial-gradient(circle, #C7CEDB 0 3px, transparent 3.5px) 0 0 / 10px 46px repeat-y; }
.file { position: absolute; inset: 34px 30px 0 18px; padding: 30px 32px 30px 40px; border-radius: 4px 18px 18px 4px; background: var(--tint); border: 1px solid var(--tint-line); box-shadow: 0 30px 60px -36px rgba(12,14,20,.5);
  display: flex; flex-direction: column; gap: 12px; transform-origin: 0 50%; cursor: grab; user-select: none;
  transition: transform 780ms cubic-bezier(.45, .05, .2, 1), opacity 300ms ease; }
.file::before { content: attr(data-tab); position: absolute; left: calc(28px + var(--n) * 98px); top: -31px; height: 32px; padding: 0 14px; display: flex; align-items: center; border-radius: 12px 12px 0 0; background: var(--tint); border: 1px solid var(--tint-line); border-bottom: 0; font: 600 12px "Geist Mono", monospace; letter-spacing: .08em; color: var(--tone); }
.file.top::before { height: 36px; top: -35px; }
/* shading sweeps across the page as it turns */
.file::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(90deg, rgba(12,14,20,.22), rgba(12,14,20,.04) 45%, rgba(255,255,255,0)); opacity: 0; transition: opacity 400ms ease; }
.file.turning { z-index: 300 !important; opacity: 0; transition: transform var(--turn, 780ms) cubic-bezier(.45, .05, .2, 1), opacity calc(var(--turn, 780ms) * .3) ease calc(var(--turn, 780ms) * .66); }
.file.turning::after, .file.dragging::after { opacity: 1; }
.file.dragging { transition: none; cursor: grabbing; z-index: 300 !important; }
.file.top { cursor: pointer; }
/* ecosystem page: academies as icon bullets */
.f-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.f-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: var(--ink); }
.f-list i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--paper); color: var(--tone); font-size: 19px; }
/* three-step flow fills the lower half of the page */
.f-flow { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.f-flow span { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: 164px; padding: 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--tint-line); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.f-flow span i { margin-bottom: auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--tint); color: var(--tone); font-size: 19px; }
.f-flow span:not(:last-child)::after { content: "→"; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); color: var(--tone); font-size: 18px; }
.f-flow span:last-child { background: var(--tone); border-color: var(--tone); color: #fff; }
.f-flow span:last-child i { background: rgba(255,255,255,.2); color: #fff; }
.file .f-top { display: flex; justify-content: space-between; align-items: center; }
.file .f-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--paper); color: var(--tone); font-size: 25px; }
.file .f-stamp { padding: 6px 12px; border: 2px solid var(--tone); border-radius: 8px; color: var(--tone); font: 600 12px "Geist Mono", monospace; letter-spacing: .1em; transform: rotate(-4deg); }
.file h3 { margin: 6px 0 0; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.15; letter-spacing: -0.03em; }
.file p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 62ch; }
.file .f-metric { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--tint-line); display: flex; align-items: baseline; gap: 12px; }
.file .f-metric b { font-size: 54px; line-height: 1; letter-spacing: -0.05em; font-weight: 600; color: var(--tone); }
.file .f-metric span { color: var(--muted); font-size: 15px; }
.file a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--tone); text-decoration: none; }
.file:not(.top) > :not(.f-top):not(h3) { visibility: hidden; }
.t-blue { --tint: #EEF1FF; --tint-line: #D3DCFF; --tone: #2B50FF; }
.t-teal { --tint: #E6F6F2; --tint-line: #C3E8DC; --tone: #0E8A6B; }
.t-amber { --tint: #FFF4E2; --tint-line: #F3DCAE; --tone: #A85F00; }
.t-rose { --tint: #FDEEF3; --tint-line: #F3CEDB; --tone: #C0306A; }
.t-violet { --tint: #F3EEFF; --tint-line: #DDD0FB; --tone: #6D3FD6; }
.t-slate { --tint: #EEF2F6; --tint-line: #D5DEE8; --tone: #2E4A66; }
.deck-list button span:first-child { font: 600 12px "Geist Mono", monospace; color: var(--faint); }
.deck-list button[aria-current="true"] { border-color: var(--line); background: var(--paper); color: var(--ink); font-weight: 600; }
.deck-list button[aria-current="true"] span:first-child { color: var(--accent); }
.deck-ctrl { display: flex; gap: 10px; }
.deck-wrap > *, .bp > * { min-width: 0; }
/* the project list runs from the top of the page to the bottom of the book */
.deck-side { display: flex; flex-direction: column; gap: 12px; padding-top: 34px; }
.deck-list { flex: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; gap: 8px; }
.deck-list li { display: flex; }
.deck-list button { width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font: 500 14.5px/1.3 var(--font); color: var(--muted); text-align: left; cursor: pointer; transition: border-color 200ms ease, color 200ms ease, background-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .deck-list button:hover { border-color: #C9D2FF; color: var(--ink); } }
.deck-list button[aria-current="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.deck-list button[aria-current="true"] span:first-child { color: var(--accent); }
.deck-ctrl { justify-content: flex-end; }
.deck-wrap > * { min-width: 0; }
@media (max-width: 1000px) {
  .deck-wrap { grid-template-columns: minmax(0, 1fr); }
  .deck-side { order: -1; padding-top: 0; }
  .deck-list { grid-auto-flow: column; grid-auto-columns: max-content; grid-auto-rows: auto; overflow-x: auto; scrollbar-width: none; }
  .deck-list::-webkit-scrollbar { display: none; }
  .deck-list button { white-space: nowrap; }
  .deck-ctrl { display: none; }
}
@media (max-width: 560px) {
  .deck { height: 660px; padding-left: 12px; } .deck::before { width: 16px; } .deck::after { left: 3px; } .file { inset: 34px 6px 0 12px; padding: 22px 20px 22px 26px; } .file .f-metric b { font-size: 42px; }
  .f-list { grid-template-columns: 1fr; } .f-flow { grid-template-columns: 1fr; gap: 10px; } .f-flow span { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; } .f-flow span i { margin-bottom: 0; } .f-flow span::after { display: none; }
  .file::before { content: attr(data-short); left: calc(18px + var(--n) * 50px); padding: 0 10px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .file { transition: none; } }
#projects { overflow-x: clip; }

.impact-lead { margin: 18px 0 0; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; letter-spacing: -0.035em; font-weight: 600; color: var(--ink); }

/* HOW I PROVE IMPACT: big opener + impact map */
.impact-lead { margin: 18px 0 0; max-width: 18ch; font-size: clamp(40px, 5.6vw, 76px); line-height: 1; letter-spacing: -0.05em; font-weight: 600; color: var(--ink); }
.impact-lead em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.impact-sub { margin: 20px 0 0; max-width: 58ch; font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.impact-sub b { color: var(--ink); }
.imap { margin-top: 44px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.im-row { display: grid; grid-template-columns: 240px repeat(3, 1fr); }
.im-row + .im-row { border-top: 1px solid var(--line); }
.im-head { background: var(--soft); }
.im-head > div { padding: 18px 20px; }
.im-head > div:not(:first-child) { display: grid; gap: 4px; }
.im-head b { font-size: 16px; }
.im-head small { font-size: 13px; color: var(--muted); }
.im-head > div:nth-child(2) b { color: #2B50FF; } .im-head > div:nth-child(3) b { color: #0E8A6B; } .im-head > div:nth-child(4) b { color: #A85F00; }
.im-area { display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-size: 15.5px; font-weight: 600; line-height: 1.25; }
.im-area i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--soft); color: var(--accent); font-size: 19px; }
.im-cell { display: flex; flex-wrap: wrap; align-content: center; gap: 6px; padding: 14px 16px; border-left: 1px solid var(--line); }
.im-cell span { padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 500; opacity: 0; transform: scale(.92); transition: opacity 360ms ease calc(var(--r) * 90ms + var(--c) * 160ms), transform 420ms var(--ease-out) calc(var(--r) * 90ms + var(--c) * 160ms); }
.im-cell.c1 span { background: #EEF1FF; color: #2440D6; } .im-cell.c2 span { background: #E6F6F2; color: #0B7258; } .im-cell.c3 span { background: #FFF4E2; color: #8A4E00; }
.imap.on .im-cell span { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .im-row:not(.im-head):hover { background: #FAFBFF; } }
@media (prefers-reduced-motion: reduce) { .im-cell span { transition: none; opacity: 1; transform: none; } }
/* phones: each area becomes a card with its three groups stacked */
@media (max-width: 860px) {
  .imap { border: 0; background: none; overflow: visible; display: grid; gap: 12px; }
  .im-head { display: none; }
  .im-row { grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--r-tile); background: var(--paper); }
  .im-row + .im-row { border-top: 1px solid var(--line); }
  .im-cell { border-left: 0; border-top: 1px solid var(--line); padding: 12px 16px; }
  .im-cell::before { content: attr(data-col); flex-basis: 100%; font-size: 12px; font-weight: 600; }
  .im-cell.c1::before { color: #2B50FF; } .im-cell.c2::before { color: #0E8A6B; } .im-cell.c3::before { color: #A85F00; }
}

/* RECOGNITION: awards on a year timeline beside the video */
.recog-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.recog-grid .video { position: sticky; top: 96px; }
.awards { position: relative; display: grid; gap: 18px; padding-left: 26px; }
.awards::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--accent), #DCE3FF); }
.yr { position: relative; display: grid; gap: 8px; }
.yr-tag { position: relative; font: 600 13px "Geist Mono", ui-monospace, monospace; letter-spacing: .06em; color: var(--accent); }
.yr-tag::before { content: ""; position: absolute; left: -25px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px var(--accent); }
.aw { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.aw i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--accent-soft); color: var(--accent); font-size: 20px; }
.aw b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.aw small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.aw--gold { background: linear-gradient(160deg, #FFF8E6, #FFF1D1); border-color: #F3DCAE; }
.aw--gold i { background: #fff; color: #C98A0A; }
@media (max-width: 900px) { .recog-grid { grid-template-columns: 1fr; } .recog-grid .video { position: relative; top: auto; } }

/* CERTIFICATIONS: grouped by expertise, directly under the numbers strip */
main > section.creds { padding-block: 36px 44px; }
.creds-title { margin: 0 0 18px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.cgroups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--r-card); border: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.cgroup { padding: 22px; display: grid; align-content: start; gap: 14px; }
.cgroup + .cgroup { border-left: 1px solid var(--line); }
.cgroup h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.cgroup h3 i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 18px; }
.cgroup ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cgroup li { padding-left: 12px; border-left: 2px solid #DCE3FF; }
.cgroup li b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.cgroup li small { font-size: 12.5px; color: var(--muted); }
@media (max-width: 1100px) { .cgroups { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cgroup:nth-child(3) { border-left: 0; } .cgroup:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .cgroups { grid-template-columns: 1fr; } .cgroup + .cgroup { border-left: 0; border-top: 1px solid var(--line); } }
