:root {
  --ink: #122a2d;
  --deep: #082f35;
  --deep-2: #0d3d43;
  --teal: #0f6b70;
  --mint: #b9eadf;
  --cream: #f4f0e8;
  --paper: #fbfaf6;
  --coral: #ef7f68;
  --line: rgba(18, 42, 45, 0.16);
  --muted: #536466;
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* { 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; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, 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; z-index: 999; left: 16px; top: -100px; padding: 10px 16px; color: white; background: var(--deep); }
.skip-link:focus { top: 16px; }

.site-header { position: absolute; z-index: 20; top: 0; width: 100%; color: white; }
.nav-wrap { height: 92px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; text-decoration: none; letter-spacing: -0.02em; }
.wordmark-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-family: var(--serif); }
nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
nav a { text-decoration: none; color: rgba(255,255,255,.78); transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: white; }
.nav-contact { padding: 9px 17px; color: white; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; }
.menu-button { display: none; color: white; background: none; border: 0; padding: 8px; }

.hero { min-height: 790px; color: white; background: var(--deep); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -270px; top: -260px; border: 1px solid rgba(185,234,223,.14); border-radius: 50%; box-shadow: 0 0 0 90px rgba(185,234,223,.025), 0 0 0 180px rgba(185,234,223,.018); }
.hero-grid { min-height: 790px; padding-top: 142px; padding-bottom: 82px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 90px; position: relative; }
.eyebrow { margin: 0 0 22px; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.light { color: var(--mint); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; line-height: .98; }
h1 { max-width: 720px; margin-bottom: 28px; font-size: clamp(60px, 7vw, 102px); }
h1 em { color: var(--mint); font-weight: 500; }
.hero-intro { max-width: 670px; margin-bottom: 36px; color: rgba(255,255,255,.72); font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-bottom: 58px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 20px; border-radius: 3px; font-weight: 600; font-size: 14px; text-decoration: none; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--deep); background: var(--mint); }
.button-primary:hover { background: white; }
.text-link { color: white; text-decoration: none; font-size: 14px; font-weight: 600; }
.text-link span { margin-left: 8px; }
.hero-roles { display: flex; gap: 36px; color: rgba(255,255,255,.54); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.hero-roles p { margin: 0; max-width: 180px; }
.hero-roles a { color: inherit; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.hero-visual { position: relative; align-self: stretch; display: flex; align-items: center; }
.portrait-frame { position: relative; width: 100%; transform: translateY(28px); }
.portrait-frame::before { content: ""; position: absolute; inset: -22px 22px 22px -22px; border: 1px solid rgba(185,234,223,.32); }
.portrait-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 47% center; filter: saturate(.85) contrast(1.03); }
.visual-note { position: absolute; right: -22px; bottom: 70px; padding: 14px 18px; color: var(--deep); background: var(--cream); box-shadow: 0 14px 45px rgba(0,0,0,.18); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pulse { width: 7px; height: 7px; display: inline-block; margin-right: 9px; border-radius: 50%; background: var(--coral); }

.signal-strip { color: white; background: var(--teal); }
.signal-grid { min-height: 112px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.signal-grid p { margin: 0; padding: 0 40px; border-left: 1px solid rgba(255,255,255,.2); }
.signal-grid p:first-child { padding-left: 0; border: 0; }
.signal-grid strong, .signal-grid span { display: block; }
.signal-grid strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.signal-grid span { color: rgba(255,255,255,.66); font-size: 12px; }

.section { padding: 130px 0; }
.section-heading { max-width: 770px; margin-bottom: 62px; }
.section-heading h2, .impact h2, .phd h2, .contact-band h2 { margin-bottom: 24px; font-size: clamp(44px, 5vw, 72px); }
.section-heading > p:last-child { max-width: 650px; color: var(--muted); font-size: 18px; }
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 42px; }
.topic-card { padding: 38px 34px 42px 0; }
.topic-card + .topic-card { padding-left: 34px; border-left: 1px solid var(--line); }
.topic-number, .impact-kicker { color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.topic-card h3 { margin: 28px 0 14px; font-family: var(--serif); font-size: 28px; font-weight: 600; }
.topic-card p { margin-bottom: 0; color: var(--muted); }
.button-outline { border: 1px solid var(--ink); }
.button-outline:hover { color: white; background: var(--ink); }

.impact { color: white; background: var(--deep); }
.impact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 120px; }
.impact-intro { position: sticky; top: 60px; align-self: start; }
.impact-intro > p:not(.eyebrow) { max-width: 480px; color: rgba(255,255,255,.62); font-size: 18px; }
.illustration-card { width: min(300px, 80%); margin: 58px 0 0 auto; padding: 12px 12px 10px; background: #e8dfd2; transform: rotate(2deg); box-shadow: 0 20px 55px rgba(0,0,0,.25); }
.illustration-card img { width: 100%; aspect-ratio: 253 / 339; object-fit: cover; }
.illustration-card figcaption { padding: 9px 5px 0; color: var(--deep); font-family: var(--serif); font-size: 15px; text-align: center; }
.impact-list article { padding: 0 0 46px; margin-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.16); }
.impact-list article:last-child { margin-bottom: 0; }
.impact-list h3 { margin: 10px 0 14px; font-family: var(--serif); font-size: 32px; font-weight: 500; }
.impact-list p:last-child { max-width: 650px; margin: 0; color: rgba(255,255,255,.62); }
.impact-list p:last-child a { color: rgba(255,255,255,.9); text-decoration-color: rgba(185,234,223,.55); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.impact-list p:last-child a:hover { color: var(--mint); }
.impact-kicker { color: var(--mint); }

.programmes { padding: 100px 0; color: white; background: var(--teal); }
.programmes-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.programmes h2 { max-width: 520px; margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 68px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.programmes-copy > p { max-width: 630px; margin-bottom: 34px; color: rgba(255,255,255,.75); font-size: 18px; }
.programme-links { border-top: 1px solid rgba(255,255,255,.3); }
.programme-links a { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid rgba(255,255,255,.3); font-family: var(--serif); font-size: 21px; line-height: 1.25; text-decoration: none; }
.programme-links a span:last-child { font-family: var(--sans); transition: transform .2s ease; }
.programme-links a:hover span:last-child { transform: translate(3px, -3px); }

.phd { background: var(--cream); }
.phd-card { padding: 82px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; background: var(--mint); position: relative; overflow: hidden; }
.phd-card::after { content: ""; width: 370px; height: 370px; position: absolute; left: -180px; bottom: -230px; border: 1px solid rgba(8,47,53,.2); border-radius: 50%; box-shadow: 0 0 0 55px rgba(8,47,53,.035), 0 0 0 110px rgba(8,47,53,.025); }
.phd-label { display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.orbit { width: 110px; height: 110px; border: 1px solid rgba(8,47,53,.35); border-radius: 50%; position: relative; }
.orbit::after { content: ""; width: 11px; height: 11px; position: absolute; right: 5px; top: 18px; border-radius: 50%; background: var(--coral); }
.phd-copy { position: relative; z-index: 1; }
.phd-copy h2 { max-width: 650px; }
.phd-copy > p { max-width: 660px; font-size: 18px; }
.phd-instruction { padding-left: 20px; border-left: 3px solid var(--teal); font-weight: 600; }
.button-accent { margin-top: 14px; color: white; background: var(--deep); }
.button-accent:hover { background: var(--teal); }

.work-heading { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: end; }
.work-heading > p:last-child { padding-bottom: 15px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.work-card { min-height: 330px; padding: 40px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.work-card:hover { transform: translateY(-5px); border-color: var(--teal); background: white; }
.work-icon { width: 48px; height: 48px; display: grid; place-items: center; color: white; background: var(--teal); border-radius: 50%; font-size: 20px; }
.work-card h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 31px; }
.work-card p { max-width: 510px; color: var(--muted); }
.work-card a { color: var(--teal); font-size: 14px; font-weight: 700; text-decoration: none; }

.contact-band { padding: 96px 0; color: white; background: var(--teal); }
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: end; }
.contact-band h2 { margin: 0; }
.email-link { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.4); font-family: var(--serif); font-size: clamp(25px, 3.2vw, 42px); text-decoration: none; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 26px; }
.social-links a { color: rgba(255,255,255,.76); font-size: 13px; text-decoration: none; }
.social-links a:hover { color: white; }
footer { padding: 28px 0; color: rgba(255,255,255,.52); background: var(--deep); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-inner p { margin: 0; }
.footer-inner a { text-decoration: none; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
@media (max-width: 900px) {
  .shell { width: min(100% - 32px, 720px); }
  .menu-button { width: 42px; height: 42px; display: grid; align-content: center; gap: 6px; }
  .menu-button span:not(.sr-only) { display: block; width: 24px; height: 2px; background: white; }
  nav { position: absolute; top: 78px; left: 16px; right: 16px; padding: 22px; display: none; flex-direction: column; align-items: stretch; gap: 14px; color: white; background: var(--deep-2); box-shadow: 0 20px 45px rgba(0,0,0,.22); }
  nav.open { display: flex; }
  .nav-contact { text-align: center; }
  .hero-grid { min-height: auto; padding-top: 135px; grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { width: min(540px, 100%); margin: 0 auto; }
  .portrait-frame { transform: none; }
  .portrait-frame img { aspect-ratio: 4 / 4.5; }
  .visual-note { right: -5px; bottom: 20px; }
  .signal-grid { grid-template-columns: 1fr; padding: 25px 0; }
  .signal-grid p, .signal-grid p:first-child { padding: 13px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .signal-grid p:first-child { border-top: 0; }
  .topic-grid, .impact-layout, .programmes-layout, .phd-card, .work-heading, .work-grid, .contact-layout { grid-template-columns: 1fr; }
  .topic-card, .topic-card + .topic-card { padding: 30px 0; border-left: 0; border-top: 1px solid var(--line); }
  .topic-card:first-child { border-top: 0; }
  .impact-layout, .programmes-layout, .work-heading, .contact-layout { gap: 50px; }
  .impact-intro { position: static; }
  .illustration-card { width: 240px; margin: 40px 0 0; }
  .phd-card { padding: 54px 38px; gap: 42px; }
  .phd-label { min-height: 0; flex-direction: row; align-items: center; }
  .orbit { width: 70px; height: 70px; }
  .work-card { min-height: 300px; }
}

@media (max-width: 580px) {
  .section { padding: 88px 0; }
  .hero-grid { padding-bottom: 60px; }
  h1 { font-size: 58px; }
  .hero-intro { font-size: 17px; }
  .hero-actions, .hero-roles, .footer-inner { align-items: flex-start; flex-direction: column; }
  .hero-actions { gap: 20px; }
  .hero-roles { gap: 9px; }
  .portrait-frame::before { inset: -12px 12px 12px -12px; }
  .visual-note { position: static; width: fit-content; margin: -12px 0 0 auto; }
  .phd-card { width: 100%; padding: 42px 24px; }
  .phd-label { align-items: flex-start; }
  .orbit { display: none; }
  .work-card { padding: 30px; }
  .email-link { word-break: break-word; }
}

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