/*
Theme Name: UX FONT
Theme URI: https://uxfont.com/
Author: Tyrone Fontaine
Description: A classic WordPress portfolio theme for design systems and UX engineering work.
Version: 0.1.0
Text Domain: ux-font
*/

/*
THESIS: A modern field guide makes durable web systems legible without generic portfolio chrome.
OWN-WORLD: Warm ivory paper, charcoal ink, restrained burnt-orange annotation, square edges, and one curved dither field.
STORY: Visitors understand the practice immediately, then move directly toward project evidence.
FIRST VIEWPORT: A large editorial claim and compact Work action meet the approved static dither swoop.
FORM: The approved static foundation in an established visual system; no concept seed was needed.
*/

:root {
	--ux-font-color-ivory: #ece3d3;
	--ux-font-color-charcoal: #25231e;
	--ux-font-color-orange: #bf7a3b;
	--ux-font-color-orange-on-light: #8f4f20;
	--ux-font-color-warm-gray: #817b70;
	--ux-font-font-editorial: "Newsreader", Georgia, "Times New Roman", serif;
	--ux-font-font-technical: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	--ux-font-font-wordmark: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	--ux-font-content: 46rem;
	--ux-font-wide: 76rem;
	--ux-font-gutter: clamp(1.25rem, 4vw, 4rem);
	--ux-font-space-xs: 0.5rem;
	--ux-font-space-sm: 1rem;
	--ux-font-space-md: clamp(1.5rem, 3vw, 2.5rem);
	--ux-font-space-lg: clamp(3rem, 7vw, 6rem);
	--ux-font-space-xl: clamp(5rem, 11vw, 10rem);
}

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

html {
	scroll-behavior: auto;
}

body {
	margin: 0;
	overflow-wrap: break-word;
	background: var(--ux-font-color-ivory);
	color: var(--ux-font-color-charcoal);
	font-family: var(--ux-font-font-editorial);
	font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	line-height: 1.65;
}

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

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

a {
	color: inherit;
	text-decoration-color: var(--ux-font-color-orange);
	text-decoration-thickness: 0.12em;
	text-underline-offset: 0.22em;
}

a:hover {
	text-decoration-thickness: 0.2em;
}

:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 4px;
}

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

.screen-reader-text:focus {
	z-index: 100000;
	top: 0.75rem;
	left: 0.75rem;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	overflow: visible;
	clip: auto;
	white-space: normal;
}

.skip-link {
	position: fixed;
	z-index: 100000;
	top: 0.75rem;
	left: 0.75rem;
	padding: 0.75rem 1rem;
	transform: translateY(-180%);
	background: var(--ux-font-color-orange);
	color: var(--ux-font-color-charcoal);
	font-family: var(--ux-font-font-technical);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.skip-link:focus {
	transform: translateY(0);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-block: 1.5em 0.45em;
	font-family: var(--ux-font-font-editorial);
	font-weight: 500;
	line-height: 1.08;
	text-wrap: balance;
}

h1 {
	font-size: clamp(3rem, 7.5vw, 6rem);
	letter-spacing: -0.03em;
}

h2 {
	font-size: clamp(2.25rem, 5vw, 4rem);
	letter-spacing: -0.025em;
}

h3 {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	letter-spacing: -0.02em;
}

p,
ul,
ol,
blockquote,
figure {
	margin-block: 0 1.4em;
}

blockquote {
	margin-inline: 0;
	padding-inline-start: var(--ux-font-space-md);
	border-inline-start: 1px solid var(--ux-font-color-orange);
	font-size: clamp(1.35rem, 2.5vw, 2rem);
	line-height: 1.35;
}

hr,
.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--ux-font-color-charcoal);
}

.site-header {
	position: relative;
	background: var(--ux-font-color-ivory);
	border-bottom: 3px solid var(--ux-font-color-charcoal);
}

.site-header--progress {
	position: sticky;
	top: 0;
	z-index: 20;
}

body.admin-bar .site-header--progress {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header--progress {
		top: 46px;
	}
}

.site-header--progress::after {
	display: none;
}

