/* Friends of PACTPAN: "Village Square" direction shared with pactpan.org */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-wght.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-wght-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-wght.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-wght-ext.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-wght-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }

/* ================= Tokens ================= */
:root {
	--bg: #F3F3EE;
	--surface: #FFFFFF;
	--ink: #131815;
	--night: #0F1B17;
	--night-2: #16261F;
	--accent: #F4B41A;
	--accent-hover: #FFC53D;
	--accent-ink: #1B1505;
	--muted: #5B625D;
	--line: #D8DAD2;
	--sage: #DFE4DB;
	--tint: #EAEDE4;
	--on-night: #EEF0EA;
	--on-night-muted: #A9B3AC;
	--gold-text: #7A5700;

	--display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
	--text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

	--r-sm: 8px;
	--r: 14px;
	--r-lg: 22px;
	--pill: 999px;

	--max: 1240px;
	--text-max: 720px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(72px, 9vw, 128px);
	--header-h: 76px;

	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 1px 2px rgba(19, 24, 21, .05), 0 12px 32px -12px rgba(19, 24, 21, .18);
}

/* ================= Base ================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--text);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
:where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol) { margin: 0; }
:where(ul, ol) { padding: 0; }
:where(h1, h2, h3, h4) { font-family: var(--display); font-weight: 650; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--pill); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

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

.section { padding-block: var(--section); }
.section--flush-top { padding-top: 0; }
.section--tint { background: var(--tint); }

/* ================= Type ================= */
.display-1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.display-2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 680; }
.display-3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.025em; }
.display-4 { font-size: clamp(21px, 1.8vw, 25px); line-height: 1.18; letter-spacing: -0.015em; }
.display-1 a, .display-2 a, .display-3 a, .display-4 a { text-decoration: none; }
.display-3 a:hover, .display-4 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.narrow { max-width: 18ch; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.eyebrow--light { color: var(--accent); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--muted); }
.meta > * + *::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; margin: 0 10px; vertical-align: middle; }
.meta--lg { font-size: 15px; }
.fine { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }
.tag { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); text-decoration: none; margin-bottom: 14px; }
.tag--accent { background: var(--accent); color: var(--accent-ink); padding: 6px 12px; border-radius: var(--pill); }
.tag--light { color: var(--accent); }
a.tag:hover { text-decoration: underline; }

/* ================= Buttons ================= */
.btn {
	--b-bg: var(--ink); --b-fg: #fff; --b-bd: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 24px;
	background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd); border-radius: var(--pill);
	font-family: var(--text); font-size: 16px; font-weight: 700; line-height: 1.1; text-decoration: none; white-space: nowrap;
	cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--accent { --b-bg: var(--accent); --b-fg: var(--accent-ink); }
