/* ==========================================================================
   APPC Civic — Annenberg Public Policy Center
   Civic inscription over documentary photography. Penn Red crowns the page,
   black frames the hero and footer, Penn Blue owns the fields between, and
   gold appears only as a hairline. Every color is from the Penn web palette:
   red, blue, black, white, light grays, and light blue and gold as accents.
   ========================================================================== */

:root {
	--blue: #011f5b;
	--red: #990000;
	--black: #000000;
	--gold: #f2c100;
	--light-blue: #82afd3;
	--limestone: #f2f2f2;
	--limestone-2: #f7f7f7;
	--white: #ffffff;
	--blue-rule: rgba(255, 255, 255, 0.28);
	/* Neutrals for secondary text and rules. */
	--ink: #000000;
	--ink-2: #4a4a4a;
	--rule: #d9d9d9;

	--serif: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--sans: "Roboto", "Helvetica Neue", Arial, sans-serif;

	--step--1: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
	--step-0: clamp(1.0625rem, 1.03rem + 0.15vw, 1.1875rem);
	--step-1: clamp(1.25rem, 1.18rem + 0.35vw, 1.5rem);
	--step-2: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
	--step-3: clamp(1.875rem, 1.6rem + 1.4vw, 2.75rem);
	--step-4: clamp(2.375rem, 1.9rem + 2.5vw, 4rem);
	--step-5: clamp(2.75rem, 2rem + 3.9vw, 5.5rem);

	--space-1: 0.5rem;
	--space-2: 1rem;
	--space-3: 1.5rem;
	--space-4: 2.5rem;
	--space-5: 4rem;
	--space-6: clamp(4rem, 3rem + 5vw, 7.5rem);

	--wrap: 84rem;
	--gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);
	--masthead: 5rem;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--focus: var(--red);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--masthead) + 1rem); }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--serif);
	font-size: var(--step-0);
	line-height: 1.6;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
