/* fourtheon.bio — shared styles for every page built by build.py.
   Palette and type match the original Avada theme. */

:root {
	--white: #ffffff;
	--paper: #f8fafd;
	--beige: #eee9e2;
	--beige-2: #e2d8cb;
	--sage: #6d8675;
	--sage-ink: #4f6a59;      /* sage dark enough for small text on light backgrounds */
	--sage-light: #93ab9b;    /* sage light enough for small text on dark backgrounds */
	--gold: #9a7a46;
	--sage-button: #5a7363;   /* sage deep enough for white button text (5:1) */
	--sage-button-hover: #4b6253;
	--gold-light: #c7a46a;
	--blue: #2b8fd0;          /* "RFP open" accent from the program banner */
	--blue-ink: #1f6fa8;
	--taupe: #938f84;
	--ink: #1b1e25;
	--ink-2: #0f1217;
	--ink-3: #0e1116;
	--text-dark: #22262e;
	--muted-dark: #5a5f68;
	--muted-light: rgba(255, 255, 255, 0.88);

	--serif: "DM Serif Display", Georgia, "Times New Roman", serif;
	--sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--wrap: 1144px;
	--gutter: clamp(20px, 5vw, 50px);
	--header-h: 84px;
	--radius: 4px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--ink-2);
	color: var(--white);
	font: 400 15px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.1; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sage-light); outline-offset: 3px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.ext { display: inline-block; margin-left: 0.2em; font-size: 0.85em; text-decoration: none; }

.label {
	font: 500 16px/1.5 var(--sans);
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--taupe);
	border-bottom: 1px solid currentColor;
	padding-bottom: 6px;
	margin: 0 0 28px;
}
.eyebrow {
	display: block;
	font: 400 12px/1.4 var(--mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--taupe);
	margin-bottom: 6px;
}
.h-display { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 46px); line-height: 1.05; margin-bottom: 20px; }
.lede { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; max-width: 720px; }

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 12px 26px;
	border: 1px solid var(--sage-button); border-radius: var(--radius);
	background: var(--sage-button); color: var(--white);
	font: 500 13px/1 var(--sans); letter-spacing: 3px; text-transform: uppercase; text-decoration: none;
	cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--sage-button-hover); border-color: var(--sage-button-hover); }
