/* ==========================================================================
   The Fernist 2026
   Brand: theFernist LinkedIn banner. Cream grid paper, navy ink, lime,
   teal, gold. Shapes carry full energy in heroes and page headers;
   content areas stay calm.
   ========================================================================== */

/* Fonts (self-hosted) ------------------------------------------------------ */
@font-face {
	font-family: "Montserrat";
	src: url("../fonts/montserrat-latin-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Sans 3";
	src: url("../fonts/source-sans-3-latin-wght.woff2") format("woff2");
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Sans 3";
	src: url("../fonts/source-sans-3-latin-wght-italic.woff2") format("woff2");
	font-weight: 200 900;
	font-style: italic;
	font-display: swap;
}
/* Metric-matched fallbacks to limit layout shift while fonts load. */
@font-face {
	font-family: "Montserrat Fallback";
	src: local("Arial");
	size-adjust: 113%;
	ascent-override: 86%;
	descent-override: 22%;
	line-gap-override: 0%;
}
@font-face {
	font-family: "Source Sans Fallback";
	src: local("Arial");
	size-adjust: 93%;
	ascent-override: 110%;
	descent-override: 30%;
	line-gap-override: 0%;
}

/* Tokens -------------------------------------------------------------------- */
:root {
	color-scheme: light;

	/* Colour: sampled from the banner. */
	--paper: #F7FAF2;
	--paper-2: #EEF4E6;
	--paper-3: #FCFDF9;
	--grid: #E3EADF;
	--ink: #12323F;
	--ink-2: #3B5360;
	--ink-3: #4A606B;
	--line: #C9D6CC;
	--lime: #B2D235;
	--lime-soft: #CFEBB8;
	--lime-tint: #E4F5D3;
	--green: #2F8F3A;       /* large display text only */
	--green-deep: #1F6A28;  /* links and small text */
	--mint: #7CCB8A;
	--teal: #3DB39E;
	--gold: #FDD663;
	--gold-tint: #FFF3C4;
	--sky: #8AB4F8;
	--grey: #555555;
	--error: #A3261C;
	--error-tint: #FCE9E6;

	/* Type */
	--font-display: "Montserrat", "Montserrat Fallback", "Segoe UI", system-ui, sans-serif;
	--font-body: "Source Sans 3", "Source Sans Fallback", "Segoe UI", system-ui, sans-serif;
	--text-xs: 0.8125rem;
	--text-sm: 0.9375rem;
	--text-base: 1.125rem;
	--text-lg: 1.3125rem;
	--text-xl: 1.75rem;
	--text-h2: clamp(2rem, 1.35rem + 2.2vw, 3.125rem);
	--text-h1: clamp(2.5rem, 1.55rem + 3.6vw, 4.75rem);
	--text-display: clamp(2.75rem, 1.45rem + 4.9vw, 6rem);

	/* Space (4pt base) */
	--s-1: 0.25rem;
	--s-2: 0.5rem;
	--s-3: 0.75rem;
	--s-4: 1rem;
	--s-5: 1.5rem;
	--s-6: 2rem;
	--s-7: 3rem;
	--s-8: 4rem;
	--s-9: 6rem;
	--section: clamp(4rem, 2.6rem + 5vw, 7.5rem);

	--wrap: 76rem;
	--gutter: max(1.25rem, env(safe-area-inset-left, 0px));
	--radius-s: 0.75rem;
	--radius: 1.25rem;
	--radius-l: 1.75rem;
	--stroke: 2px solid var(--ink);
	--sticker: 6px 6px 0 var(--ink);

	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
	--header-h: 4.5rem;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: 1.6;
	font-kerning: normal;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { border-style: none; }

h1, h2, h3, h4, .slide__title {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 var(--s-4);
	text-wrap: balance;
	color: var(--ink);
}

p { margin: 0 0 var(--s-4); text-wrap: pretty; }
a { color: var(--green-deep); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
dl, dd { margin: 0; }

:focus-visible {
	outline: 3px solid var(--green-deep);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	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: var(--s-4);
	top: -100px;
	z-index: 100;
	padding: var(--s-3) var(--s-4);
	background: var(--ink);
	color: var(--paper);
	border-radius: var(--radius-s);
	font-family: var(--font-display);
	font-weight: 700;
	text-decoration: none;
}
.skip-link:focus { top: var(--s-3); }

main:focus { outline: none; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
	padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}
.wrap--narrow { max-width: 50rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.small { font-size: var(--text-sm); color: var(--ink-3); }
.lead { font-size: var(--text-lg); line-height: 1.5; color: var(--ink-2); max-width: 58ch; }
.empty { color: var(--ink-3); }
.accent { color: var(--green); }

/* Grid paper: the banner's ruled background. */
.hero,
.page-head,
.band--newsletter {
	background-color: var(--paper);
	background-image:
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 48px 48px;
	background-position: -1px -1px;
}

/* Logotype ------------------------------------------------------------------ */
.logotype {
	display: inline-flex;
	align-items: baseline;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.5rem;
	letter-spacing: -0.03em;
	line-height: 1;
	white-space: nowrap;
}
.logotype__dot { color: var(--lime); font-size: 1.15em; margin-right: 0.02em; text-shadow: 0 0 0 var(--lime); }
.logotype__the { color: var(--grey); }
.logotype__fernist { color: var(--ink); }

/* Buttons ------------------------------------------------------------------- */
.btn {
	--btn-bg: var(--ink);
	--btn-fg: var(--paper);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 3rem;
	padding: 0.7rem 1.35rem;
	border: var(--stroke);
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--text-sm);
	line-height: 1.2;
	letter-spacing: -0.005em;
	text-decoration: none;
	cursor: pointer;
	transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 160ms ease;
}
.btn .icon { flex: none; transition: transform 200ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--small { min-height: 2.5rem; padding: 0.45rem 1rem; }
@media (hover: hover) and (pointer: fine) {
	.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--lime); }
	.btn--secondary:hover,
	.btn--ghost:hover { background: var(--lime-tint); box-shadow: 4px 4px 0 var(--ink); border-color: var(--ink); }
	.btn:hover .icon--arrow { transform: translateX(3px); }
	.btn:active { transform: translate(0, 0) scale(0.97); box-shadow: none; }
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: var(--stroke);
	border-radius: 50%;
	background: var(--paper-3);
	color: var(--ink);
	cursor: pointer;
	transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.icon-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
	.icon-btn:hover { background: var(--lime-tint); }
}

.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

.link-more {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--text-sm);
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--lime);
	text-decoration-thickness: 3px;
	text-underline-offset: 0.35em;
}
.link-more:hover { text-decoration-color: var(--ink); }

/* Markers, chips, pills ----------------------------------------------------- */
.marker {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 var(--s-4);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--text-sm);
	color: var(--green-deep);
}
.marker__dot {
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 0 1.5px var(--ink);
	flex: none;
}

.chip {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.6rem;
	border: 1.5px solid var(--ink);
	border-radius: 999px;
	background: var(--paper-3);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--text-xs);
	line-height: 1.5;
	color: var(--ink);
	text-decoration: none;
	white-space: nowrap;
}
.chip--lime, .chip--up { background: var(--lime-soft); }
.chip--gold { background: var(--gold-tint); }

.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
	padding: 0.35rem 0.9rem;
	border: var(--stroke);
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--text-xs);
	line-height: 1.4;
	color: var(--ink);
}
.pill--lime { background: var(--lime-tint); }
.pill--gold { background: var(--gold-tint); }
.pill--soft { background: var(--lime-soft); }

.ticks { display: grid; gap: 0.55rem; }
.ticks li { position: relative; padding-left: 1.4rem; line-height: 1.45; }
.ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 0 1.5px var(--ink);
}

.h2 { font-size: var(--text-h2); }
.h-label {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--text-sm);
	letter-spacing: 0;
	color: var(--ink-2);
	margin: 0 0 var(--s-3);
}

