/**
 * Saltnine: Atelier layout system.
 *
 * Typography, paper surfaces, hairlines and the editorial grid follow the
 * Atelier reference. All copy and imagery remain Saltnine's.
 */

/* ---------------------------------------------------------
 * 1. Foundations
 * ------------------------------------------------------ */

:root {
	--sn-max: 1380px;
	--sn-gutter: 1.5rem;
	--sn-hairline: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast-2) 45%, transparent);
	--sn-radius-pill: 999px;
	--sn-ease: cubic-bezier(0.23, 1, 0.32, 1);
	--sn-serif: var(--wp--preset--font-family--heading);
	--sn-sans: var(--wp--preset--font-family--body);
}

@media (min-width: 640px) {
	:root {
		--sn-gutter: 2rem;
	}
}

@media (min-width: 1024px) {
	:root {
		--sn-gutter: 3.5rem;
	}
}

html {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	scroll-behavior: smooth;
}

body {
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
	text-wrap: pretty;
}

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

p,
li {
	font-family: var(--sn-sans);
	font-size: clamp(0.9rem, 0.86rem + 0.2vw, 0.97rem);
	font-weight: 300;
	line-height: 1.85;
	color: var(--wp--preset--color--accent);
}

h1,
h2,
h3,
h4 {
	font-family: var(--sn-serif);
	font-weight: 400;
	color: var(--wp--preset--color--contrast);
	letter-spacing: -0.04em;
	text-wrap: wrap;
}

h1 em,
h2 em,
h3 em,
blockquote em {
	font-style: italic;
	color: var(--wp--preset--color--accent);
}

a {
	color: inherit;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
	transition: color 200ms var(--sn-ease), border-color 200ms var(--sn-ease), background-color 200ms var(--sn-ease), opacity 200ms var(--sn-ease);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--contrast);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ---------------------------------------------------------
 * 2. Shell + section rhythm
 * ------------------------------------------------------ */

.sn-shell {
	width: 100%;
	max-width: var(--sn-max);
	margin-inline: auto;
	padding-inline: var(--sn-gutter);
}

.sn-section {
	position: relative;
	border-bottom: var(--sn-hairline);
	overflow: hidden;
}

.sn-section--base {
	background-color: var(--wp--preset--color--base);
}

.sn-section--paper {
	background-color: var(--wp--preset--color--base-2);
}

.sn-section--pad {
	padding-block: clamp(4rem, 6vw, 6rem);
}

/* Soft warm wash used on every Atelier section. */
.sn-section::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at top left, rgba(125, 117, 103, 0.07), transparent 32%),
		radial-gradient(circle at bottom right, rgba(24, 21, 18, 0.035), transparent 26%);
}

.sn-section > * {
	position: relative;
}

/* ---------------------------------------------------------
 * 3. Section header: label rail + display heading
 * ------------------------------------------------------ */

.sn-head {
	display: grid;
	gap: 2.5rem;
	align-items: end;
	margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

@media (min-width: 1024px) {
	.sn-head {
		grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
		gap: 4rem;
	}
}

.sn-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.5rem;
	font-family: var(--sn-sans);
	font-size: 0.65rem;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.sn-eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: var(--sn-radius-pill);
	background: var(--wp--preset--color--accent-2);
	flex: none;
}

.sn-note {
	max-width: 15rem;
	margin: 0;
	font-size: 0.81rem;
	line-height: 1.75;
	color: var(--wp--preset--color--muted);
}

.sn-display {
	margin: 0;
	font-size: clamp(2.3rem, 1.35rem + 3.6vw, 4.5rem);
	line-height: 0.98;
	letter-spacing: -0.04em;
}

.sn-display--philosophy {
	font-size: clamp(2.1rem, 1.2rem + 3.1vw, 4.2rem);
	line-height: 1.04;
}

.sn-display .sn-line {
	display: block;
}

.sn-display .sn-accent {
	font-style: italic;
}

.sn-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--sn-sans);
	font-size: 0.69rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
	white-space: nowrap;
}

.sn-link-arrow:hover,
.sn-link-arrow:focus-visible {
	color: var(--wp--preset--color--contrast);
}

.sn-link-arrow svg {
	width: 16px;
	height: 16px;
	flex: none;
}

/* ---------------------------------------------------------
 * 4. Buttons
 * ------------------------------------------------------ */

.sn-btn > .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	height: 3rem;
	padding-inline: 2rem;
	border-radius: var(--sn-radius-pill);
	border: 1px solid var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	font-family: var(--sn-sans);
	font-size: 0.69rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(25, 20, 16, 0.12);
	transition: background-color 300ms var(--sn-ease), border-color 300ms var(--sn-ease), color 300ms var(--sn-ease);
}

.sn-btn > .wp-block-button__link:hover,
.sn-btn > .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--band);
	border-color: var(--wp--preset--color--band);
	color: var(--wp--preset--color--contrast-3);
}

.sn-btn .wp-block-button__link {
	width: auto;
}

.sn-btn svg {
	width: 18px;
	height: 18px;
}

.sn-btn--ghost > .wp-block-button__link {
	background: color-mix(in srgb, var(--wp--preset--color--base-2) 80%, transparent);
	border-color: var(--wp--preset--color--contrast-2);
	color: var(--wp--preset--color--contrast);
	box-shadow: none;
}

