/* ══════════════════════════════════════════════════════════════
   Zhanchao Yang — Homepage
   Warm ivory · academic navy · restrained brick red
   Serif display (Source Serif 4) + Inter supporting type
══════════════════════════════════════════════════════════════ */

:root {
	--bg: #faf8f4;
	--surface: #fff;
	--surface-warm: #f5f2ec;
	--ink: #0b2345;
	--ink-soft: rgba(11, 35, 69, 0.72);
	--ink-faint: rgba(11, 35, 69, 0.5);
	--red: #a51c30;
	--blue: #456a96;
	--blue-mid: #6685a8;
	--blue-soft: #8099b5;
	--sand: #e9dcc7;
	--sand-deep: #d9c5a5;
	--sage: #c8d5c5;
	--sage-deep: #b7c9b7;
	--terracotta: #d76a54;
	--line: rgba(11, 35, 69, 0.14);
	--line-soft: rgba(11, 35, 69, 0.08);
	--shadow: 0 1px 2px rgba(11, 35, 69, 0.04), 0 8px 28px rgba(11, 35, 69, 0.07);
	--shadow-lift: 0 2px 4px rgba(11, 35, 69, 0.05), 0 16px 44px rgba(11, 35, 69, 0.12);
	--serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	--sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.home {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 36px;
}

/* ── Scroll-reveal primitives ─────────────────────────────── */
.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
		transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.in-view {
	opacity: 1;
	transform: none;
}
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

/* ── Navigation ───────────────────────────────────────────── */
.site-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: rgba(250, 248, 244, 0.82);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.4s ease;
}
.site-nav.scrolled {
	border-bottom-color: var(--line-soft);
}
.site-nav .nav-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 18px 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.nav-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}
.nav-name {
	font-family: var(--serif);
	font-size: 1.12rem;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	letter-spacing: 0.01em;
	white-space: nowrap;
}
.nav-affil {
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-faint);
	border-left: 1px solid var(--line);
	padding-left: 14px;
	white-space: nowrap;
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 28px;
}
.nav-links a {
	font-size: 0.86rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--ink-soft);
	text-decoration: none;
	position: relative;
	padding: 4px 0;
	transition: color 0.25s ease;
}
.nav-links a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1.5px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.nav-links a:hover,
.nav-links a.active {
	color: var(--ink);
}
.nav-links a:hover::after,
.nav-links a.active::after {
	transform: scaleX(1);
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	flex-direction: column;
	gap: 5px;
}
.nav-toggle span {
	display: block;
	width: 22px;
	height: 1.6px;
	background: var(--ink);
	transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) {
	transform: translateY(6.6px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span:nth-child(2) {
	opacity: 0;
}
.nav-toggle[aria-expanded='true'] span:nth-child(3) {
	transform: translateY(-6.6px) rotate(-45deg);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	padding: 140px 0 80px;
	overflow: hidden;
}
.hero .container {
	width: 100%;
}

.hero-map {
	position: absolute;
	top: 0;
	bottom: 0;
	right: -2%;
	width: 74%;
	pointer-events: none;
	will-change: transform;
	-webkit-mask-image: radial-gradient(
		ellipse 82% 78% at 56% 48%,
		rgba(0, 0, 0, 1) 52%,
		rgba(0, 0, 0, 0) 88%
	);
	mask-image: radial-gradient(
		ellipse 82% 78% at 56% 48%,
		rgba(0, 0, 0, 1) 52%,
		rgba(0, 0, 0, 0) 88%
	);
}
/* zoomed to Center City: City Hall sits at (52.3%, 59.9%) of the
   generated image; translate by the image's own size to center it */
.hero-map img {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 165%;
	height: auto;
	transform: translate(-52.3%, -58%);
}

/* the map always yields to the text: cream scrim over its left side */
.hero-scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		100deg,
		var(--bg) 0%,
		var(--bg) 34%,
		rgba(250, 248, 244, 0.72) 52%,
		rgba(250, 248, 244, 0) 72%
	);
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 640px;
}
.hero-eyebrow {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 26px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.hero-eyebrow::before {
	content: '';
	width: 34px;
	height: 1.5px;
	background: var(--red);
}
.hero h1 {
	font-family: var(--serif);
	font-size: clamp(2.9rem, 6.4vw, 4.6rem);
	font-weight: 600;
	line-height: 1.06;
	letter-spacing: -0.015em;
	margin-bottom: 22px;
}
.hero-identity {
	font-size: clamp(1.02rem, 1.8vw, 1.2rem);
	font-weight: 500;
	letter-spacing: 0.05em;
	color: var(--blue);
	margin-bottom: 30px;
}
.hero-identity .dot {
	color: var(--sand-deep);
	margin: 0 8px;
}
.hero-statement {
	font-family: var(--serif);
	font-size: clamp(1.14rem, 2vw, 1.32rem);
	font-weight: 400;
	line-height: 1.62;
	color: var(--ink-soft);
	max-width: 560px;
	margin-bottom: 40px;
}
.hero-statement em {
	font-style: italic;
	color: var(--ink);
}
.hero-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}
.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--ink);
	color: #fdfcf9;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: none;
	padding: 14px 28px;
	border-radius: 3px;
	transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary .arrow {
	transition: transform 0.3s ease;
}
.btn-primary:hover {
	background: var(--red);
	transform: translateY(-1px);
	box-shadow: var(--shadow);
}
.btn-primary:hover .arrow {
	transform: translateX(4px);
}