html { scrollbar-color: var(--blue) var(--limestone); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: var(--gutter); top: -4rem; z-index: 100;
	padding: 0.75rem 1.25rem; background: var(--gold); color: var(--black);
	font: 500 var(--step--1) / 1 var(--sans); text-decoration: none;
	transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 0.75rem; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* Surfaces --------------------------------------------------------------- */
.section { padding-block: var(--space-6); }
.section--follow { padding-top: 0; }
.section:not([class*="section--"]) + .section:not([class*="section--"]) { padding-top: 0; }
.section--slate { background: var(--blue); color: var(--white); --focus: var(--gold); }
.section--limestone { background: var(--limestone); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Masthead --------------------------------------------------------------- */
.masthead {
	position: sticky; top: 0; z-index: 50;
	background: var(--red); color: var(--white);
	--focus: var(--gold);
	transition: box-shadow 0.3s var(--ease-out);
}
.masthead.is-scrolled { box-shadow: 0 6px 24px -10px rgba(0, 0, 0, 0.55); }
.masthead__inner {
	display: flex; align-items: center; gap: var(--space-3);
	max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto;
	padding-inline: var(--gutter); min-height: var(--masthead);
}
.masthead__brand { display: block; width: clamp(10.5rem, 8rem + 6vw, 13.5rem); flex: none; color: var(--white); }
.masthead__brand svg { width: 100%; height: auto; }

.nav-primary { margin-left: auto; display: flex; align-items: center; gap: var(--space-3); }
.nav-primary__list { display: flex; gap: clamp(0.75rem, 0.2rem + 1.2vw, 1.75rem); }
.nav-primary__list a {
	position: relative; display: block; padding-block: 0.5rem;
	font: 500 0.9375rem / 1.2 var(--sans); letter-spacing: 0.01em;
	color: var(--white); text-decoration: none; white-space: nowrap;
}
/* State drawn by rule pattern: hover = hairline, current = double rule. */
.nav-primary__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0;
	height: 1px; background: var(--gold);
	transform: scaleX(0); transform-origin: left;
	transition: transform 0.35s var(--ease-out);
}
.nav-primary__list a:hover::after { transform: scaleX(1); }
.nav-primary__list .current-menu-item > a::after,
.nav-primary__list .current-menu-ancestor > a::after,
.nav-primary__list .current_page_parent > a::after,
.nav-primary__list a[aria-current="page"]::after {
	transform: scaleX(1); height: 5px;
	background: linear-gradient(var(--gold) 0 1px, transparent 1px 4px, var(--gold) 4px 5px);
}
.nav-primary__search { display: none; }

.masthead__actions { display: flex; align-items: center; gap: 0.25rem; }
.masthead__search, .masthead__menu {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.5rem;
	background: none; border: 0; color: var(--white); cursor: pointer; text-decoration: none;
	font: 500 0.9375rem / 1 var(--sans);
}
.masthead__search:hover, .masthead__menu:hover { color: var(--gold); }
.masthead__menu { display: none; }
.masthead__menu-close { display: none; }
.masthead__menu[aria-expanded="true"] .masthead__menu-open { display: none; }
.masthead__menu[aria-expanded="true"] .masthead__menu-close { display: inline; }

.search-panel { background: var(--blue); border-top: 1px solid var(--blue-rule); }
.search-panel__inner { max-width: calc(48rem + var(--gutter) * 2); margin-inline: auto; padding: var(--space-4) var(--gutter); }

@media (max-width: 63.99em) {
	.masthead__menu { display: inline-flex; }
	.masthead__actions { margin-left: auto; }
	.nav-primary {
		position: absolute; inset: 100% 0 auto 0;
		display: none; flex-direction: column; align-items: stretch; gap: var(--space-3);
		max-height: calc(100svh - var(--masthead)); overflow-y: auto;
		padding: var(--space-3) var(--gutter) var(--space-5);
		background: var(--red); border-top: 1px solid var(--blue-rule);
	}
	.nav-primary.is-open { display: flex; }
	.nav-primary__list { flex-direction: column; gap: 0; }
	.nav-primary__list a {
		padding-block: 1rem; border-bottom: 1px solid var(--blue-rule);
		font: 500 var(--step-2) / 1.1 var(--serif); letter-spacing: 0;
	}
	.nav-primary__list a::after { display: none; }
	.nav-primary__list a[aria-current="page"],
	.nav-primary__list .current-menu-item > a { color: var(--gold); }
	.nav-primary__search { display: block; }
	.masthead__search { display: none; }
	.masthead__menu-label { font-size: var(--step--1); }
}

/* Search ----------------------------------------------------------------- */
.search-form { display: flex; align-items: stretch; width: 100%; background: var(--white); color: var(--ink); }
.search-form input {
	flex: 1; min-width: 0; padding: 0.875rem 1rem; border: 0; background: transparent;
	font: 400 1.0625rem / 1.3 var(--sans); color: var(--ink);
}
.search-form input::placeholder { color: var(--ink-2); }
.search-form input:focus { outline: none; }
.search-form:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.search-form button {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0 1.25rem; border: 0; cursor: pointer;
	background: var(--red); color: var(--white);
	font: 500 0.9375rem / 1 var(--sans);
	transition: background-color 0.25s var(--ease-out);
}
.search-form button:hover { background: var(--blue); }
.search-form--large input { padding: 1.125rem 1.25rem; font-size: 1.125rem; }
@media (max-width: 30em) { .search-form button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }

/* Links and buttons ------------------------------------------------------ */
.text-link {
	display: inline-flex; align-items: center; gap: 0.5rem; min-height: 1.5rem;
	font: 500 0.9375rem / 1.3 var(--sans); color: var(--blue); text-decoration: none;
}
.text-link .icon { transition: transform 0.35s var(--ease-out); }
.text-link:hover { color: var(--red); }
.text-link:hover .icon { transform: translateX(4px); }
.section--slate .text-link, .colophon .text-link { color: var(--white); }
.section--slate .text-link:hover { color: var(--gold); }

.ext-mark { display: inline-block; white-space: nowrap; }
.ext-mark .icon { display: inline-block; width: 0.8em; height: 0.8em; margin-left: 0.3em; vertical-align: -0.02em; opacity: 0.7; }
a:hover .ext-mark .icon { opacity: 1; }

.button {
	display: inline-flex; align-items: center; gap: 0.625rem;
	padding: 0.95rem 1.5rem; background: var(--blue); color: var(--white);
	font: 500 0.9375rem / 1 var(--sans); text-decoration: none;
	transition: background-color 0.25s var(--ease-out);
}
.button:hover { background: var(--red); }
.button--red { background: var(--red); }
.button--red:hover { background: var(--white); color: var(--red); }
.button--light { background: var(--white); color: var(--blue); }
.button--light:hover { background: var(--red); color: var(--white); }

/* Section heads: carved capitals over a Penn Red chisel mark ------------- */
.section-head {
	display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-2);
	margin-bottom: var(--space-4); padding-top: var(--space-2);
	border-top: 1px solid var(--rule); position: relative;
}
.section-head::before {
	content: ""; position: absolute; top: -2px; left: 0; width: 3.5rem; height: 3px; background: var(--red);
}
.section--slate .section-head { border-top-color: var(--blue-rule); }
.section--slate .section-head::before { background: var(--white); }
.section-head__title {
	font: 500 var(--step-1) / 1.15 var(--serif);
	text-transform: uppercase; letter-spacing: 0.14em;
}
.section-head__link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 1.5rem; font: 500 0.9375rem / 1.3 var(--sans); text-decoration: none; color: var(--blue); }
.section-head__link:hover { color: var(--red); }
.section-head__link .icon { transition: transform 0.35s var(--ease-out); }
.section-head__link:hover .icon { transform: translateX(4px); }
.section--slate .section-head__link { color: var(--white); }
.section--slate .section-head__link:hover { color: var(--gold); }
.section-intro { max-width: 38rem; margin: calc(var(--space-2) * -1) 0 var(--space-4); font-size: var(--step-1); line-height: 1.45; color: var(--ink-2); }
.section--slate .section-intro { color: var(--limestone); }

/* Datelines and the ruled register --------------------------------------- */
.dateline { font: 500 0.8125rem / 1.2 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; color: var(--ink-2); white-space: nowrap; }