.sn-btn--ghost > .wp-block-button__link:hover,
.sn-btn--ghost > .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--base-2);
	color: var(--wp--preset--color--contrast);
	border-color: var(--wp--preset--color--accent-2);
}

.sn-actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 2.5rem;
}

@media (min-width: 640px) {
	.sn-actions {
		flex-direction: row;
		align-items: center;
	}
}

/* ---------------------------------------------------------
 * 5. Header
 * ------------------------------------------------------ */

.sn-header {
	position: fixed;
	top: 1rem;
	inset-inline: 0;
	z-index: 50;
	padding-inline: 1rem;
}

@media (min-width: 640px) {
	.sn-header {
		padding-inline: 1.25rem;
	}
}

.sn-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: 72px;
	padding-inline: 0.75rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast-2) 75%, transparent);
	border-radius: var(--sn-radius-pill);
	background: color-mix(in srgb, var(--wp--preset--color--base) 82%, transparent);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	box-shadow: 0 10px 30px rgba(25, 20, 16, 0.06);
	transition: background-color 300ms var(--sn-ease), box-shadow 300ms var(--sn-ease);
}

.sn-header.is-scrolled .sn-header__inner {
	background: color-mix(in srgb, var(--wp--preset--color--base) 96%, transparent);
	box-shadow: 0 15px 40px rgba(25, 20, 16, 0.08);
}

.sn-header .wp-block-site-logo img {
	width: auto;
	height: 34px;
}

.sn-header .wp-block-navigation {
	font-family: var(--sn-sans);
}

.sn-header .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	font-size: 0.69rem;
	font-weight: 400;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.sn-header .wp-block-navigation-item__content:hover,
.sn-header .wp-block-navigation-item__content:focus-visible {
	color: var(--wp--preset--color--contrast);
}

.sn-header .wp-block-navigation__responsive-container-open,
.sn-header .wp-block-navigation__responsive-container-close {
	min-width: 44px;
	min-height: 44px;
	border-radius: var(--sn-radius-pill);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast-2) 45%, transparent);
	background: color-mix(in srgb, var(--wp--preset--color--base-2) 60%, transparent);
	padding: 0.5rem;
}

/* ---------------------------------------------------------
 * 6. Hero
 * ------------------------------------------------------ */

.sn-hero {
	border-bottom: var(--sn-hairline);
	background: var(--wp--preset--color--base);
}

.sn-hero__grid {
	display: grid;
	min-height: 100svh;
	align-items: stretch;
}

.sn-hero__grid > .sn-hero__visual {
	height: 100%;
}

@media (min-width: 1024px) {
	.sn-hero__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.sn-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(7rem, 9vw, 9rem) var(--sn-gutter) 2.5rem;
	border-bottom: var(--sn-hairline);
}

@media (min-width: 1024px) {
	.sn-hero__copy {
		padding: clamp(8rem, 11vw, 10.5rem) var(--sn-gutter) 3rem;
		border-bottom: 0;
		border-right: var(--sn-hairline);
		justify-content: flex-start;
	}
}

.sn-hero__title {
	margin: 3rem 0 0;
	max-width: 820px;
	font-size: clamp(3.1rem, 1.35rem + 5.8vw, 5.7rem);
	line-height: 0.9;
	letter-spacing: -0.045em;
}

.sn-hero__lede {
	margin: 2rem 0 0;
	max-width: 34rem;
	font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.06rem);
	line-height: 2;
}

.sn-hero__meta {
	display: grid;
	gap: 1.5rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: var(--sn-hairline);
}

@media (min-width: 640px) {
	.sn-hero__meta {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.sn-meta-label {
	margin: 0 0 0.5rem;
	font-family: var(--sn-sans);
	font-size: 0.63rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.sn-meta-value {
	margin: 0;
	font-family: var(--sn-sans);
	font-size: 0.81rem;
	line-height: 1.6;
	color: var(--wp--preset--color--contrast);
}

.sn-hero__visual {
	position: relative;
	overflow: hidden;
	min-height: 56vh;
	background: var(--wp--preset--color--base-3);
}

@media (min-width: 1024px) {
	.sn-hero__visual {
		min-height: 100%;
	}
}

.sn-hero__visual img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--sn-ease);
}

.sn-hero__visual:hover img {
	transform: scale(1.03);
}

.sn-hero__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(18, 15, 13, 0.22), rgba(18, 15, 13, 0.03));
}

/* ---------------------------------------------------------
 * 7. Image frames, plaques, chips
 * ------------------------------------------------------ */

.sn-frame,
.sn-hero__visual,
.sn-feature {
	position: relative;
	overflow: hidden;
	background: var(--wp--preset--color--base-3);
}

.sn-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--sn-ease);
}

.sn-frame:hover img {
	transform: scale(1.025);
}

/* thin inner rule, inset from the image edge */
.sn-frame::after {
	content: "";
	position: absolute;
	inset: 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.5);
	pointer-events: none;
	transition: border-color 500ms var(--sn-ease);
}

.sn-frame:hover::after {
	border-color: rgba(255, 255, 255, 0.72);
}

.sn-frame--portrait {
	aspect-ratio: 3 / 4;
}

.sn-frame--triangle {
	aspect-ratio: 3 / 4;
}

.sn-plaque {
	position: absolute;
	inset-inline: 1.25rem;
	bottom: 1.25rem;
	padding: 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.5);
	background: color-mix(in srgb, var(--wp--preset--color--base) 84%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 14px 40px rgba(23, 18, 14, 0.12);
}

