/*
Theme Name: The Fuad
Theme URI: https://thefuad.com
Author: Fu'ad Lawal and OpenAI Codex
Description: A custom minimalist portfolio and case-study theme for thefuad.com.
Version: 0.1.39
Text Domain: thefuad
*/

:root {
	--bg: #050505;
	--panel: rgba(255, 255, 255, 0.04);
	--panel-strong: rgba(255, 255, 255, 0.08);
	--panel-solid: #101010;
	--subscribe-surface: #172132;
	--subscribe-surface-border: rgba(244, 239, 230, 0.1);
	--subscribe-surface-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
	--text: #f4efe6;
	--text-muted: rgba(244, 239, 230, 0.64);
	--text-body: rgba(244, 239, 230, 0.84);
	--text-faint: rgba(244, 239, 230, 0.36);
	--line: rgba(244, 239, 230, 0.12);
	--line-soft: rgba(244, 239, 230, 0.08);
	--accent: #d9bf8f;
	--accent-soft: rgba(217, 191, 143, 0.16);
	--accent-soft-strong: rgba(217, 191, 143, 0.24);
	--accent-line: rgba(217, 191, 143, 0.45);
	--shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
	--radius: 22px;
	--content-width: 760px;
	--font-body: "Avenir Next", "Segoe UI", sans-serif;
	--font-display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--bg-top: #060606;
	--bg-mid: #050505;
	--bg-bottom: #080808;
	--glow-a: rgba(217, 191, 143, 0.09);
	--glow-b: rgba(112, 84, 54, 0.18);
	--overlay-bg: rgba(4, 4, 4, 0.96);
	--chip-bg: rgba(255, 255, 255, 0.04);
	--chip-border-hover: rgba(217, 191, 143, 0.35);
	--portrait-highlight: rgba(217, 191, 143, 0.9);
	--portrait-fill: rgba(217, 191, 143, 0.18);
	--portrait-wash: rgba(217, 191, 143, 0.22);
	--portrait-panel: rgba(255, 255, 255, 0.04);
	--portrait-ring: rgba(217, 191, 143, 0.28);
}

:root[data-theme="light"] {
	--bg: #f7efdf;
	--panel: rgba(97, 71, 34, 0.04);
	--panel-strong: rgba(97, 71, 34, 0.08);
	--panel-solid: #fffaf1;
	--subscribe-surface: #172132;
	--subscribe-surface-border: rgba(23, 33, 50, 0.18);
	--subscribe-surface-shadow: 0 18px 34px rgba(23, 33, 50, 0.12);
	--text: #23180e;
	--text-muted: rgba(35, 24, 14, 0.68);
	--text-body: rgba(35, 24, 14, 0.84);
	--text-faint: rgba(35, 24, 14, 0.38);
	--line: rgba(97, 71, 34, 0.14);
	--line-soft: rgba(97, 71, 34, 0.09);
	--accent: #9b692d;
	--accent-soft: rgba(155, 105, 45, 0.1);
	--accent-soft-strong: rgba(155, 105, 45, 0.16);
	--accent-line: rgba(155, 105, 45, 0.28);
	--shadow: 0 22px 48px rgba(97, 71, 34, 0.08);
	--bg-top: #fcf8f0;
	--bg-mid: #f7efdf;
	--bg-bottom: #f1e6d1;
	--glow-a: rgba(214, 183, 122, 0.08);
	--glow-b: rgba(143, 106, 54, 0.035);
	--overlay-bg: rgba(252, 247, 238, 0.96);
	--chip-bg: rgba(255, 251, 244, 0.92);
	--chip-border-hover: rgba(155, 105, 45, 0.22);
	--portrait-highlight: rgba(181, 132, 65, 0.64);
	--portrait-fill: rgba(181, 132, 65, 0.11);
	--portrait-wash: rgba(181, 132, 65, 0.14);
	--portrait-panel: rgba(255, 252, 247, 0.94);
	--portrait-ring: rgba(155, 105, 45, 0.14);
}

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

html {
	scroll-behavior: smooth;
	color-scheme: dark;
}

html[data-theme="light"] {
	color-scheme: light;
}

body {
	margin: 0;
	min-height: 100vh;
	background:
		radial-gradient(circle at top right, var(--glow-a), transparent 28%),
		radial-gradient(circle at bottom left, var(--glow-b), transparent 30%),
		linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 50%, var(--bg-bottom) 100%);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.72;
	transition: background 220ms ease, color 220ms ease;
}

html[data-theme="light"] body {
	background:
		radial-gradient(circle at top right, rgba(214, 183, 122, 0.08), transparent 30%),
		radial-gradient(circle at bottom left, rgba(143, 106, 54, 0.035), transparent 32%),
		linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 52%, var(--bg-bottom) 100%);
	color: var(--text);
}

body.menu-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--accent);
}

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

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.site-shell {
	position: relative;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	padding: 1.15rem 1.25rem 0;
}