/* Header -------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--paper) 94%, transparent);
	border-bottom: 1px solid transparent;
	transition: border-color 200ms ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(1px)) {
	.site-header { backdrop-filter: saturate(1.2) blur(10px); }
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--s-5);
	min-height: var(--header-h);
}
.site-header__brand { text-decoration: none; display: inline-flex; padding-block: var(--s-2); }
.custom-logo { max-height: 44px; width: auto; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: var(--s-5); }
.site-nav .menu { display: flex; align-items: center; gap: 0.25rem; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a,
.nav-toggle-sub {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.6rem 0.75rem;
	border: 0;
	background: none;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--ink);
	text-decoration: none;
	text-decoration-line: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 3px;
	text-underline-offset: 0.5em;
	cursor: pointer;
	transition: text-decoration-color 160ms ease;
}
.site-nav .menu > li > a:hover,
.nav-toggle-sub:hover,
.site-nav .menu > li > a[aria-current="page"],
.nav-toggle-sub[data-current="true"],
.site-nav .current-menu-item > a,
.site-nav .current_page_parent > a { text-decoration-color: var(--lime); }
.nav-toggle-sub svg { transition: transform 200ms var(--ease-out); }
.nav-toggle-sub[aria-expanded="true"] svg { transform: rotate(180deg); }

.sub-menu {
	position: absolute;
	top: calc(100% + 0.4rem);
	left: 0;
	min-width: 14rem;
	margin: 0;
	padding: 0.5rem;
	list-style: none;
	background: var(--paper-3);
	border: var(--stroke);
	border-radius: var(--radius);
	box-shadow: var(--sticker);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px) scale(0.98);
	transform-origin: top left;
	transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
}
.menu-item-has-children.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s;
}
.sub-menu a {
	display: block;
	padding: 0.6rem 0.8rem;
	border-radius: var(--radius-s);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--text-sm);
	color: var(--ink);
	text-decoration: none;
}
.sub-menu a:hover,
.sub-menu a[aria-current="page"] { background: var(--lime-tint); }

.menu-toggle {
	display: none;
	margin-left: auto;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.75rem;
	padding: 0.4rem 0.9rem;
	border: var(--stroke);
	border-radius: 999px;
	background: var(--paper-3);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--text-sm);
	cursor: pointer;
}
.menu-toggle span { display: inline-flex; align-items: center; gap: 0.4rem; }
.menu-toggle__close { display: none !important; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none !important; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline-flex !important; }

@media (max-width: 1023px) {
	/* A blurred header would become the containing block of the fixed menu panel. */
	.site-header { backdrop-filter: none !important; background: var(--paper); }
	.menu-toggle { display: inline-flex; }
	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		z-index: 49;
		flex-direction: column;
		align-items: stretch;
		gap: var(--s-5);
		margin: 0;
		padding: var(--s-5) max(1.25rem, env(safe-area-inset-right, 0px)) var(--s-7) max(1.25rem, env(safe-area-inset-left, 0px));
		background: var(--paper);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
	}
	.site-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s;
	}
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li { border-bottom: 1px solid var(--line); }
	.site-nav .menu > li > a,
	.nav-toggle-sub { width: 100%; justify-content: space-between; padding: 1rem 0; font-size: 1.375rem; font-weight: 700; }
	.sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 var(--s-3);
		border: 0;
		box-shadow: none;
		background: none;
		transform: none;
		display: none;
		opacity: 1;
		visibility: visible;
	}
	.menu-item-has-children.is-open > .sub-menu { display: block; }
	.sub-menu a { font-size: 1.125rem; padding: 0.65rem 0.75rem; }
	.site-nav__cta { align-self: flex-start; }
	body.nav-open { overflow: hidden; }
}

/* Decorative shapes --------------------------------------------------------- */
.deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.deco__s { position: absolute; display: block; transition: transform 1400ms var(--ease-out); }
.deco__s svg { width: 100%; height: 100%; overflow: visible; }

/* Hero arrangement: echoes the banner, shapes drift as slides change. */
.deco--hero .deco__s--1  { width: clamp(180px, 22vw, 330px); left: calc(clamp(180px, 22vw, 330px) * -0.45); top: calc(clamp(180px, 22vw, 330px) * -0.42); }
.deco--hero .deco__s--2  { width: clamp(70px, 6vw, 96px); left: 2.5%; top: 26%; }
.deco--hero .deco__s--3  { width: clamp(70px, 6vw, 94px); left: calc(2.5% + clamp(44px, 3.8vw, 62px)); top: calc(26% + clamp(48px, 4.2vw, 68px)); }
.deco--hero .deco__s--4  { width: clamp(44px, 4.2vw, 66px); left: 4%; top: 58%; }
.deco--hero .deco__s--5  { width: clamp(64px, 6vw, 90px); left: 50%; bottom: 7%; }
.deco--hero .deco__s--6  { width: clamp(60px, 6vw, 86px); left: calc(50% + clamp(70px, 6.4vw, 98px)); bottom: calc(7% - 4px); }
.deco--hero .deco__s--7  { width: clamp(34px, 3vw, 46px); left: 3%; bottom: 8%; }
.deco--hero .deco__s--8  { width: clamp(110px, 10vw, 160px); right: 9%; top: 7%; }
.deco--hero .deco__s--9  { width: clamp(64px, 6vw, 96px); right: 3%; top: 46%; }
.deco--hero .deco__s--10 { width: clamp(22px, 2vw, 30px); right: 11%; top: 34%; }
.deco--hero .deco__s--11 { width: clamp(36px, 3.4vw, 54px); right: 4%; top: 25%; }
.deco--hero .deco__s--12 { width: clamp(200px, 24vw, 360px); right: calc(clamp(200px, 24vw, 360px) * -0.32); bottom: calc(clamp(200px, 24vw, 360px) * -0.55); }

.hero[data-index] .deco__s--1  { transform: rotate(calc(var(--i, 0) * 8deg)); }
.hero[data-index] .deco__s--2  { transform: translateY(calc(var(--i, 0) * 6px)) rotate(calc(var(--i, 0) * -5deg)); }
.hero[data-index] .deco__s--4  { transform: rotate(calc(var(--i, 0) * 45deg)) scale(calc(1 + var(--i, 0) * 0.04)); }
.hero[data-index] .deco__s--8  { transform: translateX(calc(var(--i, 0) * -10px)); }
.hero[data-index] .deco__s--9  { transform: rotate(calc(var(--i, 0) * 14deg)); }
.hero[data-index] .deco__s--11 { transform: rotate(calc(var(--i, 0) * -45deg)); }
.hero[data-index] .deco__s--12 { transform: translateY(calc(var(--i, 0) * -8px)); }

/* Page header arrangements: each page its own. */
.deco--about .deco__s--1 { width: clamp(140px, 16vw, 240px); right: -60px; top: -70px; }
.deco--about .deco__s--2 { width: 54px; right: 14%; top: 32%; }
.deco--about .deco__s--3 { width: 90px; right: 6%; bottom: 14%; }
.deco--about .deco__s--4 { width: 64px; right: 20%; bottom: 8%; }
.deco--about .deco__s--5 { width: clamp(220px, 24vw, 340px); right: -110px; top: 18%; opacity: 0.6; }

.deco--speaking .deco__s--1 { width: 150px; right: 7%; top: 16%; }
.deco--speaking .deco__s--2 { width: clamp(160px, 18vw, 260px); right: -70px; bottom: -110px; }
.deco--speaking .deco__s--3 { width: 50px; right: 22%; top: 42%; }
.deco--speaking .deco__s--4 { width: 96px; right: 20%; bottom: 0; }
.deco--speaking .deco__s--5 { width: 90px; right: 4%; top: 52%; }

.deco--books .deco__s--1 { width: 110px; right: 12%; top: 14%; }
.deco--books .deco__s--2 { width: 104px; right: calc(12% - 44px); top: calc(14% + 80px); }
.deco--books .deco__s--3 { width: 56px; right: 5%; top: 18%; }
.deco--books .deco__s--4 { width: 28px; right: 26%; bottom: 22%; }
.deco--books .deco__s--5 { width: clamp(160px, 17vw, 240px); right: -80px; bottom: -120px; }