/* 4E: one-time, progressive entrance for the shared header and case-file opening. */
@keyframes ux-font-header-entrance {
	from {
		opacity: 0;
		transform: translateY(-0.45rem);
	}

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

@keyframes ux-font-case-file-entrance {
	from {
		opacity: 0;
		transform: translateY(0.7rem);
	}

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

.has-entrance-transitions .site-wordmark {
	animation: ux-font-header-entrance 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.has-entrance-transitions .site-navigation {
	animation: ux-font-header-entrance 280ms 70ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.has-entrance-transitions .case-study-header__label {
	animation: ux-font-case-file-entrance 320ms 70ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.has-entrance-transitions .case-study-header__title {
	animation: ux-font-case-file-entrance 360ms 140ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.has-entrance-transitions .case-study-header__summary {
	animation: ux-font-case-file-entrance 320ms 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.site-header::after {
	position: absolute;
	right: 72%;
	bottom: -3px;
	left: 0;
	height: 3px;
	background: var(--ux-font-color-orange);
	content: "";
}

/* Decorative case-file orientation; the reading state remains complete without it. */
.case-study-progress {
	position: absolute;
	z-index: 1;
	top: auto;
	right: 0;
	bottom: -3px;
	left: 0;
	height: 3px;
	background: color-mix(in srgb, var(--ux-font-color-charcoal) 24%, transparent);
	pointer-events: none;
}

.case-study-progress__indicator {
	display: block;
	width: 100%;
	height: 100%;
	transform: scaleX(0);
	transform-origin: left center;
	transition: none;
	background: var(--ux-font-color-orange);
}

.site-header__inner,
.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ux-font-space-md);
	width: min(calc(100% - var(--ux-font-gutter) - var(--ux-font-gutter)), var(--ux-font-wide));
	margin-inline: auto;
	padding-block: 1.35rem;
}

.site-wordmark {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	min-height: 2.75rem;
	font-family: var(--ux-font-font-wordmark);
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.site-navigation {
	min-width: 0;
	font-family: var(--ux-font-font-technical);
	font-size: 0.875rem;
}

.site-navigation ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem clamp(1rem, 3vw, 2.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-navigation a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding-block: 0.45rem;
	text-decoration: none;
}

.site-navigation a:hover,
.site-navigation .current-menu-item > a,
.site-navigation .current_page_item > a {
	text-decoration: underline;
	text-decoration-color: var(--ux-font-color-orange);
	text-decoration-thickness: 0.16em;
	text-underline-offset: 0.35em;
}

.site-main {
	min-height: 60vh;
}

.content-shell,
.entry-content > :where(:not(.alignwide):not(.alignfull)),
.posts-navigation,
.no-results {
	width: min(calc(100% - var(--ux-font-gutter) - var(--ux-font-gutter)), var(--ux-font-content));
	margin-inline: auto;
}

.entry-header {
	width: min(calc(100% - var(--ux-font-gutter) - var(--ux-font-gutter)), var(--ux-font-wide));
	margin-inline: auto;
	padding-top: var(--ux-font-space-lg);
}

.entry-content {
	padding-bottom: var(--ux-font-space-xl);
}

.home .entry-content {
	padding-bottom: 0;
}

.entry-content > .alignwide {
	width: min(calc(100% - var(--ux-font-gutter) - var(--ux-font-gutter)), var(--ux-font-wide));
	margin-inline: auto;
}

.entry-content > .alignfull {
	width: 100%;
	max-width: none;
}

.entry-content > * + * {
	margin-top: 1.4em;
}

.entry-content > :is(h2, h3, h4) {
	margin-top: 2.2em;
}

.ux-font-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
	min-height: clamp(38rem, 78vh, 56rem);
	margin: 0;
	background: var(--ux-font-color-ivory);
}

.ux-font-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: var(--ux-font-space-lg) var(--ux-font-gutter);
}

.ux-font-hero__content > * {
	width: min(100%, 48rem);
	margin-inline: auto;
}

.ux-font-hero__label {
	margin-bottom: var(--ux-font-space-sm);
	font-family: var(--ux-font-font-technical);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.4;
	text-transform: uppercase;
}

.ux-font-hero__title {
	margin: 0;
	max-width: 11ch;
	font-size: clamp(3.2rem, 7vw, 5.4rem);
	letter-spacing: -0.035em;
}

.ux-font-hero__statement {
	margin-top: var(--ux-font-space-md);
	margin-bottom: 0;
	max-width: 29ch;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	line-height: 1.35;
}

.ux-font-hero__introduction {
	max-width: 43ch;
	margin-top: var(--ux-font-space-sm);
	margin-bottom: 0;
	font-size: 1.0625rem;
}

.ux-font-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ux-font-space-sm) var(--ux-font-space-md);
	align-items: center;
	margin-top: var(--ux-font-space-sm);
}

.ux-font-hero__actions .wp-block-button__link {
	margin-top: 0;
}

.ux-font-hero__action,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	margin-top: var(--ux-font-space-md);
	padding: 0.7rem 1rem;
	border: 1px solid var(--ux-font-color-charcoal);
	border-radius: 0;
	background: var(--ux-font-color-orange);
	color: var(--ux-font-color-charcoal);
	font-family: var(--ux-font-font-technical);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.ux-font-hero__action:hover,
.wp-block-button__link:hover {
	background: var(--ux-font-color-charcoal);
	color: var(--ux-font-color-ivory);
}

.ux-font-hero__action:focus-visible,
.wp-block-button__link:focus-visible {
	outline-color: var(--ux-font-color-charcoal);
}

.ux-font-hero__media {
	position: relative;
	isolation: isolate;
	min-height: 100%;
	margin: 0;
	overflow: hidden;
	background: var(--ux-font-color-charcoal);
}

.ux-font-hero__media img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: center;
}

.ux-font-live-dither__canvas {
	position: absolute;
	z-index: 2;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	opacity: 0;
	pointer-events: none;
}

.ux-font-hero__media.is-live .ux-font-live-dither__canvas,
.live-dither-spike__field.is-live .ux-font-live-dither__canvas {
	opacity: 1;
}

.ux-font-text-action {
	margin: 0;
	font-family: var(--ux-font-font-technical);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.4;
}

.ux-font-text-action a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	text-decoration-color: var(--ux-font-color-orange-on-light);
}

.ux-font-text-action--dark a {
	color: var(--ux-font-color-ivory);
	text-decoration-color: var(--ux-font-color-orange);
}

.home-section-label,
.home-project-meta,
.home-project__status,
.home-practice__number {
	font-family: var(--ux-font-font-technical);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.055em;
	line-height: 1.45;
	text-transform: uppercase;
}

.home-section-label {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 var(--ux-font-space-lg);
}

.home-section-label::before {
	width: 2.5rem;
	border-top: 1px solid var(--ux-font-color-orange);
	content: "";
}

.home-introduction,
.home-practice,
.home-closing {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: var(--ux-font-space-xl) var(--ux-font-gutter);
}

.home-introduction > *,
.home-practice > *,
.home-closing > * {
	width: min(100%, var(--ux-font-wide));
	margin-inline: auto;
}

.home-introduction {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
	gap: var(--ux-font-space-lg);
	border-bottom: 1px solid var(--ux-font-color-charcoal);
}

.home-introduction .home-section-label {
	grid-column: 1 / -1;
	width: min(100%, var(--ux-font-wide));
	margin-bottom: 0;
}

.home-introduction__statement {
	margin-top: 0;
	max-width: 19ch;
	font-size: clamp(2.5rem, 5.4vw, 5rem);
}

.home-introduction__copy {
	align-self: end;
	max-width: 37ch;
	margin-bottom: 0;
	padding-top: var(--ux-font-space-sm);
	border-top: 1px solid var(--ux-font-color-orange);
	font-size: clamp(1.125rem, 1.6vw, 1.35rem);
	line-height: 1.5;
}

.home-work {
	margin: 0;
	padding: var(--ux-font-space-xl) var(--ux-font-gutter);
	background: var(--ux-font-color-charcoal);
	color: var(--ux-font-color-ivory);
}

.home-work__inner {
	width: min(100%, var(--ux-font-wide));
	margin-inline: auto;
}

.home-work__title {
	max-width: 13ch;
	margin-top: 0;
}

.home-feature {
	display: grid;
	grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
	gap: var(--ux-font-space-lg);
	align-items: start;
	margin-top: var(--ux-font-space-xl);
	padding-block: var(--ux-font-space-lg);
	border-top: 1px solid var(--ux-font-color-orange);
	border-bottom: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 38%, transparent);
}

.home-project-meta,
.home-project__status,
.home-practice__number {
	color: var(--ux-font-color-orange);
}

.home-practice__number {
	color: var(--ux-font-color-orange-on-light);
}

.home-feature__title {
	margin-top: var(--ux-font-space-md);
	font-size: clamp(3.5rem, 7vw, 6rem);
}

.home-feature__summary {
	max-width: 29ch;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	line-height: 1.38;
}

.home-feature__content > p:not(.home-project-meta, .home-feature__summary, .ux-font-text-action) {
	max-width: 42ch;
}

.home-feature__figure {
	margin: 0;
}

.home-feature__figure img {
	width: 100%;
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 42%, transparent);
}

.home-feature__figure figcaption {
	margin-top: 0;
	padding-top: 0.75rem;
	border-top: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 38%, transparent);
	color: var(--ux-font-color-ivory);
	font-family: var(--ux-font-font-technical);
	font-size: 0.8125rem;
	line-height: 1.55;
}

