/*
Theme Name: SAMEHEART DESIGNER
Theme URI: https://example.com/
Author: SAMEHEART DESIGNER
Description: 為 SAMEHEART DESIGNER 製作的響應式室內設計作品網站。
Version: 2.4.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: sameheart-designer
*/

:root {
	--ink: #24231f;
	--muted: #6f6c64;
	--paper: #f4f1eb;
	--paper-deep: #e9e4dc;
	--white: #fff;
	--line: rgba(36, 35, 31, 0.18);
	--dark: #252823;
	--dark-soft: #343831;
	--accent: #8a806d;
	--header-height: 82px;
	--logo-width: 220px;
	--shell: min(1280px, calc(100vw - 96px));
	--serif: "Noto Serif TC", "Songti TC", "PMingLiU", "Times New Roman", serif;
	--sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
	--sh-hero-title-size: 68px;
	--sh-hero-title-width: 760px;
	--sh-hero-title-mobile-size: 42px;
	--sh-hero-title-mobile-width: 100%;
	--sh-about-title-size: 48px;
	--sh-about-title-width: 680px;
	--sh-about-title-mobile-size: 28px;
	--sh-about-title-mobile-width: 100%;
	--sh-services-title-size: 52px;
	--sh-services-title-width: 760px;
	--sh-services-title-mobile-size: 34px;
	--sh-services-title-mobile-width: 100%;
	--sh-projects-title-size: 46px;
	--sh-projects-title-width: 680px;
	--sh-projects-title-mobile-size: 34px;
	--sh-projects-title-mobile-width: 100%;
	--sh-method-title-size: 48px;
	--sh-method-title-width: 560px;
	--sh-method-title-mobile-size: 34px;
	--sh-method-title-mobile-width: 100%;
	--sh-process-title-size: 52px;
	--sh-process-title-width: 680px;
	--sh-process-title-mobile-size: 34px;
	--sh-process-title-mobile-width: 100%;
	--sh-contact-title-size: 38px;
	--sh-contact-title-width: 420px;
	--sh-contact-title-mobile-size: 34px;
	--sh-contact-title-mobile-width: 100%;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--paper);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.8;
	letter-spacing: 0.035em;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

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

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

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

button,
select {
	cursor: pointer;
}