.deco--resources .deco__s--1 { width: clamp(160px, 18vw, 250px); right: -60px; top: -90px; }
.deco--resources .deco__s--2 { width: 84px; right: 15%; bottom: 16%; }
.deco--resources .deco__s--3 { width: 96px; right: 5%; bottom: 22%; }
.deco--resources .deco__s--4 { width: 48px; right: 24%; top: 26%; }

.deco--contact .deco__s--1 { width: clamp(170px, 19vw, 260px); right: -70px; bottom: -120px; }
.deco--contact .deco__s--2 { width: 140px; right: 8%; top: 18%; }
.deco--contact .deco__s--3 { width: 52px; right: 26%; top: 30%; }
.deco--contact .deco__s--4 { width: 96px; right: 18%; bottom: 14%; }

.deco--band .deco__s--1 { width: 170px; left: -80px; top: -90px; }
.deco--band .deco__s--2 { width: 44px; left: 4%; bottom: 18%; }
.deco--band .deco__s--3 { width: 56px; left: 42%; top: 20%; }
.deco--band .deco__s--4 { width: 86px; right: 9%; bottom: 10%; }

.deco--quiet .deco__s--1 { width: 46px; right: 8%; top: 22%; }
.deco--quiet .deco__s--2 { width: 90px; right: 4%; bottom: 16%; }

@media (max-width: 1199px) {
	.deco--hero .deco__s--2, .deco--hero .deco__s--3 { display: none; }
}
@media (max-width: 699px) {
	.deco--band { display: none; }
}
@media (max-width: 899px) {
	.deco--about .deco__s--2, .deco--about .deco__s--4, .deco--about .deco__s--5,
	.deco--speaking .deco__s--1, .deco--speaking .deco__s--3, .deco--speaking .deco__s--4, .deco--speaking .deco__s--5,
	.deco--books .deco__s--1, .deco--books .deco__s--2, .deco--books .deco__s--4,
	.deco--resources .deco__s--2, .deco--resources .deco__s--4,
	.deco--contact .deco__s--2, .deco--contact .deco__s--3, .deco--contact .deco__s--4,
	.deco--band .deco__s--3, .deco--band .deco__s--4,
	.deco--resources .deco__s--3,
	.deco--quiet .deco__s--2 { display: none; }
}

/* Hero slider --------------------------------------------------------------- */
.hero {
	position: relative;
	overflow: hidden;
	border-bottom: var(--stroke);
	isolation: isolate;
}
.hero__track { display: grid; position: relative; z-index: 1; }
.slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 500ms var(--ease-out), visibility 0s linear 500ms;
}
.slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 700ms var(--ease-out), visibility 0s;
}
.slide__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	align-items: center;
	gap: clamp(2rem, 4vw, 4rem);
	min-height: clamp(32rem, calc(100svh - var(--header-h)), 44rem);
	padding-block: clamp(2.5rem, 4vw, 3.5rem) clamp(6rem, 8vw, 7rem);
	padding-left: max(clamp(1.25rem, 8vw, 9rem), env(safe-area-inset-left, 0px));
}
.slide__copy { max-width: 40rem; }
.slide__copy > * {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
.slide.is-active .slide__copy > * {
	opacity: 1;
	transform: none;
	transition-duration: 800ms;
}
.slide.is-active .slide__copy > :nth-child(2) { transition-delay: 70ms; }
.slide.is-active .slide__copy > :nth-child(3) { transition-delay: 140ms; }
.slide.is-active .slide__copy > :nth-child(4) { transition-delay: 210ms; }

.slide__eyebrow {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.55rem;
	max-width: 46ch;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--text-sm);
	line-height: 1.45;
	color: var(--ink-2);
	margin-bottom: var(--s-5);
}
.slide__eyebrow::before {
	content: "";
	flex: none;
	width: 0.7rem;
	height: 0.7rem;
	margin-top: 0.28em;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 0 1.5px var(--ink);
}
.slide__title {
	font-size: var(--text-display);
	line-height: 0.98;
	letter-spacing: -0.035em;
	margin-bottom: var(--s-5);
}
.slide__title--long { font-size: clamp(2.4rem, 1.5rem + 3.2vw, 4.25rem); line-height: 1.02; }
.slide__text {
	font-size: var(--text-lg);
	line-height: 1.5;
	color: var(--ink-2);
	max-width: 44ch;
}
.slide__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* Slide pictures */
.slide__visual {
	position: relative;
	justify-self: center;
	width: min(100%, 31rem);
	aspect-ratio: 1;
	transform: scale(0.96);
	opacity: 0;
	transition: transform 900ms var(--ease-out), opacity 600ms var(--ease-out);
}
.slide.is-active .slide__visual { transform: none; opacity: 1; transition-delay: 80ms; }

.slide__visual--portrait img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
}

.slide__visual--photo .slide__photo {
	position: absolute;
	inset: 6%;
	border-radius: 50%;
	overflow: hidden;
	border: 2.5px solid var(--ink);
	background: var(--lime);
}
.slide__visual--photo .slide__photo img { width: 100%; height: 100%; object-fit: cover; }
.slide__ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid var(--ink);
	opacity: 0.85;
}
.slide__visual--photo > svg { position: absolute; width: 16%; left: -2%; top: 12%; }

.slide__visual--book { display: grid; place-items: center; }
.slide__disc { position: absolute; inset: 8%; }
.slide__disc svg { width: 100%; height: 100%; }
.slide__visual--book .cover {
	position: relative;
	width: 54%;
	transform: rotate(-5deg);
	box-shadow: 14px 14px 0 rgba(18, 50, 63, 0.18);
}
.slide__spark { position: absolute; width: 15%; right: 6%; top: 8%; }

.slide__visual--shapes .sv { position: absolute; display: block; }
.slide__visual--shapes .sv svg { width: 100%; height: 100%; }
.sv--disc { inset: 12%; }
.sv--ring { inset: 2%; opacity: 0.8; }
.sv--square { width: 26%; right: 0; top: 10%; }
.sv--spark { width: 22%; left: 6%; top: 18%; }
.sv--dots { width: 26%; right: 12%; bottom: 20%; }
.sv--toggle { width: 40%; left: 4%; bottom: 8%; }

/* Controls */
.hero__controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: clamp(1.25rem, 3vw, 2rem);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: var(--s-5);
	padding-left: max(clamp(1.25rem, 8vw, 9rem), env(safe-area-inset-left, 0px));
	max-width: var(--wrap);
	pointer-events: none;
}
.hero__controls > * { pointer-events: auto; }
.hero__nav { display: flex; align-items: center; gap: var(--s-2); }
.hero__dots { display: flex; align-items: center; gap: 0.4rem; margin: 0 var(--s-2) !important; }
.dot {
	position: relative;
	width: 1.75rem;
	height: 0.75rem;
	padding: 0;
	border: var(--stroke);
	border-radius: 999px;
	background: var(--paper-3);
	overflow: hidden;
	cursor: pointer;
	transition: width 300ms var(--ease-out);
}
.dot::after { content: ""; position: absolute; inset: -14px -4px; } /* 44px touch target */
.dot.is-active { width: 3.5rem; }
.dot__fill {
	position: absolute;
	inset: 0;
	background: var(--lime);
	transform: scaleX(0);
	transform-origin: left center;
}
.dot.is-active .dot__fill { transform: scaleX(1); }
.hero.is-playing .dot.is-active .dot__fill { animation: tf-progress var(--slide-ms, 7000ms) linear forwards; }
@keyframes tf-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__count {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--text-sm);
	font-variant-numeric: tabular-nums;
	color: var(--ink-2);
}
.icon-btn--pause .when-paused { display: none; }
.hero:not(.is-playing) .icon-btn--pause .when-playing { display: none; }
.hero:not(.is-playing) .icon-btn--pause .when-paused { display: inline; }