.btn--accent:hover { --b-bg: var(--accent-hover); }
.btn--dark { --b-bg: var(--night); --b-fg: var(--on-night); }
.btn--dark:hover { --b-bg: var(--night-2); }
.btn--outline { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink); }
.btn--outline:hover { --b-bg: var(--ink); --b-fg: #fff; }
.btn--ghost-light { --b-bg: rgba(15, 27, 23, .25); --b-fg: #fff; --b-bd: rgba(255, 255, 255, .7); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 15px; gap: 8px; }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }
.btn.is-disabled { opacity: .5; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 3px; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ================= Header ================= */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(243, 243, 238, .92);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__mark { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 2px 8px rgba(15, 27, 23, .18); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-bottom: 3px; }
.brand__name { font-family: var(--display); font-size: 22px; font-weight: 750; letter-spacing: -0.01em; }

.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: var(--pill); font-size: 16px; font-weight: 600; text-decoration: none; background: none; border: 0; cursor: pointer; transition: background-color .2s var(--ease); }
.nav__link:hover, .nav__toggle[aria-expanded="true"] { background: rgba(19, 24, 21, .07); }
.nav__item.is-current > .nav__link { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav__toggle .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub { list-style: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; padding: 8px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.nav__toggle[aria-expanded="true"] + .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; font-weight: 550; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--tint); }
.nav__extra { display: none; }
.nav__family { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); }
.nav__family:hover { color: var(--ink); }
.nav__family .icon { width: 14px; height: 14px; }
.site-header__actions { display: flex; align-items: center; gap: 18px; }
.site-header__actions .btn .icon { width: 16px; height: 16px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .icon { width: 20px; height: 20px; }
.menu-toggle__close { display: none; }

/* Header over the dark home hero */
.has-dark-hero .site-header:not(.is-scrolled) { background: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-dark-hero .site-header:not(.is-scrolled) .nav__link:hover,
.has-dark-hero .site-header:not(.is-scrolled) .nav__toggle[aria-expanded="true"] { background: rgba(255, 255, 255, .14); }
.has-dark-hero .site-header:not(.is-scrolled) .nav__family { color: rgba(255, 255, 255, .8); }
.has-dark-hero .site-header:not(.is-scrolled) .nav__family:hover { color: #fff; }
.has-dark-hero .site-main { margin-top: calc(var(--header-h) * -1); }

@media (max-width: 1100px) {
	.nav__family--desk { display: none; }
}
@media (max-width: 1023px) {
	:root { --header-h: 66px; }
	.menu-toggle { display: inline-flex; }
	.brand__mark { width: 38px; height: 38px; }
	.brand__name { font-size: 20px; }
	.site-header__actions { margin-left: auto; gap: 10px; }
	.nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
		background: var(--bg); color: var(--ink);
		padding: 16px var(--gutter) 40px; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
	}
	.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
	.menu-open { overflow: hidden; }
	.menu-open .menu-toggle__open { display: none; }
	.menu-open .menu-toggle__close { display: block; }
	.menu-open .site-header { background: var(--bg) !important; color: var(--ink) !important; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { border-bottom: 1px solid var(--line); }
	.nav__link { width: 100%; justify-content: space-between; padding: 18px 0; border-radius: 0; font-family: var(--display); font-size: 26px; font-weight: 650; }
	.nav__link:hover, .nav__toggle[aria-expanded="true"] { background: none; }
	.nav__item.is-current > .nav__link { box-shadow: none; color: var(--gold-text); }
	.nav__toggle .icon { width: 22px; height: 22px; }
	.nav__sub { position: static; display: none; min-width: 0; padding: 0 0 14px; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; }
	.nav__toggle[aria-expanded="true"] + .nav__sub { display: block; }
	.nav__sub a { padding: 10px 0; font-size: 18px; color: var(--muted); }
	.nav__sub a:hover, .nav__sub a[aria-current] { background: none; color: var(--ink); }
	.nav__extra { display: block; margin-top: 28px; }
	.nav__extra .nav__family { font-size: 16px; color: var(--ink) !important; }
}
@media (max-width: 420px) {
	.brand__small { display: none; }
}

/* ================= Hero (home) ================= */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; color: #fff; background: var(--night); isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 27, 23, .92) 0%, rgba(15, 27, 23, .72) 38%, rgba(15, 27, 23, .15) 72%), linear-gradient(0deg, rgba(15, 27, 23, .85) 0%, rgba(15, 27, 23, 0) 45%), linear-gradient(180deg, rgba(15, 27, 23, .55) 0%, rgba(15, 27, 23, 0) 22%); }
.hero__inner { padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(120px, 14vw, 180px); }
.hero__copy { max-width: 720px; }
.hero__title { font-size: clamp(44px, 6.4vw, 88px); line-height: .98; letter-spacing: -0.04em; font-weight: 720; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lede { margin-top: 24px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: rgba(238, 240, 234, .88); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ================= Stats ================= */
.stats { position: relative; z-index: 2; margin-top: clamp(-96px, -7vw, -64px); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: clamp(24px, 3vw, 40px); }
.stats__item + .stats__item { border-left: 1px solid var(--line); }
.stats__item dd { font-family: var(--display); font-size: clamp(40px, 4.6vw, 64px); font-weight: 720; line-height: 1; letter-spacing: -0.04em; }
.stats__item dt { color: var(--muted); font-size: 16px; max-width: 22ch; }
.stats__item:first-child dd { color: var(--gold-text); }
.stats__grid--plain { background: none; box-shadow: none; border-block: 1px solid var(--line); border-radius: 0; }
@media (max-width: 760px) {
	.stats__grid { grid-template-columns: 1fr; }
	.stats__item { flex-direction: row-reverse; align-items: center; justify-content: flex-start; gap: 18px; padding: 20px 24px; }
	.stats__item dd { flex: none; min-width: 5.4ch; font-size: clamp(30px, 8.6vw, 40px); }
	.stats__item dt { flex: 1; min-width: 0; font-size: 15px; }
	.stats__item + .stats__item { border-left: 0; border-top: 1px solid var(--line); }
}

/* ================= Intro ================= */
.intro__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro__copy .lead { margin: 24px 0 32px; }
.intro__media { position: relative; margin-right: calc(var(--gutter) * -1 - max(0px, (100vw - var(--max) - var(--gutter) * 2) / 2)); }
.intro__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg) 0 0 var(--r-lg); }
@media (max-width: 900px) {
	.intro__grid { grid-template-columns: 1fr; }
	.intro__media { margin-right: calc(var(--gutter) * -1); }
}

/* ================= Section heads ================= */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .display-2, .section-head .display-3 { max-width: 20ch; }
@media (max-width: 600px) { .section-head { flex-direction: column; align-items: flex-start; } }

/* ================= Projects ================= */
.projects-home { background: var(--surface); }
.project-feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.project-feature__media { display: block; overflow: hidden; border-radius: var(--r-lg); }
.project-feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.project-feature:hover .project-feature__media img { transform: scale(1.03); }
.project-feature__body > p:not(.tag) { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 42ch; }
.project-feature--big .project-feature__media img { aspect-ratio: 16 / 11; }

.project-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: clamp(32px, 4vw, 56px); }
.project-tile { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); color: #fff; text-decoration: none; isolation: isolate; min-height: 420px; }
.project-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.project-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(15, 27, 23, .96) 0%, rgba(15, 27, 23, .8) 32%, rgba(15, 27, 23, .3) 62%, rgba(15, 27, 23, 0) 85%); }
.project-tile:hover img { transform: scale(1.04); }
.project-tile__body { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); }
.project-tile__body .tag { margin-bottom: 10px; }
.project-tile__title { font-family: var(--display); font-size: clamp(24px, 2.3vw, 32px); font-weight: 680; line-height: 1.1; letter-spacing: -0.02em; max-width: 18ch; }
.project-tile__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; }
.project-tile:hover .project-tile__more .icon { transform: translateX(4px); }
.project-tile__more .icon { transition: transform .2s var(--ease); }

