:root {
  --ink: #17201d;
  --muted: #65706b;
  --paper: #f4f0e8;
  --white: #fffefa;
  --line: #d5d1c8;
  --green: #0d6b4d;
  --mint: #a8e6c8;
  --coral: #ef6a50;
  --yellow: #f1c84b;
  --blue: #3578b8;
  --display: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
svg { width: 18px; height: 18px; stroke-width: 1.8; }

.rail { position: fixed; z-index: 20; inset: 0 auto 0 0; width: 76px; border-right: 1px solid var(--line); background: rgba(244,240,232,.94); backdrop-filter: blur(12px); display: flex; flex-direction: column; align-items: center; padding: 20px 0; }
.rail-brand { width: 42px; height: 42px; display: grid; place-items: center; background: var(--ink); color: white; font: 800 13px var(--display); }
.rail-nav { margin: auto 0; display: flex; flex-direction: column; gap: 8px; }
.rail-nav a, .rail-contact { position: relative; width: 42px; height: 42px; display: grid; place-items: center; color: #87908c; transition: .2s ease; }
.rail-nav a:hover, .rail-nav a.active, .rail-contact:hover { color: var(--green); background: var(--white); }
.rail-nav a.active::before { content: ""; position: absolute; left: -17px; width: 3px; height: 22px; background: var(--coral); }
.rail-nav span { position: absolute; left: 52px; opacity: 0; pointer-events: none; background: var(--ink); color: white; padding: 5px 9px; font-size: 11px; white-space: nowrap; transition: .2s; }
.rail-nav a:hover span { opacity: 1; }
.page { margin-left: 76px; overflow: hidden; }

.hero { min-height: min(820px, 100vh); padding: 0 clamp(32px,6vw,104px); position: relative; display: flex; flex-direction: column; background-color: var(--paper); background-image: linear-gradient(rgba(23,32,29,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(23,32,29,.045) 1px, transparent 1px); background-size: 40px 40px; }
.topbar { min-height: 88px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.wordmark { font: 800 14px var(--display); letter-spacing: 0; }
.top-links { display: flex; gap: 26px; }
.top-links a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 600; }
.top-links a:hover { color: var(--green); }
.top-links svg { width: 15px; }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(390px,.9fr); align-items: center; gap: 7vw; padding: 68px 0 48px; }
.eyebrow, .section-index { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 24px; height: 2px; background: var(--coral); }
.hero h1 { max-width: 780px; margin: 20px 0 26px; font: 800 clamp(46px,5.4vw,86px)/1.02 var(--display); letter-spacing: 0; }
.hero h1 em, .site-footer h2 em, .thesis h3 em { color: var(--green); font-style: normal; }
.intro { max-width: 650px; color: var(--muted); font-size: clamp(17px,1.5vw,21px); }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 28px; }
.primary-action { display: inline-flex; align-items: center; gap: 28px; padding: 15px 18px; background: var(--ink); color: white; font-weight: 700; font-size: 14px; }
.primary-action:hover { background: var(--green); }
.text-action { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--ink); padding: 8px 0; font-size: 14px; font-weight: 700; }
.hero-visual { aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; position: relative; }
.orbit { position: absolute; border: 1px solid #b8bcb6; border-radius: 50%; inset: 10%; }
.orbit-one::before, .orbit-two::before { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); top: 20%; left: 4%; }
.orbit-two { inset: 27%; border-style: dashed; transform: rotate(40deg); }
.orbit-two::before { background: var(--yellow); top: 4%; left: 70%; }
.core-mark { position: absolute; inset: 37%; border-radius: 50%; background: var(--green); color: white; display: flex; align-items: center; justify-content: center; gap: 9px; box-shadow: 0 18px 50px rgba(13,107,77,.2); }
.core-mark span { font: 800 36px var(--display); }
.core-mark small { font-size: 9px; line-height: 1.3; text-transform: uppercase; }
.signal { position: absolute; background: var(--white); border: 1px solid var(--line); padding: 14px 16px; min-width: 120px; box-shadow: 0 12px 30px rgba(23,32,29,.08); }
.signal::after { content: ""; position: absolute; width: 36px; height: 1px; background: var(--ink); }
.signal strong { display: block; font: 800 25px var(--display); }
.signal span { color: var(--muted); font-size: 11px; }
.signal-one { top: 8%; right: 0; }.signal-one::after { left: -36px; top: 50%; }
.signal-two { bottom: 17%; right: 0; }.signal-two::after { left: -36px; top: 50%; }
.signal-three { bottom: 9%; left: 0; }.signal-three::after { right: -36px; top: 50%; }
.hero-footer { min-height: 66px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.hero-footer span { display: flex; align-items: center; gap: 7px; }

.section { padding: clamp(76px,9vw,140px) clamp(32px,7vw,120px); }
.section-heading { margin-bottom: 50px; }
.section-heading h2 { margin: 10px 0 0; font: 800 clamp(34px,4vw,58px)/1.08 var(--display); letter-spacing: 0; }
.heading-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.heading-note { max-width: 370px; color: var(--muted); }
.impact-section { background: var(--white); }
.metric-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, 240px); gap: 12px; }
.metric { position: relative; overflow: hidden; border: 1px solid var(--line); padding: 26px; background: var(--paper); }
.metric-lead { grid-row: 1 / 3; background: var(--mint); display: flex; flex-direction: column; justify-content: center; padding: clamp(30px,4vw,64px); }
.metric:nth-child(2) { grid-column: 2 / 4; }
.metric-dark { background: var(--ink); color: white; }
.metric-icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: white; margin-bottom: 34px; }
.metric strong { font: 800 clamp(46px,5vw,78px)/1 var(--display); letter-spacing: 0; }
.metric h3 { margin: 10px 0 6px; font: 800 18px var(--display); }
.metric p { max-width: 390px; margin: 0; color: var(--muted); font-size: 14px; }
.metric-dark p { color: #b9c1bd; }
.metric-kicker { display: block; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.before-after { margin-top: 36px; display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; }
.spark { position: absolute; right: 25px; bottom: 22px; height: 65px; display: flex; gap: 5px; align-items: end; }
.spark i { width: 9px; background: var(--coral); }
.meter { position: absolute; left: 26px; right: 26px; bottom: 22px; height: 4px; background: #46504c; }.meter span { display: block; height: 100%; background: var(--yellow); }
.donut { position: absolute; right: 24px; bottom: 22px; width: 58px; height: 58px; border: 8px solid var(--line); border-top-color: var(--green); border-right-color: var(--green); border-radius: 50%; display: grid; place-items: center; transform: rotate(25deg); }.donut span { font-size: 9px; font-weight: 800; transform: rotate(-25deg); }

.experience-section { background: var(--paper); }
.timeline { max-width: 1160px; margin: 0 auto; }
.role { display: grid; grid-template-columns: 145px 30px 1fr; gap: 22px; }
.role-time { padding-top: 30px; }.role-time strong { display: block; font: 800 12px var(--display); }.role-time span { color: var(--muted); font-size: 12px; }
.role-marker { border-left: 1px solid #b8bcb6; position: relative; }.role-marker span { position: absolute; top: 34px; left: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 3px solid var(--green); }
.role-featured .role-marker span { background: var(--coral); border-color: var(--coral); box-shadow: 0 0 0 5px rgba(239,106,80,.14); }
.role-content { border-top: 1px solid var(--line); padding: 26px 0 56px; }
.role-title { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.role-title p { margin: 0 0 2px; color: var(--green); font-size: 12px; font-weight: 700; }
.role-title h3 { margin: 0; font: 800 clamp(21px,2.2vw,30px) var(--display); }
.role-tag { border: 1px solid var(--line); padding: 5px 8px; color: var(--muted); font-size: 9px; font-weight: 800; white-space: nowrap; }
.role-content > p, .role-content li { color: var(--muted); }
.role-content ul { padding-left: 18px; }
.role-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }.role-chips span { padding: 5px 9px; background: var(--white); border: 1px solid var(--line); color: var(--green); font-size: 10px; font-weight: 700; }

.research-section { background: var(--ink); color: white; }
.research-section .section-index { color: var(--mint); }.research-section .heading-note { color: #a9b1ad; }
.research-stat { display: flex; align-items: end; gap: 10px; }.research-stat strong { color: var(--yellow); font: 800 64px/1 var(--display); }.research-stat span { color: #a9b1ad; font-size: 11px; }
.thesis { border: 1px solid #46504c; display: grid; grid-template-columns: .55fr 1.3fr 1fr; }
.thesis > div { padding: clamp(24px,3vw,42px); }.thesis > div + div { border-left: 1px solid #46504c; }
.thesis-label { display: flex; flex-direction: column; justify-content: space-between; color: var(--mint); font-size: 10px; font-weight: 800; }.thesis-label strong { color: white; }
.thesis-main > p:first-child { color: #9ca6a1; font-size: 11px; }
.thesis h3 { margin: 34px 0 22px; font: 800 clamp(28px,3vw,43px)/1.06 var(--display); }
.thesis-summary { color: #bcc3c0; font-size: 14px; }
.thesis-results { display: flex; flex-direction: column; justify-content: center; gap: 28px; background: #202b27; }.thesis-results div { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: #c5cbc8; font-size: 12px; }.thesis-results svg { color: var(--yellow); }
.internships { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; gap: 18px; }.internships article { border-top: 3px solid var(--coral); padding: 28px; background: #202b27; }.internships article + article { border-color: var(--blue); }.internship-top { display: flex; justify-content: space-between; color: var(--mint); font-size: 9px; font-weight: 800; }.internships h3 { font: 800 21px var(--display); }.internships p { color: #aeb7b3; font-size: 13px; }

.education-section { background: var(--white); }
.education-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.degree { min-height: 260px; padding: 40px; background: var(--green); color: white; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.degree-seal { width: 90px; height: 90px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: grid; place-items: center; font: 800 28px var(--display); }.degree-seal span { color: var(--yellow); }
.degree span { color: var(--mint); font-size: 10px; font-weight: 800; }.degree h3 { margin: 10px 0; font: 800 26px/1.2 var(--display); }.degree p { margin: 0; color: #cbe6da; font-size: 13px; }.degree > strong { font: 800 58px var(--display); }.degree > strong small { font-size: 16px; }
.rank-list { border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }.rank-list > div { padding: 24px; display: flex; gap: 15px; align-items: center; }.rank-list > div:nth-child(odd) { border-right: 1px solid var(--line); }.rank-list > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.rank-list strong { color: var(--coral); font: 800 32px var(--display); }.rank-list span { font-size: 11px; font-weight: 700; }.rank-list svg { color: var(--green); width: 30px; height: 30px; }

.projects-section { background: var(--paper); }
.project-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }.project-grid article { min-height: 260px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }.project-grid article > span { color: var(--green); font-size: 9px; font-weight: 800; }.project-grid h3 { margin: 30px 0 10px; font: 800 24px var(--display); }.project-grid p { color: var(--muted); font-size: 13px; }.project-tech { margin-top: auto; color: var(--coral); font-size: 10px; font-weight: 800; }
.community-strip { margin-top: 18px; display: grid; grid-template-columns: repeat(4,1fr); background: var(--yellow); }.community-strip > div { min-height: 150px; padding: 24px; border-right: 1px solid rgba(23,32,29,.2); }.community-strip svg { margin-bottom: 18px; }.community-strip p { margin: 0; }.community-strip strong, .community-strip span { display: block; }.community-strip strong { font: 800 14px var(--display); }.community-strip span { margin-top: 5px; font-size: 10px; }

.site-footer { min-height: 400px; padding: 80px clamp(32px,7vw,120px); display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; background: var(--green); color: white; }
.site-footer .section-index { color: var(--mint); }.site-footer h2 { margin: 14px 0 0; font: 800 clamp(45px,6vw,80px)/1 var(--display); }.site-footer h2 em { color: var(--yellow); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }.footer-contact a { display: flex; align-items: center; justify-content: space-between; width: 100%; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.35); font-weight: 700; }.footer-contact p { color: #b9dbc9; font-size: 11px; }

@media (max-width: 900px) {
  .rail { display: none; }.page { margin-left: 0; }.hero { padding: 0 24px; min-height: auto; }.topbar { min-height: 72px; }.top-links a span { display: none; }.top-links { gap: 14px; }.hero-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 48px; }.hero-visual { max-width: 420px; }.hero-footer { margin-top: 30px; }.metric-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }.metric { min-height: 240px; }.metric-lead { grid-row: auto; }.metric:nth-child(2) { grid-column: auto; }.thesis { grid-template-columns: 1fr 2fr; }.thesis-results { grid-column: 1 / 3; }.thesis > .thesis-results { border-left: 0; border-top: 1px solid #46504c; }.education-grid { grid-template-columns: 1fr; }.community-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .hero h1 { font-size: 44px; }.wordmark { font-size: 12px; }.top-links { gap: 8px; }.top-links a { width: 34px; height: 34px; justify-content: center; border: 1px solid var(--line); }.hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }.hero-visual { margin: 20px 0; }.signal { padding: 9px; min-width: 94px; }.signal strong { font-size: 19px; }.core-mark span { font-size: 28px; }.availability { display: none !important; }.section { padding: 70px 22px; }.heading-row { align-items: flex-start; flex-direction: column; }.metric-grid { grid-template-columns: 1fr; }.metric { min-height: 230px; }.role { grid-template-columns: 20px 1fr; gap: 12px; }.role-time { grid-column: 2; padding: 0; }.role-marker { grid-column: 1; grid-row: 1 / 3; }.role-marker span { top: 5px; }.role-content { grid-column: 2; padding-top: 12px; }.role-title { flex-direction: column; }.role-tag { order: -1; }.research-stat { display: none; }.thesis { grid-template-columns: 1fr; }.thesis > div + div { border-left: 0; border-top: 1px solid #46504c; }.thesis-results { grid-column: auto; }.internships { grid-template-columns: 1fr; }.degree { grid-template-columns: 1fr; padding: 28px; }.degree-seal { width: 66px; height: 66px; }.rank-list { grid-template-columns: 1fr; }.rank-list > div { border-right: 0 !important; border-bottom: 1px solid var(--line); }.project-grid { grid-template-columns: 1fr; }.community-strip { grid-template-columns: 1fr; }.community-strip > div { min-height: 120px; }.site-footer { grid-template-columns: 1fr; min-height: 500px; padding: 70px 22px; }.footer-contact a { font-size: 13px; }
}

@media print {
  .rail, .topbar, .hero-actions { display: none; }.page { margin: 0; }.hero { min-height: 0; }.section { padding: 35px 25px; }.hero-grid { padding: 35px 0; }.hero h1 { font-size: 48px; }.metric-grid { break-inside: avoid; }.role, .thesis, .internships article, .project-grid article { break-inside: avoid; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s both; }.hero-copy > *:nth-child(2) { animation-delay: .08s; }.hero-copy > *:nth-child(3) { animation-delay: .16s; }.hero-copy > *:nth-child(4) { animation-delay: .24s; }.hero-visual { animation: rise .8s .2s both; }.orbit-one { animation: spin 24s linear infinite; }.orbit-two { animation: spin-reverse 18s linear infinite; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes spin { to { transform: rotate(360deg); } } @keyframes spin-reverse { from { transform: rotate(40deg); } to { transform: rotate(-320deg); } }
}