@media (max-width: 899px) {
	.slide__inner {
		grid-template-columns: 1fr;
		min-height: 0;
		gap: var(--s-6);
		padding-top: var(--s-7);
		padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
		padding-bottom: 6.5rem;
	}
	.slide__visual { width: min(76%, 20rem); justify-self: start; order: -1; }
	.slide__title { font-size: clamp(2.6rem, 1.4rem + 6vw, 4rem); }
	.slide__title--long { font-size: clamp(2.1rem, 1.3rem + 4vw, 3rem); }
	.hero__controls { padding-left: max(1.25rem, env(safe-area-inset-left, 0px)); }
	.deco--hero .deco__s--2, .deco--hero .deco__s--3, .deco--hero .deco__s--5,
	.deco--hero .deco__s--6, .deco--hero .deco__s--7, .deco--hero .deco__s--8,
	.deco--hero .deco__s--10 { display: none; }
	.deco--hero .deco__s--4 { left: auto; right: 6%; top: 6%; }
	.deco--hero .deco__s--9 { display: none; }
	.deco--hero .deco__s--12 { width: 160px; right: -70px; bottom: -110px; }
	.hero__count { display: none; }
}

/* Sections ------------------------------------------------------------------ */
.section { padding-block: var(--section); position: relative; }
.section--tint { background: var(--paper-2); }
.section + .section:not(.section--tint):not(.cta-strip):not(.quote-band) { padding-top: 0; }
.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--s-4);
	margin-bottom: var(--s-7);
}
.section-head .h2 { margin-bottom: 0; }

.split { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) {
	.split--speaking { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
	.split--profile { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; }
	.split--bio { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
	.split--even { grid-template-columns: 1fr 1fr; }
	.split--events { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr); }
	.split--contact { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr); }
}

/* Role strip */
.role-strip { background: var(--paper-2); border-bottom: var(--stroke); }
.role-strip__inner {
	display: grid;
	gap: var(--s-4);
	padding-block: var(--s-6);
}
@media (min-width: 1024px) {
	.role-strip__inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: var(--s-7); }
}
.role-strip__role {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--text-lg);
	line-height: 1.35;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
.role-strip__label {
	display: block;
	margin-bottom: 0.25rem;
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--green-deep);
}

/* Speaking on home */
.speaking-home__lists { display: grid; gap: var(--s-6); margin-top: var(--s-6); }
@media (min-width: 620px) { .speaking-home__lists { grid-template-columns: 1.3fr 1fr; } }
.split__side .h-label { margin-bottom: var(--s-4); }

/* Engagements */
.events { display: grid; }
.event {
	display: grid;
	grid-template-columns: 9.5rem minmax(0, 1fr);
	gap: var(--s-4);
	padding-block: var(--s-5);
	border-top: 1.5px solid var(--line);
}
.event:last-child { border-bottom: 1.5px solid var(--line); }
.event__date {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.4rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--text-sm);
	color: var(--green-deep);
	font-variant-numeric: tabular-nums;
}
.event__title {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 1.1875rem;
	line-height: 1.35;
	letter-spacing: 0;
	margin: 0 0 0.3rem;
}
.event__title a { color: var(--ink); }
.event__meta { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }
.event__role { margin: 0.25rem 0 0; font-size: var(--text-xs); font-family: var(--font-display); font-weight: 700; color: var(--ink-3); }
.event--upcoming { background: linear-gradient(90deg, var(--lime-tint), transparent 70%); }
.events--compact .event { grid-template-columns: 7.5rem minmax(0, 1fr); padding-block: var(--s-4); }
.events--compact .event__title { font-size: 1.0625rem; }
@media (max-width: 560px) {
	.event, .events--compact .event { grid-template-columns: 1fr; gap: 0.3rem; }
	.event__date { flex-direction: row; align-items: center; }
}

.years { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.year { border: 1.5px solid var(--ink); border-radius: 1.25rem; background: #fff; overflow: hidden; transition: background-color 200ms ease; }
.year[open] { background: var(--lime-tint); }
.year__head { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5); cursor: pointer; list-style: none; -webkit-user-select: none; user-select: none; }
.year__head::-webkit-details-marker { display: none; }
.year__head::marker { content: ""; }
.year__head:hover { background: var(--paper-2); }
.year[open] > .year__head { background: var(--lime-soft); border-bottom: 1.5px solid var(--ink); }
.year__head:focus-visible { outline: 3px solid var(--green-deep); outline-offset: -3px; }
.year__label { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.year__icon { margin-left: auto; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
.year[open] .year__icon { transform: rotate(180deg); }
.year > .year__list { padding: var(--s-1) var(--s-5) var(--s-3); margin: 0; }
.year__list .event:first-child { border-top: 0; }
@media (prefers-reduced-motion: reduce) { .year, .year__icon { transition: none; } }

.topics-box {
	padding: var(--s-6);
	border: var(--stroke);
	border-radius: var(--radius-l);
	background: var(--paper-3);
}
.topics-box .h-label:not(:first-child) { margin-top: var(--s-6); }

.org-bio__head { max-width: 40rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }
.org-bio__head .h2 { margin-bottom: 0; }
.org-bio { max-width: 40rem; margin-top: var(--s-5); padding: var(--s-6); background: var(--paper); border: var(--stroke); border-radius: var(--radius-l); }
.org-bio p:last-child { margin-bottom: 0; }

.empty-card {
	padding: var(--s-6);
	border: 2px dashed var(--ink-3);
	border-radius: var(--radius-l);
	background: var(--paper-3);
	max-width: 40rem;
}
.empty-card--wide { max-width: none; }
.empty-card p:last-of-type { margin-bottom: var(--s-4); }

/* Quote */
.quote-band { background: var(--paper-2); border-block: var(--stroke); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.quote { position: relative; margin: 0; max-width: 58rem; padding-left: clamp(0rem, 6vw, 5rem); }
.quote__spark { position: absolute; left: 0; top: 0.2rem; width: clamp(0px, 4vw, 3.5rem); }
.quote blockquote { margin: 0; }
.quote blockquote p {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.6rem);
	line-height: 1.25;
	letter-spacing: -0.02em;
	text-wrap: balance;
	margin: 0;
}
.quote figcaption { margin-top: var(--s-5); font-weight: 600; color: var(--ink-2); }
.quote figcaption::before { content: ""; display: inline-block; width: 2rem; height: 2px; background: var(--ink); vertical-align: middle; margin-right: 0.75rem; }
@media (max-width: 640px) { .quote__spark { display: none; } }

/* Profile */
.profile__media img,
.framed img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--radius-l);
	border: var(--stroke);
	box-shadow: 10px 10px 0 var(--lime);
}
.framed { margin: 0; }
.framed figcaption { margin-top: var(--s-4); font-size: var(--text-sm); color: var(--ink-3); }
.profile__body p { max-width: 60ch; }
.facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: var(--s-6) 0;
	border-block: 1.5px solid var(--line);
}
.facts > div { padding: var(--s-4) var(--s-4) var(--s-4) 0; }
.facts > div + div { padding-left: var(--s-4); border-left: 1.5px solid var(--line); }
.facts dd {
	order: -1;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
	line-height: 1.1;
	color: var(--ink);
}
.facts > div { display: flex; flex-direction: column; }
.facts dt { font-size: var(--text-sm); color: var(--ink-2); }
.facts--stack { grid-template-columns: 1fr; }
.facts--stack > div + div { padding-left: 0; border-left: 0; border-top: 1.5px solid var(--line); }
.facts--stack > div { flex-direction: row; align-items: baseline; gap: var(--s-4); }
.facts--stack dd { min-width: 4.5rem; }

