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

html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	color: var(--wp--preset--color--text);
	background: var(--wp--preset--color--background);
	font-family: var(--wp--preset--font-family--system-sans);
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

::selection {
	color: var(--wp--preset--color--text);
	background: var(--wp--preset--color--selection);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-block: var(--wp--preset--spacing--large) var(--wp--preset--spacing--small);
	font-family: var(--wp--preset--font-family--system-serif);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0;
	text-wrap: balance;
}

h1 {
	max-width: var(--wp--style--global--content-size);
	font-size: var(--wp--preset--font-size--3-x-large);
}

h2 {
	font-size: var(--wp--preset--font-size--2-x-large);
}

h3 {
	font-size: var(--wp--preset--font-size--x-large);
}

h4 {
	font-size: var(--wp--preset--font-size--large);
}

h5 {
	font-size: var(--wp--preset--font-size--medium);
}

h6 {
	font-size: var(--wp--preset--font-size--base);
}

p,
ul,
ol,
dl,
blockquote,
pre,
table,
figure {
	margin-block: 0 var(--wp--preset--spacing--medium);
}

p,
li,
dd,
figcaption,
caption {
	max-width: var(--wp--style--global--content-size);
}

ul,
ol {
	padding-inline-start: 1.5rem;
}

li + li {
	margin-block-start: 0.35rem;
}

dt {
	font-weight: 700;
}

dd {
	margin-inline-start: 0;
	margin-block-end: var(--wp--preset--spacing--small);
}

a {
	color: var(--wp--preset--color--link);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: var(--wp--preset--color--link-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--wp--preset--color--focus);
	outline-offset: 3px;
}

small,
figcaption,
caption,
.entry-meta,
.entry-taxonomy,
.site-description,
.wp-caption-text {
	color: var(--wp--preset--color--muted-text);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
}

.entry-meta,
.entry-taxonomy {
	margin-block: 0 var(--wp--preset--spacing--small);
}

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

figure {
	max-width: var(--wp--style--global--wide-size);
}

figcaption {
	margin-block-start: var(--wp--preset--spacing--small);
}

blockquote {
	max-width: var(--wp--style--global--content-size);
	padding-inline-start: var(--wp--preset--spacing--medium);
	border-inline-start: 3px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--system-serif);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.6;
}

blockquote > :last-child {
	margin-block-end: 0;
}

code,
kbd,
samp {
	padding: 0.1em 0.25em;
	background: var(--wp--preset--color--surface);
	font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 0.92em;
}

pre {
	max-width: var(--wp--style--global--wide-size);
	padding: var(--wp--preset--spacing--medium);
	overflow-x: auto;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	line-height: 1.55;
}

pre code {
	padding: 0;
	background: transparent;
	font-size: inherit;
}

table {
	width: 100%;
	max-width: var(--wp--style--global--wide-size);
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
}

th,
td {
	padding: 0.6rem 0.75rem;
	border: 1px solid var(--wp--preset--color--border);
	text-align: start;
	vertical-align: top;
}

th {
	background: var(--wp--preset--color--surface);
	font-weight: 700;
}

.skip-link {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 1000;
	padding: 0.5rem 0.75rem;
	color: var(--wp--preset--color--background);
	background: var(--wp--preset--color--text);
	transform: translateY(-150%);
}

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

.site-header,
.site-main,
.site-footer {
	width: min(100% - 2rem, var(--wp--style--global--wide-size));
	margin-inline: auto;
}

.site-header {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--medium);
	padding-block: var(--wp--preset--spacing--medium);
	border-block-end: 1px solid var(--wp--preset--color--border);
	box-shadow: inset 0 -1px 0 var(--wp--preset--color--surface);
}

.site-branding {
	max-width: var(--wp--style--global--content-size);
}

.site-title {
	margin-block: 0;
	font-family: var(--wp--preset--font-family--system-serif);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
	line-height: 1.1;
}

.site-title a {
	text-decoration: none;
}

.site-title a:hover,
.site-title a:focus {
	text-decoration: underline;
	text-decoration-thickness: 0.06em;
	text-underline-offset: 0.18em;
}

.site-description {
	max-width: var(--wp--style--global--content-size);
	margin-block: var(--wp--preset--spacing--small) 0;
}

.site-footer {
	margin-block-start: calc(var(--wp--preset--spacing--large) + var(--wp--preset--spacing--medium));
	padding-block: var(--wp--preset--spacing--large);
	border-block-start: 1px solid var(--wp--preset--color--border);
	box-shadow: inset 0 1px 0 var(--wp--preset--color--surface);
}