html[data-theme="light"] .site-header {
	background: linear-gradient(180deg, rgba(252, 248, 240, 0.92) 0%, rgba(252, 248, 240, 0.76) 62%, rgba(252, 248, 240, 0) 100%);
	backdrop-filter: blur(10px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 0.95rem;
	justify-content: flex-start;
	width: 100%;
	max-width: none;
	margin: 0;
}

.site-header__actions {
	margin-left: auto;
	display: flex;
	align-items: center;
}

.site-header__context {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-width: 0;
	max-width: 100%;
	color: var(--text-muted);
	font-size: 0.96rem;
	white-space: nowrap;
}

.site-header__brand {
	color: var(--text);
	overflow: hidden;
	text-overflow: ellipsis;
}

.site-header__brand:hover {
	color: var(--accent);
}

.site-header__divider {
	color: var(--text-faint);
}

.site-header__current {
	color: var(--text);
	overflow: hidden;
	text-overflow: ellipsis;
}

.menu-toggle,
.menu-close {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--text);
	cursor: pointer;
	font: inherit;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 0.78rem;
	border-radius: 999px;
	background: var(--chip-bg);
	border: 1px solid transparent;
	backdrop-filter: blur(16px);
}

.menu-toggle:hover,
.menu-close:hover {
	color: var(--accent);
}

.menu-toggle__glyph {
	display: inline-flex;
	flex-direction: column;
	gap: 0.2rem;
	width: 0.9rem;
}

.menu-toggle__glyph span {
	display: block;
	width: 100%;
	height: 1.5px;
	border-radius: 999px;
	background: currentColor;
}

.menu-toggle__glyph span:nth-child(2) {
	width: 0.72rem;
}

.menu-toggle__glyph span:nth-child(3) {
	width: 0.56rem;
}

.menu-close__glyph {
	font-size: 0.92rem;
	line-height: 1;
}

.overlay-menu {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: grid;
	padding: 1.5rem;
	background: var(--overlay-bg);
	backdrop-filter: blur(14px);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-14px);
	transition: opacity 220ms ease, transform 220ms ease;
}

.theme-toggle {
	appearance: none;
	border: 1px solid transparent;
	background: var(--chip-bg);
	color: var(--text);
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.45rem 0.45rem 0.45rem 0.55rem;
	cursor: pointer;
	font: inherit;
	backdrop-filter: blur(16px);
	transition: border-color 220ms ease, background-color 220ms ease, color 220ms ease;
}

.theme-toggle:hover {
	border-color: var(--chip-border-hover);
	color: var(--accent);
}

.theme-toggle__icon-wrap {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 1.2rem;
	height: 1.2rem;
	flex: 0 0 auto;
}

.theme-toggle__icon {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 0.88rem;
	line-height: 1;
	opacity: 0;
	transform: scale(0.82);
	transition: opacity 180ms ease, transform 180ms ease;
}

.theme-toggle__icon--dark {
	opacity: 1;
	transform: scale(1);
}

.theme-toggle__track {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 2.55rem;
	height: 1.45rem;
	padding: 0.14rem;
	border-radius: 999px;
	background: var(--panel-strong);
}

html[data-theme="light"] .menu-toggle,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .social-links a {
	border-color: rgba(155, 105, 45, 0.08);
	box-shadow: 0 10px 24px rgba(97, 71, 34, 0.05);
}

html[data-theme="light"] .theme-toggle__track {
	background: rgba(155, 105, 45, 0.14);
}

.theme-toggle__thumb {
	display: block;
	width: 1.17rem;
	height: 1.17rem;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
	transform: translateX(0);
	transition: transform 220ms ease, background-color 220ms ease;
}

:root[data-theme="light"] .theme-toggle__thumb {
	transform: translateX(0.96rem);
}

:root[data-theme="light"] .theme-toggle__icon--dark {
	opacity: 0;
	transform: scale(0.82);
}

:root[data-theme="light"] .theme-toggle__icon--light {
	opacity: 1;
	transform: scale(1);
}