.home-projects {
	display: grid;
	grid-template-columns: minmax(12rem, 0.45fr) repeat(2, minmax(0, 1fr));
	margin-top: var(--ux-font-space-xl);
	border-top: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 62%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 62%, transparent);
}

.home-projects__title {
	margin: 0;
	padding: var(--ux-font-space-md) var(--ux-font-space-md) var(--ux-font-space-md) 0;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.home-project {
	padding: var(--ux-font-space-md);
	border-left: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 38%, transparent);
}

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

.home-project__status {
	min-height: 3.1em;
	margin-bottom: var(--ux-font-space-md);
}

.home-project__title {
	margin: 0 0 var(--ux-font-space-sm);
	font-size: clamp(2rem, 3vw, 3rem);
}

.home-work__action {
	margin-top: var(--ux-font-space-md);
}

.home-practice__title {
	max-width: 18ch;
	margin-top: 0;
	font-size: clamp(2.5rem, 5vw, 4.75rem);
}

.home-practice__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: var(--ux-font-space-xl);
	border-top: 1px solid var(--ux-font-color-charcoal);
	border-bottom: 1px solid var(--ux-font-color-charcoal);
}

.home-practice__step {
	padding: var(--ux-font-space-md) 0.75rem;
}

.home-practice__step:first-child {
	padding-left: 0;
}

.home-practice__step:last-child {
	padding-right: 0;
}

.home-practice__step + .home-practice__step {
	border-left: 1px solid var(--ux-font-color-charcoal);
}

.home-practice__step h3 {
	margin-top: var(--ux-font-space-md);
	font-size: clamp(1.75rem, 2.7vw, 2.5rem);
}

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

.home-closing {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-top: 3px solid var(--ux-font-color-charcoal);
	background: var(--ux-font-color-ivory);
}

.home-closing::after {
	position: absolute;
	z-index: -1;
	inset: 0 0 0 64%;
	background:
		linear-gradient(90deg, var(--ux-font-color-ivory) 0%, transparent 32%),
		url("assets/images/dither-swoop.png") center / cover no-repeat;
	content: "";
}

.home-closing__title {
	max-width: 16ch;
	margin-top: 0;
}

.home-closing > p:not(.home-section-label) {
	max-width: 34ch;
	margin-left: max(0px, calc((100% - var(--ux-font-wide)) / 2));
	margin-right: auto;
}

.home-closing .wp-block-buttons {
	width: min(100%, var(--ux-font-wide));
	margin-inline: auto;
}

/* Work index: a project-selection surface built from native, editable blocks. */
.page:has(.work-index) .entry-header {
	padding-block: var(--ux-font-space-lg);
}

.page:has(.work-index) .entry-header h1 {
	margin: 0;
}

.entry-content > .work-index {
	margin-top: 0;
}

.work-index__label,
.work-record__status,
.work-record__unavailable,
.work-record__fact h4 {
	font-family: var(--ux-font-font-technical);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.055em;
	line-height: 1.45;
	text-transform: uppercase;
}

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

.work-index__label::before {
	width: 2.5rem;
	border-top: 1px solid currentcolor;
	content: "";
}

.work-index-intro,
.work-index-projects,
.work-index-closing {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: var(--ux-font-space-xl) var(--ux-font-gutter);
}

.work-index-intro {
	border-top: 1px solid var(--ux-font-color-charcoal);
	border-bottom: 1px solid var(--ux-font-color-charcoal);
}

.work-index-intro__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
	gap: var(--ux-font-space-lg);
	width: min(100%, var(--ux-font-wide));
	margin-inline: auto;
}

.work-index-intro__inner .work-index__label {
	grid-column: 1 / -1;
}

.work-index-intro__title {
	max-width: 18ch;
	margin: 0;
	font-size: clamp(2.75rem, 5.7vw, 5.5rem);
}

.work-index-intro__summary {
	align-self: end;
	max-width: 34ch;
	margin: 0;
	padding-top: var(--ux-font-space-sm);
	border-top: 1px solid var(--ux-font-color-orange-on-light);
	font-size: clamp(1.15rem, 1.7vw, 1.4rem);
	line-height: 1.5;
}

.work-index-intro__availability {
	grid-column: 2;
	max-width: 45ch;
	margin: 0;
	font-family: var(--ux-font-font-technical);
	font-size: 0.8125rem;
	line-height: 1.55;
}

.work-index-projects {
	background: var(--ux-font-color-charcoal);
	color: var(--ux-font-color-ivory);
}

.work-index-projects__inner {
	width: min(100%, var(--ux-font-wide));
	margin-inline: auto;
}

.work-record {
	display: grid;
	grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.28fr);
	gap: var(--ux-font-space-lg);
	padding-block: var(--ux-font-space-xl);
	border-top: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 48%, transparent);
}

.work-record:first-child {
	padding-top: 0;
	border-top-color: var(--ux-font-color-orange);
}

.work-record:last-child {
	padding-bottom: 0;
	border-bottom: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 48%, transparent);
}

.work-record__heading > :last-child,
.work-record__fact > :last-child {
	margin-bottom: 0;
}

.work-record__status {
	margin: 0 0 var(--ux-font-space-md);
	color: var(--ux-font-color-orange);
}

.work-record--forthcoming .work-record__status {
	color: var(--ux-font-color-ivory);
}

.work-record__title {
	margin: 0;
	font-size: clamp(3.4rem, 7vw, 6.5rem);
	letter-spacing: -0.03em;
	line-height: 0.94;
}

.work-record__positioning {
	max-width: 28ch;
	margin-top: var(--ux-font-space-md);
	font-size: clamp(1.35rem, 2.1vw, 1.75rem);
	line-height: 1.35;
}

.work-record__summary {
	max-width: 42ch;
}

.work-record__action {
	margin-top: var(--ux-font-space-md);
}

.work-record__unavailable {
	display: inline-flex;
	width: fit-content;
	margin-top: var(--ux-font-space-md);
	padding-top: 0.65rem;
	border-top: 1px solid currentcolor;
	color: var(--ux-font-color-ivory);
}

.work-record__figure {
	grid-column: 2;
	margin: 0;
}

.work-record__figure img {
	display: block;
	width: 100%;
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 42%, transparent);
}

.work-record__figure figcaption {
	margin-top: 0;
	padding-top: 0.75rem;
	border-top: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 38%, transparent);
	color: var(--ux-font-color-ivory);
	font-family: var(--ux-font-font-technical);
	font-size: 0.8125rem;
	line-height: 1.55;
}

.work-record__facts {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 0;
	border-top: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 48%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 48%, transparent);
}

