:root {
  --paper: #f7f7f3;
  --paper-deep: #efefea;
  --ink: #111214;
  --muted: #686d73;
  --line: rgba(17, 18, 20, 0.14);
  --accent: #5b5ff5;
  --accent-dark: #474bdc;
  --accent-soft: #e8e8ff;
  --white: #fff;
  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 28px;
  --shell: 1240px;
  --header: 84px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  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.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: radial-gradient(rgba(17,18,20,.05) .6px, transparent .6px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, #000, transparent 35%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
p, h1, h2, h3 { margin-top: 0; }

a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(91,95,245,.42);
  outline-offset: 4px;
}

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding: 132px 0; }
.section-compact { padding: 76px 0 112px; }
.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; left: 20px; top: -80px; z-index: 1000; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: #fff; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header);
  border-bottom: 1px solid transparent;
  background: rgba(247,247,243,.83);
  backdrop-filter: blur(18px);
  transition: height .25s var(--ease), border-color .25s;
}

.site-header.is-scrolled { height: 72px; border-color: var(--line); }
.nav-shell { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 12px; font-weight: 800; letter-spacing: -.03em; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 15px; letter-spacing: -.01em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 12px; letter-spacing: .035em; }
.site-nav { display: flex; align-items: center; gap: 31px; font-size: 14px; font-weight: 580; }
.site-nav > a:not(.nav-cta) { position: relative; }
.site-nav > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: -5px; left: 0; height: 1px; content: ""; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.site-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 11px 17px; border-radius: 999px; background: var(--ink); color: #fff; transition: background .2s, transform .2s; }
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 100%; height: 1px; margin: 5px 0; background: var(--ink); transition: transform .2s, opacity .2s; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(350px, .72fr);
  column-gap: 76px;
  row-gap: 58px;
  min-height: calc(100vh - var(--header));
  padding-top: clamp(76px, 9vw, 130px);
  padding-bottom: 58px;
  align-items: center;
}

.eyebrow, .kicker { margin-bottom: 24px; color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 32px; height: 1px; background: var(--accent); }
.hero h1 { max-width: 820px; margin-bottom: 28px; font-size: clamp(55px, 6.2vw, 94px); font-weight: 540; letter-spacing: -.065em; line-height: .98; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { max-width: 720px; margin-bottom: 34px; color: var(--muted); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 28px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 700; transition: transform .25s var(--ease), color .25s, background .25s, border-color .25s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: var(--accent); }
.button-quiet { border-color: var(--line); background: rgba(255,255,255,.45); }
.button-quiet:hover { border-color: var(--ink); }
.hero-disciplines { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-disciplines span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: #42464b; font-size: 12px; }

.hero-visual { position: relative; min-height: 650px; }
.hero-visual::before {
  position: absolute;
  inset: 15px -18px 58px 50px;
  border-radius: 8px 120px 8px 8px;
  content: "";
  background: var(--accent);
  opacity: .12;
  transform: rotate(3deg);
}
.portrait-editorial {
  position: absolute;
  top: 0;
  right: 22px;
  display: flex;
  width: min(calc(100% - 22px), 360px);
  flex-direction: column;
  margin: 0;
}
.portrait-image {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  aspect-ratio: 7 / 10;
  border: 1px solid rgba(17,18,20,.15);
  border-radius: 8px 112px 8px 8px;
  background: #0aa4bd;
  box-shadow: 0 26px 65px rgba(17,18,20,.13);
}
.portrait-image::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  pointer-events: none;
}
.portrait-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.82) contrast(1.02);
  transition: filter .45s var(--ease);
}
.portrait-editorial:hover .portrait-image img {
  filter: saturate(.95) contrast(1.02);
}
.portrait-editorial figcaption {
  display: grid;
  gap: 5px;
  padding: 20px 2px 0 18px;
  border-top: 0;
  border-left: 2px solid var(--accent);
}
.portrait-editorial figcaption strong {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.portrait-editorial figcaption span {
  margin-top: 5px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
}
.portrait-editorial figcaption small {
  color: var(--muted);
  font-size: 16px;
  font-weight: 580;
  letter-spacing: .015em;
}

.section-heading { margin-bottom: 55px; }
.section-heading .kicker { margin-bottom: 18px; }
.section-heading h2, .join h2 { margin-bottom: 0; font-size: clamp(38px, 4.6vw, 64px); font-weight: 540; letter-spacing: -.055em; line-height: 1.04; }
.section-heading.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: end; gap: 90px; }
.section-heading.split > p { max-width: 430px; margin: 0 0 5px auto; color: var(--muted); font-size: 17px; }