/* Books */
.books-row { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1024px) { .books-row { grid-template-columns: 1fr 1fr; } }
.book { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 560px) { .book { grid-template-columns: minmax(9rem, 0.42fr) minmax(0, 1fr); } }
.books-stack { display: grid; gap: clamp(4rem, 8vw, 6.5rem); }
@media (min-width: 900px) { .books-stack .book { grid-template-columns: minmax(14rem, 22rem) minmax(0, 1fr); gap: var(--s-8); } }
.book__cover { max-width: 22rem; }
.book__status { display: flex; align-items: center; gap: var(--s-3); font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); color: var(--ink-2); margin-bottom: var(--s-3); }
.book__title { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); margin-bottom: var(--s-2); }
.books-stack .book__title { font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.book__sub { font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); color: var(--ink-2); line-height: 1.4; }
.book__desc p { color: var(--ink-2); max-width: 60ch; }
.book__details { margin: 0 0 var(--s-4); display: grid; gap: 0.25rem; font-size: var(--text-sm); color: var(--ink-3); }
.book__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.cover { border-radius: 6px; overflow: hidden; border: var(--stroke); }
.cover--image img { width: 100%; height: auto; }
.cover--type {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	aspect-ratio: 2 / 3;
	padding: 9% 9% 10%;
	background: var(--ink);
	color: var(--paper);
	isolation: isolate;
	container-type: inline-size;
}
.cover__shapes { position: absolute; inset: 0; z-index: -1; }
.cover__shapes svg { position: absolute; }
.cover__shapes svg:nth-child(1) { width: 92%; right: -34%; top: -16%; }
.cover__shapes svg:nth-child(2) { width: 22%; left: 10%; top: 12%; }
.cover__shapes svg:nth-child(3) { width: 34%; left: 10%; top: 36%; filter: invert(1) brightness(1.6); opacity: 0.55; }
.cover__title { font-family: var(--font-display); font-weight: 800; font-size: 11.5cqi; line-height: 1; letter-spacing: -0.03em; }
.cover__sub { margin-top: 5cqi; font-family: var(--font-display); font-weight: 600; font-size: 5.2cqi; line-height: 1.3; color: var(--lime-soft); }
.cover__author { margin-top: 9cqi; padding-top: 4cqi; border-top: 1.5px solid rgba(247, 250, 242, 0.35); font-family: var(--font-display); font-weight: 700; font-size: 4.6cqi; letter-spacing: 0.02em; }

.waitlist__inner {
	display: grid;
	gap: var(--s-6);
	padding: clamp(1.75rem, 4vw, 3rem);
	border: var(--stroke);
	border-radius: var(--radius-l);
	background: var(--gold-tint);
	box-shadow: var(--sticker);
}
@media (min-width: 900px) { .waitlist__inner { grid-template-columns: 1fr 1fr; align-items: center; } }
.waitlist .h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }

.pubs { display: grid; margin-top: var(--s-5); }
.pub {
	display: grid;
	grid-template-columns: 3.5rem 8.5rem minmax(0, 1fr);
	gap: var(--s-4);
	align-items: baseline;
	padding-block: var(--s-4);
	border-top: 1.5px solid var(--line);
}
.pub:last-child { border-bottom: 1.5px solid var(--line); }
.pub__year { font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); color: var(--green-deep); font-variant-numeric: tabular-nums; }
.pub__type { justify-self: start; }
.pub__main { display: flex; flex-direction: column; gap: 0.2rem; }
.pub__title { font-weight: 600; font-size: 1.125rem; line-height: 1.4; color: var(--ink); }
a.pub__title { display: inline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; }
a.pub__title .icon { display: inline; width: 1rem; height: 1rem; margin-left: 0.35rem; vertical-align: -0.1em; }
.pub__outlet { font-size: var(--text-sm); color: var(--ink-3); }
@media (max-width: 640px) {
	.pub { grid-template-columns: auto 1fr; }
	.pub__main { grid-column: 1 / -1; }
}

/* Writing */
.posts { display: grid; }
.post-row { padding-block: var(--s-6); border-top: 1.5px solid var(--line); }
.post-row:last-child { border-bottom: 1.5px solid var(--line); }
.post-row__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: var(--s-3);
	font-size: var(--text-sm);
	color: var(--ink-3);
}
.post-row__title { font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.875rem); margin-bottom: var(--s-3); max-width: 34ch; }
.post-row__title a { color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: 0.18em; transition: text-decoration-color 160ms ease; }
.post-row__title a:hover { text-decoration-color: var(--lime); }
.post-row__excerpt { margin: 0; color: var(--ink-2); max-width: 68ch; }
@media (min-width: 1024px) {
	.writing .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
	.writing .post-row { border-bottom: 1.5px solid var(--line); }
}

/* Newsletter band ----------------------------------------------------------- */
.band--newsletter {
	position: relative;
	overflow: hidden;
	background-color: var(--lime-tint);
	background-image:
		linear-gradient(rgba(18, 50, 63, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(18, 50, 63, 0.06) 1px, transparent 1px);
	border-block: var(--stroke);
	padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.band__inner { position: relative; z-index: 1; display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .band__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.band__copy h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin-bottom: var(--s-3); }
.band__copy p { margin: 0; color: var(--ink-2); max-width: 42ch; }

.signup__row { display: grid; gap: var(--s-3); align-items: end; }
@media (min-width: 560px) { .signup__row { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.signup--newsletter { display: grid; gap: var(--s-3); }
.signup .form__foot { margin-top: var(--s-2); }
.signup .form__foot .signup__note { margin: 0; }
.signup .field label { font-size: var(--text-sm); }
.signup .field input { background: var(--paper-3); border-color: var(--ink); }
.signup__row .btn { min-height: 3rem; }
.signup--waitlist { display: grid; gap: var(--s-4); }
.signup--waitlist .form__row { display: grid; gap: var(--s-4); }
@media (min-width: 620px) { .signup--waitlist .form__row { grid-template-columns: 1fr 1fr; } }
.signup__note { margin: var(--s-3) 0 0; font-size: var(--text-sm); color: var(--ink-2); }
.signup__ok {
	display: flex;
	outline: none;
	align-items: center;
	gap: 0.6rem;
	margin: 0;
	padding: var(--s-4) var(--s-5);
	border: var(--stroke);
	border-radius: var(--radius);
	background: var(--paper-3);
	font-weight: 600;
}
.signup__ok .icon { color: var(--green-deep); flex: none; }

/* Calls to action ----------------------------------------------------------- */
.cta-strip { background: var(--gold-tint); border-top: var(--stroke); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.cta-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); }
.cta-strip__text { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); letter-spacing: -0.015em; max-width: 32ch; }

/* Page header --------------------------------------------------------------- */
.page-head {
	position: relative;
	overflow: hidden;
	border-bottom: var(--stroke);
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
	isolation: isolate;
}
.page-head__inner { position: relative; z-index: 1; }
.page-head__title { font-size: var(--text-h1); line-height: 1.02; letter-spacing: -0.03em; max-width: 16ch; margin-bottom: var(--s-5); }
.page-head__intro { font-size: var(--text-lg); line-height: 1.5; color: var(--ink-2); max-width: 56ch; margin: 0; }
.page-head .actions { margin-top: var(--s-6); }
.page-head .search-form { margin-top: var(--s-6); max-width: 34rem; }

/* About */
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1em; }
.prose > p:first-child { font-size: var(--text-lg); line-height: 1.55; color: var(--ink); }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin: 2em 0 0.6em; }
.prose h3 { font-size: 1.4rem; margin: 1.8em 0 0.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.35em; }
.prose blockquote {
	margin: 1.6em 0;
	padding: var(--s-5) var(--s-6);
	border: var(--stroke);
	border-radius: var(--radius);
	background: var(--paper-2);
	font-size: var(--text-lg);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { border-radius: var(--radius-s); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: var(--text-sm); color: var(--ink-3); margin-top: 0.5em; }
.prose a { color: var(--green-deep); text-decoration-thickness: 1.5px; }
.prose hr { border: 0; border-top: 1.5px solid var(--line); margin: 2.5em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 0.6em; text-align: left; }

.cred-list { display: grid; margin-top: var(--s-5); }
.cred-list > div {
	display: grid;
	gap: 0.25rem var(--s-5);
	padding-block: var(--s-4);
	border-top: 1.5px solid var(--line);
}
.cred-list > div:last-child { border-bottom: 1.5px solid var(--line); }
@media (min-width: 760px) { .cred-list > div { grid-template-columns: 15rem minmax(0, 1fr); } }
.cred-list dt { font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); color: var(--green-deep); padding-top: 0.15rem; }
.cred-list dd { font-size: 1.125rem; }

