/*
Theme Name: Ethereal
Theme URI: https://ethereal.properties/
Author: Ethereal Properties
Description: Custom block theme for the Ethereal Properties portfolio.
Version: 0.5.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: ethereal
*/

@font-face {
	font-family: "GT America Extended Thin";
	src: url("assets/fonts/GT-America-Extended-Thin.woff2") format("woff2");
	font-display: swap;
	font-style: normal;
	font-weight: 100;
}

@font-face {
	font-family: "GT America";
	src: url("assets/fonts/GT-America-Light.woff2") format("woff2");
	font-display: swap;
	font-style: normal;
	font-weight: 300;
}

@font-face {
	font-family: "GT America";
	src: url("assets/fonts/GT-America-Regular.woff2") format("woff2");
	font-display: swap;
	font-style: normal;
	font-weight: 400;
}

:root {
	--ethereal-bg: #e1e0d9;
	--ethereal-brand: #525f4e;
	--ethereal-ink: #363636;
	--ethereal-muted: #70686b;
	--ethereal-gutter: clamp(24px, 5.56vw, 80px);
	--ethereal-max: 1585px;
	--ethereal-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ethereal-ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* No CSS smooth-scroll: it fights Lenis, which owns scrolling when motion is
   allowed. Visitors who prefer reduced motion get plain native scrolling. */
html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
	overflow: hidden;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
	pointer-events: none;
}