.research { background: var(--paper); }
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.research-card { position: relative; display: flex; min-height: 500px; overflow: hidden; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fdfdfb; transition: transform .35s var(--ease), color .35s, border-color .35s, box-shadow .35s; isolation: isolate; }
.research-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .4s, transform .7s var(--ease); }
.research-card::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(to bottom, rgba(18,19,23,.5), rgba(17,18,20,.98)); opacity: 0; transition: opacity .4s; }
.research-card:hover { color: #fff; border-color: transparent; box-shadow: 0 28px 60px rgba(17,18,20,.16); transform: translateY(-7px); }
.research-card:hover > img, .research-card:hover::after { opacity: 1; }
.research-card:hover > img { transform: scale(1); }
.card-topline { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; transition: color .3s; }
.research-card:hover .card-topline { color: rgba(255,255,255,.62); }
.research-card-body { margin-top: auto; }
.research-card h3 { max-width: 340px; margin-bottom: 20px; font-size: clamp(27px, 2.35vw, 38px); font-weight: 550; letter-spacing: -.045em; line-height: 1.05; }
.research-card p { margin-bottom: 26px; color: var(--muted); font-size: 15px; line-height: 1.6; transition: color .3s; }
.research-card:hover p { color: rgba(255,255,255,.69); }
.research-card ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 40px; list-style: none; }
.research-card li { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 650; transition: border-color .3s, background .3s; }
.research-card:hover li { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); }
.research-card > a { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 750; transition: border-color .3s; }
.research-card:hover > a { border-color: rgba(255,255,255,.22); }

.text-link { display: inline-flex; align-items: center; gap: 22px; width: fit-content; font-size: 13px; font-weight: 750; }
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateX(5px); }
.mobile-link { display: none; }

