@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display&display=swap');

:root {
  --ink: #173340;
  --muted: #63777a;
  --paper: #f7f3ee;
  --cream: #fffaf3;
  --teal: #0f6d6b;
  --teal-dark: #0b4f50;
  --coral: #e87861;
  --gold: #f1b65a;
  --line: rgba(23, 51, 64, .14);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(24, 54, 63, .13);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', system-ui, sans-serif; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); margin: 0 auto; }
.serif { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; letter-spacing: -.02em; }

.skip-link { position: absolute; left: 12px; top: -50px; padding: 10px 14px; background: var(--ink); color: white; border-radius: 0 0 10px 10px; z-index: 100; }
.skip-link:focus { top: 0; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(247,243,238,.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--teal); color: white; border-radius: 13px; font-family: 'DM Serif Display', Georgia, serif; font-size: 20px; }
.brand small { display: block; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #466067; font-size: 14px; font-weight: 600; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--teal); }
.nav-cta { background: var(--ink); color: white !important; padding: 11px 17px; border-radius: 100px; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 10px; color: var(--ink); cursor: pointer; }

.hero { padding: 76px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 75px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--teal); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; }
.eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--coral); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 690px; font-size: clamp(48px, 6vw, 82px); line-height: .98; margin: 22px 0 24px; }
.hero-copy { max-width: 560px; color: #52686c; font-size: 18px; line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 14px 21px; border-radius: 100px; font-size: 14px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 11px 25px rgba(23,51,64,.14); }
.button-primary { background: var(--teal); color: white; }
.button-secondary { background: transparent; border: 1px solid var(--line); }
.button-light { background: var(--cream); color: var(--ink); }

.hero-art { position: relative; min-height: 510px; display: grid; place-items: center; }
.hero-card { position: relative; width: min(430px, 85%); border-radius: 42% 42% 20px 20px; overflow: hidden; background: var(--cream); box-shadow: var(--shadow); transform: rotate(2.5deg); }
.hero-card img { width: 100%; aspect-ratio: .83; object-fit: cover; object-position: 50% 22%; }
.hero-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 72%, rgba(9,52,56,.35)); }
.art-label { position: absolute; z-index: 2; left: -8px; bottom: 33px; max-width: 240px; padding: 15px 18px; background: var(--cream); border-radius: 13px; box-shadow: 0 15px 40px rgba(23,51,64,.15); font-size: 13px; line-height: 1.35; }
.art-label strong { display: block; margin-bottom: 4px; font-size: 15px; }
.art-sticker { position: absolute; right: 3%; top: 7%; display: grid; place-items: center; width: 105px; height: 105px; color: var(--teal-dark); background: var(--coral); border-radius: 50%; text-align: center; font-family: 'DM Serif Display', Georgia, serif; font-size: 18px; line-height: 1.05; transform: rotate(12deg); }
.art-sticker::after { content: '✦'; position: absolute; color: var(--gold); font-family: sans-serif; font-size: 22px; top: -18px; right: 0; }
.doodle { position: absolute; left: 7%; top: 20%; color: var(--teal); font-size: 62px; transform: rotate(-15deg); opacity: .65; }

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { display: flex; align-items: baseline; gap: 11px; }
.stat strong { font-family: 'DM Serif Display', Georgia, serif; font-size: 38px; font-weight: 400; }
.stat span { color: var(--muted); font-size: 13px; }