.register-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.875rem; }
.register-head__title { font: 500 1.0625rem / 1.2 var(--serif); text-transform: uppercase; letter-spacing: 0.14em; color: var(--white); }
.register-head__link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 1.5rem; font: 500 0.875rem / 1.2 var(--sans); color: var(--white); text-decoration: none; }
.register-head__link:hover { color: var(--gold); }
.register-head__link .icon { width: 1.1em; height: 1.1em; transition: transform 0.35s var(--ease-out); }
.register-head__link:hover .icon { transform: translateX(4px); }
.register { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--blue-rule); }
.register__row {
	display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 0.25rem 0.75rem;
	padding: 0.875rem var(--space-3) 0.25rem;
}
.register:not(.register--full) .register__row + .register__row { border-left: 1px solid var(--blue-rule); }
.register:not(.register--full) .register__row:first-child { padding-left: 0; }
.register--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.register--light:not(.register--full) { border-top-color: var(--rule); }
.register--light:not(.register--full) .register__row + .register__row { border-left-color: var(--rule); }
.register .dateline, .register__source { color: var(--limestone); }
.hero__register .register__source { color: var(--limestone); }
.register__source { font: 500 0.8125rem / 1.2 var(--sans); color: var(--light-blue); }
.hero .register__source { color: var(--limestone); }
.register__title {
	grid-column: 1 / -1; font: 400 var(--step-1) / 1.25 var(--serif); color: var(--white); text-decoration: none;
	text-wrap: pretty;
}
.register__title:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.2em; }
.register--full { grid-template-columns: 1fr; border-top: 0; }
.register--full .register__row { grid-template-columns: 8rem 12rem 1fr; align-items: baseline; padding: 1rem 0; border-top: 1px solid var(--blue-rule); }
.register--full .register__title { grid-column: auto; }
.register--light .register__row { border-top-color: var(--rule); }
.register--light .dateline { color: var(--ink-2); }
.register--light .register__source { color: var(--red); }
.register--light .register__title { color: var(--ink); }
.register--light .register__title:hover { text-decoration-color: var(--red); }
@media (max-width: 63.99em) { .register--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .register--four .register__row:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 47.99em) {
	.register, .register--four { grid-template-columns: 1fr; }
	.register:not(.register--full) .register__row { padding-left: 0; padding-right: 0; border-left: 0; }
	.register:not(.register--full) .register__row + .register__row { border-top: 1px solid var(--blue-rule); }
	.register--light:not(.register--full) .register__row + .register__row { border-top-color: var(--rule); }
	.register--full .register__row { grid-template-columns: auto 1fr; }
	.register--full .register__title { grid-column: 1 / -1; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	display: grid; grid-template-rows: 1fr auto;
	min-height: clamp(38rem, calc(100svh - var(--masthead)), 60rem);
	background: var(--blue); color: var(--white); --focus: var(--gold);
}
/* Media fills only the top row, so the releases strip never covers it. */
.hero__media { position: relative; grid-row: 1; grid-column: 1; z-index: -1; overflow: hidden; }
.hero__photo, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo img, .hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.daypart-dusk .hero__photo img, .daypart-night .hero__photo img { object-position: 50% 60%; }
/* Tall enough on wide screens that the crop stays small (under a fifth),
   split so City Hall's statue and the street both stay in frame. */
.hero__video { object-position: 60% 45%; }
@media (min-width: 64em) {
	.hero__grid { min-height: min(46vw, calc(100svh - var(--masthead))); }
}
/* Until APPC supplies footage, the photo drifts slowly in its place. */
.hero__photo img { transform-origin: 70% 50%; animation: appc-drift 32s ease-in-out infinite alternate; }
.hero.is-still .hero__photo img { animation-play-state: paused; }
@keyframes appc-drift { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.12) translateX(-2.5%); } }

.hero__grid { grid-row: 1; grid-column: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; padding-block: clamp(2rem, 6svh, 4rem); position: relative; }
/* Text sits on a near-solid black panel, legible over any frame of video. */
.hero__panel {
	/* Narrow, so City Hall stays in view to its right. */
	grid-column: 1 / span 5; position: relative; container-type: inline-size;
	padding: clamp(1.5rem, 0.75rem + 2vw, 2.75rem);
	background: rgba(0, 0, 0, 0.88);
	border-top: 4px solid var(--red);
}
.hero__title {
	/* Sized so the longest sentence fits the panel on one line. */
	font: 500 min(var(--step-4), 7.4svh, 100cqi / 8.8) / 1.04 var(--serif);
	letter-spacing: -0.018em; text-wrap: balance;
}
/* One sentence per line; a long one wraps within its own line. */
.hero__title .line { display: block; }
.hero__lede { max-width: 34rem; margin-top: var(--space-3); font-size: var(--step-1); line-height: 1.45; color: var(--limestone); text-wrap: pretty; }
.hero__factcheck { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.hero__factcheck:hover { text-decoration-thickness: 2px; }
.hero__cta { margin-top: var(--space-4); }
.hero__motion {
	position: absolute; right: var(--gutter); bottom: var(--space-3);
	display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
	background: var(--blue); color: var(--white); border: 1px solid var(--blue-rule); cursor: pointer;
}
.hero__motion:hover { background: var(--red); }
.hero__motion-pause { display: inline-flex; }
.hero__motion-play,
.hero__motion[aria-pressed="true"] .hero__motion-pause { display: none; }
.hero__motion[aria-pressed="true"] .hero__motion-play { display: inline-flex; }
.hero__register { grid-row: 2; padding-block: var(--space-3) var(--space-4); background: var(--blue); }
@media (max-width: 63.99em) {
	.hero__panel { grid-column: 1 / -1; }
	.hero__grid { padding-bottom: calc(var(--space-3) * 2 + 2.75rem); }
}

/* Stories ---------------------------------------------------------------- */
.story { position: relative; }
.story__media { overflow: hidden; background: var(--limestone-2); }
.story__media img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.story:hover .story__media img { transform: scale(1.03); }
.story__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.875rem; margin: 1rem 0 0.5rem; }
.story__area { font: 500 0.8125rem / 1.2 var(--sans); color: var(--red); }
.story__title { font: 500 var(--step-1) / 1.2 var(--serif); text-wrap: pretty; }
.story__title a { text-decoration: none; }
.story__title a::after { content: ""; position: absolute; inset: 0; }
.story__title a:hover, .story:hover .story__title a { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.story__title a:focus-visible { outline: none; }
.story:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 6px; }
.story__excerpt { margin-top: 0.75rem; color: var(--ink-2); max-width: 38rem; }
.story--lead .story__media img { aspect-ratio: 16 / 10; }
.story--lead .story__title { font-size: var(--step-3); line-height: 1.08; letter-spacing: -0.01em; }
.story--compact { display: grid; grid-template-columns: 1fr 7.5rem; gap: 0 var(--space-3); padding-block: var(--space-3); border-top: 1px solid var(--rule); }
.story--compact .story__media { grid-column: 2; grid-row: 1; align-self: start; }
.story--compact .story__media img { aspect-ratio: 1; }
.story--compact .story__body { grid-column: 1; grid-row: 1; }
.story--compact .story__meta { margin-top: 0; }
.story--compact .story__title { font-size: var(--step-1); }

.findings__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); }
.findings__lead { grid-column: 1 / span 7; }
.findings__list { grid-column: 9 / -1; }
.findings__list li:first-child .story--compact { border-top: 0; padding-top: 0; }
@media (max-width: 63.99em) {
	.findings__lead, .findings__list { grid-column: 1 / -1; }
	.findings__list li:first-child .story--compact { border-top: 1px solid var(--rule); padding-top: var(--space-3); }
}
.story-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--space-4) var(--space-3); }
.story-row--four { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--rule); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }

/* Colonnade -------------------------------------------------------------- */
.colonnade-section { padding-bottom: 0; padding-top: var(--space-5); }
.colonnade {
	display: flex; gap: 2px; height: clamp(26rem, calc(100svh - var(--masthead) - 9rem), 38rem);
	background: var(--blue);
}
.colonnade__pillar { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; transition: flex-grow 0.8s var(--ease-out); }
.colonnade__pillar.is-open { flex-grow: 3.4; }
.colonnade__pillar a { position: absolute; inset: 0; display: block; color: var(--white); text-decoration: none; }
.colonnade__photo { position: absolute; inset: 0; background: var(--blue); }
.colonnade__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); mix-blend-mode: luminosity; opacity: 0.8; transition: filter 0.8s var(--ease-out), opacity 0.8s var(--ease-out), transform 1.4s var(--ease-out); transform: scale(1.06); }
.colonnade__pillar.is-open .colonnade__photo img { filter: none; mix-blend-mode: normal; opacity: 1; transform: scale(1); }
.colonnade__photo::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(1, 31, 91, 0.96) 0%, rgba(1, 31, 91, 0.8) 45%, rgba(1, 31, 91, 0) 82%);
}
.colonnade__photo::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: rgba(1, 31, 91, 0.66);
	transition: opacity 0.8s var(--ease-out);
}
.colonnade__pillar.is-open .colonnade__photo::before { opacity: 0; }
.colonnade__text { position: absolute; inset: auto 0 0 0; z-index: 2; display: grid; gap: 0.5rem; padding: var(--space-3); }
.colonnade__name {
	font: 500 var(--step-2) / 1.08 var(--serif); text-wrap: balance;
	transition: font-size 0.6s var(--ease-out);
}
.colonnade__kind { order: -1; font: 500 0.8125rem / 1 var(--sans); color: var(--white); display: none; }
.colonnade__pillar.is-open .colonnade__kind { display: block; }
.colonnade__summary, .colonnade__go { opacity: 0; transform: translateY(0.75rem); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); }
.colonnade__summary { max-width: 26rem; font-size: var(--step-0); line-height: 1.45; color: var(--limestone); }
.colonnade__go { display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; background: var(--red); }

/* Closed pillars set their name level at the foot, sized to the pillar. */
@media (min-width: 64em) {
	.colonnade__pillar { container-type: inline-size; }
	.colonnade__pillar.is-open { flex-grow: 2.8; }
	.colonnade__pillar:not(.is-open) .colonnade__text { padding: var(--space-3) clamp(0.875rem, 9cqi, 1.5rem); gap: 0.625rem; }
	.colonnade__name { padding-top: 0.75rem; border-top: 1px solid rgba(242, 193, 0, 0.6); }
	.colonnade__pillar:not(.is-open) .colonnade__name { font-size: clamp(0.9375rem, 11.5cqi, 1.5rem); line-height: 1.12; }
	.colonnade__pillar:not(.is-open) .colonnade__kind { display: block; font-size: 0.75rem; color: var(--limestone); }
	.colonnade__pillar.is-open .colonnade__summary, .colonnade__pillar.is-open .colonnade__go { opacity: 1; transform: none; transition-delay: 0.25s; }
	.colonnade__pillar.is-open .colonnade__name { font-size: var(--step-3); max-width: 18ch; }
	.colonnade__pillar.is-open .colonnade__text { gap: 0.875rem; padding: var(--space-4); }
	.colonnade__pillar:not(.is-open) .colonnade__summary, .colonnade__pillar:not(.is-open) .colonnade__go { position: absolute; visibility: hidden; }
}
.colonnade__pillar a:focus-visible { outline-offset: -6px; }

@media (max-width: 63.99em) {
	.colonnade { flex-direction: column; height: auto; }
	.colonnade__pillar, .colonnade__pillar.is-open { flex: none; height: 15rem; }
	.colonnade__photo img { filter: none; mix-blend-mode: normal; opacity: 1; transform: none; }
	.colonnade__summary { opacity: 1; transform: none; font-size: 1rem; }
	.colonnade__kind { display: block; }
	.colonnade__go { display: none; }
}
.colonnade-section--hub { padding-top: 0; }
@media (min-width: 64em) {
	/* The Areas page is the pillars alone: fit them under the title. */
	.colonnade-section--hub .colonnade { height: clamp(26rem, calc(100svh - var(--masthead) - 14rem), 44rem); }
}

/* Programs --------------------------------------------------------------- */
.programs__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); }
.programs__intro { grid-column: 1 / span 5; align-self: start; position: sticky; top: calc(var(--masthead) + var(--space-4)); }
.programs__title { font: 500 var(--step-4) / 1.04 var(--serif); letter-spacing: -0.015em; text-wrap: balance; margin-bottom: var(--space-3); }
.programs__intro p { color: var(--ink-2); margin-bottom: var(--space-3); max-width: 34rem; }
.programs__list { grid-column: 7 / -1; }
.programs__list a { display: grid; gap: 0.25rem; padding: var(--space-3) 0; border-top: 1px solid var(--rule); text-decoration: none; position: relative; }
.programs__list li:last-child a { border-bottom: 1px solid var(--rule); }
.programs__list a::before { content: ""; position: absolute; top: -1px; left: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.programs__list a:hover::before, .programs__list a:focus-visible::before { transform: scaleX(1); }
.programs__name { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font: 500 var(--step-2) / 1.15 var(--serif); color: var(--blue); }
.programs__name .icon { color: var(--red); }
.programs__note { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 63.99em) {
	.programs__intro, .programs__list { grid-column: 1 / -1; position: static; }
}

/* Press ------------------------------------------------------------------ */
.press { padding-block: var(--space-5); }
.press__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-4); align-items: center; }
.press__title { font: 500 var(--step-3) / 1.1 var(--serif); margin-bottom: 0.75rem; }
.press__grid p { color: var(--ink-2); max-width: 36rem; }
.press__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); justify-content: flex-end; }
@media (max-width: 47.99em) { .press__grid { grid-template-columns: 1fr; } .press__actions { justify-content: flex-start; } }