.overlay-menu.is-open {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.overlay-menu__inner {
	max-width: 1180px;
	width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-rows: auto 1fr;
}

.overlay-menu__top {
	display: flex;
	justify-content: flex-start;
}

.overlay-menu__grid {
	display: grid;
	grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
	gap: 3rem;
	align-items: start;
	padding-top: 2rem;
}

.overlay-menu__primary,
.overlay-menu__projects ul,
.social-links,
.writing-list,
.project-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.overlay-menu__primary li + li,
.overlay-menu__projects li + li {
	margin-top: 1rem;
}

.overlay-menu__primary a {
	font-size: clamp(1.05rem, 1.5vw, 1.35rem);
	font-family: var(--font-display);
}

.overlay-menu__projects {
	align-self: end;
	padding-bottom: 0.5rem;
}

.eyebrow {
	margin: 0 0 1rem;
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.overlay-menu__projects a {
	display: inline-flex;
	align-items: baseline;
	gap: 0.65rem;
	font-size: 0.94rem;
}

.overlay-menu__projects .context {
	color: var(--text-muted);
	font-size: 0.92rem;
}

.site-main {
	padding: 2rem 1.5rem 5rem;
}

.homepage {
	max-width: var(--content-width);
	margin: 0 auto;
}

.hero {
	padding-top: 4rem;
}

.portrait {
	width: 88px;
	height: 88px;
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: 50%;
	background:
		radial-gradient(circle at 30% 30%, var(--portrait-highlight), var(--portrait-fill) 52%, transparent 54%),
		linear-gradient(135deg, var(--portrait-wash), var(--portrait-panel));
	border: 1px solid var(--portrait-ring);
	box-shadow: var(--shadow);
}

.portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.site-title {
	margin: 1.4rem 0 0.7rem;
	font-family: var(--font-display);
	font-size: clamp(2rem, 4.25vw, 3.65rem);
	line-height: 1;
	letter-spacing: -0.04em;
}

.entry-title {
	margin: 1.4rem 0 0.7rem;
	font-family: var(--font-display);
	font-size: clamp(2.35rem, 5vw, 4.6rem);
	line-height: 0.96;
	letter-spacing: -0.04em;
}

.intro {
	max-width: 42rem;
	margin: 0;
	color: var(--text-muted);
	font-size: 1.08rem;
	line-height: 1.6;
}

.intro-read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-left: 0.55rem;
	color: var(--text-muted);
	font-size: 0.98em;
	white-space: nowrap;
	transition: color 180ms ease;
}

.intro-read-more:hover,
.intro-read-more:focus-visible {
	color: var(--accent);
}

.intro-read-more__arrow {
	font-size: 1.15em;
	line-height: 1;
	transform: translateY(-0.02em);
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 2rem;
}

.social-links li {
	display: flex;
	margin: 0;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.05rem;
	padding: 0.52rem 0.86rem;
	border-radius: 999px;
	background: var(--panel);
	border: 1px solid transparent;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1;
	white-space: nowrap;
	transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.social-links a:hover {
	border-color: var(--chip-border-hover);
}

.section-block {
	margin-top: 4.75rem;
}

.section-heading {
	margin: 0 0 0.55rem;
	font-size: 1rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.section-intro {
	margin: 0 0 1.35rem;
	color: var(--text-muted);
}

.writing-list li,
.project-list li {
	border-top: 1px solid var(--line);
}

.writing-list li:last-child,
.project-list li:last-child {
	border-bottom: 1px solid var(--line);
}

.writing-link,
.project-card {
	display: block;
	padding: 1rem 0;
}

.writing-link__top,
.project-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: center;
}

.writing-link__source,
.project-card__context,
.project-card__status {
	color: var(--text-muted);
	font-size: 0.95rem;
}

.writing-link__title,
.project-card__title {
	margin: 0.35rem 0 0;
	font-size: 1.2rem;
	line-height: 1.3;
}

.writing-link__title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.45rem;
}

.writing-link__headline {
	color: var(--text);
	font-weight: 600;
}

.writing-link__logline {
	color: var(--text-muted);
	font-size: 0.82em;
	font-weight: 400;
}

.project-card__title {
	font-family: var(--font-display);
	font-size: 1.55rem;
}

.project-card__summary {
	margin: 0.55rem 0 0;
	max-width: 42rem;
	color: var(--text-muted);
}

.external-mark {
	display: inline-block;
	margin-left: 0.25rem;
	color: var(--accent);
	font-size: 0.9em;
	line-height: 1;
	transform: translateY(-0.02em);
}

.section-action {
	display: inline-flex;
	align-items: center;
	margin-top: 1.25rem;
	color: var(--accent);
}

.section-action:hover {
	color: var(--text);
}

.archive-shell,
.single-shell,
.page-shell,
.about-page {
	max-width: 860px;
	margin: 0 auto;
	padding-top: 2.75rem;
}

.about-page {
	max-width: 1020px;
}

.content-page {
	max-width: var(--content-width);
	margin: 0 auto;
}

.work-page {
	max-width: 1240px;
	margin: 0 auto;
	padding-top: 0;
	overflow: clip;
}

.work-hero {
	position: relative;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 1rem;
	align-items: end;
	min-height: min(600px, calc(100vh - 7rem));
	padding: 5.25rem 0 3.5rem;
	border-bottom: 1px solid var(--line);
}

.work-hero__word {
	position: absolute;
	top: 1rem;
	right: -0.045em;
	color: var(--text);
	font-family: var(--font-display);
	font-size: clamp(8rem, 24vw, 20rem);
	font-weight: 700;
	line-height: 0.78;
	letter-spacing: -0.095em;
	opacity: 0.035;
	pointer-events: none;
	user-select: none;
}

.work-hero__content {
	position: relative;
	z-index: 1;
	grid-column: 1 / span 9;
}

.work-hero__content > .eyebrow {
	margin-bottom: 1.35rem;
}

.work-hero__title {
	max-width: 11ch;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(3.5rem, 6.7vw, 6.4rem);
	font-weight: 400;
	line-height: 0.88;
	letter-spacing: -0.065em;
}

.work-hero__copy {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	max-width: 50rem;
	margin-top: 1.9rem;
	color: var(--text-muted);
}

.work-hero__copy p {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.65;
}

.work-hero__links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.3rem;
	margin-top: 1.5rem;
}

.work-hero__links a {
	padding-bottom: 0.18rem;
	border-bottom: 1px solid var(--text-faint);
	color: var(--text);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.work-hero__links a:hover,
.work-hero__links a:focus-visible {
	border-color: var(--accent);
	color: var(--accent);
	transform: translateY(-2px);
}

.work-hero__threads {
	position: relative;
	z-index: 1;
	grid-column: 10 / -1;
	display: grid;
	gap: 0;
	align-self: end;
	margin-bottom: 0.1rem;
	border-top: 1px solid var(--line);
}

.work-hero__threads span {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--line);
	color: var(--text-muted);
	font-family: var(--font-display);
	font-size: 1.08rem;
}