.btn--dark { background: var(--ink-2); border-color: var(--ink-2); }
.btn--dark:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--white); }
.btn--ghost-dark { background: transparent; color: var(--text-dark); border-color: rgba(15, 18, 23, 0.3); }
.btn--ghost-dark:hover { background: rgba(15, 18, 23, 0.06); border-color: var(--text-dark); }
.btn--small { min-height: 38px; padding: 9px 18px; font-size: 12px; letter-spacing: 2.4px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-button { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Header ---------- */

.site-header {
	position: fixed; inset: 0 0 auto; z-index: 50;
	height: var(--header-h);
	transition: background-color .3s, box-shadow .3s;
}
.site-header.is-solid, .nav-open .site-header {
	background: rgba(15, 18, 23, 0.94);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
@supports (backdrop-filter: blur(8px)) {
	.site-header.is-solid { background: rgba(15, 18, 23, 0.82); backdrop-filter: blur(10px); }
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.site-logo img { width: 40px; height: 40px; }
.site-logo__text { font: 400 17px/1.05 var(--serif); display: none; }

.site-nav ul { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); list-style: none; }
.site-nav a {
	position: relative; display: block; padding: 10px 0;
	font: 400 13px/1 var(--sans); letter-spacing: 2.6px; text-transform: uppercase; text-decoration: none;
	color: var(--white); white-space: nowrap;
}
.site-nav a::after {
	content: ""; position: absolute; left: 0; right: 2.6px; bottom: 0; height: 2px;
	background: var(--sage); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--sage-light); }
.site-nav .nav-cta { padding: 11px 16px; background: var(--sage-button); border: 1px solid var(--sage-button); border-radius: var(--radius); color: var(--white); }
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { background: var(--sage-button-hover); border-color: var(--sage-button-hover); color: var(--white); }

.nav-toggle {
	display: none; width: 48px; height: 48px; margin-right: -10px;
	background: none; border: 0; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle__bars { display: grid; gap: 5px; justify-items: end; width: 26px; }
.nav-toggle__bars span { display: block; height: 2px; background: var(--white); border-radius: 1px; transition: transform .25s, opacity .2s, width .25s; }
.nav-toggle__bars span:nth-child(1) { width: 26px; }
.nav-toggle__bars span:nth-child(2) { width: 18px; }
.nav-toggle__bars span:nth-child(3) { width: 22px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { width: 26px; transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { width: 26px; transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
	position: fixed; z-index: 45; top: 0; right: 0; bottom: 0;
	width: min(88vw, 380px);
	padding: calc(var(--header-h) + 12px) 32px 32px;
	background: var(--ink-2);
	border-left: 1px solid rgba(255, 255, 255, 0.08);
	display: flex; flex-direction: column; justify-content: space-between;
	overflow-y: auto; overscroll-behavior: contain;
	transform: translateX(100%); visibility: hidden;
	transition: transform .3s ease, visibility 0s linear .3s;
}
.mobile-nav:focus { outline: none; }
.nav-open .mobile-nav { transform: none; visibility: visible; transition: transform .3s ease; }
.mobile-nav ul { list-style: none; }
.mobile-nav li { border-bottom: 1px solid rgba(147, 143, 132, 0.3); }
.mobile-nav a {
	display: flex; align-items: center; justify-content: space-between; min-height: 56px;
	font: 400 15px/1 var(--sans); letter-spacing: 3px; text-transform: uppercase; text-decoration: none;
}
.mobile-nav a::after { content: "\2192"; color: var(--taupe); letter-spacing: 0; }
.mobile-nav a[aria-current="page"] { color: var(--sage-light); }
.mobile-nav__foot { margin: 32px 0 0; color: var(--muted-light); }
.mobile-nav__foot a { display: inline; min-height: 0; font-size: 14px; letter-spacing: 0; text-transform: none; text-decoration: underline; }
.mobile-nav__foot a::after { content: none; }
.mobile-nav__scrim {
	position: fixed; inset: 0; z-index: 44; background: rgba(0, 0, 0, 0.55);
	opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s;
}
.nav-open .mobile-nav__scrim { opacity: 1; visibility: visible; transition: opacity .3s; }
.nav-open { overflow: hidden; }

@media (max-width: 1100px) {
	.site-nav { display: none; }
	.nav-toggle { display: inline-flex; }
	.site-logo__text { display: block; }
}
@media (min-width: 1101px) {
	.mobile-nav, .mobile-nav__scrim { display: none; }
}

/* ---------- Heroes ---------- */

.hero, .page-hero {
	position: relative;
	background: var(--ink) url(/wp-content/uploads/2026/Hero2.webp) right center / cover no-repeat;
}
.hero {
	min-height: 100vh; min-height: 100svh;
	display: flex; align-items: center;
	padding: calc(var(--header-h) + 48px) 0 96px;
}
.hero h1 { font: 400 clamp(46px, 8.4vw, 104px)/0.95 var(--serif); max-width: 820px; margin-bottom: 36px; }
.hero__tagline { font: 400 clamp(20px, 2.5vw, 30px)/1.3 var(--sans); color: var(--sage-light); max-width: 640px; margin-bottom: 20px; }
.hero__mission { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted-light); max-width: 620px; }
.hero__notice {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
	padding: 8px 14px; border: 1px solid rgba(43, 143, 208, 0.55); border-radius: 999px;
	font: 400 12px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
	color: #9fd0f0; background: rgba(43, 143, 208, 0.08);
}
.hero__notice:hover { background: rgba(43, 143, 208, 0.18); }
.hero__notice::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(43, 143, 208, 0.25); }

.page-hero { padding: calc(var(--header-h) + clamp(56px, 9vw, 112px)) 0 clamp(48px, 7vw, 88px); }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 18, 23, 0.94) 32%, rgba(15, 18, 23, 0.5)); }
.hero .wrap { position: relative; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font: 400 clamp(40px, 6.2vw, 72px)/1.02 var(--serif); max-width: 860px; }
.page-hero h1 em { color: var(--sage-light); }
.page-hero__intro { margin: 24px 0 0; max-width: 720px; font-size: clamp(16px, 1.5vw, 19px); color: var(--muted-light); }
.label--light { color: var(--taupe); max-width: 860px; }
/* When the page title runs straight into a dark section, don't stack two big paddings. */
.page-hero + .section--dark, .page-hero + .section--ink { padding-top: 32px; }
.page-hero:has(+ .section--dark), .page-hero:has(+ .section--ink) { padding-bottom: 24px; }

