/* Shared foundation for the redesigned pages, followed by homepage sections.
   Change these colors to adjust their palette together. */
:root {
    --paper: #faf9f6;
    --ink: #19364a;
    --body: #475563;
    --muted: #606b73;
    --gold: #84612d;
    --line: #deded5;
    --tint: #f0f0e9;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--body); font: 16px/1.7 Arial, Helvetica, sans-serif; }
button { font: inherit; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; border-radius: 2px; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { color: var(--ink); }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
h2 { font-size: 38px; line-height: 1.18; letter-spacing: -1px; }
h3 { font-size: 17px; font-weight: 600; line-height: 1.45; }
img { display: block; max-width: 100%; height: auto; }
.page-width { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.eyebrow { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 1.7px; line-height: 1.6; text-transform: uppercase; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); color: white; }

/* Header and navigation */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-name { flex-shrink: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 23px; line-height: 1.3; text-decoration: none; }
.site-name span { display: block; margin-top: 8px; color: var(--muted); font: 10px/1.5 Arial, Helvetica, sans-serif; letter-spacing: 1.7px; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 25px; }
.site-nav a { padding: 12px 0; font-size: 13px; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.menu-toggle { display: none; }

/* Introduction and original portrait */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 304px; gap: 88px; align-items: center; padding-block: 76px 72px; }
.hero h1 { margin-block: 14px 25px; font-size: clamp(46px, 5.6vw, 72px); line-height: 1.08; letter-spacing: -2.8px; }
.intro { max-width: 620px; font-size: 20px; line-height: 1.65; color: var(--ink); }
.intro a { text-decoration-color: #a7b2b7; }
.hero-description { margin-top: 18px; max-width: 585px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 29px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 12px 19px; background: var(--ink); border: 1px solid var(--ink); border-radius: 3px; color: white; font-size: 14px; font-weight: 600; text-decoration: none; }
.button:hover { background: #294c63; color: white; }
.text-link { display: inline-flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.profile-links { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 8px; margin-top: 29px; }
.profile-links a { color: var(--muted); font-size: 12px; }
.profile-links a:hover { color: var(--gold); }
.portrait { padding: 0 10px 0 0; }
.portrait-frame { position: relative; }
.portrait-frame::before { content: ''; position: absolute; inset: 12px -12px -12px 12px; z-index: -1; border: 1px solid #c1ae8a; }
.portrait img { width: 100%; border-radius: 2px; }
.portrait figcaption { display: flex; align-items: center; gap: 9px; margin-top: 28px; color: var(--muted); font-size: 11px; letter-spacing: .8px; }
.portrait figcaption span { width: 18px; height: 1px; background: var(--gold); }

/* Research and background sections */
.section-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 88px; }
.section-intro h2 { margin-top: 10px; }
.section-intro > p:not(.eyebrow) { margin-top: 17px; font-size: 15px; }
.section-intro .text-link { margin-top: 24px; }
.research { border-top: 1px solid var(--line); padding-block: 52px 58px; }
.research-list { display: grid; grid-template-columns: 1fr 1fr; gap: 27px 38px; list-style: none; padding: 0; margin: 0; }
.research-list li { padding-top: 12px; border-top: 1px solid var(--line); }
.research-list h3 { font-size: 16px; }
.research-list p { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.explore { display: grid; grid-template-columns: repeat(3, 1fr); padding: 32px; background: var(--tint); }
.explore article { padding-inline: 28px; }
.explore article:first-child { padding-left: 0; }
.explore article:last-child { padding-right: 0; }
.explore article + article { border-left: 1px solid #d6d9d0; }
.explore .eyebrow { font-size: 9px; letter-spacing: 1.4px; }
.explore h2 { margin-block: 12px 10px; font-size: 25px; letter-spacing: -.5px; }
.explore h2 a { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; }
.explore h2 a:hover { text-decoration: underline; }
.explore h2 span { font-family: Arial, Helvetica, sans-serif; font-size: 18px; color: var(--gold); }
.explore p { font-size: 13px; line-height: 1.7; }
.background { padding-block: 68px 76px; }
.affiliations { list-style: none; margin: 0; padding: 0; }
.affiliations li { padding-block: 22px; border-top: 1px solid var(--line); }
.affiliations li:first-child { padding-top: 0; border-top: 0; }
.affiliations li:last-child { padding-bottom: 0; }
.affiliation-role { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 18px; color: var(--muted); font-size: 12px; }
.affiliation-role a { color: var(--muted); }
.affiliation-role span { font-size: 11px; }
.affiliations h3 { margin-top: 6px; font-size: 18px; }
.affiliations h3 a { text-decoration-color: #bac1c1; }
.affiliations h3 + p { margin-top: 4px; font-size: 13px; }

/* Contact and footer */
.contact-section { background: var(--ink); color: #d4dde1; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-block: 49px 52px; align-items: center; }
.contact-section .eyebrow { color: #dac399; }
.contact-section h2 { color: var(--paper); margin-block: 10px 20px; }
.contact-section a { color: #f3f4ee; }
.contact-section a:hover { color: #e4c995; }
.contact-section a:focus-visible { outline-color: #e4c995; }
.email-link { display: inline-block; font-size: 19px; overflow-wrap: anywhere; }
.email-link span { display: inline-block; margin-left: 8px; }
.contact-more { display: table; margin-top: 18px; font-size: 12px; }
.contact-inner address { font-size: 13px; line-height: 1.95; font-style: normal; }
.contact-inner address strong { display: block; font-weight: 600; }
.contact-inner address a { text-decoration-color: #6b818d; }
.site-footer { display: flex; align-items: center; gap: 28px; padding-block: 23px; font-size: 11px; color: var(--muted); }
.site-footer p:first-child { color: var(--ink); }
.site-footer a { margin-left: auto; }

/* Tablet and phone: the layout becomes a single column without sideways scrolling. */
@media (max-width: 1000px) {
    .page-width { width: calc(100% - 64px); }
    .header-inner { gap: 20px; }
    .site-nav { gap: 17px; }
    .site-nav a { font-size: 12px; }
    .site-name { font-size: 21px; }
    .hero { grid-template-columns: minmax(0, 1fr) 250px; gap: 42px; padding-block: 56px; }
    .hero h1 { font-size: 53px; }
    .section-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 42px; }
    .explore { padding: 27px; }
    .explore article { padding-inline: 20px; }
    .explore h2 { font-size: 22px; }
}

@media (max-width: 800px) {
    .header-inner { min-height: 88px; flex-wrap: wrap; column-gap: 20px; row-gap: 0; padding-block: 19px; }
    .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; background: transparent; border: 1px solid #aeb9bc; border-radius: 3px; color: var(--ink); font-size: 13px; cursor: pointer; }
    .menu-icon { width: 15px; height: 10px; border-block: 1px solid currentColor; }
    .site-nav { flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; padding-top: 19px; margin-top: 18px; border-top: 1px solid var(--line); }
    .site-nav a { font-size: 14px; padding: 11px 0; }
    .site-header[data-menu-state="closed"] .site-nav { display: none; }
    .hero { grid-template-columns: minmax(0, 1fr) 210px; gap: 28px; }
    .hero h1 { font-size: 45px; letter-spacing: -1.8px; }
    .hero .eyebrow { font-size: 10px; }
    .intro { font-size: 18px; }
    .hero-description { font-size: 14px; }
    .hero-actions { gap: 20px; }
    .button { gap: 17px; padding-inline: 14px; }
    .profile-links { column-gap: 15px; }
    .section-grid { grid-template-columns: 1fr; gap: 32px; }
    .section-intro > p:not(.eyebrow) { max-width: 420px; }
    .explore { grid-template-columns: 1fr; padding: 10px 26px; }
    .explore article, .explore article:first-child, .explore article:last-child { padding: 23px 0; }
    .explore article + article { border-left: 0; border-top: 1px solid #d6d9d0; }
    .explore h2 { font-size: 26px; }
    .background { padding-block: 52px; }
    .contact-inner { gap: 36px; }
    .email-link { font-size: 17px; }
}

@media (max-width: 600px) {
    .page-width { width: calc(100% - 40px); }
    .hero { grid-template-columns: 1fr; padding-block: 40px 42px; gap: 35px; }
    .hero h1 { font-size: clamp(40px, 10.8vw, 58px); margin-block: 13px 20px; }
    .hero .eyebrow { font-size: 9px; letter-spacing: 1.3px; }
    .intro { font-size: 18px; }
    .hero-description { font-size: 15px; }
    .hero-actions { margin-top: 24px; }
    .profile-links { margin-top: 23px; row-gap: 12px; }
    .portrait { width: 230px; max-width: 82%; justify-self: center; }
    .portrait figcaption { margin-top: 24px; }
    h2 { font-size: 34px; }
    .research { padding-block: 37px 42px; }
    .research-list { gap: 24px 20px; }
    .research-list h3 { font-size: 15px; }
    .research-list p { font-size: 12px; }
    .contact-inner { grid-template-columns: 1fr; padding-block: 37px 40px; }
    .contact-inner address { border-top: 1px solid #456073; padding-top: 25px; }
    .site-footer { flex-wrap: wrap; column-gap: 15px; row-gap: 5px; padding-block: 20px; }
    .site-footer p:nth-child(2) { flex-basis: 100%; order: 3; }
}

@media print {
    body { background: white; color: black; }
    .page-width { width: 100%; }
    .site-header, .hero-actions, .explore, .site-footer, .skip-link { display: none; }
    .hero { padding-block: 20px; grid-template-columns: 1fr 150px; gap: 30px; }
    .hero h1 { font-size: 36px; }
    .section-grid { grid-template-columns: 200px 1fr; gap: 30px; }
    .research, .background { padding-block: 25px; }
    .contact-section { background: white; color: black; border-top: 1px solid var(--line); }
    .contact-section h2, .contact-section a, .contact-section .eyebrow { color: black; }
    .contact-inner { padding-block: 20px; }
    .portrait-frame::before { display: none; }
    .affiliations li { break-inside: avoid; }
}