.work-hero__threads span::after {
	content: "/";
	color: var(--text-faint);
	font-family: var(--font-body);
}

.work-selected,
.work-index,
.work-history {
	scroll-margin-top: 6rem;
	margin-top: 6.5rem;
}

.work-section-heading {
	display: grid;
	grid-template-columns: minmax(10rem, 0.34fr) minmax(0, 1fr);
	gap: 2rem;
	align-items: end;
	margin-bottom: 2.4rem;
}

.work-section-heading .eyebrow {
	margin: 0;
}

.work-section-heading__number {
	margin: 0 0 0.15rem;
	color: var(--accent);
	font-family: var(--font-display);
	font-size: 3.5rem;
	line-height: 1;
	letter-spacing: -0.06em;
}

.work-section-heading h2 {
	max-width: 13ch;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2.8rem, 5.2vw, 5.4rem);
	font-weight: 400;
	line-height: 0.94;
	letter-spacing: -0.055em;
}

.work-selected__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.work-feature {
	grid-column: span 6;
	min-width: 0;
	animation: work-rise 620ms both;
}

.work-feature:nth-child(4n + 1),
.work-feature:nth-child(4n + 4) {
	grid-column: span 7;
}

.work-feature:nth-child(4n + 2),
.work-feature:nth-child(4n + 3) {
	grid-column: span 5;
}

.work-feature:nth-child(2) {
	animation-delay: 80ms;
}

.work-feature:nth-child(3) {
	animation-delay: 160ms;
}

.work-feature:nth-child(4) {
	animation-delay: 240ms;
}

.work-feature__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 3px;
	background: var(--panel-solid);
	transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

a.work-feature__link:hover,
a.work-feature__link:focus-visible {
	border-color: var(--accent-line);
	box-shadow: 0 34px 70px rgba(0, 0, 0, 0.32);
	transform: translateY(-5px);
}

.work-feature__media {
	position: relative;
	min-height: 20rem;
	overflow: hidden;
	background: #252019;
}

.work-feature:nth-child(4n + 1) .work-feature__media,
.work-feature:nth-child(4n + 4) .work-feature__media {
	min-height: 25rem;
}

.work-feature__media img {
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
	transition: transform 700ms cubic-bezier(0.2, 0.7, 0, 1);
}

a.work-feature__link:hover .work-feature__media img,
a.work-feature__link:focus-visible .work-feature__media img {
	transform: scale(1.035);
}

.work-art {
	--cover-a: #6e2f21;
	--cover-b: #27120f;
	--cover-ink: #fff5e5;
	--cover-line: rgba(255, 245, 229, 0.3);
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-rows: auto 1fr auto;
	width: 100%;
	height: 100%;
	min-height: inherit;
	overflow: hidden;
	padding: 2rem;
	background: linear-gradient(145deg, var(--cover-a), var(--cover-b));
	color: var(--cover-ink);
}

.work-art::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 50%;
	left: 50%;
	width: 72%;
	aspect-ratio: 1;
	border: clamp(1.1rem, 4vw, 3.5rem) solid var(--cover-line);
	border-radius: 50%;
	transform: translate(-18%, -52%);
}

.work-art::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background: repeating-linear-gradient(105deg, transparent 0 2.3rem, var(--cover-line) 2.35rem 2.42rem);
	opacity: 0.38;
	transform: translateX(24%);
}

.work-art__type,
.work-art__context {
	position: relative;
	z-index: 1;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.work-art__mark {
	position: relative;
	z-index: 1;
	align-self: center;
	font-family: var(--font-display);
	font-size: clamp(5rem, 12vw, 11rem);
	font-weight: 400;
	line-height: 0.72;
	letter-spacing: -0.09em;
}

.work-art__context {
	align-self: end;
	max-width: 24ch;
	opacity: 0.78;
}

.work-art--compact {
	padding: 1.25rem;
}

.work-art--compact .work-art__mark {
	font-size: clamp(4.5rem, 8vw, 7.5rem);
}

.work-art--compact::before {
	transform: translate(-22%, -52%);
}

.work-art--tone-2 {
	--cover-a: #273f72;
	--cover-b: #101a33;
	--cover-ink: #e9efff;
	--cover-line: rgba(191, 210, 255, 0.28);
}

.work-art--tone-3 {
	--cover-a: #e0a928;
	--cover-b: #8b4f12;
	--cover-ink: #211307;
	--cover-line: rgba(33, 19, 7, 0.23);
}

.work-art--tone-4 {
	--cover-a: #2d7775;
	--cover-b: #123d45;
	--cover-ink: #e7fffa;
	--cover-line: rgba(211, 255, 247, 0.25);
}

.work-art--tone-5 {
	--cover-a: #9d3d62;
	--cover-b: #451a35;
	--cover-ink: #fff0f6;
	--cover-line: rgba(255, 217, 232, 0.27);
}

.work-art--tone-6 {
	--cover-a: #657a35;
	--cover-b: #273519;
	--cover-ink: #f5ffdc;
	--cover-line: rgba(240, 255, 206, 0.25);
}

.work-art--tone-7 {
	--cover-a: #ece5d7;
	--cover-b: #baad98;
	--cover-ink: #17130f;
	--cover-line: rgba(23, 19, 15, 0.2);
}

.work-art--tone-8 {
	--cover-a: #d44f31;
	--cover-b: #7b2218;
	--cover-ink: #fff5df;
	--cover-line: rgba(255, 238, 205, 0.28);
}

.work-feature__ordinal {
	position: absolute;
	top: 1rem;
	right: 1rem;
	display: grid;
	place-items: center;
	width: 2.7rem;
	height: 2.7rem;
	border: 1px solid rgba(255, 255, 255, 0.42);
	border-radius: 50%;
	background: rgba(5, 5, 5, 0.38);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	backdrop-filter: blur(10px);
}

.work-feature__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.35rem;
}