/* ---------- Sections ---------- */

.section { position: relative; padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }
.section--paper { background: var(--beige) url(/wp-content/uploads/2026/bkg-3_1.webp) center top / cover no-repeat; color: var(--text-dark); }
.section--paper .label { color: var(--muted-dark); }
.section--dark { background: linear-gradient(rgba(15, 18, 23, 0.5), rgba(15, 18, 23, 0.5)), url(/wp-content/uploads/2026/bkg-2_1.webp) center / cover no-repeat, var(--ink); }
.section--ink { background: var(--ink-2); }
@media (min-width: 1025px) and (hover: hover) {
	.section--dark, .section--paper { background-attachment: fixed; }
}
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 40px; }
.section__head > div { max-width: 720px; }
.section__head p:last-child { margin-bottom: 0; }
.section__more { font: 500 13px/1 var(--sans); letter-spacing: 2.4px; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.section__more::after { content: " \2192"; }
.section__more:hover { color: var(--sage-light); }
.section--paper .section__more:hover { color: var(--sage-ink); }

.prose { max-width: 760px; }
.prose p { font-size: 16px; }
.prose h2 { font: 400 clamp(28px, 3.4vw, 36px)/1.1 var(--serif); margin: 48px 0 16px; color: var(--sage-light); }
.section--paper .prose h2 { color: var(--sage-ink); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--sage-light); }
.section--paper .prose a { color: var(--sage-ink); }
/* Buttons inside prose keep their own colors. */
.prose a.btn { color: var(--white); text-decoration: none; }
.prose a.btn--ghost-dark { color: var(--text-dark); }