.site-main {
	padding-block: var(--wp--preset--spacing--large);
}

.primary-navigation ul,
.footer-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-navigation {
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.4;
}

.primary-navigation a,
.footer-navigation a {
	text-decoration-thickness: 0.06em;
	text-underline-offset: 0.25em;
}

.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a,
.primary-navigation .current-menu-ancestor > a {
	color: var(--wp--preset--color--text);
}

.site-footer__inner {
	display: grid;
	gap: var(--wp--preset--spacing--medium);
}

.site-footer__title,
.site-footer__meta {
	margin-block: 0;
}

.site-footer__title {
	font-family: var(--wp--preset--font-family--system-serif);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	line-height: 1.2;
}

.site-footer__title a {
	text-decoration: none;
}

.site-footer__meta,
.footer-navigation {
	color: var(--wp--preset--color--muted-text);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
}

.entry-card,
.project-card,
.page-content,
.site-content-entry {
	max-width: var(--wp--style--global--content-size);
}

.home-hero,
.home-featured-projects,
.home-latest,
.home-cabinet,
.home-reflection {
	position: relative;
	margin-block-end: calc(var(--wp--preset--spacing--large) + var(--wp--preset--spacing--medium));
	padding-block-start: var(--wp--preset--spacing--large);
	border-block-start: 1px solid var(--wp--preset--color--border);
}

.home-hero {
	max-width: var(--wp--style--global--content-size);
	padding-block: var(--wp--preset--spacing--large);
	border-block-end: 1px solid var(--wp--preset--color--border);
}

.home-hero > h1 {
	margin-block-start: 0;
	margin-block-end: var(--wp--preset--spacing--medium);
	font-size: var(--wp--preset--font-size--2-x-large);
}

.home-hero__welcome {
	max-width: var(--wp--style--global--content-size);
}

.home-hero__welcome h2 {
	margin-block-start: 0;
	font-size: var(--wp--preset--font-size--large);
}

.home-hero__welcome p {
	margin-block-end: 1.15rem;
}

.home-hero__welcome p:last-child {
	margin-block-start: var(--wp--preset--spacing--medium);
	margin-block-end: 0;
}

.home-hero__words {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.75rem 1.25rem;
	max-width: var(--wp--style--global--content-size);
	margin-block-start: var(--wp--preset--spacing--large);
	padding-block-start: var(--wp--preset--spacing--medium);
	padding-inline-start: 0;
	border-block-start: 1px solid var(--wp--preset--color--border);
	list-style: none;
	font-family: var(--wp--preset--font-family--system-serif);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.4;
}

.home-hero__words li {
	max-width: none;
}

.home-featured-projects > h2,
.home-latest > h2,
.home-cabinet > h2,
.home-reflection > h2 {
	margin-block-start: 0;
	margin-block-end: var(--wp--preset--spacing--medium);
	padding-block-end: 0.35rem;
	border-block-end: 1px solid var(--wp--preset--color--border);
	font-size: var(--wp--preset--font-size--large);
}

.home-card-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: var(--wp--preset--spacing--medium);
	max-width: var(--wp--style--global--wide-size);
	margin-block-start: var(--wp--preset--spacing--medium);
}

.home-card,
.home-entry {
	position: relative;
	padding: var(--wp--preset--spacing--medium);
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--background);
}

.home-card {
	display: flex;
	min-height: 14rem;
	flex-direction: column;
	justify-content: space-between;
}

.home-card::before,
.home-entry::before {
	position: absolute;
	inset-block-start: var(--wp--preset--spacing--small);
	inset-inline: var(--wp--preset--spacing--medium);
	display: block;
	border-block-start: 1px solid var(--wp--preset--color--border);
	content: "";
}

.home-card:hover,
.home-card:focus-within,
.home-entry:hover,
.home-entry:focus-within {
	border-color: var(--wp--preset--color--accent);
	box-shadow:
		inset 0 0 0 1px var(--wp--preset--color--background),
		0 0.25rem 0 var(--wp--preset--color--border);
}

.home-card h3,
.home-entry h3 {
	margin-block-start: 0;
	padding-block-start: var(--wp--preset--spacing--small);
	font-size: var(--wp--preset--font-size--medium);
}