.work-feature__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.6rem 1rem;
	color: var(--text-muted);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.work-feature__body h3 {
	max-width: 14ch;
	margin: 1.05rem 0 0;
	font-family: var(--font-display);
	font-size: clamp(2.1rem, 3.35vw, 3.6rem);
	font-weight: 400;
	line-height: 0.93;
	letter-spacing: -0.05em;
}

.work-feature__body p {
	max-width: 38rem;
	margin: 0.85rem 0 0;
	color: var(--text-body);
	font-size: 0.98rem;
	line-height: 1.6;
}

.work-feature__action {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 1.7rem;
	color: var(--accent);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.work-feature__action span {
	font-size: 1.2rem;
	transition: transform 180ms ease;
}

a.work-feature__link:hover .work-feature__action span,
a.work-feature__link:focus-visible .work-feature__action span {
	transform: translate(3px, -3px);
}

.work-section-heading--index {
	margin-bottom: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}

.work-index__intro {
	max-width: 34rem;
	margin: 1rem 0 0;
	color: var(--text-muted);
	font-size: 1rem;
}

.work-filter {
	position: sticky;
	top: 4.6rem;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 -0.75rem 1rem;
	padding: 0.75rem;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: blur(16px);
}

.work-filter__button {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.55rem 0.75rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: var(--text-muted);
	cursor: pointer;
	font: inherit;
	font-size: 0.84rem;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.work-filter__button small {
	display: grid;
	place-items: center;
	min-width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--panel-strong);
	color: inherit;
	font-size: 0.68rem;
}

.work-filter__button:hover,
.work-filter__button:focus-visible,
.work-filter__button.is-active {
	border-color: var(--line);
	background: var(--panel);
	color: var(--text);
}

.work-filter__button.is-active {
	border-color: var(--accent-line);
}

.work-index__list {
	list-style: none;
	margin: 0;
	padding: 0;
	column-count: 3;
	column-gap: 1rem;
}

.work-index__item {
	display: inline-block;
	width: 100%;
	margin: 0 0 1rem;
	break-inside: avoid;
	vertical-align: top;
}

.work-index__item[hidden] {
	display: none;
}

.work-index__card {
	display: block;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 3px;
	background: var(--panel-solid);
	transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

a.work-index__card:hover,
a.work-index__card:focus-visible {
	border-color: var(--accent-line);
	box-shadow: 0 24px 52px rgba(0, 0, 0, 0.3);
	transform: translateY(-4px);
}

.work-index__media {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	background: #171717;
}

.work-index__item--portrait .work-index__media {
	aspect-ratio: 4 / 5;
}

.work-index__item--landscape .work-index__media {
	aspect-ratio: 16 / 10;
}

.work-index__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms cubic-bezier(0.2, 0.7, 0, 1);
}

a.work-index__card:hover .work-index__media img,
a.work-index__card:focus-visible .work-index__media img {
	transform: scale(1.04);
}

.work-index__ordinal {
	position: absolute;
	top: 0.8rem;
	right: 0.8rem;
	display: grid;
	place-items: center;
	width: 2.2rem;
	height: 2.2rem;
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 50%;
	background: rgba(5, 5, 5, 0.36);
	color: #fff;
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	backdrop-filter: blur(10px);
}

.work-index__body {
	padding: 1.15rem 1.15rem 1.2rem;
}

.work-index__meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	color: var(--text-muted);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.work-index__meta span:last-child {
	overflow: hidden;
	text-align: right;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.work-index__body h3 {
	margin: 0.95rem 0 0;
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 2.6vw, 2.7rem);
	font-weight: 400;
	line-height: 0.96;
	letter-spacing: -0.04em;
}

.work-index__body p {
	display: -webkit-box;
	margin: 0.75rem 0 0;
	overflow: hidden;
	color: var(--text-muted);
	font-size: 0.84rem;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.work-index__action {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 1.4rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--line-soft);
	color: var(--accent);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.work-index__action span {
	font-size: 1rem;
	transition: transform 180ms ease;
}

a.work-index__card:hover .work-index__action span,
a.work-index__card:focus-visible .work-index__action span {
	transform: translate(3px, -3px);
}

.work-section-heading--history {
	margin-bottom: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}

.work-history__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.work-history__item {
	border-top: 1px solid var(--line);
}

.work-history__link {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr) auto;
	gap: 0.85rem;
	align-items: start;
	min-height: 8.5rem;
	padding: 1.15rem 0.35rem 1.15rem 0;
	transition: background-color 180ms ease, color 180ms ease;
}

.work-history__link:hover,
.work-history__link:focus-visible {
	background: var(--panel);
	color: var(--text);
}

.work-history__mark {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--panel-strong);
	color: var(--accent);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.work-history__mark img {
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 0.2rem;
}

.work-history__main {
	display: grid;
	min-width: 0;
}

.work-history__main strong {
	font-family: var(--font-display);
	font-size: 1.55rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.03em;
}

.work-history__main small,
.work-history__main > span,
.work-history__period {
	color: var(--text-muted);
	font-size: 0.78rem;
	line-height: 1.4;
}

.work-history__main small {
	margin-top: 0.25rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.work-history__main > span {
	margin-top: 0.7rem;
}

.work-history__period {
	grid-column: 2;
	margin-top: 0.45rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.work-history__arrow {
	grid-column: 3;
	grid-row: 1;
	color: var(--accent);
	transition: transform 180ms ease;
}

.work-history__link:hover .work-history__arrow,
.work-history__link:focus-visible .work-history__arrow {
	transform: translate(3px, -3px);
}

.work-invitation {
	margin-top: 6.5rem;
	padding: clamp(2rem, 5vw, 4.5rem);
	border: 1px solid var(--accent-line);
	border-radius: 3px;
	background:
		radial-gradient(circle at 85% 15%, var(--accent-soft-strong), transparent 32%),
		linear-gradient(135deg, var(--panel-solid), var(--panel));
}

.work-invitation__body {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr);
	gap: clamp(2rem, 7vw, 7rem);
	align-items: end;
}

.work-invitation h2 {
	max-width: 12ch;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(3rem, 6vw, 6.5rem);
	font-weight: 400;
	line-height: 0.9;
	letter-spacing: -0.06em;
}

.work-invitation__body p {
	margin: 0 0 1.5rem;
	color: var(--text-body);
	font-size: 1rem;
	line-height: 1.65;
}

.work-invitation__link {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	padding-bottom: 0.25rem;
	border-bottom: 1px solid var(--accent-line);
	color: var(--accent);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.work-invitation__link span {
	transition: transform 180ms ease;
}

.work-invitation__link:hover span,
.work-invitation__link:focus-visible span {
	transform: translateX(4px);
}

@keyframes work-rise {
	from {
		opacity: 0;
		transform: translateY(24px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.about-intro {
	padding-top: 3rem;
}

.about-intro--deep {
	display: grid;
	gap: 1.5rem;
}

.about-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
	gap: 2.5rem;
	align-items: start;
}

.about-hero--deep {
	gap: 3rem;
}

.about-hero__identity {
	display: grid;
	gap: 1.35rem;
}

.about-hero__headline {
	max-width: 34rem;
}

.about-hero__title {
	max-width: 11ch;
	margin-top: 0;
}

.about-lead {
	margin: 1rem 0 0;
	max-width: 28rem;
	font-family: var(--font-display);
	font-size: clamp(1.24rem, 2.2vw, 1.78rem);
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: var(--text);
}

.content-intro {
	padding-top: 3rem;
}

.about-copy {
	max-width: 34rem;
	margin-top: 0;
}

.content-copy {
	max-width: 36rem;
	margin-top: 0;
}

.about-copy p {
	margin: 0;
	font-size: clamp(1rem, 1.4vw, 1.08rem);
	line-height: 1.72;
	color: var(--text-body);
}

.content-copy p {
	margin: 0;
	font-size: clamp(1.05rem, 1.8vw, 1.2rem);
	line-height: 1.5;
	color: var(--text-body);
}

.about-copy--secondary {
	padding-top: 0.55rem;
}

.about-copy p + p {
	margin-top: 1.2rem;
}

.content-copy p + p {
	margin-top: 1.15rem;
}

.about-social {
	margin-top: 2rem;
}

.content-social {
	margin-top: 2rem;
}

.about-section + .about-section {
	margin-top: 4.25rem;
}

.about-focus-card {
	padding: 1.1rem 1.05rem 1rem;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--panel);
	box-shadow: var(--shadow);
}

.about-focus-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.95rem;
}

.about-focus-grid--intro {
	margin-top: -0.15rem;
}

.about-focus-card__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.4rem;
	letter-spacing: -0.02em;
}

.about-focus-card__summary {
	margin: 0.55rem 0 0;
	color: var(--text-muted);
	font-size: 0.98rem;
	line-height: 1.56;
}

.content-section + .content-section {
	margin-top: 4.25rem;
}

.timeline-list,
.about-reference-list,
.reference-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.timeline-row,
.about-reference-item,
.reference-item {
	border-top: 1px solid var(--line);
}

.timeline-row:last-child,
.about-reference-item:last-child,
.reference-item:last-child {
	border-bottom: 1px solid var(--line);
}

.timeline-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1.25rem;
	align-items: baseline;
	padding: 0.95rem 0;
}

.timeline-main {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	align-items: baseline;
}

.timeline-org {
	font-weight: 600;
	color: var(--text);
}

.timeline-role,
.timeline-period {
	color: var(--text-muted);
}

.timeline-period {
	white-space: nowrap;
}

.about-reference-link,
.reference-link {
	display: grid;
	gap: 0.3rem;
	align-items: start;
	padding: 1rem 0;
}

.about-reference-context {
	color: var(--text-muted);
	font-size: 0.92rem;
}

.about-reference-title,
.reference-title {
	font-size: 1.22rem;
	font-weight: 600;
	color: var(--text);
}

.about-reference-summary,
.reference-summary {
	color: var(--text-muted);
}

.reference-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	color: var(--text-muted);
	font-size: 0.92rem;
}

