:root {
	--bg: #f6f0e7;
	--bg-soft: #efe5d3;
	--surface: rgba(255, 251, 245, 0.76);
	--surface-strong: rgba(255, 248, 240, 0.92);
	--line: rgba(85, 55, 24, 0.14);
	--text: #23180d;
	--muted: #6b5844;
	--accent: #8b5e34;
	--accent-deep: #4d341f;
	--accent-light: #d9b17f;
	--glow: rgba(233, 186, 111, 0.28);
	--shadow: 0 20px 60px rgba(57, 37, 16, 0.12);
	--max-width: 1180px;
	--radius-xl: 32px;
	--radius-lg: 24px;
	--radius-md: 18px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-size: 17px;
	color: var(--text);
	background:
		radial-gradient(
			circle at top left,
			rgba(255, 227, 173, 0.85),
			transparent 28%
		),
		radial-gradient(
			circle at 85% 15%,
			rgba(176, 138, 77, 0.22),
			transparent 20%
		),
		linear-gradient(180deg, #f9f5ef 0%, #f2ebdf 44%, #efe4d6 100%);
	font-family: 'Manrope', sans-serif;
	min-height: 100vh;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(96, 69, 39, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(96, 69, 39, 0.05) 1px, transparent 1px);
	background-size: 32px 32px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 92%);
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.page-shell {
	width: min(calc(100% - 32px), var(--max-width));
	margin: 0 auto;
	padding-bottom: 40px;
}

.site-header {
	position: sticky;
	top: 12px;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 12px;
	padding: 14px 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(249, 244, 236, 0.82);
	backdrop-filter: blur(20px);
	box-shadow: var(--shadow);
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.brand-mark {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.7rem;
	font-weight: 700;
	color: #fff9f0;
	background: linear-gradient(135deg, var(--accent), var(--accent-deep));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.brand-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.brand-text strong {
	font-size: 0.98rem;
}

.brand-text span {
	color: var(--muted);
	font-size: 0.78rem;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 18px;
}

.site-nav a {
	color: var(--muted);
	font-size: 1rem;
	transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
	color: var(--text);
}

.site-nav a[aria-current='page'] {
	color: var(--text);
	font-weight: 800;
}

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
}

.nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto;
	background: var(--text);
}

.section {
	padding: 76px 0 0;
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.9fr);
	gap: 30px;
	min-height: calc(100vh - 128px);
	align-items: center;
}

.eyebrow {
	margin: 0 0 12px;
	color: var(--accent);
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-card h2 {
	margin: 0;
	font-family: 'Cormorant Garamond', serif;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 0.96;
}

.hero h1 {
	max-width: 11ch;
	font-size: clamp(3.2rem, 6.8vw, 6.2rem);
}

.hero-lead,
.story-card p,
.idea-card p,
.focus-panel p,
.cta-card p,
.legacy-panel p,
.signal-card p,
.timeline-content p,
.books-item p {
	color: var(--muted);
	line-height: 1.8;
	font-size: 1.06rem;
}

.hero-copy {
	padding: 26px 0;
}

.hero-copy > .hero-lead {
	max-width: 60ch;
	margin-top: 22px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 20px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 700;
	transition:
		transform 160ms ease,
		background 160ms ease,
		border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
	transform: translateY(-2px);
}

.button-primary {
	color: #fff9f0;
	background: linear-gradient(135deg, var(--accent-deep), var(--accent));
	box-shadow: 0 14px 30px rgba(87, 51, 18, 0.22);
}

.button-secondary {
	border-color: var(--line);
	background: rgba(255, 251, 245, 0.7);
}

.hero-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 34px 0 0;
}

.hero-facts div,
.story-card,
.idea-card,
.signal-card,
.timeline-item,
.books-item,
.legacy-panel article,
.cta-card,
.focus-panel,
.books-panel,
.legacy-panel {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--surface);
	backdrop-filter: blur(18px);
	box-shadow: var(--shadow);
}

.hero-facts div {
	padding: 18px;
	border-radius: var(--radius-md);
}

.hero-facts dt {
	margin-bottom: 6px;
	font-weight: 800;
}

.hero-facts dd {
	margin: 0;
	color: var(--muted);
}