.work-record__fact {
	padding: var(--ux-font-space-md);
}

.work-record__fact:first-child {
	padding-left: 0;
}

.work-record__fact:last-child {
	padding-right: 0;
}

.work-record__fact + .work-record__fact {
	border-left: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 38%, transparent);
}

.work-record__fact h4 {
	margin: 0 0 var(--ux-font-space-sm);
	color: var(--ux-font-color-orange);
}

.work-record--forthcoming {
	grid-template-columns: minmax(17rem, 0.8fr) minmax(0, 1.2fr);
}

.work-record--forthcoming .work-record__facts {
	grid-column: 2;
	align-self: start;
	margin-top: 0;
}

.work-record--forthcoming .work-record__fact {
	grid-column: 1 / -1;
	padding-inline: 0;
}

.work-record--forthcoming .work-record__fact + .work-record__fact {
	border-top: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 38%, transparent);
	border-left: 0;
}

.work-index-closing {
	border-top: 3px solid var(--ux-font-color-charcoal);
}

.work-index-closing__inner {
	width: min(100%, var(--ux-font-wide));
	margin-inline: auto;
}

.work-index-closing__title {
	max-width: 16ch;
	margin-top: var(--ux-font-space-lg);
}

.work-index-closing__inner > p:not(.work-index__label) {
	max-width: 38ch;
	font-size: 1.125rem;
}

/* About: a compact professional field note built from native, editable blocks. */
.page:has(.about-page) .entry-header {
	padding-block: var(--ux-font-space-md);
}

.page:has(.about-page) .entry-header h1 {
	margin: 0;
	font-size: clamp(3rem, 6vw, 5rem);
}

.entry-content > .about-page {
	margin-top: 0;
}

.about-label,
.about-availability__label {
	font-family: var(--ux-font-font-technical);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.055em;
	line-height: 1.45;
	text-transform: uppercase;
}

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

.about-label::before {
	width: 2.5rem;
	border-top: 1px solid currentcolor;
	content: "";
}

.about-intro,
.about-section {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: var(--ux-font-space-lg) var(--ux-font-gutter);
}

.about-intro {
	border-top: 1px solid var(--ux-font-color-charcoal);
	border-bottom: 1px solid var(--ux-font-color-charcoal);
}

.about-intro__inner,
.about-section__inner {
	display: grid;
	grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.25fr);
	gap: var(--ux-font-space-lg);
	width: min(100%, var(--ux-font-wide));
	margin-inline: auto;
}

.about-intro__inner {
	grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
}

.about-intro__inner .about-label,
.about-section__inner .about-label {
	grid-column: 1 / -1;
}

.about-intro__title,
.about-section__title {
	margin: 0;
}

.about-intro__title {
	max-width: 15ch;
	font-size: clamp(2.75rem, 5.7vw, 5.5rem);
}

.about-intro__copy,
.about-section__copy {
	align-self: end;
	max-width: 38rem;
}

.about-intro__copy > :last-child,
.about-section__copy > :last-child,
.about-principle > :last-child,
.about-capability > :last-child,
.about-availability > :last-child {
	margin-bottom: 0;
}

.about-section {
	border-bottom: 1px solid var(--ux-font-color-charcoal);
}

.about-section__title {
	max-width: 17ch;
}

.about-principles {
	background: var(--ux-font-color-charcoal);
	color: var(--ux-font-color-ivory);
}

.about-principles__list,
.about-capabilities__list {
	display: grid;
	grid-column: 2;
	grid-template-columns: 1fr;
	border-top: 1px solid currentcolor;
}

.about-principle,
.about-capability {
	display: grid;
	grid-template-columns: minmax(11rem, 0.7fr) minmax(0, 1.3fr);
	gap: var(--ux-font-space-md);
	padding-block: var(--ux-font-space-md);
	border-bottom: 1px solid color-mix(in srgb, currentcolor 48%, transparent);
}

.about-principle h3,
.about-capability h3 {
	margin: 0;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	line-height: 1.2;
}

.about-principle p,
.about-capability p {
	margin-top: 0;
}

.about-capabilities__list {
	border-top-color: var(--ux-font-color-orange-on-light);
}

.about-closing {
	border-bottom: 0;
}

.about-availability {
	margin-top: var(--ux-font-space-lg);
	padding-top: var(--ux-font-space-md);
	border-top: 3px solid var(--ux-font-color-charcoal);
}

.about-availability__label {
	margin-bottom: var(--ux-font-space-sm);
	color: var(--ux-font-color-orange-on-light);
}

/* Résumé: a direct, editable professional record with one deliberate file action. */
.page:has(.resume-page) .entry-header {
	padding-block: var(--ux-font-space-md);
}

.page:has(.resume-page) .entry-header h1 {
	margin: 0;
	font-size: clamp(3rem, 6vw, 5rem);
}

.entry-content > .resume-page {
	margin-top: 0;
}

.resume-intro,
.resume-section {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: var(--ux-font-space-lg) var(--ux-font-gutter);
	border-top: 1px solid var(--ux-font-color-charcoal);
}

.resume-intro__inner,
.resume-section__inner {
	width: min(100%, var(--ux-font-wide));
	margin-inline: auto;
}

.resume-intro__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
	gap: var(--ux-font-space-sm) var(--ux-font-space-lg);
}

.resume-label,
.resume-role__meta {
	font-family: var(--ux-font-font-technical);
	font-size: 0.8125rem;
	line-height: 1.55;
}

.resume-label {
	grid-column: 1 / -1;
	margin: 0;
	font-weight: 700;
	letter-spacing: 0.055em;
	text-transform: uppercase;
}

.resume-name {
	grid-column: 1;
	margin: var(--ux-font-space-md) 0 0;
	font-size: clamp(2.75rem, 6vw, 5.5rem);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1;
}

.resume-position {
	grid-column: 1;
	max-width: 34ch;
	margin: 0;
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	line-height: 1.35;
}

.resume-actions {
	display: flex;
	grid-column: 2;
	grid-row: 2 / span 2;
	align-items: flex-end;
	align-self: end;
	flex-wrap: wrap;
	gap: var(--ux-font-space-sm) var(--ux-font-space-md);
}

.resume-actions .wp-block-buttons,
.resume-actions .wp-block-button__link,
.resume-actions .resume-website {
	margin: 0;
}

.resume-section__inner {
	display: grid;
	grid-template-columns: minmax(12rem, 0.55fr) minmax(0, 1.45fr);
	gap: var(--ux-font-space-lg);
}

.resume-section__title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.35rem);
}

.resume-profile__copy {
	max-width: 68ch;
	margin: 0;
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	line-height: 1.5;
}

.resume-role,
.resume-capability,
.resume-education__item {
	grid-column: 2;
}