.home-card p,
.home-entry p,
.home-entry .entry-summary {
	font-size: var(--wp--preset--font-size--small);
}

.home-card p:last-child,
.home-entry > :last-child,
.home-entry .entry-summary > :last-child,
.home-cabinet > :last-child,
.home-reflection > :last-child,
.site-footer > :last-child {
	margin-block-end: 0;
}

.home-entry-list {
	display: grid;
	gap: var(--wp--preset--spacing--medium);
	max-width: var(--wp--style--global--content-size);
	margin-block-start: var(--wp--preset--spacing--medium);
}

.home-cabinet,
.home-reflection {
	max-width: var(--wp--style--global--content-size);
}

.about-header,
.project-exhibit__header {
	margin-block-end: calc(var(--wp--preset--spacing--large) + var(--wp--preset--spacing--medium));
}

.about-header p,
.project-exhibit__header p {
	font-family: var(--wp--preset--font-family--system-serif);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
}

.about-section,
.project-section {
	padding-block-start: var(--wp--preset--spacing--large);
	border-block-start: 1px solid var(--wp--preset--color--border);
}

.about-section + .about-section,
.project-section + .project-section {
	margin-block-start: var(--wp--preset--spacing--large);
}

.about-section h2,
.project-section h2 {
	margin-block-start: 0;
	margin-block-end: var(--wp--preset--spacing--medium);
	padding-block-end: 0.35rem;
	border-block-end: 1px solid var(--wp--preset--color--border);
	font-size: var(--wp--preset--font-size--large);
}

.project-link-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	padding-inline-start: 0;
	list-style: none;
}

.project-link-list li {
	max-width: none;
}

.metadata-list {
	display: grid;
	gap: var(--wp--preset--spacing--small);
	max-width: var(--wp--style--global--content-size);
}

.metadata-list > div {
	display: grid;
	grid-template-columns: minmax(9rem, 0.4fr) minmax(0, 1fr);
	gap: var(--wp--preset--spacing--small) var(--wp--preset--spacing--medium);
	padding-block-end: var(--wp--preset--spacing--small);
	border-block-end: 1px solid var(--wp--preset--color--border);
}

.metadata-list dt {
	color: var(--wp--preset--color--muted-text);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}

.metadata-list dd {
	margin-block-end: 0;
}

.exhibit-timeline {
	display: grid;
	gap: var(--wp--preset--spacing--medium);
	max-width: var(--wp--style--global--content-size);
	padding-inline-start: 0;
	list-style: none;
}

.exhibit-timeline li,
.educational-callout,
.related-exhibit-card,
.exhibit-figure {
	padding: var(--wp--preset--spacing--medium);
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--background);
}

.exhibit-timeline h3,
.educational-callout h3,
.related-exhibit-card h3 {
	margin-block-start: 0;
	font-size: var(--wp--preset--font-size--medium);
}

.related-exhibit-list,
.exhibit-gallery {
	display: grid;
	gap: var(--wp--preset--spacing--medium);
	max-width: var(--wp--style--global--content-size);
}

.exhibit-figure {
	max-width: var(--wp--style--global--content-size);
}

.exhibit-figure__placeholder {
	min-height: 12rem;
	border: 1px dashed var(--wp--preset--color--border);
	background: var(--wp--preset--color--background);
}

.exhibit-figure figcaption {
	margin-block-start: var(--wp--preset--spacing--medium);
}

.placeholder-note {
	padding: var(--wp--preset--spacing--medium);
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
}

.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;
}

@media (max-width: 48rem) {
	h1 {
		font-size: var(--wp--preset--font-size--2-x-large);
	}

	h2 {
		font-size: var(--wp--preset--font-size--x-large);
	}

	h3 {
		font-size: var(--wp--preset--font-size--large);
	}

	.site-header,
	.site-main,
	.site-footer {
		width: min(100% - 1.5rem, var(--wp--style--global--wide-size));
	}

	.site-header {
		gap: var(--wp--preset--spacing--small);
	}

	.primary-navigation ul,
	.footer-navigation ul {
		gap: 0.5rem 0.875rem;
	}

	.metadata-list > div {
		grid-template-columns: 1fr;
	}

	pre,
	table {
		font-size: var(--wp--preset--font-size--x-small);
	}

	.home-hero,
	.site-footer {
		padding-block: var(--wp--preset--spacing--medium);
	}

	.home-hero > h1 {
		font-size: var(--wp--preset--font-size--x-large);
	}

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

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