.section { padding: 108px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section h2 { font-size: clamp(38px, 4.5vw, 58px); line-height: 1.04; margin-bottom: 13px; }
.section-intro { max-width: 530px; color: var(--muted); font-size: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); font-size: 14px; font-weight: 700; white-space: nowrap; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.research-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.research-card { position: relative; min-height: 310px; display: flex; flex-direction: column; justify-content: space-between; padding: 25px; border-radius: var(--radius-md); background: var(--cream); border: 1px solid rgba(23,51,64,.08); transition: transform .25s ease, box-shadow .25s ease; overflow: hidden; }
.research-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.research-card:nth-child(2) { background: #dfece7; }
.research-card:nth-child(3) { background: #f7dccb; }
.research-card:nth-child(4) { background: #e2e4f2; }
.card-num { font-size: 13px; color: var(--teal); font-weight: 700; }
.card-icon { position: absolute; right: 17px; top: 12px; font-size: 42px; opacity: .52; }
.research-card h3 { margin: 40px 0 10px; font-size: 24px; line-height: 1.08; }
.research-card p { color: #587074; font-size: 14px; }
.card-arrow { font-size: 22px; color: var(--teal); }

.methods-band { padding: 29px 0; background: var(--teal-dark); color: white; }
.methods-grid { display: grid; grid-template-columns: 1.2fr 2fr; align-items: center; gap: 50px; }
.methods-grid h2 { font-size: 28px; margin: 0; }
.method-pills { display: flex; flex-wrap: wrap; gap: 9px; }
.pill { padding: 8px 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 100px; color: #e1efea; font-size: 13px; }

.feature { background: var(--ink); color: white; }
.feature-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 75px; }
.feature h2 { max-width: 600px; }
.feature p { color: #b6c9ca; font-size: 17px; line-height: 1.75; }
.feature-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; color: #e7efee; font-size: 15px; }
.feature-list li::before { content: '✦'; color: var(--coral); }
.pathway { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pathway-card { min-height: 190px; padding: 23px; border: 1px solid rgba(255,255,255,.16); border-radius: 17px; background: rgba(255,255,255,.06); }
.pathway-card strong { display: block; color: var(--gold); font-size: 14px; margin-bottom: 34px; }
.pathway-card p { margin: 0; color: white; font-family: 'DM Serif Display', Georgia, serif; font-size: 24px; line-height: 1.12; }

.cta { padding: 84px 0; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 45px 52px; border-radius: var(--radius-lg); background: var(--gold); }
.cta-box h2 { max-width: 570px; font-size: 42px; line-height: 1.04; margin: 0; }

.page-hero { padding: 88px 0 70px; background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 850px; font-size: clamp(47px, 6vw, 80px); line-height: .98; margin: 19px 0; }
.page-hero p { max-width: 690px; color: var(--muted); font-size: 19px; }
.breadcrumb { color: var(--teal); font-size: 13px; font-weight: 700; }

.research-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.research-nav a { padding: 6px 13px; border-radius: 100px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); transition: all .2s ease; }
.research-nav a:hover { border-color: var(--teal); color: var(--teal); }
.research-nav a[aria-current='page'] { background: var(--teal); border-color: var(--teal); color: white; }

.detail-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 85px; align-items: start; }
.detail-copy h2 { font-size: 37px; line-height: 1.05; margin: 0 0 17px; }
.detail-copy p { color: #5b7073; font-size: 17px; line-height: 1.8; }
.detail-copy h3 { margin-top: 43px; font-size: 21px; }
.detail-aside { position: sticky; top: 105px; padding: 25px; border-radius: 18px; background: var(--teal); color: white; }
.detail-aside h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 26px; margin: 0 0 20px; }
.detail-aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.detail-aside li { display: flex; gap: 10px; color: #d3e6e1; font-size: 14px; }
.detail-aside li::before { content: '✦'; color: var(--gold); }
.detail-aside a { color: var(--gold); font-weight: 700; }
.callout { margin: 36px 0; padding: 23px 26px; border-left: 3px solid var(--coral); background: #f7dccb; border-radius: 0 14px 14px 0; color: #62473f; }
.callout strong { display: block; color: var(--ink); margin-bottom: 5px; }

.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.person-card { overflow: hidden; border-radius: var(--radius-md); background: var(--cream); border: 1px solid var(--line); }
.person-photo { position: relative; aspect-ratio: 1 / .92; overflow: hidden; background: #dbe8e2; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person-initials { display: grid; place-items: center; background: linear-gradient(135deg, #dfece7, #f7dccb); color: var(--teal-dark); }
.person-initials span { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(54px, 7vw, 86px); letter-spacing: -.06em; }
.person-body { padding: 22px; }
.person-body h3 { font-size: 23px; margin-bottom: 4px; }
.person-role { color: var(--teal); font-size: 13px; font-weight: 700; }
.person-body p { color: var(--muted); font-size: 14px; margin: 14px 0; }
.person-links { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; font-weight: 700; color: var(--teal); }

.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.event-card { padding: 22px; border-radius: 17px; background: var(--cream); border: 1px solid var(--line); }
.event-card time { color: var(--coral); text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.event-card h3 { margin: 16px 0 8px; font-size: 21px; }
.event-card p { margin: 0; color: var(--muted); font-size: 14px; }

.publications { margin-top: 58px; }
.publications h3 { margin-top: 0; font-size: 27px; }
.publication-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.publication-item { position: relative; padding: 22px 23px 20px 74px; border: 1px solid var(--line); border-radius: 15px; background: var(--cream); }
.publication-year { position: absolute; left: 20px; top: 23px; color: var(--coral); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.publication-item h4 { margin: 0 0 7px; font-size: 17px; line-height: 1.35; }
.publication-item p { margin: 0 0 9px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.publication-item .text-link { font-size: 12px; }
.inline-link { color: var(--teal); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.site-footer { padding: 45px 0 25px; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 35px; padding-bottom: 50px; }
.footer-grid p { max-width: 340px; color: #a7bfc0; font-size: 14px; }
.footer-grid h3 { margin: 0 0 14px; color: var(--gold); font-size: 13px; text-transform: uppercase; letter-spacing: .13em; }
.footer-links { display: grid; gap: 8px; color: #d6e2e1; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); color: #8eaaab; font-size: 12px; }

@media (max-width: 950px) {
  .hero-grid, .feature-grid, .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { min-height: 440px; }
  .research-grid { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: 1fr 1fr; }
  .detail-aside { position: static; }
}
@media (max-width: 700px) {
  .container, .narrow { width: min(var(--max), calc(100% - 28px)); }
  .nav { min-height: 68px; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; left: 14px; right: 14px; top: 76px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 9px; background: var(--cream); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 12px; }
  .nav-cta { text-align: center; }
  .hero { padding: 54px 0 60px; }
  .hero h1 { font-size: clamp(46px, 15vw, 70px); }
  .hero-copy { font-size: 16px; }
  .hero-art { min-height: 370px; }
  .hero-card { width: 72%; }
  .doodle { left: 1%; }
  .stats-grid { grid-template-columns: 1fr; gap: 10px; }
  .stat strong { font-size: 31px; }
  .section { padding: 72px 0; }
  .section-head { display: block; margin-bottom: 30px; }
  .section-head .text-link { margin-top: 15px; }
  .research-grid, .pathway, .people-grid, .event-grid { grid-template-columns: 1fr; }
  .methods-grid { grid-template-columns: 1fr; gap: 20px; }
  .feature-grid { gap: 38px; }
  .cta-box { display: block; padding: 33px 26px; }
  .cta-box h2 { font-size: 34px; }
  .cta-box .button { margin-top: 22px; }
  .page-hero { padding: 62px 0 52px; }
  .page-hero h1 { font-size: clamp(44px, 14vw, 68px); }
  .detail-grid { gap: 34px; }
  .detail-copy h2 { font-size: 31px; }
  .publication-item { padding: 19px 18px 18px 18px; }
  .publication-year { position: static; display: block; margin-bottom: 8px; }
  .publication-item h4 { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 27px; padding-bottom: 30px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
}