.latest { background: var(--paper); }
.news-list { border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 120px 110px minmax(0, 1fr); gap: 26px; align-items: baseline; padding: 25px 0; border-bottom: 1px solid var(--line); }
.news-item time { color: var(--muted); font-size: 12px; }
.news-type { width: fit-content; padding: 5px 9px; border-radius: 999px; background: #e9e9e4; color: #555a60; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.news-type.award { background: var(--accent-soft); color: var(--accent-dark); }
.news-type.paper-type { background: #e1f1e9; color: #176443; }
.news-item p { margin: 0; font-size: clamp(16px, 1.7vw, 21px); letter-spacing: -.02em; }

.join { margin: 0; padding: 84px 0; background-color: var(--ink); background-image: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)), url("../img/college.jpg"); background-position: center; background-size: cover; color: #fff; }
.join-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(410px, .82fr); gap: clamp(56px, 7vw, 105px); align-items: center; }
.kicker.light { color: #858990; }
.join-copy h2 { margin-bottom: 24px; font-size: clamp(56px, 6vw, 88px); }
.join-lead { max-width: 540px; margin-bottom: 22px; color: #b4b6bb; font-size: 16px; line-height: 1.65; }
.join-levels { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 30px; color: #fff; font-size: 13px; font-weight: 650; }
.join-levels i { color: #62666d; font-style: normal; }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: var(--accent); color: #fff; }
.join-contact-card { align-self: stretch; padding-top: 8px; }
.join-contact-card h3 { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: clamp(26px, 2.5vw, 34px); font-weight: 560; letter-spacing: -.035em; }
.join-contact-card h3::before { width: 28px; height: 2px; content: ""; background: var(--accent); }
.contact-list { margin: 0; }
.contact-list > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 22px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.22); }
.contact-list dt { padding-top: 3px; color: #c4c6ca; font-size: 13px; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.contact-list dd { min-width: 0; margin: 0; color: #fff; font-size: 17px; font-weight: 580; line-height: 1.6; }
.contact-list address { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; margin: 0; color: #e1e2e4; font-style: normal; font-weight: 450; }
.contact-list address + address { margin-top: 14px; }
.contact-list address span { padding-top: 3px; color: #a9acb1; font-size: 12px; font-weight: 780; }
.contact-list address p { margin: 0; font-size: 16px; line-height: 1.75; }
.contact-list a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.26); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.contact-list a:hover { color: #fff; text-decoration-color: currentColor; }

.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .hero { grid-template-columns: minmax(0, 1fr) 370px; column-gap: 42px; }
  .hero h1 { font-size: clamp(52px, 7vw, 76px); }
  .research-grid { grid-template-columns: 1fr; }
  .research-card { min-height: 400px; }
  .research-card h3 { max-width: 560px; }
  .join-shell { gap: 54px; }
}

@media (max-width: 820px) {
  :root { --header: 72px; }
  .shell { width: min(calc(100% - 36px), var(--shell)); }
  .section { padding: 96px 0; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: grid; gap: 0; padding: 12px 18px 22px; border-bottom: 1px solid var(--line); background: rgba(247,247,243,.98); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .2s, transform .2s; }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav a { padding: 13px 8px; }
  .site-nav .nav-cta { margin-top: 8px; padding: 13px 16px; text-align: center; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; gap: 58px; min-height: 0; padding-top: 84px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { width: min(100%, 470px); min-height: 650px; margin-inline: auto; }
  .section-heading.split { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .section-heading.split > p { margin: 0; }
  .join-shell { grid-template-columns: 1fr; gap: 42px; }
  .join-copy { max-width: 650px; }
  .join-contact-card { max-width: 650px; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .section { padding: 78px 0; }
  .section-compact { padding: 65px 0 78px; }
  .brand-copy small { display: none; }
  .hero { padding-top: 62px; padding-bottom: 46px; }
  .hero h1 { font-size: clamp(46px, 13.2vw, 65px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { justify-content: space-between; }
  .hero-disciplines { gap: 7px; }
  .hero-visual { min-height: 590px; }
  .portrait-editorial { right: 8px; width: min(calc(100% - 8px), 360px); }
  .portrait-image { border-radius: 7px 82px 7px 7px; }
  .portrait-editorial figcaption { gap: 4px; padding-top: 17px; padding-left: 14px; }
  .portrait-editorial figcaption strong { font-size: 26px; }
  .portrait-editorial figcaption span { font-size: 16px; }
  .portrait-editorial figcaption small { font-size: 15px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: 39px; }
  .research-card { min-height: 445px; padding: 23px; border-radius: 23px; }
  .research-card h3 { font-size: 31px; }
  .desktop-link { display: none; }
  .mobile-link { display: inline-flex; margin-top: 30px; }
  .news-item { grid-template-columns: 90px 1fr; gap: 12px 18px; }
  .news-item p { grid-column: 1 / -1; }
  .join { padding: 68px 0; }
  .join-copy h2 { font-size: 58px; }
  .join-lead { font-size: 15px; }
  .join-contact-card { padding-top: 0; }
  .join-contact-card h3 { font-size: 28px; }
  .contact-list > div { grid-template-columns: 82px minmax(0, 1fr); gap: 15px; padding: 15px 0; }
  .contact-list dt { font-size: 12px; }
  .contact-list dd { font-size: 16px; }
  .contact-list address p { font-size: 15px; }
}

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