/* icon contact links */
.hero-links {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.hero-links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--ink-soft);
	text-decoration: none;
	border: 1px solid var(--line);
	border-radius: 100px;
	padding: 9px 18px;
	background: rgba(255, 255, 255, 0.5);
	transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.hero-links a svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}
.hero-links a:hover {
	color: var(--red);
	border-color: var(--red);
	transform: translateY(-1px);
}
.hero-affil {
	margin-top: 34px;
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.hero-scroll {
	position: absolute;
	bottom: 34px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: var(--ink-faint);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 0.3s ease;
}
.hero-scroll:hover { color: var(--red); }
.hero-scroll svg {
	animation: drift-down 2.6s ease-in-out infinite;
}
@keyframes drift-down {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(5px); }
}

/* ── Section scaffolding ─────────────────────────────────── */
.section {
	padding: 110px 0;
	position: relative;
}
.section-label {
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.section-label::before {
	content: '';
	width: 26px;
	height: 1.5px;
	background: var(--red);
}
.section-title {
	font-family: var(--serif);
	font-size: clamp(1.8rem, 3.6vw, 2.5rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	max-width: 680px;
	margin-bottom: 18px;
}
.section-intro {
	font-size: 1.02rem;
	color: var(--ink-soft);
	max-width: 620px;
	margin-bottom: 56px;
}
.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}
.section-head .section-title {
	margin-bottom: 0;
}
.view-all {
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--red);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding-bottom: 6px;
	white-space: nowrap;
}
.view-all .arrow {
	transition: transform 0.3s ease;
}
.view-all:hover .arrow {
	transform: translateX(4px);
}

/* ── Icon badges ──────────────────────────────────────────── */
.icon-badge {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--badge-bg, var(--sand));
	color: var(--ink);
}
.icon-badge svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ── Questions I Study — editorial rows ───────────────────── */
.section-rule {
	height: 5px;
	background: var(--sand-deep);
	opacity: 0.55;
	margin: 34px 0 6px;
}
.q-row {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	padding: 46px 0;
	border-bottom: 1px solid var(--line-soft);
}
.q-row:last-child {
	border-bottom: none;
}
.q-row .icon-badge {
	width: 72px;
	height: 72px;
	margin-top: 6px;
}
.q-row .icon-badge svg {
	width: 32px;
	height: 32px;
}
.q-row.q-policy { --badge-bg: var(--sand); }
.q-row.q-perception { --badge-bg: var(--sage); }
.q-row.q-outcomes { --badge-bg: rgba(128, 153, 181, 0.32); }
.q-content {
	max-width: 760px;
}
.q-text {
	font-family: var(--serif);
	font-size: clamp(1.35rem, 2.6vw, 1.7rem);
	font-weight: 400;
	line-height: 1.42;
	color: var(--ink);
	margin-bottom: 14px;
}
.q-desc {
	font-size: 0.96rem;
	line-height: 1.65;
	color: var(--ink-soft);
	margin-bottom: 18px;
	max-width: 620px;
}
.q-kicker {
	display: flex;
	align-items: baseline;
	gap: 18px;
	flex-wrap: wrap;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}
.q-kicker .q-cat {
	color: var(--red);
}
.q-kicker .q-keys {
	color: var(--ink-faint);
	font-weight: 500;
}

/* ── Research Framework — transit line ────────────────────── */
.section-framework {
	background: var(--surface-warm);
	border-top: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line-soft);
}
.fw-map {
	margin: 30px 0 40px;
}
.fw-map svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