.timeline { display: grid; margin-top: var(--s-4); }
.timeline li {
	display: grid;
	grid-template-columns: 6.5rem minmax(0, 1fr);
	gap: var(--s-4);
	padding-block: var(--s-4);
	border-top: 1.5px solid var(--line);
}
.timeline li:last-child { border-bottom: 1.5px solid var(--line); }
.timeline__when { font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); color: var(--green-deep); font-variant-numeric: tabular-nums; padding-top: 0.15rem; }
.timeline__what { line-height: 1.45; }
.timeline--awards { max-width: 58rem; }
.timeline--awards li { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-4); align-items: baseline; }
.award__name { display: block; font-weight: 600; color: var(--ink); }
.award__by { display: block; font-size: var(--text-sm); color: var(--ink-3); margin-top: 0.1rem; }
.award__year { font-size: var(--text-sm); color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }

.affils { display: grid; gap: 0; margin-top: var(--s-4); }
.affils li {
	position: relative;
	padding: var(--s-3) 0 var(--s-3) 1.5rem;
	border-top: 1.5px solid var(--line);
	font-weight: 600;
}
.affils li:last-child { border-bottom: 1.5px solid var(--line); }
.affils li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.15rem;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 0 1.5px var(--ink);
}

/* Gallery */
.gallery-grid { columns: 1; column-gap: var(--s-5); }
@media (min-width: 620px) { .gallery-grid { columns: 2; } }
@media (min-width: 1024px) { .gallery-grid { columns: 3; } }
.gallery-item { break-inside: avoid; margin-bottom: var(--s-5); }
.gallery-item a { display: block; border-radius: var(--radius); overflow: hidden; border: var(--stroke); background: var(--lime-tint); }
.gallery-item img { width: 100%; transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
	.gallery-item a:hover img { transform: scale(1.03); }
}
.gallery-item__caption { margin: var(--s-2) 0 0; font-size: var(--text-sm); color: var(--ink-2); }
.album-nav { margin-bottom: var(--s-7); }
.album-nav__link { text-decoration: none; color: var(--ink); display: inline-flex; gap: .5em; align-items: center; }
.album-nav__link:hover { background: var(--lime); }
.album-nav__count { font-size: .85em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.album { scroll-margin-top: 6rem; }
.album + .album { margin-top: var(--s-8); padding-top: var(--s-7); border-top: 1px solid var(--line, rgba(18,50,63,.15)); }
.album__head { margin-bottom: var(--s-5); max-width: 65ch; }
.album__title { margin: 0 0 var(--s-1); text-wrap: balance; }
.album__meta { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }
.album__note { margin: var(--s-3) 0 0; }
.album__more { margin: var(--s-3) 0 0; }
.lightbox__count { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); margin: 0; font-size: var(--text-sm); color: #fff; opacity: .8; font-variant-numeric: tabular-nums; }

.lightbox {
	width: min(92vw, 70rem);
	max-height: 92vh;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--paper);
	overflow: visible;
}
.lightbox::backdrop { background: rgba(10, 30, 38, 0.88); }
.lightbox[open] { animation: tf-fade 200ms var(--ease-out); }
@keyframes tf-fade { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: var(--s-3); }
.lightbox__figure img { max-height: 80vh; width: auto; border-radius: var(--radius-s); }
.lightbox__figure figcaption { text-align: center; font-size: var(--text-sm); }
.lightbox .icon-btn { position: fixed; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1rem; top: 50%; translate: 0 -50%; }

/* Profile & Downloads */
.page-head--profile { padding-block: clamp(3rem, 6vw, 5rem); }
.profile-card { position: relative; z-index: 1; display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 700px) { .profile-card { grid-template-columns: 14rem minmax(0, 1fr); } }
.profile-card__photo img { width: 14rem; aspect-ratio: 1; border-radius: 50%; object-fit: cover; -webkit-mask-image: radial-gradient(circle closest-side, #000 95%, transparent 100%); mask-image: radial-gradient(circle closest-side, #000 95%, transparent 100%); }
.profile-card .page-head__title { margin-bottom: var(--s-3); }
.profile-card__tagline { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); margin: 0 0 var(--s-2); }
.profile-card__hash { margin: 0; color: var(--green-deep); font-weight: 600; }

.downloads { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.download {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--s-4);
	padding: var(--s-4) var(--s-5);
	border: var(--stroke);
	border-radius: var(--radius);
	background: var(--paper-3);
	color: var(--ink);
	text-decoration: none;
	transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
	.download:hover { background: var(--lime-tint); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
}
.download:active { transform: scale(0.98); }
.download__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--lime-soft); border: 1.5px solid var(--ink); }
.download__text { display: flex; flex-direction: column; }
.download__title { font-family: var(--font-display); font-weight: 700; }
.download__desc { font-size: var(--text-sm); color: var(--ink-2); }

/* Blog filters */
.filters { margin-top: var(--s-6); }
.filters ul { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.filters a {
	display: inline-flex;
	min-height: 2.5rem;
	align-items: center;
	padding: 0.35rem 1rem;
	border: var(--stroke);
	border-radius: 999px;
	background: var(--paper-3);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--text-sm);
	color: var(--ink);
	text-decoration: none;
}
.filters a:hover { background: var(--lime-tint); }
.filters a[aria-current="page"] { background: var(--ink); color: var(--paper); }

.pagination { margin-top: var(--s-6); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.8rem; border: var(--stroke); border-radius: 999px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); }

/* Article */
.page-head--article .post-row__meta { margin-bottom: var(--s-4); }
.article__title { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); line-height: 1.06; letter-spacing: -0.03em; }
.article__by { margin: 0; font-weight: 600; color: var(--ink-2); }
.article__image { margin-top: var(--s-7); }
.article__image img { border-radius: var(--radius); border: var(--stroke); }
.article__body { padding-block: var(--s-7) 0; }
.article__foot { padding-block: var(--s-7) var(--section); }
.article__foot > p { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); }
.article__nav { display: grid; gap: var(--s-4); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1.5px solid var(--line); }
@media (min-width: 700px) { .article__nav { grid-template-columns: 1fr 1fr; } .article__nav-next { text-align: right; } }
.article__nav a { display: flex; flex-direction: column; gap: 0.2rem; font-weight: 600; color: var(--ink); }