.hero-panel {
	position: relative;
	padding: 28px;
	border-radius: var(--radius-xl);
	background:
		radial-gradient(circle at 80% 12%, var(--glow), transparent 30%),
		linear-gradient(180deg, rgba(96, 66, 38, 0.04), rgba(255, 255, 255, 0.5));
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.hero-panel::before {
	content: '';
	position: absolute;
	inset: 16px;
	border: 1px solid rgba(110, 79, 40, 0.12);
	border-radius: calc(var(--radius-xl) - 8px);
	pointer-events: none;
}

.hero-photo {
	position: relative;
	margin: 0 0 14px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 2px solid rgba(109, 73, 40, 0.75);
	box-shadow: var(--shadow);
	aspect-ratio: 4 / 3;
}

.hero-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.signal-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.signal-card {
	padding: 18px;
	border-radius: var(--radius-md);
}

.signal-card-main {
	margin-bottom: 14px;
	padding: 22px;
	background: linear-gradient(
		180deg,
		rgba(255, 250, 241, 0.95),
		rgba(239, 227, 206, 0.85)
	);
}

.signal-card-main strong {
	display: block;
	margin-bottom: 10px;
	font-family: 'Cormorant Garamond', serif;
	font-size: 2rem;
	font-weight: 600;
}

.signal-label {
	display: inline-block;
	margin-bottom: 12px;
	color: var(--accent);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.section-heading {
	display: grid;
	gap: 14px;
	margin-bottom: 30px;
}

.section-heading h2 {
	max-width: none;
	font-size: clamp(2.25rem, 4.2vw, 4rem);
}

.section-about .section-heading h2 {
	font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.about-panel {
	display: grid;
	gap: 16px;
	padding: 28px;
	border-radius: var(--radius-xl);
	border: 1px solid var(--line);
	background: linear-gradient(
		180deg,
		rgba(255, 249, 239, 0.9),
		rgba(243, 231, 214, 0.85)
	);
	box-shadow: var(--shadow);
}

.about-panel p {
	margin: 0;
	color: var(--muted);
	line-height: 1.8;
	font-size: 1.06rem;
	text-align: justify;
	hyphens: auto;
}

.about-panel .button {
	width: fit-content;
}

.cta-card h2 {
	max-width: 14ch;
	font-size: clamp(2.25rem, 4.2vw, 4rem);
}

.story-layout {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 20px;
}

.story-card-genealogy {
	display: grid;
	gap: 22px;
	padding: 32px;
	border-radius: var(--radius-xl);
	background: linear-gradient(
		180deg,
		rgba(255, 248, 239, 0.96),
		rgba(242, 228, 209, 0.88)
	);
}

.story-intro {
	display: grid;
	gap: 10px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(85, 55, 24, 0.12);
}

.story-kicker {
	margin: 0;
	color: var(--accent);
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.story-copy {
	position: relative;
	overflow: hidden;
	max-height: none;
	transition: max-height 260ms ease;
}

.story-copy.is-collapsed {
	max-height: 17.5rem;
}

.story-copy.is-collapsed::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 5.5rem;
	background: linear-gradient(
		180deg,
		rgba(242, 228, 209, 0),
		rgba(242, 228, 209, 1)
	);
	pointer-events: none;
}

.story-copy.is-hidden {
	display: none;
}

.story-copy p {
	margin: 0 0 16px;
	color: var(--muted);
	line-height: 1.9;
	font-size: 1.05rem;
	text-align: justify;
	hyphens: auto;
}

.story-copy p:last-child {
	margin-bottom: 0;
}

.story-toggle {
	width: fit-content;
	min-height: 48px;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 251, 245, 0.78);
	color: var(--text);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition:
		transform 160ms ease,
		background 160ms ease,
		border-color 160ms ease;
}

.story-toggle:hover,
.story-toggle:focus-visible {
	transform: translateY(-2px);
	background: rgba(255, 251, 245, 0.96);
}

.gallery-speech-toggle {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.25);
	color: #f8eee2;
}

.gallery-speech-toggle:hover,
.gallery-speech-toggle:focus-visible {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.4);
}

