/* Self-hosted Google Fonts (SIL Open Font License): Syne, Manrope, JetBrains Mono */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(/fonts/syne-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(/fonts/syne-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #07080d;
  --bg-2: #0c0e16;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef0f6;
  --muted: #9aa0b4;
  --gold: #f5b942;
  --saffron: #ff7a45;
  --teal: #3ee6c1;
  --violet: #8b7bff;
  --radius: 22px;
  --display: 'Syne', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-bg: rgba(10, 11, 18, .55);
  --nav-bg-2: rgba(10, 11, 18, .85);
  --menu-bg: rgba(10, 11, 18, .96);
  --stroke: rgba(238, 240, 246, .85);
  --portrait-bg: linear-gradient(135deg, #1b1f2e, #10121b);
  --chip-bg: #121522;
  --chip-bg-a: rgba(18, 21, 34, .8);
  --panel: rgba(12, 14, 22, .65);
  --marquee: rgba(238, 240, 246, .55);
  --tag-text: #c9cde0;
  --tip-bg: rgba(10, 11, 18, .92);
  --input-bg: rgba(255, 255, 255, .04);
  --option-bg: #12141f;
  --dialog-bg: #0e101a;
  --scheme: dark;
  --grain: .05;
  --crimson: #c8102e;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f7f4ee;
  --bg-2: #efeae1;
  --surface: rgba(30, 26, 20, .035);
  --surface-2: rgba(30, 26, 20, .07);
  --line: rgba(30, 26, 20, .11);
  --text: #15141a;
  --muted: #5c5f6e;
  --gold: #8a5800;
  --saffron: #c2410c;
  --teal: #087560;
  --violet: #5b4bd6;
  --nav-bg: rgba(250, 248, 243, .7);
  --nav-bg-2: rgba(250, 248, 243, .92);
  --menu-bg: rgba(250, 248, 243, .98);
  --stroke: rgba(21, 20, 26, .85);
  --portrait-bg: linear-gradient(135deg, #ede6d8, #ddd3c1);
  --chip-bg: #ffffff;
  --chip-bg-a: rgba(255, 255, 255, .85);
  --panel: rgba(255, 255, 255, .7);
  --marquee: rgba(21, 20, 26, .5);
  --tag-text: #3b3d4a;
  --tip-bg: rgba(255, 255, 255, .96);
  --input-bg: rgba(255, 255, 255, .8);
  --option-bg: #ffffff;
  --dialog-bg: #fbf9f5;
  --scheme: light;
  --grain: .035;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  transition: background-color .4s, color .4s;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; background: linear-gradient(100deg, var(--gold), var(--saffron) 55%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
strong { color: var(--text); font-weight: 700; }
.muted { color: var(--muted); }
::selection { background: var(--gold); color: #000; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ambient */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(245, 185, 66, .10), transparent 60%);
  left: 0; top: 0; transform: translate(-600px, -600px); will-change: transform;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* nav */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1200px, 100% - 24px); display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 18px; border-radius: 999px;
  background: var(--nav-bg); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--line); transition: background .3s, top .3s;
}
.nav.scrolled { background: var(--nav-bg-2); top: 8px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, var(--gold), var(--saffron)); color: #160d00; font-weight: 800; }
.brand .dot { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-links a.btn { color: #160d00; }
.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform .3s; }
.nav-toggle span:first-child { top: 15px; } .nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch;
    padding: 10px; border-radius: 20px; background: var(--menu-bg); border: 1px solid var(--line);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .25s var(--ease);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 12px 16px; font-size: 16px; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
  will-change: transform;
}
.btn-sm { padding: 9px 16px !important; font-size: 13px !important; }
.btn-gold { background: linear-gradient(135deg, #f5b942, #ff7a45); color: #160d00; box-shadow: 0 10px 40px -10px rgba(245, 185, 66, .6); }
.btn-gold:hover { box-shadow: 0 16px 50px -10px rgba(255, 122, 69, .75); }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.play-dot { font-size: 10px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--bg); }

/* hero */
.hero { position: relative; min-height: 100svh; padding: 130px 0 40px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
#meshCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .75; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 220px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; width: min(1200px, 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--muted); padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(62, 230, 193, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(62, 230, 193, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 230, 193, 0); } }
.hero-copy { min-width: 0; }
.hero-title { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 5vw, 72px); line-height: .92; letter-spacing: -.04em; margin: 22px 0 18px; }
.hero-title .line { display: block; opacity: 0; transform: translateY(40px); animation: rise 1s var(--ease) forwards; }
.hero-title .line:nth-child(2) { animation-delay: .12s; }
.hero-title .outline { color: transparent; -webkit-text-stroke: 1.5px var(--stroke); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-role { font-family: var(--display); font-size: clamp(20px, 3vw, 34px); font-weight: 700; white-space: nowrap; }
.typer { color: var(--gold); }
.caret { color: var(--gold); animation: blink 1s steps(1) infinite; margin-left: 2px; font-weight: 400; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { max-width: 560px; color: var(--muted); margin: 16px 0 30px; font-size: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { display: grid; place-items: center; }
.orbit-wrap { position: relative; width: min(420px, 80vw); aspect-ratio: 1; }
.portrait { position: absolute; inset: 18%; border-radius: 50%; overflow: hidden; background: var(--portrait-bg); border: 1px solid var(--line); box-shadow: 0 0 0 10px rgba(245, 185, 66, .06), 0 30px 80px -20px rgba(245, 185, 66, .35); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; position: relative; z-index: 1; }
.portrait-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 64px; font-weight: 800; color: var(--gold); }
.portrait::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(200deg, transparent 50%, rgba(245, 185, 66, .25)); z-index: 2; }
.orbit { position: absolute; inset: 0; border: 1px dashed var(--line); border-radius: 50%; animation: spin 26s linear infinite; }
.orbit.o2 { inset: 8%; animation-duration: 18s; animation-direction: reverse; border-color: rgba(62, 230, 193, .2); }
.orbit.o3 { inset: -8%; animation-duration: 40s; border-color: rgba(139, 123, 255, .18); }
.orb-chip { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--chip-bg); border: 1px solid var(--line); animation: spin 26s linear infinite reverse; }
.o2 .orb-chip { animation-duration: 18s; animation-direction: normal; color: var(--teal); }
.o3 .orb-chip { animation-duration: 40s; color: var(--violet); }
.o1 .orb-chip { color: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.o1 .orb-chip, .o2 .orb-chip, .o3 .orb-chip { transform-origin: center; }
.badges { display: contents; }
.badge-float { position: absolute; padding: 10px 14px; border-radius: 16px; background: var(--chip-bg-a); backdrop-filter: blur(10px); border: 1px solid var(--line); display: flex; flex-direction: column; line-height: 1.15; animation: float 6s ease-in-out infinite; z-index: 3; }
.badge-float b { font-family: var(--display); font-size: 20px; }
.badge-float small { color: var(--muted); font-size: 12px; }
.b1 { top: 6%; right: -2%; }
.b2 { bottom: 12%; left: -16%; animation-delay: -2s; }
.b3 { bottom: -2%; right: 10%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-12px); } }

.stats { position: relative; z-index: 1; width: min(1200px, 100% - 32px); margin: 60px auto 0; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); backdrop-filter: blur(10px); overflow: hidden; }
.stat { padding: 22px 18px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.stat span { font-size: 13px; color: var(--muted); }
.scroll-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); width: 24px; height: 38px; border: 1.5px solid var(--line); border-radius: 12px; z-index: 2; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scrollhint 1.8s infinite; }
@keyframes scrollhint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-title { font-size: clamp(30px, 8.8vw, 66px); }
  .hero-visual { order: -1; }
  .orbit-wrap { width: min(340px, 84vw); margin: 34px 0 30px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .scroll-hint { display: none; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-right: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
}

/* marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; background: var(--bg-2); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--marquee); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee-item::after { content: '✦'; color: var(--gold); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { position: relative; padding: clamp(80px, 12vw, 150px) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { max-width: 960px; margin-bottom: 56px; }
.section-head.sub { margin: 80px 0 28px; }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
h2 { font-family: var(--display); font-size: clamp(36px, 5.6vw, 72px); line-height: 1; letter-spacing: -.035em; font-weight: 800; }
.h3 { font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.02em; margin-bottom: 10px; }
.lede { color: var(--muted); font-size: 19px; margin-top: 22px; max-width: 680px; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }


/* skills bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.skill { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s; }
.skill::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(245, 185, 66, .12), transparent 45%); opacity: 0; transition: opacity .3s; }
.skill:hover::before { opacity: 1; }
.skill:hover { border-color: rgba(245, 185, 66, .3); }
.skill:nth-child(1), .skill:nth-child(5) { grid-column: span 2; }
.skill-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(245, 185, 66, .18), rgba(139, 123, 255, .12)); border: 1px solid var(--line); margin-bottom: 18px; }
.skill-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skill h3 { font-family: var(--display); font-size: 21px; margin-bottom: 8px; }
.skill p { color: var(--muted); font-size: 15px; position: relative; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; position: relative; }
.tag { font-family: var(--mono); font-size: 11.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--tag-text); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .skill:nth-child(5) { grid-column: span 1; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .skill:nth-child(1) { grid-column: span 1; } }

/* innovations */
.innov-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.innov { --acc: var(--gold); position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .3s; transform-style: preserve-3d; }
.innov[data-accent="teal"] { --acc: var(--teal); }
.innov[data-accent="saffron"] { --acc: var(--saffron); }
.innov[data-accent="violet"] { --acc: var(--violet); }
.innov:hover { border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
.innov-media { position: relative; aspect-ratio: 16/9; overflow: hidden; cursor: pointer; }
.innov-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.85) brightness(.8); }
.innov:hover .innov-media img { transform: scale(1.06); filter: saturate(1) brightness(.9); }
.innov-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--bg-2)); }
.play { position: absolute; z-index: 2; left: 50%; top: 45%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.play::before { content: ''; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.innov-media:hover .play, .vcard:hover .play { transform: scale(1.12); background: var(--acc, var(--gold)); }
.innov-body { padding: 0 24px 24px; margin-top: -24px; position: relative; z-index: 2; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.innov-badge { align-self: flex-start; font-family: var(--mono); font-size: 11.5px; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--acc) 16%, transparent); color: var(--acc); border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); }
.innov h3 { font-family: var(--display); font-size: 28px; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.innov h3 small { font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.innov p { color: var(--muted); font-size: 15px; }
.innov-links { display: flex; gap: 14px; margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; }
.innov-links button, .innov-links a { color: var(--acc); }
.innov-links button:hover, .innov-links a:hover { text-decoration: underline; }

/* upcoming */
.upcoming { display: grid; gap: 14px; }
.skeleton { height: 120px; border-radius: var(--radius); background: linear-gradient(90deg, var(--surface), var(--surface-2), var(--surface)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.event { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center; padding: 22px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.event:hover { border-color: rgba(62, 230, 193, .4); transform: translateX(6px); }
.event-date { text-align: center; padding: 12px 6px; border-radius: 16px; background: linear-gradient(160deg, rgba(62, 230, 193, .18), rgba(139, 123, 255, .1)); border: 1px solid var(--line); }
.event-date b { display: block; font-family: var(--display); font-size: 34px; line-height: 1; }
.event-date span { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--teal); }
.event h3 { font-family: var(--display); font-size: 22px; letter-spacing: -.01em; }
.event-meta { color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; }
.event-tag { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(245, 185, 66, .14); color: var(--gold); }
.countdown { font-family: var(--mono); font-size: 13px; color: var(--teal); white-space: nowrap; }
.empty-stage { position: relative; padding: 44px; border-radius: var(--radius); border: 1px dashed rgba(245, 185, 66, .35); background: radial-gradient(600px circle at 0% 0%, rgba(245, 185, 66, .1), transparent 60%), var(--surface); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.empty-stage h3 { font-family: var(--display); font-size: 28px; letter-spacing: -.02em; }
.empty-stage p { color: var(--muted); }
@media (max-width: 700px) {
  .event { grid-template-columns: 80px 1fr; gap: 16px; padding: 18px; }
  .event-date b { font-size: 26px; }
  .event .countdown, .event > a { grid-column: 1 / -1; }
}

/* TEDx */
.tedx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vcard { --acc: #ff2b1c; position: relative; border-radius: 18px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); cursor: pointer; transition: transform .4s var(--ease), border-color .3s; text-align: left; width: 100%; }
.vcard:hover { transform: translateY(-6px); border-color: rgba(255, 43, 28, .45); }
.vcard-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.vcard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vcard:hover .vcard-thumb img { transform: scale(1.07); }
.vcard .play { width: 50px; height: 50px; margin: -25px 0 0 -25px; top: 50%; }
.vcard .play::before { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; }
.vcard-body { padding: 16px 18px 18px; }
.vcard-event { font-family: var(--mono); font-size: 12px; color: #ff5a4d; }
[data-theme="light"] .vcard-event { color: #b3261e; }
.vcard-event b { color: var(--text); }
.vcard h3 { font-family: var(--display); font-size: 18px; line-height: 1.2; margin-top: 6px; letter-spacing: -.01em; }
@media (max-width: 1000px) { .tedx-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tedx-grid { grid-template-columns: 1fr; } }

.talk-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.talk-row { display: grid; grid-template-columns: 96px 1fr 28px; gap: 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); text-align: left; width: 100%; transition: background .25s, padding .3s var(--ease); border-radius: 10px; }
.talk-row:hover { background: var(--surface); padding-left: 12px; }
.talk-row img { width: 96px; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }
.talk-row .ev { font-family: var(--mono); font-size: 12px; color: var(--gold); }
.talk-row .ti { font-weight: 700; font-size: 15px; line-height: 1.3; }
.talk-row .arrow { color: var(--muted); transition: transform .3s, color .3s; }
.talk-row:hover .arrow { transform: translateX(4px); color: var(--gold); }
@media (max-width: 800px) { .talk-list { grid-template-columns: 1fr; } }

/* world */
.world { background: radial-gradient(1000px 600px at 70% 60%, rgba(62, 230, 193, .07), transparent 60%), radial-gradient(800px 500px at 20% 40%, rgba(139, 123, 255, .08), transparent 60%); padding-bottom: 60px; }
.count-big { background: linear-gradient(120deg, var(--teal), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.world-stage { width: min(1300px, 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: stretch; }
.globe { position: relative; height: min(680px, 80vw); min-height: 360px; border-radius: 28px; overflow: hidden; cursor: grab; background: radial-gradient(circle at 50% 50%, rgba(62, 230, 193, .06), transparent 60%); }
.globe:active { cursor: grabbing; }
.globe-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px; }
.globe-tip { font-family: var(--body); padding: 8px 12px; border-radius: 12px; background: var(--tip-bg); border: 1px solid var(--line); color: var(--text); font-size: 13px; }
.globe-tip b { font-family: var(--display); font-size: 15px; }
.world-panel { border-radius: 24px; border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(10px); padding: 18px; display: flex; flex-direction: column; max-height: min(680px, 80vw); min-height: 360px; }
.region-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.region-tab { font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); transition: .2s; }
.region-tab[aria-selected="true"] { background: var(--teal); color: #03201a; border-color: transparent; }
[data-theme="light"] .region-tab[aria-selected="true"] { color: #fff; }
.region-tab[aria-selected="true"] small { opacity: 1; }
.region-tab small { opacity: .7; margin-left: 4px; }
.country-list { list-style: none; overflow-y: auto; flex: 1; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.country-list li button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; text-align: left; font-size: 15px; transition: background .2s; }
.country-list li button:hover, .country-list li button.active { background: var(--surface-2); }
.country-list .flag { font-size: 20px; }
.country-list .rg { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mini-link { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--teal); }
@media (max-width: 900px) {
  .world-stage { grid-template-columns: 1fr; }
  .globe { height: 92vw; max-height: 520px; }
  .world-panel { max-height: 420px; }
}

/* mentor */
.community-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.community { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; display: flex; flex-direction: column; gap: 10px; }
.community:hover { transform: translateY(-6px); border-color: rgba(139, 123, 255, .45); }
.community h3 { font-family: var(--display); font-size: 22px; }
.community p { color: var(--muted); font-size: 14.5px; flex: 1; }
.community span { font-size: 13px; font-weight: 700; color: var(--violet); }
.video-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.video-row .vcard-event { color: var(--violet); }
.video-row .vcard:hover { border-color: rgba(139, 123, 255, .5); }
@media (max-width: 1000px) { .community-grid, .video-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .community-grid, .video-row { grid-template-columns: 1fr; } }

/* media */
.screen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 80px; }
.screen { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16/10; border: 1px solid var(--line); cursor: pointer; background: #111; text-align: left; width: 100%; }
.screen img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.9); transition: transform .7s var(--ease), filter .4s; }
.screen:hover img { transform: scale(1.06); filter: brightness(.7); }
.screen-info { position: absolute; inset: auto 0 0 0; padding: 14px 16px; z-index: 2; }
.screen-ch { font-family: var(--mono); font-size: 11.5px; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.screen-ti { color: #fff; font-weight: 700; font-size: 15px; line-height: 1.25; margin-top: 4px; }
.screen.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; background: radial-gradient(500px 300px at 20% 20%, rgba(0, 168, 225, .35), transparent 60%), radial-gradient(500px 300px at 90% 90%, rgba(245, 185, 66, .25), transparent 60%), #0b1220; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.screen.big .screen-info { position: static; padding: 0; }
.screen.big .screen-ti { font-family: var(--display); font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.02em; }
.screen.big .prime { font-family: var(--display); font-size: 15px; font-weight: 800; color: #00a8e1; letter-spacing: .02em; margin-bottom: auto; }
@media (max-width: 1000px) { .screen-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .screen-grid { grid-template-columns: 1fr; } .screen.big { grid-column: span 1; min-height: 240px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.awards, .press { list-style: none; margin-top: 18px; }
.awards li, .press li { border-bottom: 1px solid var(--line); }
.awards a, .awards div, .press a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 4px; transition: padding .3s var(--ease); }
.awards a:hover, .press a:hover { padding-left: 12px; }
.awards b, .press b { font-weight: 700; font-size: 16px; }
.awards small, .press small { grid-column: 1; color: var(--muted); font-size: 13.5px; }
.awards .ar, .press .ar { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--muted); }
.awards li::marker { content: ''; }
.press small { font-family: var(--mono); color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* invite */
.invite { background: radial-gradient(900px 500px at 10% 30%, rgba(245, 185, 66, .1), transparent 60%), radial-gradient(800px 500px at 90% 80%, rgba(255, 122, 69, .08), transparent 60%); }
.invite-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.topics { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.topics li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; }
.invite-form { display: grid; gap: 16px; }
.invite-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.invite-form .row.three { grid-template-columns: 1fr 1fr 1fr; }
.invite-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: var(--muted); }
.invite-form input, .invite-form select, .invite-form textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text); background: var(--input-bg);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .2s, background .2s;
  color-scheme: var(--scheme);
}
.invite-form input:focus, .invite-form select:focus, .invite-form textarea:focus { border-color: var(--gold); background: rgba(245, 185, 66, .05); }
.invite-form .invalid { border-color: #ff5a4d !important; }
.invite-form select option { background: var(--option-bg); }
.invite-form textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.4em; font-size: 14px; font-weight: 600; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #ff7a6e; }
@media (max-width: 700px) {
  .invite-form .row, .invite-form .row.three { grid-template-columns: 1fr; }
}

/* footer */
.footer { border-top: 1px solid var(--line); padding: 70px 0 28px; background: var(--bg-2); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.footer-big { font-family: var(--display); font-size: clamp(36px, 6vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -.035em; margin-bottom: 14px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; transition: .2s; }
.socials a:hover { background: var(--text); color: var(--bg); }
.footer-base { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; gap: 8px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 4, 8, .85); backdrop-filter: blur(8px); }
.modal-body { position: relative; width: min(1100px, 100% - 32px); transform: scale(.96); transition: transform .4s var(--ease); }
.modal.open .modal-body { transform: none; }
.modal-frame { aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.modal-frame iframe { width: 100%; height: 100%; border: 0; }
.modal-close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== v2 additions ===== */

/* theme toggle */
.nav-actions { display: flex; align-items: center; gap: 6px; }
.theme-toggle { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; overflow: hidden; transition: background .2s, transform .3s var(--ease); }
.theme-toggle:hover { background: var(--surface-2); transform: rotate(-12deg); }
.theme-toggle svg { position: absolute; width: 19px; height: 19px; fill: none; stroke: var(--text); stroke-width: 1.9; stroke-linecap: round; transition: transform .5s var(--ease), opacity .3s; }
.theme-toggle .i-moon { fill: var(--text); stroke: none; }
[data-theme="dark"] .theme-toggle .i-moon { transform: translateY(30px) rotate(60deg); opacity: 0; }
[data-theme="light"] .theme-toggle .i-sun { transform: translateY(-30px) rotate(-60deg); opacity: 0; }
.nav-links .btn { margin-left: 4px; }
@media (min-width: 1081px) { .nav { padding-right: 10px; } .nav-links { margin-left: auto; margin-right: 6px; } }

/* hero pills & socials */
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.gde-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; font-weight: 700; font-size: 13.5px; background: var(--chip-bg-a); border: 1px solid transparent; background-clip: padding-box; position: relative; }
.gde-pill::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc05, #34a853); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.g-dots { display: inline-grid; grid-template-columns: repeat(4, 7px); gap: 3px; }
.g-dots i { width: 7px; height: 7px; border-radius: 50%; animation: gbounce 1.6s ease-in-out infinite; }
.g-dots i:nth-child(1) { background: #4285f4; } .g-dots i:nth-child(2) { background: #ea4335; animation-delay: .12s; }
.g-dots i:nth-child(3) { background: #fbbc05; animation-delay: .24s; } .g-dots i:nth-child(4) { background: #34a853; animation-delay: .36s; }
.g-dots.big { grid-template-columns: repeat(4, 12px); gap: 6px; } .g-dots.big i { width: 12px; height: 12px; }
@keyframes gbounce { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-4px); } }
.hero-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); transition: color .2s, background .2s, transform .3s var(--ease), border-color .2s; }
.hero-socials a:hover { color: var(--text); background: var(--surface-2); transform: translateY(-3px); border-color: var(--gold); }
.hero-socials svg, .socials svg { width: 19px; height: 19px; fill: currentColor; }
.socials a { display: inline-flex; align-items: center; gap: 8px; }
.socials svg { width: 15px; height: 15px; }
.badge-float.b2 { max-width: 170px; }
.gde-b { background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc05, #34a853); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Earth → Moon */
.moon-trip { position: relative; z-index: 1; width: min(1200px, 100% - 32px); margin: 50px auto 0; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; padding: 22px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(10px); }
.mt-copy { display: grid; gap: 4px; max-width: 380px; }
.mt-km { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.03em; line-height: 1; }
.mt-km b { background: linear-gradient(100deg, var(--teal), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt-label { color: var(--muted); font-size: 14.5px; }
.mt-track { position: relative; height: 84px; }
.mt-earth, .mt-moon { position: absolute; top: 50%; transform: translateY(-50%); border-radius: 50%; }
.mt-earth { left: 0; width: 46px; height: 46px; background: radial-gradient(circle at 35% 35%, #7fd3ff, #1c6fd1 55%, #0b3a7a); box-shadow: inset -8px -6px 14px rgba(0,0,0,.35), 0 0 24px rgba(66, 160, 255, .45); }
.mt-earth::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 60% 40%, rgba(52, 168, 83, .9) 0 18%, transparent 19%), radial-gradient(circle at 35% 70%, rgba(52, 168, 83, .85) 0 14%, transparent 15%); }
.mt-moon { right: 0; width: 30px; height: 30px; background: radial-gradient(circle at 35% 35%, #f4f1ea, #b9b4aa 65%, #8b867c); box-shadow: inset -5px -4px 8px rgba(0,0,0,.3), 0 0 18px rgba(255, 250, 230, .35); }
.mt-path { position: absolute; left: 40px; right: 26px; top: 10px; width: calc(100% - 66px); height: 64px; overflow: visible; }
.mt-path path { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; animation: dash 1.2s linear infinite; }
.mt-path path.ret { stroke: var(--teal); }
@keyframes dash { to { stroke-dashoffset: -20; } }
.mt-rocket { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 4px var(--gold); animation: orbitx 7s ease-in-out infinite, orbity 7s ease-in-out infinite; left: 46px; top: 42px; }
@keyframes orbitx { 0%, 100% { left: 46px; } 50% { left: calc(100% - 30px); } }
@keyframes orbity { 0%, 50%, 100% { top: 42px; } 25% { top: 6px; } 75% { top: 76px; } }
.mt-legend { position: absolute; left: 0; right: 0; bottom: -6px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mt-legend span:nth-child(2) { color: var(--gold); }
@media (max-width: 760px) {
  .moon-trip { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .mt-rocket { display: none; }
}

/* about */
.about { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.about .section-head { margin-bottom: 32px; }
.bio p { color: var(--muted); font-size: 17.5px; margin-bottom: 18px; }
.bio p:first-child { font-size: 20px; color: var(--text); line-height: 1.55; }
.bio p:first-child::first-letter { font-family: var(--display); font-weight: 800; font-size: 3.4em; float: left; line-height: .85; margin: 6px 10px 0 0; color: var(--gold); }
.about-side { display: grid; gap: 16px; position: sticky; top: 100px; }
.hl-card { display: block; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: transform .4s var(--ease), border-color .3s; }
.hl-card:hover { transform: translateY(-4px); }
.hl-card h3 { font-family: var(--display); font-size: 24px; letter-spacing: -.02em; line-height: 1.15; margin: 6px 0 8px; }
.hl-card p { color: var(--muted); font-size: 15px; }
.hl-kicker { font-family: var(--mono); font-size: 12px !important; text-transform: uppercase; letter-spacing: .08em; }
.hl-card.gde { background: radial-gradient(500px circle at 100% 0%, rgba(66, 133, 244, .16), transparent 55%), radial-gradient(400px circle at 0% 100%, rgba(52, 168, 83, .12), transparent 55%), var(--surface); border-color: rgba(66, 133, 244, .35); }
.hl-card.gde .g-dots { margin-bottom: 14px; }
.hl-card.gde .hl-kicker { color: #4285f4; }
.hl-card.harvard { background: radial-gradient(500px circle at 100% 0%, rgba(200, 16, 46, .18), transparent 55%), var(--surface); border-color: rgba(200, 16, 46, .35); }
.hl-card.harvard .hl-kicker, .hl-link { color: var(--crimson); }
[data-theme="dark"] .hl-card.harvard .hl-kicker, [data-theme="dark"] .hl-link { color: #ff5a6e; }
.hl-link { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 14px; }
.hl-card.nasscom .hl-kicker { color: var(--teal); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 32px; } .about-side { position: static; } }

/* experience */
.journey { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
.journey .h3 { margin-bottom: 22px; }
.xp { list-style: none; position: relative; padding-left: 34px; }
.xp::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--violet) 60%, transparent); border-radius: 2px; }
.xp-item { --acc: var(--gold); position: relative; padding: 22px 24px; margin-bottom: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; }
.xp-item[data-accent="teal"] { --acc: var(--teal); } .xp-item[data-accent="violet"] { --acc: var(--violet); } .xp-item[data-accent="saffron"] { --acc: var(--saffron); }
.xp-item:hover { transform: translateX(6px); border-color: color-mix(in srgb, var(--acc) 50%, transparent); }
.xp-item::before { content: ''; position: absolute; left: -30px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--acc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 20%, transparent); }
.xp-item.now::before { background: var(--acc); animation: pulse 2s infinite; }
.xp-top { display: flex; align-items: center; gap: 14px; }
.xp-mark { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent); }
.xp-when { font-family: var(--mono); font-size: 12px; color: var(--acc); letter-spacing: .04em; }
.xp-when .now-tag { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--acc); color: #160d00; font-weight: 500; }
.xp-item h3 { font-family: var(--display); font-size: 21px; letter-spacing: -.01em; line-height: 1.2; }
.xp-org { font-weight: 700; font-size: 15px; }
.xp-org span { color: var(--muted); font-weight: 500; }
.xp-item p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.edu .xp-item { --acc: var(--teal); }
.edu .xp-item h3 { font-size: 18px; }
@media (max-width: 900px) { .journey { grid-template-columns: 1fr; gap: 24px; } }

/* harvard */
.harvard-sec { background: radial-gradient(900px 600px at 15% 50%, rgba(200, 16, 46, .14), transparent 60%), radial-gradient(700px 500px at 90% 20%, rgba(245, 185, 66, .07), transparent 60%); overflow: hidden; }
.harvard-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.case-wrap { position: relative; display: grid; place-items: center; padding: 20px 0 40px; }
.case-book { position: relative; width: min(340px, 78vw); aspect-ratio: 8.5 / 11; border-radius: 6px 16px 16px 6px; padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; color: #fff; background: linear-gradient(160deg, #d3203f 0%, #a51c30 45%, #6e0f1f 100%); box-shadow: inset 10px 0 0 rgba(0,0,0,.18), inset 12px 0 0 rgba(255,255,255,.08), 0 40px 80px -30px rgba(165, 28, 48, .7); transform: perspective(1200px) rotateY(-14deg) rotateX(4deg); transition: transform .6s var(--ease); overflow: hidden; }
.case-book::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.22), transparent 35%); pointer-events: none; }
.case-ribbon { position: absolute; top: 22px; right: -42px; transform: rotate(40deg); background: linear-gradient(90deg, #f5b942, #ffd77a); color: #3a2400; font-family: var(--mono); font-size: 11.5px; font-weight: 500; padding: 6px 48px; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.case-pub { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-top: 18px; }
.case-code { font-family: var(--mono); font-size: 12px; opacity: .7; }
.case-title { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3.6vw, 44px); letter-spacing: -.03em; line-height: 1; margin-top: auto; }
.case-sub { font-size: 16px; line-height: 1.35; opacity: .92; }
.case-auth { font-size: 12.5px; opacity: .75; border-top: 1px solid rgba(255,255,255,.25); padding-top: 12px; margin-top: 6px; }
.case-shadow { position: absolute; bottom: 12px; width: 70%; height: 30px; border-radius: 50%; background: rgba(0,0,0,.45); filter: blur(18px); }
.kicker.crimson { color: var(--crimson); }
[data-theme="dark"] .kicker.crimson { color: #ff5a6e; }
.case-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0; }
.case-facts li { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 2px; }
.case-facts b { font-family: var(--display); font-size: 20px; }
.case-facts span { color: var(--muted); font-size: 13px; }
.btn-crimson { background: linear-gradient(135deg, #d3203f, #8f1527); color: #fff; box-shadow: 0 14px 40px -14px rgba(200, 16, 46, .7); }
.btn-crimson:hover { box-shadow: 0 18px 50px -12px rgba(200, 16, 46, .85); }
@media (max-width: 900px) { .harvard-inner { grid-template-columns: 1fr; gap: 32px; } .case-facts { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 520px) { .case-facts { grid-template-columns: 1fr; } }

/* mentor CTA */
.mentor-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 32px; margin-bottom: 28px; border-radius: var(--radius); border: 1px solid rgba(139, 123, 255, .35); background: radial-gradient(600px circle at 0% 0%, rgba(139, 123, 255, .16), transparent 60%), var(--surface); }
.mentor-cta h3 { font-family: var(--display); font-size: 26px; letter-spacing: -.02em; }

/* work-with-me cards */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cta-card { text-align: left; padding: 34px; border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(600px circle at 0% 0%, rgba(245, 185, 66, .14), transparent 60%), var(--surface); display: flex; flex-direction: column; gap: 12px; transition: transform .4s var(--ease), border-color .3s, box-shadow .3s; }
.cta-card.alt { background: radial-gradient(600px circle at 100% 0%, rgba(139, 123, 255, .16), transparent 60%), var(--surface); }
.cta-card:hover { transform: translateY(-6px); border-color: rgba(245, 185, 66, .45); box-shadow: 0 30px 80px -40px rgba(245, 185, 66, .5); }
.cta-card.alt:hover { border-color: rgba(139, 123, 255, .5); box-shadow: 0 30px 80px -40px rgba(139, 123, 255, .6); }
.cta-ic { font-size: 34px; }
.cta-card h3 { font-family: var(--display); font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; }
.cta-card p { color: var(--muted); }
.cta-card .topics { margin-top: 6px; }
.cta-go { margin-top: auto; padding-top: 12px; font-weight: 800; color: var(--gold); }
.cta-card.alt .cta-go { color: var(--violet); }
@media (max-width: 800px) { .cta-grid { grid-template-columns: 1fr; } .cta-card { padding: 26px; } }

/* request dialog */
.req-dialog { margin: auto; width: min(760px, 100% - 24px); max-height: min(92vh, 920px); padding: 0; border: 1px solid var(--line); border-radius: 28px; background: var(--dialog-bg); color: var(--text); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .6); overflow: auto; overscroll-behavior: contain; }
.req-dialog::backdrop { background: rgba(3, 4, 8, .7); backdrop-filter: blur(8px); }
.req-dialog[open] { animation: dlg .45s var(--ease); }
.req-dialog[open]::backdrop { animation: fade .3s ease; }
@keyframes dlg { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.rd-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 30px 14px; background: var(--dialog-bg); }
.rd-head .kicker { margin-bottom: 6px; }
.rd-title { font-size: clamp(26px, 3.4vw, 36px); }
.rd-close { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); }
.rd-close:hover { background: var(--surface-2); }
.rd-tabs { display: flex; gap: 6px; padding: 4px; margin: 0 30px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.rd-tabs button { flex: 1; padding: 10px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: background .25s, color .25s; }
.rd-tabs button[aria-selected="true"] { background: linear-gradient(135deg, var(--gold), var(--saffron)); color: #160d00; }
.req-dialog .invite-form { padding: 0 30px 30px; }
@media (max-width: 600px) {
  .req-dialog { width: 100%; max-height: 100%; height: 100%; max-width: 100%; border-radius: 0; border: 0; }
  .rd-head { padding: 20px 16px 12px; } .rd-tabs { margin: 0 16px 16px; } .req-dialog .invite-form { padding: 0 16px 24px; }
}
body.dialog-open { overflow: hidden; }
.invite-form[hidden] { display: none; }
.about h2, .harvard-copy h2 { font-size: clamp(34px, 4.4vw, 58px); }

/* hero badges v4: four corners, floating, never over the face */
.badge-float { max-width: 190px; }
.badge-float b { font-size: 15px; line-height: 1.2; }
.badge-float small { font-size: 11.5px; margin-top: 2px; }
.bf-savemom { color: var(--gold); }
.bf-nasscom { color: var(--teal); }
.bf-tedx { color: #ff3b2f; }
.b1 { top: -2%; left: -2%; right: auto; bottom: auto; animation-delay: 0s; }
.b2 { top: 2%; right: -16%; left: auto; bottom: auto; animation-delay: -1.5s; }
.b3 { bottom: 4%; left: -6%; right: auto; top: auto; animation-delay: -3s; }
.b4 { bottom: 2%; right: -12%; left: auto; top: auto; animation-delay: -4.5s; }
.badge-float.b2 { max-width: 190px; }
@media (max-width: 900px) {
  .badge-float { max-width: 132px; padding: 7px 10px; border-radius: 12px; }
  .badge-float b { font-size: 12px; }
  .badge-float small { font-size: 9.5px; line-height: 1.25; }
  .badge-float.b2 { max-width: 132px; }
  .b1 { top: -6%; left: -4%; }
  .b2 { top: -6%; right: -4%; }
  .b3 { bottom: -4%; left: -4%; }
  .b4 { bottom: -4%; right: -4%; }
}

/* blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .4s var(--ease), border-color .3s; }
.blog-card:hover { transform: translateY(-6px); border-color: rgba(245, 185, 66, .45); }
.blog-cover { aspect-ratio: 16/9; background: radial-gradient(400px circle at 20% 20%, rgba(245, 185, 66, .35), transparent 60%), radial-gradient(400px circle at 80% 90%, rgba(139, 123, 255, .35), transparent 60%), var(--bg-2); background-size: cover; background-position: center; display: grid; place-items: center; }
.blog-cover span { font-size: 40px; color: var(--gold); }
.blog-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.blog-card h3 { font-family: var(--display); font-size: 21px; letter-spacing: -.015em; line-height: 1.2; }
.blog-card p { color: var(--muted); font-size: 15px; }
.blog-go { margin-top: auto; padding-top: 6px; font-weight: 800; color: var(--gold); font-size: 14px; }
@media (max-width: 1000px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.page-top { padding: 130px 0 40px; }
.post { width: min(760px, 100% - 32px); margin: 0 auto; padding: 120px 0 80px; }
.post-back { font-weight: 700; color: var(--muted); font-size: 14px; }
.post-back:hover { color: var(--text); }
.post h1 { font-family: var(--display); font-size: clamp(34px, 5.4vw, 58px); line-height: 1.04; letter-spacing: -.035em; margin: 18px 0 16px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.post-meta img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.post-cover { border-radius: 22px; margin-bottom: 36px; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post .prose { font-size: 18px; line-height: 1.8; }
.post .prose h2 { font-family: var(--display); font-size: 28px; letter-spacing: -.02em; margin: 1.6em 0 .5em; line-height: 1.2; }
.post .prose h3 { font-family: var(--display); font-size: 21px; margin: 1.4em 0 .4em; }
.post .prose p, .post .prose ul, .post .prose ol, .post .prose blockquote, .post .prose pre { margin: 0 0 1.1em; }
.post .prose ul, .post .prose ol { padding-left: 1.4em; }
.post .prose a { color: var(--teal); text-decoration: underline; }
.post .prose blockquote { border-left: 3px solid var(--gold); padding: 4px 18px; color: var(--muted); font-style: italic; }
.post .prose code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.post .prose pre { background: var(--surface-2); padding: 16px; border-radius: 14px; overflow-x: auto; }
.post .prose pre code { background: none; padding: 0; }
.post .prose img { border-radius: 14px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0; }
.post-cta { margin-top: 40px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(500px circle at 0% 0%, rgba(245, 185, 66, .14), transparent 60%), var(--surface); display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.post-cta h3 { font-family: var(--display); font-size: 22px; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a, .share button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.share a:hover, .share button:hover { background: var(--surface-2); }
.simple-nav .nav-links { display: flex; }
@media (max-width: 1080px) { .simple-nav .nav-links { position: static; flex-direction: row; opacity: 1; pointer-events: auto; transform: none; padding: 0; background: none; border: 0; } .simple-nav .nav-links a.hide-sm { display: none; } }

/* ===== v5: brand photo, hero buttons, flat map, previews ===== */
.brand-photo { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); box-shadow: 0 0 0 3px rgba(245, 185, 66, .15); flex: none; }
@media (min-width: 1081px) and (max-width: 1380px) {
  .nav-links a { padding: 8px 9px; font-size: 13.5px; }
  .nav .brand-text { font-size: 15px; }
}

.hero-cta { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px; }
.hero-cta .btn { justify-content: flex-start; padding: 14px 22px; white-space: nowrap; }
.btn-ic { width: 22px; display: inline-grid; place-items: center; font-size: 15px; }
@media (min-width: 1200px) { .hero-cta { grid-template-columns: repeat(4, max-content); } .hero-cta .btn { padding: 14px 18px; font-size: 14.5px; } }
@media (max-width: 1199px) and (min-width: 901px) { .hero-cta .btn { padding: 13px 18px; } }
@media (max-width: 900px) and (min-width: 601px) { .hero-cta { grid-template-columns: repeat(2, max-content); } }
@media (max-width: 600px) {
  .hero-cta { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-cta .btn { justify-content: center; padding: 13px 10px; font-size: 13.5px; gap: 6px; white-space: normal; text-align: center; line-height: 1.2; }
  .btn-ic { width: auto; }
}
@media (max-width: 360px) { .hero-cta { grid-template-columns: 1fr; } }

.section-actions { display: flex; justify-content: flex-end; margin: -36px 0 24px; }
.view-all { margin-top: 26px; display: flex; justify-content: center; }
.more-link { font-weight: 700; color: var(--teal); padding: 6px 4px; }
@media (max-width: 700px) { .section-actions { justify-content: flex-start; margin: -30px 0 20px; } }

/* flat world map */
.world-map { position: relative; min-height: 260px; border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(900px 400px at 50% 50%, rgba(62, 230, 193, .06), transparent 70%), var(--panel); padding: 14px; overflow: hidden; }
.world-map > .skeleton { min-height: 360px; }
.wm { width: 100%; height: auto; display: block; overflow: visible; }
.wm-grat { fill: none; stroke: var(--line); stroke-width: .5; }
.wm-land path { fill: var(--surface-2); stroke: var(--bg); stroke-width: .5; transition: fill .3s; }
.wm-land path.visited { fill: color-mix(in srgb, var(--gold) 32%, transparent); }
.wm-land path.home { fill: color-mix(in srgb, var(--saffron) 55%, transparent); }
.wm-route { fill: none; stroke: var(--saffron); stroke-dasharray: 6 5; stroke-linecap: round; opacity: 0; }
.wm-route.draw { opacity: .95; animation: wmdash 1s linear infinite; }
@keyframes wmdash { to { stroke-dashoffset: -22; } }
.wm-pin { cursor: pointer; outline: none; }
.wm-pin .wm-hit { fill: transparent; }
.wm-pin path { fill: var(--gold); stroke: var(--bg); stroke-width: 1.4; transition: fill .2s; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.wm-pin .wm-dot { fill: var(--bg); }
.wm-pin .wm-s { transition: transform .25s var(--ease); transform-origin: 0 0; }
.wm-pin:hover .wm-s, .wm-pin:focus-visible .wm-s, .wm-pin.on .wm-s { transform: scale(1.35); }
.wm-pin.on path, .wm-pin:hover path { fill: var(--teal); }
.wm-home .wm-core { fill: var(--saffron); stroke: var(--bg); stroke-width: 1.5; }
.wm-home .wm-ring { fill: none; stroke: var(--saffron); stroke-width: 1.5; transform-origin: 0 0; animation: wmring 2.2s ease-out infinite; }
.wm-home .wm-ring.r2 { animation-delay: 1.1s; }
@keyframes wmring { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.8); opacity: 0; } }
.wm-tip { position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, calc(-100% - 26px)); padding: 8px 12px; border-radius: 12px; background: var(--tip-bg); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); display: grid; gap: 2px; white-space: nowrap; font-size: 12.5px; }
.wm-tip b { font-family: var(--display); font-size: 15px; }
.wm-tip span { color: var(--muted); }
.wm-legend { position: absolute; left: 22px; bottom: 16px; display: flex; gap: 16px; font-size: 12px; color: var(--muted); }
.wm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.wm-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lg-home { background: var(--saffron); } .lg-pin { background: var(--gold); }
@media (max-width: 900px) {
  .world-map { padding: 8px; border-radius: 20px; min-height: 0; }
  .world-map > .skeleton { min-height: 200px; }
  .wm-legend { position: static; margin: 6px 8px 2px; }
}
.talks-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.talks-toolbar .region-tabs { margin: 0; }
.talk-search { flex: 1; min-width: 200px; max-width: 340px; font: inherit; font-size: 14.5px; color: var(--text); background: var(--input-bg); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; outline: none; }
.talk-search:focus { border-color: var(--gold); }
.block-gap { margin-top: 48px; }
[data-block] > .h3 { margin-bottom: 18px; }
@media (max-width: 600px) { .talk-search { max-width: none; } }
.wm-tip[hidden] { display: none; }
.simple-nav .btn { white-space: nowrap; }
@media (max-width: 440px) { .simple-nav .brand-text { display: none; } }
a.vcard, a.screen { display: block; color: inherit; }
a.talk-row { color: inherit; }
/* reCAPTCHA badge hidden; attribution shown in forms and footer as Google requires */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-note { font-size: 11.5px; color: var(--muted); }
.recaptcha-note a { text-decoration: underline; }
/* FAQ */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 0 22px; transition: border-color .2s; }
.faq-item[open] { border-color: rgba(245, 185, 66, .45); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 800; font-size: 17px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--gold); transition: transform .3s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--muted); padding: 0 0 18px; }

/* ===== performance ===== */
/* skip rendering work for sections until they approach the viewport */
main > .section { content-visibility: auto; contain-intrinsic-size: auto 1100px; }
/* rocket: compositor-only animation (no layout per frame) */
.mt-rocket { left: 46px; top: 42px; margin: -5px 0 0 -5px; animation: none; }
.mt-rx { position: absolute; left: 46px; right: 30px; top: 0; bottom: 0; animation: orbitx2 7s ease-in-out infinite; pointer-events: none; }
.mt-rx .mt-rocket { left: 0; animation: orbity2 7s ease-in-out infinite; }
@keyframes orbitx2 { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(100%); } }
@keyframes orbity2 { 0%, 50%, 100% { transform: translateY(0); } 25% { transform: translateY(-36px); } 75% { transform: translateY(34px); } }
@media (max-width: 760px) { .mt-rx { display: none; } }
@media (hover: none), (max-width: 900px) {
  .grain { display: none; }
  .stats, .moon-trip, .world-panel, .badge-float, .invite-form, .world-map { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