.resume-role {
	display: grid;
	grid-template-columns: minmax(11rem, 0.6fr) minmax(0, 1.4fr);
	gap: var(--ux-font-space-md);
	padding-block: var(--ux-font-space-md);
	border-top: 1px solid var(--ux-font-color-charcoal);
}

.resume-role:first-of-type {
	padding-top: 0;
	border-top: 0;
}

.resume-role__organization,
.resume-capability h3 {
	margin: 0;
	font-size: clamp(1.3rem, 2vw, 1.7rem);
	line-height: 1.2;
}

.resume-role__meta {
	margin: 0 0 var(--ux-font-space-sm);
}

.resume-role__bullets {
	margin: 0;
	padding-left: 1.25rem;
}

.resume-role__bullets li + li {
	margin-top: 0.6rem;
}

.resume-capabilities {
	background: var(--ux-font-color-charcoal);
	color: var(--ux-font-color-ivory);
}

.resume-capability {
	display: grid;
	grid-template-columns: minmax(11rem, 0.6fr) minmax(0, 1.4fr);
	gap: var(--ux-font-space-md);
	padding-block: var(--ux-font-space-md);
	border-top: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 48%, transparent);
}

.resume-capability:first-of-type {
	padding-top: 0;
	border-top: 0;
}

.resume-capability p,
.resume-education__item {
	margin: 0;
}

.resume-education {
	border-bottom: 0;
}

.resume-education__item + .resume-education__item {
	margin-top: var(--ux-font-space-sm);
}

/* 4C: isolated, removable live-dither feasibility spike. */
.page:has(.live-dither-spike) .entry-header {
	padding-block: var(--ux-font-space-lg);
}

.page:has(.live-dither-spike) .entry-header h1 {
	margin: 0;
}

.entry-content > .live-dither-spike {
	margin-top: 0;
	padding-bottom: 0;
}

.live-dither-spike__intro,
.live-dither-spike__notes {
	width: min(calc(100% - var(--ux-font-gutter) - var(--ux-font-gutter)), var(--ux-font-wide));
	margin-inline: auto;
}

.live-dither-spike__intro {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(18rem, 0.28fr);
	gap: var(--ux-font-space-lg);
	padding-block: var(--ux-font-space-xl);
}

.live-dither-spike__label {
	grid-column: 1 / -1;
	margin: 0;
	font-family: var(--ux-font-font-technical);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.055em;
	line-height: 1.45;
	text-transform: uppercase;
}

.live-dither-spike__statement {
	max-width: 17ch;
	margin: 0;
	font-size: clamp(2.5rem, 5vw, 5rem);
}

.live-dither-spike__summary {
	align-self: end;
	max-width: 35ch;
	margin: 0;
	padding-top: var(--ux-font-space-sm);
	border-top: 1px solid var(--ux-font-color-orange-on-light);
	font-size: clamp(1.125rem, 1.6vw, 1.35rem);
	line-height: 1.5;
}

.entry-content > .live-dither-spike .live-dither-spike__field {
	position: relative;
	width: 100%;
	min-height: clamp(30rem, 72vh, 52rem);
	margin: 0;
	overflow: hidden;
	background: var(--ux-font-color-charcoal);
	isolation: isolate;
}

.live-dither-spike__field img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.live-dither-spike__field img {
	z-index: 1;
}

.live-dither-spike__notes {
	display: grid;
	grid-template-columns: minmax(12rem, 0.42fr) repeat(2, minmax(0, 0.79fr));
	gap: var(--ux-font-space-lg);
	padding-block: var(--ux-font-space-xl);
}

.live-dither-spike__notes h2,
.live-dither-spike__notes p {
	margin: 0;
}

.live-dither-spike__notes h2 {
	font-size: clamp(2rem, 3.5vw, 3.5rem);
}

.live-dither-spike__notes p {
	max-width: 42ch;
	font-size: 1.125rem;
	line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
	.ux-font-live-dither__canvas {
		display: none;
	}
}

.site-footer {
	background: var(--ux-font-color-charcoal);
	color: var(--ux-font-color-ivory);
}

.site-footer__inner {
	align-items: flex-end;
	min-height: 10rem;
	font-family: var(--ux-font-font-technical);
	font-size: 0.8125rem;
}

.site-footer p {
	margin: 0;
}

.post-list {
	padding-block: var(--ux-font-space-lg);
}

.post-list article {
	padding-block: var(--ux-font-space-md);
	border-top: 1px solid var(--ux-font-color-charcoal);
}

.post-list article:last-child {
	border-bottom: 1px solid var(--ux-font-color-charcoal);
}

.post-list h2 {
	margin-top: 0;
}

/* Case-study shell: structural styling for editable core-block patterns. */
.case-study .entry-content {
	padding-bottom: 0;
}

.case-study .entry-content > :is(.case-study-header, .project-snapshot, .case-study-section, .case-study-evidence) {
	margin-top: 0;
}

.case-study .entry-content > .case-study-header,
.case-study .entry-content > .project-snapshot,
.case-study .entry-content > .case-study-section,
.case-study .entry-content > .case-study-evidence {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.case-study-header {
	position: relative;
	isolation: isolate;
	min-height: clamp(36rem, 72vh, 49rem);
	overflow: hidden;
	padding: var(--ux-font-space-xl) var(--ux-font-gutter) var(--ux-font-space-lg);
	border-bottom: 3px solid var(--ux-font-color-charcoal);
	background: var(--ux-font-color-ivory);
	color: var(--ux-font-color-charcoal);
}

.case-study-header::before {
	position: absolute;
	z-index: -1;
	inset: 0 0 0 48%;
	background:
		linear-gradient(90deg, var(--ux-font-color-ivory) 0%, transparent 18%),
		url("assets/images/dither-swoop.png") center / cover no-repeat;
	content: "";
}

.case-study-header::after {
	position: absolute;
	right: 72%;
	bottom: -3px;
	left: 0;
	height: 3px;
	background: var(--ux-font-color-orange);
	content: "";
}

.case-study-header > * {
	position: relative;
	z-index: 1;
	width: min(100%, var(--ux-font-wide));
	margin-inline: auto;
}

.case-study-header__label,
.case-study-section__label,
.case-study-evidence__caption,
.project-snapshot th {
	font-family: var(--ux-font-font-technical);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.055em;
	line-height: 1.45;
	text-transform: uppercase;
}

.case-study-header__label {
	margin-bottom: clamp(3rem, 9vh, 7rem);
	color: var(--ux-font-color-charcoal);
}

.case-study-header__title {
	max-width: 7ch;
	margin: 0;
	font-size: clamp(4rem, 9vw, 7rem);
	letter-spacing: -0.04em;
}

.case-study-header__summary {
	max-width: 31ch;
	margin-top: var(--ux-font-space-md);
	margin-bottom: 0;
	padding-top: var(--ux-font-space-sm);
	border-top: 1px solid var(--ux-font-color-orange);
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	line-height: 1.38;
}

.project-snapshot {
	display: grid;
	grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
	gap: var(--ux-font-space-lg);
	width: min(calc(100% - var(--ux-font-gutter) - var(--ux-font-gutter)), var(--ux-font-wide));
	margin-inline: auto;
	padding: var(--ux-font-space-lg) var(--ux-font-gutter);
	border-bottom: 1px solid var(--ux-font-color-orange);
	background: var(--ux-font-color-charcoal);
	color: var(--ux-font-color-ivory);
}

.project-snapshot > * {
	margin-inline: 0 !important;
}

.project-snapshot__title {
	margin: 0;
	max-width: 8ch;
	font-size: clamp(2.25rem, 3.5vw, 3.5rem);
}

.project-snapshot__facts {
	width: 100%;
	max-width: none;
	margin: 0;
}

.project-snapshot table {
	width: 100%;
	border-collapse: collapse;
	border-top: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 62%, transparent);
}

