/* =========================================================================
   Gabriella Mosby — front-end stylesheet (v3 "Sunlit")
   Cream paper ground, deep-ink bands, a sun-gold band for contact. Her own
   palette does the work: teal / coral / gold as tinted mats and pill labels,
   gold numerals on ink. Fraunces (display) + Inter (body). Offset "print"
   shadows on cards and buttons, one fade-up, a slow marquee — all of it off
   under prefers-reduced-motion.
   ========================================================================= */

/* ---------- 1. Fonts (self-hosted, OFL) ---------------------------------- */
/* ---------- 1. Fonts (self-hosted, OFL) ---------------------------------- */
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/fraunces-latin-normal.woff2") format("woff2-variations"), url("../fonts/fraunces-latin-normal.woff2") format("woff2");
	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: "Fraunces";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/fraunces-latin-italic.woff2") format("woff2-variations"), url("../fonts/fraunces-latin-italic.woff2") format("woff2");
	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: "Fraunces";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/fraunces-latin-ext-normal.woff2") format("woff2-variations"), url("../fonts/fraunces-latin-ext-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Fraunces";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/fraunces-latin-ext-italic.woff2") format("woff2-variations"), url("../fonts/fraunces-latin-ext-italic.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-normal.woff2") format("woff2");
	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: "Inter";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-italic.woff2") format("woff2-variations"), url("../fonts/inter-latin-italic.woff2") format("woff2");
	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: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-ext-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-ext-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Inter";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-ext-italic.woff2") format("woff2-variations"), url("../fonts/inter-latin-ext-italic.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 2. Tokens ---------------------------------------------------- */
:root {
	--cream: #F4EBDD;
	--paper: #FBF6EE;
	--ink: #201A17;
	--gold: #F2B544;
	--teal: #198A84;
	--coral: #E36E4D;

	--ink-2: #5B524B;                    /* secondary text — 6.5:1 on cream */
	--ink-3: #8A7F76;                    /* tertiary — decorative only */
	--ink-hover: #3B322D;
	--hair: rgba(32, 26, 23, 0.14);
	--hair-2: rgba(32, 26, 23, 0.24);
	--teal-deep: #136E69;                /* teal as text on cream — 5.2:1 */
	--coral-deep: #A8412A;               /* coral as text on cream — 4.9:1 */
	--gold-deep: #7A5410;                /* gold-family text on cream — 6.7:1 */
	--gold-mid: #A8731F;                 /* gold for large display numerals on cream — 3.3:1 */

	--tint-teal: #D7E5DD;
	--tint-coral: #F7E0D4;
	--tint-gold: #F9E8C9;
	--tint-ink: #EEE9E1;

	/* Per-project accent: set inline on cards and project pages (from the
	   Accent field), falling back to the type colour. The tint is the accent
	   mixed into paper, computed in PHP so no colour function is required. */
	--accent: var(--teal);
	--accent-tint: var(--tint-teal);
	--accent-deep: var(--teal-deep);

	--on-ink: var(--cream);
	--on-ink-2: rgba(244, 235, 221, 0.74);
	--hair-on-ink: rgba(244, 235, 221, 0.16);

	--font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	/* Type scale — labels and controls sized for touch, display sized for the room. */
	--text: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
	--text-s: 0.95rem;
	--text-xs: 0.85rem;
	--label: 0.78rem;
	--lede: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
	--h-hero: clamp(4rem, 1.5rem + 12.5vw, 13rem);
	--h-page: clamp(3.2rem, 2rem + 6vw, 7.5rem);
	--h-project: clamp(3rem, 1.8rem + 5.5vw, 7rem);
	--h-section: clamp(2.4rem, 1.6rem + 3vw, 4.5rem);
	--h-feature: clamp(2rem, 1.5rem + 2vw, 3.4rem);
	--h-card: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
	--h-card-l: clamp(1.8rem, 1.4rem + 1.4vw, 2.8rem);
	--h-small: 1.35rem;
	--numeral: clamp(5.5rem, 3rem + 10vw, 14rem);
	--numeral-s: clamp(3rem, 2rem + 4vw, 6rem);

	--wrap: 86rem;                                  /* 1376px */
	--gutter: clamp(1rem, 4vw, 3.5rem);
	--measure: 64ch;
	--section: clamp(4rem, 3rem + 5vw, 9rem);
	--section-s: clamp(2.25rem, 1.5rem + 3vw, 4.5rem);
	--section-xs: clamp(1.5rem, 1rem + 2vw, 3rem);
	--gap: clamp(1.25rem, 2.5vw, 2rem);
	--radius: 1.1rem;
	--radius-s: 0.65rem;
	--shadow: 0.45rem 0.45rem 0 var(--ink);
	--shadow-s: 0.3rem 0.3rem 0 var(--ink);
	--shadow-soft: 0 1.2rem 2.4rem -1rem rgba(32, 26, 23, 0.35);
	--shadow-print: 0 0.5rem 1.4rem -0.4rem rgba(32, 26, 23, 0.28), 0 2rem 3.5rem -1.5rem rgba(32, 26, 23, 0.35);
	--header-h: 4.75rem;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* The hidden attribute always wins, whatever display an element normally has
   (the work-index filters rely on it). */
[hidden] {
	display: none !important;
}

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

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--text);
	line-height: 1.6;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
	overflow-x: clip;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
	text-wrap: balance;
	font-variation-settings: "opsz" 144;
}

p {
	margin: 0 0 1em;
	text-wrap: pretty;
}

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

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

img {
	background: var(--tint-ink);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
	border-radius: 2px;
}

.band--gold :focus-visible {
	outline-color: var(--ink);
}

::selection {
	background: var(--gold);
	color: var(--ink);
}

/* ---------- 4. Layout & utilities --------------------------------------- */
.wrap {
	width: min(100% - 2 * var(--gutter), var(--wrap));
	margin-inline: auto;
}

.measure {
	max-width: var(--measure);
}

.section {
	padding-block: var(--section);
}

.band {
	padding-block: var(--section);
}

.band--ink {
	background: var(--ink);
	color: var(--on-ink);
}

.band--gold {
	background: var(--gold);
	color: var(--ink);
}

.band--paper {
	background: var(--paper);
}

.band--ink img {
	background: transparent;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -100%;
	z-index: 100;
	padding: 0.7em 1.1em;
	background: var(--ink);
	color: var(--cream);
	border-radius: var(--radius-s);
	text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
	top: 1rem;
}

.plain-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Eyebrow: small tracked label, optionally with a numeral. */
.eyebrow,
.label {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	margin: 0 0 1rem;
	font-family: var(--font-body);
	font-size: var(--label);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-2);
	line-height: 1.3;
}

.band--ink .eyebrow {
	color: var(--on-ink-2);
}

.eyebrow__num {
	font-family: var(--font-display);
	font-size: 1.1em;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--ink);
	font-variation-settings: "opsz" 24;
}

.band--ink .eyebrow__num {
	color: var(--gold);
}

.eyebrow .sun {
	color: var(--gold);
	width: 1.15rem;
	height: 1.15rem;
}

.lede {
	font-size: var(--lede);
	line-height: 1.5;
	color: var(--ink);
}

.lede p {
	margin-bottom: 1em;
}

.text-link {
	font-weight: 600;
	text-decoration: none;
	background-image: linear-gradient(var(--gold), var(--gold));
	background-repeat: no-repeat;
	background-size: 100% 0.12em;
	background-position: 0 100%;
	transition: background-size 180ms var(--ease);
}

.text-link:hover,
.text-link:focus-visible {
	background-size: 100% 0.35em;
}

/* Sun glyph */
.sun {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--gold);
	flex: 0 0 auto;
}

/* Oversized numerals — decorative (aria-hidden), Fraunces at its largest optical size. */
.numeral {
	display: block;
	font-family: var(--font-display);
	font-size: var(--numeral);
	font-weight: 500;
	line-height: 0.85;
	letter-spacing: -0.05em;
	color: var(--accent-deep);
	font-variation-settings: "opsz" 144;
	font-variant-numeric: lining-nums;
	pointer-events: none;
	user-select: none;
}


.numeral--s {
	font-size: var(--numeral-s);
}

/* ---------- 5. Buttons & chips ------------------------------------------ */
.button {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	min-height: 2.9rem;
	padding: 0.9em 1.6em;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: var(--ink);
	color: var(--cream);
	font-weight: 600;
	font-size: var(--text-s);
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: var(--shadow-s);
	transform: translate(0, 0);
	transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms, color 160ms;
	-webkit-tap-highlight-color: transparent;
}

.button:hover {
	transform: translate(-2px, -2px);
	box-shadow: 0.45rem 0.45rem 0 var(--gold);
}

.button:active {
	transform: translate(2px, 2px);
	box-shadow: 0 0 0 var(--ink);
	transition-duration: 60ms;
}

.button--primary {
	background: var(--ink);
	color: var(--cream);
}

.band--gold .button--primary,
.band--gold .button--primary:hover {
	box-shadow: 0.3rem 0.3rem 0 var(--cream);
}

.band--gold .button--primary:hover {
	box-shadow: 0.45rem 0.45rem 0 var(--cream);
}

.button--ghost {
	background: transparent;
	color: var(--ink);
	box-shadow: none;
}