/* Banners ---------------------------------------------------------------- */
.banner { position: relative; isolation: isolate; background: var(--blue); color: var(--white); --focus: var(--gold); padding-block: var(--space-5) var(--space-5); }
.banner--photo { min-height: clamp(24rem, 52vh, 34rem); display: flex; align-items: flex-end; }
.banner__photo, .banner__scrim { position: absolute; inset: 0; z-index: -1; }
.banner__photo img { width: 100%; height: 100%; object-fit: cover; }
.banner__scrim { background: linear-gradient(90deg, rgba(1, 31, 91, 0.94) 0%, rgba(1, 31, 91, 0.82) 56%, rgba(1, 31, 91, 0.3) 100%), linear-gradient(0deg, rgba(1, 31, 91, 0.6), transparent 50%); }
.banner__kicker { margin-bottom: var(--space-2); font: 500 0.875rem / 1 var(--sans); letter-spacing: 0.04em; color: var(--white); }
.banner__kicker::before { content: ""; display: inline-block; width: 1.5rem; height: 1px; margin-right: 0.75rem; vertical-align: 0.3em; background: var(--gold); }
.banner__title { font: 500 var(--step-5) / 1.02 var(--serif); letter-spacing: -0.018em; max-width: 18ch; text-wrap: balance; }
.banner__intro { max-width: 42rem; margin-top: var(--space-3); font-size: var(--step-1); line-height: 1.5; color: var(--limestone); }
.banner__intro p + p { margin-top: 1em; }
.banner__intro a { color: var(--white); }
.banner--search .search-form { margin-top: var(--space-4); }
.banner__count { margin-top: var(--space-2); font: 500 0.875rem / 1 var(--sans); color: var(--limestone); }
.banner__links { display: flex; gap: var(--space-4); margin-top: var(--space-3); }

.crumbs { margin-bottom: var(--space-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0; font: 400 0.875rem / 1.4 var(--sans); }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline: 0.625rem; opacity: 0.5; }
.crumbs a { color: var(--limestone); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); }

/* River listing ---------------------------------------------------------- */
.river { max-width: 60rem; }
.river__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.25rem var(--space-4); padding-block: var(--space-3); border-top: 1px solid var(--rule); position: relative; }
.river__row.has-thumb { grid-template-columns: minmax(0, 1fr) 12rem; }
.river__row.has-thumb > :not(.river__thumb) { grid-column: 1; }
.river__thumb { grid-column: 2; grid-row: 1 / span 3; }
.river__thumb img { aspect-ratio: 10 / 7; object-fit: cover; width: 100%; }
.river__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.875rem; align-items: baseline; }
.river__tag { font: 500 0.8125rem / 1.2 var(--sans); color: var(--red); }
.river__title { font: 500 var(--step-2) / 1.18 var(--serif); text-wrap: pretty; }
.river__title a { text-decoration: none; }
.river__title a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 0.18em; }
.river__excerpt { color: var(--ink-2); max-width: 44rem; }
@media (max-width: 40em) {
	.river__row.has-thumb { grid-template-columns: minmax(0, 1fr) 6.5rem; }
	.river__thumb img { aspect-ratio: 1; }
	.river__excerpt { display: none; }
}

.pagination { margin-top: var(--space-4); }
.pagination ul { display: flex; flex-wrap: wrap; gap: 0.25rem; font: 500 0.9375rem / 1 var(--sans); }
.pagination a, .pagination span { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; align-items: center; justify-content: center; padding: 0 0.875rem; text-decoration: none; border-top: 1px solid var(--rule); color: var(--blue); }
.pagination a:hover { border-top: 3px solid var(--red); }
.pagination .current { border-top: 3px double var(--blue); border-top-width: 5px; color: var(--ink); }

/* Empty state: absence designed ----------------------------------------- */
.empty { max-width: 34rem; padding: var(--space-5) 0; border-top: 1px solid var(--rule); }
.empty__mark { font: 400 var(--step-5) / 0.6 var(--serif); color: var(--rule); margin-bottom: var(--space-3); }
.empty__title { font: 500 var(--step-3) / 1.1 var(--serif); margin-bottom: 0.75rem; }
.empty p { color: var(--ink-2); margin-bottom: var(--space-3); }
.empty .search-form { border: 1px solid var(--rule); margin-bottom: var(--space-3); }

