/*
 * Gravity + Astrophysics at Ole Miss — custom, dependency-free visual system.
 *
 * Organization: design tokens and shared utilities first, page/component styles
 * next, then tablet (900px), phone (600px), and accessibility overrides.
 */
:root {
  /* Core color palette */
  --ink: #101217;
  --night: #090b10;
  --night-soft: #11141b;
  --paper: #f3f0e8;
  --paper-deep: #e8e4da;
  --white: #fffdf8;
  --muted: #696a6e;
  --line: rgba(16, 18, 23, .16);
  --red: #c8102e;
  --red-dark: #9d0b23;

  /* Type families: editorial serif, interface sans, and metadata mono */
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  /* Maximum content width with 24px gutters on each side */
  --shell: min(1180px, calc(100vw - 48px));
}

/* Base reset and reusable layout/typography utilities */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { position: fixed; inset-inline: 0; width: 100%; overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
.shell { width: var(--shell); 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; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--white); color: var(--ink); transition: top .2s; }
.skip-link:focus { top: 16px; }
/* Small red labels used above headings throughout the site */
.eyebrow { margin: 0 0 18px; color: var(--red); font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.section-title { margin: 0; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 400; letter-spacing: -.04em; line-height: .98; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, .6fr); align-items: end; gap: 60px; margin-bottom: 56px; }
.section-heading > p { margin: 0; color: var(--muted); }
.button { display: inline-flex; align-items: center; gap: 30px; min-height: 52px; padding: 0 22px; border: 1px solid currentColor; color: inherit; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.button::after { content: "↗"; font-size: 1rem; }
.button:hover { background: var(--red); border-color: var(--red); color: white; }
.button-light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.text-link { color: var(--ink); font-family: var(--mono); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.text-link span { margin-left: 6px; color: var(--red); }

/* Header and navigation */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.14); color: white; }
/* JavaScript adds .is-scrolled after the page leaves the top position. */
.site-header.is-scrolled { position: fixed; animation: header-in .25s ease both; }
.site-header.is-scrolled::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(9,11,16,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
@keyframes header-in { from { transform: translateY(-100%); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.wordmark { display: inline-flex; align-items: center; gap: 13px; color: inherit; line-height: 1.1; text-decoration: none; }
.wordmark strong, .wordmark small { display: block; }
.wordmark strong { font-family: var(--serif); font-size: 1.02rem; font-weight: 400; letter-spacing: -.01em; }
.wordmark small { margin-top: 5px; color: rgba(255,255,255,.62); font-family: var(--mono); font-size: .54rem; letter-spacing: .12em; text-transform: uppercase; }
/* CSS-drawn orbit logo; the empty <i> elements provide its inner arcs. */
.wordmark-mark { position: relative; display: block; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; }
.wordmark-mark::before, .wordmark-mark::after, .wordmark-mark i { content: ""; position: absolute; display: block; }
.wordmark-mark::before { inset: 15px -4px auto; height: 1px; background: var(--red); transform: rotate(-18deg); }
.wordmark-mark::after { width: 6px; height: 6px; left: 13px; top: 13px; background: white; border-radius: 50%; }
.wordmark-mark i:first-child { inset: 4px 11px; border-left: 1px solid rgba(255,255,255,.45); border-right: 1px solid rgba(255,255,255,.45); border-radius: 50%; transform: rotate(32deg); }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; color: rgba(255,255,255,.72); font-family: var(--mono); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--red); transition: right .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: white; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; color: white; }

/* Homepage hero */
/* svh keeps the full-screen hero stable around mobile browser chrome. */
.home-hero { position: relative; min-height: 780px; height: min(900px, 100svh); overflow: hidden; background: var(--night); color: white; }
/* Decorative grid fades away beneath the title on the left. */
.hero-grid { position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 88px 88px; mask-image: linear-gradient(to right, transparent 0, black 48%, black 100%); }
.hero-media { position: absolute; top: 50%; right: clamp(-280px, -9vw, -90px); width: min(68vw, 880px); aspect-ratio: 1; translate: 0 -45%; opacity: .9; }
.hero-media svg { width: 100%; height: 100%; overflow: visible; }
.hero-media > img, .hero-media > picture, .hero-media > picture img { width: 100%; height: 100%; object-fit: cover; }
.orbit-line { fill: none; stroke: rgba(255,255,255,.2); stroke-width: .9; vector-effect: non-scaling-stroke; }
.orbit-line.red { stroke: var(--red); stroke-width: 1.7; stroke-dasharray: 2 8; animation: orbit-dash 12s linear infinite; }
.orbit-line.bright { stroke: rgba(255,255,255,.58); }
.orbit-node { fill: var(--red); filter: drop-shadow(0 0 8px rgba(200,16,46,.75)); }
.wave-line { fill: none; stroke: rgba(255,255,255,.72); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1100; stroke-dashoffset: 1100; animation: wave-draw 3s .4s ease-out forwards; }
@keyframes wave-draw { to { stroke-dashoffset: 0; } }
@keyframes orbit-dash { to { stroke-dashoffset: -100; } }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: inherit; height: 100%; padding-top: 150px; padding-bottom: 74px; }
.hero-kicker { display: flex; align-items: center; gap: 13px; margin-bottom: 26px; color: rgba(255,255,255,.64); font-family: var(--mono); font-size: .69rem; letter-spacing: .13em; text-transform: uppercase; }
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--red); }
.hero-title { width: min(820px, 82%); margin: 0; font-family: var(--serif); font-size: clamp(4rem, 8.4vw, 8.1rem); font-weight: 400; letter-spacing: -.065em; line-height: .82; }
.hero-title em { display: block; margin-left: .76em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.7); font-style: italic; }
.hero-bottom { display: grid; grid-template-columns: 1fr minmax(300px, 500px); align-items: end; gap: 50px; margin-top: 62px; }
.hero-index { color: rgba(255,255,255,.38); font-family: var(--mono); font-size: .65rem; line-height: 1.7; letter-spacing: .08em; text-transform: uppercase; }
.hero-intro { margin: 0; color: rgba(255,255,255,.8); font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.48rem); line-height: 1.48; }
.scroll-cue { position: absolute; right: 24px; bottom: 72px; writing-mode: vertical-rl; color: rgba(255,255,255,.4); font-family: var(--mono); font-size: .57rem; letter-spacing: .16em; text-transform: uppercase; }