.about-tabs {
	margin-top: 4.75rem;
}

.about-tabs__intro {
	max-width: 42rem;
}

.about-tabs__nav {
	display: flex;
	align-items: flex-end;
	gap: 1.4rem;
	margin-top: 1.5rem;
	border-bottom: 1px solid var(--line);
	overflow-x: auto;
	scrollbar-width: none;
}

.about-tabs__nav::-webkit-scrollbar {
	display: none;
}

.about-tabs__tab {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--text-muted);
	cursor: pointer;
	font: inherit;
	font-size: clamp(1rem, 1.35vw, 1.12rem);
	font-weight: 600;
	line-height: 1.2;
	padding: 0 0.1rem 0.95rem;
	position: relative;
	transition: color 180ms ease;
	white-space: nowrap;
}

.about-tabs__tab::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 2px;
	border-radius: 999px;
	background: transparent;
	transition: background-color 180ms ease;
}

.about-tabs__tab:hover,
.about-tabs__tab:focus-visible,
.about-tabs__tab[aria-selected="true"] {
	color: var(--text);
}

.about-tabs__tab:focus-visible {
	outline: none;
}

.about-tabs__tab[aria-selected="true"]::after {
	background: var(--accent);
}

.about-tabs__panel {
	padding-top: 1.75rem;
}

