:root {
  --ink: #152436;
  --blue: #063c77;
  --blue-2: #0a5598;
  --mist: #f5f8fb;
  --soft: #e8eef5;
  --line: #d1dce8;
  --muted: #566476;
  --paper: #ffffff;
  --accent: #08a9b9;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: var(--blue); }
a:hover { color: var(--blue-2); }
.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 20; background: var(--blue); color: white; padding: 0.75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); }
.header-grid, .contact-grid { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.site-header .shell { padding: 1.3rem 0; }
.eyebrow, .section-kicker { margin: 0 0 0.4rem; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 800; color: var(--blue-2); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.12; }
h1 { color: var(--blue); font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: .2rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); letter-spacing: -.02em; }
h3 { margin-bottom: .25rem; font-size: 1.22rem; }
.tagline { color: var(--muted); margin: 0; font-weight: 600; }
.header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; align-items: center; }
.icon-link, .button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border-radius: .35rem; font-weight: 750; text-decoration: none; transition: transform .16s ease, background .16s ease; }
.icon-link:hover, .button:hover { transform: translateY(-1px); }
.icon-link { padding: .55rem .1rem; }
.icon-link svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.button { background: var(--blue); color: white; padding: .7rem 1rem; border: 1px solid var(--blue); }
.button:hover { color: white; background: var(--blue-2); }
.button-secondary { color: var(--blue); background: white; border-color: var(--line); }
.button-secondary:hover { color: var(--blue); background: var(--mist); }
.landing-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.landing-nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand-link { color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.landing-actions { display: flex; align-items: center; gap: 1.2rem; font-size: .95rem; font-weight: 750; }
.landing-actions a { text-decoration: none; }
.hero { display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: clamp(2rem, 6vw, 5.5rem); padding: clamp(4rem, 10vw, 7rem) 0; }
.hero-copy h2 { max-width: 15ch; color: var(--blue); margin-bottom: 1rem; }
.lede { max-width: 68ch; font-size: 1.12rem; color: #344559; }
.hero-buttons { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-top: 1.7rem; }
.text-link { font-weight: 750; text-underline-offset: .18em; }
.portrait-card { margin: 0; position: relative; justify-self: end; width: min(100%, 276px); border: 1px solid var(--line); padding: .55rem; background: white; box-shadow: 15px 15px 0 var(--soft); }
.portrait-card img { display: block; width: 100%; aspect-ratio: 238 / 308; object-fit: cover; object-position: center 42%; height: auto; }
.landing-page { min-height: calc(100vh - 68px); background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%); }
.landing-hero { min-height: calc(100vh - 68px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .72fr); align-items: center; gap: clamp(2.5rem, 6vw, 5rem); padding: clamp(3.25rem, 7vw, 5.25rem) 0; }
.landing-copy h1 { font-size: clamp(2.35rem, 5vw, 4.4rem); max-width: 13.5ch; margin-bottom: 1rem; }
.landing-lede { max-width: 60ch; color: #344559; font-size: clamp(1rem, 1.6vw, 1.16rem); margin-bottom: 1.15rem; }
.landing-meta { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.35rem; }
.landing-meta span { border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.82); color: #344559; font-size: .88rem; font-weight: 720; padding: .32rem .65rem; }
.landing-affiliations { margin: 0 0 1.45rem; padding: 1rem 1.05rem; border: 1px solid var(--line); border-radius: .55rem; background: rgba(255,255,255,.86); }
.landing-affiliations > span { display: block; margin-bottom: .75rem; color: var(--blue-2); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; max-width: 700px; }
.choice-card { min-height: 148px; display: grid; align-content: start; gap: .48rem; padding: 1.15rem; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: .5rem; background: white; color: var(--ink); text-decoration: none; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.choice-card:hover { color: var(--ink); transform: translateY(-2px); border-color: var(--blue-2); box-shadow: 0 14px 30px rgba(21,36,54,.12); }
.choice-card strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.18rem, 2vw, 1.52rem); line-height: 1.14; color: var(--blue); }
.choice-card span:last-child { color: var(--muted); }
.choice-kicker { color: var(--blue-2); font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.choice-primary { border-top-color: #2c8b57; }
.landing-portrait { margin: 0; justify-self: end; width: min(100%, 340px); border: 1px solid var(--line); padding: .6rem; background: white; box-shadow: 14px 14px 0 var(--soft); }
.landing-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.logo-strip { display: grid; grid-template-columns: repeat(7, minmax(74px, 1fr)); align-items: center; gap: .8rem; }
.logo-strip img { justify-self: center; max-width: min(100%, 108px); max-height: 38px; object-fit: contain; filter: saturate(.9); }
.logo-strip .logo-epfl { max-width: 96px; max-height: 28px; }
.logo-strip .logo-seal { max-width: 46px; max-height: 46px; }
.logo-strip .logo-maruti { max-width: 82px; max-height: 44px; }
.feature-band { padding: 3.6rem 0; background: var(--mist); border-top: 1px solid var(--soft); border-bottom: 1px solid var(--soft); }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.highlights-grid article { border-left: 3px solid var(--accent); padding: .3rem 0 .3rem 1rem; display: grid; gap: .25rem; }
.highlights-grid span { color: var(--muted); font-size: .95rem; line-height: 1.4; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(260px, .75fr); gap: clamp(2.3rem, 7vw, 6rem); padding: 5.5rem 0; }
.content-section { padding-bottom: 3.5rem; margin-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
.content-section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.timeline { list-style: none; padding: 0; margin: 1.7rem 0 0; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 1.4rem; padding: 0 0 1.55rem; margin-bottom: 1.55rem; border-bottom: 1px solid var(--soft); }
.timeline li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.timeline-date { color: var(--blue); font-size: .86rem; font-weight: 800; line-height: 1.45; text-transform: uppercase; letter-spacing: .08em; }
.timeline p, .education-list p, .side-card p { margin-bottom: 0; color: var(--muted); }
.entry-with-logo { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 1rem; }
.entry-logo { width: 82px; max-height: 48px; object-fit: contain; justify-self: center; }
.entry-logo.logo-epfl { max-height: 34px; }
.entry-logo.logo-seal { width: 58px; max-height: 58px; }
.entry-logo.logo-maruti { width: 72px; max-height: 58px; }
.publication-list { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.publication-list article { padding: 1.05rem 1.15rem; border: 1px solid var(--line); border-radius: .4rem; }
.pub-title { font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; }
.pub-meta { color: var(--muted); margin-bottom: 0; }
.education-list { display: grid; gap: 1rem; }
.education-list article { padding-left: 1.1rem; border-left: 3px solid var(--accent); }
.side-column { display: grid; align-content: start; gap: 1.2rem; }
.side-card { background: var(--mist); padding: 1.45rem; border: 1px solid var(--soft); }
.skill-list, .plain-list { margin: .85rem 0 0; padding-left: 1.1rem; }
.skill-list li, .plain-list li { margin: .42rem 0; }
.skill-list li::marker { color: var(--blue-2); }
.contact-band { background: var(--blue); color: white; padding: 3.6rem 0; }
.contact-band .section-kicker { color: #aeeff5; }
.contact-band h2 { margin-bottom: 0; max-width: 23ch; }
.contact-actions { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: flex-end; }
.button-light { color: var(--blue); background: white; border-color: white; }
.button-light:hover { color: var(--blue); background: var(--mist); }
.button-outline-light { color: white; background: transparent; border-color: rgba(255,255,255,.75); }
.button-outline-light:hover { background: rgba(255,255,255,.12); }
.site-footer { padding: 1.3rem 0; background: #042b56; color: #cddceb; font-size: .92rem; }
.footer-flex { display: flex; gap: 1rem; justify-content: space-between; }
.footer-flex p { margin: 0; }
@media (max-width: 820px) {
  .site-header { position: static; }
  .landing-nav { align-items: flex-start; flex-direction: column; justify-content: center; padding: 1rem 0; }
  .header-grid, .contact-grid { align-items: flex-start; flex-direction: column; }
  .header-actions { justify-content: flex-start; }
  .hero { grid-template-columns: 1fr; padding: 4rem 0; }
  .portrait-card { justify-self: start; }
  .landing-page { min-height: auto; }
  .landing-hero { min-height: auto; grid-template-columns: 1fr; padding: 3.2rem 0 2.8rem; }
  .landing-copy h1 { max-width: 100%; }
  .landing-portrait { justify-self: start; width: min(100%, 320px); }
  .logo-strip { grid-template-columns: repeat(4, minmax(82px, 1fr)); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .side-column { grid-template-columns: repeat(2, 1fr); }
  .side-card:last-child { grid-column: 1 / -1; }
  .contact-actions { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .shell { width: min(var(--max), calc(100% - 28px)); }
  h1 { font-size: 2.25rem; }
  .header-actions { gap: .4rem .75rem; }
  .icon-link span { display: none; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 150px; }
  .logo-strip { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  .entry-with-logo { grid-template-columns: 1fr; align-items: start; gap: .6rem; }
  .entry-logo { justify-self: start; }
  .highlights-grid, .side-column { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: .35rem; }
  .side-card:last-child { grid-column: auto; }
  .footer-flex { align-items: flex-start; flex-direction: column; }
}
@media print {
  .site-header { position: static; }
  .header-actions, .hero-buttons, .contact-band, .site-footer { display: none; }
  .hero { padding: 1.5rem 0; }
  .content-grid { padding: 2rem 0; }
}