/* Homepage sections */
/* Introductory statement directly below the hero */
.intro-strip { border-bottom: 1px solid var(--line); background: var(--paper-deep); }
.intro-strip-grid { display: grid; grid-template-columns: .36fr 1fr; }
.intro-strip-label { padding: 64px 48px 64px 0; border-right: 1px solid var(--line); }
.intro-strip-text { padding: 60px 0 62px 68px; }
.intro-strip-text p { max-width: 770px; margin: 0; font-family: var(--serif); font-size: clamp(1.55rem, 3vw, 2.5rem); letter-spacing: -.025em; line-height: 1.32; }
.research-section { padding: 128px 0 140px; }
.topic-grid { border-top: 1px solid var(--line); }
.topic-row { display: grid; grid-template-columns: 90px .7fr 1fr 34px; align-items: center; gap: 30px; min-height: 148px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: padding .2s, background .2s; }
.topic-row:hover { padding-inline: 22px; background: rgba(255,255,255,.36); }
.topic-number { color: var(--red); font-family: var(--mono); font-size: .7rem; }
.topic-row h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.55rem, 3vw, 2.35rem); font-weight: 400; line-height: 1.1; }
.topic-row p { margin: 0; color: var(--muted); font-size: .95rem; }
.topic-arrow { color: var(--red); font-size: 1.3rem; }
/* Dark research feature with decorative concentric rings */
.feature-band { position: relative; overflow: hidden; padding: 120px 0; border-bottom: 1px solid rgba(255,255,255,.16); background: var(--night); color: white; }
.feature-band::before { content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -250px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.feature-grid { position: relative; display: grid; grid-template-columns: .42fr 1fr; gap: 100px; }
.feature-copy h2 { max-width: 700px; margin: 0 0 28px; font-family: var(--serif); font-size: clamp(2.7rem, 5.2vw, 5rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.feature-copy > p { max-width: 650px; margin: 0 0 38px; color: rgba(255,255,255,.65); }
.signal-graphic { align-self: center; width: 100%; margin: 0; }
.signal-graphic svg { width: 100%; overflow: visible; }
.signal-graphic path { fill: none; stroke: var(--red); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.signal-graphic line { stroke: rgba(255,255,255,.16); stroke-width: 1; vector-effect: non-scaling-stroke; }
.signal-graphic text { fill: rgba(255,255,255,.42); font: 9px var(--mono); letter-spacing: .1em; }
.signal-graphic .sxs-strain { stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.signal-graphic .sxs-merger-line { stroke: rgba(255,255,255,.28); stroke-dasharray: 2 6; }
.signal-graphic .sxs-peak { fill: var(--red); filter: drop-shadow(0 0 6px rgba(200,16,46,.7)); }
.signal-graphic figcaption { margin-top: 12px; color: rgba(255,255,255,.38); font-family: var(--mono); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }
.signal-graphic figcaption a { color: rgba(255,255,255,.65); text-decoration-color: var(--red); text-underline-offset: 3px; }
.latest-section { padding: 128px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.latest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.home-list { border-top: 1px solid var(--line); }
.home-list-item { display: block; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.home-list-item time, .home-list-item .meta { display: block; margin-bottom: 9px; color: var(--red); font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.home-list-item h3 { margin: 0; font-family: var(--serif); font-size: 1.42rem; font-weight: 400; line-height: 1.25; }
.home-list-item:hover h3 { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.empty-note { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }

/* Shared interior-page hero and long-form content */
.page-hero { padding: 210px 0 100px; background: var(--night); color: white; }
.page-hero-inner h1 { max-width: 970px; margin: 0; font-family: var(--serif); font-size: clamp(3.5rem, 8vw, 7.2rem); font-weight: 400; letter-spacing: -.055em; line-height: .92; }
.page-intro { max-width: 720px; margin: 36px 0 0 auto; color: rgba(255,255,255,.68); font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); }
.page-body { padding-block: 100px 130px; }
.prose { max-width: 790px; }
.prose h2, .prose h3 { margin: 2em 0 .65em; font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: 1.15; }
.prose h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.prose h3 { font-size: 1.65rem; }
.prose p, .prose ul { margin: 0 0 1.35em; }
.prose a { text-decoration-color: var(--red); text-underline-offset: 3px; }
.prose blockquote { margin: 2.3em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--red); color: var(--muted); font-family: var(--serif); font-size: 1.35rem; }
.archive-photo { margin: 3rem 0; }
.archive-photo img { width: 100%; max-height: 760px; object-fit: contain; object-position: left center; background: var(--surface); }
.archive-photo figcaption { margin-top: 12px; color: var(--muted); font-family: var(--mono); font-size: .65rem; letter-spacing: .04em; }

/* Meetings, schedules, and seminar archive */
.meetings-page { padding-block: 100px 130px; }
.meeting-overview { display: grid; grid-template-columns: .72fr 1fr; gap: clamp(50px, 9vw, 130px); padding-bottom: 100px; }
.meeting-overview h2, .meeting-section-heading h2, .meeting-contact h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; }
.meeting-overview h2 { max-width: 470px; font-size: clamp(2.5rem, 5vw, 4.8rem); }
.meeting-overview-copy > p { margin: 0 0 1.35em; }
.meeting-time { display: flex; gap: 20px; margin-top: 35px !important; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.35rem; }
.meeting-time span { padding-top: 5px; color: var(--red); font-family: var(--mono); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.meeting-section { padding: 90px 0; border-top: 1px solid var(--line); }
.meeting-section-heading { display: grid; grid-template-columns: 1fr minmax(260px, .45fr); align-items: end; gap: 60px; margin-bottom: 42px; }
.meeting-section-heading h2 { font-size: clamp(2.1rem, 4vw, 3.7rem); }
.meeting-section-heading > p { margin: 0; color: var(--muted); }
/* Wide schedules scroll horizontally instead of squeezing columns on phones. */
.schedule-table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
.schedule-table { width: 100%; min-width: 650px; border-collapse: collapse; text-align: left; }
.schedule-table th { padding: 15px 18px 15px 0; border-bottom: 1px solid var(--line); color: var(--red); font-family: var(--mono); font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; }
.schedule-table td { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule-table td:first-child { width: 155px; font-family: var(--mono); font-size: .72rem; }
.seminar-table { min-width: 920px; }
.seminar-table td:nth-child(2) { width: 190px; font-family: inherit; font-size: inherit; }
.seminar-table td:nth-child(3) { width: 260px; color: var(--muted); }
.meeting-archive-link { margin: 32px 0 0; }
.schedule-more { margin-top: 28px; padding: 10px 16px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-family: var(--mono); font-size: .65rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.schedule-more:hover { border-color: var(--red); background: var(--red); color: white; }
.meeting-contact { display: grid; grid-template-columns: .72fr 1fr; gap: clamp(50px, 9vw, 130px); padding-top: 90px; border-top: 1px solid var(--line); }
.meeting-contact h2 { max-width: 470px; font-size: clamp(2.3rem, 4vw, 4rem); }
.meeting-contact > div > p { margin-top: 0; }
.meeting-contact ul { margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.meeting-contact li { display: flex; justify-content: space-between; gap: 30px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.meeting-contact li span { font-family: var(--serif); font-size: 1.1rem; }
.meeting-contact li a { color: var(--muted); font-family: var(--mono); font-size: .7rem; text-underline-offset: 3px; }
.seminar-archive-page { padding-block: 100px 130px; }
.archive-intro { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(50px, 9vw, 130px); padding-bottom: 100px; }
.archive-intro h2 { max-width: 680px; margin: 0; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.6rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.02; }
.archive-intro > div:last-child > p { margin: 0 0 30px; color: var(--muted); }
.archive-intro a { text-decoration-color: var(--red); text-underline-offset: 3px; }
.year-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.year-jump a { padding: 7px 12px; border: 1px solid var(--line); font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; }
.year-jump a:hover { border-color: var(--red); background: var(--red); color: white; }
/* Offset anchored years below the fixed header. */
.seminar-year { padding: 75px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.seminar-year-heading { display: flex; align-items: baseline; gap: 18px; margin-bottom: 32px; }
.seminar-year-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.seminar-year-heading span { color: var(--red); font-family: var(--mono); font-size: .68rem; }
.archive-table td:nth-child(4) { min-width: 330px; }
.archive-back { margin: 75px 0 0; }

/* People directory and individual profiles */
.people-page { padding: 90px 0 140px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 52px; }
.filter-button { padding: 9px 15px; border: 1px solid var(--line); border-radius: 30px; background: transparent; color: var(--muted); cursor: pointer; font-family: var(--mono); font-size: .64rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.filter-button:hover, .filter-button.is-active { border-color: var(--red); background: var(--red); color: white; }
.role-section { margin-top: 80px; }
/* JavaScript toggles these native hidden states when filtering by role. */
.role-section[hidden], .person-card[hidden] { display: none; }
.role-section-head { display: flex; align-items: baseline; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.role-section-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; }
.role-section-head span { color: var(--red); font-family: var(--mono); font-size: .7rem; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 58px 24px; margin-top: 34px; }
/* Keep directory and profile portraits at the same 5:6 crop. */
.person-photo, .profile-image-wrap { aspect-ratio: 5 / 6; }
.person-photo { position: relative; display: block; overflow: hidden; background: var(--paper-deep); }
/* cover fills the portrait frame; object-position can be added per image if needed. */
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); transition: transform .5s ease, filter .4s; }
.person-card:hover .person-photo img { transform: scale(1.025); filter: saturate(1); }
.photo-placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(140deg, #ded9cd, #f9f7f0); color: rgba(16,18,23,.16); }
.photo-placeholder::before { content: ""; position: absolute; inset: 14%; border: 1px solid rgba(16,18,23,.12); border-radius: 50%; }
.photo-placeholder span { font-family: var(--serif); font-size: 7rem; font-style: italic; }
.role-pill { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; background: var(--night); color: white; font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.person-card-body { padding-top: 20px; }
.person-card h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; line-height: 1.15; }
.person-card h3 a { text-decoration: none; }
.person-card-body > p { min-height: 3.2em; margin: 0 0 16px; color: var(--muted); font-size: .88rem; }
.past-members-intro { max-width: 680px; margin: 26px 0 58px; color: var(--muted); font-family: var(--serif); font-size: 1.25rem; }
.former-member-groups { display: grid; gap: 58px; }
.former-member-group-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.former-member-group-head h3 { margin: 0; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; }
.former-member-group-head span { color: var(--red); font-family: var(--mono); font-size: .62rem; }
.former-member-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; }
.former-member-list li { min-width: 0; padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.former-member-list li.has-historical-profile { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 15px; padding: 16px; }
.former-member-photo { width: 72px; height: 88px; object-fit: cover; object-position: center top; filter: saturate(.8); }
.former-member-name { display: block; font-family: var(--serif); font-size: 1.08rem; line-height: 1.25; text-decoration: none; }
a.former-member-name:hover { color: var(--red); }
.former-member-name span { font-family: var(--sans); font-size: .72em; }
.former-member-research { margin: 8px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.former-member-contact { display: block; margin-top: 7px; overflow-wrap: anywhere; color: var(--muted); font-family: var(--mono); font-size: .55rem; letter-spacing: .025em; }
.person-profile { padding: 86px 0 130px; border-top: 84px solid var(--night); background: var(--paper); }
.profile-grid { display: grid; grid-template-columns: minmax(300px, .72fr) 1fr; gap: clamp(60px, 9vw, 130px); }
/* Profile portraits remain visible while reading; 380px keeps them card-sized. */
.profile-image-wrap { position: sticky; top: 120px; align-self: start; width: 100%; max-width: 380px; }
/* Explicit dimensions override image HTML attributes and prevent stretching. */
.profile-image { width: 100%; height: 100%; object-fit: cover; }
.profile-main { padding-top: 25px; }
.profile-main h1 { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(3.7rem, 7vw, 6.6rem); font-weight: 400; letter-spacing: -.055em; line-height: .9; }
.back-link { display: inline-block; margin-bottom: 60px; color: var(--muted); font-family: var(--mono); font-size: .65rem; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.profile-tagline { max-width: 650px; margin: 0 0 30px; color: var(--muted); font-family: var(--serif); font-size: 1.5rem; }
.profile-links, .publication-links { display: flex; flex-wrap: wrap; gap: 9px; }
.profile-links { margin-bottom: 60px; }
.profile-links a, .publication-links a { padding: 7px 11px; border: 1px solid var(--line); color: inherit; font-family: var(--mono); font-size: .62rem; font-weight: 700; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.profile-links a:hover, .publication-links a:hover { border-color: var(--red); color: var(--red); }
.profile-research { margin-bottom: 50px; padding-block: 28px; border-block: 1px solid var(--line); }
.profile-research ul { display: flex; flex-wrap: wrap; gap: 8px 25px; margin: 0; padding: 0; list-style: none; }
.profile-research li::before { content: "—"; margin-right: 8px; color: var(--red); }

/* Publications list and live search controls */
.publication-controls { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 45px; }
.publication-search { width: min(520px, 100%); padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); outline: 0; background: transparent; color: var(--ink); }
.publication-search:focus { border-color: var(--red); }
.publication-count { align-self: center; color: var(--muted); font-family: var(--mono); font-size: .65rem; text-transform: uppercase; }
.publication-list { border-top: 1px solid var(--line); }
.publication { display: grid; grid-template-columns: 80px 1fr; gap: 32px; padding: 37px 0 42px; border-bottom: 1px solid var(--line); }
.publication[hidden] { display: none; }
.publication-year { padding-top: 7px; color: var(--red); font-family: var(--mono); font-size: .72rem; }
.publication h3 { max-width: 850px; margin: 0 0 10px; font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 1.9rem); font-weight: 400; line-height: 1.22; }
.publication h3 a { text-decoration: none; }
.publication h3 a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.authors, .venue { margin: 0; color: var(--muted); font-size: .86rem; }
.venue { margin-top: 2px; }
.publication-links { margin-top: 18px; }
.publication-empty { padding: 50px 0; color: var(--muted); }

/* Research index cards */
.research-index { padding: 100px 0 140px; }
.research-cards { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.research-card { position: relative; min-height: 370px; padding: 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: inherit; transition: background .25s, color .25s; }
.research-card:hover { background: var(--night); color: white; }
.research-card .topic-number { display: block; margin-bottom: 100px; }
.research-card h2 { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1; }
.research-card-link { color: inherit; text-decoration: none; }
.research-card-link::after { position: absolute; inset: 0; content: ""; }
.research-card-link:focus-visible { outline: none; }
.research-card:has(.research-card-link:focus-visible) { outline: 2px solid var(--red); outline-offset: -2px; }
.research-card p { margin: 0; color: var(--muted); }
.research-card .research-faculty { position: relative; z-index: 1; margin-top: 18px; font-size: .86rem; }
.research-faculty a { color: inherit; text-decoration-color: var(--red); text-underline-offset: 3px; }
.research-faculty a:hover { color: var(--red); }
.research-card:hover p { color: rgba(255,255,255,.6); }

/* News page and featured seminar */
.news-seminar-feature { position: relative; display: grid; grid-template-columns: minmax(210px, .34fr) 1fr; overflow: hidden; margin: 0 0 120px; border-top: 3px solid var(--red); background: var(--night); color: white; }
.news-seminar-feature::after { position: absolute; right: -180px; bottom: -310px; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.018), 0 0 0 120px rgba(255,255,255,.012); content: ""; pointer-events: none; }
.news-seminar-date { position: relative; z-index: 1; padding: 50px 42px; border-right: 1px solid rgba(255,255,255,.14); }
.news-seminar-date time { display: flex; flex-direction: column; align-items: flex-start; margin-top: 70px; font-family: var(--mono); text-transform: uppercase; }
.news-seminar-date time strong { font-family: var(--serif); font-size: clamp(4.5rem, 9vw, 7.4rem); font-weight: 400; letter-spacing: -.07em; line-height: .75; }
.news-seminar-date time span { margin-top: 22px; color: var(--red); font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
.news-seminar-date time small { margin-top: 6px; color: rgba(255,255,255,.42); font-size: .65rem; letter-spacing: .12em; }
.news-seminar-content { position: relative; z-index: 1; padding: 54px clamp(42px, 7vw, 92px) 60px; }
.news-seminar-speaker { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin: 0 0 38px; font-family: var(--mono); text-transform: uppercase; }
.news-seminar-speaker strong { color: white; font-size: .72rem; letter-spacing: .08em; }
.news-seminar-speaker span { color: rgba(255,255,255,.45); font-size: .62rem; letter-spacing: .07em; }
.news-seminar-content h2 { max-width: 850px; margin: 0; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.news-seminar-abstract { display: grid; grid-template-columns: 105px 1fr; gap: 28px; max-width: 850px; margin-top: 52px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.16); }
.news-seminar-abstract .eyebrow { margin: 4px 0 0; }
.news-seminar-abstract > p:last-child { margin: 0; color: rgba(255,255,255,.68); line-height: 1.7; }
.news-seminar-link { display: inline-block; margin-top: 38px; color: rgba(255,255,255,.72); font-family: var(--mono); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.news-seminar-link span { margin-left: 6px; color: var(--red); }
.news-seminar-link:hover { color: white; }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.news-card { min-height: 290px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.news-card time { color: var(--red); font-family: var(--mono); font-size: .67rem; text-transform: uppercase; }
.news-card h2 { margin: 50px 0 16px; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1.08; }
.news-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.news-page-section + .news-page-section { margin-top: 120px; padding-top: 110px; border-top: 1px solid var(--line); }
.news-section-link { margin: 34px 0 0; }

/* Footer */
.site-footer { padding: 90px 0 32px; background: var(--night); color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr repeat(3, .3fr); gap: 70px; padding-bottom: 80px; }
.wordmark-footer { margin-bottom: 25px; }
.footer-grid > div:first-child > p { color: rgba(255,255,255,.45); font-size: .85rem; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid > div:not(:first-child) a { color: rgba(255,255,255,.66); font-size: .82rem; text-decoration: none; }
.footer-grid > div:not(:first-child) a:hover { color: white; }
.footer-base { display: flex; justify-content: space-between; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.34); font-family: var(--mono); font-size: .57rem; letter-spacing: .05em; text-transform: uppercase; }

/* Tablet: collapse major two-column layouts and reveal mobile navigation. */
@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 720px); }
  .site-header.is-scrolled { animation: none; }
  .menu-toggle { position: relative; z-index: 3; display: block; width: 38px; height: 38px; padding: 8px; }
  .menu-toggle i { position: absolute; left: 8px; right: 8px; height: 1px; background: currentColor; transition: transform .25s, top .25s; }
  .menu-toggle i:first-of-type { top: 14px; }
  .menu-toggle i:last-of-type { top: 22px; }
  .menu-toggle[aria-expanded="true"] i:first-of-type { top: 18px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-of-type { top: 18px; transform: rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: 100px 10vw; overflow-y: auto; overscroll-behavior: contain; background: var(--night); visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
  .site-nav.is-open { visibility: visible; opacity: 1; }
  .site-nav a { font-family: var(--serif); font-size: 2.4rem; font-weight: 400; letter-spacing: -.02em; text-transform: none; }
  .hero-media { right: -45vw; width: 115vw; opacity: .48; }
  .hero-title { width: 100%; }
  .hero-bottom, .section-heading, .feature-grid, .latest-grid, .profile-grid, .meeting-overview, .meeting-section-heading, .meeting-contact, .archive-intro { grid-template-columns: 1fr; }
  .hero-index { display: none; }
  .hero-bottom { margin-top: 45px; }
  .section-heading, .feature-grid { gap: 32px; }
  .topic-row { grid-template-columns: 50px 1fr 24px; gap: 14px; padding-block: 26px; }
  .topic-row p { display: none; }
  .feature-grid { gap: 70px; }
  .latest-grid { gap: 80px; }
  .people-grid, .former-member-list { grid-template-columns: repeat(2, 1fr); }
  .profile-image-wrap { position: static; }
  .research-cards, .news-grid { grid-template-columns: 1fr; }
  .meeting-overview, .meeting-contact { gap: 35px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* Phone: use one-column collections and tighter vertical spacing. */
@media (max-width: 600px) {
  :root { --shell: calc(100vw - 28px); }
  body { font-size: 16px; }
  .header-inner { min-height: 72px; }
  .wordmark strong { font-size: .92rem; }
  .home-hero { min-height: 720px; }
  .hero-content { padding-bottom: 60px; }
  .hero-title { font-size: clamp(3.6rem, 18vw, 5.2rem); }
  .hero-intro { font-size: 1.05rem; }
  .scroll-cue { display: none; }
  .intro-strip-grid { grid-template-columns: 1fr; }
  .intro-strip-label { padding: 40px 0 0; border: 0; }
  .intro-strip-text { padding: 24px 0 45px; }
  .research-section, .latest-section { padding-block: 85px; }
  .feature-band { padding-block: 85px; }
  .topic-row { grid-template-columns: 35px 1fr 20px; min-height: 110px; }
  .people-grid, .former-member-list { grid-template-columns: 1fr; }
  .person-card-body > p { min-height: 0; }
  .page-hero { padding: 150px 0 70px; }
  .page-body, .people-page, .research-index, .meetings-page, .seminar-archive-page { padding-block: 70px 90px; }
  .meeting-overview { padding-bottom: 70px; }
  .meeting-section { padding-block: 70px; }
  .news-seminar-feature { grid-template-columns: 1fr; margin-bottom: 90px; }
  .news-seminar-date { display: flex; justify-content: space-between; gap: 30px; padding: 32px 28px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .news-seminar-date time { align-items: flex-end; margin: 0; }
  .news-seminar-date time strong { font-size: 3.5rem; }
  .news-seminar-date time span { margin-top: 10px; }
  .news-seminar-content { padding: 38px 28px 46px; }
  .news-seminar-abstract { grid-template-columns: 1fr; gap: 14px; margin-top: 38px; }
  .meeting-contact { padding-top: 70px; }
  .meeting-contact li { flex-direction: column; gap: 2px; }
  .archive-intro { gap: 35px; padding-bottom: 70px; }
  .seminar-year { padding-block: 60px; }
  .person-profile { padding: 48px 0 90px; border-top-width: 72px; }
  .profile-grid { gap: 45px; }
  .back-link { margin-bottom: 35px; }
  .profile-main h1 { font-size: 3.65rem; }
  .publication { grid-template-columns: 1fr; gap: 8px; }
  .publication-controls { flex-direction: column; }
  .publication-count { align-self: flex-start; }
  .research-card { min-height: 310px; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-base { flex-direction: column; gap: 8px; }
}

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