.project-card__media { display: block; overflow: hidden; border-radius: var(--r-lg); margin-bottom: 22px; }
.project-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.03); }
.project-card > p:not(.tag) { margin: 12px 0 20px; color: var(--muted); max-width: 46ch; }

.also { margin-top: clamp(40px, 5vw, 72px); padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.also__label { font-weight: 700; }
.also__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.also__list li { display: flex; flex-direction: column; gap: 6px; }
.also__list strong { font-family: var(--display); font-size: 20px; font-weight: 650; letter-spacing: -0.01em; }
.also__list span { color: var(--muted); }
.also--page { grid-template-columns: 1fr; margin-top: 0; padding-top: 0; border: 0; }
.also--page .also__list { margin-top: 12px; }
@media (max-width: 900px) {
	.project-feature, .project-pair { grid-template-columns: 1fr; }
	.project-tile { min-height: 360px; }
	.also { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .also__list { grid-template-columns: 1fr; } }

/* ================= How we work ================= */
.how { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.how::before { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 180, 26, .16), rgba(244, 180, 26, 0) 70%); pointer-events: none; }
.how__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); position: relative; }
.how__head p { margin-top: 20px; color: var(--on-night-muted); font-size: 18px; max-width: 36ch; }
.how__steps { list-style: none; counter-reset: step; display: grid; gap: 0; }
.how__steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; padding: 28px 0; border-top: 1px solid rgba(238, 240, 234, .14); }
.how__steps li:last-child { border-bottom: 1px solid rgba(238, 240, 234, .14); }
.how__steps li::before { content: counter(step); grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-weight: 750; font-size: 20px; }
.how__steps h3 { font-size: 24px; letter-spacing: -0.015em; }
.how__steps p { margin-top: 8px; color: var(--on-night-muted); max-width: 52ch; }
@media (max-width: 900px) { .how__grid { grid-template-columns: 1fr; } }