@media (min-width: 1024px) {
	.sn-plaque {
		inset-inline: auto 1.5rem;
		bottom: 1.5rem;
		max-width: 360px;
	}
}

.sn-plaque__label {
	margin: 0 0 0.5rem;
	font-family: var(--sn-sans);
	font-size: 0.63rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.sn-plaque__title {
	margin: 0;
	font-family: var(--sn-serif);
	font-size: 1.6rem;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--wp--preset--color--contrast);
}

.sn-plaque__text {
	margin: 0.75rem 0 0;
	font-size: 0.81rem;
	line-height: 1.7;
}

.sn-chip {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: rgba(24, 21, 18, 0.2);
	backdrop-filter: blur(4px);
	font-family: var(--sn-sans);
	font-size: 0.63rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast-3);
}

/* ---------------------------------------------------------
 * 8. Philosophy
 * ------------------------------------------------------ */

.sn-split-rail {
	display: grid;
}

@media (min-width: 1024px) {
	.sn-split-rail {
		grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
	}
}

.sn-rail {
	padding: 3rem var(--sn-gutter);
	border-bottom: var(--sn-hairline);
}

@media (min-width: 1024px) {
	.sn-rail {
		border-bottom: 0;
		border-right: var(--sn-hairline);
		padding-block: 4rem;
	}

	.sn-rail__sticky {
		position: sticky;
		top: 8rem;
	}
}

.sn-rail__body {
	padding: clamp(3.5rem, 5vw, 5rem) var(--sn-gutter);
}

.sn-two-col {
	display: grid;
	gap: 2.5rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: var(--sn-hairline);
	align-items: start;
}

@media (min-width: 768px) {
	.sn-two-col {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
		gap: 3.5rem;
	}
}

.sn-copy > * + * {
	margin-top: 1.5rem;
}

.sn-rules {
	display: grid;
	gap: 1.25rem;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.sn-rule {
	padding-top: 1rem;
	border-top: var(--sn-hairline);
}

.sn-rule__num {
	margin: 0 0 0.5rem;
	font-family: var(--sn-sans);
	font-size: 0.63rem;
	letter-spacing: 0.14em;
	color: var(--wp--preset--color--muted);
}

.sn-rule__text {
	margin: 0;
	font-family: var(--sn-sans);
	font-size: 0.81rem;
	line-height: 1.6;
	color: var(--wp--preset--color--contrast);
}

/* ---------------------------------------------------------
 * 9. Showcase
 * ------------------------------------------------------ */

.sn-showcase {
	display: grid;
	gap: 2rem;
}

@media (min-width: 1024px) {
	.sn-showcase {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
	}
}

.sn-feature {
	position: relative;
	display: block;
	min-height: 380px;
	overflow: hidden;
	background: var(--wp--preset--color--base-3);
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

@media (min-width: 1024px) {
	.sn-feature {
		min-height: 560px;
	}
}

.sn-feature img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--sn-ease);
}

.sn-feature:hover img {
	transform: scale(1.03);
}

.sn-feature::after {
	content: "";
	position: absolute;
	inset: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.48);
	pointer-events: none;
}

.sn-stack {
	display: grid;
	gap: 2rem;
}