.project-snapshot th,
.project-snapshot td {
	padding: 0.85rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 38%, transparent);
	vertical-align: top;
	text-align: left;
}

.project-snapshot th {
	width: 32%;
	padding-right: var(--ux-font-space-md);
	color: var(--ux-font-color-orange);
}

.project-snapshot td {
	font-size: 1.0625rem;
	line-height: 1.5;
}

.case-study-section {
	display: grid;
	grid-template-columns: minmax(5rem, 0.28fr) minmax(0, 1fr);
	column-gap: var(--ux-font-space-md);
	width: min(calc(100% - var(--ux-font-gutter) - var(--ux-font-gutter)), var(--ux-font-wide));
	margin-inline: auto;
	padding: var(--ux-font-space-xl) var(--ux-font-gutter);
	border-bottom: 1px solid var(--ux-font-color-charcoal);
	background: var(--ux-font-color-ivory);
}

.case-study-section > * {
	margin-inline: 0 !important;
}

.case-study-section__label {
	grid-column: 1;
	grid-row: 1 / span 2;
	margin: 0;
	color: var(--ux-font-color-orange-on-light);
}

.case-study-section__label::after {
	display: block;
	width: min(3rem, 100%);
	margin-top: 0.85rem;
	border-top: 1px solid currentColor;
	content: "";
}

.case-study-section__title,
.case-study-section > :not(.case-study-section__label) {
	grid-column: 2;
}

.case-study-section__title {
	max-width: 19ch;
	margin: 0 0 var(--ux-font-space-md);
	font-size: clamp(2.25rem, 4vw, 4rem);
}

.case-study-section > :is(p, ul, ol):not(.case-study-section__label) {
	width: min(100%, 44rem);
	margin-top: 0;
	margin-bottom: 1.35em;
}

.case-study-section > :is(p, ul, ol):last-child {
	margin-bottom: 0;
}

.case-study-section > :is(ul, ol) {
	padding-inline-start: 1.35em;
}

.case-study-section li + li {
	margin-top: 0.55em;
}

.case-study-evidence {
	width: min(calc(100% - var(--ux-font-gutter) - var(--ux-font-gutter)), var(--ux-font-wide));
	margin-inline: auto;
	padding: var(--ux-font-space-lg) var(--ux-font-gutter);
	border-top: 1px solid var(--ux-font-color-orange);
	border-bottom: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 24%, transparent);
	background: var(--ux-font-color-charcoal);
	color: var(--ux-font-color-ivory);
}

.case-study-evidence__placeholder {
	max-width: 34ch;
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	line-height: 1.2;
}

.case-study-evidence__figure {
	width: min(100%, 68rem);
	max-width: 100%;
	margin: 0;
	margin-inline: auto;
}

.case-study-evidence__figure img {
	width: 100%;
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 42%, transparent);
}

.case-study-evidence__caption {
	max-width: 68ch;
	margin: 0;
	padding-top: 0.75rem;
	border-top: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 38%, transparent);
	color: var(--ux-font-color-ivory);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.55;
	text-align: left;
	text-transform: none;
}

.case-study-evidence__intro {
	max-width: 38ch;
	margin: 0 0 var(--ux-font-space-xl);
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	line-height: 1.4;
}

.case-study-project-nav {
	padding-inline: var(--ux-font-gutter);
	border-top: 3px solid var(--ux-font-color-orange);
	background: var(--ux-font-color-charcoal);
	color: var(--ux-font-color-ivory);
}

.case-study-project-nav__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: min(100%, var(--ux-font-wide));
	margin-inline: auto;
}

.case-study-project-nav__link {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.45rem;
	min-width: 0;
	min-height: 9rem;
	padding: var(--ux-font-space-md) clamp(0rem, 2vw, 2rem);
	text-decoration: none;
}

.case-study-project-nav__link:hover {
	background: color-mix(in srgb, var(--ux-font-color-ivory) 8%, transparent);
}

.case-study-project-nav__link--previous {
	grid-column: 1;
	padding-left: 0;
}

.case-study-project-nav__link--next {
	grid-column: 2;
	align-items: flex-end;
	padding-right: 0;
	text-align: right;
}

.case-study-project-nav__link--previous + .case-study-project-nav__link--next {
	border-left: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 38%, transparent);
}

.case-study-project-nav__direction {
	color: var(--ux-font-color-orange);
	font-family: var(--ux-font-font-technical);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.055em;
	line-height: 1.45;
	text-transform: uppercase;
}

.case-study-project-nav__title {
	max-width: 18ch;
	font-size: clamp(1.75rem, 3.5vw, 3.25rem);
	line-height: 1.08;
	overflow-wrap: anywhere;
}

.case-study-evidence__sequence {
	display: grid;
	gap: var(--ux-font-space-lg) var(--ux-font-space-md);
}

.case-study-evidence__sequence--workflow {
	grid-template-columns: repeat(12, minmax(0, 1fr));
}

.case-study-evidence__sequence--workflow > :nth-child(-n + 2) {
	grid-column: span 6;
}

.case-study-evidence__sequence--workflow > :nth-child(2) {
	margin-top: var(--ux-font-space-md);
}

.case-study-evidence__sequence--workflow > :last-child {
	grid-column: 2 / -2;
	width: 100%;
}