/* ================= Stories ================= */
.stories-home__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.stories-home__side { display: grid; gap: 28px; }
.story { position: relative; }
.story__media { display: block; overflow: hidden; border-radius: var(--r); background: var(--sage); }
.story__media img, .story__media .ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.story:hover .story__media img { transform: scale(1.03); }
.story__body { padding-top: 20px; }
.story__body .tag { margin-bottom: 10px; }
.story__title { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
.story__title a { text-decoration: none; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s var(--ease); }
.story__title a:hover { background-size: 100% 2px; }
.story__title a::after { content: ""; position: absolute; inset: 0; }
.story .tag { position: relative; z-index: 1; }
.story__excerpt { margin: 10px 0 14px; color: var(--muted); }
.story--feature .story__title { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -0.025em; }
.story--feature .story__excerpt { font-size: 18px; max-width: 56ch; }
.story--row { display: grid; grid-template-columns: 40% 1fr; gap: 20px; align-items: center; }
.story--row .story__body { padding-top: 0; }
.story--row .story__title { font-size: 20px; }
.story--row .meta { margin-top: 10px; }
@media (max-width: 600px) {
	.story--row .meta { flex-direction: column; gap: 2px; }
	.story--row .meta > * + *::before { display: none; }
}
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 28px; }
.story-list-feature { margin-bottom: 64px; }
.section .story--feature:not(.stories-home__grid .story) { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: clamp(56px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.section .story--feature:not(.stories-home__grid .story) .story__body { padding-top: 0; }
@media (max-width: 1000px) { .story-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
	.stories-home__grid, .section .story--feature:not(.stories-home__grid .story) { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.story-grid { grid-template-columns: 1fr; }
	.story--row { grid-template-columns: 110px 1fr; gap: 16px; }
	.story--row .story__title { font-size: 18px; }
	.story--row .story__media img { aspect-ratio: 1; }
}

/* Filters + pager */
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: clamp(36px, 4vw, 56px); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; padding: 9px 18px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; font-size: 15px; transition: border-color .2s, background-color .2s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager { margin-top: 64px; }
.pager ul { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pager li > .page-numbers { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: var(--pill); border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; background: var(--surface); }
.pager a.page-numbers:hover { border-color: var(--ink); }
.pager li > .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager li > .dots { border: 0; background: none; }
.empty { text-align: center; padding: 64px 0; }
.empty p { color: var(--muted); margin: 10px 0 24px; }

/* ================= Board ================= */
.board-teaser { padding-block: clamp(56px, 6vw, 88px); }
.board-teaser__inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; }
.board-teaser p { color: var(--muted); margin-top: 10px; }
.board-teaser--line { border-top: 1px solid var(--line); }
.faces { display: flex; align-items: center; }
.faces__item, .faces__more { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--bg); overflow: hidden; flex: none; background: var(--sage); }
.faces__item + .faces__item, .faces__more { margin-left: -16px; }
.faces__item img { width: 100%; height: 100%; object-fit: cover; }
.faces__more { display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 16px; }
@media (max-width: 900px) {
	.board-teaser__inner { grid-template-columns: 1fr; justify-items: start; }
	.faces__item, .faces__more { width: 52px; height: 52px; }
}

.board-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.member { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.member__photo { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--sage); margin-bottom: 16px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .5s var(--ease); }
.member:hover .member__photo img { transform: scale(1.04); }
.member__name { font-family: var(--display); font-size: 20px; font-weight: 650; line-height: 1.2; letter-spacing: -0.01em; }
.member__role { color: var(--muted); font-size: 15px; margin-top: 4px; line-height: 1.4; }
.member__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 700; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
@media (max-width: 1000px) { .board-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .board-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; } .member__name { font-size: 17px; } .member__role { font-size: 14px; } }

.bio { width: min(720px, calc(100vw - 32px)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(15, 27, 23, .5); }
.bio::backdrop { background: rgba(15, 27, 23, .6); backdrop-filter: blur(4px); }
.bio[open] { animation: bio-in .28s var(--ease); }
@keyframes bio-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.bio__content { padding: clamp(28px, 4vw, 48px); }
.bio__close { position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tint); cursor: pointer; display: grid; place-items: center; z-index: 1; }
.bio__close:hover { background: var(--sage); }
.bio__head { display: flex; align-items: center; gap: 22px; margin-bottom: 28px; }
.bio__photo { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; flex: none; background: var(--sage); }
.bio__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
@media (max-width: 560px) {
	.bio__head { flex-direction: column; align-items: flex-start; gap: 16px; }
	.bio__photo { width: 88px; height: 88px; }
}
.bio__name { font-size: clamp(24px, 3vw, 32px); }
.bio__role { color: var(--gold-text); font-weight: 600; margin-top: 6px; }
.dialog-open { overflow: hidden; }

/* ================= Page hero ================= */
.page-hero { padding: clamp(56px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); }
.page-hero__title { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; max-width: 18ch; }
.page-hero__lede { margin-top: 22px; font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 52ch; }

/* About */
.about-hero { padding-top: clamp(56px, 7vw, 104px); }
.about-hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.about-hero__media { margin-top: clamp(40px, 5vw, 72px); }
.about-hero__media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-lg); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.mv__item h2 { font-size: 15px; font-family: var(--text); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.mv__big { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 650; line-height: 1.1; letter-spacing: -0.025em; margin: 14px 0 18px; }
.mv__item > p:last-child { color: var(--muted); font-size: 18px; max-width: 48ch; }
.story-quote { background: var(--night); color: var(--on-night); }
.story-quote__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.story-quote__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.story-quote blockquote { margin: 0 0 24px; padding: 0; border: 0; }
.story-quote blockquote p { font-family: var(--display); font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.story-quote blockquote p::before { content: "\201C"; display: block; font-size: 80px; line-height: .6; color: var(--accent); margin-bottom: 14px; }
.story-quote__grid > div > p { color: var(--on-night-muted); font-size: 18px; margin-bottom: 28px; max-width: 52ch; }
@media (max-width: 900px) {
	.about-hero__grid, .mv, .story-quote__grid { grid-template-columns: 1fr; }
	.about-hero__media img { aspect-ratio: 4 / 3; }
	.story-quote__media img { aspect-ratio: 16 / 10; }
}

/* Project page */
.project-hero { padding: clamp(40px, 5vw, 72px) 0 0; }
.project-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.project-hero__copy .display-1 { font-size: clamp(38px, 4.6vw, 62px); }
.project-hero__copy .lead { margin-top: 22px; }
.project-hero__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r-lg); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--muted); text-decoration: none; margin-bottom: 28px; }
.back-link:hover { color: var(--ink); }
.back-link + .tag { display: table; }
.project-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.project-body__text { font-size: 19px; }
.pillars { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 80px); margin-top: clamp(36px, 4vw, 56px); }
.pillars li { padding: 28px 0; border-top: 1px solid rgba(19, 24, 21, .16); }
.pillars h3 { font-size: 24px; letter-spacing: -0.015em; display: flex; align-items: center; gap: 12px; }
.pillars h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.pillars p { margin-top: 10px; color: var(--muted); max-width: 46ch; }
.link-list, .prose .link-list { list-style: none; display: grid; justify-items: start; gap: 12px; margin-top: 28px; padding-left: 0; }
.prose .link-list li { margin: 0; padding: 0; }
.prose .link-list li::before { content: none; }
.link-list a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
@media (max-width: 900px) {
	.project-hero__grid, .project-body { grid-template-columns: 1fr; }
	.project-hero__media { order: -1; }
	.pillars { grid-template-columns: 1fr; }
}