.about-tab-panel__intro {
	max-width: 40rem;
	margin-bottom: 1.4rem;
}

.about-tab-panel__copy {
	margin: 0;
	color: var(--text-muted);
	font-size: 1rem;
	line-height: 1.6;
}

.about-card-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.about-card-list--wide {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-card {
	display: grid;
	gap: 0.45rem;
	height: 100%;
	padding: 1.2rem 1.15rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--panel);
	box-shadow: var(--shadow);
	transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

a.about-card:hover,
a.about-card:focus-visible {
	border-color: var(--chip-border-hover);
	transform: translateY(-2px);
}

.about-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	color: var(--text-muted);
	font-size: 0.92rem;
}

.about-card__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.about-card__summary {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.98rem;
	line-height: 1.58;
}

.duty-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line);
}

.duty-row {
	border-bottom: 1px solid var(--line);
}

.duty-link {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 0.95rem;
	align-items: center;
	padding: 1rem 0;
	color: inherit;
	text-decoration: none;
}

.duty-link:hover .duty-org,
.duty-link:focus-visible .duty-org {
	color: var(--accent);
}

.duty-link:focus-visible {
	outline: none;
}

.duty-mark {
	display: grid;
	place-items: center;
	width: 1.65rem;
	height: 1.65rem;
	border: 1px solid var(--line);
	border-radius: 0.45rem;
	background: var(--panel-strong);
	color: var(--text);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.duty-mark img {
	display: block;
	width: 1rem;
	height: 1rem;
	border-radius: 0.2rem;
}

.duty-main {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	align-items: baseline;
	min-width: 0;
}

.duty-org {
	font-weight: 600;
	color: var(--text);
}

.duty-parent,
.duty-role,
.duty-period {
	color: var(--text-muted);
}

.duty-period {
	white-space: nowrap;
}

.timeline-org--link:hover {
	color: var(--accent);
}

.entry-kicker {
	color: var(--text-muted);
	font-size: 0.9rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 0.75rem;
	color: var(--text-muted);
}

.entry-content,
.entry-summary {
	margin-top: 1.75rem;
	color: var(--text);
}

.entry-content > * + *,
.entry-summary > * + * {
	margin-top: 1.15rem;
}

.entry-content a,
.entry-summary a {
	text-decoration: underline;
	text-decoration-color: var(--accent-line);
	text-underline-offset: 0.2em;
}

.entry-footer-link {
	display: inline-flex;
	align-items: center;
	margin-top: 1.5rem;
	padding: 0.72rem 1rem;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent);
}

.entry-footer-link:hover {
	background: var(--accent-soft-strong);
}

.empty-state {
	padding: 1.2rem 1.35rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--panel);
	color: var(--text-muted);
}

.site-subscribe__copy {
	max-width: 32rem;
}

.site-subscribe {
	display: grid;
	gap: 1.05rem;
	justify-items: start;
	padding-bottom: 2rem;
}

.site-subscribe__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.55rem, 2.6vw, 2.25rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.site-subscribe__intro {
	margin: 0.7rem 0 0;
	color: var(--text-muted);
	max-width: 30rem;
}

.site-subscribe__frame {
	width: 100%;
	max-width: 480px;
	display: grid;
	justify-items: start;
}

.site-subscribe__embed {
	display: block;
	width: 100%;
	max-width: none;
	height: 150px;
	border: 0;
	background: transparent;
	margin: 0;
	justify-self: start;
}

.site-footer {
	padding: 2rem 1.5rem 3rem;
}

.site-footer__inner {
	max-width: var(--content-width);
	margin: 0 auto;
	border-top: 1px solid var(--line);
	padding-top: 1.35rem;
	display: grid;
	gap: 0;
}