/* line draws itself, stations open in sequence */
.fw-line {
	stroke-dasharray: 960;
	stroke-dashoffset: 960;
}
#framework-diagram.go .fw-line {
	animation: fw-draw 2s cubic-bezier(0.3, 0, 0.2, 1) forwards;
}
@keyframes fw-draw {
	to { stroke-dashoffset: 0; }
}
.fw-tick {
	opacity: 0;
}
@keyframes node-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
#framework-diagram.go .fw-tick {
	animation: node-in 0.5s ease forwards;
}
#framework-diagram.go .fw-tick.t1 { animation-delay: 0.55s; }
#framework-diagram.go .fw-tick.t2 { animation-delay: 1.05s; }
#framework-diagram.go .fw-tick.t3 { animation-delay: 1.55s; }
.fw-station {
	opacity: 0;
	transform: scale(0.4);
	transform-box: fill-box;
	transform-origin: center;
}
#framework-diagram.go .fw-station {
	animation: station-pop 0.6s cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
}
#framework-diagram.go .fw-station.s1 { animation-delay: 0.3s; }
#framework-diagram.go .fw-station.s2 { animation-delay: 0.8s; }
#framework-diagram.go .fw-station.s3 { animation-delay: 1.3s; }
#framework-diagram.go .fw-station.s4 { animation-delay: 1.8s; }
@keyframes station-pop {
	from { opacity: 0; transform: scale(0.4); }
	to { opacity: 1; transform: scale(1); }
}
.fw-label {
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}
#framework-diagram.go .fw-label.s1 { opacity: 1; transform: none; transition-delay: 0.5s; }
#framework-diagram.go .fw-label.s2 { opacity: 1; transform: none; transition-delay: 1s; }
#framework-diagram.go .fw-label.s3 { opacity: 1; transform: none; transition-delay: 1.5s; }
#framework-diagram.go .fw-label.s4 { opacity: 1; transform: none; transition-delay: 2s; }

/* vertical variant for small screens */
.fw-vertical {
	display: none;
	list-style: none;
	margin: 10px 0 40px;
	padding-left: 10px;
}
.fw-vertical li {
	position: relative;
	padding: 0 0 34px 38px;
}
.fw-vertical li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--surface);
	border: 4px solid var(--fw-c, var(--sand-deep));
}
.fw-vertical li::after {
	content: '';
	position: absolute;
	left: 10px;
	top: 26px;
	bottom: -2px;
	width: 3px;
	background: var(--ink);
	opacity: 0.75;
}
.fw-vertical li:last-child::after {
	display: none;
}
.fw-vertical .fw-v-stage {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--red);
	text-transform: uppercase;
	display: block;
}
.fw-vertical h3 {
	font-family: var(--serif);
	font-size: 1.12rem;
	font-weight: 600;
	line-height: 1.35;
}
.fw-vertical .fw-policy { --fw-c: var(--sand-deep); }
.fw-vertical .fw-perception { --fw-c: var(--sage-deep); }
.fw-vertical .fw-mobility { --fw-c: var(--blue-soft); }
.fw-vertical .fw-outcomes { --fw-c: var(--terracotta); }

.fw-methods {
	text-align: center;
	padding-top: 34px;
	position: relative;
}
.fw-methods::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 1px;
	height: 22px;
	background: var(--line);
}
.fw-methods .fw-methods-label {
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-faint);
	margin-bottom: 18px;
}
.fw-methods-row {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}
.fw-method {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--serif);
	font-size: 1.04rem;
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: 100px;
	padding: 10px 22px;
	box-shadow: var(--shadow);
}
.fw-method svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: var(--red);
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex-shrink: 0;
}