/* ================= Giving ================= */
.give-card { background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.give-card--compact { position: sticky; top: calc(var(--header-h) + 24px); }
.give-card--compact h2 { font-size: 24px; letter-spacing: -0.015em; }
.give-card--compact > p { color: var(--muted); margin: 10px 0 20px; }
.give-card--compact .chips { margin-bottom: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.give-card--compact .chip { justify-content: center; padding-inline: 8px; }
.give-card__title { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: baseline; gap: 2px; padding: 10px 18px; border-radius: var(--pill); border: 1.5px solid rgba(238, 240, 234, .35); color: var(--on-night); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; transition: background-color .2s, border-color .2s, color .2s; }
.chip span { font-family: var(--text); font-size: 14px; font-weight: 600; opacity: .7; }
.chip:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip--light { color: var(--ink); border-color: var(--line); flex: 1; justify-content: center; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: var(--pill); background: var(--tint); margin-bottom: 22px; }
.seg__btn { min-height: 44px; border: 0; border-radius: var(--pill); background: transparent; font-weight: 700; cursor: pointer; color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s; }
.seg__btn[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(19, 24, 21, .12); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.amounts--2 { grid-template-columns: 1fr 1fr; }
.amounts--4 { grid-template-columns: repeat(4, 1fr); }
.amount { position: relative; cursor: pointer; }
.amount input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.amount__box { position: relative; display: flex; align-items: baseline; justify-content: center; gap: 2px; min-height: 72px; padding: 22px 8px 14px; border: 1.5px solid var(--line); border-radius: var(--r); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.amount__value { font-family: var(--display); font-size: 26px; font-weight: 720; letter-spacing: -0.02em; }
.amount__suffix { font-size: 14px; color: var(--muted); font-weight: 600; }
.amount__badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--night); color: var(--on-night); font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 10px; border-radius: var(--pill); }
.amount:hover .amount__box { border-color: var(--muted); }
.amount input:checked + .amount__box { border-color: var(--ink); background: #FFF8E6; box-shadow: inset 0 0 0 1px var(--ink); }
.amount input:focus-visible + .amount__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.other { display: block; margin-bottom: 18px; }
.other__label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.other__field { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 16px; background: var(--surface); font-family: var(--display); font-size: 22px; font-weight: 700; transition: border-color .2s; }
.other__field:focus-within { border-color: var(--ink); }
.other__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; padding: 14px 0; color: var(--ink); -moz-appearance: textfield; }
.other__field input::-webkit-outer-spin-button, .other__field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 480px) { .amounts--4 { grid-template-columns: 1fr 1fr; } .amount__value { font-size: 22px; } }

.donate { padding: clamp(40px, 6vw, 88px) 0 var(--section); }
.donate__grid { display: grid; grid-template-columns: 1fr 460px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.donate__copy .lead { margin: 22px 0 28px; }
.donate .give-card { position: sticky; top: calc(var(--header-h) + 24px); }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 550; }
.checks .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); stroke-width: 2.6; }
.checks a { font-weight: 700; }
.donate__media { margin-top: 40px; }
.donate__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); }
@media (max-width: 960px) {
	.donate__grid { grid-template-columns: 1fr; }
	.donate .give-card { position: static; order: -1; }
	.donate__copy { display: contents; }
	.donate__copy > .eyebrow, .donate__copy > h1, .donate__copy > .lead { order: -2; }
	.donate__copy > .lead { margin-bottom: 0; }
	.donate__grid { gap: 28px; }
}