.button--ghost:hover {
	background: var(--ink);
	color: var(--cream);
	box-shadow: 0.3rem 0.3rem 0 var(--gold);
}

.band--ink .button--ghost {
	border-color: var(--cream);
	color: var(--cream);
}

.band--ink .button--ghost:hover {
	background: var(--cream);
	color: var(--ink);
	box-shadow: 0.3rem 0.3rem 0 var(--gold);
}

.button--small {
	min-height: 2.6rem;
	padding: 0.65em 1.2em;
	font-size: var(--text-xs);
	box-shadow: none;
}

.button--small:hover {
	box-shadow: 0.25rem 0.25rem 0 var(--gold);
}

.button--large {
	min-height: 3.4rem;
	padding: 1.05em 1.9em;
	font-size: var(--text);
}

.button__arrow {
	display: inline-block;
	transition: transform 160ms var(--ease);
}

.button:hover .button__arrow {
	transform: translateX(0.25em);
}

/* Type marker: a small coloured square and a tracked small-caps label —
   editorial metadata rather than an app pill. */
.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	font-family: var(--font-body);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.3;
	color: var(--ink-2);
	max-width: 100%;
}

.chip::before {
	content: "";
	flex: 0 0 auto;
	width: 0.6em;
	height: 0.6em;
	background: currentColor;
	border-radius: 1px;
}

.chip--teal::before {
	background: var(--teal);
}

.chip--coral::before {
	background: var(--coral);
}

.chip--gold::before {
	background: var(--gold);
}

.chip--ink::before {
	background: var(--ink);
}

.band--ink .chip {
	color: var(--on-ink-2);
}

@media (max-width: 30em) {
	.chip {
		white-space: normal;
	}
}

/* ---------- 6. Section heads, paper cards, facts ------------------------ */
.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-bottom: var(--section-s);
}

.section-head__title {
	font-size: var(--h-section);
	margin: 0;
}

.section-head__eyebrow {
	margin-bottom: 0.75rem;
}

.section-head__aside {
	display: flex;
	align-items: baseline;
	gap: 1.5rem;
	margin: 0;
	padding-bottom: 0.4rem;
}

.section-head__count {
	font-family: var(--font-display);
	font-size: 1.1rem;
	color: var(--ink-2);
	font-variant-numeric: tabular-nums;
}

/* Section head with a large numeral on the right ("09"). */
.section-head--numeral {
	align-items: flex-end;
}

.section-head__figure {
	display: flex;
	align-items: flex-end;
	gap: 1.25rem;
	margin: 0;
}

.section-head__figure .numeral {
	font-size: var(--numeral-s);
	color: var(--gold-mid);
	line-height: 0.8;
}

.section-head__figure-text {
	font-family: var(--font-display);
	font-size: 1.1rem;
	color: var(--ink-2);
	padding-bottom: 0.2rem;
}

.paper {
	background: var(--paper);
	border: 1.5px solid var(--ink);
	border-radius: var(--radius);
	padding: clamp(1.25rem, 2.5vw, 2rem);
	box-shadow: var(--shadow);
}

.paper--flush {
	padding: 0;
	overflow: hidden;
}

.paper + .paper {
	margin-top: 1.75rem;
}

.paper--teal {
	background: var(--tint-teal);
}

.paper--gold {
	background: var(--tint-gold);
}

.paper--coral {
	background: var(--tint-coral);
}

.paper--soft {
	border-color: var(--hair-2);
	box-shadow: none;
}

.paper__label {
	margin-bottom: 1rem;
	color: var(--ink);
}

.paper__label + .facts__plain + .paper__label {
	margin-top: 1.5rem;
}

.facts {
	margin: 0;
}

.facts__row {
	padding: 0.9rem 0;
	border-top: 1px solid var(--hair-2);
}

.facts__row:first-child {
	border-top: 0;
	padding-top: 0;
}

.facts dt {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.25;
	margin-bottom: 0.25rem;
}

.facts dd {
	margin: 0;
	color: var(--ink-2);
	font-size: var(--text-s);
	line-height: 1.5;
}

.facts__line,
.facts__note {
	display: block;
}

.facts__note {
	margin-top: 0.3rem;
}

.facts__plain {
	margin: 0;
	font-size: var(--text);
}

/* Editorial fact table: hairline rows, label left, value right. */
.table {
	margin: 0;
	border-top: 1px solid var(--hair-2);
}

.table__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.35rem 1.5rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--hair-2);
}

.table__row dt {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--label);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-2);
	padding-top: 0.2em;
}

.table__row dd {
	margin: 0;
	line-height: 1.5;
}

@media (min-width: 40em) {
	.table__row {
		grid-template-columns: 9rem minmax(0, 1fr);
	}
}

/* ---------- 7. Prose (page content, blocks) ------------------------------ */
.prose > :first-child {
	margin-top: 0;
}

.prose > :last-child {
	margin-bottom: 0;
}

.prose--lede p {
	font-size: var(--lede);
	line-height: 1.5;
}

.prose--lede-first > p:first-child {
	font-size: var(--lede);
	line-height: 1.5;
}

.prose h2 {
	font-size: var(--h-small);
	margin-top: 2em;
}

.prose h3 {
	font-size: 1.15rem;
	margin-top: 1.6em;
}

.prose ul,
.prose ol {
	padding-left: 1.2em;
}

.prose blockquote {
	margin: 1.5em 0;
	padding: 0.5em 0 0.5em 1.25em;
	border-left: 3px solid var(--gold);
	font-family: var(--font-display);
	font-size: 1.2em;
	line-height: 1.4;
}

.prose img {
	border-radius: var(--radius-s);
}

.prose figcaption,
.wp-caption-text {
	font-size: var(--text-s);
	color: var(--ink-2);
	margin-top: 0.5rem;
}

.prose .alignwide,
.prose .alignfull {
	max-width: none;
}

.prose .wp-block-image,
.prose .wp-block-quote,
.prose .wp-block-separator,
.prose .wp-block-buttons,
.prose .wp-block-columns,
.prose .wp-block-group,
.prose .wp-block-list {
	margin-block: 1.5em;
}

.prose .wp-block-image img {
	height: auto;
}

.prose .wp-block-image.aligncenter {
	text-align: center;
}

.prose .wp-block-image.aligncenter img {
	margin-inline: auto;
}

.prose .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--hair);
	max-width: 6rem;
	margin-inline: 0;
}

.prose .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.prose .wp-block-button__link {
	background: var(--ink);
	color: var(--cream);
	border-radius: 999px;
	padding: 0.85em 1.4em;
	text-decoration: none;
	font-weight: 600;
}

.prose .wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap);
}

.prose .wp-block-column {
	flex: 1 1 18rem;
	min-width: 0;
}

.has-text-align-center {
	text-align: center;
}

.has-text-align-right {
	text-align: right;
}

.has-text-align-left {
	text-align: left;
}

/* ---------- 8. Header ---------------------------------------------------- */
.header-sentinel {
	position: absolute;
	top: 0;
	height: 1px;
	width: 1px;
	pointer-events: none;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(244, 235, 221, 0.86);
	-webkit-backdrop-filter: saturate(140%) blur(12px);
	backdrop-filter: saturate(140%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 200ms, background-color 200ms;
}

.site-header.is-stuck {
	border-bottom-color: var(--hair);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	text-decoration: none;
	color: inherit;
	min-width: 0;
}

.brand__mark {
	display: inline-flex;
	flex: 0 0 auto;
	line-height: 0;
}

.brand__mark .sun {
	width: 2.25rem;
	height: 2.25rem;
}

.brand__img {
	width: auto;
	height: 2.6rem;
	max-height: 2.6rem;
	background: transparent;
	border-radius: 0;
}

.brand__img--wide {
	height: 2.4rem;
	max-width: 15rem;
	object-fit: contain;
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	min-width: 0;
}

.brand__name {
	font-family: var(--font-display);
	font-size: 1.32rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	white-space: nowrap;
	font-variation-settings: "opsz" 48;
}

.brand__role {
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-2);
	margin-top: 0.2rem;
}

.site-nav .menu,
.site-footer__nav .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.6rem;
}

.site-nav {
	margin-left: auto;
}

.site-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.35em 0;
	font-weight: 600;
	font-size: var(--text-s);
	text-decoration: none;
}

.site-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.45em;
	height: 0.16em;
	background: var(--gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 200ms var(--ease);
}

.site-nav a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after,
.site-nav a[aria-current="page"]::after {
	transform: scaleX(1);
}

.site-header__cta {
	flex: 0 0 auto;
}

@media (max-width: 47.99em) {
	.site-header__cta {
		display: none;
	}

	.site-header .brand__role {
		display: none;
	}

	.site-header__inner {
		gap: 0.75rem;
		min-height: 4rem;
	}

	.site-header .brand {
		gap: 0.55rem;
	}

	.site-header .brand__mark .sun {
		width: 1.9rem;
		height: 1.9rem;
	}

	.site-header .brand__img {
		height: 2.1rem;
		max-height: 2.1rem;
	}

	.site-header .brand__name {
		font-size: 1.05rem;
	}

	.site-nav .menu {
		flex-wrap: nowrap;
		gap: 0 0.25rem;
	}

	.site-nav a {
		font-size: 0.9rem;
		min-height: 2.75rem;
		padding: 0.35em 0.5em;
	}

	.site-nav a::after {
		left: 0.5em;
		right: 0.5em;
	}
}