.case-study-evidence--presentation .case-study-evidence__sequence {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.case-study-evidence--presentation .case-study-evidence__sequence > :first-child {
	grid-column: 1 / -1;
	width: min(100%, 58rem);
	margin-inline: auto;
}

.case-study-evidence--presentation .case-study-evidence__sequence > :nth-child(2) {
	grid-column: 1 / -1;
	width: min(100%, 48rem);
	margin-inline: 0 auto;
}

.case-study-evidence--presentation .case-study-evidence__sequence > :nth-child(n + 3) {
	grid-column: span 2;
}

.case-study-evidence:not(.case-study-evidence--workflow):not(.case-study-evidence--presentation) .case-study-evidence__figure {
	width: min(100%, 54rem);
}

/* Long captures pair an inspectable detail crop with the complete-page overview. */
.case-study-evidence__figure:has(img[src*="gutenfig-workflow-03-published-wordpress-page"]),
.case-study-evidence__figure:has(img[src*="gutenfig-peoples-playlist-planning"]) {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(7rem, 0.4fr);
	gap: var(--ux-font-space-md);
	align-items: start;
}

.case-study-evidence__figure:has(img[src*="gutenfig-workflow-03-published-wordpress-page"])::before,
.case-study-evidence__figure:has(img[src*="gutenfig-peoples-playlist-planning"])::before {
	min-height: clamp(28rem, 54vw, 44rem);
	border: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 42%, transparent);
	background-color: #fff;
	background-position: top center;
	background-size: cover;
	content: "";
}

.case-study-evidence__figure:has(img[src*="gutenfig-workflow-03-published-wordpress-page"])::before {
	background-image: url("assets/images/case-studies/gutenfig/gutenfig-workflow-03-published-wordpress-page.webp");
}

.case-study-evidence__figure:has(img[src*="gutenfig-peoples-playlist-planning"])::before {
	background-image: url("assets/images/case-studies/gutenfig/gutenfig-peoples-playlist-planning.png");
}

.case-study-evidence__figure:has(img[src*="gutenfig-workflow-03-published-wordpress-page"]) > img,
.case-study-evidence__figure:has(img[src*="gutenfig-peoples-playlist-planning"]) > img {
	grid-column: 2;
	grid-row: 1;
}

.case-study-evidence__figure:has(img[src*="gutenfig-workflow-03-published-wordpress-page"]) > figcaption,
.case-study-evidence__figure:has(img[src*="gutenfig-peoples-playlist-planning"]) > figcaption {
	grid-column: 1 / -1;
}

@media (min-width: 64rem) {
	.case-study .entry-content {
		display: grid;
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	.case-study .entry-content > * {
		grid-column: 1 / -1;
	}

	.case-study .entry-content > .case-study-evidence:has(img[src*="gutenfig-components-library"]),
	.case-study .entry-content > .case-study-evidence:has(img[src*="gutenfig-peoples-playlist-planning"]) {
		grid-column: 1 / 8;
		padding-right: var(--ux-font-space-md);
		padding-left: max(var(--ux-font-gutter), calc((100vw - var(--ux-font-wide)) / 2));
	}

	.case-study .entry-content > .case-study-evidence:has(img[src*="gutenfig-layout-test"]),
	.case-study .entry-content > .case-study-evidence:has(img[src*="gutenfig-cleveland-230-exploration"]) {
		grid-column: 8 / -1;
		padding-right: max(var(--ux-font-gutter), calc((100vw - var(--ux-font-wide)) / 2));
		padding-left: var(--ux-font-space-md);
	}

	.case-study .entry-content > .case-study-evidence:has(img[src*="gutenfig-layout-test"]) .case-study-evidence__figure {
		width: min(100%, 30rem);
		margin-top: var(--ux-font-space-lg);
		margin-right: auto;
	}

	.case-study .entry-content > .case-study-evidence:has(img[src*="gutenfig-cleveland-230-exploration"]) .case-study-evidence__figure {
		width: min(100%, 31rem);
		margin-top: var(--ux-font-space-xl);
		margin-right: auto;
	}
}

@media (max-width: 48rem) {
	.site-header__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-navigation,
	.site-navigation ul {
		width: 100%;
	}

	.site-navigation ul {
		justify-content: flex-start;
	}

	.ux-font-hero {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.ux-font-hero__content {
		min-height: 31rem;
	}

	.ux-font-hero__media {
		min-height: min(62vw, 26rem);
	}

	.home-introduction {
		grid-template-columns: 1fr;
	}

	.home-introduction .home-section-label,
	.home-introduction__statement,
	.home-introduction__copy {
		grid-column: 1;
	}

	.home-introduction__copy {
		align-self: auto;
	}

	.home-feature {
		grid-template-columns: 1fr;
	}

	.home-feature__figure {
		width: min(100%, 35rem);
	}

	.home-projects {
		grid-template-columns: 1fr;
	}

	.home-projects__title {
		padding-right: 0;
	}

	.home-project {
		padding-inline: 0;
		border-top: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 38%, transparent);
		border-left: 0;
	}

	.home-project__status {
		min-height: 0;
	}

	.home-practice__steps {
		grid-template-columns: 1fr;
	}

	.home-practice__step,
	.home-practice__step:first-child,
	.home-practice__step:last-child {
		padding-inline: 0;
	}

	.home-practice__step + .home-practice__step {
		border-top: 1px solid var(--ux-font-color-charcoal);
		border-left: 0;
	}

	.home-closing {
		padding-bottom: clamp(18rem, 74vw, 25rem);
	}

	.home-closing::after {
		inset: auto 0 0;
		height: clamp(16rem, 68vw, 23rem);
		background:
			linear-gradient(180deg, var(--ux-font-color-ivory) 0%, transparent 28%),
			url("assets/images/dither-swoop.png") center / cover no-repeat;
	}

	.work-index-intro__inner,
	.work-record,
	.work-record--forthcoming {
		grid-template-columns: 1fr;
	}

	.work-index-intro__inner .work-index__label,
	.work-index-intro__availability,
	.work-record__figure,
	.work-record__facts,
	.work-record--forthcoming .work-record__facts {
		grid-column: 1;
	}

	.work-index-intro__summary {
		align-self: auto;
	}

	.about-intro__inner,
	.about-section__inner {
		grid-template-columns: 1fr;
	}

	.about-intro__inner .about-label,
	.about-section__inner .about-label,
	.about-principles__list,
	.about-capabilities__list {
		grid-column: 1;
	}

	.about-intro__copy,
	.about-section__copy {
		align-self: auto;
	}

	.resume-intro__inner,
	.resume-section__inner,
	.resume-role,
	.resume-capability {
		grid-template-columns: 1fr;
	}

	.resume-name,
	.resume-position,
	.resume-actions,
	.resume-role,
	.resume-capability,
	.resume-education__item {
		grid-column: 1;
	}

	.resume-actions {
		grid-row: auto;
		align-self: auto;
		margin-top: var(--ux-font-space-sm);
	}

	.live-dither-spike__intro,
	.live-dither-spike__notes {
		grid-template-columns: 1fr;
	}

	.live-dither-spike__summary {
		align-self: auto;
	}

	.entry-content > .live-dither-spike .live-dither-spike__field {
		min-height: min(125vw, 32rem);
	}

	.work-record {
		gap: var(--ux-font-space-md);
	}

	.work-record__figure {
		width: min(100%, 42rem);
	}

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

	.work-record__fact,
	.work-record__fact:first-child,
	.work-record__fact:last-child {
		padding-inline: 0;
	}

	.work-record__fact + .work-record__fact {
		border-top: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 38%, transparent);
		border-left: 0;
	}

	.project-snapshot,
	.case-study-section {
		grid-template-columns: 1fr;
		gap: var(--ux-font-space-md);
	}

	.case-study-header {
		min-height: auto;
		padding-top: var(--ux-font-space-lg);
		padding-bottom: clamp(16rem, 74vw, 22rem);
	}

	.case-study-header::before {
		inset: auto 0 0;
		height: clamp(14rem, 65vw, 20rem);
		background:
			linear-gradient(180deg, var(--ux-font-color-ivory) 0%, transparent 22%),
			url("assets/images/dither-swoop.png") center / cover no-repeat;
	}

	.case-study-header__label {
		margin-bottom: var(--ux-font-space-lg);
	}

	.case-study-header__title {
		font-size: clamp(3.5rem, 16vw, 5rem);
	}

	.project-snapshot,
	.case-study-section,
	.case-study-evidence {
		padding-block: var(--ux-font-space-lg);
	}

	.project-snapshot th {
		width: 38%;
	}

	.case-study-section__label,
	.case-study-section__title,
	.case-study-section > :not(.case-study-section__label) {
		grid-column: 1;
	}

	.case-study-section__label {
		grid-row: auto;
	}

	.case-study-section__label::after {
		display: inline-block;
		width: 3rem;
		margin: 0 0 0 0.75rem;
		vertical-align: 0.25em;
	}

	.case-study-evidence__sequence--workflow {
		grid-template-columns: 1fr;
	}

	.case-study-evidence__sequence--workflow > :nth-child(-n + 2),
	.case-study-evidence__sequence--workflow > :last-child {
		grid-column: auto;
	}

	.case-study-evidence__sequence--workflow > :nth-child(2) {
		margin-top: 0;
	}

	.case-study-evidence--presentation .case-study-evidence__sequence {
		grid-template-columns: 1fr;
	}

	.case-study-evidence--presentation .case-study-evidence__sequence > :first-child,
	.case-study-evidence--presentation .case-study-evidence__sequence > :nth-child(2),
	.case-study-evidence--presentation .case-study-evidence__sequence > :nth-child(n + 3) {
		grid-column: auto;
		width: 100%;
		margin-inline: 0;
	}

	.case-study-evidence__figure:has(img[src*="gutenfig-workflow-03-published-wordpress-page"]),
	.case-study-evidence__figure:has(img[src*="gutenfig-peoples-playlist-planning"]) {
		grid-template-columns: 1fr;
	}

	.case-study-evidence__figure:has(img[src*="gutenfig-workflow-03-published-wordpress-page"])::before,
	.case-study-evidence__figure:has(img[src*="gutenfig-peoples-playlist-planning"])::before {
		min-height: clamp(20rem, 105vw, 28rem);
	}

	.case-study-evidence__figure:has(img[src*="gutenfig-workflow-03-published-wordpress-page"]) > img,
	.case-study-evidence__figure:has(img[src*="gutenfig-peoples-playlist-planning"]) > img {
		grid-column: 1;
		grid-row: auto;
		width: min(48%, 10rem);
		margin-inline: auto;
	}

	.case-study-evidence__intro {
		margin-bottom: var(--ux-font-space-lg);
	}

	.case-study-project-nav__inner {
		grid-template-columns: 1fr;
	}

	.case-study-project-nav__link,
	.case-study-project-nav__link--previous,
	.case-study-project-nav__link--next {
		grid-column: 1;
		align-items: flex-start;
		min-height: 7rem;
		padding-inline: 0;
		text-align: left;
	}

	.case-study-project-nav__link--previous + .case-study-project-nav__link--next {
		border-top: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 38%, transparent);
		border-left: 0;
	}

	.site-footer__inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: flex-end;
	}
}