.give-band { background: var(--night); color: var(--on-night); padding-block: clamp(64px, 8vw, 112px); position: relative; overflow: hidden; }
.give-band::before { content: ""; position: absolute; width: 520px; height: 520px; left: -180px; bottom: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 180, 26, .2), rgba(244, 180, 26, 0) 70%); }
.give-band__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.give-band h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; max-width: 16ch; }
.give-band__copy p { margin-top: 18px; color: var(--on-night-muted); font-size: 18px; max-width: 46ch; }
.give-band__label { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: 12px; }
.give-band .chips { margin-bottom: 22px; }
@media (max-width: 900px) { .give-band__inner { grid-template-columns: 1fr; } }

.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 80px); }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-family: var(--display); font-size: 20px; font-weight: 650; letter-spacing: -0.01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font-size: 28px; font-weight: 400; line-height: 1; transition: transform .2s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding-bottom: 24px; color: var(--muted); max-width: 60ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

.article-give, .newsletter-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; }
.article-give { margin: 64px 0 0; padding: 32px; border-radius: var(--r-lg); background: var(--night); color: var(--on-night); }
.article-give p { color: var(--on-night-muted); margin-top: 8px; }
.newsletter-cta p { color: var(--muted); margin-top: 10px; }
@media (max-width: 700px) { .article-give, .newsletter-cta__inner { flex-direction: column; align-items: flex-start; } }