@media (min-width: 640px) {
	.sn-stack {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.sn-stack {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.5rem;
	}
}

.sn-card {
	display: block;
	color: inherit;
	text-decoration: none;
}

.sn-card .sn-frame {
	min-height: 270px;
}

.sn-card__body {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: var(--sn-hairline);
}

.sn-card__label {
	margin: 0 0 0.5rem;
	font-family: var(--sn-sans);
	font-size: 0.63rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.sn-card__title {
	margin: 0;
	font-family: var(--sn-serif);
	font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.6rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.sn-card__text {
	margin: 0.75rem 0 0;
	font-size: 0.86rem;
	line-height: 1.75;
}

/* ---------------------------------------------------------
 * 10. Methodology
 * ------------------------------------------------------ */

.sn-triple {
	display: grid;
	gap: 2rem;
}

@media (min-width: 768px) {
	.sn-triple {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2.5rem;
	}
}

.sn-method .sn-frame {
	aspect-ratio: 3 / 4;
}

.sn-method {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.sn-method__body {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: var(--sn-hairline);
}

.sn-method__num {
	margin: 0 0 0.5rem;
	font-family: var(--sn-sans);
	font-size: 0.63rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.sn-method__title {
	margin: 0 0 1rem;
	font-family: var(--sn-serif);
	font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.55rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
}

/* ---------------------------------------------------------
 * 11. Proof
 * ------------------------------------------------------ */

.sn-proof {
	display: grid;
	gap: 2rem;
}

@media (min-width: 1024px) {
	.sn-proof {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
		gap: 2.5rem;
	}
}

.sn-quote {
	display: flex;
	flex-direction: column;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border: var(--sn-hairline);
	background: color-mix(in srgb, var(--wp--preset--color--base-2) 55%, transparent);
	backdrop-filter: blur(4px);
}

.sn-quote blockquote {
	margin: 2rem 0 0;
	font-family: var(--sn-serif);
	font-size: clamp(1.8rem, 1.25rem + 1.7vw, 2.6rem);
	font-weight: 400;
	line-height: 1.06;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--contrast);
	max-width: 18ch;
	quotes: "“" "”";
}

.sn-quote__meta {
	display: grid;
	gap: 1.25rem;
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: var(--sn-hairline);
}

@media (min-width: 640px) {
	.sn-quote__meta {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.sn-quote__value {
	margin: 0;
	font-family: var(--sn-serif);
	font-size: 1rem;
	line-height: 1.45;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--contrast);
}

/* ---------------------------------------------------------
 * 12. Contact + footer
 * ------------------------------------------------------ */

.sn-contact {
	border: var(--sn-hairline);
	background: color-mix(in srgb, var(--wp--preset--color--base-2) 50%, transparent);
	backdrop-filter: blur(4px);
	padding: clamp(2rem, 4vw, 4rem);
}

@media (max-width: 639px) {
	.sn-contact {
		padding: 1.5rem;
	}
}

.sn-contact__grid {
	display: grid;
	gap: 2.5rem;
	align-items: end;
}

@media (min-width: 1024px) {
	.sn-contact__grid {
		grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
		gap: 4rem;
	}
}

.sn-footer {
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: 2rem;
	border-top: var(--sn-hairline);
}

.sn-footer__grid {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 768px) {
	.sn-footer__grid {
		grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
	}
}

.sn-footer .wp-block-site-logo img {
	width: auto;
	height: 34px;
}

.sn-footer__label {
	margin: 0 0 1rem;
	font-family: var(--sn-sans);
	font-size: 0.63rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.sn-footer a {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	text-decoration: none;
	font-family: var(--sn-sans);
	font-size: 0.86rem;
	color: var(--wp--preset--color--contrast);
}

.sn-footer a:hover,
.sn-footer a:focus-visible {
	color: var(--wp--preset--color--contrast);
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.sn-footer__bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: var(--sn-hairline);
	font-family: var(--sn-sans);
	font-size: 0.69rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

/* ---------------------------------------------------------
 * 13. Motion
 * ------------------------------------------------------ */

/*
 * The hidden state only applies once `sn-reveal-ready` is on <html>, which the
 * head script sets when IntersectionObserver is available. Without JavaScript,
 * or when the observer never runs, the content simply stays visible.
 */
@media (prefers-reduced-motion: no-preference) {
	.sn-reveal-ready [data-sn-reveal] {
		opacity: 0;
		transform: translateY(28px);
		transition: opacity 1.1s var(--sn-ease), transform 1.1s var(--sn-ease);
	}

	.sn-reveal-ready [data-sn-reveal].is-visible {
		opacity: 1;
		transform: none;
	}

	.sn-reveal-ready [data-sn-reveal="stagger"] > * {
		opacity: 0;
		transform: translateY(24px);
		transition: opacity 1.1s var(--sn-ease), transform 1.1s var(--sn-ease);
	}

	.sn-reveal-ready [data-sn-reveal="stagger"].is-visible > * {
		opacity: 1;
		transform: none;
	}

	.sn-reveal-ready [data-sn-reveal="stagger"].is-visible > *:nth-child(2) {
		transition-delay: 90ms;
	}

	.sn-reveal-ready [data-sn-reveal="stagger"].is-visible > *:nth-child(3) {
		transition-delay: 180ms;
	}

	.sn-reveal-ready [data-sn-reveal="stagger"].is-visible > *:nth-child(4) {
		transition-delay: 270ms;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* ---------------------------------------------------------
 * 14. Utility
 * ------------------------------------------------------ */

.sn-visually-hidden,
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link.screen-reader-text:focus {
	position: fixed !important;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100000;
	width: auto;
	height: auto;
	clip-path: none;
	padding: 0.75rem 1.25rem;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	font-size: 0.875rem;
	text-decoration: none;
	border-radius: var(--sn-radius-pill);
}

.wp-site-blocks > .wp-block-group,
main > .wp-block-group {
	margin-block: 0;
}

/* ---------------------------------------------------------
 * 15. Block-markup bridges
 * ------------------------------------------------------ */

/* Header: pill bar layout for the block tree. */
.sn-header {
	padding-block: 1rem;
	background: transparent;
}

.sn-header .sn-shell {
	height: 72px;
	padding-inline: 0.75rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast-2) 75%, transparent);
	border-radius: var(--sn-radius-pill);
	background: color-mix(in srgb, var(--wp--preset--color--base) 82%, transparent);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	box-shadow: 0 10px 30px rgba(25, 20, 16, 0.06);
	max-width: calc(var(--sn-max) - 2.5rem);
}

.sn-header .sn-header__cta .wp-block-button__link {
	height: 3.375rem;
	padding-inline: 1.5rem;
	border-radius: var(--sn-radius-pill);
	font-size: 0.69rem;
	letter-spacing: 0.18em;
}

/* Footer grid + bar spacing for the block tree. */
.sn-footer {
	padding-block: clamp(2rem, 4vw, 3rem) 2rem;
}

.sn-footer .sn-footer__grid > .wp-block-group > p {
	margin: 0;
}

.sn-footer .sn-footer__bar > p {
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.69rem;
	color: var(--wp--preset--color--muted);
}

.sn-footer .sn-footer__bar a {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.69rem;
	color: var(--wp--preset--color--muted);
}

/* Section wrappers built from groups. */
.sn-section > .wp-block-group,
.sn-hero > .wp-block-group {
	margin-block: 0;
}

/* Reveal helper classes appended by the render filter. */
.sn-reveal,
.sn-reveal-stagger {
	will-change: opacity, transform;
}

/* ---------------------------------------------------------
 * 15. Block-markup structural helpers (front page)
 * Helper layer only: provides the grid containers the Atelier
 * system expects; it does not restyle any component above.
 * ------------------------------------------------------ */

/* Let groups and images shrink inside their grid/flex cell. */
.sn-hero__grid > .wp-block-group,
.sn-showcase > *,
.sn-triple > *,
.sn-stack > *,
.sn-two-col > *,
.sn-proof > *,
.sn-contact__grid > * {
	min-width: 0;
	max-width: none;
}

/* Full-height split sections: the two groups are the grid tracks. */
.sn-hero.sn-section,
.sn-split-rail {
	position: relative;
}

/* Column rhythm inside the copy tracks. */
.sn-hero__copy > * + *,
.sn-contact__grid > .sn-contact__body > * + * {
	margin-top: 0;
}

main .sn-hero__copy p,
main .sn-contact__grid p {
	margin-block: 0;
}

main .sn-hero__title,
main .sn-display,
main .sn-rail__body > h2,
main .sn-head h2 {
	margin-block: 0;
}

main .sn-hero__lede {
	margin-block: 0;
}

/* Header row: display heading column + rail link aligned to the baseline. */
.sn-head__display {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
}

@media (min-width: 1024px) {
	.sn-head__display {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 2rem;
	}
}

/* Sticky rail content inside the philosophy grid cell. */
.sn-split-rail > .wp-block-group {
	align-self: stretch;
}

/* Image figures used as frames/visuals: remove block defaults. */
main figure.sn-frame,
main .sn-hero__visual figure,
main .sn-feature figure {
	margin: 0;
}

main .sn-hero__visual .wp-block-image,
main .sn-feature .wp-block-image {
	position: absolute;
	inset: 0;
	margin: 0;
}

main .sn-hero__visual .wp-block-image img,
main .sn-feature .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

main .sn-frame .wp-block-image,
main .sn-frame .wp-block-image img {
	width: 100%;
	height: 100%;
	margin: 0;
}

main .sn-frame--portrait .wp-block-image {
	height: 100%;
}

main .sn-frame .wp-block-image figcaption {
	position: absolute;
	left: 1.5rem;
	right: 1.5rem;
	bottom: 1.5rem;
	margin: 0;
	padding: 0.9rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.5);
	background: color-mix(in srgb, var(--wp--preset--color--base) 82%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	font-family: var(--sn-sans);
	font-size: 0.72rem;
	line-height: 1.7;
	color: var(--wp--preset--color--ink-on-sand);
	text-align: left;
	z-index: 2;
}

main .sn-frame .wp-block-image figcaption strong {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 400;
	font-size: 0.6rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}

/* Inner rule sits under plaques, chips and captions. */
.sn-feature::after,
.sn-frame::after {
	z-index: 1;
}

/* Quote panel: meta rows with label on top, value below. */
.sn-quote__meta p {
	margin: 0;
}

.sn-quote__meta p + .sn-quote__value {
	margin-top: 0.35rem;
}

/* Two buttons side by side inside contact. */
.sn-contact .sn-actions {
	margin-top: 1.75rem;
}

/* Methodology cards: image then body, no default figure margin. */
main .sn-method {
	margin: 0;
}

/* Image link wrapper inside the featured showcase card. */
.sn-feature > a {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 3;
}

.sn-feature > a:focus-visible {
	outline: 2px solid var(--wp--preset--color--contrast-3);
	outline-offset: -6px;
}

/* Statement band stays compact. */
.sn-band {
	padding-block: clamp(2.5rem, 4vw, 3.5rem) !important;
}

.sn-band h2 {
	margin: 0;
	font-size: clamp(1.5rem, 1rem + 2vw, 2.6rem);
	line-height: 1.12;
}

.sn-band h2 em {
	color: var(--wp--preset--color--contrast-3);
}

/* Hero copy spacing (scroll flow only). */
main .sn-hero__copy {
	gap: 0;
}

/* The two hero/section groups are the grid tracks: let them fill their cell. */
main .sn-hero__grid > .sn-hero__copy {
	display: flex;
	flex-direction: column;
}

main .sn-hero__copy .sn-hero__inner,
main .sn-hero__copy .sn-hero__inner > * + *,
main .sn-hero__copy .sn-hero__meta {
	margin-top: 0;
}

main .sn-hero__copy .sn-eyebrow {
	margin-bottom: 2.5rem;
}

main .sn-hero__copy .sn-hero__lede {
	margin-top: 2rem;
}

main .sn-hero__copy .sn-actions {
	margin-top: 2.5rem;
}

main .sn-hero__copy .sn-hero__meta {
	margin-top: 3.5rem;
}

main .sn-split-rail > .sn-rail > .sn-rail__sticky > * + * {
	margin-top: 0;
}

main .sn-hero__meta .wp-block-group p {
	margin: 0;
}

/* Braced: keep the band heading italic and light on the warm band. */
main .sn-band h2,
main .sn-band h2 em {
	color: var(--wp--preset--color--contrast-3);
}

/* ---------------------------------------------------------
 * 16. Layout fixes from the wireframe comparison
 * ------------------------------------------------------ */

/* Hero: 50/50 split with centre hairline, copy in normal flow. */
@media (min-width: 1024px) {
	.sn-hero__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.sn-hero__copy {
	justify-content: flex-start;
}

main .sn-hero__title {
	margin-top: 0;
	max-width: 16ch;
	font-size: clamp(3.1rem, 1.6rem + 5vw, 5.1rem);
	text-wrap: normal;
}

/* Section container gap must not leak into card internals. */
.sn-hero__copy,
.sn-rail__body,
.sn-contact__body,
.sn-card__body,
.sn-method__body {
	row-gap: 0;
}

main .sn-card .sn-frame,
main .sn-method .sn-frame,
main .sn-frame--portrait {
	display: block;
	position: relative;
}

/* Showcase: both columns start at the same top; right stack keeps its own height. */
.sn-proof {
	align-items: start;
}

.sn-stack {
	align-self: start;
}

.sn-feature-card {
	display: flex;
	flex-direction: column;
}


/* Header link baseline-aligned with the display heading. */
.sn-head__display > p {
	margin: 0;
}

.sn-link-arrow {
	color: var(--wp--preset--color--accent-3);
}

/* Quote panel: smaller display quote, serif sub-values. */
@media (min-width: 1024px) {
	.sn-quote blockquote {
		font-size: clamp(2rem, 1.4rem + 1.4vw, 2.6rem);
		max-width: 16ch;
	}
}

.sn-quote__value {
	font-size: 1rem;
	line-height: 1.45;
}

/* Small uppercase labels never lighter than accent-3. */
.sn-eyebrow,
.sn-note,
.sn-meta-label,
.sn-rule__num,
.sn-card__label,
.sn-method__num,
.sn-plaque__label,
.sn-footer__label,
.sn-footer__bar {
	color: var(--wp--preset--color--accent-3);
}

/* Method cards: equal heights so caption rules align. */
.sn-capability {
	display: none;
}

main > .sn-section .sn-triple > .wp-block-group {
	display: flex;
	flex-direction: column;
}

main > .sn-section .sn-triple .sn-method__body {
	flex: 1;
}

/* Contact panel padding on small screens. */
.sn-contact {
	padding: 1.5rem;
}

@media (min-width: 640px) {
	.sn-contact {
		padding: clamp(2rem, 4vw, 4rem);
	}
}

/* Header: brand sits on the gutter line at >=1024. */
@media (min-width: 1024px) {
	.sn-header__inner {
		padding-inline: calc(var(--sn-gutter) - 1rem);
	}

	.sn-header {
		padding-inline: 1rem;
	}
}

/* Hero + showcase/section headers: 24px gutter to match the header shell. */
.sn-hero__copy,
.sn-rail,
.sn-rail__body {
	padding-inline: 1.5rem;
}

.sn-hero__copy {
	padding-block: 9rem 2.5rem;
}

@media (min-width: 1024px) {
	.sn-hero__copy,
	.sn-rail,
	.sn-rail__body {
		padding-inline: 1.5rem 3.5rem;
	}

	.sn-rail {
		padding-right: 2rem;
	}

	.sn-hero__copy {
		padding-block: 10rem 3rem;
	}
}

.sn-shell {
	padding-inline: 1.5rem;
}

@media (min-width: 640px) {
	.sn-shell {
		padding-inline: 2rem;
	}
}

@media (min-width: 1024px) {
	.sn-shell {
		padding-inline: 1.5rem;
	}
}

/* Wide gutter: section shells opt in to the 56px editorial gutter. */
.sn-shell--wide {
	padding-inline: var(--sn-gutter);
}

/* Showcase columns stretch to the tallest column so both tops align. */
.sn-head {
	align-items: start;
}

.sn-showcase {
	align-items: stretch;
}

.sn-feature-card .sn-card__body {
	border-bottom: 0;
}

/* Showcase top alignment for the right stack. */
main .sn-stack {
	margin-top: 0;
	padding-top: 0;
}

/* Section header labels keep a tighter rhythm. */
.sn-head .sn-eyebrow {
	margin-bottom: 1.25rem;
}

/* Quote: drop the default blockquote bar and rhythm. */
main .sn-quote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

main .sn-quote blockquote p {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

/* Quote panel: the caption text under the portrait runs in the frame caption style. */
.sn-quote {
	justify-content: flex-start;
}

/* Methodology: heading styles at body size. */
.sn-method__title {
	font-size: clamp(1.2rem, 1.05rem + 0.4vw, 1.45rem);
}

/* Flow layout for the remaining sections: root blocks stack at 0, internals use their own spacing. */
.sn-rail__body > .wp-block-group,
.sn-rail__body > .wp-block-group > *,
.sn-head > .wp-block-group > *,
.sn-contact__grid > .wp-block-group > *,
.sn-proof > .wp-block-group > *,
.sn-quote__meta > .wp-block-group > *,
.sn-hero__meta > .wp-block-group > * {
	margin-block: 0;
}

.sn-head > .wp-block-group > p + p,
.sn-contact__grid .sn-eyebrow + .sn-note,
.sn-rail__sticky .sn-eyebrow + .sn-note {
	margin-top: 1.25rem;
}

.sn-contact__body .sn-display + .sn-actions {
	margin-top: 1.75rem;
}

.sn-quote > .wp-block-quote {
	margin-block: 0;
}

.sn-quote .sn-quote__meta {
	margin-top: auto;
}

.sn-quote blockquote p {
	margin: 0;
	font-family: var(--sn-serif);
	color: var(--wp--preset--color--contrast);
}

/* Hero title: cap the line length so it never wraps mid-phrase. */
.sn-accent-hero {
	display: none;
}

/* Section interiors on the wide gutter (56px at >=1024). */
main > .sn-section > .sn-shell {
	padding-inline: var(--sn-gutter);
}

/* Featured showcase card: the image fills whatever space fits beside the plaque. */
.sn-feature-card > .sn-frame {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 420px;
}

.sn-feature-card > .sn-frame > .wp-block-image {
	flex: 1;
	height: auto;
}

.sn-feature-card > .sn-frame img {
	flex: 1;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
}

/* Hero meta: label above value, hairline row. */
main .sn-hero__meta > .wp-block-group > p:first-child {
	margin-bottom: 0.5rem;
}

/* ---------------------------------------------------------
 * 17. Block-tree structural fixes
 * ------------------------------------------------------ */

/* Grid/flex wrappers emitted by WP for layout-less groups default to block
   layout; restore the CSS grid/flex declared above. */
.sn-hero__grid,
.sn-two-col,
.sn-showcase,
.sn-stack,
.sn-triple,
.sn-proof,
.sn-contact__grid,
.sn-footer__grid,
.sn-split-rail,
.sn-head {
	display: grid;
}

.sn-hero__meta {
	display: grid;
}

.sn-frame,
.sn-hero__visual {
	display: block;
}

/* Hero visual: fill the grid cell even when its inner group is auto-height. */
.sn-hero__grid > .sn-hero__visual,
.sn-hero__grid > *[class*="sn-hero__visual"] {
	min-height: 56vh;
}

@media (min-width: 1024px) {
	.sn-hero__grid > *[class*="sn-hero__visual"] {
		min-height: 100%;
	}
}

/* A grid cell whose child group holds the image must stretch. */
.sn-hero__visual > .sn-frame {
	position: absolute;
	inset: 0;
	margin: 0;
}

.sn-hero__visual > .sn-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sn-hero__visual .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Cards: caption under the image with its rule on top. */
.sn-card,
.sn-method {
	display: flex;
	flex-direction: column;
}

/* Proof panel: quote first, meta pinned to the bottom. */
.sn-quote {
	height: 100%;
}

/* Header CTA: hidden inside the pill below 768px (keeps the logo + menu roomy). */
@media (max-width: 767px) {
	.sn-header .sn-header__cta {
		display: none;
	}
}

/* ---------------------------------------------------------
 * 18. Final review fixes
 * ------------------------------------------------------ */

/* The overlay escapes the fixed, blurred pill: it is positioned against the
 * viewport, not against the header's transformed backdrop container. */
.sn-header .wp-block-navigation__responsive-container.is-menu-open {
	position: fixed;
	width: 100vw;
	height: 100dvh;
	inset: 0;
	margin: 0;
	transform: none;
	border-radius: 0;
	background: var(--wp--preset--color--base);
	z-index: 60;
}

.sn-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
}

/* Mobile menu links need a full-size tap target. */
.sn-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding-block: 0.5rem;
}

.sn-header .wp-block-site-logo {
	display: flex;
	align-items: center;
}

.sn-header .wp-block-navigation-item__content {
	letter-spacing: 0.2em;
}

/* Reveal only below the hero; the hero is static like the reference. */
.sn-hero__grid {
	opacity: 1 !important;
	transform: none !important;
}

/* Hairlines a touch stronger, matching the reference rule colour. */
:root {
	--sn-hairline: 1px solid var(--wp--preset--color--contrast-2);
}

/* Band statements: keep the italic line on one phrase, never a broken word. */
.sn-band h2 {
	padding-inline: 1rem;
	hyphens: none;
	text-wrap: balance;
}

@media (max-width: 640px) {
	.sn-band h2 {
		font-size: clamp(1.5rem, 1.1rem + 2vw, 2rem);
	}
}

/* ---------------------------------------------------------
 * 19. Language toggle
 * ------------------------------------------------------ */

.sn-lang {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	border: 1px solid var(--wp--preset--color--contrast-2);
	border-radius: var(--sn-radius-pill);
	background: color-mix(in srgb, var(--wp--preset--color--base-2) 70%, transparent);
	font-family: var(--sn-sans);
}

.sn-lang__option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding-inline: 0.6rem;
	border-radius: var(--sn-radius-pill);
	font-size: 0.66rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--muted);
	transition: background-color 200ms var(--sn-ease), color 200ms var(--sn-ease);
}

.sn-lang__option:hover,
.sn-lang__option:focus-visible {
	color: var(--wp--preset--color--contrast);
	background: color-mix(in srgb, var(--wp--preset--color--base-2) 90%, transparent);
}

.sn-lang__option.is-active {
	background: color-mix(in srgb, var(--wp--preset--color--contrast-2) 55%, var(--wp--preset--color--base));
	color: var(--wp--preset--color--contrast);
	font-weight: 500;
}

/* Header row: give the language toggle its natural width and let the nav flex. */
.sn-header .sn-shell {
	gap: 0.75rem;
}

.sn-header > .sn-shell > .sn-lang {
	flex: none;
	width: auto;
	order: 3;
}

.sn-lang--menu {
	display: none;
}

.sn-header .sn-shell > .wp-block-navigation {
	flex: 1 1 auto;
	min-width: 0;
	justify-content: center;
}

.sn-header .sn-header__cta {
	order: 4;
}

.sn-header .wp-block-buttons {
	order: 4;
	flex: none;
}

/* The language switch moves into the menu only where the menu button exists.
 * Between 600px and 1023px the navigation is still inline, so the pill stays
 * in the header bar and must not be hidden. */
@media (max-width: 599px) {
	.sn-header > .sn-shell > .sn-lang {
		display: none;
	}

	.sn-header .wp-block-navigation__responsive-container.is-menu-open .sn-lang--menu {
		display: inline-flex;
		margin: 1rem auto 0;
	}
}

/* Intermediate widths: keep the inline navigation on one line inside the pill. */
@media (min-width: 600px) and (max-width: 1023px) {
	.sn-header .wp-block-site-logo {
		flex: none;
	}

	.sn-header .sn-shell > .wp-block-navigation {
		flex-wrap: nowrap;
		justify-content: flex-end;
	}

	.sn-header .wp-block-navigation__container {
		flex-wrap: nowrap;
		gap: 0.9rem;
	}

	.sn-header .wp-block-navigation-item__content {
		font-size: 0.62rem;
		letter-spacing: 0.1em;
		white-space: nowrap;
	}
}

/* ---------------------------------------------------------
 * 20. Block style variations
 *
 * Registered in functions.php. Editors apply them from the block
 * toolbar, so each one has to stand on its own in the Site Editor
 * preview as well as on the front end.
 * ------------------------------------------------------ */

/* Heading: Asterisk: the star ornament above the heading text. */
.is-style-asterisk::before {
	content: "";
	display: block;
	width: 1.5rem;
	height: 3rem;
	margin-bottom: 0.75rem;
	background: var(--wp--preset--color--accent-2);
	clip-path: path("M11.93.684v8.039l5.633-5.633 1.216 1.23-5.66 5.66h8.04v1.737H13.2l5.701 5.701-1.23 1.23-5.742-5.742V21h-1.737v-8.094l-5.77 5.77-1.23-1.217 5.743-5.742H.842V9.98h8.162l-5.701-5.7 1.23-1.231 5.66 5.66V.684h1.737Z");
}

/* Keep empty headings from rendering an ornament on their own. */
.is-style-asterisk:empty::before,
.is-style-asterisk:-moz-only-whitespace::before {
	content: none;
}

.is-style-asterisk.has-text-align-center::before {
	margin-inline: auto;
}

.is-style-asterisk.has-text-align-right::before {
	margin-left: auto;
}

.is-style-asterisk.has-text-align-left::before {
	margin-right: auto;
}

/* Paragraph: Eyebrow: small uppercase label with the sand dot. */
.is-style-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--sn-sans);
	font-size: 0.65rem;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.is-style-eyebrow::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	border-radius: var(--sn-radius-pill);
	background: var(--wp--preset--color--accent-2);
}

/* Image: Soft rounded. */
.is-style-soft-rounded img {
	border-radius: 14px;
}

/* Group: Statement band. */
.is-style-band {
	background-color: var(--wp--preset--color--band);
	color: var(--wp--preset--color--contrast-3);
}

.is-style-band :is(h1, h2, h3, h4, h5, h6, p, li, blockquote, cite, em, strong) {
	color: var(--wp--preset--color--contrast-3);
}

.is-style-band :is(a) {
	color: var(--wp--preset--color--contrast-3);
	text-decoration-color: currentColor;
}

/* Group: Contact card. */
.is-style-contact-card {
	border: var(--sn-hairline);
	border-radius: 16px;
	background-color: var(--wp--preset--color--base-2);
	box-shadow: 0 18px 50px rgba(25, 20, 16, 0.06);
}

/* ---------------------------------------------------------
 * 21. Fixed header clearance
 *
 * The header is a floating pill fixed to the top of the viewport, so the
 * first section of every inner template has to reserve room for it. The
 * home hero already carries its own top padding.
 * ------------------------------------------------------ */

main > .wp-block-group.has-base-2-background-color:first-child {
	padding-top: clamp(8rem, 11vw, 10.5rem) !important;
}

/* Anchor targets clear the fixed header as well. */
:where(h1, h2, h3, h4, [id]) {
	scroll-margin-top: 7rem;
}

/* Image intrinsic ratios: the block markup carries no width/height (core's
 * image save() does not serialise them), so the ratio is set here to keep
 * layout stable while the file loads. */
.sn-hero__visual .sn-frame img,
.sn-frame img {
	aspect-ratio: 1536 / 922;
	object-fit: cover;
}

.sn-frame img[src$="arah-coffee-shop.webp"] {
	aspect-ratio: 1536 / 728;
}

.sn-frame img[src$="project-perspective.webp"] {
	aspect-ratio: 1536 / 768;
}

.sn-frame img[src$="main-entrance.webp"],
.sn-frame img[src$="living-room.webp"] {
	aspect-ratio: 1536 / 878;
}

.sn-frame img[src$="master-bedroom.webp"] {
	aspect-ratio: 1536 / 895;
}

/* Pointer targets for the inline arrow links and the footer address. */
.sn-link-arrow,
.sn-footer p a,
a[href^="mailto:"],
a[href^="tel:"] {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
}