.site-footer__meta {
	border-top: 1px solid var(--line-soft);
	padding-top: 0.95rem;
	color: var(--text-muted);
	font-size: 0.92rem;
}

.site-footer__brand {
	margin: 0;
}

@media (max-width: 900px) {
	.overlay-menu__grid {
		grid-template-columns: 1fr;
	}

	.overlay-menu__projects {
		padding-bottom: 0;
	}

	.about-hero,
	.about-focus-grid,
	.about-card-list,
	.about-card-list--wide {
		grid-template-columns: 1fr;
	}

	.work-hero {
		grid-template-columns: 1fr;
		min-height: auto;
		padding-top: 5.5rem;
	}

	.work-hero__content,
	.work-hero__threads {
		grid-column: 1;
	}

	.work-hero__copy {
		max-width: none;
	}

	.work-hero__threads {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		margin-top: 3.5rem;
	}

	.work-hero__threads span {
		padding-right: 0.75rem;
		border-top: 0;
	}

	.work-feature__media,
	.work-feature:nth-child(4n + 1) .work-feature__media,
	.work-feature:nth-child(4n + 4) .work-feature__media {
		min-height: 20rem;
	}

	.work-index__list {
		column-count: 2;
	}

	.work-history__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.work-invitation__body {
		grid-template-columns: 1fr;
	}

	.work-invitation__body > div {
		max-width: 34rem;
	}

	.duty-link,
	.timeline-row {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 0.2rem;
	}

	.duty-period,
	.timeline-period {
		grid-column: 2;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	.site-main {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.hero {
		padding-top: 3rem;
	}

	.work-page {
		padding-top: 0;
	}

	.work-hero {
		padding: 4.5rem 0 3rem;
	}

	.work-hero__word {
		top: 1.5rem;
		font-size: clamp(7.5rem, 40vw, 12rem);
	}

	.work-hero__title {
		font-size: clamp(3.2rem, 15vw, 4.8rem);
	}

	.work-hero__copy {
		grid-template-columns: 1fr;
		gap: 0.9rem;
		margin-top: 2rem;
	}

	.work-hero__threads {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 2.75rem;
	}

	.work-selected,
	.work-index,
	.work-history {
		margin-top: 5rem;
	}

	.work-section-heading {
		grid-template-columns: 1fr;
		gap: 1.2rem;
		margin-bottom: 1.75rem;
	}

	.work-section-heading__number {
		font-size: 2.8rem;
	}

	.work-section-heading h2 {
		font-size: clamp(2.75rem, 13vw, 4.4rem);
	}

	.work-feature,
	.work-feature:nth-child(4n + 1),
	.work-feature:nth-child(4n + 2),
	.work-feature:nth-child(4n + 3),
	.work-feature:nth-child(4n + 4) {
		grid-column: 1 / -1;
	}

	.work-feature__media,
	.work-feature:nth-child(4n + 1) .work-feature__media,
	.work-feature:nth-child(4n + 4) .work-feature__media {
		min-height: 19rem;
	}

	.work-feature__body {
		padding: 1.25rem;
	}

	.work-feature__body h3 {
		font-size: clamp(2.35rem, 11vw, 3.6rem);
	}

	.work-filter {
		top: 4rem;
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-right: -1rem;
		margin-left: -1rem;
		padding-right: 1rem;
		padding-left: 1rem;
		scrollbar-width: none;
	}

	.work-filter::-webkit-scrollbar {
		display: none;
	}

	.work-filter__button {
		flex: 0 0 auto;
	}

	.work-index__list {
		column-count: 1;
	}

	.work-index__body h3 {
		font-size: 2rem;
	}

	.work-history__list {
		grid-template-columns: 1fr;
	}

	.work-history__link {
		min-height: 0;
	}

	.work-invitation {
		margin-top: 5rem;
		padding: 2rem 1.4rem;
	}

	.work-invitation h2 {
		font-size: clamp(2.8rem, 13vw, 4.7rem);
	}

	.section-block {
		margin-top: 4rem;
	}

	.site-header__context {
		font-size: 0.9rem;
	}

	.site-header__inner {
		gap: 0.7rem;
	}

	.overlay-menu__nav a {
		font-size: 1rem;
	}

	.overlay-menu__projects a {
		font-size: 0.92rem;
	}

	.project-card__title,
	.writing-link__title {
		max-width: 18rem;
	}

	.about-copy p {
		font-size: 1.05rem;
	}

	.about-lead {
		font-size: 1.2rem;
	}

	.about-tabs__nav {
		gap: 1rem;
		margin-top: 1.25rem;
	}

	.about-tabs__tab {
		font-size: 1rem;
		padding-bottom: 0.85rem;
	}

	.duty-link {
		gap: 0.7rem;
		padding: 0.9rem 0;
	}

	.theme-toggle {
		gap: 0.45rem;
		padding-left: 0.52rem;
	}

	.site-subscribe__embed {
		max-width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.work-feature {
		animation: none;
	}

	.work-feature__link,
	.work-feature__media img,
	.work-feature__action span,
	.work-index__card,
	.work-index__media img,
	.work-index__action span,
	.work-history__arrow,
	.work-invitation__link span {
		transition: none;
	}
}