/* ================= Contact ================= */
.contact { padding: clamp(48px, 6vw, 96px) 0 var(--section); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__copy .lead { margin: 22px 0 36px; }
.contact__details { display: grid; gap: 24px; margin-bottom: 32px; }
.contact__details dt { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 6px; }
.contact__details dt .icon { color: var(--gold-text); }
.contact__details dd { color: var(--muted); padding-left: 28px; overflow-wrap: anywhere; }
.contact__details a { color: var(--ink); font-weight: 600; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: 20px; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* Forminator: bring the plugin form onto the house style */
.form-card .forminator-ui.forminator-custom-form { margin: 0 !important; font-family: var(--text) !important; }
.form-card .forminator-ui .forminator-row { margin-bottom: 18px !important; }
.form-card .forminator-ui .forminator-label { font-family: var(--text) !important; font-size: 14px !important; font-weight: 700 !important; color: var(--ink) !important; margin-bottom: 8px !important; }
.form-card .forminator-ui .forminator-input,
.form-card .forminator-ui .forminator-textarea,
.form-card .forminator-ui select { width: 100% !important; font-family: var(--text) !important; font-size: 16px !important; color: var(--ink) !important; background: var(--bg) !important; border: 1.5px solid var(--line) !important; border-radius: var(--r-sm) !important; padding: 13px 14px !important; box-shadow: none !important; transition: border-color .2s !important; }
.form-card .forminator-ui .forminator-input:focus,
.form-card .forminator-ui .forminator-textarea:focus { border-color: var(--ink) !important; background: var(--surface) !important; outline: none !important; }
.form-card .forminator-ui .forminator-button-submit { display: inline-flex !important; align-items: center; justify-content: center; min-height: 52px !important; padding: 14px 30px !important; border: 0 !important; border-radius: var(--pill) !important; background: var(--accent) !important; color: var(--accent-ink) !important; font-family: var(--text) !important; font-size: 16px !important; font-weight: 700 !important; cursor: pointer; box-shadow: none !important; }
.form-card .forminator-ui .forminator-button-submit:hover { background: var(--accent-hover) !important; }
.form-card .forminator-ui .forminator-error-message { color: #9B2C1F !important; background: none !important; padding: 6px 0 0 !important; font-size: 14px !important; }

/* ================= Article ================= */
.article__head { padding: clamp(40px, 5vw, 72px) 0 clamp(32px, 4vw, 48px); }
.article__head .tag { display: table; margin-bottom: 18px; }
.article__title { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; margin-bottom: 22px; }
.article__cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--r-lg); }
.article__layout { display: grid; grid-template-columns: 1fr minmax(0, var(--text-max)) 1fr; gap: 0 32px; margin-top: clamp(40px, 5vw, 64px); max-width: calc(1100px + var(--gutter) * 2); }
.article__body { grid-column: 2; }
.share { grid-column: 1; justify-self: end; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.share__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; text-align: center; }
.share ul { list-style: none; display: grid; gap: 8px; }
.share a, .share button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.share a:hover, .share button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.share .is-copied { background: var(--accent) !important; border-color: var(--accent) !important; color: var(--accent-ink) !important; }
.share .icon { width: 18px; height: 18px; }
@media (max-width: 1000px) {
	.article__layout { grid-template-columns: 1fr; max-width: calc(var(--text-max) + var(--gutter) * 2); }
	.article__body { grid-column: 1; }
	.share { grid-column: 1; grid-row: 2; position: static; justify-self: start; display: flex; align-items: center; gap: 14px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); width: 100%; }
	.share__label { margin: 0; }
	.share ul { display: flex; flex-wrap: wrap; }
}
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 48px 0 var(--section); }
.post-nav__link { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border: 1.5px solid var(--line); border-radius: var(--r); text-decoration: none; background: var(--surface); transition: border-color .2s; }
.post-nav__link:hover { border-color: var(--ink); }
.post-nav__link span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); }
.post-nav__link strong { font-family: var(--display); font-weight: 650; font-size: 18px; line-height: 1.25; }
.post-nav__link--next { text-align: right; align-items: flex-end; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--next { text-align: left; align-items: flex-start; } }

