:root {
  --ink: #12161f;
  --ink-soft: #555d6d;
  --ink-faint: #7b8391;
  --paper: #f7f7f5;
  --surface: #ffffff;
  --line: #dfe1e5;
  --line-dark: rgba(255, 255, 255, .13);
  --accent: #335cff;
  --accent-dark: #2344ce;
  --night: #10131a;
  --night-soft: #181c25;
  --success: #19a66a;
  --shell: 1180px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.05);
  --shadow-lg: 0 30px 80px rgba(17,24,39,.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 650; letter-spacing: -.045em; line-height: 1.08; }
::selection { color: #fff; background: var(--accent); }
:focus-visible { outline: 3px solid rgba(51,92,255,.42); outline-offset: 4px; border-radius: 4px; }

.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 14px; color: #fff; background: var(--night); border-radius: 8px; transform: translateY(-160%); transition: transform 160ms ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.site-header.is-scrolled { background: rgba(247,247,245,.91); border-bottom-color: rgba(18,22,31,.08); box-shadow: 0 8px 30px rgba(18,22,31,.04); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.nav-shell { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--ink); border-radius: 10px; font-size: 11px; font-weight: 750; letter-spacing: -.04em; }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a { padding: 9px 12px; color: #525967; border-radius: 9px; font-size: 14px; font-weight: 540; transition: color 150ms ease, background-color 150ms ease; }
.primary-nav a:hover, .primary-nav a[aria-current="true"] { color: var(--ink); background: rgba(18,22,31,.055); }
.nav-cta { justify-self: end; display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; color: #fff; background: var(--ink); border: 1px solid var(--ink); border-radius: 10px; font-size: 13px; font-weight: 650; transition: transform 150ms ease, background-color 150ms ease; }
.nav-cta:hover { background: #292f3a; transform: translateY(-1px); }
.nav-cta svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; color: var(--ink); background: transparent; border-radius: 10px; }
.nav-toggle-line { display: block; width: 20px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform 180ms ease; }

.hero { position: relative; min-height: 780px; padding: 150px 0 94px; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; opacity: .34; pointer-events: none; background-image: linear-gradient(rgba(18,22,31,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(18,22,31,.045) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 35%, #000 10%, transparent 78%); mask-image: radial-gradient(ellipse 70% 80% at 75% 35%, #000 10%, transparent 78%); }
.hero::after { content: ""; position: absolute; width: 700px; height: 700px; top: -330px; right: -250px; border: 1px solid rgba(51,92,255,.13); border-radius: 50%; box-shadow: 0 0 0 90px rgba(51,92,255,.025), 0 0 0 180px rgba(51,92,255,.018); pointer-events: none; }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.12fr) minmax(360px,.88fr); align-items: center; gap: clamp(50px,7vw,110px); }
.role-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 42px; padding: 8px 11px; color: #3e4654; background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); font-size: 12px; font-weight: 620; letter-spacing: .01em; }
.role-dot { width: 7px; height: 7px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 4px rgba(25,166,106,.12); }
.hero-kicker { margin-bottom: 13px; color: var(--accent); font-size: 14px; font-weight: 720; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(52px,6.1vw,86px); letter-spacing: -.067em; }
.hero h1 span { color: #7a818d; }
.hero-summary { max-width: 650px; margin-bottom: 32px; color: var(--ink-soft); font-size: clamp(18px,1.65vw,21px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.button, .icon-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 14px; font-weight: 650; transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease; }
.button { gap: 8px; padding: 0 18px; border: 1px solid transparent; }
.button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: #fff; background: var(--accent); box-shadow: 0 8px 22px rgba(51,92,255,.22); }
.button-primary:hover { background: var(--accent-dark); box-shadow: 0 10px 28px rgba(51,92,255,.28); transform: translateY(-2px); }
.button-secondary, .icon-button { color: var(--ink); background: rgba(255,255,255,.72); border: 1px solid var(--line); }
.button-secondary:hover, .icon-button:hover { background: #fff; border-color: #c8cbd1; transform: translateY(-2px); }
.icon-button { width: 48px; }
.icon-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-stack { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 35px; color: var(--ink-faint); font-size: 12px; font-weight: 650; letter-spacing: .035em; text-transform: uppercase; }
.hero-stack span { position: relative; }
.hero-stack span:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -10px; width: 3px; height: 3px; background: #bbc0c9; border-radius: 50%; }

.portrait-stage { position: relative; max-width: 440px; justify-self: end; }
.portrait-stage::before { content: ""; position: absolute; inset: 7% -11% -7% 11%; background: var(--accent); border-radius: var(--radius-lg); transform: rotate(3.5deg); opacity: .085; }
.portrait-frame { position: relative; overflow: hidden; background: #d7dae0; border: 8px solid #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.portrait-frame img { width: 100%; height: auto; object-fit: cover; object-position: 48% center; }
.portrait-scrim { position: absolute; inset: auto 0 0; height: 36%; background: linear-gradient(transparent, rgba(7,11,20,.78)); }
.portrait-caption { position: absolute; inset: auto 22px 20px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; color: #fff; }
.portrait-caption div + div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.23); }
.portrait-caption span, .portrait-caption strong { display: block; }
.portrait-caption span { margin-bottom: 2px; color: rgba(255,255,255,.6); font-size: 10px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.portrait-caption strong { font-size: 13px; font-weight: 630; }
.orbit-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 13px; color: var(--ink); background: rgba(255,255,255,.92); border: 1px solid rgba(18,22,31,.08); border-radius: 12px; box-shadow: var(--shadow-sm); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 11px; font-weight: 650; }
.orbit-card-top { top: 15%; left: -42px; }
.orbit-card-bottom { right: -36px; bottom: 21%; }
.orbit-icon { display: grid; place-items: center; width: 25px; height: 25px; color: var(--accent); background: #edf0ff; border-radius: 7px; font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size: 9px; }
.signal { display: flex; align-items: end; gap: 2px; width: 25px; height: 25px; padding: 6px; background: #e9f8f1; border-radius: 7px; }
.signal i { width: 3px; background: var(--success); border-radius: 2px; }
.signal i:nth-child(1) { height: 5px; } .signal i:nth-child(2) { height: 9px; } .signal i:nth-child(3) { height: 13px; }

.signal-bar { color: #c7cad1; background: var(--night); border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); }
.signal-list { min-height: 82px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; gap: 24px; font-size: 11px; font-weight: 620; letter-spacing: .1em; text-transform: uppercase; }
.signal-list span:not(:last-child) { border-right: 1px solid rgba(255,255,255,.11); }

.section { padding: 128px 0; }
.eyebrow { margin-bottom: 16px; color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.section h2, .contact-section h2 { margin-bottom: 0; font-size: clamp(38px,4.4vw,58px); }
.section-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(70px,10vw,150px); }
.section-intro h2 { max-width: 480px; }
.about-copy { padding-top: 25px; color: var(--ink-soft); font-size: 16px; }
.about-copy .large-copy { margin-bottom: 24px; color: #303744; font-size: clamp(20px,2vw,25px); line-height: 1.55; letter-spacing: -.02em; }
.principles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.principles span, .role-tags span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 640; }
.section-heading { display: grid; grid-template-columns: 1fr 380px; align-items: end; gap: 60px; margin-bottom: 60px; }
.section-heading > p { margin: 0 0 5px; color: var(--ink-soft); }

.capability-block { margin-top: 88px; }
.capability-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 22px; padding-top: 24px; border-top: 1px solid var(--line); }
.capability-heading .eyebrow { margin: 0; }
.capability-heading > p:last-child { max-width: 500px; margin: 0; color: var(--ink-soft); font-size: 14px; }
.capability-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.capability-card { position: relative; min-height: 410px; display: flex; flex-direction: column; overflow: hidden; padding: 30px; border-radius: var(--radius); }
.capability-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.capability-card h3 { position: relative; z-index: 2; max-width: 360px; margin: auto 0 16px; font-size: clamp(28px,2.7vw,38px); }
.capability-card > p { position: relative; z-index: 2; max-width: 430px; margin: 0; font-size: 13px; line-height: 1.72; }
.capability-primary { color: #fff; background: var(--accent); box-shadow: 0 24px 60px rgba(51,92,255,.2); }
.capability-primary::after { content: ""; position: absolute; width: 360px; height: 360px; top: -235px; right: -170px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.05), 0 0 0 110px rgba(255,255,255,.025); }
.capability-primary h3 { color: #fff; }
.capability-primary > p, .capability-primary .capability-top { color: rgba(255,255,255,.75); }
.flow-visual { position: relative; z-index: 2; display: flex; align-items: center; width: max-content; max-width: 100%; margin: 34px 0 38px; padding: 10px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.18); border-radius: 13px; }
.flow-visual span { padding: 7px 10px; color: #fff; background: rgba(255,255,255,.13); border-radius: 8px; font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size: 9px; font-weight: 700; }
.flow-visual i { width: clamp(12px,2vw,32px); height: 1px; background: rgba(255,255,255,.4); }
.capability-dark { color: #fff; background: var(--night); }
.capability-dark h3 { color: #fff; }
.capability-dark > p, .capability-dark .capability-top { color: #969daa; }
.window-visual { position: relative; z-index: 2; height: 132px; margin: 34px 0 28px; padding: 15px; background: #1b202a; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; }
.window-visual i { display: inline-block; width: 6px; height: 6px; margin-right: 3px; background: #596170; border-radius: 50%; }
.window-visual b { display: block; height: 7px; margin-top: 13px; background: #313846; border-radius: 99px; }
.window-visual b:nth-of-type(1) { width: 74%; margin-top: 20px; background: rgba(51,92,255,.75); }
.window-visual b:nth-of-type(2) { width: 91%; }
.window-visual b:nth-of-type(3) { width: 58%; }
.capability-light { background: #e9edf8; border: 1px solid #dbe0ee; }
.capability-light .capability-top { color: #657087; }
.capability-light > p { color: var(--ink-soft); }
.pulse-visual { position: relative; z-index: 2; height: 132px; display: flex; align-items: end; gap: 8px; margin: 34px 0 28px; padding: 18px; background: rgba(255,255,255,.52); border: 1px solid rgba(51,92,255,.11); border-radius: 13px; }
.pulse-visual i { flex: 1; background: rgba(51,92,255,.18); border-radius: 4px 4px 2px 2px; }
.pulse-visual i:nth-child(1) { height: 34%; } .pulse-visual i:nth-child(2) { height: 58%; } .pulse-visual i:nth-child(3) { height: 43%; } .pulse-visual i:nth-child(4) { height: 82%; background: var(--accent); } .pulse-visual i:nth-child(5) { height: 67%; }

.experience { background: var(--surface); }
.timeline { position: relative; }
.role-card { position: relative; display: grid; grid-template-columns: 28px 190px 1fr; gap: 22px; padding: 42px 0; border-top: 1px solid var(--line); }
.role-card:last-child { border-bottom: 1px solid var(--line); }
.role-marker { position: relative; }
.role-marker::after { content: ""; position: absolute; top: 21px; bottom: -64px; left: 5px; width: 1px; background: var(--line); }
.role-card:last-child .role-marker::after { display: none; }
.role-marker span { display: block; width: 11px; height: 11px; margin-top: 5px; background: #c9cdd4; border: 3px solid var(--surface); border-radius: 50%; box-shadow: 0 0 0 1px #c9cdd4; }
.role-current .role-marker span { background: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 0 6px rgba(51,92,255,.08); }
.role-meta { color: var(--ink-faint); font-size: 12px; }
.role-meta p { margin-bottom: 2px; }
.current-label { display: inline-flex; margin-bottom: 11px; padding: 3px 8px; color: var(--accent); background: #edf0ff; border-radius: 999px; font-size: 9px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.role-content { max-width: 720px; }
.role-heading { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.role-heading h3 { margin-bottom: 7px; font-size: 24px; letter-spacing: -.035em; }
.role-heading p { margin-bottom: 0; color: var(--accent); font-size: 14px; font-weight: 640; }
.organization-link, .institution-link { color: inherit; text-decoration: none; text-underline-offset: 3px; }
.organization-link::after, .institution-link::after { content: "↗"; display: inline-block; margin-left: 6px; font-size: .78em; opacity: .52; transition: opacity 150ms ease, transform 150ms ease; }
.organization-link:hover, .institution-link:hover { text-decoration: underline; }
.organization-link:hover::after, .institution-link:hover::after { opacity: 1; transform: translate(1px,-1px); }
.organization-link:focus-visible, .institution-link:focus-visible { border-radius: 3px; outline: 2px solid var(--accent); outline-offset: 3px; }
.company-alias { color: var(--ink-faint); font-weight: 560; }
.company-logo { flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; padding: 8px; overflow: hidden; background: #fff; border: 1px solid #e0e2e6; border-radius: 16px; box-shadow: 0 8px 24px rgba(17,24,39,.06); transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
.company-logo:hover { border-color: #c9cdd5; box-shadow: 0 11px 28px rgba(17,24,39,.1); transform: translateY(-2px); }
.company-logo:focus-visible, .degree-logo:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.company-logo img { width: 100%; height: 100%; object-fit: contain; }
.company-logo-ivy { padding: 0; background: #f4512f; border-color: #f4512f; }
.role-content ul { margin: 0; padding: 0; list-style: none; color: var(--ink-soft); }
.role-content li { position: relative; margin-bottom: 10px; padding-left: 18px; }
.role-content li::before { content: ""; position: absolute; top: .72em; left: 0; width: 5px; height: 5px; background: #b3b8c1; border-radius: 50%; }
.role-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.role-tags span { color: #5c6472; background: #fafafa; }

.skills { background: var(--paper); }
.skills-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.skill-card { min-height: 390px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(17,24,39,.02); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.skill-card:hover { border-color: #c8ccd3; box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.skill-number { color: var(--accent); font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size: 11px; }
.skill-card h3 { margin: 38px 0 12px; font-size: 25px; }
.skill-card p { min-height: 72px; margin-bottom: 27px; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.skill-card ul { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.skill-card li { padding: 8px 0; color: #3e4654; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 580; }

.education { padding-top: 24px; }
.education-card { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; padding: clamp(35px,6vw,70px); background: #eceef2; border: 1px solid #dfe1e5; border-radius: var(--radius-lg); }
.education-card h2 { font-size: clamp(32px,3.7vw,48px); }
.degrees { display: grid; gap: 0; }
.degrees article { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 20px; padding: 22px 0; border-top: 1px solid #d4d7dc; }
.degrees article:last-child { border-bottom: 1px solid #d4d7dc; }
.degree-logo { display: grid; place-items: center; width: 64px; height: 64px; padding: 7px; overflow: hidden; background: #fff; border: 1px solid #d7dae0; border-radius: 15px; box-shadow: 0 7px 20px rgba(17,24,39,.05); transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
.degree-logo:hover { border-color: #c4c9d1; box-shadow: 0 10px 26px rgba(17,24,39,.09); transform: translateY(-2px); }
.degree-logo img { width: 100%; height: 100%; object-fit: contain; }
.degrees span { color: var(--ink-faint); font-size: 10px; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }
.degrees h3 { margin: 8px 0 6px; font-size: 19px; }
.degrees p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.beyond { padding-top: 64px; }
.beyond-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,.75fr); gap: 14px; }
.journey-card, .hobbies-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.journey-card { min-height: 520px; display: flex; flex-direction: column; padding: clamp(30px,4vw,48px); background: #eceef3; }
.journey-card::before { content: ""; position: absolute; width: 260px; height: 260px; top: -170px; right: -100px; border: 1px solid rgba(51,92,255,.12); border-radius: 50%; box-shadow: 0 0 0 58px rgba(51,92,255,.025), 0 0 0 116px rgba(51,92,255,.016); pointer-events: none; }
.card-kicker { margin: 0 0 13px; color: var(--accent); font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size: 9px; font-weight: 720; letter-spacing: .13em; text-transform: uppercase; }
.journey-copy { position: relative; z-index: 2; max-width: 520px; }
.journey-copy h3, .hobbies-card h3 { margin: 0; font-size: clamp(29px,3vw,40px); }
.journey-copy > p:last-child { max-width: 470px; margin: 16px 0 0; color: var(--ink-soft); font-size: 14px; }
.journey-map { position: relative; z-index: 1; display: grid; place-items: center; flex: 1; min-height: 285px; margin: 18px -10px -18px; }
.journey-map svg { width: 100%; height: auto; }
.map-grid { fill: none; stroke: #d5d9e2; stroke-width: 1; stroke-dasharray: 3 8; }
.map-land { fill: #dfe2e9; stroke: #cdd2dc; stroke-width: 1.25; stroke-linejoin: round; }
.journey-route-shadow, .journey-route { fill: none; stroke-linecap: round; }
.journey-route-shadow { stroke: rgba(51,92,255,.12); stroke-width: 8; }
.journey-route { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 620; stroke-dashoffset: 620; }
.location { opacity: 0; }
.location-dot { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.location-pulse { fill: rgba(51,92,255,.12); stroke: rgba(51,92,255,.25); stroke-width: 1; transform-box: fill-box; transform-origin: center; }
.location-start .location-dot { fill: #fff; stroke: var(--accent); stroke-width: 2.5; }
.location-start .location-pulse { fill: rgba(51,92,255,.08); stroke: rgba(51,92,255,.18); }
.location-end .location-dot { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.location-end .location-pulse { fill: rgba(51,92,255,.16); stroke: rgba(51,92,255,.32); }
.location text { fill: var(--ink); font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size: 10px; font-weight: 760; letter-spacing: .08em; }
.location .location-country { fill: var(--ink-faint); font-size: 8px; font-weight: 650; }
.is-tracing .journey-route { animation: route-draw 3.4s cubic-bezier(.22,1,.36,1) .2s forwards; }
.is-tracing .location-start { animation: location-in .35s ease-out .05s forwards; }
.is-tracing .location-end { animation: location-in .4s ease-out 3.35s forwards; }
.is-tracing .location-end .location-pulse { animation: location-pulse 1.25s ease-out 3.45s 2; }

.hobbies-card { min-height: 520px; padding: clamp(30px,3vw,42px); background: var(--surface); }
.hobbies-card h3 { max-width: 290px; margin-bottom: 28px; }
.hobby-list { display: grid; }
.hobby-item { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 19px 0; border-top: 1px solid var(--line); transition: padding-left 160ms ease; }
.hobby-item:last-child { border-bottom: 1px solid var(--line); }
.hobby-item:hover { padding-left: 5px; }
.hobby-item > span { padding-top: 3px; color: var(--ink-faint); font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.hobby-item strong { display: block; color: var(--ink); font-size: 15px; font-weight: 680; }
.hobby-item p { margin: 2px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }

@keyframes route-draw { to { stroke-dashoffset: 0; } }
@keyframes location-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes location-pulse { 0% { opacity: .7; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.9); } }

.contact-section { padding: 128px 0 48px; }
.contact-card { --chai: #d99955; --chai-light: #efc38d; position: relative; display: grid; grid-template-columns: minmax(0,.92fr) minmax(400px,1.08fr); grid-template-areas: "copy visual" "actions visual" "note visual"; align-items: center; column-gap: clamp(48px,6vw,84px); row-gap: 18px; padding: clamp(42px,6vw,70px); overflow: hidden; color: #fff; background: #151820; border: 1px solid #292d37; border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(18,22,31,.12); }
.contact-card::before { content: ""; position: absolute; width: 350px; height: 350px; left: -260px; top: -210px; border: 1px solid rgba(217,153,85,.18); border-radius: 50%; box-shadow: 0 0 0 65px rgba(217,153,85,.025), 0 0 0 130px rgba(217,153,85,.015); pointer-events: none; }
.contact-card .eyebrow { color: var(--chai-light); }
.contact-card h2 { position: relative; z-index: 1; color: #fff; }
.contact-copy { position: relative; z-index: 2; grid-area: copy; align-self: end; }
.contact-copy > p:not(.eyebrow) { max-width: 500px; margin: 24px 0 0; color: rgba(255,255,255,.66); }
.resume-note { grid-area: note; justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 1px; padding: 7px 11px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.11); border-radius: 999px; font-size: 10px; font-weight: 690; letter-spacing: .06em; text-transform: uppercase; }
.resume-note::before { content: ""; width: 6px; height: 6px; background: var(--chai-light); border-radius: 50%; box-shadow: 0 0 0 4px rgba(217,153,85,.12); }
.contact-actions { position: relative; z-index: 1; grid-area: actions; display: grid; gap: 9px; margin-top: 10px; }
.contact-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 15px 18px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; font-size: 13px; font-weight: 650; transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease; }
.contact-link:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.24); transform: translateY(-2px); }
.contact-link-primary { color: var(--ink); background: #fff; }
.contact-link-primary:hover { background: #f5f6fa; }
.contact-link small { display: block; margin-bottom: 2px; color: rgba(255,255,255,.5); font-size: 9px; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
.contact-link-primary small { color: var(--ink-faint); }
.contact-link svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.chai-visual { position: relative; z-index: 1; grid-area: visual; align-self: center; height: 430px; overflow: hidden; background: #1b1f28; border: 1px solid rgba(255,255,255,.085); border-radius: 20px; }
.chai-visual::before { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(255,255,255,.045); border-radius: 14px; pointer-events: none; }
.chai-message { position: absolute; z-index: 2; top: 30px; left: 32px; margin: 0; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.55; }
.chai-message strong, .chai-message span { display: block; }
.chai-message strong { margin-bottom: 5px; color: #fff; font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.chai-scene { position: absolute; top: 64%; left: 50%; width: calc(100% - 54px); max-width: 540px; height: auto; overflow: visible; transform: translate(-50%,-50%); }
.chai-table { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 1.4; stroke-linecap: round; }
.chai-pot { transform-box: view-box; transform-origin: 205px 167px; }
.chai-pot-body { fill: rgba(239,230,217,.035); stroke: #eee5d9; stroke-width: 3.2; stroke-linejoin: round; }
.chai-pot-spout, .chai-pot-handle, .chai-pot-lid, .chai-pot-accent { fill: none; stroke: #eee5d9; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.chai-pot-accent { stroke: rgba(239,195,141,.58); stroke-width: 2; }
.chai-stream { fill: none; stroke: #c47c37; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 138; stroke-dashoffset: 138; opacity: 0; }
.chai-drop { fill: #d99955; opacity: 0; }
.chai-cup-body { fill: rgba(239,230,217,.045); stroke: #eee5d9; stroke-width: 2.8; stroke-linejoin: round; }
.chai-cup-handle, .chai-cup-rim { fill: none; stroke: #eee5d9; stroke-width: 2.8; }
.chai-cup-rim { fill: #35323a; }
.chai-tea { fill: #b96f30; opacity: .2; transform-box: fill-box; transform-origin: center; transform: scaleX(.18); }
.chai-ripple { fill: none; stroke: rgba(239,195,141,.8); stroke-width: 1.8; opacity: 0; transform-box: fill-box; transform-origin: center; }
.chai-cup-back { opacity: .58; }
.chai-steam-line { fill: none; stroke: rgba(239,195,141,.72); stroke-width: 2.3; stroke-linecap: round; opacity: 0; }
.is-brewing .chai-stream { animation: chai-pour .88s cubic-bezier(.45,0,.2,1) .42s both; }
.is-brewing .chai-drop-one { animation: chai-drop .36s ease-in .68s 2; }
.is-brewing .chai-drop-two { animation: chai-drop .36s ease-in .84s 2; }
.is-brewing .chai-tea-front { animation: chai-fill .6s cubic-bezier(.22,1,.36,1) .72s forwards; }
.is-brewing .chai-tea-back { animation: chai-fill .56s cubic-bezier(.22,1,.36,1) 1.02s forwards; }
.is-brewing .chai-ripple { animation: chai-ripple .68s ease-out .98s 2; }
.is-brewing .chai-steam-line { animation: chai-steam 1.45s ease-out 1.28s forwards; }
.is-brewing .chai-steam-two { animation-delay: 1.42s; }
.is-brewing .chai-steam-three { animation-delay: 1.34s; }
.is-brewing .chai-steam-four { animation-delay: 1.5s; }

@keyframes chai-pour { 0% { stroke-dashoffset: 138; opacity: 0; } 18%,72% { opacity: .9; } 52% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -138; opacity: 0; } }
@keyframes chai-drop { 0% { opacity: 0; transform: translateY(-8px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(38px); } }
@keyframes chai-fill { from { opacity: .2; transform: scaleX(.18); } to { opacity: 1; transform: scaleX(1); } }
@keyframes chai-ripple { 0% { opacity: 0; transform: scale(.45); } 30% { opacity: .8; } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes chai-steam { 0% { opacity: 0; transform: translateY(6px); } 65% { opacity: .62; transform: translateY(-3px); } 100% { opacity: .42; transform: translateY(-5px); } }

.site-footer { padding: 50px 0 42px; }
.footer-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.footer-brand { margin-bottom: 12px; }
.footer-inner > div > p { margin: 0; color: var(--ink-faint); font-size: 12px; }
.footer-meta { display: flex; gap: 26px; color: var(--ink-faint); font-size: 11px; }
.footer-meta a { color: var(--ink); font-weight: 640; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 620ms cubic-bezier(.22,1,.36,1), transform 620ms cubic-bezier(.22,1,.36,1); }
.reveal[data-delay="1"] { transition-delay: 90ms; } .reveal[data-delay="2"] { transition-delay: 160ms; } .reveal[data-delay="3"] { transition-delay: 230ms; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .primary-nav a { padding-inline: 8px; }
  .hero-layout { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .hero h1 { font-size: clamp(48px,6.5vw,70px); }
  .skills-grid { grid-template-columns: repeat(2,1fr); }
  .skill-card { min-height: auto; }
  .capability-grid { grid-template-columns: repeat(2,1fr); }
  .capability-primary { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 34px,var(--shell)); }
  .site-header { background: rgba(247,247,245,.92); border-bottom-color: rgba(18,22,31,.07); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .nav-shell { min-height: 68px; grid-template-columns: 1fr auto; }
  .brand { position: relative; z-index: 2; }
  .brand-name { display: none; }
  .nav-toggle { display: block; position: relative; z-index: 3; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-of-type(2) { transform: translateY(3.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-of-type(3) { transform: translateY(-3.25px) rotate(-45deg); }
  .primary-nav { position: absolute; z-index: 1; top: 0; left: 0; width: 100vw; height: 100dvh; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; padding: 82px 24px 30px; background: var(--paper); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease; }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav a { padding: 10px 0; font-size: clamp(28px,9vw,48px); font-weight: 630; letter-spacing: -.045em; }
  .primary-nav a:hover, .primary-nav a[aria-current="true"] { background: transparent; }
  .nav-cta { display: none; }
  .hero { min-height: auto; padding: 124px 0 80px; }
  .hero-layout { grid-template-columns: 1fr; gap: 68px; }
  .hero-copy { max-width: 680px; }
  .portrait-stage { width: min(88%,480px); justify-self: center; }
  .role-pill { margin-bottom: 34px; }
  .signal-list { grid-template-columns: repeat(2,1fr); gap: 0; padding-block: 14px; }
  .signal-list span { padding: 10px 0; }
  .signal-list span:nth-child(2) { border-right: 0; }
  .section { padding: 92px 0; }
  .section-layout, .section-heading, .education-card, .contact-card { grid-template-columns: 1fr; }
  .section-layout { gap: 38px; }
  .about-copy { padding-top: 0; }
  .capability-block { margin-top: 68px; }
  .capability-heading { align-items: start; flex-direction: column; gap: 12px; }
  .section-heading { gap: 24px; margin-bottom: 45px; }
  .section-heading > p { max-width: 560px; }
  .role-card { grid-template-columns: 24px 155px 1fr; gap: 16px; }
  .education-card { gap: 34px; }
  .beyond-grid { grid-template-columns: 1fr; }
  .journey-card, .hobbies-card { min-height: auto; }
  .journey-map { min-height: 300px; }
  .hobbies-card h3 { max-width: none; }
  .hobby-list { grid-template-columns: repeat(2,1fr); border-bottom: 1px solid var(--line); }
  .hobby-item:nth-child(odd) { padding-right: 22px; }
  .hobby-item:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .hobby-item:last-child { border-bottom: 0; }
  .contact-card { grid-template-areas: "copy" "visual" "actions" "note"; row-gap: 28px; }
  .chai-visual { height: 330px; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 70px; }
  .shell { width: min(100% - 28px,var(--shell)); }
  .hero { padding-top: 108px; padding-bottom: 68px; }
  .hero-layout { gap: 32px; }
  .role-pill { margin-bottom: 28px; font-size: 10px; }
  .hero-kicker { font-size: 11px; }
  .hero h1 { margin-bottom: 20px; font-size: clamp(44px,14vw,61px); }
  .hero h1 br { display: none; }
  .hero-summary { font-size: 17px; line-height: 1.6; }
  .hero-actions { align-items: stretch; }
  .button-primary, .button-secondary { flex: 1 1 auto; }
  .hero-stack { gap: 8px 16px; }
  .portrait-stage { width: min(70vw,272px); }
  .portrait-frame { border-width: 6px; }
  .orbit-card { display: none; }
  .portrait-caption { inset-inline: 13px; bottom: 12px; display: block; }
  .portrait-caption div + div { display: none; }
  .portrait-caption strong { font-size: 11px; }
  .signal-list { grid-template-columns: 1fr; padding-block: 12px; }
  .signal-list span { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.1); }
  .signal-list span:last-child { border-bottom: 0; }
  .section { padding: 78px 0; }
  .section h2, .contact-section h2 { font-size: clamp(35px,11vw,46px); }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-primary { grid-column: auto; }
  .capability-card { min-height: 370px; padding: 24px; }
  .capability-card h3 { font-size: 31px; }
  .role-card { grid-template-columns: 18px 1fr; gap: 14px; padding: 34px 0; }
  .role-marker { grid-row: 1 / span 2; }
  .role-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 12px; }
  .role-meta .current-label { flex-basis: max-content; }
  .role-content { grid-column: 2; }
  .role-heading h3 { font-size: 21px; }
  .company-logo { width: 52px; height: 52px; padding: 6px; border-radius: 13px; }
  .company-logo-ivy { padding: 0; }
  .degrees article { grid-template-columns: 58px 1fr; gap: 14px; }
  .degree-logo { width: 52px; height: 52px; padding: 5px; border-radius: 12px; }
  .role-content li { font-size: 14px; }
  .skills-grid { grid-template-columns: 1fr; }
  .skill-card { padding: 24px; }
  .skill-card p { min-height: auto; }
  .education { padding-top: 0; }
  .education-card { padding: 32px 24px; }
  .beyond { padding-top: 30px; }
  .journey-card, .hobbies-card { padding: 27px 22px; border-radius: 22px; }
  .journey-copy h3, .hobbies-card h3 { font-size: 29px; }
  .journey-map { min-height: 220px; margin: 16px -14px -12px; }
  .location text { font-size: 16px; }
  .location .location-country { font-size: 11px; }
  .hobby-list { grid-template-columns: 1fr; border-bottom: 0; }
  .hobby-item:nth-child(odd), .hobby-item:nth-child(even) { padding-inline: 0; border-left: 0; }
  .hobby-item:last-child { border-bottom: 1px solid var(--line); }
  .contact-section { padding: 76px 0 30px; }
  .contact-card { padding: 32px 22px; row-gap: 24px; border-radius: 22px; }
  .contact-copy > p:not(.eyebrow) { margin-top: 18px; }
  .contact-actions { margin-top: 0; }
  .contact-link { min-height: 70px; padding: 14px; font-size: 12px; }
  .chai-visual { height: 210px; border-radius: 16px; }
  .chai-visual::before { inset: 9px; border-radius: 10px; }
  .chai-message { top: 18px; right: 20px; left: 20px; font-size: 11px; line-height: 1.45; }
  .chai-message strong { margin-bottom: 3px; font-size: 13px; }
  .chai-scene { top: 61%; width: calc(100% - 36px); }
  .chai-pot, .chai-stream, .chai-drop { display: none; }
  .chai-cups { transform-box: view-box; transform-origin: center; transform: translate(-112px,-30px) scale(1.22); }
  .chai-tea { opacity: 1; transform: scaleX(1); animation: none !important; }
  .chai-ripple { display: none; }
  .resume-note { margin-top: -3px; }
  .footer-inner { align-items: start; flex-direction: column; }
  .footer-meta { width: 100%; justify-content: space-between; gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .chai-pot { transform: none !important; }
  .chai-stream, .chai-drop { display: none; }
  .chai-tea { opacity: 1; transform: scaleX(1); }
  .chai-steam-line { opacity: .45; }
  .journey-route { stroke-dashoffset: 0; }
  .location { opacity: 1; }
}