/* Link grid -------------------------------------------------------------- */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0 var(--space-3); }
.link-grid--three { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.link-grid--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.link-grid a { display: grid; gap: 0.375rem; height: 100%; padding: var(--space-3) 0 var(--space-4); border-top: 1px solid var(--rule); text-decoration: none; position: relative; }
.link-grid a::before { content: ""; position: absolute; top: -1px; left: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0.12); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.link-grid a:hover::before, .link-grid a:focus-visible::before { transform: scaleX(1); }
.link-grid__name { display: flex; justify-content: space-between; gap: 1rem; font: 500 var(--step-1) / 1.2 var(--serif); color: var(--blue); }
.link-grid__name .icon { color: var(--red); margin-top: 0.15em; transition: transform 0.35s var(--ease-out); }
.link-grid a:hover .link-grid__name .icon { transform: translateX(4px); }
.link-grid__note { font-size: 1rem; color: var(--ink-2); }
.hub__note { margin-top: var(--space-4); font-size: 1.125rem; max-width: 60ch; }
.section--slate .link-grid a { border-top-color: var(--blue-rule); }
.section--slate .link-grid a::before { background: var(--white); }
.section--slate .link-grid__name { color: var(--white); }
.section--slate .link-grid__name .icon { color: var(--gold); }
.section--slate .link-grid__note { color: var(--limestone); }

/* Area index ------------------------------------------------------------- */

/* Tally ------------------------------------------------------------------ */
.tally { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); border-top: 1px solid var(--rule); }
.tally a { display: grid; gap: 0.25rem; padding: var(--space-3) var(--space-2) var(--space-3) 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.tally__count { font: 400 var(--step-4) / 1 var(--serif); font-variant-numeric: lining-nums tabular-nums; color: var(--blue); }
.tally__name { font: 500 0.9375rem / 1.3 var(--sans); }
.tally a:hover .tally__count { color: var(--red); }

/* Chips ------------------------------------------------------------------ */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips a { display: inline-block; padding: 0.375rem 0.75rem; border: 1px solid var(--rule); font: 400 0.875rem / 1.2 var(--sans); text-decoration: none; color: var(--blue); }
.chips a:hover { border-color: var(--blue); background: var(--blue); color: var(--white); }

/* Article ---------------------------------------------------------------- */
.article__head { padding-block: var(--space-5) var(--space-4); }
.article .crumbs a { color: var(--ink-2); }
.article .crumbs a:hover { color: var(--red); text-decoration-color: var(--red); }
.article__title { font: 500 var(--step-4) / 1.06 var(--serif); letter-spacing: -0.015em; max-width: 30ch; text-wrap: balance; }
.article__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; align-items: baseline; margin-top: var(--space-3); font: 500 0.875rem / 1.3 var(--sans); }
.article__meta a { display: inline-block; padding-block: 0.2rem; color: var(--red); text-decoration: none; }
.article__meta a:hover { text-decoration: underline; }
/* The photo sits in the text column, beside the sidebar, at its own 16:9. */
.article__figure { grid-column: 1 / span 9; }
.article__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__figure figcaption { padding-top: 0.75rem; font: 400 0.875rem / 1.5 var(--sans); color: var(--ink-2); }
.article__layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); padding-block: var(--space-5) var(--space-6); }
.article__layout .prose { grid-column: 1 / span 9; max-width: 47rem; }
.article__aside { grid-column: 10 / -1; grid-row: 1 / span 2; display: grid; gap: var(--space-4); align-content: start; }
@media (max-width: 63.99em) { .article__figure, .article__layout .prose, .article__aside { grid-column: 1 / -1; grid-row: auto; } }
.aside-block { padding-top: var(--space-2); border-top: 1px solid var(--rule); display: grid; gap: 0.75rem; }
.aside-block__label { font: 500 0.8125rem / 1.2 var(--sans); letter-spacing: 0.02em; color: var(--ink-2); }
.aside-block a:not(.text-link):not(.chips a):not(.share a) { display: inline-block; padding-block: 0.2rem; color: var(--blue); }
.share { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.share a, .share button {
	display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0;
	border: 1px solid var(--rule); background: none; cursor: pointer;
	font: 500 0.875rem / 1 var(--sans); color: var(--blue); text-decoration: none;
	transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.share a:hover, .share button:hover { border-color: var(--blue); background: var(--blue); color: var(--white); }
.share a:focus-visible, .share button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.share button[hidden] { display: none; }
.share__icon { flex: none; }
.aside-block--press { border-top: 3px solid var(--red); }
.aside-block--press p { font-size: 1rem; color: var(--ink-2); }

/* Prose ------------------------------------------------------------------ */
.prose { max-width: 42rem; font-size: var(--step-0); line-height: 1.68; }
.prose--page { max-width: 46rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font: 500 var(--step-3) / 1.12 var(--serif); margin-top: 1.8em; }
.prose h3 { font: 500 var(--step-2) / 1.18 var(--serif); margin-top: 1.6em; }
.prose h4 { font: 500 var(--step-1) / 1.25 var(--sans); margin-top: 1.5em; }
.prose a { color: var(--blue); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.prose a:hover { text-decoration-thickness: 2px; color: var(--red); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose ul { list-style: square; }
.prose ul li::marker { color: var(--red); }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { padding-left: var(--space-3); border-left: 1px solid var(--red); font-size: var(--step-1); font-style: italic; color: var(--blue); }
.prose img { height: auto; }
.prose figure, .prose .wp-caption { max-width: 100%; }
.prose figcaption, .prose .wp-caption-text { margin-top: 0.5rem; font: 400 0.875rem / 1.5 var(--sans); color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font: 400 0.9375rem / 1.4 var(--sans); font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 0.625rem 0.75rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose th { font-weight: 500; border-bottom: 2px solid var(--blue); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin-block: 2em; }
.prose .alignleft { float: left; margin: 0.4em 1.5em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: 0.4em 0 1em 1.5em; max-width: 50%; }
.prose .aligncenter { margin-inline: auto; }
.prose iframe { max-width: 100%; }
.prose input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .prose textarea, .prose select { width: 100%; padding: 0.75rem; border: 1px solid var(--ink-2); font: 400 1rem / 1.4 var(--sans); background: var(--white); }
.prose input[type="submit"], .prose button[type="submit"] { padding: 0.95rem 1.5rem; border: 0; background: var(--blue); color: var(--white); font: 500 0.9375rem / 1 var(--sans); cursor: pointer; }
.prose input[type="submit"]:hover { background: var(--red); }
.prose label, .prose .gfield_label { font: 500 0.9375rem / 1.4 var(--sans); }
.prose input[type="checkbox"], .prose input[type="radio"] { width: 1.5rem; height: 1.5rem; accent-color: var(--blue); vertical-align: -0.2em; margin-right: 0.5rem; }
.prose .gfield_required { color: var(--red); }
.prose .validation_message, .prose .gfield_validation_message { color: var(--red); font: 500 0.875rem / 1.4 var(--sans); }

/* People ----------------------------------------------------------------- */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: var(--space-4) var(--space-3); }
.people-grid--lead { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.person { position: relative; display: grid; gap: 0.375rem; align-content: start; }
.person__photo { overflow: hidden; background: var(--blue); aspect-ratio: 4 / 5; margin-bottom: 0.5rem; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); transition: transform 1s var(--ease-out), filter 0.6s var(--ease-out); }
.person:hover .person__photo img { transform: scale(1.03); filter: none; }
.person__initials { display: grid; place-items: center; height: 100%; font: 400 var(--step-4) / 1 var(--serif); color: var(--light-blue); letter-spacing: 0.06em; }
.person__name { font: 500 var(--step-1) / 1.2 var(--serif); }
.person__name a { text-decoration: none; color: var(--blue); }
.person__name a::after { content: ""; position: absolute; inset: 0; }
.person__name a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.person:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 6px; }
.person__name a:focus-visible { outline: none; }
.person__title { font: 400 0.9375rem / 1.4 var(--sans); color: var(--ink-2); }
.person--lead .person__name { font-size: var(--step-2); }

/* Area page: section nav, sections, read more ----------------------------- */
.subnav {
	position: sticky; top: var(--masthead); z-index: 40;
	background: var(--white); border-bottom: 1px solid var(--rule);
}
.subnav__list { display: flex; gap: clamp(1rem, 0.4rem + 2vw, 2.5rem); overflow-x: auto; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav a {
	position: relative; display: block; padding-block: 1.125rem; white-space: nowrap;
	font: 500 0.9375rem / 1 var(--sans); color: var(--ink-2); text-decoration: none;
}
.subnav a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red);
	transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out);
}
.subnav a:hover { color: var(--blue); }
.subnav a:hover::after { transform: scaleX(0.35); }
.subnav a[aria-current] { color: var(--blue); }
.subnav a[aria-current]::after { transform: scaleX(1); }
.subnav a:focus-visible { outline-offset: -3px; }
html:has(.subnav) { scroll-padding-top: calc(var(--masthead) + 4.5rem); }

.area-section + .area-section { padding-top: 0; }
.area-section__grid {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-3);
	padding-top: var(--space-2); border-top: 1px solid var(--rule); position: relative;
}
.area-section__grid::before { content: ""; position: absolute; top: -2px; left: 0; width: 3.5rem; height: 3px; background: var(--red); }
.area-section__grid > :first-child { grid-column: 1 / span 3; }
.area-section__grid > :last-child { grid-column: 4 / -1; }
.area-section__title { font: 500 var(--step-1) / 1.15 var(--serif); text-transform: uppercase; letter-spacing: 0.14em; }
.area-section__sub { margin: var(--space-5) 0 var(--space-3); font: 500 0.875rem / 1.2 var(--sans); letter-spacing: 0.04em; color: var(--ink-2); }
.area-section__more { margin-top: var(--space-3); }
.area-section .register--full .register__row { grid-template-columns: 8rem 8rem 1fr; }
.area-section .register--full .register__row:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 63.99em) {
	.area-section__grid > :first-child, .area-section__grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 47.99em) { .area-section .register--full .register__row { grid-template-columns: auto 1fr; } }