/* ================= Prose (post and page content) ================= */
.prose { font-size: 19px; line-height: 1.72; color: #26302B; }
.prose > * + * { margin-top: 1.15em; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin-top: 1.9em; line-height: 1.2; }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); }
.prose h3 { font-size: clamp(22px, 2.1vw, 26px); }
.prose h4 { font-size: 20px; }
.prose > :first-child { margin-top: 0; }
.prose :where(h2, h3, h4) strong, .prose :where(h2, h3, h4) em { font-weight: inherit; font-style: normal; }
.prose a { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.prose a:hover { background: #FFF1C9; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--gold-text); }
.prose blockquote, .prose .wp-block-quote { margin-inline: 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--accent); font-family: var(--display); font-size: clamp(22px, 2.2vw, 27px); line-height: 1.35; font-weight: 550; letter-spacing: -0.01em; color: var(--ink); }
.prose blockquote cite, .prose .wp-block-quote cite { display: block; margin-top: 12px; font-family: var(--text); font-size: 15px; font-style: normal; font-weight: 600; color: var(--muted); }
.prose .wp-block-pullquote { border: 0; padding: 32px 0; text-align: left; }
.prose figure, .prose .wp-block-image { margin-block: 2em; }
.prose img { border-radius: var(--r); }
.prose figcaption, .prose .wp-element-caption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: left; }
.prose .alignwide, .prose .alignfull { margin-inline: calc(min(160px, (100vw - var(--text-max)) / 2 - var(--gutter)) * -1); }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.5em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose .wp-block-embed iframe, .prose iframe { max-width: 100%; border-radius: var(--r); }
.prose .wp-block-button__link { background: var(--accent); color: var(--accent-ink); border-radius: var(--pill); font-weight: 700; padding: 14px 26px; text-decoration: none; }
.prose .wp-block-separator { opacity: 1; }
.prose .has-text-align-center { text-align: center; }
.tool-page .prose { font-size: 17px; }

/* ================= Misc pages ================= */
.thanks { text-align: center; }
.thanks .wrap > * { margin-inline: auto; }
.thanks__icon { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); margin-bottom: 28px; }
.thanks__icon .icon { width: 36px; height: 36px; }
.thanks .lead { margin-top: 20px; }
.thanks .btn-row { justify-content: center; }
.not-found .link-list { margin-top: 32px; }
.ph { display: block; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(135deg, var(--sage), var(--tint)); }

/* ================= Footer ================= */
.site-footer { background: var(--night); color: var(--on-night); padding: clamp(64px, 7vw, 96px) 0 32px; border-top: 1px solid rgba(238, 240, 234, .08); }
.give-band + .site-footer, .site-main:has(> .give-band:last-child) + .site-footer { padding-top: 24px; }
.give-band + .site-footer .site-footer__top, .site-main:has(> .give-band:last-child) + .site-footer .site-footer__top { padding-top: clamp(48px, 5vw, 72px); border-top: 1px solid rgba(238, 240, 234, .12); }
.site-footer__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 96px); padding-bottom: 56px; }
.site-footer__about p { color: var(--on-night-muted); margin: 20px 0 24px; max-width: 40ch; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.site-footer h2 { font-family: var(--text); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer__cols a { text-decoration: none; font-weight: 550; }
.site-footer__cols a:hover { color: var(--accent); }
.site-footer address { margin-top: 16px; font-style: normal; color: var(--on-night-muted); font-size: 15px; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; border-top: 1px solid rgba(238, 240, 234, .12); font-size: 14px; color: var(--on-night-muted); }
.social { list-style: none; display: flex !important; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(238, 240, 234, .2); color: var(--on-night); transition: background-color .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.social .icon { width: 18px; height: 18px; }
.social--dark a { border-color: var(--line); color: var(--ink); background: var(--surface); }
@media (max-width: 900px) {
	.site-footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.site-footer__cols { grid-template-columns: 1fr 1fr; }
	.site-footer__cols > :last-child { grid-column: 1 / -1; }
	.site-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}

/* ================= Motion ================= */
.can-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.can-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* WordPress admin bar offset */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .nav { top: calc(var(--header-h) + 46px); } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

@media print {
	.site-header, .site-footer, .give-band, .share, .article-give { display: none !important; }
}
