:root {
  --ink: #102036;
  --navy: #071b33;
  --blue: #164e77;
  --accent: #c49348;
  --paper: #f7f8fa;
  --white: #ffffff;
  --line: #d9e0e8;
  --muted: #5a687a;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: inherit; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; background: var(--white); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.section-shell { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }

.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 0 max(1.5rem, calc((100vw - var(--max)) / 2)); background: rgba(247,248,250,.95); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand-name { font-size: .92rem; letter-spacing: -.02em; }
.site-nav { margin-right: auto; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; background: var(--navy); color: var(--white); font-family: var(--serif); font-size: .9rem; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.header-actions { display: flex; align-items: center; gap: .8rem; order: 3; }
.language-switcher { display: inline-flex; border: 1px solid var(--line); background: var(--white); }
.language-switcher button { min-width: 38px; height: 34px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--muted); font: 700 .72rem var(--sans); cursor: pointer; }
.language-switcher button:last-child { border-right: 0; }
.language-switcher button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.site-nav a { text-decoration: none; color: #34445a; font-size: .92rem; font-weight: 600; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--blue); }
.menu-button { display: none; border: 1px solid var(--line); background: var(--white); padding: .55rem .8rem; font: inherit; font-weight: 600; color: var(--ink); }

.hero { min-height: 680px; display: grid; grid-template-columns: 300px 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; padding-block: clamp(4rem, 8vw, 7rem); }
.profile-card { border-top: 5px solid var(--accent); background: var(--white); padding: 1.5rem; box-shadow: 0 18px 50px rgba(7,27,51,.08); }
.portrait-frame { width: 100%; height: 290px; overflow: hidden; background: var(--navy); }
.portrait { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; transform: scale(1.15); transform-origin: center 62%; }
.profile-name { margin: 1.3rem 0 .3rem; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.25; text-align: center; }
.profile-role { margin: 0 0 1.2rem; color: var(--muted); text-align: center; line-height: 1.5; }
.profile-facts { margin: 0 0 1.1rem; border-top: 1px solid var(--line); }
.profile-facts div { display: grid; grid-template-columns: 76px 1fr; padding: .65rem 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.profile-facts dt { color: var(--muted); }
.profile-facts dd { margin: 0; font-weight: 600; }
.profile-contact { display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center; }
.social-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1rem; }
.social-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 700; text-decoration: none; }
.social-link svg { width: 21px; height: 21px; fill: currentColor; }
.linkedin-link { color: #0a66c2; }
.instagram-link { color: #9b245f; }
.social-link:hover, .social-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.text-link { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; }

.eyebrow, .publication-type { margin: 0 0 1rem; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; }
.hero h1 { max-width: 800px; margin: 0; font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 5.6rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.hero-lead { max-width: 720px; margin: 2rem 0; color: #405066; font-size: clamp(1.08rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 3rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.2rem; text-decoration: none; font-weight: 700; font-size: .92rem; border: 1px solid var(--navy); transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: var(--white); }
.button-secondary { background: transparent; color: var(--navy); }
.signal-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.signal-list li { min-height: 130px; padding: 1rem; background: var(--paper); display: flex; flex-direction: column; gap: .4rem; }
.signal-list strong { font-family: var(--serif); font-size: 1.15rem; }
.signal-list span { color: var(--muted); font-size: .82rem; line-height: 1.45; }

.content-section { padding-block: clamp(4.5rem, 9vw, 8rem); border-top: 1px solid var(--line); scroll-margin-top: 76px; }
.split-section { display: grid; grid-template-columns: minmax(210px, 1fr) minmax(0, 2.2fr); gap: clamp(2rem, 7vw, 7rem); }
.section-number { color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .14em; margin: 0 0 .5rem; }
h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.7rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; margin: 0; }
.prose { max-width: 760px; }
.prose p { color: #46566b; }
.prose .large-copy { color: var(--ink); font-family: var(--serif); font-size: clamp(1.55rem, 2.5vw, 2.15rem); line-height: 1.35; margin-top: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.section-heading > p { max-width: 460px; margin: 0; color: var(--muted); }
.expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.expertise-grid article { min-height: 270px; background: var(--white); padding: clamp(1.4rem, 3vw, 2.4rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-index { color: var(--accent); font-family: var(--serif); }
h3 { margin: .7rem 0 .8rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.25; }
.expertise-grid p, .timeline p, .research-list p, .featured-publication p, .engagement-list p { color: var(--muted); }
.timeline article { display: grid; grid-template-columns: 120px 1fr; gap: 2rem; padding: 0 0 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.timeline-date { margin: .2rem 0 0; color: var(--accent) !important; font-weight: 700; font-size: .82rem; }
.timeline h3 { margin-top: 0; }
.timeline .organisation { color: var(--ink); font-weight: 600; margin: -.5rem 0 .5rem; }

.research-section { background: var(--white); width: 100%; padding-inline: max(1.5rem, calc((100vw - var(--max)) / 2)); }
.featured-publication { display: grid; grid-template-columns: 270px 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(2rem, 5vw, 4.5rem); background: var(--navy); color: var(--white); }
.featured-publication p { color: #c6d0dc; max-width: 720px; }
.featured-publication .publication-type, .featured-publication .text-link { color: #e1b872; }
.featured-publication h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.publication-actions { display: flex; flex-wrap: wrap; gap: .85rem 1.5rem; margin-top: 1.5rem; }
.series-publication { display: grid; grid-template-columns: 270px 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); border-top: 0; background: #f3f5f8; }
.series-publication > div { max-width: 720px; }
.series-publication h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.series-publication p:not(.publication-type) { color: var(--muted); }
.series-cover { display: block; width: min(100%, 250px); max-height: 360px; object-fit: contain; margin-inline: auto; box-shadow: 0 14px 34px rgba(7,27,51,.18); }
.series-publication .button { margin-top: 1rem; }
.book-cover { display: block; width: min(100%, 250px); max-height: 390px; object-fit: contain; margin-inline: auto; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.research-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.research-list article { padding-top: 1.5rem; border-top: 3px solid var(--line); }
.research-list .publication-type { margin-bottom: .7rem; }

.engagement-list article { display: grid; grid-template-columns: 70px 1fr; gap: 2rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.engagement-list time { color: var(--accent); font-weight: 700; font-size: .85rem; }
.engagement-list h3 { margin-top: 0; }
.engagement-list p { margin-bottom: 0; }
.engagement-link { display: inline-block; margin-top: .65rem; color: var(--blue); font-size: .86rem; font-weight: 700; text-underline-offset: 4px; }
.engagement-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 14vw, 190px); gap: .5rem; margin: 0 0 1.4rem; overflow: hidden; background: var(--line); }
.engagement-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-three img:first-child { grid-row: span 2; }
.gallery-five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-five img:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-five img:last-child { grid-column: span 2; }
.gallery-lunar img:first-child { object-fit: contain; background: var(--white); }
.contact-section { background: var(--navy); color: var(--white); padding-block: clamp(4.5rem, 9vw, 8rem); scroll-margin-top: 76px; }
.contact-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.contact-inner h2 { max-width: 700px; }
.contact-inner > div:last-child > p:first-child { color: #c7d1dd; margin-top: .3rem; }
.button-light { margin-top: 1rem; background: var(--white); color: var(--navy); border-color: var(--white); }
.site-footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: var(--muted); font-size: .82rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 230px 1fr; gap: 2.5rem; }
  .portrait-frame { height: 235px; }
  .signal-list { grid-template-columns: 1fr; }
  .signal-list li { min-height: 0; }
  .research-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section-shell { width: min(calc(100% - 2rem), var(--max)); }
  .menu-button { display: block; }
  .site-header { flex-wrap: wrap; padding-block: .65rem; }
  .site-nav { margin-right: 0; }
  .header-actions { margin-left: auto; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 1.25rem 1rem; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .4rem .2rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 2.2rem; }
  .profile-card { display: block; }
  .portrait-frame { height: min(88vw, 390px); }
  .portrait { object-position: center bottom; transform: scale(1.12); }
  .profile-name { margin-top: 1.2rem; text-align: center; }
  .profile-role { margin-bottom: 1rem; }
  .profile-facts { margin-top: 1rem; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .split-section, .contact-inner { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 1.3rem; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-grid article { min-height: 0; }
  .timeline article { grid-template-columns: 1fr; gap: .4rem; }
  .featured-publication { grid-template-columns: 1fr; padding: 1.5rem; }
  .series-publication { grid-template-columns: 1fr; padding: 1.5rem; }
  .book-cover { max-height: 340px; }
  .engagement-list article { grid-template-columns: 1fr; gap: .2rem; }
  .engagement-gallery { grid-auto-rows: clamp(110px, 34vw, 180px); margin-top: .6rem; }
  .site-footer { padding-block: 1.5rem; align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (max-width: 470px) {
  .brand-name { max-width: 150px; font-size: .72rem; line-height: 1.25; }
  .language-switcher button { min-width: 32px; }
  .header-actions { gap: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