.overview { max-width: 44rem; }
.overview > p:first-child { font-size: var(--step-1); line-height: 1.5; color: var(--blue); }
.more__body > * + * { margin-top: 1.1em; }
.more__body { margin-top: 1.1em; }
.more__body[hidden] { display: none; }
.more__toggle {
	display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; margin-top: var(--space-3); padding: 0 1.25rem;
	background: none; border: 1px solid var(--blue); color: var(--blue); cursor: pointer;
	font: 500 0.9375rem / 1 var(--sans);
	transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.more__toggle:hover { background: var(--blue); color: var(--white); }
.more__toggle .icon { transition: transform 0.35s var(--ease-out); }
.more__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.people-grid--area { grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); }
.people-grid--area + .people-grid--line { margin-top: var(--space-5); }
.name-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0 var(--space-3); border-top: 1px solid var(--rule); }
.name-list li { display: grid; gap: 0.125rem; align-content: start; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.name-list__name { font: 500 var(--step-0) / 1.3 var(--serif); color: var(--ink); }
a.name-list__name { display: inline-block; padding-block: 0.125rem; color: var(--blue); text-decoration: none; }
a.name-list__name:hover { color: var(--red); text-decoration: underline; }
.name-list__role { font: 400 0.875rem / 1.4 var(--sans); color: var(--ink-2); }

/* Citations: hanging indent, long DOIs wrap. */
.citations { max-width: 48rem; font-size: 1rem; line-height: 1.55; }
.citations p { padding-left: 1.5em; text-indent: -1.5em; overflow-wrap: anywhere; }
.citations > * + *, .citations .more__body > * + * { margin-top: 0.9em; }
.citations h3, .citations h4 { margin-top: 1.75em; padding-top: 0; font: 500 0.875rem / 1.2 var(--sans); letter-spacing: 0.04em; color: var(--red); }
.citations > h3:first-child { margin-top: 0; }
/* A note within a list (an intro or a "see more" line) sits flush, not hung. */
.citations p.citations__note { padding-left: 0; text-indent: 0; color: var(--ink-2); }

/* Profile ---------------------------------------------------------------- */
.profile__head { padding-block: var(--space-5) var(--space-6); }
.profile .crumbs a { color: var(--ink-2); }
.profile .crumbs a:hover { color: var(--red); text-decoration-color: var(--red); }
.profile__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); align-items: start; }
.profile__photo {
	grid-column: 1 / span 3; position: sticky; top: calc(var(--masthead) + var(--space-3));
	width: 100%; max-width: 16rem; aspect-ratio: 4 / 5; overflow: hidden; background: var(--blue);
}
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3.5rem; height: 3px; background: var(--red); }
.profile__body { grid-column: 5 / -1; }
.profile__area { margin-bottom: var(--space-2); font: 500 0.875rem / 1.2 var(--sans); }
.profile__area a { display: inline-block; padding-block: 0.2rem; color: var(--red); text-decoration: none; }
.profile__area a:hover { text-decoration: underline; }
.profile__name { font: 500 var(--step-4) / 1.04 var(--serif); letter-spacing: -0.018em; text-wrap: balance; }
.profile__title { margin-top: var(--space-2); font-size: var(--step-1); line-height: 1.4; color: var(--ink-2); max-width: 36rem; }
.profile__links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--space-3); }
.profile__links a {
	display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem;
	border: 1px solid var(--rule); font: 500 0.9375rem / 1 var(--sans); color: var(--blue); text-decoration: none;
	transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.profile__links a:hover { border-color: var(--blue); background: var(--blue); color: var(--white); }
.profile__bio { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--rule); }
.profile__press { display: grid; gap: 0.75rem; justify-items: start; margin-top: var(--space-4); padding-top: var(--space-2); border-top: 3px solid var(--red); max-width: 42rem; }
.profile__press p { font-size: 1rem; color: var(--ink-2); }
.profile__more { margin-top: var(--space-4); }
.profile__back { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
@media (max-width: 47.99em) {
	.profile__photo { grid-column: 1 / span 8; position: relative; top: 0; }
	.profile__body { grid-column: 1 / -1; }
}
@media (min-width: 48em) and (max-width: 63.99em) {
	.profile__photo { grid-column: 1 / span 4; }
	.profile__body { grid-column: 5 / -1; }
}

/* Footer ----------------------------------------------------------------- */
.colophon__slate { background: var(--blue); color: var(--white); --focus: var(--gold); padding-block: var(--space-6) var(--space-5); }
.colophon__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); }
.colophon__motto { grid-column: 1 / span 5; }
.colophon__visit { grid-column: 7 / span 2; }
.colophon__center { grid-column: 9 / span 2; }
.colophon__follow { grid-column: 11 / span 2; }
.inscription { font: 500 var(--step-3) / 1.12 var(--serif); text-transform: uppercase; letter-spacing: 0.14em; }
.inscription span { display: block; }
.inscription--footer { font-size: var(--step-2); padding-top: var(--space-3); border-top: 1px solid rgba(242, 193, 0, 0.6); max-width: 22ch; }
.colophon__col { font: 400 0.9375rem / 1.6 var(--sans); color: var(--limestone); padding-left: var(--space-3); border-left: 1px solid var(--blue-rule); }
.colophon__label { margin-bottom: 0.875rem; font: 500 0.8125rem / 1 var(--sans); letter-spacing: 0.04em; color: var(--white); }
.colophon__col ul { display: grid; gap: 0.5rem; }
.colophon__col a { color: var(--limestone); text-decoration: none; }
.colophon__col a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.2em; }
.colophon__col p { margin-top: 0.75rem; }
@media (max-width: 63.99em) {
	.colophon__motto { grid-column: 1 / -1; }
	.colophon__visit, .colophon__center, .colophon__follow { grid-column: span 4; }
}
@media (max-width: 40em) { .colophon__visit, .colophon__center, .colophon__follow { grid-column: 1 / -1; } }