/* White boxes that keep long text off the textured backgrounds. */
.boxes { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.box {
	flex: 1 1 420px; padding: clamp(22px, 3vw, 32px);
	background: rgba(255, 255, 255, 0.95); color: var(--text-dark);
	border: 1px solid rgba(109, 134, 117, 0.45); border-left: 4px solid var(--sage);
}
.box > :last-child, .box p:last-child { margin-bottom: 0; }
.box .label { margin-bottom: 18px; }
@media (max-width: 560px) { .box { flex-basis: 100%; } }

.panel {
	background: rgba(27, 30, 37, 0.96);
	border-left: 3px solid var(--gold);
	padding: clamp(24px, 4vw, 48px);
}
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- Program box (the banner's beige panel) ---------- */

.programs {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(20px, 3vw, 32px);
	align-items: start;
}
.programs__col { display: grid; gap: 20px; }
.programs__label {
	margin: 0; padding-bottom: 8px;
	font: 600 12px/1.4 var(--sans); letter-spacing: 3px; text-transform: uppercase; color: var(--muted-dark);
	border-bottom: 1px solid var(--sage);
}
@media (max-width: 900px) { .programs { grid-template-columns: 1fr; } }

.program {
	--tone: var(--sage); --tone-ink: var(--sage-ink);
	position: relative;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(109, 134, 117, 0.45);
	border-left: 4px solid var(--tone);
	padding: 22px 24px 16px;
	color: var(--text-dark);
	box-shadow: 0 1px 2px rgba(15, 18, 23, 0.04);
	cursor: pointer;
	transition: box-shadow .25s, transform .25s;
}
.program--blue { --tone: var(--blue); --tone-ink: var(--blue-ink); border-color: rgba(43, 143, 208, 0.55); border-left-color: var(--blue); }
.program--neutral { --tone: #8a867b; --tone-ink: #5f5b53; border-color: rgba(147, 143, 132, 0.5); border-left-color: #8a867b; }
.program--active { background: #f4f7f3; border-left-width: 6px; }
.program__state {
	grid-column: 1; justify-self: start; align-self: start; margin-bottom: 10px; padding: 3px 8px; border-radius: 3px;
	font: 400 11px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
	background: #eceae6; color: #5f5b53;
}
.program--active .program__state { background: var(--sage-button); color: var(--white); }
.program--blue .program__state { background: #e4eef6; color: var(--blue-ink); }
.programs__sublabel { margin: 6px 0 -8px; font: 400 11px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #5f5b53; }
.programs__sublabel--blue { color: var(--blue-ink); margin-top: 14px; }
.program:hover { box-shadow: 0 10px 28px rgba(15, 18, 23, 0.10); }
.program.is-open { cursor: auto; }
.program__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
.program__name { grid-column: 1; font: 400 22px/1.15 var(--serif); letter-spacing: 0.02em; color: var(--tone-ink); margin-bottom: 8px; }
.program__tag { display: block; margin-top: 4px; font: 400 11px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); }
.program__icon { grid-column: 2; grid-row: 1 / span 3; width: clamp(96px, 11vw, 140px); height: auto; align-self: start; }
.program__summary { grid-column: 1; font-size: 15.5px; line-height: 1.55; margin: 0 0 12px; }
@media (max-width: 560px) {
	.program { padding: 20px 18px 14px; }
	.program__icon { grid-row: 1; width: 84px; }
	.program__summary { grid-column: 1 / -1; }
	.program__figure { float: none; width: min(100%, 260px); margin: 4px 0 14px; }
}
.program__bullets { list-style: none; margin: 8px 0 12px; display: grid; gap: 12px; }
.program__bullets li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; }
.program__bullets li::before { content: "\2756"; position: absolute; left: 0; top: 1px; font-size: 11px; color: var(--sage); }
.program__bullets strong, .program__summary strong { color: var(--sage-ink); font-weight: 600; }
.program__status { margin: 4px 0 6px; text-align: right; font-style: italic; color: var(--tone-ink); }
.program__status strong { font-style: italic; font-weight: 700; }
.program__status a { color: inherit; }

.program__more { border-top: 1px solid rgba(15, 18, 23, 0.12); margin-top: 12px; padding-top: 18px; }
.program__block { margin-bottom: 20px; }
.program__block h4 { font: 600 12px/1.4 var(--sans); letter-spacing: 2.4px; text-transform: uppercase; color: var(--tone-ink); margin-bottom: 8px; }
.program__block p, .program__block li { font-size: 15px; line-height: 1.6; }
.program__block ul { padding-left: 1.1em; }
.program__block li { margin-bottom: 6px; }
.program__block a { color: var(--tone-ink); }
.program__question { font: 400 19px/1.35 var(--serif); color: var(--text-dark); }
.areas { display: grid; gap: 12px; margin: 0; }
.areas div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding-top: 12px; border-top: 1px solid rgba(15, 18, 23, 0.08); }
.areas dt { font-weight: 600; color: var(--tone-ink); }
.areas dd { margin: 0; font-size: 14.5px; line-height: 1.55; }
@media (max-width: 560px) { .areas div { grid-template-columns: 1fr; gap: 2px; } }
.program__figure { float: right; width: min(42%, 220px); margin: 0 0 12px 16px; }
.program__block::after { content: ""; display: block; clear: both; }
.programs--single { grid-template-columns: minmax(0, 860px); }
.program__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 8px; }
.program__links .btn { letter-spacing: 1.6px; }
.program--blue .program__links .btn:not(.btn--ghost-dark) { background: var(--blue-ink); border-color: var(--blue-ink); }

.more-btn {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; margin-top: 4px;
	background: none; border: 0; cursor: pointer;
	font: 400 14px/1.2 var(--sans); color: var(--taupe);
}
.more-btn:hover { color: var(--white); }
.more-btn [aria-hidden] { transition: transform .25s; }
.more-btn[aria-expanded="true"] [aria-hidden] { transform: rotate(-90deg); }
.more-btn--program { color: var(--tone-ink); font-weight: 500; }
.more-btn--program:hover { color: var(--text-dark); }
.more-btn--program [aria-hidden] { transform: rotate(90deg); }
.more-btn--program[aria-expanded="true"] [aria-hidden] { transform: rotate(-90deg); }

/* Collapsible regions: hidden only when JS is running, so no-JS visitors see everything. */
.js [data-collapsible]:not(.is-open) { display: none; }
.no-js .more-btn { display: none; }

/* ---------- Program tiles (home) ---------- */

.tiles { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile {
	--tone: var(--sage); --tone-ink: var(--sage-ink);
	position: relative; display: flex; flex-direction: column; min-height: 168px;
	padding: 20px 22px 18px; background: rgba(255, 255, 255, 0.94); color: var(--text-dark); text-decoration: none;
	border: 1px solid rgba(109, 134, 117, 0.45); border-left: 4px solid var(--tone);
	transition: box-shadow .25s, transform .25s;
}
.tile--blue { --tone: var(--blue); --tone-ink: var(--blue-ink); border-color: rgba(43, 143, 208, 0.55); border-left-color: var(--blue); }
.tile--neutral { --tone: #8a867b; --tone-ink: #5f5b53; border-color: rgba(147, 143, 132, 0.5); border-left-color: #8a867b; }
.tile--big { background: #f4f7f3; border-left-width: 6px; }
.tile:hover { box-shadow: 0 10px 28px rgba(15, 18, 23, 0.12); transform: translateY(-2px); }
.tile--big { grid-row: span 2; }
.tile__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.tile__icon { flex: none; width: 76px; height: auto; }
.tile--big .tile__head { flex-direction: column-reverse; gap: 18px; }
.tile--big .tile__icon { width: min(70%, 220px); }
.tile__state { display: block; font: 400 11px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tone-ink); }
.tile__name { font: 400 22px/1.15 var(--serif); letter-spacing: 0.02em; color: var(--tone-ink); margin-top: 6px; }
.tile--big .tile__name { font-size: 30px; }
.tile__text { margin: 0 0 12px; font-size: 15px; line-height: 1.5; }
.tile--big .tile__text { font-size: 16.5px; }
.tile::after { content: "\2192"; margin-top: auto; align-self: flex-end; color: var(--tone-ink); }
@media (max-width: 900px) {
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tile--big { grid-column: 1 / -1; grid-row: auto; }
	.tile--big .tile__head { flex-direction: row; }
	.tile--big .tile__icon { width: 120px; }
}
@media (max-width: 560px) {
	.tiles { grid-template-columns: 1fr; }
	.tile--big .tile__icon { width: 84px; }
}

/* ---------- People ---------- */

.people-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 1024px) { .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .people-grid { grid-template-columns: 1fr; } }
.people-group + .people-group { margin-top: clamp(56px, 7vw, 88px); }
.people-group__intro { color: var(--muted-light); max-width: 720px; margin: -12px 0 28px; }

.person {
	background: rgba(27, 30, 37, 0.96);
	border-left: 3px solid var(--gold);
	padding: 28px 26px 18px;
	scroll-margin-top: calc(var(--header-h) + 24px);
}
.person:target { box-shadow: 0 0 0 1px var(--gold); }
/* Photo and name scale with the card's own width, so long names
   (e.g. "Narasimhan") fit in every grid layout. */
.person { container-type: inline-size; }
.person__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; margin-bottom: 18px; }
.person__photo { width: 120px; width: clamp(84px, 34cqi, 132px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.person__name {
	font: 400 28px/1.08 var(--serif); font-size: clamp(21px, 8.6cqi, 32px);
	color: var(--sage); margin-bottom: 8px; overflow-wrap: break-word;
}
.person__role { font-size: 14.5px; line-height: 1.4; margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--taupe); max-width: 180px; }
.person__body p { font-size: 15px; line-height: 1.6; }
.person__body p:last-of-type { margin-bottom: 0.6em; }
.person__project { padding: 12px 14px; background: rgba(109, 134, 117, 0.12); border-left: 2px solid var(--sage); }
.person__project .eyebrow { color: var(--sage-light); }
.person__more { padding-top: 4px; }
.person__badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px; }
.badge {
	display: inline-block; padding: 4px 8px; border: 1px solid rgba(147, 171, 155, 0.45); border-radius: 3px;
	font: 400 11px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
	color: var(--sage-light);
}
.badge:hover { background: rgba(147, 171, 155, 0.12); border-color: var(--sage-light); }
@media (max-width: 680px) {
	.person { padding: 24px 20px 14px; }
	.person__head { gap: 16px; }
}

/* ---------- Fellowships ---------- */

.fship-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 860px) { .fship-grid { grid-template-columns: 1fr; } }
.fship { background: rgba(27, 30, 37, 0.96); border-left: 3px solid var(--gold); padding: 28px 28px 24px; scroll-margin-top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; }
.fship:target { box-shadow: 0 0 0 1px var(--gold); }
.fship h3 { font: 400 28px/1.1 var(--serif); color: var(--sage); margin-bottom: 14px; }
.fship p { font-size: 15.5px; }
.fship__site { margin: auto 0 4px; padding-top: 8px; }
.fship__more { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(147, 143, 132, 0.35); }
.fship__facts { margin: 0 0 12px; display: grid; gap: 10px; }
.fship__facts div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; font-size: 14.5px; line-height: 1.55; }
.fship__facts dt { font: 400 11px/2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--taupe); }
.fship__facts dd { margin: 0; color: var(--muted-light); }
.fship__facts strong { color: var(--white); }
.fship__links { list-style: none; display: grid; gap: 4px; font-size: 14.5px; }
.fship__links a { color: var(--sage-light); }
.fship .more-btn [aria-hidden] { transform: rotate(90deg); }
.fship .more-btn[aria-expanded="true"] [aria-hidden] { transform: rotate(-90deg); }
@media (max-width: 480px) { .fship__facts div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Publications ---------- */

.pub-section { font: 400 clamp(26px, 3vw, 32px)/1.1 var(--serif); color: var(--sage-ink); margin: 56px 0 16px; }
.pub-section:first-child { margin-top: 0; }
.pubs { display: flex; flex-wrap: wrap; gap: 20px; }
.pub {
	flex: 1 1 420px; display: flex; flex-direction: column;
	padding: 22px 24px 18px; background: rgba(255, 255, 255, 0.94); color: var(--text-dark);
	border: 1px solid rgba(109, 134, 117, 0.45); border-left: 4px solid var(--sage);
}
.pub__year { margin: 0 0 6px; font: 400 12px/1.4 var(--mono); letter-spacing: 0.08em; color: var(--muted-dark); }
.pub__title { margin: 0 0 10px; font: 400 21px/1.3 var(--serif); }
.pub__title a { color: var(--text-dark); text-decoration-color: rgba(15, 18, 23, 0.3); }
.pub__title a:hover { color: var(--sage-ink); }
.pub__meta { margin: 0 0 6px; font-size: 14px; line-height: 1.55; color: var(--muted-dark); }
.pub__meta strong { color: var(--text-dark); font-weight: 600; }
.pub__venue { margin: 0; font-size: 14px; font-style: italic; color: var(--muted-dark); }
.pub__note { margin: 10px 0 0; font-size: 14px; color: var(--sage-ink); }
.pub__note a { color: var(--sage-ink); }
@media (max-width: 560px) { .pub { flex-basis: 100%; padding: 20px 18px 16px; } }

/* ---------- Status labels (fellowships) ---------- */

.status { align-self: flex-start; margin: 0 0 12px; padding: 4px 9px; border-radius: 3px; font: 400 11px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.status--open { background: #e3efe6; color: #2f5a3c; }
.status--soon { background: #e4eef6; color: var(--blue-ink); }
.status--closed { background: #eceae6; color: #5f5b53; }
.status--tba { background: #f1ebe0; color: #7a5f33; }

/* ---------- Timeline (About) ---------- */

.timeline { margin: 8px 0 36px; }
.timeline img { width: 100%; }

/* ---------- CTA, contact, misc ---------- */

.cta {
	background: var(--sage);
	border-left: 3px solid var(--gold);
	padding: clamp(28px, 5vw, 56px);
	max-width: 620px;
}
.cta h2 { font: 400 clamp(32px, 4.4vw, 44px)/1.08 var(--serif); color: var(--ink-2); margin-bottom: 20px; }
.cta h2 span { color: var(--white); }
.cta p { color: var(--white); }
.cta .btn-row { margin-top: 24px; }


.contact-form { display: grid; gap: 18px; max-width: 620px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted-light); }
.contact-form input, .contact-form textarea {
	width: 100%; padding: 12px 14px; border-radius: var(--radius);
	border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.04);
	color: var(--white); font: 400 16px/1.5 var(--sans);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--sage-light); background: rgba(255, 255, 255, 0.07); }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .contact-form .row { grid-template-columns: 1fr; } }
.form-note { font-size: 14px; color: var(--muted-light); }
.contact-cards { display: grid; gap: 16px; }
.contact-card { padding: 22px 24px; background: rgba(27, 30, 37, 0.96); border-left: 3px solid var(--gold); }
.contact-card h3 { font: 400 22px/1.2 var(--serif); color: var(--sage); margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--muted-light); }
.contact-card a { color: var(--white); }

.graphic-card { background: rgba(248, 250, 253, 0.59); border-left: 5px solid var(--taupe); padding: clamp(24px, 4vw, 40px); color: var(--text-dark); }
.graphic-card img { margin: 0 auto 24px; max-height: 240px; width: auto; }
.graphic-card h3 { font: 400 clamp(28px, 3.4vw, 36px)/1.2 var(--serif); color: var(--sage); margin-bottom: 16px; }
.graphic-card .eyebrow { color: var(--taupe); font-size: 14px; text-transform: none; }
.graphic-card p { font-size: 15.5px; }
.divider { color: var(--gold); letter-spacing: 4px; margin: 20px 0; }

.notice { padding: 14px 18px; border-left: 3px solid var(--blue); background: rgba(43, 143, 208, 0.08); font-size: 14.5px; }
.section--paper .notice { background: rgba(43, 143, 208, 0.08); }

.field-list { list-style: none; display: grid; gap: 16px; }
.field-list li { padding-left: 18px; border-left: 2px solid var(--sage); }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 14px; color: var(--muted-light); }
.site-footer__grid {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo ." "brand contact";
	gap: 14px 40px; padding-top: 56px; padding-bottom: 40px;
}
.site-footer__logo { grid-area: logo; width: 44px; height: 44px; }
.site-footer__brand { grid-area: brand; }
.site-footer__contact { grid-area: contact; }
.site-footer__name { font: 400 22px/1.2 var(--serif); color: var(--white); margin-bottom: 8px; }
.site-footer__brand p:last-child { max-width: 340px; }
.site-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.site-footer__nav ul { list-style: none; display: grid; gap: 10px; align-content: start; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__contact p { margin-bottom: 14px; }
.site-footer__contact .eyebrow { margin-bottom: 2px; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; }
.site-footer__base p { margin: 0; }
@media (max-width: 680px) { .site-footer__grid { grid-template-columns: 1fr; grid-template-areas: "logo" "brand" "contact"; gap: 14px; } .site-footer__contact { margin-top: 14px; } }

/* ---------- Consent bar ---------- */

.consent {
	position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px;
	max-width: 760px; margin: 0 auto;
	display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
	padding: 14px 18px; border-radius: 6px;
	background: rgba(15, 18, 23, 0.96); border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); font-size: 14px;
}
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 260px; }
.consent__actions { display: flex; gap: 8px; }

/* ---------- Motion ---------- */

.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.section--dark, .section--paper { background-attachment: scroll; }
}

@media print {
	.site-header, .mobile-nav, .consent, .more-btn { display: none !important; }
	.js [data-collapsible] { display: block !important; }
	body { background: #fff; color: #000; }
}