@media (max-width: 26em) {
	/* The monogram alone identifies the site; the name text would collide with the nav. */
	.site-header .brand--has-logo .brand__text {
		display: none;
	}

	.site-header .brand__img {
		height: 2.4rem;
		max-height: 2.4rem;
	}

	.site-nav a {
		padding-inline: 0.45em;
		font-size: 0.9rem;
	}
}

/* ---------- 9. Hero: the opening spread ---------------------------------- */
.hero {
	position: relative;
	padding-block: clamp(2rem, 1.5rem + 3vw, 4rem) clamp(2.5rem, 2rem + 4vw, 6rem);
	overflow: hidden;
	isolation: isolate;
}

/* A soft sun-gold glow behind the prints. */
.hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	right: -12vw;
	top: -8rem;
	width: clamp(22rem, 55vw, 60rem);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(242, 181, 68, 0.55), rgba(242, 181, 68, 0.12) 60%, rgba(242, 181, 68, 0) 72%);
	pointer-events: none;
}

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "eyebrow" "name" "stage" "text";
	gap: 1.25rem var(--gap);
	align-items: start;
}

.hero__eyebrow {
	grid-area: eyebrow;
	margin: 0;
}

.hero__name {
	grid-area: name;
	font-size: var(--h-hero);
	line-height: 0.86;
	letter-spacing: -0.04em;
	font-weight: 500;
	margin: 0;
	padding-bottom: 0.14em; /* room for the italic descender */
	font-variation-settings: "opsz" 144, "SOFT" 30;
}

.hero__word {
	display: block;
}

.hero__word:nth-child(2) {
	font-style: italic;
	font-weight: 400;
	padding-left: 0.06em;
	font-variation-settings: "opsz" 144, "SOFT" 60;
}

.hero__text {
	grid-area: text;
	max-width: 34rem;
}

.hero__support {
	font-size: var(--lede);
	line-height: 1.5;
	margin: 0 0 1.75rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.9rem 1rem;
	margin: 0 0 1.5rem;
}

.hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 0;
	font-size: var(--text-xs);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-2);
}

/* The stage: three of her prints layered like sheets on a desk. Every print
   is whole; the composition is fixed by percentages so it never clips. */
.stage {
	grid-area: stage;
	position: relative;
	aspect-ratio: 5 / 4;
	max-width: 42rem;
	margin: 0.5rem auto 1rem;
	width: 100%;
}

.print {
	position: absolute;
	display: block;
	text-decoration: none;
	color: inherit;
	transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(var(--rot, 0deg));
	transition: transform 700ms var(--ease-out);
	will-change: transform;
}

.print__frame {
	display: block;
	background: var(--paper);
	border-radius: 0.5rem;
	padding: clamp(0.35rem, 1.2vw, 0.7rem);
	box-shadow: var(--shadow-print);
	overflow: hidden;
	transition: box-shadow 400ms var(--ease);
}

.print__img {
	width: 100%;
	height: auto;
	border-radius: 0.25rem;
	background: var(--tint-ink);
}

.print__label {
	position: absolute;
	left: 0.75rem;
	bottom: -0.85rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin: 0;
	padding: 0.45em 0.9em;
	background: var(--ink);
	color: var(--cream);
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	white-space: nowrap;
	transition: transform 300ms var(--ease);
}

.print__num {
	font-family: var(--font-display);
	color: var(--gold);
}

.print--1 {
	left: 24%;
	top: 0;
	width: 50%;
	z-index: 3;
	--rot: -2.5deg;
}

.print--2 {
	left: -3%;
	top: 26%;
	width: 42%;
	z-index: 2;
	--rot: -8deg;
}

.print--3 {
	right: -2%;
	top: 44%;
	width: 42%;
	z-index: 1;
	--rot: 6deg;
}

/* Wide prints (a banner) sit lower and larger; tall ones a touch narrower. */
.print--wide.print--2,
.print--landscape.print--2 {
	width: 48%;
	top: 30%;
	left: -2%;
}

.print--wide.print--3,
.print--landscape.print--3 {
	width: 50%;
	top: 56%;
	right: -2%;
}

.print--tall.print--1,
.print--portrait.print--1 {
	width: 46%;
	left: 26%;
}

.print:hover,
.print:focus-visible {
	z-index: 4;
	--rot: 0deg;
}

.print:hover .print__frame,
.print:focus-visible .print__frame {
	box-shadow: 0 1.5rem 3rem -1rem rgba(32, 26, 23, 0.45);
}

.print:hover .print__label {
	transform: translateY(-2px);
}

/* Entrance: the name rises once; the prints settle from a slightly larger
   rotation. Images are never faded (the LCP paints immediately). */
.js .hero--enter .hero__word {
	opacity: 0;
	transform: translateY(0.35em);
	transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
}

.js .hero--enter .hero__word:nth-child(2) {
	transition-delay: 90ms;
}

.js .hero--enter .hero__text > *,
.js .hero--enter .hero__eyebrow {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 600ms var(--ease-out) 220ms, transform 700ms var(--ease-out) 220ms;
}

.js .hero--enter .hero__eyebrow {
	transition-delay: 0ms;
}

.js .hero--enter .print {
	transform: translate3d(0, 24px, 0) rotate(calc(var(--rot, 0deg) * 1.6));
}

.js .hero--enter.is-ready .hero__word,
.js .hero--enter.is-ready .hero__text > *,
.js .hero--enter.is-ready .hero__eyebrow {
	opacity: 1;
	transform: none;
}

.js .hero--enter.is-ready .print {
	transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(var(--rot, 0deg));
}

.js .hero--enter.is-ready .print--2 {
	transition-delay: 60ms;
}

.js .hero--enter.is-ready .print--3 {
	transition-delay: 120ms;
}

@media (min-width: 60em) {
	.hero {
		min-height: calc(100svh - var(--header-h));
		display: flex;
		align-items: center;
	}

	.hero__inner {
		grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
		grid-template-rows: auto auto auto;
		grid-template-areas:
			"eyebrow stage"
			"name    stage"
			"text    stage";
		align-items: center;
		column-gap: clamp(1.5rem, 4vw, 4rem);
		row-gap: 1rem;
	}

	.hero__eyebrow {
		align-self: end;
	}

	.hero__name {
		align-self: center;
		margin-bottom: 0.5rem;
		/* The name may run under the stage a little: layered, not boxed. */
		position: relative;
		z-index: 2;
		max-width: none;
	}

	.hero__text {
		align-self: start;
		max-width: 32rem;
	}

	.stage {
		aspect-ratio: 1 / 1.02;
		max-width: none;
		margin: 0;
		align-self: center;
	}
}

@media (min-width: 80em) {
	.hero__inner {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}
}

@media (min-width: 90em) {
	.hero__inner {
		grid-template-columns: minmax(0, 6.5fr) minmax(0, 5.5fr);
	}

	.stage {
		max-height: 48rem;
	}
}

@media (max-width: 59.99em) {
	.print--2 {
		left: 0;
	}

	.print--3 {
		right: 0;
	}
}

@media (max-width: 40em) {
	.hero {
		padding-top: 1.25rem;
	}

	.hero__name {
		font-size: clamp(3.4rem, 19vw, 5.5rem);
	}

	.stage {
		aspect-ratio: 1 / 1;
		max-width: 26rem;
		margin-block: 0.75rem 1.5rem;
	}

	.print--1 {
		width: 56%;
		left: 20%;
	}

	.print__label {
		font-size: 0.7rem;
		padding: 0.4em 0.75em;
		bottom: -0.7rem;
	}
}

/* ---------- 10. Marquee -------------------------------------------------- */
.marquee {
	background: var(--ink);
	color: var(--cream);
	overflow: hidden;
	padding-block: 1.15rem;
	border-block: 1px solid var(--ink);
}

.marquee__track {
	display: flex;
	width: max-content;
	animation: marquee 52s linear infinite;
}

.marquee:hover .marquee__track {
	animation-play-state: paused;
}

.marquee__group {
	display: inline-flex;
	align-items: center;
	gap: 2.25rem;
	padding-right: 2.25rem;
	white-space: nowrap;
}

.marquee__item {
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(1.3rem, 1rem + 1.1vw, 1.8rem);
	font-weight: 400;
	letter-spacing: -0.01em;
	font-variation-settings: "opsz" 48;
}

.marquee .sun {
	width: 1.1rem;
	height: 1.1rem;
}

@keyframes marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.marquee__track {
		animation: none;
		width: auto;
		flex-wrap: wrap;
	}

	.marquee__group + .marquee__group {
		display: none;
	}

	.marquee__group {
		flex-wrap: wrap;
		white-space: normal;
		gap: 0.75rem 1.5rem;
	}
}

/* ---------- 11. Project cards & grids ----------------------------------- */
.grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--gap);
	align-items: stretch;
}

.grid__cell {
	display: flex;
	grid-column: span 12;
}