@media (max-width: 26rem) {
	.ux-font-hero__title {
		font-size: clamp(2.75rem, 14vw, 3.5rem);
	}

	.ux-font-hero__actions,
	.ux-font-hero__actions .wp-block-buttons,
	.ux-font-hero__actions .wp-block-button,
	.ux-font-hero__actions .wp-block-button__link {
		width: 100%;
	}

	.ux-font-hero__actions .wp-block-button__link {
		justify-content: center;
	}

	.work-index-intro,
	.work-index-projects,
	.work-index-closing {
		padding-block: var(--ux-font-space-lg);
	}

	.work-index-intro__title,
	.work-record__title {
		overflow-wrap: anywhere;
	}

	.about-intro,
	.about-section {
		padding-block: var(--ux-font-space-lg);
	}

	.about-intro__title,
	.about-section__title {
		overflow-wrap: anywhere;
	}

	.about-principle,
	.about-capability {
		grid-template-columns: 1fr;
		gap: var(--ux-font-space-sm);
	}

	.resume-intro,
	.resume-section {
		padding-block: var(--ux-font-space-lg);
	}

	.resume-name,
	.resume-role__organization,
	.resume-capability h3 {
		overflow-wrap: anywhere;
	}

	.resume-actions,
	.resume-actions .wp-block-buttons,
	.resume-actions .wp-block-button,
	.resume-actions .wp-block-button__link {
		width: 100%;
	}

	.live-dither-spike__statement,
	.live-dither-spike__notes h2 {
		overflow-wrap: anywhere;
	}

	.work-index-closing .wp-block-buttons,
	.work-index-closing .wp-block-button,
	.work-index-closing .wp-block-button__link {
		width: 100%;
	}

	.project-snapshot table,
	.project-snapshot tbody,
	.project-snapshot tr,
	.project-snapshot th,
	.project-snapshot td {
		display: block;
		width: 100%;
	}

	.project-snapshot tr {
		padding-block: 0.85rem;
		border-bottom: 1px solid color-mix(in srgb, var(--ux-font-color-ivory) 38%, transparent);
	}

	.project-snapshot th,
	.project-snapshot td {
		padding: 0;
		border: 0;
	}

	.project-snapshot td {
		margin-top: 0.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.has-entrance-transitions .site-wordmark,
	.has-entrance-transitions .site-navigation,
	.has-entrance-transitions .case-study-header__label,
	.has-entrance-transitions .case-study-header__title,
	.has-entrance-transitions .case-study-header__summary {
		animation: none;
		animation-delay: 0ms;
		transform: none;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
	}
}