.gallery-speech-text {
	padding: 16px 20px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-speech-text p {
	margin: 0 0 12px;
	color: rgba(248, 238, 226, 0.86);
	line-height: 1.85;
	font-size: 0.97rem;
	text-align: justify;
	hyphens: auto;
	text-indent: 1.5em;
}

.gallery-speech-text p:first-child {
	text-indent: 0;
}

.gallery-speech-text p:last-child {
	margin-bottom: 0;
}

.story-card {
	padding: 28px;
	border-radius: var(--radius-lg);
}

.story-card-large {
	grid-row: span 2;
	background: linear-gradient(
		180deg,
		rgba(255, 248, 239, 0.95),
		rgba(242, 228, 209, 0.85)
	);
}

.accent-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background:
		radial-gradient(
			circle at 12% 18%,
			rgba(232, 180, 102, 0.22),
			transparent 28%
		),
		linear-gradient(180deg, rgba(88, 58, 34, 0.92), rgba(54, 34, 18, 0.96));
}

.story-card.accent-card p {
	color: #f8efe3;
}

.quote-mark {
	margin: 0;
	color: rgba(255, 255, 255, 0.38);
	font-family: 'Cormorant Garamond', serif;
	font-size: 6rem;
	line-height: 0.8;
}

.quote-text {
	margin: 0;
	color: #f8efe3;
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.8rem;
	line-height: 1.3;
}

.timeline {
	display: grid;
	gap: 16px;
}

.timeline-item {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 22px;
	align-items: start;
	padding: 24px;
	border-radius: var(--radius-lg);
	opacity: 0;
	transform: translateY(24px);
	animation: revealUp 700ms ease forwards;
}

.timeline-year {
	font-family: 'Cormorant Garamond', serif;
	font-size: 2.4rem;
	font-weight: 600;
}

.timeline-content h3,
.books-panel h3,
.idea-card h3,
.story-card h3,
.focus-panel h3 {
	margin: 0 0 10px;
	font-size: 1.18rem;
}

.ideas-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.idea-card {
	min-height: 250px;
	padding: 24px;
	border-radius: var(--radius-lg);
}

.focus-panel {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 26px;
	align-items: center;
	margin-top: 22px;
	padding: 28px;
	border-radius: var(--radius-lg);
	background:
		radial-gradient(
			circle at 16% 40%,
			rgba(214, 171, 105, 0.18),
			transparent 24%
		),
		linear-gradient(180deg, rgba(255, 250, 244, 0.88), rgba(245, 235, 220, 0.8));
}

.works-layout {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 18px;
}

.books-panel,
.legacy-panel {
	padding: 26px;
	border-radius: var(--radius-xl);
}

.books-list {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.books-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px;
	align-items: start;
	padding: 18px;
	border-radius: var(--radius-md);
}

.books-item strong {
	display: block;
	margin-bottom: 8px;
	font-size: 1rem;
}

.books-year {
	color: var(--accent);
	font-weight: 800;
}

.legacy-panel {
	display: grid;
	gap: 12px;
}

.legacy-panel article {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	gap: 16px;
	padding: 18px;
	border-radius: var(--radius-md);
}

.legacy-panel span {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.8rem;
	font-weight: 700;
	color: #fffaf3;
	background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.section-cta {
	padding-bottom: 24px;
}

.gallery-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	min-height: auto;
	padding-top: 98px;
}

.gallery-hero-copy {
	padding-top: 14px;
}

.gallery-hero h1 {
	margin: 0;
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(3rem, 6vw, 5.4rem);
	font-weight: 600;
	line-height: 0.96;
	letter-spacing: -0.03em;
}

.gallery-empty,
.gallery-card {
	border: 1px solid var(--line);
	background: var(--surface);
	backdrop-filter: blur(18px);
	box-shadow: var(--shadow);
}

.section-gallery-list {
	padding-top: 30px;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.gallery-card,
.gallery-empty {
	overflow: hidden;
	border-radius: var(--radius-xl);
}

.gallery-trigger {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

.gallery-trigger:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: -2px;
}

.gallery-figure {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 3;
	background: rgba(219, 202, 176, 0.38);
	border-bottom: 1px solid var(--line);
}

.gallery-figure img,
.gallery-figure video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 220ms ease;
}

.gallery-trigger:hover .gallery-figure img,
.gallery-trigger:hover .gallery-figure video,
.gallery-trigger:focus-visible .gallery-figure img,
.gallery-trigger:focus-visible .gallery-figure video {
	transform: scale(1.03);
}

.gallery-video-thumb {
	background: rgba(17, 10, 4, 0.9);
}