.grid__cell > .card {
	flex: 1 1 auto;
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	grid-column: span 12;
	background: var(--paper);
	border: 1.5px solid var(--ink);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.card:hover,
.card:focus-within {
	transform: translate(-3px, -3px);
	box-shadow: 0.45rem 0.45rem 0 var(--accent);
}

/* The cover sits whole on the project's own tint — a print on a mat, never
   cropped. The mat has a minimum proportion and grows to fill the row, so
   cards in a row always end level (the body never stretches). */
.card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-height: 0;
	aspect-ratio: 16 / 10;
	padding: clamp(1.25rem, 8%, 3rem);
	background: var(--accent-tint);
	overflow: hidden;
}

/* A portrait print in a narrow card gets a taller mat. */
.card--m.card--portrait .card__media,
.card--m.card--tall .card__media,
.card--h.card--portrait .card__media,
.card--h.card--tall .card__media,
.card--s.card--portrait .card__media,
.card--s.card--tall .card__media {
	aspect-ratio: 4 / 5;
}

.card--s .card__media {
	aspect-ratio: 4 / 3.4;
}

.card__body {
	flex: 0 0 auto;
}

.card__img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	background: transparent;
	filter: drop-shadow(0 0.5rem 0.9rem rgba(32, 26, 23, 0.18));
	transition: transform 700ms var(--ease-out), opacity 400ms var(--ease);
}

/* Hover preview: a second piece from the project fades in over the cover. */
.card__preview {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: inherit;
	opacity: 0;
	transition: opacity 420ms var(--ease);
	pointer-events: none;
}

.card__preview .card__img {
	transform: scale(1.04);
}

.card:hover .card__img,
.card:focus-within .card__img {
	transform: scale(1.035);
}

@media (hover: hover) {
	.card:hover .card__preview,
	.card:focus-within .card__preview {
		opacity: 1;
	}

	.card:hover .card__preview .card__img {
		transform: scale(1);
	}
}

/* Big numeral on the mat corner. */
.card__numeral {
	position: absolute;
	left: 0.9rem;
	top: 0.4rem;
	z-index: 3;
	font-size: clamp(2.4rem, 1.6rem + 2.4vw, 4rem);
	line-height: 1;
	color: var(--accent-deep);
}

.card__body {
	flex: 0 0 auto;
	padding: 1.15rem 1.35rem 1.35rem;
	border-top: 1.5px solid var(--ink);
	background: var(--paper);
}

.card__meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 0.55rem;
}

.card__num {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--ink-2);
	font-variation-settings: "opsz" 24;
}

.card__title {
	font-size: var(--h-card);
	margin: 0;
	line-height: 1.1;
}

.card--l .card__title {
	font-size: var(--h-card-l);
}

.card__link {
	text-decoration: none;
	color: inherit;
}

.card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 4;
}

.card__arrow {
	display: inline-block;
	margin-left: 0.35em;
	color: var(--ink-2);
	transition: transform 220ms var(--ease), color 220ms;
}

.card:hover .card__arrow,
.card:focus-within .card__arrow {
	transform: translateX(0.3em);
	color: var(--ink);
}

.card__kicker {
	margin: 0.5rem 0 0;
	font-size: var(--text-s);
	color: var(--ink-2);
	line-height: 1.45;
}

@media (min-width: 40em) {
	.card--h,
	.card--m,
	.card--s {
		grid-column: span 6;
	}
}

@media (min-width: 64em) {
	.card--l {
		grid-column: span 7;
	}

	.card--m {
		grid-column: span 5;
	}

	.card--h {
		grid-column: span 6;
	}

	.card--s {
		grid-column: span 4;
	}
}

/* Work index: placements planned in the template (pairs, then rows of
   three), in display order — never re-flowed, so the numbering reads. */
.grid--index {
	margin-bottom: var(--section);
}

.grid--index .grid__cell {
	grid-column: span 12;
}

@media (min-width: 40em) {
	.grid--index .grid__cell {
		grid-column: span 6;
	}

	.grid--index .grid__cell--span-4:nth-last-child(1):nth-child(3n + 1) {
		grid-column: span 12;
	}
}

@media (min-width: 64em) {
	.grid--index .grid__cell--span-4 {
		grid-column: span 4;
	}

	.grid--index .grid__cell--span-5 {
		grid-column: span 5;
	}

	.grid--index .grid__cell--span-6 {
		grid-column: span 6;
	}

	.grid--index .grid__cell--span-7 {
		grid-column: span 7;
	}

	.grid--index .grid__cell--span-4:nth-last-child(1):nth-child(3n + 1) {
		grid-column: span 4;
	}
}

/* Filters (work index): pills with counts, rendered in place so nothing
   shifts when the script arrives; without JavaScript the bar is not shown. */
html:not(.js) .filters {
	display: none;
}

.filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	margin-bottom: var(--section-s);
	min-height: 3rem;
}

.filters__label {
	margin: 0;
	font-size: var(--label);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-2);
}

.filters__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.filters__button {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	min-height: 2.75rem;
	padding: 0.45em 1.1em;
	border: 1.5px solid var(--hair-2);
	border-radius: 999px;
	background: transparent;
	color: var(--ink);
	font-size: var(--text-s);
	font-weight: 600;
	cursor: pointer;
	transition: background-color 160ms, border-color 160ms, color 160ms, transform 160ms var(--ease);
}

.filters__count {
	font-family: var(--font-display);
	font-size: 0.95em;
	color: var(--ink-2);
	font-variant-numeric: tabular-nums;
}

.filters__button:hover {
	border-color: var(--ink);
	transform: translateY(-1px);
}

.filters__button.is-active {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--cream);
}

.filters__button.is-active .filters__count {
	color: var(--gold);
}

.filters__empty {
	color: var(--ink-2);
	margin: 0 0 var(--section);
}

/* ---------- 12. Home sections ------------------------------------------- */
.home-work {
	padding-top: var(--section);
	padding-bottom: var(--section);
}

.home-work .section-head {
	margin-bottom: var(--section-xs);
}

/* Features: the first projects as editorial spreads — a print on its own
   accent mat that bleeds to the page edge, an oversized numeral, the title
   and one sentence of the brief. */
.features {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--section-s);
	margin-bottom: var(--section);
}

.feature {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem var(--gap);
	align-items: center;
}

.feature__media {
	--pad: clamp(1.5rem, 6vw, 4rem);
	--bleed-l: 0px;
	--bleed-r: 0px;
	position: relative;
	display: block;
	text-decoration: none;
	color: inherit;
	border-radius: var(--radius);
	background: var(--accent-tint);
	aspect-ratio: 5 / 4;
	overflow: hidden;
	transition: box-shadow 300ms var(--ease);
}

.feature__media::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1.5px rgba(32, 26, 23, 0.12);
	pointer-events: none;
}

.feature__img {
	position: absolute;
	top: var(--pad);
	left: calc(var(--pad) + var(--bleed-l));
	width: calc(100% - 2 * var(--pad) - var(--bleed-l) - var(--bleed-r));
	height: calc(100% - 2 * var(--pad));
	object-fit: contain;
	object-position: center;
	background: transparent;
	filter: drop-shadow(0 1rem 1.6rem rgba(32, 26, 23, 0.22));
	transition: transform 900ms var(--ease-out), opacity 450ms var(--ease);
}

.feature__preview {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 450ms var(--ease);
	pointer-events: none;
}

.feature__preview .feature__img {
	transform: scale(1.05) rotate(1.5deg);
}

.feature__media:hover .feature__img,
.feature__media:focus-visible .feature__img {
	transform: scale(1.03);
}

@media (hover: hover) {
	.feature__media:hover .feature__preview,
	.feature__media:focus-visible .feature__preview {
		opacity: 1;
	}

	.feature__media:hover .feature__preview .feature__img {
		transform: scale(1) rotate(0deg);
	}
}

.feature__numeral {
	font-size: var(--numeral);
	line-height: 0.8;
	margin: 0 0 0.35rem -0.04em;
	color: var(--accent-deep);
}

.feature__text {
	position: relative;
	max-width: 34rem;
}

.feature__meta {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin: 0 0 0.75rem;
}

.feature__num {
	font-family: var(--font-display);
	font-size: 1.15rem;
	color: var(--ink-2);
}

.feature__title {
	font-size: var(--h-feature);
	line-height: 1;
	margin: 0 0 0.5rem;
}

.feature__title a {
	text-decoration: none;
}

.feature__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.feature__kicker {
	margin: 0 0 1rem;
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.25rem;
	color: var(--ink-2);
	font-variation-settings: "opsz" 48;
}

.feature__excerpt {
	margin: 0 0 1.5rem;
	color: var(--ink);
	max-width: 30rem;
}

.feature__cta {
	position: relative;
	z-index: 2;
}

@media (min-width: 48em) {
	.feature {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		grid-template-areas: "media text";
		column-gap: clamp(2rem, 5vw, 5rem);
	}

	.feature__media {
		grid-area: media;
		aspect-ratio: 4 / 3;
	}

	.feature__text {
		grid-area: text;
	}

	.feature--flip {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		grid-template-areas: "text media";
	}

	/* Mats follow the cover's proportions so a poster is never small in a wide frame. */
	.feature--tall .feature__media,
	.feature--portrait .feature__media {
		aspect-ratio: 1 / 1;
	}

	.feature--square .feature__media {
		aspect-ratio: 5 / 4;
	}
}