/* Contact */
.form { display: grid; gap: var(--s-5); margin-top: var(--s-5); }
.form__row { display: grid; gap: var(--s-5); }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); }
.req { color: var(--error); }
.opt { font-family: var(--font-body); font-weight: 400; color: var(--ink-3); }
.field input,
.field textarea,
.select select,
.search-form input {
	width: 100%;
	min-height: 3rem;
	padding: 0.7rem 0.95rem;
	border: 2px solid var(--ink-3);
	border-radius: var(--radius-s);
	background: var(--paper-3);
	font-size: var(--text-base);
	line-height: 1.4;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus,
.field textarea:focus,
.select select:focus,
.search-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--lime-soft); }
.field input::placeholder, .field textarea::placeholder { color: #6B7E87; }
.select { position: relative; }
.select select { appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select::after {
	content: "";
	position: absolute;
	right: 1.1rem;
	top: 50%;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2px solid var(--ink);
	border-bottom: 2px solid var(--ink);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.field--error input,
.field--error textarea { border-color: var(--error); background: var(--error-tint); }
.field__error { margin: 0; color: var(--error); font-size: var(--text-sm); font-weight: 600; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.form__note { margin: 0; font-size: var(--text-sm); color: var(--ink-3); max-width: 34ch; }
.notice {
	display: flex;
	gap: var(--s-3);
	align-items: flex-start;
	padding: var(--s-4) var(--s-5);
	border: var(--stroke);
	border-radius: var(--radius);
	margin-bottom: var(--s-4);
}
.notice p { margin: 0; }
.notice__title { font-family: var(--font-display); font-weight: 700; }
.notice--ok { background: var(--lime-tint); }
.notice--ok .icon { color: var(--green-deep); flex: none; margin-top: 0.15rem; }
.notice--error { background: var(--error-tint); border-color: var(--error); }

.contact-details { display: grid; gap: 0; border: var(--stroke); border-radius: var(--radius-l); background: var(--paper-3); overflow: hidden; }
.contact-item { padding: var(--s-5) var(--s-6); }
.contact-item + .contact-item { border-top: 1.5px solid var(--line); }
.contact-item .h-label { margin-bottom: 0.3rem; color: var(--green-deep); }
.contact-item__value { margin: 0 0 0.25rem; font-size: 1.125rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-item__value a { color: var(--ink); }
.contact-item .btn { margin-top: var(--s-3); }
.contact-item--qr { display: flex; align-items: center; gap: var(--s-4); background: var(--lime-tint); }
.contact-item--qr img { width: 5.5rem; height: 5.5rem; padding: 0.35rem; background: #fff; border-radius: var(--radius-s); border: 1.5px solid var(--ink); }
.contact-item--qr p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); }
.inline-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 0.4rem; }
.inline-links a { font-weight: 600; }

.schedule { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .schedule:has(.schedule__frame:not([hidden])) { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.schedule__frame { border: var(--stroke); border-radius: var(--radius-l); overflow: hidden; background: #fff; min-height: 42rem; }
.schedule__frame iframe { width: 100%; height: 42rem; border: 0; display: block; }

.search-form { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.search-form input { flex: 1 1 14rem; border-radius: 999px; padding-inline: 1.2rem; border-color: var(--ink); }

/* Footer -------------------------------------------------------------------- */
.site-footer { background: var(--paper-2); padding-block: var(--s-8) var(--s-6); }
.site-footer__inner { display: grid; gap: var(--s-6); }
@media (min-width: 900px) {
	.site-footer__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
	.site-footer__social { justify-content: flex-end; }
}
.site-footer__brand a { text-decoration: none; }
.site-footer__brand .logotype { font-size: 1.75rem; }
.site-footer__brand p { margin: var(--s-3) 0 0; color: var(--ink-2); font-weight: 600; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-menu a,
.site-footer .menu a { display: inline-block; padding-block: 0.4rem; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); color: var(--ink); text-decoration: none; }
.site-footer .menu { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer-menu a:hover, .site-footer .menu a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 0.4em; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; list-style: none; margin: 0; padding: 0; grid-column: 1 / -1; }
.site-footer__social a { font-size: var(--text-sm); font-weight: 600; color: var(--ink-2); }
.site-footer__note { grid-column: 1 / -1; margin: 0; padding-top: var(--s-5); border-top: 1.5px solid var(--line); font-size: var(--text-sm); color: var(--ink-3); }

/* WordPress core ------------------------------------------------------------ */
.alignwide { max-width: 64rem; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, .wp-element-caption { font-size: var(--text-sm); color: var(--ink-3); }
.wp-block-button__link { border-radius: 999px; border: var(--stroke); background: var(--ink); color: var(--paper); font-family: var(--font-display); font-weight: 700; }

/* Motion preferences -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
	.slide__copy > *, .slide__visual, .deco__s, .btn, .download, .gallery-item img { transform: none !important; transition-property: opacity !important; }
	.hero[data-index] .deco__s { transform: none !important; }
}

/* Print --------------------------------------------------------------------- */
@media print {
	.site-header, .band--newsletter, .hero__controls, .deco, .cta-strip { display: none !important; }
	body { background: #fff; }
}

/* Consent ------------------------------------------------------------------- */
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.25rem 0.65rem; align-items: start; margin-top: var(--s-3); font-size: var(--text-sm); line-height: 1.45; color: var(--ink-2); }
.consent input { width: 1.25rem; height: 1.25rem; margin: 0.1rem 0 0; accent-color: var(--green-deep); cursor: pointer; }
.consent label { cursor: pointer; }
.consent .field__error { grid-column: 2; }
.form .consent { margin-top: 0; }

/* Selected work ------------------------------------------------------------- */
.work-list { display: grid; gap: 0 clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .work-list { grid-template-columns: 1fr 1fr; } }
.work { padding-block: var(--s-5); border-top: 1.5px solid var(--line); }
.work article { display: flex; flex-direction: column; height: 100%; }
.work__years { margin: 0 0 0.35rem; font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); color: var(--green-deep); font-variant-numeric: tabular-nums; }
.work__title { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem); line-height: 1.2; margin-bottom: 0.4rem; }
.work__meta { margin: 0 0 var(--s-3); font-size: var(--text-sm); font-weight: 600; color: var(--ink-2); }
.work__summary { margin: 0 0 var(--s-3); color: var(--ink-2); max-width: 60ch; }
.work__link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: auto; font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 0.35em; }
.work__link .icon { width: 1rem; height: 1rem; }
.work-list--lead .work:first-child {
	grid-column: 1 / -1;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	margin-bottom: var(--s-5);
	border: var(--stroke);
	border-radius: var(--radius-l);
	background: var(--lime-tint);
	box-shadow: var(--sticker);
}
.work-list--lead .work:first-child .work__title { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); max-width: 22ch; }
.work-list--lead .work:first-child .work__summary { font-size: var(--text-lg); line-height: 1.5; }

.split--engagements { align-items: start; }
@media (min-width: 900px) { .split--engagements { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.ticks--lg li { font-size: var(--text-lg); }

/* Rotating covers ----------------------------------------------------------- */
.cover--rotate { position: relative; display: grid; }
.cover--rotate img { grid-area: 1 / 1; width: 100%; height: auto; opacity: 0; transition: opacity 900ms var(--ease-out); }
.cover--rotate img.is-active { opacity: 1; }

.site-footer__privacy { grid-column: 1 / -1; margin: 0; font-size: var(--text-sm); color: var(--ink-2); max-width: 80ch; }

/* Fields keep their height when a neighbour shows an error. */
.field { align-content: start; }
.form__row { align-items: start; }
.signup .field--error input { border-color: var(--error); background: var(--error-tint); }
@media (max-width: 599px) { .deco--quiet .deco__s--1 { display: none; } }

/* In the news ---------------------------------------------------------------- */
.news-list { display: grid; gap: 0 clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .news-list { grid-template-columns: 1fr 1fr; } }
.news { padding-block: var(--s-5); border-top: 1.5px solid var(--line); }
.news article { display: flex; flex-direction: column; height: 100%; }
.news__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin: 0 0 var(--s-3); }
.news__outlet { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; color: var(--ink); }
.news__date { font-size: var(--text-sm); color: var(--ink-3); }
.news__title { font-family: var(--font-body); font-weight: 600; font-size: 1.25rem; line-height: 1.35; letter-spacing: 0; margin: 0 0 var(--s-3); }
.news__title a { color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.2em; transition: text-decoration-color 160ms ease; }
.news__title a:hover { text-decoration-color: var(--lime); }
.news__summary { color: var(--ink-2); margin: 0 0 var(--s-3); }
.news .work__link, .news__actions { margin-top: auto; }
.news__actions { margin-bottom: 0; }
.news__player { position: relative; aspect-ratio: 16 / 9; margin-bottom: var(--s-3); border: var(--stroke); border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.news__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.news--video { grid-column: 1 / -1; }
@media (min-width: 900px) {
	.news--video article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: auto auto 1fr auto; column-gap: var(--s-6); align-items: start; }
	.news--video .news__player { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
	.news--video .news__meta, .news--video .news__title, .news--video .news__summary, .news--video .work__link { grid-column: 1; }
}
.news__poster { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; overflow: hidden; }
.news__poster-shapes svg { position: absolute; }
.news__poster-shapes svg:nth-child(1) { width: 46%; right: -12%; top: -30%; }
.news__poster-shapes svg:nth-child(2) { width: 9%; left: 8%; top: 14%; }
.news__poster-shapes svg:nth-child(3) { width: 18%; left: 8%; bottom: 12%; filter: invert(1) brightness(1.6); opacity: 0.5; }
.news__play { position: relative; display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--lime); color: var(--ink); border: 2.5px solid var(--paper); transition: transform 200ms var(--ease-out); }
.news__play .icon { width: 1.75rem; height: 1.75rem; margin-left: 0.2rem; }
.news__poster:hover .news__play { transform: scale(1.06); }
.news__poster:active .news__play { transform: scale(0.96); }
.news__poster-label { position: absolute; left: 8%; top: 8%; font-family: var(--font-display); font-weight: 800; font-size: var(--text-sm); }

/* Hero: keep the area around the portrait quiet. */
.deco--hero .deco__s--9, .deco--hero .deco__s--10 { display: none; }
.slide__visual--portrait { width: min(100%, 34rem); }

/* ---------------------------------------------------------------- Library */
.lib-filter { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.lib-filter__btn { font: 600 0.875rem/1 var(--font-display); padding: 0.6rem 1rem; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.lib-filter__btn:hover { background: var(--lime-tint); }
.lib-filter__btn:active { transform: scale(0.97); }
.lib-filter__btn[aria-pressed="true"] { background: var(--lime); }
.lib-filter__btn:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 2px; }
.lib { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .lib { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.doc__inner { height: 100%; display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--s-5); padding: var(--s-5); border: 1.5px solid var(--ink); border-radius: 1.25rem; background: #fff; }
.doc__cover { position: relative; aspect-ratio: 3 / 4; border-radius: 0.6rem; border: 1.5px solid var(--ink); overflow: hidden; display: grid; place-items: center; align-content: center; gap: 0.35rem; background: var(--lime-tint); color: var(--ink); }
.doc__cover img { width: 100%; height: 100%; object-fit: cover; }
.doc--article .doc__cover, .doc--paper .doc__cover { background: var(--gold-tint); }
.doc--presentation .doc__cover, .doc--speech .doc__cover { background: #E1F3EE; }
.doc--guidelines .doc__cover, .doc--communique .doc__cover, .doc--other .doc__cover { background: var(--paper-2); }
.doc__icon .icon { width: 2rem; height: 2rem; }
.doc__ext { font: 700 0.7rem/1 var(--font-display); letter-spacing: 0.08em; }
.doc__body { min-width: 0; display: flex; flex-direction: column; }
.doc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin: 0 0 var(--s-2); font-size: var(--text-sm); color: var(--ink-2); }
.doc__title { font-size: 1.2rem; line-height: 1.25; margin: 0; text-wrap: balance; }
.doc__org { margin: var(--s-1) 0 0; font-size: var(--text-sm); color: var(--ink-3); }
.doc__sum { margin: var(--s-3) 0 0; }
.doc__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: auto 0 0; padding-top: var(--s-4); }
.doc__size { font-weight: 500; opacity: 0.75; margin-left: 0.35em; }
.doc__size::before { content: "· "; }
@media (max-width: 520px) {
	.doc__inner { grid-template-columns: 1fr; }
	.doc__cover { width: 5rem; }
}

/* ---------------------------------------------------------------- Case studies */
.work__links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-3) 0 0; }
.work__links .work__link { margin: 0; }
.work__link--cs { font-weight: 700; color: var(--green-deep); }

.cs-cards { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
@media (min-width: 760px) { .cs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cs-card article { position: relative; height: 100%; display: flex; flex-direction: column; padding: var(--s-6); border: 1.5px solid var(--ink); border-radius: 1.5rem; background: var(--lime-tint); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.cs-card--gold article { background: var(--gold-tint); }
.cs-card--teal article { background: #E1F3EE; }
.cs-card--soft article { background: var(--paper-2); }
.cs-card article:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--ink); }
.cs-card__meta { margin: 0 0 var(--s-2); font-size: var(--text-sm); color: var(--ink-2); }
.cs-card__title { font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.2; margin: 0; text-wrap: balance; }
.cs-card__title a { color: var(--ink); text-decoration: none; }
.cs-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cs-card__title a:focus-visible { outline: none; }
.cs-card article:has(a:focus-visible) { outline: 3px solid var(--green-deep); outline-offset: 3px; }
.cs-card__text { margin: var(--s-3) 0 var(--s-5); color: var(--ink-2); }
.cs-card__go { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; font: 700 0.95rem/1 var(--font-display); color: var(--green-deep); }
@media (prefers-reduced-motion: reduce) { .cs-card article { transition: none; } .cs-card article:hover { transform: none; } }

.cs-role-chip { margin: var(--s-4) 0 0; }
.cs__grid { display: grid; gap: var(--s-7); }
@media (min-width: 980px) { .cs__grid { grid-template-columns: minmax(0, 1fr) 19rem; align-items: start; } .cs__aside { position: sticky; top: 6.5rem; } }
.cs__body { max-width: 70ch; }
.cs__part { position: relative; padding: 0 0 var(--s-6) 4.25rem; }
.cs__part + .cs__part { padding-top: var(--s-6); border-top: 1px solid var(--line); }
.cs__num { position: absolute; left: 0; top: 0; margin: 0; width: 3rem; height: 3rem; border-radius: 0.9rem; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 800 1rem/1 var(--font-display); background: var(--lime-tint); }
.cs__part + .cs__part .cs__num { top: var(--s-6); }
.cs__part--outcome .cs__num { background: var(--lime); }
.cs__part h2 { margin: 0.55rem 0 var(--s-3); }
.cs__part p { margin: 0 0 var(--s-3); }
.cs-facts { margin: 0 0 var(--s-4); padding: var(--s-5); border: 1.5px solid var(--ink); border-radius: 1.25rem; background: #fff; display: grid; gap: var(--s-3); }
.cs-facts div { display: grid; gap: 0.1rem; }
.cs-facts dt { font: 700 0.75rem/1.2 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-deep); }
.cs-facts dd { margin: 0; font: 700 1.15rem/1.25 var(--font-display); color: var(--ink); }
@media (max-width: 560px) { .cs__part { padding-left: 0; } .cs__num { position: static; margin-bottom: var(--s-2); } .cs__part + .cs__part .cs__num { top: auto; } }

/* Name and role as the page heading (home hero, About) */
.slide__id { max-width: 52ch; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); line-height: 1.45; letter-spacing: 0; color: var(--ink-2); text-wrap: wrap; }
.slide__id > span { display: block; }
.slide__name { display: block; font-size: var(--text-lg); font-weight: 800; color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 0.15rem; }
.slide__role { display: block; font-weight: 600; }
.page-head__title--person { max-width: 22ch; }
.page-head__name { display: block; }
.page-head__role { display: block; margin-top: var(--s-4); font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink-2); max-width: 40ch; }

/* Rotating quotes: all quotes share one grid cell, so the band keeps the height of the longest and nothing below moves. */
.quote__track { display: grid; }
.quote__item {
	grid-area: 1 / 1;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out), visibility 0s linear 400ms;
}
.quote__item.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), visibility 0s;
}
.quote__item figcaption cite { font-style: italic; }
.quote__controls { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-6); }
.quote__count { margin: 0 0 0 var(--s-2); font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); color: var(--ink-2); }
.quote-band:not(.is-playing) .icon-btn--pause .when-playing { display: none; }
.quote-band:not(.is-playing) .icon-btn--pause .when-paused { display: inline; }
@media (prefers-reduced-motion: reduce) {
	.quote__item, .quote__item.is-active { transform: none; transition: opacity 1ms, visibility 0s; }
}

/* The page heading (name and role) stays in place above the hero slides. */
.hero__id-wrap {
	position: relative;
	z-index: 2;
	padding-top: clamp(1.75rem, 3vw, 2.5rem);
	padding-left: max(clamp(1.25rem, 8vw, 9rem), env(safe-area-inset-left, 0px));
}
.hero__id-wrap .slide__id { margin-bottom: 0; }
.hero .slide__inner { padding-top: clamp(1rem, 2vw, 1.5rem); min-height: clamp(28rem, calc(100svh - var(--header-h) - 6rem), 40rem); }
@media (max-width: 899px) {
	.hero__id-wrap { padding-left: max(1.25rem, env(safe-area-inset-left, 0px)); padding-top: var(--s-6); }
	.hero .slide__inner { padding-top: var(--s-6); min-height: 0; }
}