/* ── Selected Research ────────────────────────────────────── */
.projects {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
}
.project-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: var(--shadow);
	text-decoration: none;
	color: inherit;
	transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.45s ease;
}
.project-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lift);
}
.project-figure {
	background: var(--surface-warm);
	border-bottom: 1px solid var(--line-soft);
	padding: 22px 24px 16px;
}
.project-figure svg {
	display: block;
	width: 100%;
	height: auto;
}
.project-card .fig-anim {
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.6s ease;
}
.project-card:hover .fig-anim {
	transform: translateX(4px);
}
.project-body {
	padding: 28px 30px 30px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.project-status {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 12px;
}
.project-status.status-emerging { color: var(--blue); }
.project-body h3 {
	font-family: var(--serif);
	font-size: 1.42rem;
	font-weight: 600;
	line-height: 1.28;
	margin-bottom: 12px;
}
.project-question {
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.02rem;
	line-height: 1.55;
	color: var(--ink-soft);
	margin-bottom: 14px;
}
.project-desc {
	font-size: 0.9rem;
	line-height: 1.65;
	color: var(--ink-soft);
	margin-bottom: 22px;
}
.project-meta {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}
.project-tags span {
	font-size: 0.7rem;
	font-weight: 500;
	color: var(--ink-faint);
	border: 1px solid var(--line);
	border-radius: 100px;
	padding: 3px 11px;
}
.project-link {
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--red);
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.project-link .arrow {
	transition: transform 0.3s ease;
}
.project-card:hover .project-link .arrow {
	transform: translateX(4px);
}

/* ── Research Agenda ──────────────────────────────────────── */
.section-agenda {
	background: var(--surface-warm);
	border-top: 1px solid var(--line-soft);
	border-bottom: 1px solid var(--line-soft);
}
.agenda-inner {
	max-width: 820px;
}
.agenda-text {
	font-family: var(--serif);
	font-size: clamp(1.14rem, 2vw, 1.3rem);
	line-height: 1.7;
	color: var(--ink-soft);
	margin-bottom: 20px;
}
.agenda-text strong {
	font-weight: 600;
	color: var(--ink);
}
.agenda-pillars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-top: 48px;
}
.agenda-pillar {
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: 6px;
	box-shadow: var(--shadow);
	padding: 28px 26px;
}
.agenda-pillar .icon-badge {
	--badge-bg: var(--surface-warm);
	border: 1px solid var(--line-soft);
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
}
.agenda-pillar .icon-badge svg {
	width: 22px;
	height: 22px;
	stroke: var(--red);
}
.agenda-pillar h3 {
	font-family: var(--serif);
	font-size: 1.12rem;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 10px;
}
.agenda-pillar p {
	font-size: 0.88rem;
	line-height: 1.6;
	color: var(--ink-soft);
}
.agenda-cta {
	margin-top: 44px;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
	padding: 80px 0 48px;
}
.footer-grid {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
	flex-wrap: wrap;
	padding-bottom: 48px;
	border-bottom: 1px solid var(--line-soft);
}
.footer-name {
	font-family: var(--serif);
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 8px;
}
.footer-identity {
	font-size: 0.86rem;
	letter-spacing: 0.05em;
	color: var(--ink-soft);
}
.footer-identity .dot {
	color: var(--sand-deep);
	margin: 0 7px;
}
.footer-links {
	display: flex;
	gap: 26px;
	font-size: 0.88rem;
	flex-wrap: wrap;
}
.footer-links a {
	color: var(--ink-soft);
	text-decoration: none;
	position: relative;
	padding-bottom: 2px;
	transition: color 0.25s ease;
}
.footer-links a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}
.footer-links a:hover { color: var(--red); }
.footer-links a:hover::after { transform: scaleX(1); }
.footer-note {
	padding-top: 28px;
	font-size: 0.78rem;
	color: var(--ink-faint);
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 960px) {
	.projects {
		grid-template-columns: 1fr;
	}
	.agenda-pillars {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.hero-map {
		opacity: 0.6;
	}
	.hero-scrim {
		background: linear-gradient(
			100deg,
			var(--bg) 0%,
			rgba(250, 248, 244, 0.85) 45%,
			rgba(250, 248, 244, 0.35) 100%
		);
	}
	.q-row {
		gap: 24px;
		padding: 38px 0;
	}
	.q-row .icon-badge {
		width: 56px;
		height: 56px;
	}
	.q-row .icon-badge svg {
		width: 26px;
		height: 26px;
	}
}

@media (max-width: 720px) {
	.nav-links {
		position: fixed;
		top: 61px;
		left: 0;
		right: 0;
		background: var(--bg);
		border-bottom: 1px solid var(--line-soft);
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 8px 32px 18px;
		display: none;
	}
	.nav-links.open {
		display: flex;
	}
	.nav-links a {
		padding: 12px 0;
		font-size: 1rem;
		width: 100%;
	}
	.nav-toggle {
		display: flex;
	}
	.nav-affil { display: none; }
	.hero {
		padding-top: 120px;
		min-height: auto;
	}
	.hero-scroll {
		display: none;
	}
	.section {
		padding: 78px 0;
	}
	.container {
		padding: 0 24px;
	}
	.q-row {
		flex-direction: column;
		gap: 18px;
	}
	.fw-map { display: none; }
	.fw-vertical { display: block; }
	.fw-method { font-size: 0.94rem; padding: 8px 18px; }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.hero-scroll svg { animation: none; }
	.hero-map { transform: none !important; }
	.fw-line {
		animation: none !important;
		stroke-dashoffset: 0;
	}
	.fw-station,
	.fw-tick,
	.fw-label {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}