@media (min-width: 80em) {
	/* Selective full-bleed: the mat runs to the viewport edge on its own
	   side; the print stays aligned with the content column. */
	.feature__media {
		--bleed-l: max(var(--gutter), (100vw - var(--wrap)) / 2);
		border-radius: 0 var(--radius) var(--radius) 0;
		margin-left: calc(-1 * var(--bleed-l));
	}

	.feature--flip .feature__media {
		--bleed-l: 0px;
		--bleed-r: max(var(--gutter), (100vw - var(--wrap)) / 2);
		border-radius: var(--radius) 0 0 var(--radius);
		margin-left: 0;
		margin-right: calc(-1 * var(--bleed-r));
	}
}

/* The rest of the work: a tighter three-up grid. */
.grid--rest .card {
	grid-column: span 12;
}

@media (min-width: 40em) {
	.grid--rest .card {
		grid-column: span 6;
	}
}

@media (min-width: 64em) {
	.grid--rest .card {
		grid-column: span 4;
	}
}

.home-work__more {
	display: flex;
	justify-content: center;
	margin-top: var(--section-s);
}

/* Capabilities band */
.caps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	border-top: 1px solid var(--hair-on-ink);
}

.caps__item {
	position: relative;
	display: grid;
	grid-template-columns: 4.25rem minmax(0, 1fr);
	gap: 0 1rem;
	padding: 1.6rem 0;
	border-bottom: 1px solid var(--hair-on-ink);
}

.caps__num {
	font-family: var(--font-display);
	font-size: 2.2rem;
	font-weight: 500;
	color: var(--gold);
	line-height: 0.9;
	font-variation-settings: "opsz" 144;
	letter-spacing: -0.03em;
}

.caps__name {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
	margin: 0 0 0.4rem;
	color: var(--cream);
}

.caps__evidence {
	grid-column: 2;
	margin: 0;
	color: var(--on-ink-2);
	font-size: var(--text-s);
	line-height: 1.55;
}

.caps__evidence a {
	color: var(--cream);
	text-decoration: none;
	background-image: linear-gradient(var(--gold), var(--gold));
	background-repeat: no-repeat;
	background-size: 100% 0.1em;
	background-position: 0 100%;
	transition: background-size 180ms var(--ease);
}

.caps__evidence a:hover,
.caps__evidence a:focus-visible {
	background-size: 100% 0.3em;
	color: var(--ink);
}

@media (min-width: 48em) {
	.caps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: var(--section-s);
	}

	.caps__item {
		padding: 2.25rem 0;
	}
}

@media (min-width: 64em) {
	.caps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* About (home): on paper, her own statement leads. */
.home-about {
	background: var(--paper);
}

.home-about__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--section-s) var(--gap);
	align-items: start;
}

.home-about__mark {
	width: clamp(5rem, 12vw, 9rem);
}

.home-about__mark .sun {
	width: 100%;
	height: auto;
}

.home-about__logo {
	width: 100%;
	height: auto;
	background: transparent;
}

.home-about__text .section-head {
	margin-bottom: 1.25rem;
}

.home-about__statement {
	margin: 0 0 1.5rem;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.6rem);
	line-height: 1.2;
	letter-spacing: -0.015em;
	max-width: 22em;
	font-variation-settings: "opsz" 72, "SOFT" 40;
	text-wrap: balance;
}

.home-about__statement::before {
	content: "“";
	color: var(--coral-deep);
}

.home-about__statement::after {
	content: "”";
	color: var(--coral-deep);
}

.home-about__intro {
	margin-bottom: 1.75rem;
	max-width: 36rem;
}

.home-about__education {
	max-width: 30rem;
}

@media (min-width: 60em) {
	.home-about__inner {
		grid-template-columns: 9rem minmax(0, 1.6fr) minmax(0, 1fr);
		column-gap: var(--section-s);
	}

	.home-about__education {
		justify-self: end;
		width: 100%;
		margin-top: 0.5rem;
	}
}

/* Contact band */
.home-contact__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--section-s) var(--gap);
	align-items: end;
}

.home-contact__title {
	font-size: var(--h-page);
	letter-spacing: -0.03em;
	line-height: 0.95;
	max-width: 8em;
	margin-bottom: 1.25rem;
}

.home-contact .lede {
	margin-bottom: 0;
}

.home-contact .eyebrow {
	color: var(--ink);
}

.home-contact__action {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}

.home-contact__action .button {
	max-width: 100%;
	white-space: normal;
	word-break: break-word;
}

.home-contact__note {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-weight: 600;
	font-size: var(--text-s);
}

.home-contact__note .sun {
	color: var(--ink);
}

@media (min-width: 60em) {
	.home-contact__inner {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	}

	.home-contact__action {
		justify-self: end;
		align-items: flex-end;
		text-align: right;
	}
}

/* ---------- 13. Page heads ---------------------------------------------- */
.page-head {
	padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) var(--section-s);
}

.page-head__eyebrow {
	margin-bottom: 1rem;
}

.page-head__title {
	font-size: var(--h-page);
	letter-spacing: -0.035em;
	line-height: 0.92;
	margin-bottom: 0.35em;
}

.page-head__intro {
	margin-top: 1.25rem;
}

.page-head__intro p:last-child {
	margin-bottom: 0;
}

.page-head--work {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem var(--section-s);
	align-items: end;
}

.page-head__numeral {
	font-size: var(--numeral);
	color: var(--gold-mid);
	line-height: 0.8;
}

@media (min-width: 48em) {
	.page-head--work {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.page-head__numeral {
		justify-self: end;
	}
}

/* ---------- 14. Project page -------------------------------------------- */
.project {
	--accent: var(--teal);
	--accent-tint: var(--tint-teal);
}

.project--coral {
	--accent: var(--coral);
	--accent-tint: var(--tint-coral);
	--accent-deep: var(--coral-deep);
}

.project--gold {
	--accent: var(--gold);
	--accent-tint: var(--tint-gold);
	--accent-deep: var(--gold-deep);
}

/* The cover spread: a full-bleed band in the project's tint. */
.project__cover {
	position: relative;
	background: var(--accent-tint);
	padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(2.5rem, 2rem + 4vw, 5rem);
	overflow: hidden;
	isolation: isolate;
}

.project__cover-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "head" "piece" "facts";
	gap: 1.5rem var(--gap);
	align-items: start;
}

.project__head {
	grid-area: head;
	position: relative;
	z-index: 2;
}

.back-link {
	margin-bottom: 1.5rem;
	font-size: var(--text-s);
}

.project__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin: 0 0 1rem;
}

.folio {
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 500;
	color: var(--ink);
	font-variation-settings: "opsz" 48;
	font-variant-numeric: tabular-nums;
}

.folio__of {
	color: var(--ink-2);
	font-size: 0.8em;
}

.project__numeral {
	font-size: var(--numeral);
	line-height: 0.8;
	margin: 0 0 0.5rem -0.04em;
	color: var(--accent-deep);
}

.project__title {
	font-size: var(--h-project);
	letter-spacing: -0.035em;
	line-height: 0.94;
	max-width: 10em;
	margin-bottom: 0.35em;
}

.project__subtitle {
	font-size: var(--lede);
	color: var(--ink-2);
	max-width: 30rem;
	margin: 0;
	font-family: var(--font-display);
	font-style: italic;
	font-variation-settings: "opsz" 48;
}

.project__piece {
	grid-area: piece;
	position: relative;
	z-index: 1;
}

.project__facts {
	grid-area: facts;
	margin: 0;
}

.project__facts .table__row dt {
	color: var(--ink-2);
}

@media (min-width: 60em) {
	.project__cover:not(.project__cover--none) {
		min-height: calc(100svh - var(--header-h));
		display: flex;
		align-items: center;
	}

	.project__cover-inner {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		grid-template-areas:
			"head  piece"
			"facts piece";
		column-gap: clamp(2rem, 5vw, 5rem);
		align-items: center;
	}

	.project__head {
		align-self: end;
	}

	.project__facts {
		align-self: start;
		max-width: 30rem;
	}

	/* A landscape opening piece runs the full width under the title. */
	.project__cover--landscape .project__cover-inner,
	.project__cover--wide .project__cover-inner {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		grid-template-areas:
			"head  facts"
			"piece piece";
		align-items: end;
	}

	.project__cover--landscape .project__facts,
	.project__cover--wide .project__facts {
		max-width: 26rem;
		justify-self: end;
		align-self: end;
	}
}

/* The opening piece: whole, on a paper sheet, as large as the room allows. */
.project__piece .work {
	margin: 0;
}

.project__piece .figure__link {
	padding: clamp(0.6rem, 1.5vw, 1.1rem);
	border-color: rgba(32, 26, 23, 0.18);
	box-shadow: var(--shadow-print);
}

.project__piece .figure__link:hover,
.project__piece .figure__link:focus-visible {
	transform: translate(0, -4px);
	box-shadow: 0 1.5rem 3rem -1rem rgba(32, 26, 23, 0.45);
}

.project__piece .figure--tall,
.project__piece .figure--portrait {
	max-width: min(100%, 34rem);
	margin-inline: auto;
}

.project__piece .figure--square {
	max-width: min(100%, 40rem);
	margin-inline: auto;
}