body {
	margin: 0;
	background: var(--ethereal-bg);
	color: var(--ethereal-ink);
	font-family: "GT America", Arial, sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar {
	min-height: calc(100vh - 32px);
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

.wp-site-blocks {
	min-height: 100vh;
}

.ethereal-motion-ready [data-ethereal-reveal] {
	opacity: 0;
	transform: translate3d(0, 24px, 0);
	transition:
		opacity 700ms var(--ethereal-ease) var(--ethereal-reveal-delay, 0ms),
		transform 800ms var(--ethereal-ease) var(--ethereal-reveal-delay, 0ms);
}

.ethereal-motion-ready [data-ethereal-reveal].is-revealed {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.ethereal-motion-ready .ethereal-header [data-ethereal-reveal] {
	transform: translate3d(0, 12px, 0);
}

.ethereal-motion-ready .ethereal-header [data-ethereal-reveal].is-revealed {
	transform: translate3d(0, 0, 0);
}

.ethereal-motion-ready .ethereal-header .ethereal-logo[data-ethereal-reveal].is-revealed {
	transition:
		opacity 300ms ease,
		transform 500ms var(--ethereal-ease);
}

.ethereal-fallback-page-transitions .wp-site-blocks {
	transition:
		opacity 280ms ease,
		transform 320ms var(--ethereal-ease-in-out);
}

.ethereal-fallback-page-transitions.ethereal-page-leaving .wp-site-blocks {
	opacity: 0;
	pointer-events: none;
	transform: translate3d(0, -8px, 0);
}

@view-transition {
	navigation: auto;
}

::view-transition-old(root) {
	animation: ethereal-page-out 280ms var(--ethereal-ease-in-out) both;
}

::view-transition-new(root) {
	animation: ethereal-page-in 560ms var(--ethereal-ease) 60ms both;
}

@keyframes ethereal-page-out {
	to {
		opacity: 0;
		transform: translate3d(0, -8px, 0);
	}
}

@keyframes ethereal-page-in {
	from {
		opacity: 0;
		transform: translate3d(0, 14px, 0);
	}
}

.ethereal-header {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	max-width: var(--ethereal-max);
	min-height: 72px;
	padding: 24px var(--ethereal-gutter);
	width: 100%;
}

.ethereal-logo {
	display: inline-flex;
	flex: 0 0 auto;
}

.ethereal-logo {
	transition:
		opacity 300ms ease,
		transform 500ms var(--ethereal-ease);
}

.ethereal-logo svg {
	color: var(--ethereal-brand);
	display: block;
	height: 72px;
	width: auto;
}

.ethereal-logo img {
	display: block;
	height: 72px;
	object-fit: contain;
	width: auto;
}

.ethereal-nav {
	align-items: center;
	color: var(--ethereal-brand);
	display: flex;
	font-family: "GT America Extended Thin", "GT America", Arial, sans-serif;
	font-size: 18px;
	font-weight: 100;
	gap: 20px;
	letter-spacing: 0.01em;
	line-height: 1.4;
}

.ethereal-nav a {
	position: relative;
	text-decoration: none;
	transition:
		color 300ms ease,
		opacity 300ms ease,
		transform 500ms var(--ethereal-ease);
}

.ethereal-nav--desktop > a:not(.ethereal-icon-link)::after {
	background: currentColor;
	bottom: -5px;
	content: "";
	height: 1px;
	left: 0;
	position: absolute;
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform 500ms var(--ethereal-ease);
	width: 100%;
}

.ethereal-nav a:hover,
.ethereal-nav a:focus-visible {
	color: var(--ethereal-ink);
}

.ethereal-icon-link {
	align-items: center;
	display: inline-flex;
	flex: 0 0 28px;
	height: 28px;
	justify-content: center;
	width: 28px;
}

.ethereal-icon-link svg {
	fill: none;
	height: 28px;
	overflow: visible;
	stroke: currentColor;
	stroke-width: 1.5;
	width: 28px;
}

.ethereal-icon-link ellipse {
	fill: currentColor;
	stroke: none;
}

.ethereal-menu-toggle,
.ethereal-mobile-menu {
	display: none;
}

.ethereal-home {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: var(--ethereal-max);
	padding: 0 var(--ethereal-gutter) var(--ethereal-gutter);
	padding-block-start: 24px;
	width: 100%;
}

.ethereal-home-title {
	color: var(--ethereal-brand);
	font-family: "GT America Extended Thin", "GT America", Arial, sans-serif;
	font-size: clamp(72px, 7.8vw, 112px);
	font-weight: 100;
	letter-spacing: -0.045em;
	line-height: 0.92;
	margin: clamp(48px, 5vw, 72px) 0 clamp(32px, 3.5vw, 56px);
	margin-inline-start: -0.04em;
	/* Cap the measure and balance the lines so wide screens cannot orphan a
	   single short word on the last line. */
	max-width: 20ch;
	text-transform: uppercase;
	text-wrap: balance;
}

.ethereal-home-media {
	aspect-ratio: 16 / 9;
	background: #161616;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.ethereal-home-intro {
	margin: 0 0 clamp(56px, 6vw, 96px);
	max-width: 62ch;
}

.ethereal-home-intro p {
	margin: 0 0 1.15em;
}

.ethereal-home-intro p:last-child {
	margin-bottom: 0;
}

.ethereal-video {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.ethereal-video-expand {
	align-items: center;
	background: rgba(22, 22, 22, 0.42);
	border: 0;
	border-radius: 2px;
	bottom: 16px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: 16px;
	transition:
		background-color 300ms ease,
		opacity 300ms ease;
	width: 44px;
}

.ethereal-video-expand[hidden] {
	display: none;
}

.ethereal-video-expand svg {
	fill: none;
	height: 20px;
	stroke: currentColor;
	stroke-width: 1.5;
	width: 20px;
}

.ethereal-video-expand:hover,
.ethereal-video-expand:focus-visible {
	background: rgba(22, 22, 22, 0.68);
}

/* In fullscreen the container matches the screen, so show the whole frame. */
.ethereal-home-media:fullscreen {
	aspect-ratio: auto;
	height: 100%;
	width: 100%;
}

.ethereal-home-media:fullscreen .ethereal-video {
	object-fit: contain;
}

.ethereal-spotlight {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: var(--ethereal-max);
	padding: clamp(80px, 8vw, 128px) var(--ethereal-gutter) clamp(96px, 9vw, 140px);
	width: 100%;
}

.ethereal-spotlight-heading {
	color: var(--ethereal-brand);
	font-family: "GT America Extended Thin", "GT America", Arial, sans-serif;
	font-size: clamp(32px, 4.4vw, 60px);
	font-weight: 100;
	letter-spacing: -0.03em;
	line-height: 0.95;
	margin: 0 0 clamp(48px, 5vw, 80px);
	margin-inline-start: -0.04em;
	text-transform: uppercase;
}

.ethereal-spotlight-grid {
	display: grid;
	gap: 80px 32px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ethereal-spotlight-item a {
	color: var(--ethereal-brand);
	display: block;
	text-decoration: none;
}

.ethereal-spotlight-media {
	aspect-ratio: 3 / 2;
	background: rgba(82, 95, 78, 0.08);
	margin: 0;
	overflow: hidden;
}

.ethereal-spotlight-media img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 900ms var(--ethereal-ease);
	width: 100%;
}

.ethereal-spotlight-item h3 {
	font-size: clamp(20px, 1.5vw, 24px);
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.35;
	margin: 28px 0 0;
	transition:
		color 300ms ease,
		transform 600ms var(--ethereal-ease);
}

.ethereal-spotlight-location {
	color: var(--ethereal-muted);
	font-size: 16px;
	margin: 6px 0 0;
	transition: transform 600ms var(--ethereal-ease);
}

.ethereal-archive,
.ethereal-project {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: var(--ethereal-max);
	width: 100%;
}

.ethereal-archive {
	padding: clamp(96px, 8vw, 128px) var(--ethereal-gutter) 112px;
}

.ethereal-project {
	padding: 54px var(--ethereal-gutter) 96px;
}

.ethereal-archive-heading h1 {
	color: var(--ethereal-brand);
	font-family: "GT America Extended Thin", "GT America", Arial, sans-serif;
	font-size: clamp(72px, 7.8vw, 112px);
	font-weight: 100;
	letter-spacing: -0.045em;
	line-height: 0.92;
	margin: 0 0 clamp(184px, 16vw, 232px);
	margin-inline-start: -0.04em;
	text-transform: uppercase;
}

.ethereal-project-grid {
	display: grid;
	gap: 80px 32px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ethereal-project-card a {
	color: var(--ethereal-brand);
	display: block;
	text-decoration: none;
}

.ethereal-project-card-media {
	aspect-ratio: 3 / 2;
	background: rgba(82, 95, 78, 0.08);
	margin: 0;
	overflow: hidden;
}

.ethereal-project-card img {
	aspect-ratio: 3 / 2;
	display: block;
	height: 100%;
	object-fit: cover;
	transition:
		filter 700ms ease,
		transform 900ms var(--ethereal-ease);
	width: 100%;
}

.ethereal-project-card a:hover img,
.ethereal-project-card a:focus-visible img {
	transform: scale(1.035);
}

.ethereal-project-card a:focus-visible {
	outline: 1px solid var(--ethereal-brand);
	outline-offset: 8px;
}

.ethereal-project-card h2 {
	font-size: clamp(20px, 1.5vw, 24px);
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.35;
	margin: 28px 0 0;
	transition:
		color 300ms ease,
		transform 600ms var(--ethereal-ease);
}

.ethereal-project-card-location {
	font-size: 18px;
	line-height: 1.35;
	margin: 6px 0 0;
	transition:
		opacity 300ms ease,
		transform 600ms var(--ethereal-ease);
}

.ethereal-project-intro {
	display: grid;
	gap: 64px 72px;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
	margin-bottom: 128px;
}

.ethereal-project-intro h1 {
	font-size: clamp(46px, 4.1vw, 64px);
	font-weight: 300;
	grid-column: 1;
	letter-spacing: -0.035em;
	line-height: 1.2;
	margin: 0;
	max-width: 14ch;
}

.ethereal-project-location,
.ethereal-project-facts {
	font-size: clamp(20px, 1.65vw, 24px);
	font-weight: 300;
	line-height: 1.5;
}

.ethereal-project-location {
	align-items: center;
	display: flex;
	gap: 24px;
	margin: 0;
}

.ethereal-project-location span {
	border-top: 1px solid rgba(54, 54, 54, 0.18);
	flex: 1 1 auto;
	transform: scaleX(1);
	transform-origin: left center;
	transition: transform 900ms var(--ethereal-ease) 180ms;
}

.ethereal-motion-ready .ethereal-project-location[data-ethereal-reveal]:not(.is-revealed) span {
	transform: scaleX(0);
}

.ethereal-project-location p {
	flex: 0 0 auto;
	margin: 0;
}

.ethereal-project-facts {
	display: grid;
	gap: 20px 40px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.ethereal-project-facts li::before {
	content: "•";
	margin-right: 10px;
}

.ethereal-project-description {
	align-self: end;
	font-size: 18px;
	line-height: 1.5;
}

.ethereal-project-description p {
	margin: 0 0 1.5em;
}

.ethereal-project-description p:last-child {
	margin-bottom: 0;
}

.ethereal-project-gallery {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ethereal-project-gallery figure {
	margin: 0;
	overflow: hidden;
}

.ethereal-gallery-trigger {
	background: none;
	border: 0;
	cursor: zoom-in;
	display: block;
	padding: 0;
	width: 100%;
}

.ethereal-lightbox {
	background: rgba(22, 22, 22, 0.94);
	border: 0;
	box-sizing: border-box;
	height: 100%;
	/* The UA stylesheet insets a modal dialog and caps its size, which is what
	   produced the stray scrollbar and off-centre stage. */
	inset: 0;
	margin: 0;
	max-height: 100%;
	max-width: 100%;
	overflow: hidden;
	padding: 0;
	position: fixed;
	width: 100%;
}

.ethereal-lightbox::backdrop {
	background: rgba(22, 22, 22, 0.94);
}

body.ethereal-lightbox-open {
	overflow: hidden;
}

.ethereal-lightbox-stage {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	height: 100%;
	justify-content: center;
	margin: 0;
	padding: clamp(56px, 9vh, 96px) clamp(52px, 7vw, 112px);
	width: 100%;
}

.ethereal-lightbox-stage img {
	display: block;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.ethereal-lightbox-close,
.ethereal-lightbox-nav {
	align-items: center;
	background: none;
	border: 0;
	color: #f2f1ea;
	cursor: pointer;
	display: inline-flex;
	justify-content: center;
	padding: 0;
	position: absolute;
	transition: opacity 300ms ease;
	z-index: 1;
}

.ethereal-lightbox-close {
	height: 48px;
	right: clamp(12px, 2vw, 28px);
	top: clamp(12px, 2vw, 28px);
	width: 48px;
}

.ethereal-lightbox-nav {
	height: 56px;
	top: 50%;
	transform: translateY(-50%);
	width: 56px;
}

.ethereal-lightbox-prev {
	left: clamp(4px, 1.5vw, 24px);
}

.ethereal-lightbox-next {
	right: clamp(4px, 1.5vw, 24px);
}

.ethereal-lightbox-close svg,
.ethereal-lightbox-nav svg {
	fill: none;
	height: 26px;
	stroke: currentColor;
	stroke-width: 1.25;
	width: 26px;
}

.ethereal-lightbox-close:hover,
.ethereal-lightbox-nav:hover,
.ethereal-lightbox-close:focus-visible,
.ethereal-lightbox-nav:focus-visible {
	opacity: 0.62;
}

.ethereal-lightbox-nav[hidden] {
	display: none;
}

.ethereal-lightbox-counter {
	bottom: clamp(12px, 2vw, 28px);
	color: #f2f1ea;
	font-size: 14px;
	left: 50%;
	letter-spacing: 0.04em;
	margin: 0;
	position: absolute;
	transform: translateX(-50%);
}

.ethereal-lightbox-counter[hidden] {
	display: none;
}

.ethereal-project-gallery img {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	object-fit: cover;
	transform: scale(1);
	transition: transform 1200ms var(--ethereal-ease);
	width: 100%;
}

.ethereal-motion-ready .ethereal-project-gallery figure[data-ethereal-reveal]:not(.is-revealed) img {
	transform: scale(1.025);
}

@media (hover: hover) and (pointer: fine) {
	.ethereal-motion-ready .ethereal-header .ethereal-logo[data-ethereal-reveal].is-revealed:hover {
		opacity: 0.72;
		transform: translate3d(0, -2px, 0);
	}

	.ethereal-nav--desktop > a:not(.ethereal-icon-link):hover::after,
	.ethereal-nav--desktop > a:not(.ethereal-icon-link):focus-visible::after {
		transform: scaleX(1);
		transform-origin: left center;
	}

	.ethereal-icon-link:hover {
		opacity: 0.68;
		transform: translate3d(0, -2px, 0);
	}

	.ethereal-project-card a:hover h2,
	.ethereal-project-card a:focus-visible h2,
	.ethereal-project-card a:hover .ethereal-project-card-location,
	.ethereal-project-card a:focus-visible .ethereal-project-card-location {
		transform: translate3d(4px, 0, 0);
	}

	.ethereal-project-gallery figure:hover img {
		transform: scale(1.012);
	}

	.ethereal-spotlight-item a:hover h3,
	.ethereal-spotlight-item a:focus-visible h3,
	.ethereal-spotlight-item a:hover .ethereal-spotlight-location,
	.ethereal-spotlight-item a:focus-visible .ethereal-spotlight-location {
		transform: translate3d(4px, 0, 0);
	}

	.ethereal-spotlight-item a:hover .ethereal-spotlight-media img {
		transform: scale(1.012);
	}
}

.ethereal-project-card a:active img {
	transform: scale(1.012);
}

@media (max-width: 800px) {
	body.admin-bar {
		min-height: calc(100vh - 46px);
	}

	.ethereal-header {
		align-items: center;
		min-height: 0;
		padding-bottom: 24px;
		padding-top: 24px;
	}

	.ethereal-logo svg,
	.ethereal-logo img {
		height: 52px;
	}

	body.ethereal-menu-open {
		overflow: hidden;
	}

	.ethereal-mobile-menu-ready .ethereal-nav--desktop {
		display: none;
	}

	.ethereal-menu-toggle,
	.ethereal-mobile-menu-close {
		appearance: none;
		background: transparent;
		border: 0;
		border-radius: 0;
		cursor: pointer;
		margin: 0;
		padding: 0;
	}

	.ethereal-menu-toggle {
		align-items: center;
		flex: 0 0 44px;
		height: 44px;
		justify-content: center;
		position: relative;
		transition:
			opacity 250ms ease,
			transform 400ms var(--ethereal-ease);
		width: 44px;
	}

	.ethereal-menu-toggle:hover {
		opacity: 0.68;
	}

	.ethereal-menu-toggle:active,
	.ethereal-mobile-menu-close:active {
		transform: scale(0.92);
	}

	.ethereal-motion-ready .ethereal-header .ethereal-menu-toggle[data-ethereal-reveal].is-revealed:active {
		transform: scale(0.92);
	}

	.ethereal-motion-ready .ethereal-header .ethereal-menu-toggle[data-ethereal-reveal].is-revealed {
		transition:
			opacity 250ms ease,
			transform 400ms var(--ethereal-ease);
	}

	.ethereal-mobile-menu-ready .ethereal-menu-toggle {
		display: inline-flex;
	}

	.ethereal-menu-toggle span {
		background: var(--ethereal-brand);
		height: 1.5px;
		left: 8px;
		position: absolute;
		transition: transform 180ms ease;
		width: 28px;
	}

	.ethereal-menu-toggle span:first-child {
		transform: translateY(-5px);
	}

	.ethereal-menu-toggle span:last-child {
		transform: translateY(5px);
	}

	.ethereal-menu-toggle:focus-visible {
		outline: 1px solid var(--ethereal-brand);
		outline-offset: 3px;
	}

	.ethereal-mobile-menu {
		display: block;
		inset: 0;
		pointer-events: none;
		position: fixed;
		transition: visibility 0s linear 740ms;
		visibility: hidden;
		z-index: 100000;
	}

	.ethereal-mobile-menu.is-open {
		pointer-events: auto;
		transition-delay: 0s;
		visibility: visible;
	}

	.ethereal-mobile-menu-panel {
		align-items: center;
		background: var(--ethereal-brand);
		box-sizing: border-box;
		color: var(--ethereal-bg);
		display: flex;
		inset: 0;
		justify-content: center;
		min-height: 100vh;
		min-height: 100dvh;
		padding: 96px var(--ethereal-gutter);
		position: absolute;
		transform: translateX(100%);
		transition: transform 620ms var(--ethereal-ease-in-out) 120ms;
	}

	.ethereal-mobile-menu.is-open .ethereal-mobile-menu-panel {
		transform: translateX(0);
		transition-delay: 0s;
	}

	.ethereal-mobile-menu-close {
		color: inherit;
		height: 44px;
		opacity: 0;
		position: absolute;
		right: var(--ethereal-gutter);
		top: 28px;
		transition:
			opacity 220ms ease,
			transform 400ms var(--ethereal-ease);
		width: 44px;
	}

	.ethereal-mobile-menu.is-open .ethereal-mobile-menu-close {
		opacity: 1;
		transition-delay: 300ms;
	}

	.ethereal-mobile-menu-close span {
		background: currentColor;
		height: 1.5px;
		left: 8px;
		position: absolute;
		top: 21px;
		width: 28px;
	}

	.ethereal-mobile-menu-close span:first-child {
		transform: rotate(45deg);
	}

	.ethereal-mobile-menu-close span:last-child {
		transform: rotate(-45deg);
	}

	.ethereal-mobile-menu-close:focus-visible {
		outline: 1px solid currentColor;
		outline-offset: 3px;
	}

	.ethereal-mobile-menu-nav {
		align-items: center;
		display: flex;
		flex-direction: column;
		font-family: "GT America Extended Thin", "GT America", Arial, sans-serif;
		font-size: clamp(24px, 8vw, 40px);
		font-weight: 100;
		gap: 28px;
		letter-spacing: 0.01em;
		line-height: 1.15;
		text-align: center;
	}

	.ethereal-mobile-menu-nav a {
		color: inherit;
		opacity: 0;
		text-decoration: none;
		transform: translate3d(0, 18px, 0);
		transition:
			color 300ms ease,
			opacity 450ms var(--ethereal-ease),
			transform 550ms var(--ethereal-ease);
	}

	.ethereal-mobile-menu.is-open .ethereal-mobile-menu-nav a {
		opacity: 1;
		transform: translate3d(0, 0, 0);
		transition-delay: 450ms;
	}

	.ethereal-mobile-menu.is-open .ethereal-mobile-menu-nav a:nth-child(2) {
		transition-delay: 520ms;
	}

	.ethereal-mobile-menu.is-open .ethereal-mobile-menu-nav a:nth-child(3) {
		transition-delay: 590ms;
	}

	.ethereal-mobile-menu-nav a:hover,
	.ethereal-mobile-menu-nav a:focus-visible {
		color: #fff;
	}

	.ethereal-mobile-menu-nav a:focus-visible {
		outline: 1px solid currentColor;
		outline-offset: 8px;
	}

	.ethereal-mobile-instagram {
		align-items: center;
		display: inline-flex;
		gap: 14px;
	}

	.ethereal-mobile-instagram svg {
		fill: none;
		height: 30px;
		stroke: currentColor;
		stroke-width: 1.25;
		width: 30px;
	}

	.ethereal-mobile-instagram ellipse {
		fill: currentColor;
		stroke: none;
	}

	.ethereal-home {
		padding-bottom: 24px;
	}

	.ethereal-home-title {
		font-size: clamp(42px, 12vw, 52px);
		line-height: 0.95;
		margin: 36px 0 40px;
	}

	.ethereal-home-media {
		aspect-ratio: 16 / 9;
	}

	.ethereal-home-intro {
		margin: 0 0 40px;
	}

	.ethereal-spotlight {
		padding-bottom: 64px;
		padding-top: 64px;
	}

	.ethereal-spotlight-heading {
		margin-bottom: 40px;
	}

	.ethereal-spotlight-grid {
		gap: 64px;
		grid-template-columns: 1fr;
	}

	.ethereal-spotlight-item h3 {
		font-size: 20px;
		margin-top: 24px;
	}

	.ethereal-lightbox-stage {
		padding: 56px 44px;
	}

	.ethereal-lightbox-nav {
		height: 44px;
		width: 44px;
	}

	.ethereal-lightbox-close {
		height: 44px;
		width: 44px;
	}

	.ethereal-lightbox-close svg,
	.ethereal-lightbox-nav svg {
		height: 22px;
		width: 22px;
	}

	.ethereal-archive,
	.ethereal-project {
		padding-bottom: 48px;
	}

	.ethereal-archive {
		padding-top: 52px;
	}

	.ethereal-project {
		padding-top: 36px;
	}

	.ethereal-archive-heading h1 {
		font-size: clamp(42px, 12vw, 52px);
		line-height: 0.95;
		margin-bottom: 64px;
	}

	.ethereal-project-grid,
	.ethereal-project-gallery {
		grid-template-columns: 1fr;
	}

	.ethereal-project-grid {
		gap: 64px;
	}

	.ethereal-project-card h2 {
		font-size: 20px;
		margin-top: 24px;
	}

	.ethereal-project-card-location {
		font-size: 18px;
		margin-top: 6px;
	}

	.ethereal-project-intro {
		gap: 44px;
		grid-template-columns: 1fr;
		margin-bottom: 56px;
	}

	.ethereal-project-intro h1 {
		grid-column: auto;
	}

	.ethereal-project-location {
		order: 2;
	}

	.ethereal-project-facts-wrap {
		order: 3;
	}

	.ethereal-project-description {
		order: 4;
	}

	.ethereal-project-facts {
		grid-template-columns: 1fr;
	}

	.ethereal-project-description {
		align-self: auto;
	}

	.ethereal-project-gallery {
		gap: 16px;
	}
}

@media print {
	.ethereal-motion-ready [data-ethereal-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	::view-transition-group(root),
	::view-transition-old(root),
	::view-transition-new(root) {
		animation-duration: 1ms;
	}

	.ethereal-motion-ready [data-ethereal-reveal],
	.ethereal-fallback-page-transitions .wp-site-blocks,
	.ethereal-logo,
	.ethereal-nav a,
	.ethereal-nav--desktop > a:not(.ethereal-icon-link)::after,
	.ethereal-project-card img,
	.ethereal-project-card h2,
	.ethereal-project-card-location,
	.ethereal-project-location span,
	.ethereal-project-gallery img,
	.ethereal-menu-toggle {
		transition: none;
	}

	.ethereal-mobile-menu,
	.ethereal-mobile-menu-panel,
	.ethereal-mobile-menu-close,
	.ethereal-mobile-menu-nav,
	.ethereal-mobile-menu-nav a {
		transition: none;
	}
}