.gallery-badge {
	position: absolute;
	left: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 12px;
	border-radius: 999px;
	background: rgba(33, 20, 10, 0.8);
	color: #fff4e8;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gallery-play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 78px;
	height: 78px;
	border-radius: 50%;
	border: 1px solid rgba(255, 244, 231, 0.24);
	background: rgba(28, 17, 8, 0.6);
	color: #fff6ec;
	font-size: 2rem;
	line-height: 1;
	transform: translate(-50%, -50%);
	backdrop-filter: blur(8px);
	box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
	pointer-events: none;
	padding-left: 4px;
}

.gallery-copy {
	padding: 22px;
	display: grid;
	gap: 12px;
}

.gallery-copy h3,
.gallery-empty h3 {
	margin: 0;
	font-size: 1.2rem;
}

.gallery-copy p,
.gallery-empty p {
	margin: 0;
	color: var(--muted);
	line-height: 1.8;
}

.gallery-empty {
	padding: 24px;
	grid-column: 1 / -1;
}

.gallery-modal[hidden] {
	display: none;
}

.gallery-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	place-items: center;
	padding: 20px;
}

.gallery-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(21, 12, 5, 0.72);
	backdrop-filter: blur(8px);
}

.gallery-modal-panel {
	position: relative;
	width: min(100%, 1080px);
	max-height: calc(100vh - 40px);
	overflow: auto;
	border: 1px solid rgba(255, 243, 226, 0.16);
	border-radius: var(--radius-xl);
	background: rgba(34, 22, 12, 0.96);
	box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
}

.gallery-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 1;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 250, 243, 0.18);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff7ee;
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
}

.gallery-modal-close,
.gallery-modal-nav {
	display: grid;
	place-items: center;
	transition:
		background 160ms ease,
		transform 160ms ease,
		border-color 160ms ease;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus-visible,
.gallery-modal-nav:hover,
.gallery-modal-nav:focus-visible {
	background: rgba(255, 255, 255, 0.16);
	transform: translateY(-2px);
}

.gallery-modal-nav {
	position: absolute;
	top: calc(50% - 26px);
	z-index: 1;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 250, 243, 0.35);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff7ee;
	font-size: 2.1rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.gallery-modal-prev {
	left: 16px;
}

.gallery-modal-next {
	right: 16px;
}

.gallery-modal-nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.gallery-modal-figure {
	margin: 0;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	min-height: 520px;
}

.gallery-modal-figure img,
.gallery-modal-figure video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: rgba(17, 10, 4, 0.9);
}

.gallery-modal-figure img[hidden],
.gallery-modal-figure video[hidden] {
	display: none;
}

.gallery-modal-video {
	border: 0;
}

.gallery-modal-copy {
	display: grid;
	align-content: start;
	gap: 14px;
	padding: 92px 30px 34px;
	color: #f8eee2;
	background: linear-gradient(
		180deg,
		rgba(71, 45, 23, 0.94),
		rgba(38, 24, 14, 0.98)
	);
}

.gallery-modal-copy h2 {
	margin: 0;
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(2rem, 3vw, 2.8rem);
	font-weight: 600;
	line-height: 1;
}

.gallery-modal-copy p {
	margin: 0;
	color: rgba(248, 238, 226, 0.86);
	line-height: 1.8;
	font-size: 1rem;
}

body.is-modal-open {
	overflow: hidden;
}

.cta-card {
	padding: 34px;
	border-radius: var(--radius-xl);
	background:
		radial-gradient(
			circle at 86% 18%,
			rgba(237, 191, 112, 0.25),
			transparent 18%
		),
		linear-gradient(180deg, rgba(62, 42, 24, 0.95), rgba(39, 24, 13, 0.98));
}

.cta-card h2,
.cta-card p {
	color: #f9f0e5;
}

.section-cta .cta-card h2 {
	max-width: none;
	font-size: clamp(1.4rem, 2.4vw, 1.95rem);
	line-height: 1.15;
}

.cta-card .eyebrow {
	color: var(--accent-light);
}

.site-footer {
	display: grid;
	gap: 0px;
	padding: 24px 0 10px;
	border-top: 1px solid var(--line);
}

.sources-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.sources-list a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 250, 243, 0.8);
}

.footer-note {
	margin: 0;
	color: var(--muted);
}