.project__piece .figure--landscape,
.project__piece .figure--wide {
	max-width: none;
}

@media (min-width: 60em) {
	.project__piece .figure--tall,
	.project__piece .figure--portrait {
		max-width: min(100%, 44rem);
	}

	.project__piece .figure--tall .figure__img,
	.project__piece .figure--portrait .figure__img {
		max-height: calc(100svh - var(--header-h) - 8rem);
		width: auto;
		margin-inline: auto;
	}

	.project__piece .figure--square {
		max-width: min(100%, 46rem);
	}

	.project__piece .figure--landscape .figure__img,
	.project__piece .figure--wide .figure__img {
		max-height: calc(100svh - var(--header-h) - 14rem);
		width: auto;
		margin-inline: auto;
	}
}

/* Several opening pieces side by side (a pair). */
.project__piece .work--pair .work__list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
}

.project__piece .work--pair .figure {
	max-width: none;
}

/* Legacy facts strip (kept for the collections' flat flow). */
.facts-strip {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem var(--gap);
	margin: 0 0 var(--section-s);
	padding: clamp(1.25rem, 2.5vw, 2rem);
	border-radius: var(--radius);
	background: var(--accent-tint);
}

.facts-strip__item {
	min-width: 0;
}

.facts-strip dt {
	margin-bottom: 0.5rem;
	color: var(--ink);
}

.facts-strip dd {
	margin: 0;
	font-size: var(--text-s);
	line-height: 1.5;
}

@media (min-width: 48em) {
	.facts-strip {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.project__body {
	padding-top: var(--section-s);
}

.disclosure {
	position: relative;
	max-width: 48rem;
	margin: 0 0 var(--section-s);
	padding: 1.35rem 1.6rem 1.35rem 1.85rem;
	background: var(--paper);
	border: 1.5px solid var(--ink);
	border-left: 0.5rem solid var(--coral);
	border-radius: var(--radius-s);
}

.disclosure__label {
	margin-bottom: 0.5rem;
	color: var(--coral-deep);
}

.disclosure__text {
	margin: 0;
	line-height: 1.55;
}

.disclosure__lead {
	display: block;
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 0.35rem;
}

.disclosure__rest {
	color: var(--ink);
}

/* Narrative: chapter labels in a left column, measured copy on the right. */
.project__narrative {
	margin-bottom: var(--section-s);
}

.chapter {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem var(--section-s);
	padding-block: var(--section-xs);
	border-top: 1px solid var(--hair-2);
}

.chapter:first-child {
	border-top: 0;
	padding-top: 0;
}

.chapter__label {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
}

.chapter__num {
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 500;
	color: var(--accent-deep, var(--ink));
	line-height: 1;
	letter-spacing: -0.02em;
	font-variation-settings: "opsz" 48;
}

.chapter__name {
	margin: 0;
}

.chapter__body {
	max-width: var(--measure);
}

.chapter--lede .chapter__body {
	max-width: 36em;
}

@media (min-width: 48em) {
	.chapter {
		grid-template-columns: minmax(10rem, 3fr) minmax(0, 9fr);
	}

	.chapter__label {
		position: sticky;
		top: calc(var(--header-h) + 1rem);
	}
}

/* Palette sampled from the artwork. */
.palette {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}

.palette__swatch {
	flex: 1 1 3rem;
	min-width: 3rem;
	max-width: 8rem;
	aspect-ratio: 1 / 1;
	border-radius: var(--radius-s);
	border: 1px solid rgba(32, 26, 23, 0.14);
	display: flex;
	align-items: flex-end;
	padding: 0.5rem;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--ink);
}

.palette__hex {
	background: rgba(32, 26, 23, 0.66);
	color: var(--cream);
	padding: 0.15em 0.4em;
	border-radius: 0.25rem;
	font-variant-numeric: tabular-nums;
}

.palette__note {
	margin: 0.6rem 0 0;
	font-size: var(--text-xs);
	color: var(--ink-2);
}

.project__section + .project__section {
	margin-top: 2rem;
}

.project__h2 {
	margin-bottom: 1rem;
}

/* The work */
.work {
	margin-block: 0 var(--section);
}

.work__label {
	margin-bottom: 1.25rem;
}

.figure__index {
	margin-right: 0.6em;
	color: var(--ink-2);
	font-variation-settings: "opsz" 24;
}

.work__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--section-s);
}

.figure {
	min-width: 0;
	margin: 0;
}

.figure__heading {
	font-size: var(--h-card);
	margin: 0 0 1rem;
}

.figure__link {
	display: block;
	text-decoration: none;
	line-height: 0;
	background: var(--paper);
	border: 1px solid rgba(32, 26, 23, 0.16);
	border-radius: var(--radius);
	padding: clamp(0.6rem, 1.5vw, 1.25rem);
	box-shadow: 0 0.35rem 1rem -0.5rem rgba(32, 26, 23, 0.25);
	transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms;
}

.figure__link:hover,
.figure__link:focus-visible {
	transform: translate(0, -4px);
	border-color: var(--ink);
	box-shadow: var(--shadow-soft);
}

.figure__img {
	width: 100%;
	height: auto;
	border-radius: calc(var(--radius) - 0.5rem);
}

.figure__text {
	margin: 1rem 0 0;
	color: var(--ink-2);
	max-width: var(--measure);
	line-height: 1.55;
	font-size: var(--text-s);
}

.work--board .work__list {
	gap: 1.5rem;
}

@media (min-width: 48em) {
	.work--split .work__list {
		grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
		align-items: start;
	}

	.work--pair .work__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.work--studies .figure--n2 {
		max-width: 70%;
	}
}

/* The opening piece in the legacy flow: whole, never wider than it needs to be. */
.project__hero .figure--tall,
.project__hero .figure--portrait {
	max-width: 44rem;
	margin-inline: auto;
}

.project__hero .figure--square {
	max-width: 56rem;
	margin-inline: auto;
}

.project__hero .figure--landscape {
	max-width: 66rem;
	margin-inline: auto;
}

.project__hero .work--pair .figure {
	max-width: none;
}

/* Sections: a numbered heading, a note and a grid of whole pieces. Every
   second section sits on a paper band that runs edge to edge. */
.project__sections {
	display: flow-root;
}

.work--grid {
	margin: 0;
	padding-block: var(--section-s);
}

.work--grid:first-child {
	padding-top: var(--section-xs);
}

.project__sections .work--grid:nth-child(even) {
	background: var(--paper);
	box-shadow: 0 0 0 100vmax var(--paper);
	clip-path: inset(0 -100vmax);
}

.project__sections .work--grid:nth-child(even) .figure__link {
	background: var(--cream);
}

.project__sections .work--grid:last-child {
	margin-bottom: 0;
}

.work__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.5rem var(--section);
	align-items: end;
	margin-bottom: 1.75rem;
}

.work__title {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	font-size: var(--h-section);
	margin: 0;
	letter-spacing: -0.03em;
}

.work__ordinal {
	font-size: 0.5em;
	color: var(--accent-deep);
	font-variation-settings: "opsz" 48;
	letter-spacing: 0;
}

.work__text {
	margin: 0;
	max-width: var(--measure);
	color: var(--ink-2);
	line-height: 1.55;
	font-size: var(--text-s);
}

.work--grid .work__list {
	gap: var(--gap);
	align-items: start;
}

.work--grid .figure__link {
	padding: clamp(0.5rem, 1.2vw, 0.9rem);
}

.figure__heading--s {
	font-size: var(--h-small);
	margin-bottom: 0.7rem;
}

.work--grid .figure__text {
	margin-top: 0.7rem;
}

/* Equal mats for a section of mixed proportions: the piece is centred whole. */
.work--frame-square .figure__link,
.work--frame-portrait .figure__link,
.work--frame-landscape .figure__link {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
}

.work--frame-portrait .figure__link {
	aspect-ratio: 3 / 4;
}

.work--frame-landscape .figure__link {
	aspect-ratio: 4 / 3;
}

.work--frame-square .figure__img,
.work--frame-portrait .figure__img,
.work--frame-landscape .figure__img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* A very wide piece (a banner, a lockup) takes the whole row. */
.work--grid .figure--wide {
	grid-column: 1 / -1;
}

.work--cols-1 .figure--tall,
.work--cols-1 .figure--portrait {
	max-width: 30rem;
}

.work--cols-1 .figure--square {
	max-width: 44rem;
}

@media (min-width: 40em) {
	.work--cols-2 .work__list,
	.work--cols-3 .work__list,
	.work--cols-4 .work__list,
	.work--cols-5 .work__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.work__head {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	}
}

@media (min-width: 60em) {
	.work--cols-3 .work__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.work--cols-4 .work__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.work--cols-5 .work__list {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.work--cols-4 .figure__link,
	.work--cols-5 .figure__link {
		padding: 0.5rem;
		border-radius: var(--radius-s);
	}

	.work--cols-4 .figure__img,
	.work--cols-5 .figure__img {
		border-radius: calc(var(--radius-s) - 0.3rem);
	}
}

/* Beside: copy (with disclosure) left, one portrait image right. */
.project__beside {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--section-s) var(--section);
	align-items: start;
	margin-bottom: var(--section);
}

