@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/fraunces-700.woff2") format("woff2");
}
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/source-sans-3-400.woff2") format("woff2");
}
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/source-sans-3-600.woff2") format("woff2");
}

:root {
	--bg: #fafaf8;
	--text: #17212b;
	--blue: #2563eb;
	--teal: #0d9488;
	--muted: #64748b;
	--surface: #f1f5f9;
	--line: #e2e8f0;
	--white: #ffffff;
	--serif: "Fraunces", Georgia, "Iowan Old Style", serif;
	--sans: "Source Sans 3", "Segoe UI", sans-serif;
	--wrap: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: 1.125rem;
	line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 {
	font-family: var(--serif);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0;
	text-transform: none;
	margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-top: 0; }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1rem; }

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	background: var(--text);
	color: var(--bg);
	padding: 0.5rem 0.8rem;
	z-index: 5;
}
.skip-link:focus { top: 1rem; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 4;
	background: rgba(250, 250, 248, 0.94);
	border-bottom: 1px solid var(--line);
}

.site-header__bar,
.hero,
.band,
.page-wrap,
.site-footer {
	width: min(var(--wrap), calc(100% - 2rem));
	margin-inline: auto;
}

.site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 4.5rem;
}

.wordmark {
	color: var(--text);
	text-decoration: none;
	font-family: var(--serif);
	font-size: 1.35rem;
	font-weight: 600;
}

.nav-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--text);
	border-radius: 0.25rem;
	padding: 0.4rem 0.9rem;
	font: inherit;
	color: var(--text);
}

.site-nav__list,
.footer-nav,
.footer-social,
.link-list,
.interest-list,
.detail-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.1rem;
}

.site-nav__list a,
.footer-nav a,
.footer-social a {
	color: var(--text);
	text-decoration: none;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item a,
.site-nav__list .current_page_item a {
	color: var(--blue);
}

.hero {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 3rem;
	align-items: center;
	padding: 4.5rem 0 3rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.button {
	display: inline-block;
	background: var(--blue);
	color: var(--white);
	text-decoration: none;
	border: 0;
	border-radius: 0.25rem;
	padding: 0.85rem 1.3rem;
	font: 600 1rem/1 var(--sans);
	cursor: pointer;
}
.button:hover { background: #1d4ed8; color: var(--white); }

.portrait {
	width: 100%;
	border-radius: 1.5rem;
	background: var(--surface);
}

.band { padding: 1.5rem 0 3.5rem; }
.band--soft {
	background: var(--surface);
	width: 100%;
	padding: 3rem 0;
}
.band--soft > * { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}

.card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 1.1rem;
	padding: 1.25rem 1.25rem 1rem;
}
.card h3, .card h2 { font-size: 1.45rem; }
.card a { text-decoration: none; }
.card a:hover { text-decoration: underline; }
.card__links { display: flex; gap: 1rem; }
.card__media img { border-radius: 0.7rem; margin-bottom: 0.8rem; }

.meta { color: var(--muted); font-size: 1rem; margin-bottom: 0.35rem; }

.interest-list, .link-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.interest-list a, .interest-list li, .link-list a {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 0.25rem;
	padding: 0.35rem 0.8rem;
	color: var(--text);
	text-decoration: none;
}
.link-list { flex-direction: column; align-items: flex-start; }
.link-list a { border-radius: 0.8rem; }

.page-wrap { padding: 3rem 0 4rem; }
.prose { max-width: 42rem; }
.prose > *:first-child { margin-top: 0; }

.split {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 2rem;
	align-items: start;
	margin: 2rem 0;
}

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
	border-left: 2px solid var(--teal);
	padding: 0 0 1.4rem 1rem;
	margin-left: 0.3rem;
}

.life-block { padding: 0.5rem 0 1.4rem; }
.feature { margin: 1.5rem 0; }
.feature img { border-radius: 1rem; }
.feature figcaption { color: var(--muted); margin-top: 0.55rem; }
.prose iframe {
	width: 100%;
	max-width: 40rem;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: 1rem;
	background: var(--text);
}
.detail-list li { margin-bottom: 0.4rem; }

.contact-form input,
.contact-form textarea {
	width: 100%;
	font: inherit;
	color: var(--text);
	background: var(--white);
	border: 1px solid #cbd5e1;
	border-radius: 0.7rem;
	padding: 0.7rem 0.8rem;
}
.contact-form label { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

.site-footer {
	width: 100%;
	background: var(--text);
	color: #e2e8f0;
	padding: 2.5rem 0 1.5rem;
	margin-top: 1rem;
}
.site-footer a { color: #f8fafc; }
.site-footer__grid {
	width: min(var(--wrap), calc(100% - 2rem));
	margin: 0 auto 1.5rem;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 1.5rem;
}
.site-footer__name {
	font-family: var(--serif);
	font-size: 1.6rem;
	color: white;
	margin-bottom: 0.25rem;
}
.footer-nav, .footer-social { display: grid; gap: 0.35rem; }
.site-footer__legal {
	width: min(var(--wrap), calc(100% - 2rem));
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	border-top: 1px solid rgba(255,255,255,0.15);
	padding-top: 1rem;
}

.lightbox-view {
	position: fixed;
	inset: 0;
	background: rgba(23, 33, 43, 0.92);
	display: grid;
	place-items: center;
	z-index: 20;
	padding: 2rem;
}
.lightbox-view[hidden] { display: none; }
.lightbox-view img { max-height: 85vh; }
.lightbox-view__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: var(--white);
	color: var(--text);
	border: 0;
	border-radius: 0.25rem;
	padding: 0.5rem 0.8rem;
	font: inherit;
}

.nav-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.nav-links a { color: var(--text); }

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 3px;
}

@media (max-width: 860px) {
	.nav-toggle { display: inline-block; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 4.5rem; background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.5rem 1rem 1rem; }
	.site-nav.is-open { display: block; }
	.site-nav__list { flex-direction: column; }
	.hero, .split, .site-footer__grid { grid-template-columns: 1fr; }
	.hero { padding-top: 2.2rem; }
	.site-footer__legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