.colophon__university { background: var(--white); border-top: 1px solid var(--rule); }
.colophon__university-inner { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-4); align-items: center; padding-block: var(--space-3); }
.colophon__penn { display: block; width: 13rem; color: var(--blue); }
.colophon__penn svg { width: 100%; height: auto; }
.colophon__required { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; font: 400 0.8125rem / 1.5 var(--sans); justify-content: flex-end; }
.colophon__required a { color: var(--ink-2); text-decoration: none; }
.colophon__required a:hover { color: var(--blue); text-decoration: underline; }
.colophon__copy { grid-column: 1 / -1; font: 400 0.8125rem / 1.5 var(--sans); color: var(--ink-2); }
@media (max-width: 47.99em) { .colophon__university-inner { grid-template-columns: 1fr; } .colophon__required { justify-content: flex-start; } }

/* Signature motion: the inscription reveal ------------------------------- */
.js [data-inscribe]:not(.is-ready) { opacity: 0; animation: appc-failsafe 0.01s 1.2s forwards; }
@keyframes appc-failsafe { to { opacity: 1; } }
.js [data-inscribe] .word { display: inline-block; }
.js [data-inscribe].is-inscribing .word { display: inline-block; clip-path: inset(0 0 100% 0); transform: translateY(0.35em); }
.js [data-inscribe].is-inscribed .word {
	clip-path: inset(-0.4em -0.2em -0.5em -0.2em); transform: none;
	transition: clip-path 0.9s var(--ease-out), transform 0.9s var(--ease-out);
	transition-delay: calc(min(var(--i), 10) * 50ms);
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; transition-delay: 0s !important; }
	.js [data-inscribe] .word { clip-path: none !important; transform: none !important; }
	.hero__photo img { animation: none !important; transform: none; }
}

@media print {
	.masthead, .colophon, .search-form, .article__aside { display: none; }
	.banner, .hero { background: none; color: var(--ink); }
}

/* Area websites: thumbnail cards linking out. */
.site-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: var(--space-4) var(--space-3); }
.site-card { display: grid; gap: 0.5rem; align-content: start; height: 100%; text-decoration: none; color: inherit; }
.site-card__shot { display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue); border: 1px solid var(--rule); margin-bottom: 0.5rem; }
.site-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s var(--ease-out); }
.site-card:hover .site-card__shot img { transform: scale(1.03); }
.site-card__host { padding: var(--space-2); font: 500 var(--step-1) / 1.2 var(--serif); color: var(--white); text-align: center; overflow-wrap: anywhere; }
.site-card__host::after { content: ""; display: block; width: 2.5rem; height: 3px; margin: 0.75rem auto 0; background: var(--red); transition: width 0.4s var(--ease-out); }
.site-card:hover .site-card__host::after { width: 4.5rem; }
.site-card__name { font: 500 var(--step-1) / 1.2 var(--serif); color: var(--blue); }
.site-card:hover .site-card__name, .site-card:focus-visible .site-card__name { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 0.2em; }
.site-card__name .ext-mark { color: var(--red); }
.site-card__note { font-size: 1rem; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .site-card__shot img, .site-card__host::after { transition: none; } }