.project__beside .project__narrative,
.project__beside .work {
	margin-bottom: 0;
}

.project__beside-media .figure {
	max-width: 42rem;
	margin-inline: auto;
}

@media (min-width: 48em) {
	.project__beside {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	}

	.project__beside-media {
		position: sticky;
		top: calc(var(--header-h) + 1.5rem);
	}
}

/* Details */
.details {
	margin-bottom: var(--section);
}

.section-head--tight {
	margin-bottom: 1.25rem;
}

.details__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--gap);
}

.detail {
	margin: 0;
	min-width: 0;
}

.detail__link {
	display: block;
	line-height: 0;
	border: 1.5px solid var(--ink);
	border-radius: var(--radius-s);
	overflow: hidden;
	background: var(--paper);
	transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}

.detail__link:hover,
.detail__link:focus-visible {
	transform: translate(-3px, -3px);
	box-shadow: var(--shadow-s);
}

.detail__img {
	width: 100%;
	height: auto;
}

.detail__caption {
	margin-top: 0.85rem;
	font-size: var(--text-s);
	line-height: 1.5;
	color: var(--ink-2);
}

.detail__heading {
	display: block;
	color: var(--ink);
	font-weight: 600;
	margin-bottom: 0.15rem;
}

@media (min-width: 40em) {
	.details__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.project__content {
	margin-block: var(--section-s) var(--section);
}

/* Next project: a full-width bridge in the next project's tint. */
.bridge {
	position: relative;
	background: var(--accent-tint);
	padding-block: var(--section-s) var(--section);
	margin-top: var(--section-s);
	overflow: hidden;
}

.bridge__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem var(--gap);
	align-items: center;
}

.bridge__text {
	position: relative;
}

.bridge__eyebrow {
	margin-bottom: 0.75rem;
}

.bridge__numeral {
	font-size: var(--numeral);
	line-height: 0.8;
	margin: 0 0 0.25rem -0.04em;
	color: var(--accent-deep);
}

.bridge__title {
	font-family: var(--font-display);
	font-weight: 500;
	font-variation-settings: "opsz" 144;
	font-size: var(--h-project);
	letter-spacing: -0.035em;
	line-height: 0.94;
	margin: 0 0 0.5rem;
	max-width: 10em;
}

.bridge__title a {
	text-decoration: none;
}

.bridge__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.bridge__kicker {
	margin: 0 0 1.5rem;
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.25rem;
	color: var(--ink-2);
}

.bridge__links {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	margin: 0;
	font-size: var(--text-s);
}

.bridge__media {
	position: relative;
}

.bridge__media .figure__link {
	border-color: rgba(32, 26, 23, 0.16);
	box-shadow: var(--shadow-print);
	transform: rotate(-1.5deg);
}

.bridge__media:hover .figure__link {
	transform: rotate(0deg) translateY(-4px);
}

.bridge__media .figure--tall,
.bridge__media .figure--portrait {
	max-width: 22rem;
	margin-inline: auto;
}

.bridge__media .figure--square {
	max-width: 28rem;
	margin-inline: auto;
}

.bridge__media .figure--landscape,
.bridge__media .figure--wide {
	max-width: 36rem;
	margin-inline: auto;
}

@media (min-width: 48em) {
	.bridge__inner {
		grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
		column-gap: clamp(2rem, 5vw, 5rem);
	}

	.bridge__media {
		justify-self: end;
		width: 100%;
	}
}

/* Previous / next (legacy card nav — kept for pages without a bridge). */
.project-nav {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--gap);
	padding-block: var(--section-s) var(--section);
	border-top: 1px solid var(--hair);
}

.project-nav__slot {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
}

.project-nav__slot .card {
	align-self: stretch;
}

.project-nav__label {
	margin-bottom: 0.75rem;
}

.project-nav .card {
	grid-column: auto;
}

.project-nav .card__media {
	aspect-ratio: 16 / 10;
}

@media (min-width: 40em) {
	.project-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.project-nav__slot--next {
		align-items: stretch;
	}
}

/* ---------- 15. About, contact, 404, blog ------------------------------- */
.about {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--section-s) var(--section);
	align-items: start;
	padding-bottom: var(--section-s);
}

.about__portrait {
	max-width: 28rem;
	margin-bottom: var(--section-s);
}

.about__mark {
	width: clamp(5rem, 10vw, 7rem);
	margin-bottom: 2rem;
}

.about__mark-img {
	background: transparent;
}

.about__content {
	margin-bottom: 2rem;
}

.about__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem 1rem;
	margin: 0;
}

.about__facts .paper {
	box-shadow: none;
	border-color: rgba(32, 26, 23, 0.2);
}

.about__facts .paper + .paper {
	margin-top: 1.25rem;
}

@media (min-width: 60em) {
	.about {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	}

	.about__facts {
		position: sticky;
		top: calc(var(--header-h) + 1.5rem);
	}
}

.contact-band {
	margin-bottom: 0;
}

.contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--section-s) var(--section);
	align-items: start;
}

@media (min-width: 60em) {
	.contact {
		grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	}

	.contact__details {
		justify-self: end;
		width: 100%;
	}
}

.contact__headline {
	font-family: var(--font-display);
	font-size: var(--h-page);
	line-height: 0.95;
	letter-spacing: -0.03em;
	max-width: 8em;
	margin-bottom: 1.25rem;
	text-wrap: balance;
}

.contact__action {
	margin: 2rem 0 0;
}

.contact__action .button {
	max-width: 100%;
	white-space: normal;
	word-break: break-word;
}

.contact__social {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	margin-top: 1.5rem;
}

.contact__form {
	max-width: 36rem;
}

.contact__details {
	max-width: 24rem;
	background: var(--paper);
}

.contact__details .paper__label + .facts__plain + .paper__label {
	margin-top: 1.5rem;
}

.grid--strip {
	padding-bottom: var(--section);
}

.grid--strip .card {
	grid-column: span 12;
}

@media (min-width: 40em) {
	.grid--strip .card {
		grid-column: span 4;
	}
}

.about__work .section-head {
	padding-top: var(--section-s);
	border-top: 1px solid var(--hair);
}

/* In her words — Gabriella's own statement, quoted, on a paper band. */
.words {
	padding-block: var(--section-s);
	background: var(--paper);
	box-shadow: 0 0 0 100vmax var(--paper);
	clip-path: inset(0 -100vmax);
}

.words .section-head {
	padding-top: 0;
}

.about__work {
	padding-top: var(--section-s);
}

.about__work .section-head {
	padding-top: 0;
	border-top: 0;
}

.words__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--section-s) var(--section);
	align-items: start;
}

.words__quote {
	margin: 0;
	padding: clamp(1.5rem, 2vw + 1rem, 2.75rem);
	background: var(--tint-gold);
	border: 1.5px solid var(--ink);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.words__statement {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.45rem, 1.2rem + 1.2vw, 2.2rem);
	line-height: 1.25;
	letter-spacing: -0.01em;
	font-variation-settings: "opsz" 72, "SOFT" 40;
}

.words__statement::before {
	content: "“";
	color: var(--coral-deep);
}

.words__statement::after {
	content: "”";
	color: var(--coral-deep);
}

.words__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.6rem;
	margin: 1.5rem 0 0;
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.15rem;
}

.words__dot {
	color: var(--coral-deep);
}

.words__inspirations {
	margin: 1.5rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--hair-2);
	color: var(--ink-2);
	font-size: var(--text-s);
	line-height: 1.55;
}

.words__label {
	display: block;
	margin-bottom: 0.4rem;
}

.words__principles {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem var(--gap);
	margin: 0;
}

.words__principle {
	padding-top: 1rem;
	border-top: 1px solid var(--hair);
}

.words__principle-name {
	font-family: var(--font-display);
	font-size: var(--h-small);
	font-weight: 500;
	margin: 0 0 0.4rem;
}

.words__num {
	margin-right: 0.6em;
	color: var(--coral-deep);
	font-size: 0.85em;
}

.words__principle-text {
	margin: 0;
	color: var(--ink-2);
	line-height: 1.55;
	font-size: var(--text-s);
}

@media (min-width: 48em) {
	.words__principles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 60em) {
	.words__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}

	.words__quote {
		position: sticky;
		top: calc(var(--header-h) + 1.5rem);
	}
}

.contact--with-form {
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 60em) {
	.contact--with-form {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

.entry--contact {
	padding-bottom: 0;
}

.entry__cover {
	margin-bottom: var(--section-s);
}

.entry__content {
	padding-bottom: var(--section);
}

.post-list {
	padding-bottom: var(--section);
}

.entry--post + .entry--post,
.entry--result + .entry--result {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--hair);
}

.entry__title {
	font-size: var(--h-small);
}

.entry__summary {
	max-width: var(--measure);
}

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	padding-block: var(--section-s);
	border-top: 1px solid var(--hair);
}

.post-nav a {
	text-decoration: none;
}

.post-nav__title {
	display: block;
	font-family: var(--font-display);
	font-size: var(--h-small);
}

.error-404 {
	padding-bottom: var(--section);
}