/* ─── Publications ─── */



.publications-list {
	display: grid;
	gap: 16px;
}

.publication-card {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 16px;
	padding: 22px 26px 14px;
	border-radius: var(--radius-md);
	background: var(--surface-strong);
	border: 1px solid var(--line);
	transition: box-shadow 0.2s;
	position: relative;
}

.publication-card:hover {
	box-shadow: var(--shadow);
}

.publication-info h3 {
	margin: 0 0 10px;
	font-size: 1.12rem;
}

.publication-info h3 a {
	color: var(--accent-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.publication-info h3 a:hover {
	color: var(--accent);
}

.publication-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0;
	font-size: 0.9rem;
	color: var(--muted);
}

.publication-meta div {
	display: flex;
	gap: 4px;
}

.publication-meta dd {
	margin: 0;
}

.publication-author {
	font-weight: 600;
}

.publication-format {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--accent-light);
	color: var(--accent-deep);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s;
}

.publication-format:hover {
	background: var(--accent);
	color: #fff;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 18px;
	margin: 20px 0 0;
	padding: 12px 0;
	border-top: 1px solid var(--line);
}

.footer-nav a {
	font-size: 0.9rem;
	color: var(--muted);
	transition: color 0.2s;
}

.footer-nav a:hover {
	color: var(--accent);
}

.footer-contact {
	margin: 16px 0 0;
	text-align: center;
	justify-self: center;
}

.footer-copy {
	margin: 12px 0 0;
	text-align: center;
	font-size: 0.82rem;
	color: var(--muted);
}

.footer-social {
	display: flex;
	justify-content: center;
	margin: 10px 0 0;
}

.footer-social-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 18px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--text);
	font-size: 0.9rem;
	transition: background 0.2s, color 0.2s;
}

.footer-social-link:hover {
	background: #1877f2;
	color: #fff;
	border-color: #1877f2;
}

.footer-contact-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: rgba(63, 40, 21, 0.9);
	font-style: italic;
	text-decoration: none;
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible {
	text-decoration: none;
}

.footer-contact-icon {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(196, 136, 52, 0.16);
	color: var(--accent-deep);
	font-style: normal;
	font-size: 0.95rem;
	line-height: 1;
}

@keyframes revealUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1024px) {
	.hero,
	.story-layout,
	.works-layout,
	.focus-panel,
	.gallery-hero {
		grid-template-columns: 1fr;
	}

	.story-card-genealogy {
		padding: 26px;
	}

	.ideas-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.signal-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gallery-modal-figure {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.page-shell {
		width: min(calc(100% - 20px), var(--max-width));
	}

	.site-header {
		border-radius: 26px;
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.nav-toggle {
		display: inline-block;
		margin-left: auto;
	}

	.site-nav {
		display: none;
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding-top: 8px;
	}

	.site-nav.is-open {
		display: flex;
	}

	.hero {
		min-height: auto;
		padding-top: 28px;
	}

	.hero h1 {
		max-width: none;
		font-size: clamp(2.6rem, 13vw, 4.1rem);
	}

	.hero-facts,
	.signal-grid,
	.ideas-grid,
	.gallery-grid {
		grid-template-columns: 1fr;
	}

	.timeline-item,
	.books-item,
	.legacy-panel article {
		grid-template-columns: 1fr;
	}

	.gallery-modal {
		padding: 12px;
	}

	.gallery-modal-panel {
		max-height: calc(100vh - 24px);
	}

	.gallery-modal-copy {
		padding: 82px 22px 22px;
	}

	.gallery-modal-nav {
		top: calc(50% - 22px);
		width: 44px;
		height: 44px;
		font-size: 1.7rem;
	}

	.gallery-play-icon {
		width: 62px;
		height: 62px;
		font-size: 1.6rem;
	}

	.story-copy.is-collapsed {
		max-height: 19rem;
	}

	.timeline-year,
	.legacy-panel span {
		margin-bottom: 6px;
	}

	.section {
		padding-top: 58px;
	}

	.story-card,
	.hero-panel,
	.books-panel,
	.legacy-panel,
	.cta-card,
	.focus-panel {
		padding: 22px;
	}

	.section-heading h2,
	.cta-card h2 {
		max-width: none;
		font-size: clamp(1.9rem, 9vw, 3rem);
	}
}