p,
h1,
h2,
h3,
h4,
figure,
dl,
dd {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

.screen-reader-text {
	position: absolute !important;
	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: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 12px 18px;
	color: var(--ink);
	background: var(--white);
	clip: auto;
}

.section-shell {
	width: var(--shell);
	margin-inline: auto;
}

.site-main {
	overflow: clip;
}

.section-kicker {
	margin-bottom: 20px;
	color: var(--accent);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.22em;
}

.section-heading {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
	gap: 80px;
	align-items: end;
	margin-bottom: 72px;
}

.section-heading h2,
.home-about h2,
.home-philosophy h2,
.project-overview h2,
.project-gallery h2,
.page-cta h2,
.about-intro h2,
.page-hero h1 {
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0.06em;
}

.section-heading h2 {
	font-size: clamp(2rem, 3.3vw, 3.5rem);
}

.section-heading > p {
	max-width: 460px;
	padding-bottom: 8px;
	color: var(--muted);
}

.button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 12px 30px;
	border: 1px solid transparent;
	background: transparent;
	font-size: 0.84rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	transition: color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.button--light {
	color: var(--ink);
	background: var(--white);
}

.button--light:hover,
.button--light:focus-visible {
	color: var(--white);
	background: transparent;
	border-color: rgba(255, 255, 255, 0.72);
}

.button--dark {
	color: var(--white);
	background: var(--ink);
}

.button--dark:hover,
.button--dark:focus-visible {
	color: var(--ink);
	background: transparent;
	border-color: var(--ink);
}

.button--outline {
	border-color: var(--ink);
}

.button--outline:hover,
.button--outline:focus-visible {
	color: var(--white);
	background: var(--ink);
}

.text-link {
	display: inline-flex;
	gap: 16px;
	align-items: center;
	padding-bottom: 5px;
	border-bottom: 1px solid currentColor;
	font-size: 0.83rem;
	font-weight: 600;
	letter-spacing: 0.11em;
	transition: opacity 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
	opacity: 0.58;
}

.text-link--light {
	color: var(--white);
}

/* Header */

.site-header {
	position: sticky;
	z-index: 1000;
	top: 0;
	width: 100%;
	height: var(--header-height);
	color: var(--ink);
	background: rgba(244, 241, 235, 0.96);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(18px);
	transition: color 260ms ease, background 260ms ease, border-color 260ms ease;
}

.home .site-header {
	position: fixed;
	color: var(--white);
	background: transparent;
	border-color: transparent;
	backdrop-filter: none;
}

.home .site-header.is-scrolled,
.home .site-header.is-menu-open {
	color: var(--ink);
	background: rgba(244, 241, 235, 0.96);
	border-color: var(--line);
	backdrop-filter: blur(18px);
}

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

.site-header__inner {
	display: grid;
	width: min(1440px, calc(100vw - 64px));
	height: 100%;
	margin-inline: auto;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
}

.brand-wrap {
	display: flex;
	align-items: center;
}

.brand {
	display: inline-block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.94rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	white-space: nowrap;
}

.custom-logo-link {
	display: block;
	width: var(--logo-width);
	max-width: min(100%, 360px);
}

.custom-logo {
	width: 100%;
	max-height: 54px;
	object-fit: contain;
	object-position: left center;
}

.desktop-nav {
	justify-self: center;
}

.desktop-nav__list,
.desktop-nav {
	display: flex;
	gap: clamp(24px, 3vw, 50px);
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.desktop-nav a {
	position: relative;
	display: block;
	padding-block: 8px;
	font-size: 0.82rem;
	letter-spacing: 0.1em;
	white-space: nowrap;
}

.desktop-nav a::after {
	position: absolute;
	right: 0;
	bottom: 2px;
	left: 0;
	height: 1px;
	background: currentColor;
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav .current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.header-cta {
	justify-self: end;
	padding-bottom: 3px;
	border-bottom: 1px solid currentColor;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
}

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

/* Home hero */

.home-hero {
	position: relative;
	display: grid;
	min-height: 100svh;
	align-items: end;
	color: var(--white);
	background: #363831;
}

.home-hero__image,
.home-hero__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.home-hero__image {
	object-fit: cover;
	animation: hero-enter 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero__shade {
	background:
		linear-gradient(90deg, rgba(20, 20, 17, 0.61) 0%, rgba(20, 20, 17, 0.22) 58%, rgba(20, 20, 17, 0.08) 100%),
		linear-gradient(0deg, rgba(14, 14, 12, 0.42), transparent 45%);
}

.home-hero__content {
	position: relative;
	z-index: 1;
	width: var(--shell);
	margin: 0 auto clamp(104px, 15vh, 160px);
	animation: content-enter 850ms 180ms ease both;
}

.home-hero h1 {
	width: min(100%, var(--sh-hero-title-width));
	max-width: none;
	font-family: var(--serif);
	font-size: var(--sh-hero-title-size);
	font-weight: 400;
	line-height: 1.28;
	letter-spacing: 0.08em;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.12);
	text-wrap: balance;
}

.home-hero__content > p {
	margin-top: 30px;
	font-size: 0.9rem;
	letter-spacing: 0.17em;
}

.home-hero__actions {
	display: flex;
	gap: 32px;
	align-items: center;
	margin-top: 44px;
}

.home-hero__scroll {
	position: absolute;
	z-index: 2;
	right: 48px;
	bottom: 42px;
	display: flex;
	gap: 14px;
	align-items: center;
	font-size: 0.68rem;
	letter-spacing: 0.18em;
	writing-mode: vertical-rl;
}

.home-hero__scroll span {
	display: block;
	width: 1px;
	height: 54px;
	background: rgba(255, 255, 255, 0.65);
}

@keyframes hero-enter {
	from { opacity: 0; transform: scale(1.035); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes content-enter {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Homepage sections */

.home-about {
	display: grid;
	grid-template-columns: minmax(0, 1.07fr) minmax(340px, 0.93fr);
	gap: clamp(70px, 10vw, 150px);
	align-items: center;
	padding-block: clamp(110px, 13vw, 190px);
}

.home-about__image {
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.home-about__image img {
	height: 100%;
	object-fit: cover;
}

.home-about__copy {
	max-width: none;
}

.home-about h2 {
	width: min(100%, var(--sh-about-title-width));
	max-width: none;
	font-size: var(--sh-about-title-size);
	text-wrap: balance;
}

.home-about__copy > p:not(.section-kicker) {
	max-width: 560px;
	margin-top: 40px;
	color: var(--muted);
}

.home-about .text-link {
	margin-top: 42px;
}

.home-services {
	padding-bottom: clamp(110px, 13vw, 180px);
}

.home-services .section-heading h2 {
	width: min(100%, var(--sh-services-title-width));
	max-width: none;
	font-size: var(--sh-services-title-size);
	text-wrap: balance;
}

.service-list {
	border-top: 1px solid var(--line);
}

.service-row {
	display: grid;
	min-height: 160px;
	grid-template-columns: 80px minmax(200px, 0.65fr) minmax(300px, 1fr) 48px;
	gap: 36px;
	align-items: center;
	border-bottom: 1px solid var(--line);
	transition: padding 240ms ease, background 240ms ease;
}

.service-row:hover,
.service-row:focus-visible {
	padding-inline: 24px;
	background: rgba(255, 255, 255, 0.48);
}

.service-row__number {
	color: var(--accent);
	font-family: Georgia, serif;
	font-size: 0.78rem;
}

.service-row h3 {
	font-family: var(--serif);
	font-size: clamp(1.45rem, 2vw, 2rem);
	font-weight: 400;
	letter-spacing: 0.06em;
}

.service-row p {
	color: var(--muted);
	font-size: 0.92rem;
}

.service-row__arrow {
	font-size: 1.4rem;
	transition: transform 200ms ease;
}

.service-row:hover .service-row__arrow {
	transform: translateX(6px);
}

.featured-projects {
	padding-block: clamp(105px, 12vw, 170px);
	background: #e8e3da;
}

.section-heading--projects {
	margin-bottom: 56px;
}

.featured-projects .section-heading h2 {
	width: min(100%, var(--sh-projects-title-width));
	max-width: none;
	font-size: var(--sh-projects-title-size);
	text-wrap: balance;
}

.category-nav {
	display: flex;
	gap: 10px 28px;
	flex-wrap: wrap;
	align-items: center;
}

.category-nav a {
	position: relative;
	padding-block: 7px;
	color: var(--muted);
	font-size: 0.82rem;
	letter-spacing: 0.08em;
}

.category-nav a::after {
	position: absolute;
	right: 0;
	bottom: 3px;
	left: 0;
	height: 1px;
	background: var(--ink);
	content: "";
	transform: scaleX(0);
	transition: transform 180ms ease;
}

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

.category-nav a:hover::after,
.category-nav a:focus-visible::after,
.category-nav a.is-active::after {
	transform: scaleX(1);
}

.category-nav--home {
	align-self: end;
	justify-content: flex-end;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 68px 28px;
}

.project-grid--featured .project-card:nth-child(n+7) {
	display: none;
}

.project-grid--featured.is-filtered .project-card:not([hidden]) {
	display: block;
}

.project-card__link {
	display: block;
}

.project-card__media {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #d9d4ca;
}

.project-card__media::after {
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 18, 0.2);
	content: "";
	opacity: 0;
	transition: opacity 320ms ease;
}

.project-card__media img {
	height: 100%;
	object-fit: cover;
	transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card__view {
	position: absolute;
	z-index: 2;
	right: 24px;
	bottom: 22px;
	color: var(--white);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 240ms ease, transform 240ms ease;
}

.project-card__link:hover .project-card__media::after,
.project-card__link:focus-visible .project-card__media::after,
.project-card__link:hover .project-card__view,
.project-card__link:focus-visible .project-card__view {
	opacity: 1;
}

.project-card__link:hover .project-card__view,
.project-card__link:focus-visible .project-card__view {
	transform: translateY(0);
}

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

.project-card__body {
	padding-top: 20px;
}

.project-card__body p {
	margin-bottom: 6px;
	color: var(--accent);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
}

.project-card__body h3 {
	font-family: var(--serif);
	font-size: clamp(1.35rem, 1.65vw, 1.72rem);
	font-weight: 400;
	letter-spacing: 0.08em;
}

.project-card__body span {
	display: block;
	margin-top: 7px;
	color: var(--muted);
	font-size: 0.78rem;
}

.section-action {
	margin-top: 70px;
	text-align: center;
}

.home-philosophy {
	display: grid;
	grid-template-columns: 1.12fr 0.88fr;
	min-height: 720px;
	background: var(--dark);
	color: var(--white);
}

.home-philosophy__image {
	overflow: hidden;
}

.home-philosophy__image img {
	height: 100%;
	object-fit: cover;
}

.home-philosophy__copy {
	display: flex;
	max-width: none;
	flex-direction: column;
	justify-content: center;
	padding: clamp(70px, 8vw, 130px);
}

.home-philosophy .section-kicker {
	color: #b6ad9e;
}

.home-philosophy h2 {
	width: min(100%, var(--sh-method-title-width));
	max-width: none;
	font-size: var(--sh-method-title-size);
	text-wrap: balance;
}

.home-philosophy__copy > p:not(.section-kicker) {
	margin-top: 36px;
	color: rgba(255, 255, 255, 0.68);
}

.home-philosophy .text-link {
	align-self: flex-start;
	margin-top: 42px;
}

.home-process {
	padding-block: clamp(110px, 13vw, 180px);
}

.home-process .section-heading h2 {
	width: min(100%, var(--sh-process-title-width));
	max-width: none;
	font-size: var(--sh-process-title-size);
	text-wrap: balance;
}

.process-list,
.value-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--line);
	list-style: none;
}

.process-list li {
	min-height: 260px;
	padding: 30px 34px 10px 0;
	border-right: 1px solid var(--line);
}

.process-list li:not(:first-child) {
	padding-left: 34px;
}

.process-list li:last-child {
	border-right: 0;
}

.process-list span,
.value-list span {
	color: var(--accent);
	font-family: Georgia, serif;
	font-size: 0.75rem;
}

.process-list h3,
.value-list h3 {
	margin-top: 60px;
	font-family: var(--serif);
	font-size: 1.4rem;
	font-weight: 400;
}

.process-list p,
.value-list p {
	margin-top: 15px;
	color: var(--muted);
	font-size: 0.87rem;
}

/* Form */

.form-shell {
	padding-bottom: clamp(110px, 13vw, 180px);
}

.inquiry-section {
	display: grid;
	grid-template-columns: minmax(280px, 0.78fr) minmax(520px, 1.22fr);
	gap: clamp(60px, 8vw, 120px);
	padding: clamp(64px, 7vw, 104px);
	background: #ded8ce;
}

.inquiry-intro h2 {
	width: min(100%, var(--sh-contact-title-width));
	max-width: none;
	font-family: var(--serif);
	font-size: var(--sh-contact-title-size);
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0.06em;
	text-wrap: balance;
}

.inquiry-intro > p:not(.section-kicker) {
	margin-top: 30px;
	color: var(--muted);
}

.inquiry-intro .text-link {
	margin-top: 35px;
}

.inquiry-form {
	min-width: 0;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 30px;
}

.inquiry-form label {
	display: block;
}

.inquiry-form label > span {
	display: block;
	margin-bottom: 8px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
	width: 100%;
	min-height: 46px;
	padding: 9px 0;
	border: 0;
	border-bottom: 1px solid rgba(36, 35, 31, 0.38);
	border-radius: 0;
	outline: 0;
	background: transparent;
	transition: border-color 180ms ease;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
	border-color: var(--ink);
}

.inquiry-form textarea {
	resize: vertical;
}

.inquiry-form ::placeholder {
	color: rgba(36, 35, 31, 0.42);
}

.form-span {
	grid-column: 1 / -1;
}

.inquiry-honeypot {
	position: absolute !important;
	left: -9999px !important;
}

.privacy-check {
	display: flex !important;
	gap: 10px;
	align-items: flex-start;
	margin-block: 30px;
}

.privacy-check input {
	width: 16px;
	min-height: auto;
	margin-top: 6px;
	accent-color: var(--ink);
}

.privacy-check span {
	margin: 0 !important;
	font-size: 0.75rem !important;
	font-weight: 400 !important;
}

.privacy-check a {
	margin-left: 4px;
	border-bottom: 1px solid currentColor;
}

.form-notice {
	margin-bottom: 24px;
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.45);
	font-size: 0.82rem;
}

.form-notice--error {
	color: #7a3029;
}

.inquiry-success-dialog {
	width: min(540px, calc(100vw - 32px));
	padding: 60px;
	border: 0;
	background: var(--paper);
	text-align: center;
}

.inquiry-success-dialog::backdrop {
	background: rgba(18, 18, 16, 0.66);
	backdrop-filter: blur(3px);
}

.inquiry-success-dialog h2 {
	margin-bottom: 18px;
	font-family: var(--serif);
	font-size: 2.3rem;
	font-weight: 400;
}

.inquiry-success-dialog .button {
	margin-top: 28px;
}

.dialog-note {
	margin-top: 20px;
	color: var(--muted);
	font-size: 0.82rem;
}

.dialog-close {
	position: absolute;
	top: 14px;
	right: 18px;
	padding: 4px 10px;
	border: 0;
	background: transparent;
	font-size: 1.9rem;
	line-height: 1;
}

/* Standard page hero */

.page-hero {
	padding: clamp(130px, 15vw, 210px) 0 clamp(80px, 9vw, 130px);
}

.page-hero__inner {
	width: var(--shell);
	margin-inline: auto;
}

.page-hero h1 {
	max-width: 920px;
	font-size: clamp(2.65rem, 5vw, 5.4rem);
}

.page-hero__inner > p:last-child:not(.section-kicker) {
	max-width: 650px;
	margin-top: 32px;
	color: var(--muted);
}

.page-hero--compact {
	padding-bottom: 60px;
}

.page-hero--compact h1 {
	font-size: clamp(2.5rem, 4vw, 4.2rem);
}

.image-page-hero {
	position: relative;
	display: grid;
	height: min(82vh, 850px);
	min-height: 620px;
	align-items: end;
	color: var(--white);
	background: var(--dark);
}

.image-page-hero > img,
.image-page-hero__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.image-page-hero > img {
	object-fit: cover;
}

.image-page-hero__shade {
	background: linear-gradient(0deg, rgba(18, 18, 15, 0.62), rgba(18, 18, 15, 0.05) 72%);
}

.image-page-hero__content {
	position: relative;
	z-index: 1;
	width: var(--shell);
	margin: 0 auto 90px;
}

.image-page-hero__content > p {
	margin-bottom: 18px;
	font-size: 0.76rem;
	letter-spacing: 0.18em;
}

.image-page-hero h1 {
	font-family: var(--serif);
	font-size: clamp(2.65rem, 5vw, 5.4rem);
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.07em;
}

/* Archive */

.archive-filter-bar {
	padding-block: clamp(28px, 3vw, 42px);
	border-bottom: 1px solid var(--line);
	background: var(--paper);
}

.archive-filter-bar__inner {
	display: flex;
	gap: 28px 56px;
	align-items: center;
	justify-content: space-between;
}

.archive-filter-bar__label p {
	font-family: var(--serif);
	font-size: clamp(1.35rem, 2vw, 1.85rem);
	letter-spacing: 0.12em;
	white-space: nowrap;
}

.category-nav--archive {
	gap: 8px;
	justify-content: flex-end;
}

.category-nav--archive a {
	padding: 11px 18px;
	border: 1px solid transparent;
	color: var(--muted);
	transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.category-nav--archive a::after {
	display: none;
}

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

.category-nav--archive a.is-active {
	border-color: var(--ink);
	color: var(--white);
	background: var(--ink);
}

.archive-content {
	padding-top: clamp(52px, 6vw, 86px);
	padding-bottom: clamp(100px, 12vw, 170px);
}

.project-grid--archive {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(58px, 7vw, 96px) 28px;
}

.project-grid--archive .project-card--featured {
	grid-column: 1 / -1;
	margin-bottom: 8px;
}

.project-card--featured .project-card__media {
	aspect-ratio: 16 / 7;
}

.project-card--featured .project-card__body {
	display: grid;
	padding-top: 26px;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	align-items: end;
}

.project-card--featured .project-card__body p,
.project-card--featured .project-card__body h3 {
	grid-column: 1;
}

.project-card--featured .project-card__body h3 {
	font-size: clamp(1.8rem, 3vw, 3rem);
}

.project-card--featured .project-card__body > span {
	grid-column: 2;
	grid-row: 1 / 3;
	margin: 0 0 7px 40px;
}

.load-more-wrap {
	margin-top: clamp(64px, 8vw, 100px);
	text-align: center;
}

.load-more-link {
	min-width: 210px;
}

.load-more-link.is-loading {
	cursor: wait;
	opacity: 0.5;
}

.empty-state {
	grid-column: 1 / -1;
	padding: 80px 0;
	color: var(--muted);
	text-align: center;
}

.archive-cta {
	margin-bottom: clamp(100px, 12vw, 160px);
	padding: clamp(70px, 8vw, 110px);
	background: var(--dark);
	color: var(--white);
	text-align: center;
}

.archive-cta .section-kicker {
	color: #b9b0a1;
}

.archive-cta h2 {
	margin-bottom: 34px;
	font-family: var(--serif);
	font-size: clamp(2rem, 3.4vw, 3.6rem);
	font-weight: 400;
}

/* Single project */

.project-hero {
	position: relative;
	display: grid;
	height: min(90vh, 920px);
	min-height: 650px;
	align-items: end;
	color: var(--white);
	background: var(--dark);
}

.project-back {
	display: none;
}

.project-hero > img,
.project-hero__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.project-hero > img {
	object-fit: cover;
}

.project-hero__shade {
	background: linear-gradient(0deg, rgba(15, 15, 13, 0.68), transparent 72%);
}

.project-hero__content {
	position: relative;
	z-index: 1;
	width: var(--shell);
	margin: 0 auto 82px;
}

.project-hero__content > p {
	font-size: 0.78rem;
	letter-spacing: 0.18em;
}

.project-hero h1 {
	margin-top: 14px;
	font-family: var(--serif);
	font-size: clamp(3rem, 6.4vw, 7rem);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.1em;
}

.project-hero__content > span {
	display: block;
	max-width: 660px;
	margin-top: 24px;
	color: rgba(255, 255, 255, 0.82);
}

.project-content {
	padding-block: clamp(100px, 12vw, 170px);
}

.project-overview {
	display: grid;
	grid-template-columns: minmax(360px, 1.1fr) minmax(440px, 0.9fr);
	gap: clamp(60px, 9vw, 140px);
	padding-bottom: clamp(100px, 11vw, 150px);
}

.project-overview h2 {
	font-size: clamp(2rem, 3.3vw, 3.5rem);
}

.project-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-content: start;
	border-top: 1px solid var(--line);
}

.project-facts div {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 12px;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.project-facts div:nth-child(odd) {
	padding-right: 24px;
}

.project-facts div:nth-child(even) {
	padding-left: 24px;
	border-left: 1px solid var(--line);
}

.project-facts dt {
	color: var(--muted);
	font-size: 0.74rem;
}

.project-facts dd {
	font-size: 0.84rem;
}

.project-story {
	display: grid;
	grid-template-columns: 0.38fr 0.62fr;
	gap: 80px;
	max-width: 1050px;
	margin: 0 auto clamp(100px, 12vw, 170px);
}

.entry-content {
	color: #4f4d47;
}

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

.entry-content h2,
.entry-content h3 {
	color: var(--ink);
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.5;
}

.entry-content h2 {
	font-size: clamp(1.8rem, 2.6vw, 2.8rem);
}

.entry-content h3 {
	font-size: 1.5rem;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.3em;
}

.entry-content a {
	border-bottom: 1px solid currentColor;
}

.entry-content img {
	margin-block: 40px;
}

.project-gallery > header {
	display: grid;
	grid-template-columns: 0.35fr 0.65fr;
	gap: 50px 80px;
	align-items: start;
	margin-bottom: 60px;
}

.project-gallery > header .section-kicker {
	grid-row: 1 / 3;
}

.project-gallery h2 {
	font-size: clamp(2rem, 3.3vw, 3.5rem);
}

.project-gallery > header > p:last-child {
	grid-column: 2;
	color: var(--muted);
	font-size: 0.82rem;
}

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

.gallery-item {
	position: relative;
	min-height: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	background: #d8d2c8;
}

.gallery-item--wide {
	grid-column: 1 / -1;
}

.gallery-item img {
	width: 100%;
	height: auto;
	max-height: 980px;
	object-fit: cover;
	transition: transform 500ms ease;
}

.gallery-item--half img {
	aspect-ratio: 4 / 5;
}

.gallery-item > span {
	position: absolute;
	right: 20px;
	bottom: 16px;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	color: var(--ink);
	background: rgba(255, 255, 255, 0.88);
	font-size: 1.3rem;
	opacity: 0;
	transition: opacity 180ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
	transform: scale(1.012);
}

.gallery-item:hover > span,
.gallery-item:focus-visible > span {
	opacity: 1;
}

.related-projects {
	padding-block: clamp(90px, 10vw, 140px);
	background: var(--paper-deep);
}

.related-projects .section-heading {
	grid-template-columns: 1fr auto;
}

.related-projects .section-heading h2 {
	font-size: clamp(2rem, 3vw, 3.2rem);
}

.single-return {
	padding-bottom: 100px;
}

.project-lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(17, 17, 15, 0.96);
	color: var(--white);
}

.project-lightbox[open] {
	display: grid;
	grid-template-columns: 80px 1fr 80px;
	align-items: center;
}

.project-lightbox::backdrop {
	background: rgba(17, 17, 15, 0.96);
}

.project-lightbox figure {
	display: grid;
	height: 100%;
	max-height: 100vh;
	grid-template-rows: 1fr auto;
	align-items: center;
	justify-items: center;
	padding: 42px 0 20px;
}

.project-lightbox figure img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: calc(100vh - 100px);
	object-fit: contain;
}

.project-lightbox figcaption {
	padding-top: 12px;
	color: rgba(255, 255, 255, 0.66);
	font-size: 0.75rem;
}

.project-lightbox__close,
.project-lightbox__nav {
	z-index: 2;
	border: 0;
	color: var(--white);
	background: transparent;
}

.project-lightbox__close {
	position: fixed;
	top: 18px;
	right: 24px;
	padding: 8px;
	font-size: 2rem;
}

.project-lightbox__nav {
	height: 100%;
	font-size: 1.8rem;
}

/* About */

.about-intro {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(70px, 10vw, 150px);
	align-items: center;
	padding-block: clamp(110px, 13vw, 190px);
}

.about-intro h2 {
	font-size: clamp(2.1rem, 3.4vw, 3.65rem);
}

.about-intro__copy > p:not(.section-kicker) {
	margin-top: 30px;
	color: var(--muted);
}

.about-intro__image {
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.about-intro__image img {
	height: 100%;
	object-fit: cover;
}

.about-values {
	padding-block: clamp(100px, 12vw, 160px);
	background: var(--paper-deep);
}

.value-list {
	grid-template-columns: repeat(3, 1fr);
}

.value-list li {
	min-height: 280px;
	padding: 30px 42px 20px 0;
	border-right: 1px solid var(--line);
	list-style: none;
}

.value-list li:not(:first-child) {
	padding-left: 42px;
}

.value-list li:last-child {
	border-right: 0;
}

.standard-content {
	max-width: 900px;
	padding-block: 60px 120px;
}

.page-cta {
	margin-block: clamp(90px, 11vw, 150px);
	padding: clamp(70px, 8vw, 120px);
	background: var(--dark);
	color: var(--white);
	text-align: center;
}

.page-cta .section-kicker {
	color: #b9b0a1;
}

.page-cta h1,
.page-cta h2 {
	font-family: var(--serif);
	font-size: clamp(2.1rem, 3.8vw, 4rem);
	font-weight: 400;
	line-height: 1.45;
}

.page-cta > p:not(.section-kicker) {
	max-width: 590px;
	margin: 24px auto 0;
	color: rgba(255, 255, 255, 0.7);
}

.page-cta .button {
	margin-top: 36px;
	border-color: var(--white);
}

.page-cta .button--dark {
	color: var(--ink);
	background: var(--white);
}

/* Services */

.services-detail {
	padding-bottom: clamp(110px, 14vw, 190px);
}

.service-detail {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	margin-bottom: clamp(70px, 9vw, 120px);
	background: var(--paper-deep);
}

.service-detail:nth-child(even) .service-detail__image {
	order: 2;
}

.service-detail__image {
	min-height: 650px;
}

.service-detail__image img {
	height: 100%;
	object-fit: cover;
}

.service-detail__copy {
	padding: clamp(60px, 7vw, 110px);
}

.service-detail__number {
	color: var(--accent);
	font-family: Georgia, serif;
	font-size: 0.76rem;
}

.service-detail h2 {
	margin-top: 16px;
	font-family: var(--serif);
	font-size: clamp(2rem, 3vw, 3.3rem);
	font-weight: 400;
	letter-spacing: 0.08em;
}

.service-detail h3 {
	margin-top: 38px;
	font-family: var(--serif);
	font-size: clamp(1.35rem, 1.8vw, 1.8rem);
	font-weight: 400;
	line-height: 1.55;
}

.service-detail__copy > p:not(.service-detail__number) {
	margin-top: 26px;
	color: var(--muted);
}

.service-detail ul {
	margin-top: 30px;
	border-top: 1px solid var(--line);
	list-style: none;
}

.service-detail li {
	padding: 11px 0;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.84rem;
}

.service-detail .text-link {
	margin-top: 36px;
}

.service-filter-bar {
	border-bottom: 1px solid var(--line);
	background: var(--paper);
}

.service-filter-bar__inner {
	display: grid;
	min-height: 138px;
	grid-template-columns: 1fr auto;
	align-items: center;
}

.service-filter-bar h1 {
	font-family: var(--serif);
	font-size: clamp(1.55rem, 2vw, 2rem);
	font-weight: 400;
	letter-spacing: 0.12em;
}

.service-tabs {
	display: flex;
	gap: 10px;
}

.service-tabs a {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	padding: 0 24px;
	font-size: 0.84rem;
	letter-spacing: 0.04em;
	transition: color 180ms ease, background 180ms ease;
}

.service-tabs a:hover,
.service-tabs a:focus-visible {
	background: rgba(36, 35, 31, 0.06);
}

.service-tabs a.is-active {
	color: var(--white);
	background: var(--ink);
}

.services-switcher {
	padding-block: 64px clamp(100px, 11vw, 150px);
}

.service-sheet {
	display: grid;
	grid-template-columns: 0.82fr 1.18fr;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.service-sheet[hidden] {
	display: none;
}

.service-sheet.is-changing {
	animation: service-panel-in 360ms ease both;
}

@keyframes service-panel-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

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

.service-sheet__copy {
	padding: clamp(54px, 5vw, 76px) clamp(48px, 5vw, 72px) clamp(54px, 5vw, 76px) 0;
}

.service-sheet__eyebrow {
	color: var(--accent);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.16em;
}

.service-sheet h2 {
	margin-top: 24px;
	font-family: var(--serif);
	font-size: clamp(2rem, 3.5vw, 3.6rem);
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.045em;
}

.service-sheet__lead {
	margin-top: 30px;
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 2;
}

.service-sheet ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-top: 34px;
	border-top: 1px solid var(--line);
	list-style: none;
}

.service-sheet li {
	padding: 13px 0;
	border-bottom: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.82rem;
}

.service-sheet li:nth-child(odd) {
	padding-right: 18px;
}

.service-sheet__action {
	gap: 54px;
	margin-top: 38px;
}

.service-sheet__action span {
	transition: transform 180ms ease;
}

.service-sheet__action:hover span,
.service-sheet__action:focus-visible span {
	transform: translateX(5px);
}

.service-sheet__image {
	min-height: 640px;
}

.service-sheet__image img {
	height: 100%;
	object-fit: cover;
}

@media (max-width: 900px) {
	.service-filter-bar__inner {
		min-height: 118px;
		grid-template-columns: 1fr;
		gap: 20px;
		align-content: center;
	}

	.service-sheet {
		grid-template-columns: 1fr;
	}

	.service-sheet__copy {
		order: 2;
		padding: 52px 40px 64px;
	}

	.service-sheet__image {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}
}

/* Contact */

.contact-details {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(70px, 10vw, 150px);
	padding-bottom: clamp(100px, 12vw, 160px);
}

.contact-details h2 {
	font-family: var(--serif);
	font-size: clamp(2rem, 3vw, 3.1rem);
	font-weight: 400;
}

.contact-details__intro p {
	max-width: 480px;
	margin-top: 28px;
	color: var(--muted);
}

.contact-details__list {
	border-top: 1px solid var(--line);
}

.contact-details__list div {
	display: grid;
	grid-template-columns: 130px 1fr;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.contact-details__list dt {
	color: var(--muted);
	font-size: 0.78rem;
}

.contact-details__list dd {
	font-size: 0.9rem;
}

.contact-details__list a {
	border-bottom: 1px solid transparent;
}

.contact-details__list a:hover {
	border-color: currentColor;
}

.form-shell--contact {
	padding-bottom: clamp(110px, 13vw, 180px);
}

.legal-content {
	padding-bottom: 160px;
}

.legal-content p {
	margin-bottom: 1.4em;
}

.page-cta--404 {
	margin-top: 160px;
}

.inline-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-top: 36px;
}

.inline-actions .button {
	margin-top: 0;
}

/* Footer */

.site-footer {
	padding: 80px max(48px, calc((100vw - 1440px) / 2));
	color: rgba(255, 255, 255, 0.78);
	background: #20221e;
}

.site-footer__main {
	display: grid;
	grid-template-columns: 1.2fr 0.7fr 1.1fr;
	gap: 80px;
	padding-bottom: 70px;
}

.footer-brand > a {
	display: inline-block;
	color: var(--white);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.15em;
}

.footer-brand__logo {
	width: min(100%, 290px);
	height: auto;
	filter: brightness(0) invert(1);
}

.footer-brand p {
	max-width: 360px;
	margin-top: 24px;
	color: rgba(255, 255, 255, 0.48);
	font-size: 0.82rem;
}

.footer-nav,
.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start;
	font-size: 0.8rem;
}

.footer-nav a,
.footer-contact a {
	border-bottom: 1px solid transparent;
}

.footer-nav a:hover,
.footer-contact a:hover {
	border-color: currentColor;
}

.footer-contact {
	align-items: flex-end;
	text-align: right;
}

.footer-heading {
	margin-bottom: 18px;
	color: rgba(255, 255, 255, 0.38);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
}

.footer-contact__list {
	width: 100%;
	margin: 0;
}

.footer-contact__list > div {
	display: grid;
	grid-template-columns: 86px 1fr;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-contact__list dt {
	color: rgba(255, 255, 255, 0.42);
	font-size: 0.74rem;
	text-align: left;
}

.footer-contact__list dd {
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.7;
}

.footer-social {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin-top: 14px;
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.36);
	font-size: 0.68rem;
	letter-spacing: 0.1em;
}

.mobile-contact-bar {
	display: none;
}

/* Reveal */

[data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Tablet */

@media (max-width: 1100px) {
	:root {
		--shell: min(100% - 56px, 980px);
	}

	.site-header__inner {
		width: calc(100vw - 48px);
		grid-template-columns: 1fr auto;
	}

	.desktop-nav,
	.header-cta {
		display: none;
	}

	.menu-toggle {
		position: relative;
		display: grid;
		width: 44px;
		height: 44px;
		justify-self: end;
		place-content: center;
		padding: 0;
		border: 0;
		background: transparent;
	}

	.menu-toggle > span:not(.screen-reader-text) {
		display: block;
		width: 25px;
		height: 1px;
		margin: 4px 0;
		background: currentColor;
		transition: transform 220ms ease;
	}

	.menu-toggle[aria-expanded="true"] > span:first-child {
		transform: translateY(5px) rotate(45deg);
	}

	.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
		transform: translateY(-4px) rotate(-45deg);
	}

	.mobile-nav {
		position: fixed;
		z-index: 999;
		inset: var(--header-height) 0 0;
		display: flex;
		min-height: calc(100dvh - var(--header-height));
		flex-direction: column;
		gap: 0;
		padding: 50px 28px;
		color: var(--ink);
		background: var(--paper);
		opacity: 1;
		backdrop-filter: none;
	}

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

	.mobile-nav a {
		padding: 18px 0;
		border-bottom: 1px solid var(--line);
		font-family: var(--serif);
		font-size: 1.6rem;
	}

	.home-about {
		gap: 70px;
	}

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

	.section-heading--projects {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.category-nav--home {
		width: 100%;
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		white-space: nowrap;
		scrollbar-width: none;
	}

	.category-nav--home::-webkit-scrollbar {
		display: none;
	}

	.category-nav--home a {
		flex: 0 0 auto;
	}

	.home-philosophy__copy {
		padding: 70px 54px;
	}

	.inquiry-section {
		grid-template-columns: 1fr;
	}

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

	.service-detail__copy {
		padding: 58px;
	}

	.service-detail__image {
		min-height: 580px;
	}
}

/* Mobile */

@media (max-width: 720px) {
	:root {
		--header-height: 68px;
		--shell: calc(100vw - 40px);
	}

	html {
		scroll-padding-top: 86px;
	}

	body {
		font-size: 15px;
		line-height: 1.75;
	}

	.site-header__inner {
		width: calc(100vw - 32px);
	}

	.brand {
		font-size: 0.76rem;
		letter-spacing: 0.11em;
	}

	.custom-logo-link {
		width: min(var(--logo-width), 180px);
	}

	.mobile-nav {
		padding: 36px 20px 100px;
	}

	.section-kicker {
		margin-bottom: 14px;
	}

	.section-heading {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-bottom: 44px;
	}

	.section-heading h2 {
		font-size: 2.15rem;
	}

	.section-heading > p {
		padding-bottom: 0;
	}

	.home-hero {
		min-height: 760px;
	}

	.home-hero__shade {
		background: linear-gradient(0deg, rgba(17, 17, 14, 0.72) 0%, rgba(17, 17, 14, 0.18) 75%);
	}

	.home-hero__content {
		margin-bottom: 92px;
	}

	.home-hero h1 {
		width: min(100%, var(--sh-hero-title-mobile-width));
		font-size: var(--sh-hero-title-mobile-size);
		line-height: 1.35;
	}

	.home-hero__content > p {
		margin-top: 22px;
		font-size: 0.76rem;
		line-height: 1.8;
		letter-spacing: 0.1em;
	}

	.home-hero__actions {
		gap: 22px;
		margin-top: 34px;
	}

	.home-hero__scroll {
		display: none;
	}

	.button {
		min-height: 48px;
		padding-inline: 22px;
	}

	.home-about {
		grid-template-columns: 1fr;
		gap: 48px;
		padding-block: 90px;
	}

	.home-about__image {
		aspect-ratio: 4 / 4.8;
	}

	.home-about h2 {
		width: min(100%, var(--sh-about-title-mobile-width));
		font-size: var(--sh-about-title-mobile-size);
	}

	.home-philosophy h2 {
		width: min(100%, var(--sh-method-title-mobile-width));
		font-size: var(--sh-method-title-mobile-size);
	}

	.project-overview h2,
	.project-gallery h2,
	.about-intro h2 {
		font-size: 2.15rem;
	}

	.home-about__copy > p:not(.section-kicker) {
		margin-top: 28px;
	}

	.home-services {
		padding-bottom: 90px;
	}

	.home-services .section-heading h2 {
		width: min(100%, var(--sh-services-title-mobile-width));
		font-size: var(--sh-services-title-mobile-size);
	}

	.service-row {
		min-height: 0;
		grid-template-columns: 46px 1fr 28px;
		gap: 10px 12px;
		padding-block: 25px;
	}

	.service-row:hover,
	.service-row:focus-visible {
		padding-inline: 10px;
	}

	.service-row p {
		grid-column: 2 / -1;
		padding-right: 20px;
	}

	.service-row__arrow {
		grid-column: 3;
		grid-row: 1;
	}

	.featured-projects {
		padding-block: 88px;
	}

	.featured-projects .section-heading h2 {
		width: min(100%, var(--sh-projects-title-mobile-width));
		font-size: var(--sh-projects-title-mobile-size);
	}

	.category-nav--home {
		gap: 18px;
		justify-content: flex-start;
		padding-bottom: 6px;
	}

	.project-grid:not(.project-grid--featured) {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.project-grid--featured {
		display: flex;
		gap: 14px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-inline: contain;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.project-grid--featured::-webkit-scrollbar {
		display: none;
	}

	.project-grid--featured .project-card {
		flex: 0 0 86%;
		scroll-snap-align: start;
	}

	.project-grid--featured .project-card:nth-child(n+7) {
		display: block;
	}

	.project-grid--featured .project-card__media {
		aspect-ratio: 4 / 5;
	}

	.project-grid--featured .project-card__link {
		position: relative;
	}

	.project-grid--featured .project-card__media::after {
		background: linear-gradient(0deg, rgba(20, 20, 18, 0.76), transparent 62%);
		opacity: 1;
	}

	.project-grid--featured .project-card__body {
		position: absolute;
		z-index: 2;
		right: 22px;
		bottom: 22px;
		left: 22px;
		padding: 0;
		color: var(--white);
		pointer-events: none;
	}

	.project-grid--featured .project-card__body p,
	.project-grid--featured .project-card__body span {
		color: rgba(255, 255, 255, 0.76);
	}

	.project-grid--featured .project-card__body h3 {
		color: var(--white);
	}

	.project-card__view {
		display: none;
	}

	.project-card__body {
		padding-top: 15px;
	}

	.section-action {
		margin-top: 52px;
	}

	.home-philosophy {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.home-philosophy__image {
		aspect-ratio: 4 / 3.5;
	}

	.home-philosophy__copy {
		padding: 70px 20px 80px;
	}

	.home-process {
		padding-block: 90px;
	}

	.home-process .section-heading h2 {
		width: min(100%, var(--sh-process-title-mobile-width));
		font-size: var(--sh-process-title-mobile-size);
	}

	.process-list,
	.value-list {
		grid-template-columns: 1fr;
	}

	.process-list li,
	.process-list li:not(:first-child),
	.value-list li,
	.value-list li:not(:first-child) {
		min-height: 0;
		padding: 24px 0 30px;
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.process-list h3,
	.value-list h3 {
		margin-top: 22px;
	}

	.form-shell {
		width: 100%;
		padding-bottom: 0;
	}

	.inquiry-section {
		grid-template-columns: 1fr;
		gap: 50px;
		padding: 72px 20px 90px;
	}

	.inquiry-intro h2 {
		width: min(100%, var(--sh-contact-title-mobile-width));
		font-size: var(--sh-contact-title-mobile-size);
	}

	.form-grid {
		grid-template-columns: 1fr;
	}

	.form-span {
		grid-column: auto;
	}

	.inquiry-form .button {
		width: 100%;
	}

	.inquiry-success-dialog {
		padding: 54px 24px 42px;
	}

	.page-hero {
		padding: 120px 0 74px;
	}

	.page-hero h1 {
		font-size: 2.7rem;
	}

	.image-page-hero {
		height: 78svh;
		min-height: 600px;
	}

	.image-page-hero__content {
		margin-bottom: 64px;
	}

	.image-page-hero h1 {
		font-size: 2.65rem;
	}

	.archive-content {
		padding-top: 46px;
		padding-bottom: 90px;
	}

	.archive-filter-bar {
		padding-block: 24px;
	}

	.archive-filter-bar__inner {
		display: block;
		width: 100%;
	}

	.archive-filter-bar__label {
		width: var(--shell);
		margin-inline: auto;
	}

	.archive-filter-bar__label p {
		margin-bottom: 18px;
		font-size: 1.25rem;
	}

	.category-nav--archive {
		justify-content: flex-start;
		overflow-x: auto;
		padding-inline: max(24px, calc((100vw - var(--shell)) / 2));
		flex-wrap: nowrap;
		scrollbar-width: none;
	}

	.category-nav--archive::-webkit-scrollbar {
		display: none;
	}

	.category-nav--archive a {
		flex: 0 0 auto;
		padding: 10px 15px;
	}

	.project-grid--archive {
		grid-template-columns: 1fr;
		gap: 52px;
	}

	.project-card--featured .project-card__media {
		aspect-ratio: 4 / 3;
	}

	.project-card--featured .project-card__body {
		display: block;
		padding-top: 17px;
	}

	.project-card--featured .project-card__body h3 {
		font-size: 1.65rem;
	}

	.project-card--featured .project-card__body > span {
		margin: 7px 0 0;
	}

	.archive-cta {
		width: 100%;
		margin-bottom: 0;
		padding: 75px 20px;
	}

	.project-hero {
		height: 82svh;
		min-height: 620px;
	}

	.project-back {
		position: absolute;
		z-index: 4;
		top: 16px;
		left: 16px;
		display: inline-flex;
		min-height: 44px;
		align-items: center;
		gap: 9px;
		padding: 0 14px;
		color: var(--ink);
		background: rgba(244, 241, 235, 0.96);
		font-size: 0.78rem;
		font-weight: 600;
		letter-spacing: 0.08em;
	}

	.project-back span {
		font-size: 1.1rem;
	}

	.project-hero__content {
		margin-bottom: 58px;
	}

	.project-hero h1 {
		font-size: 3.15rem;
	}

	.project-content {
		padding-block: 90px;
	}

	.project-overview {
		gap: 48px;
		padding-bottom: 90px;
	}

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

	.project-facts div,
	.project-facts div:nth-child(odd),
	.project-facts div:nth-child(even) {
		padding: 15px 0;
		border-left: 0;
	}

	.project-story {
		grid-template-columns: 1fr;
		gap: 15px;
		margin-bottom: 90px;
	}

	.project-gallery > header {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-bottom: 36px;
	}

	.project-gallery > header .section-kicker {
		grid-row: auto;
	}

	.project-gallery > header > p:last-child {
		grid-column: auto;
	}

	.project-gallery__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.gallery-item--wide {
		grid-column: auto;
	}

	.gallery-item--half img {
		aspect-ratio: auto;
	}

	.gallery-item > span {
		display: none;
	}

	.related-projects {
		padding-block: 84px;
	}

	.related-projects .section-heading {
		grid-template-columns: 1fr;
	}

	.project-lightbox[open] {
		grid-template-columns: 48px 1fr 48px;
	}

	.project-lightbox figure {
		padding: 44px 0 18px;
	}

	.project-lightbox__close {
		top: 8px;
		right: 9px;
	}

	.about-intro {
		grid-template-columns: 1fr;
		gap: 55px;
		padding-block: 90px;
	}

	.about-values {
		padding-block: 88px;
	}

	.standard-content {
		padding-block: 40px 90px;
	}

	.page-cta {
		width: 100%;
		margin-bottom: 0;
		padding: 75px 20px;
	}

	.page-cta h1,
	.page-cta h2 {
		font-size: 2.25rem;
	}

	.services-detail {
		width: 100%;
		padding-bottom: 40px;
	}

	.service-detail {
		grid-template-columns: 1fr;
		margin-bottom: 42px;
	}

	.service-detail:nth-child(even) .service-detail__image {
		order: 0;
	}

	.service-detail__image {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	.service-detail__copy {
		padding: 52px 20px 64px;
	}

	.service-filter-bar__inner {
		width: 100%;
		min-height: 0;
		gap: 18px;
		padding: 24px 20px 0;
	}

	.service-filter-bar h1 {
		font-size: 1.35rem;
	}

	.service-tabs {
		display: grid;
		grid-template-columns: repeat(3, max-content);
		gap: 0;
		overflow-x: auto;
		padding-bottom: 14px;
		border-bottom: 1px solid var(--line);
		scrollbar-width: none;
	}

	.service-tabs::-webkit-scrollbar {
		display: none;
	}

	.service-tabs a {
		min-height: 42px;
		padding: 0 18px;
		font-size: 0.74rem;
		white-space: nowrap;
	}

	.services-switcher {
		width: 100%;
		padding-block: 22px 72px;
	}

	.service-sheet {
		border-top: 0;
	}

	.service-sheet__copy {
		padding: 38px 22px 42px;
	}

	.service-sheet h2 {
		margin-top: 18px;
		font-size: 2rem;
		line-height: 1.5;
	}

	.service-sheet__lead {
		margin-top: 22px;
		font-size: 0.86rem;
		line-height: 1.9;
	}

	.service-sheet ul {
		grid-template-columns: 1fr;
		margin-top: 26px;
	}

	.service-sheet li:nth-child(odd) {
		padding-right: 0;
	}

	.service-sheet__action {
		width: auto;
		gap: 48px;
		margin-top: 34px;
	}

	.contact-details {
		grid-template-columns: 1fr;
		gap: 52px;
		padding-bottom: 90px;
	}

	.contact-details__list div {
		grid-template-columns: 105px 1fr;
	}

	.legal-content {
		padding-bottom: 100px;
	}

	.site-footer {
		padding: 72px 20px 108px;
	}

	.site-footer__main {
		grid-template-columns: 1fr;
		gap: 46px;
		padding-bottom: 54px;
	}

	.footer-brand__logo {
		width: min(100%, 280px);
	}

	.footer-nav {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.footer-nav .footer-heading {
		grid-column: 1 / -1;
		margin-bottom: 8px;
	}

	.footer-contact {
		align-items: flex-start;
		text-align: left;
	}

	.footer-contact__list > div {
		grid-template-columns: 76px 1fr;
	}

	.footer-contact__list dd {
		overflow-wrap: anywhere;
	}

	.footer-social {
		justify-content: flex-start;
	}

	.site-footer__bottom {
		flex-direction: row;
		gap: 20px;
	}

	.mobile-contact-bar {
		position: fixed;
		z-index: 990;
		right: 0;
		bottom: 0;
		left: 0;
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 1fr;
		height: 58px;
		color: var(--white);
		background: var(--dark);
		box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
		transition: transform 240ms ease;
	}

	.mobile-contact-bar.is-hidden {
		transform: translateY(110%);
	}

	.mobile-contact-bar a {
		display: grid;
		place-items: center;
		font-size: 0.78rem;
		font-weight: 600;
		letter-spacing: 0.09em;
	}

	.mobile-contact-bar a + a {
		border-left: 1px solid rgba(255, 255, 255, 0.2);
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 0;
	}
}

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

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

	[data-reveal] {
		opacity: 1;
		transform: none;
	}
}