.error-404__code {
	display: block;
	width: max-content;
	max-width: 100%;
	font-family: var(--font-display);
	font-size: clamp(5rem, 16vw, 12rem);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--ink);
	background: var(--gold);
	padding: 0.05em 0.18em 0;
	border-radius: 0.12em;
	transform: rotate(-3deg);
	margin: 0.5rem 0 0.25em 0.1em;
	font-variation-settings: "opsz" 144;
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
}

.nothing-found {
	padding-bottom: var(--section);
}

.search-form {
	max-width: 30rem;
	margin-top: 1.5rem;
}

.search-form__row {
	display: flex;
	gap: 0.5rem;
}

.search-form__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.7em 0.9em;
	background: var(--paper);
	border: 1.5px solid var(--ink);
	border-radius: 999px;
	color: var(--ink);
}

.page-links {
	margin-top: 2rem;
}

.pagination {
	margin-bottom: var(--section);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
}

.pagination .page-numbers {
	padding: 0.3em 0.2em;
}

.pagination .page-numbers.current {
	border-bottom: 2px solid var(--gold);
}

.comments {
	padding-bottom: var(--section);
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-list .children {
	list-style: none;
	padding-left: 1.5rem;
}

.comment-body {
	padding: 1rem 0;
	border-top: 1px solid var(--hair);
}

.comment-form label {
	display: block;
	font-weight: 500;
	margin-bottom: 0.25rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.6em 0.8em;
	background: var(--paper);
	border: 1.5px solid var(--ink);
	border-radius: var(--radius-s);
	margin-bottom: 1rem;
}

.comment-form .submit {
	background: var(--ink);
	color: var(--cream);
	border: 1.5px solid var(--ink);
	border-radius: 999px;
	padding: 0.9em 1.5em;
	cursor: pointer;
}

/* Contact-form plugins (CF7 / WPForms) inside the paper card */
.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form input[type="tel"],
.contact__form input[type="url"],
.contact__form textarea,
.contact__form select {
	width: 100%;
	max-width: 100%;
	padding: 0.7em 0.9em;
	background: var(--cream);
	border: 1.5px solid var(--ink);
	border-radius: var(--radius-s);
	margin-bottom: 1rem;
}

.contact__form input[type="submit"],
.contact__form button[type="submit"] {
	background: var(--ink);
	color: var(--cream);
	border: 1.5px solid var(--ink);
	border-radius: 999px;
	padding: 0.9em 1.5em;
	font-weight: 600;
	cursor: pointer;
}

/* ---------- 16. Footer --------------------------------------------------- */
.site-footer {
	background: var(--ink);
	color: var(--on-ink);
	padding-block: var(--section-s) 1.5rem;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem var(--gap);
	padding-bottom: var(--section-s);
	border-bottom: 1px solid var(--hair-on-ink);
}

.brand--footer .brand__name {
	color: var(--cream);
	font-size: 1.5rem;
}

/* The monogram is ink on transparent: on the ink footer it is shown in cream. */
.brand--footer .brand__img {
	filter: brightness(0) invert(1) opacity(0.92);
}

.brand--footer .brand__role {
	color: var(--on-ink-2);
}

.site-footer__line {
	margin: 1rem 0 0;
	color: var(--on-ink-2);
	font-size: var(--text-s);
}

.site-footer__label {
	margin: 0 0 0.9rem;
	font-size: var(--label);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
}

.site-footer__nav .menu {
	flex-direction: column;
	gap: 0.5rem;
}

.site-footer__nav a,
.site-footer__social a {
	display: inline-block;
	padding-block: 0.2em;
	color: var(--cream);
	font-weight: 500;
	text-decoration: none;
	text-decoration-color: transparent;
}

.site-footer__nav a:hover,
.site-footer__social a:hover {
	text-decoration: underline;
	text-decoration-color: var(--gold);
	text-decoration-thickness: 0.12em;
}

.site-footer__email {
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem);
	color: var(--cream);
	text-decoration: none;
	background-image: linear-gradient(var(--gold), var(--gold));
	background-repeat: no-repeat;
	background-size: 100% 0.12em;
	background-position: 0 100%;
	overflow-wrap: anywhere;
}

.site-footer__email:hover {
	background-size: 100% 0.3em;
}

.site-footer__contact p {
	margin: 0;
}

.site-footer__social {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
}

.site-footer__colophon {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	padding-top: 1.25rem;
	font-size: var(--text-xs);
	color: var(--on-ink-2);
}

.site-footer__colophon p {
	margin: 0;
}

.site-footer__top {
	color: var(--cream);
	text-decoration: none;
	font-weight: 600;
}

.site-footer__top:hover {
	text-decoration: underline;
	text-decoration-color: var(--gold);
}

@media (min-width: 48em) {
	.site-footer__inner {
		grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.4fr);
	}
}

/* ---------- 17. Lightbox dialog ----------------------------------------- */
.gm-dialog {
	width: min(100vw - 2rem, 96rem);
	max-width: none;
	height: min(100vh - 2rem, 100%);
	height: min(100svh - 2rem, 100%);
	max-height: none;
	margin: auto;
	padding: 0;
	border: 0;
	background: var(--cream);
	color: var(--ink);
	display: none;
	grid-template-rows: auto minmax(0, 1fr) auto;
	border-radius: var(--radius);
}

.gm-dialog[open] {
	display: grid;
}

.gm-dialog::backdrop {
	background: rgba(32, 26, 23, 0.86);
}

.gm-dialog__bar,
.gm-dialog__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 1rem;
}

.gm-dialog__bar {
	border-bottom: 1px solid var(--hair);
}

.gm-dialog__foot {
	border-top: 1px solid var(--hair);
}

.gm-dialog__counter,
.gm-dialog__caption {
	margin: 0;
	font-size: var(--text-s);
	color: var(--ink-2);
}

.gm-dialog__caption {
	min-width: 0;
	flex: 1 1 auto;
}

.gm-dialog__button {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.75rem;
	background: transparent;
	border: 1.5px solid var(--ink);
	border-radius: 999px;
	color: var(--ink);
	padding: 0.5em 1em;
	cursor: pointer;
	font-size: var(--text-s);
	font-weight: 500;
}

.gm-dialog__button:hover {
	background: var(--ink);
	color: var(--cream);
}

.gm-dialog__button[disabled] {
	opacity: 0.4;
	cursor: default;
}

.gm-dialog__button[disabled]:hover {
	background: transparent;
	color: var(--ink);
}

.gm-dialog__stage {
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	overflow: auto;
}

.gm-dialog__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	background: transparent;
}

.gm-dialog__nav {
	display: flex;
	gap: 0.5rem;
	flex: 0 0 auto;
}

/* ---------- 18. Motion, reduced motion, print --------------------------- */
.js .reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 560ms var(--ease-out), transform 640ms var(--ease-out);
}

.js .reveal.is-in {
	opacity: 1;
	transform: none;
}

/* Staggered children inside a revealed grid. */
.js .reveal .reveal {
	transition-delay: calc(var(--i, 0) * 70ms);
}

@media (prefers-reduced-motion: reduce) {
	.js .reveal,
	.js .hero--enter .hero__word,
	.js .hero--enter .hero__text > *,
	.js .hero--enter .hero__eyebrow,
	.js .hero--enter .print {
		opacity: 1;
		transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg));
		transition: none;
	}

	.js .hero--enter .hero__word,
	.js .hero--enter .hero__text > *,
	.js .hero--enter .hero__eyebrow {
		transform: none;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.site-header,
	.site-footer__nav,
	.skip-link,
	.back-link,
	.project-nav,
	.bridge,
	.marquee,
	.hero__actions,
	.filters {
		display: none !important;
	}

	.js .reveal,
	.js .hero--enter .hero__word,
	.js .hero--enter .hero__text > *,
	.js .hero--enter .hero__eyebrow {
		opacity: 1;
		transform: none;
	}

	body {
		background: #fff;
		color: #000;
	}

	.card,
	.paper,
	.figure__link,
	.button {
		box-shadow: none !important;
	}

	a {
		text-decoration: none;
	}
}

/* ---------- 19. Release 3.3.1 fixes --------------------------------------- */

/* Between 60em and 80em the hero and the project covers switch to two columns
   while the display sizes are still fluid, so a long word could out-measure
   its column and break mid-word ("Gabriell / a", "Communit / y"). Cap the size
   to the column in that band only. "Gabriella" sets about 3.24em wide; the
   longest current title word ("Professional") about 4.43em. */
@media (min-width: 60em) and (max-width: 79.99em) {
	.hero__name {
		font-size: min(var(--h-hero), calc(14.2vw - 3px));
	}

	.project__cover:not(.project__cover--landscape):not(.project__cover--wide) .project__title {
		font-size: min(var(--h-project), calc(8.1vw - 2px));
	}
}

/* The name is the largest text on the page: paint it immediately and keep only
   the rise, so the entrance never delays first paint. */
.js .hero--enter .hero__word {
	opacity: 1;
}

/* Focus ring contrast (WCAG 1.4.11): the gold ring measured 1.0-1.7:1 on cream,
   paper, the project tints and the gold band, so it was invisible on the
   contact buttons. Ink reads 9.4-16:1 on every light ground; gold stays on the
   ink grounds, where it reads 9.4:1. */
:focus-visible {
	outline-color: var(--ink);
}

.band--ink :focus-visible,
.site-footer :focus-visible {
	outline-color: var(--gold);
}
