/* The Waiting Lodge — generated from assets/css; do not edit. */

/* --- base/tokens.css --- */
/* ==========================================================================
   Design tokens — colour, type, space, motion. Everything else reads these.
   ========================================================================== */

:root {
	/* Colour */
	--c-ink: #1b1915;
	--c-ink-soft: #4a443b;
	--c-stone: #6b6358; /* 4.8:1 on sand — AA for small text */
	--c-night: #121512;
	--c-forest: #1f2a24;
	--c-forest-2: #2a3830;
	--c-gold: #b8935e;
	--c-gold-light: #d9bb85;
	--c-gold-dark: #7d5e34; /* 4.9:1 on sand, 5.4:1 on ivory */
	--c-sand: #efe7da;
	--c-ivory: #f8f4ed;
	--c-paper: #fffdf9;
	--c-white: #fff;
	--c-line: rgb(27 25 21 / 0.12);
	--c-line-strong: rgb(27 25 21 / 0.24);
	--c-line-light: rgb(255 255 255 / 0.18);
	--c-success: #3d6b4f;
	--c-error: #a2402e;

	/* Type */
	--f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	--f-body: "Jost", "Helvetica Neue", Arial, sans-serif;

	--fs-xs: 0.75rem;
	--fs-sm: 0.875rem;
	--fs-base: 1.0625rem;
	--fs-lg: clamp(1.125rem, 1.02rem + 0.45vw, 1.35rem);
	--fs-xl: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
	--fs-h4: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem);
	--fs-h3: clamp(1.7rem, 1.35rem + 1.3vw, 2.5rem);
	--fs-h2: clamp(2.3rem, 1.6rem + 2.8vw, 4.25rem);
	--fs-h1: clamp(2.9rem, 1.7rem + 5vw, 6.5rem);
	--fs-display: clamp(3.4rem, 1.5rem + 8vw, 9.5rem);

	--lh-tight: 1.04;
	--lh-snug: 1.2;
	--lh-body: 1.7;

	--tracking-wide: 0.22em;

	/* Space & layout */
	--gutter: clamp(1rem, 0.4rem + 3vw, 3.5rem);
	--container: 1360px;
	--container-wide: 1240px;
	--container-text: 760px;
	--section-y: clamp(4.5rem, 2.5rem + 8vw, 10rem);
	--stack: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
	--header-h: 76px;
	--radius: 2px;

	/* Motion */
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
	--ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
	--dur-fast: 0.25s;
	--dur: 0.6s;
	--dur-slow: 1.2s;

	/* Depth */
	--shadow-soft: 0 30px 60px -30px rgb(18 21 18 / 0.35);
	--shadow-card: 0 24px 48px -28px rgb(18 21 18 / 0.45);
}

@media (min-width: 1024px) {
	:root {
		--header-h: 92px;
	}
}

/* --- base/fonts.css --- */
/* ==========================================================================
   Self-hosted variable fonts (assets/fonts). No third-party requests.
   ========================================================================== */

@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("https://www.thewaitinglodge.com/wp-content/themes/twl/assets/fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2-variations"),
		url("https://www.thewaitinglodge.com/wp-content/themes/twl/assets/fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Cormorant Garamond";
	font-style: italic;
	font-weight: 300 700;
	font-display: swap;
	src: url("https://www.thewaitinglodge.com/wp-content/themes/twl/assets/fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2-variations"),
		url("https://www.thewaitinglodge.com/wp-content/themes/twl/assets/fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("https://www.thewaitinglodge.com/wp-content/themes/twl/assets/fonts/jost-latin-wght-normal.woff2") format("woff2-variations"),
		url("https://www.thewaitinglodge.com/wp-content/themes/twl/assets/fonts/jost-latin-wght-normal.woff2") format("woff2");
}

/* --- base/reset.css --- */
/* ==========================================================================
   Reset & document defaults
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 1rem);
	hanging-punctuation: first last;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	background: var(--c-ivory);
	color: var(--c-ink);
	font-family: var(--f-body);
	font-size: var(--fs-base);
	font-weight: 380;
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

body.menu-open {
	overflow: hidden;
}

img,
picture,
video,
svg,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

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

button {
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
}

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

/* Focus ring: dark ink on light surfaces, light gold on dark ones (both > 3:1). */
:focus-visible {
	outline: 2px solid var(--c-ink);
	outline-offset: 3px;
}

.site-header :focus-visible,
.mobile-menu :focus-visible,
.site-footer :focus-visible,
.section--forest :focus-visible,
.page-hero :focus-visible,
.home-hero :focus-visible,
.story :focus-visible,
.contact-band :focus-visible,
.error-hero :focus-visible,
.lightbox :focus-visible {
	outline-color: var(--c-gold-light);
}

::selection {
	background: var(--c-gold-light);
	color: var(--c-ink);
}

[hidden] {
	display: none !important;
}

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

.skip-link {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 1000;
	padding: 0.75rem 1.25rem;
	background: var(--c-ink);
	color: var(--c-white);
	transform: translateY(-200%);
	transition: transform var(--dur-fast) var(--ease-out);
}

.skip-link:focus {
	transform: none;
}

.site-main:focus {
	outline: none;
}

/* --- base/typography.css --- */
/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-family: var(--f-display);
	font-weight: 500;
	line-height: var(--lh-snug);
	letter-spacing: -0.01em;
	text-wrap: balance;
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); line-height: 1.08; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5,
h6 {
	font-family: var(--f-body);
	font-size: var(--fs-sm);
	font-weight: 500;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
}

h1 em,
h2 em,
h3 em {
	font-style: italic;
	font-weight: 400;
	color: var(--c-gold-dark);
}

p,
ul,
ol,
dl,
blockquote,
figure,
table {
	margin: 0 0 var(--stack);
}

p {
	text-wrap: pretty;
}

strong,
b {
	font-weight: 550;
}

small {
	font-size: var(--fs-sm);
}

/* Small uppercase label above headings. */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.85em;
	margin: 0 0 1.25rem;
	font-family: var(--f-body);
	font-size: var(--fs-xs);
	font-weight: 500;
	letter-spacing: var(--tracking-wide);
	line-height: 1.4;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--c-gold-dark);
}

.eyebrow::before {
	content: "";
	width: 2.25rem;
	height: 1px;
	background: currentColor;
	opacity: 0.7;
}

.eyebrow--light {
	color: var(--c-gold-light);
}

.eyebrow .icon {
	width: 1rem;
	height: 1rem;
}

a.eyebrow:has(.icon)::before {
	display: none;
}

/* Arrow link with animated underline. */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding-block: 0.35em;
	font-size: var(--fs-sm);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--c-ink);
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
	transition: background-size var(--dur) var(--ease-out), color var(--dur-fast);
}

.link-arrow .icon {
	width: 1.1em;
	height: 1.1em;
	transition: transform var(--dur) var(--ease-out);
}

.link-arrow:hover {
	background-size: 0 1px;
	background-position: 100% 100%;
	color: var(--c-gold-dark);
}

.link-arrow:hover .icon {
	transform: translateX(0.3em);
}

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

.link-arrow--light:hover {
	color: var(--c-gold-light);
}

/* --- layout/layout.css --- */
/* ==========================================================================
   Layout primitives: container, sections, headings, grids, carousel
   ========================================================================== */

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section {
	padding-block: var(--section-y);
}

.section--flush-top {
	padding-top: 0;
}

.section--sand {
	background: var(--c-sand);
}

.section--forest {
	background: var(--c-forest);
	color: var(--c-ivory);
}

.section--forest h2,
.section--forest h3 {
	color: var(--c-white);
}

.page-body {
	position: relative;
	background: var(--c-ivory);
}

/* Section heading */
.section-heading {
	max-width: 46rem;
	margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section-heading--center {
	margin-inline: auto;
	text-align: center;
}

.section-heading--center .eyebrow::after {
	content: "";
	width: 2.25rem;
	height: 1px;
	background: currentColor;
	opacity: 0.7;
}

.section-heading__title {
	margin-bottom: 0;
}

.section-heading__text {
	margin: 1.5rem 0 0;
	font-size: var(--fs-lg);
	color: var(--c-ink-soft);
}

.section--forest .section-heading__text {
	color: rgb(248 244 237 / 0.78);
}

/* Heading on the left, intro + link on the right. */
.split-head {
	display: grid;
	gap: 1.5rem 4rem;
	align-items: end;
	margin-bottom: clamp(2.5rem, 2rem + 2vw, 4.5rem);
}

.split-head .section-heading {
	margin-bottom: 0;
}

.split-head__aside p {
	max-width: 34rem;
	margin-bottom: 1.25rem;
	font-size: var(--fs-lg);
	color: var(--c-ink-soft);
}

.split-head--light .split-head__aside p {
	color: rgb(248 244 237 / 0.78);
}

@media (min-width: 900px) {
	.split-head {
		grid-template-columns: 1.1fr 1fr;
	}
}

/* Card grids: flex so an incomplete last row is centred instead of leaving holes. */
.card-grid {
	--cols: 1;
	--gap: clamp(1.25rem, 0.8rem + 1.6vw, 2.5rem);

	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--gap);
}

.card-grid > * {
	flex: 0 1 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
}

@media (min-width: 640px) {
	.card-grid--2,
	.card-grid--3,
	.card-grid--rooms {
		--cols: 2;
	}
}

@media (min-width: 900px) {
	.card-grid--3 {
		--cols: 3;
	}
}

/* Homepage rooms: three across from tablet up. */
@media (min-width: 768px) {
	.card-grid--rooms {
		--cols: 3;
	}
}

.child-grid {
	padding-top: clamp(2rem, 1rem + 3vw, 4rem);
}

.entry-content + .child-grid {
	padding-top: 0;
}

/* Horizontal carousel (scroll-snap). */
.carousel,
.carousel-mobile {
	--peek: 82%;
}

.carousel {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: var(--peek);
	gap: clamp(1rem, 0.6rem + 1.5vw, 2rem);
	margin-inline: calc(var(--gutter) * -1);
	padding: 0.25rem var(--gutter) 1.5rem;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
	display: none;
}

.carousel > * {
	scroll-snap-align: start;
}

@media (min-width: 640px) {
	.carousel {
		--peek: calc((100% - 2rem) / 2.2);
	}
}

@media (min-width: 1024px) {
	.carousel {
		--peek: calc((100% - 4rem) / 3);
		margin-inline: 0;
		padding-inline: 0;
		scroll-padding-inline: 0;
	}
}

/* Phones: card rows and carousels stack into full-width cards (no half-visible cards). */
@media (max-width: 639px) {
	.carousel,
	.carousel-mobile {
		display: grid;
		grid-auto-flow: row;
		grid-template-columns: 1fr;
		gap: clamp(1.25rem, 1rem + 2vw, 2rem);
		margin-inline: 0;
		padding: 0;
		overflow: visible;
		scroll-snap-type: none;
	}

	.carousel-mobile > *,
	.carousel > * {
		flex-basis: auto;
	}
}

.carousel-controls {
	display: none;
	gap: 0.75rem;
}

@media (min-width: 1024px) {
	.carousel-controls {
		display: flex;
	}
}

.carousel-btn {
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	border: 1px solid var(--c-line-strong);
	border-radius: 50%;
	transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), opacity var(--dur-fast);
}

.carousel-btn .icon {
	width: 1.2rem;
	height: 1.2rem;
}

.carousel-btn:hover:not(:disabled) {
	background: var(--c-ink);
	border-color: var(--c-ink);
	color: var(--c-white);
}

.carousel-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.related__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.related__head .section-heading {
	margin-bottom: 0;
}

/* Simple heading for fallback templates. */
.simple-head {
	padding-top: calc(var(--header-h) + var(--section-y) * 0.6);
	padding-bottom: 2rem;
}

.simple-head__title {
	font-size: var(--fs-h2);
}

.post-list__item {
	padding-block: 2rem;
	border-top: 1px solid var(--c-line);
}

.post-list__title {
	font-size: var(--fs-h3);
}

.post-list__title a {
	text-decoration: none;
}

/* A single related card stays card-sized. */
.card-grid--1 > * {
	flex-basis: min(100%, 26rem);
}

/* --- layout/header.css --- */
/* ==========================================================================
   Site header — transparent over heroes, solid forest glass once scrolled,
   hides on scroll down and returns on scroll up (assets/js/modules/header.js).
   ========================================================================== */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	color: var(--c-white);
	transition:
		transform 0.5s var(--ease-out),
		background-color 0.5s var(--ease-soft),
		backdrop-filter 0.5s var(--ease-soft),
		box-shadow 0.5s var(--ease-soft);
	view-transition-name: site-header;
}

.site-header::before {
	/* Soft top gradient keeps white text legible on bright hero images. */
	content: "";
	position: absolute;
	inset: 0 0 -40%;
	z-index: -1;
	background: linear-gradient(to bottom, rgb(10 12 10 / 0.55), transparent);
	pointer-events: none;
	transition: opacity 0.5s var(--ease-soft);
}

body:not(.has-hero) .site-header,
.site-header.is-scrolled {
	background: rgb(23 31 27 / 0.86);
	backdrop-filter: blur(14px) saturate(1.2);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	box-shadow: 0 1px 0 var(--c-line-light);
}

body:not(.has-hero) .site-header::before,
.site-header.is-scrolled::before {
	opacity: 0;
}

.site-header.is-hidden {
	transform: translateY(-100%);
}

body.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 0px);
}

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

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	max-width: calc(var(--container) + var(--gutter) * 2);
	height: var(--header-h);
	margin-inline: auto;
	padding-inline: var(--gutter);
	transition: height 0.5s var(--ease-out);
}

.site-header.is-scrolled .site-header__inner {
	height: calc(var(--header-h) - 14px);
}

/* Logo */
.site-logo {
	position: relative;
	z-index: 2;
	flex-shrink: 0;
	display: block;
	width: clamp(150px, 120px + 6vw, 200px);
	margin-right: auto;
}

.site-logo__img {
	width: 100%;
	height: auto;
}

.site-logo__text {
	font-family: var(--f-display);
	font-size: 1.5rem;
	white-space: nowrap;
}

/* Desktop navigation */
.primary-nav {
	display: none;
}

@media (min-width: 1140px) {
	.primary-nav {
		display: block;
	}
}

.primary-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(1.25rem, 0.5rem + 1.2vw, 2.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav__list > li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.15rem;
}

.primary-nav__list > li > a {
	position: relative;
	padding-block: 0.75rem;
	font-size: 0.78rem;
	font-weight: 450;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}

.primary-nav__list > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.35rem;
	height: 1px;
	background: var(--c-gold-light);
	transform: scaleX(0);
	transition: transform var(--dur) var(--ease-out);
}

.primary-nav__list > li:hover > a::after,
.primary-nav__list > li > a:focus-visible::after,
.primary-nav__list > .current-menu-item > a::after,
.primary-nav__list > .current-menu-ancestor > a::after,
.primary-nav__list > .current-page-ancestor > a::after {
	transform: scaleX(1);
}

.submenu-toggle {
	display: grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	opacity: 0.75;
}

.submenu-toggle .icon {
	width: 0.9rem;
	height: 0.9rem;
	transition: transform var(--dur-fast) var(--ease-out);
}

.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -1.5rem;
	min-width: 15rem;
	margin: 0;
	padding: 0.9rem 0;
	list-style: none;
	background: var(--c-paper);
	color: var(--c-ink);
	box-shadow: var(--shadow-soft);
	opacity: 0;
	visibility: hidden;
	transform: translateY(0.75rem);
	transition:
		opacity var(--dur-fast) var(--ease-soft),
		transform var(--dur) var(--ease-out),
		visibility 0s linear var(--dur-fast);
}

.primary-nav .sub-menu::before {
	/* Hover bridge between the link and the panel. */
	content: "";
	position: absolute;
	inset: -1rem 0 auto;
	height: 1rem;
}

/* Pointer: hover opens. Keyboard: the toggle button sets .is-open (header.js).
   Without JS, focus inside the item opens it. */
.primary-nav li:hover > .sub-menu,
.no-js .primary-nav li:focus-within > .sub-menu,
.primary-nav li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.primary-nav li.is-open > .submenu-toggle .icon,
.primary-nav li:hover > .submenu-toggle .icon {
	transform: rotate(180deg);
}

.primary-nav .sub-menu a {
	display: block;
	padding: 0.55rem 1.5rem;
	font-size: 0.95rem;
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--dur-fast), padding-left var(--dur) var(--ease-out);
}

.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu .current-menu-item > a {
	padding-left: 1.85rem;
	color: var(--c-gold-dark);
}

/* Actions */
.site-header__actions {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: clamp(0.75rem, 0.4rem + 1vw, 1.5rem);
}

.header-phone {
	display: none;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-decoration: none;
	white-space: nowrap;
	opacity: 0.9;
	transition: opacity var(--dur-fast), color var(--dur-fast);
}

.header-phone .icon {
	width: 1.05rem;
	height: 1.05rem;
	color: var(--c-gold-light);
}

.header-phone:hover {
	opacity: 1;
	color: var(--c-gold-light);
}

@media (min-width: 1400px) {
	.header-phone {
		display: inline-flex;
	}
}

/* Specificity beats `.button { display: inline-flex }`, which loads later. */
.site-header .header-cta {
	display: none;
}

@media (min-width: 640px) {
	.site-header .header-cta {
		display: inline-flex;
	}
}

/* Menu toggle (mobile / tablet) */
.menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	height: 2.75rem;
	padding-inline: 0.25rem;
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

@media (min-width: 1140px) {
	.menu-toggle {
		display: none;
	}
}

/* The visible label hides on small phones but stays available to screen readers. */
@media (max-width: 479px) {
	.menu-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	.menu-toggle {
		min-width: 2.75rem;
		justify-content: center;
	}
}

.menu-toggle__lines {
	position: relative;
	width: 1.75rem;
	height: 0.7rem;
}

.menu-toggle__lines span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1.5px;
	background: currentColor;
	transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out), width var(--dur) var(--ease-out);
}

.menu-toggle__lines span:first-child {
	top: 0;
}

.menu-toggle__lines span:last-child {
	top: calc(100% - 1.5px);
	width: 65%;
	left: auto;
	right: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span {
	top: calc(50% - 0.75px);
	width: 100%;
}

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

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child {
	transform: rotate(-45deg);
}

/* While the mobile menu is open the header sits above it, transparent. */
body.menu-open .site-header {
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: none;
	transform: none;
}

body.menu-open .site-header::before {
	opacity: 0;
}

/* visibility (not just opacity) so hidden links leave the tab order. */
body.menu-open .header-cta,
body.menu-open .header-phone {
	visibility: hidden;
}

/* Windows High Contrast: draw the hamburger lines in the system text colour. */
@media (forced-colors: active) {
	.menu-toggle__lines span {
		background: CanvasText;
	}
}

/* Without JavaScript the menu button cannot open the overlay, so show the
   primary links as a scrollable row under the logo instead. */
.no-js .menu-toggle {
	display: none;
}

@media (max-width: 1139px) {
	.no-js .site-header__inner {
		flex-wrap: wrap;
		height: auto;
		min-height: var(--header-h);
		padding-block: 0.75rem;
	}

	.no-js .primary-nav {
		display: block;
		order: 3;
		width: 100%;
		overflow-x: auto;
	}

	.no-js .primary-nav .sub-menu,
	.no-js .primary-nav .submenu-toggle {
		display: none;
	}
}

/* --- layout/menu.css --- */
/* ==========================================================================
   Full-screen mobile menu (assets/js/modules/menu.js)
   ========================================================================== */

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 90;
	visibility: hidden;
	pointer-events: none;
	transition: visibility 0s linear 0.8s;
}

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

.mobile-menu__backdrop {
	position: absolute;
	inset: 0;
	background: var(--c-forest);
	clip-path: inset(0 0 100% 0);
	transition: clip-path 0.8s var(--ease-in-out);
}

.mobile-menu.is-open .mobile-menu__backdrop {
	clip-path: inset(0 0 0 0);
}

.mobile-menu__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	height: 100%;
	padding: calc(var(--header-h) + 1.5rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
	overflow-y: auto;
	overscroll-behavior: contain;
	color: var(--c-ivory);
}

.mobile-nav__list,
.mobile-nav__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-nav__list > li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid var(--c-line-light);
	opacity: 0;
	transform: translateY(1.5rem);
	transition: opacity 0.5s var(--ease-soft), transform 0.8s var(--ease-out);
}

.mobile-menu.is-open .mobile-nav__list > li {
	opacity: 1;
	transform: none;
	transition-delay: calc(0.35s + var(--i, 0) * 0.06s);
}

.mobile-nav__list > li > a {
	flex: 1;
	padding-block: 0.9rem;
	font-family: var(--f-display);
	font-size: clamp(1.9rem, 1.4rem + 2.5vw, 2.75rem);
	font-weight: 400;
	line-height: 1.1;
	text-decoration: none;
	transition: color var(--dur-fast);
}

.mobile-nav__list > li > a:hover,
.mobile-nav__list .current-menu-item > a,
.mobile-nav__list .current-menu-ancestor > a,
.mobile-nav__list .current-page-ancestor > a {
	color: var(--c-gold-light);
}

.mobile-nav .submenu-toggle {
	width: 3rem;
	height: 3rem;
	border: 1px solid var(--c-line-light);
	border-radius: 50%;
	opacity: 1;
}

.mobile-nav .submenu-toggle .icon {
	width: 1.1rem;
	height: 1.1rem;
}

.mobile-nav .is-open > .submenu-toggle .icon {
	transform: rotate(180deg);
}

/* Accordion: collapsed by default, expands when the parent item gets .is-open. */
.mobile-nav .sub-menu {
	flex-basis: 100%;
	max-height: 0;
	overflow: hidden;
	visibility: hidden;
	transition: max-height 0.6s var(--ease-out), visibility 0s linear 0.6s;
}

.mobile-nav .is-open > .sub-menu {
	max-height: 40rem;
	visibility: visible;
	transition-delay: 0s;
}

.mobile-nav .sub-menu a {
	display: block;
	padding: 0.45rem 0 0.45rem 1rem;
	font-size: 1rem;
	color: rgb(248 244 237 / 0.78);
	text-decoration: none;
	border-left: 1px solid var(--c-line-light);
	transition: color var(--dur-fast), border-color var(--dur-fast);
}

.mobile-nav .sub-menu li:last-child a {
	margin-bottom: 1.25rem;
}

.mobile-nav .sub-menu a:hover,
.mobile-nav .sub-menu .current-menu-item > a {
	color: var(--c-gold-light);
	border-color: var(--c-gold-light);
}

.mobile-menu__footer {
	display: grid;
	gap: 1.75rem;
	margin-top: auto;
	opacity: 0;
	transform: translateY(1rem);
	transition: opacity 0.5s var(--ease-soft), transform 0.8s var(--ease-out);
}

.mobile-menu.is-open .mobile-menu__footer {
	opacity: 1;
	transform: none;
	transition-delay: 0.7s;
}

.mobile-menu__footer .contact-list a {
	color: var(--c-ivory);
}

@media (min-width: 1140px) {
	.mobile-menu {
		display: none;
	}
}

/* --- layout/footer.css --- */
/* ==========================================================================
   Site footer
   ========================================================================== */

.site-footer {
	position: relative;
	overflow: hidden;
	background: var(--c-night);
	color: rgb(248 244 237 / 0.72);
	font-size: 0.95rem;
}

.site-footer__top {
	display: grid;
	gap: 3rem 2rem;
	padding-block: clamp(4rem, 3rem + 4vw, 7rem) clamp(2rem, 1rem + 3vw, 4rem);
}

@media (min-width: 700px) {
	.site-footer__top {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1100px) {
	.site-footer__top {
		grid-template-columns: 1.4fr 1fr 1.2fr 0.9fr;
	}
}

.footer-logo {
	display: block;
	width: 220px;
	margin-bottom: 1.5rem;
}

.footer-logo__img {
	width: 100%;
}

.site-footer__tagline {
	max-width: 22rem;
	font-family: var(--f-display);
	font-size: var(--fs-xl);
	font-style: italic;
	line-height: 1.3;
	color: var(--c-ivory);
}

.site-footer__heading {
	margin-bottom: 1.25rem;
	font-family: var(--f-body);
	font-size: var(--fs-xs);
	font-weight: 500;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--c-gold-light);
}

.site-footer__address {
	margin-bottom: 1rem;
	font-style: normal;
	line-height: 1.8;
}

.site-footer .link-arrow {
	color: var(--c-ivory);
}

.site-footer .link-arrow:hover {
	color: var(--c-gold-light);
}

.site-footer .contact-list a {
	color: var(--c-ivory);
}

.footer-nav {
	display: grid;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-nav a {
	text-decoration: none;
	color: var(--c-ivory);
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
	transition: background-size var(--dur) var(--ease-out), color var(--dur-fast);
}

.footer-nav a:hover {
	color: var(--c-gold-light);
	background-size: 100% 1px;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-block: 1.75rem max(1.75rem, env(safe-area-inset-bottom));
	border-top: 1px solid var(--c-line-light);
	font-size: var(--fs-sm);
}

.site-footer__bottom p {
	margin: 0;
}

.back-to-top {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-size: var(--fs-xs);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--c-ivory);
	transition: color var(--dur-fast);
}

.back-to-top__icon {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--c-line-light);
	border-radius: 50%;
	transition: border-color var(--dur-fast), transform var(--dur) var(--ease-out);
}

.back-to-top__icon .icon {
	width: 1rem;
	height: 1rem;
	transform: rotate(-90deg);
}

.back-to-top:hover {
	color: var(--c-gold-light);
}

.back-to-top:hover .back-to-top__icon {
	border-color: var(--c-gold-light);
	transform: translateY(-3px);
}

/* Shared: contact list & social links */
.contact-list {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-list a {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	text-decoration: none;
	color: var(--c-ink);
	transition: color var(--dur-fast);
}

.contact-list .icon {
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.2rem;
	color: var(--c-gold);
}

.contact-list span {
	display: grid;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.contact-list small {
	font-size: var(--fs-xs);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.65;
}

.contact-list a:hover {
	color: var(--c-gold-dark);
}

.site-footer .contact-list a:hover,
.mobile-menu .contact-list a:hover {
	color: var(--c-gold-light);
}

.social-links {
	display: flex;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-links a {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--c-line-strong);
	border-radius: 50%;
	transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}

.social-links .icon {
	width: 1.15rem;
	height: 1.15rem;
}

.social-links--light a {
	border-color: var(--c-line-light);
	color: var(--c-ivory);
}

.social-links a:hover {
	background: var(--c-gold);
	border-color: var(--c-gold);
	color: var(--c-ink);
}

/* --- components/buttons.css --- */
/* ==========================================================================
   Buttons — fill sweeps up on hover. Also styles core Button blocks.
   ========================================================================== */

.button,
.wp-block-button__link {
	--btn-bg: var(--c-ink);
	--btn-fg: var(--c-white);
	--btn-border: var(--c-ink);
	--btn-hover-bg: var(--c-gold);
	--btn-hover-fg: var(--c-ink);

	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: 3.4rem;
	padding: 0.9rem 1.9rem;
	overflow: hidden;
	border: 1px solid var(--btn-border);
	border-radius: var(--radius);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--f-body);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}

.button::before,
.wp-block-button__link::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--btn-hover-bg);
	transform: scaleY(0);
	transform-origin: 50% 100%;
	transition: transform 0.5s var(--ease-out);
}

.button:hover,
.wp-block-button__link:hover {
	color: var(--btn-hover-fg);
	border-color: var(--btn-hover-bg);
}

.button:hover::before,
.wp-block-button__link:hover::before {
	transform: scaleY(1);
}

.button .icon,
.wp-block-button__link .icon {
	width: 1.1rem;
	height: 1.1rem;
	flex-shrink: 0;
	transition: transform 0.5s var(--ease-out);
}

.button:hover .icon--arrow-right {
	transform: translateX(0.25rem);
}

.button--gold {
	--btn-bg: var(--c-gold);
	--btn-fg: var(--c-ink);
	--btn-border: var(--c-gold);
	--btn-hover-bg: var(--c-ivory);
	--btn-hover-fg: var(--c-ink);
}

.button--dark {
	--btn-bg: var(--c-forest);
	--btn-fg: var(--c-white);
	--btn-border: var(--c-forest);
	--btn-hover-bg: var(--c-gold);
	--btn-hover-fg: var(--c-ink);
}

.button--outline,
.wp-block-button.is-style-outline .wp-block-button__link {
	--btn-bg: transparent;
	--btn-fg: var(--c-ink);
	--btn-border: var(--c-line-strong);
	--btn-hover-bg: var(--c-ink);
	--btn-hover-fg: var(--c-white);
}

.button--ghost-light {
	--btn-bg: rgb(255 255 255 / 0.04);
	--btn-fg: var(--c-white);
	--btn-border: rgb(255 255 255 / 0.5);
	--btn-hover-bg: var(--c-white);
	--btn-hover-fg: var(--c-ink);

	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.button--small {
	min-height: 2.75rem;
	padding: 0.6rem 1.3rem;
	font-size: 0.72rem;
}

.button--block {
	width: 100%;
}

.button:disabled,
.button[aria-busy="true"] {
	cursor: progress;
	opacity: 0.75;
}

/* Spinner used by the enquiry form submit button. */
.button__spinner {
	display: none;
	width: 1rem;
	height: 1rem;
	border: 1.5px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: twl-spin 0.8s linear infinite;
}

.button[aria-busy="true"] .button__spinner {
	display: inline-block;
}

.button[aria-busy="true"] .icon {
	display: none;
}

@keyframes twl-spin {
	to {
		transform: rotate(360deg);
	}
}

/* --- components/hero.css --- */
/* ==========================================================================
   Heroes — homepage slideshow and inner-page heroes.
   Intro animations run on load (pure CSS); parallax comes from JS.
   ========================================================================== */

/* ---------- Inner page hero ---------- */
.page-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: max(560px, 88svh);
	overflow: hidden;
	background: var(--c-forest);
	color: var(--c-white);
	isolation: isolate;
}

.page-hero--medium {
	min-height: max(460px, 62svh);
}

.page-hero__media {
	position: absolute;
	inset: -8% 0;
	z-index: -2;
}

.page-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: twl-hero-zoom 2.4s var(--ease-out) both;
	view-transition-name: hero-media;
}

/* Dark where the text sits (bottom-left), lighter at the top so the photo still reads. */
.page-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse 90% 70% at 15% 85%, rgb(12 15 13 / 0.55), transparent 70%),
		linear-gradient(to top, rgb(12 15 13 / 0.9) 0%, rgb(12 15 13 / 0.62) 45%, rgb(12 15 13 / 0.32) 72%, rgb(12 15 13 / 0.5) 100%);
}

/* Text on photos: a soft shadow keeps it legible over bright spots. */
.page-hero__content,
.home-hero__content {
	text-shadow: 0 1px 2px rgb(0 0 0 / 0.55), 0 0 28px rgb(0 0 0 / 0.35);
}

.page-hero .eyebrow--light,
.home-hero .eyebrow--light {
	color: #f1dfb8; /* lighter gold for 12px text on photos */
}

.page-hero__content {
	position: relative;
	padding-top: calc(var(--header-h) + 3rem);
	padding-bottom: clamp(3.5rem, 2rem + 5vw, 6.5rem);
}

.page-hero__eyebrow {
	animation: twl-fade-up 1s var(--ease-out) 0.15s both;
}

.page-hero__title {
	max-width: 15ch;
	margin-bottom: 0;
	font-size: var(--fs-h1);
	font-weight: 400;
	color: var(--c-white);
}

.page-hero__title .word {
	display: inline-block;
	overflow: hidden;
	padding-block: 0.1em 0.3em;
	margin-block: -0.1em -0.3em;
	vertical-align: top;
}

.page-hero__title .word > span {
	display: inline-block;
	animation: twl-word-up 1.2s var(--ease-out) both;
	animation-delay: calc(0.25s + var(--i, 0) * 0.08s);
}

.page-hero__lead {
	max-width: 40rem;
	margin: 1.75rem 0 0;
	font-size: var(--fs-lg);
	line-height: 1.6;
	color: rgb(255 255 255 / 0.94);
	animation: twl-fade-up 1.2s var(--ease-out) 0.7s both;
}

.page-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 0;
	margin: 2.5rem 0 0;
	padding: 1.5rem 0 0;
	list-style: none;
	border-top: 1px solid var(--c-line-light);
	animation: twl-fade-up 1.2s var(--ease-out) 0.85s both;
}

.page-hero__facts li {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding-right: clamp(1.25rem, 0.5rem + 2.5vw, 3rem);
	margin-right: clamp(1.25rem, 0.5rem + 2.5vw, 3rem);
	border-right: 1px solid var(--c-line-light);
}

.page-hero__facts li:last-child {
	border-right: 0;
	margin-right: 0;
	padding-right: 0;
}

.page-hero__facts .icon {
	width: 1.6rem;
	height: 1.6rem;
	color: var(--c-gold-light);
}

.page-hero__facts span {
	display: grid;
	line-height: 1.35;
}

.page-hero__facts small {
	font-size: var(--fs-xs);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.7;
}

/* ---------- Scroll cue ---------- */
.scroll-cue {
	position: absolute;
	right: var(--gutter);
	bottom: clamp(2rem, 1rem + 3vw, 4rem);
	display: none;
	width: 1px;
	height: 4.5rem;
	overflow: hidden;
	background: rgb(255 255 255 / 0.25);
}

.scroll-cue span {
	position: absolute;
	inset: 0;
	background: var(--c-gold-light);
	animation: twl-scroll-cue 2.4s var(--ease-in-out) infinite;
}

@media (min-width: 900px) {
	.scroll-cue {
		display: block;
	}
}

.scroll-cue--inline {
	position: relative;
	right: auto;
	bottom: auto;
	display: flex;
	align-items: center;
	gap: 1rem;
	width: auto;
	height: auto;
	overflow: visible;
	background: none;
	font-size: var(--fs-xs);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	text-decoration: none;
	color: rgb(255 255 255 / 0.8);
}

.scroll-cue--inline span {
	position: relative;
	display: block;
	width: 3rem;
	height: 1px;
	overflow: hidden;
	background: rgb(255 255 255 / 0.3);
	animation: none;
}

.scroll-cue--inline span::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--c-gold-light);
	animation: twl-scroll-cue-x 2.4s var(--ease-in-out) infinite;
}

/* ---------- Homepage hero ---------- */
.home-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: max(620px, 100svh);
	overflow: hidden;
	background: var(--c-night);
	color: var(--c-white);
	isolation: isolate;
}

.home-hero__slides {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.home-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s var(--ease-soft);
}

.home-hero__slide.is-active {
	opacity: 1;
}

.home-hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.12);
}

.home-hero__slide.is-active img {
	animation: twl-ken-burns 5s linear both;
}

.home-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse 85% 75% at 18% 78%, rgb(12 15 13 / 0.78), transparent 70%),
		linear-gradient(to top, rgb(12 15 13 / 0.88), rgb(12 15 13 / 0.35) 55%, rgb(12 15 13 / 0.55));
}

.home-hero__content {
	padding-top: calc(var(--header-h) + 4rem);
}


/* One line at every width: the size follows the viewport so the name always fits. */
.home-hero__title {
	margin: 0;
	font-size: min(9.5rem, 12.4vw);
	white-space: nowrap;
	font-weight: 400;
	line-height: 0.92;
	letter-spacing: -0.025em;
	color: var(--c-white);
}

/* Each line slides up inside a clipping mask. The padding gives tall letters and
   descenders (g, y, p) room inside the mask; the negative margins keep the spacing. */
.home-hero__title .line {
	display: block;
	overflow: hidden;
	padding-block: 0.1em 0.3em;
	margin-block: -0.1em -0.3em;
}

.home-hero__title .line > span {
	display: block;
	animation: twl-word-up 1.4s var(--ease-out) both;
}

.home-hero__title em {
	font-weight: 300;
	color: var(--c-gold-light);
}

/* Second line of the H1: the location, set smaller under the name. */
.home-hero__title .home-hero__place {
	margin-top: 0.3em;
	font-size: max(1.2rem, 0.34em);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0.01em;
	color: rgb(255 255 255 / 0.92);
}

.home-hero__title .home-hero__place > span {
	animation-delay: 0.16s;
}

.home-hero__text {
	max-width: 34rem;
	margin: 2rem 0 0;
	font-size: var(--fs-lg);
	line-height: 1.6;
	color: rgb(255 255 255 / 0.94);
	animation: twl-fade-up 1.2s var(--ease-out) 0.7s both;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2.5rem;
	animation: twl-fade-up 1.2s var(--ease-out) 0.9s both;
}

@media (max-width: 479px) {
	.home-hero__actions .button {
		width: 100%;
	}
}

.home-hero__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
	padding-bottom: max(1.75rem, env(safe-area-inset-bottom));
	animation: twl-fade-up 1.2s var(--ease-out) 1.1s both;
}

.hero-controls {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.hero-pause {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid rgb(255 255 255 / 0.45);
	border-radius: 50%;
	color: var(--c-white);
	transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}

.hero-pause:hover {
	background: var(--c-white);
	border-color: var(--c-white);
	color: var(--c-ink);
}

/* Two bars (pause) or a triangle (play) drawn in CSS. */
.hero-pause__icon {
	width: 0.7rem;
	height: 0.8rem;
	border-left: 3px solid currentColor;
	border-right: 3px solid currentColor;
}

.hero-pause[aria-pressed="true"] .hero-pause__icon {
	width: 0;
	height: 0;
	margin-left: 0.2rem;
	border-style: solid;
	border-width: 0.45rem 0 0.45rem 0.75rem;
	border-color: transparent transparent transparent currentColor;
}

.hero-dots {
	display: flex;
	gap: 0.35rem;
}

.hero-dots__dot {
	position: relative;
	width: 2.75rem;
	height: 2.75rem;
}

@media (max-width: 479px) {
	.hero-dots__dot {
		width: 2.25rem;
	}

	/* No room for the scroll cue next to the slide controls on small phones. */
	.home-hero__footer .scroll-cue--inline {
		display: none;
	}
}

.hero-dots__dot span {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 2px;
	overflow: hidden;
	background: rgb(255 255 255 / 0.3);
}

.hero-dots__dot span::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--c-gold-light);
	transform: scaleX(0);
	transform-origin: left;
}

.hero-dots__dot.is-active span::after {
	animation: twl-progress var(--slide-duration, 3s) linear both;
}

.home-hero.is-paused .hero-dots__dot.is-active span::after {
	animation-play-state: paused;
}

/* ---------- Keyframes ---------- */
@keyframes twl-hero-zoom {
	from {
		transform: scale(1.14);
	}
	to {
		transform: scale(1);
	}
}

@keyframes twl-ken-burns {
	from {
		transform: scale(1.12);
	}
	to {
		transform: scale(1);
	}
}

@keyframes twl-word-up {
	from {
		transform: translateY(110%);
	}
	to {
		transform: none;
	}
}

@keyframes twl-fade-up {
	from {
		opacity: 0;
		transform: translateY(1.5rem);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes twl-scroll-cue {
	0% {
		transform: translateY(-100%);
	}
	50% {
		transform: translateY(0);
	}
	100% {
		transform: translateY(100%);
	}
}

@keyframes twl-scroll-cue-x {
	0% {
		transform: translateX(-100%);
	}
	50% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(100%);
	}
}

@keyframes twl-progress {
	to {
		transform: scaleX(1);
	}
}

/* Phones: hero content sits in the middle of the screen, centred, controls below. */
@media (max-width: 767px) {
	.home-hero__content {
		display: flex;
		flex: 1;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding-top: var(--header-h);
		text-align: center;
	}

	.home-hero__text {
		margin-inline: auto;
	}

	.home-hero__actions {
		justify-content: center;
		width: 100%;
	}

	.home-hero__footer {
		justify-content: center;
		padding-top: 1.5rem;
	}
}

/* Phones: inner-page heroes match the homepage — content centred in the screen. */
@media (max-width: 767px) {
	.page-hero {
		align-items: center;
		text-align: center;
	}

	.page-hero__content {
		padding-top: calc(var(--header-h) + 1.5rem);
		padding-bottom: 1.5rem;
	}

	.page-hero__title {
		max-width: none;
	}

	.page-hero__lead {
		margin-inline: auto;
	}

	.page-hero__facts {
		justify-content: center;
	}

	.page-hero__facts li {
		text-align: left;
	}
}

/* --- components/cards.css --- */
/* ==========================================================================
   Cards — portrait (rooms), landscape (pages), overlay (facilities mosaic).
   The title link stretches over the card (.card__link::after); hover and focus
   effects are keyed to the card itself.
   ========================================================================== */

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.card__link {
	color: inherit;
	text-decoration: none;
}

.card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 5;
}

.card__link:focus-visible {
	outline: none;
}

.card:has(.card__link:focus-visible) {
	outline: 2px solid var(--c-ink);
	outline-offset: 4px;
}

.section--forest .card:has(.card__link:focus-visible) {
	outline-color: var(--c-gold-light);
}

.card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: var(--c-forest-2);
}

.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease-out), filter 0.6s var(--ease-soft);
}

.card__media::after {
	/* Gold hairline frame that draws in on hover. */
	content: "";
	position: absolute;
	inset: 0.9rem;
	border: 1px solid rgb(217 187 133 / 0.8);
	opacity: 0;
	transform: scale(1.04);
	transition: opacity 0.6s var(--ease-soft), transform 0.8s var(--ease-out);
	pointer-events: none;
}

.card:hover .card__media img,
.card:focus-within .card__media img {
	transform: scale(1.06);
}

.card:hover .card__media::after,
.card:focus-within .card__media::after {
	opacity: 1;
	transform: none;
}

.card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding-top: 1.5rem;
}

/* Photo cards sit on a light panel so they lift off the sand and ivory sections. */
.card--portrait,
.card--landscape {
	background: var(--c-paper);
	box-shadow: 0 1px 2px rgb(27 25 21 / 0.06), 0 18px 40px -28px rgb(27 25 21 / 0.35);
	transition: box-shadow 0.6s var(--ease-out), translate 0.6s var(--ease-out);
}

.card--portrait:hover,
.card--landscape:hover {
	translate: 0 -4px;
	box-shadow: 0 1px 2px rgb(27 25 21 / 0.06), 0 28px 50px -26px rgb(27 25 21 / 0.42);
}

.card--portrait .card__body,
.card--landscape .card__body {
	padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
}

/* Keep the scroll reveal (motion.css) and the hover lift together; only the reveal is staggered. */
.js .card--portrait[data-reveal],
.js .card--landscape[data-reveal] {
	transition-property: opacity, transform, box-shadow, translate;
	transition-duration: 1s, 1.3s, 0.6s, 0.6s;
	transition-timing-function: var(--ease-soft), var(--ease-out), var(--ease-out), var(--ease-out);
	transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s;
}

.card__eyebrow {
	margin: 0 0 0.5rem;
	font-size: var(--fs-xs);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--c-gold-dark);
}

.card__title {
	margin: 0 0 0.6rem;
	font-size: var(--fs-h4);
	font-weight: 500;
	line-height: 1.15;
	transition: color var(--dur-fast);
}

.card:hover .card__title {
	color: var(--c-gold-dark);
}

.card__text {
	margin: 0 0 1.25rem;
	color: var(--c-ink-soft);
	font-size: 0.98rem;
	line-height: 1.65;
}

.card__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0 0 1.5rem;
	padding: 1rem 0 0;
	list-style: none;
	border-top: 1px solid var(--c-line);
	font-size: var(--fs-sm);
	color: var(--c-ink-soft);
}

.card__facts li {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.card__facts .icon {
	width: 1.05rem;
	height: 1.05rem;
	color: var(--c-gold-dark);
}

.card__more {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: auto;
	font-size: var(--fs-xs);
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.card__more .icon {
	width: 1rem;
	height: 1rem;
	transition: transform var(--dur) var(--ease-out);
}

.card:hover .card__more .icon {
	transform: translateX(0.35rem);
}

/* Portrait: taller imagery for rooms. */
.card--portrait .card__media {
	aspect-ratio: 4 / 5;
}

/* Phones: cards stack full width, so shorter photos keep them compact. */
@media (max-width: 639px) {
	.card--portrait .card__media {
		aspect-ratio: 4 / 3;
	}
}

/* Overlay: text sits on the image. */
.card--overlay {
	height: 100%;
	min-height: 18rem;
	overflow: hidden;
	color: var(--c-white);
}

.card--overlay .card__media {
	position: absolute;
	inset: 0;
	aspect-ratio: auto;
}

.card--overlay .card__media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgb(12 15 13 / 0.88), rgb(12 15 13 / 0.25) 55%, rgb(12 15 13 / 0.05));
}

.card--overlay .card__media::after {
	z-index: 2;
}

.card--overlay .card__body {
	position: relative;
	z-index: 3;
	justify-content: flex-end;
	padding: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.card--overlay .card__title {
	margin: 0;
	color: var(--c-white);
	font-size: var(--fs-h4);
	text-shadow: 0 1px 2px rgb(0 0 0 / 0.5);
}

.card--overlay:hover .card__title {
	color: var(--c-gold-light);
}

.card--overlay .card__text,
.card--overlay .card__more {
	display: none;
}

@media (hover: hover) and (min-width: 900px) {
	.card--overlay .card__text {
		display: block;
		max-height: 0;
		margin: 0;
		overflow: hidden;
		opacity: 0;
		color: rgb(255 255 255 / 0.9);
		transition: max-height 0.7s var(--ease-out), opacity 0.5s var(--ease-soft), margin 0.7s var(--ease-out);
	}

	.card--overlay:hover .card__text,
	.card--overlay:focus-within .card__text {
		max-height: 8rem;
		margin-top: 0.6rem;
		opacity: 1;
	}
}

/* --- components/blocks.css --- */
/* ==========================================================================
   Editor content (core blocks) inside .entry-content / .prose
   ========================================================================== */

.entry-content {
	padding: var(--section-y) var(--gutter);
}

.entry-content > * {
	max-width: var(--container-text);
	margin-inline: auto;
}

.entry-content > .alignwide {
	max-width: var(--container-wide);
}

.entry-content > .alignfull {
	max-width: none;
	margin-inline: calc(var(--gutter) * -1);
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content > :last-child {
	margin-bottom: 0;
}

/* Text */
.prose p,
.prose li {
	color: var(--c-ink-soft);
}

.prose a:not(.wp-block-button__link):not(.button) {
	color: var(--c-gold-dark);
	text-decoration-color: rgb(125 94 52 / 0.4);
	transition: text-decoration-color var(--dur-fast), color var(--dur-fast);
}

.prose a:not(.wp-block-button__link):not(.button):hover {
	color: var(--c-ink);
	text-decoration-color: currentColor;
}

.prose h2 {
	margin-top: clamp(3rem, 2rem + 3vw, 5rem);
	margin-bottom: 1.25rem;
	font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem);
	color: var(--c-ink);
}

.prose h3 {
	margin-top: 2.5rem;
	margin-bottom: 0.75rem;
	font-size: var(--fs-h3);
	color: var(--c-ink);
}

.prose h4 {
	margin-top: 2rem;
	font-size: var(--fs-h4);
}

.prose h2:first-child,
.prose h3:first-child {
	margin-top: 0;
}

.prose .is-style-lead,
.prose > p:first-child:not([class]) {
	font-family: var(--f-display);
	font-size: var(--fs-xl);
	font-weight: 400;
	line-height: 1.45;
	color: var(--c-ink);
}

.prose .is-style-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.85em;
	margin-top: 0;
	margin-bottom: 1rem;
	font-family: var(--f-body);
	font-size: var(--fs-xs);
	font-weight: 500;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--c-gold-dark);
}

.prose .is-style-eyebrow::before {
	content: "";
	width: 2.25rem;
	height: 1px;
	background: currentColor;
	opacity: 0.7;
}

.prose .is-style-eyebrow + h2,
.prose .is-style-eyebrow + h3 {
	margin-top: 0;
}

/* Lists */
.prose ul,
.prose ol {
	padding-left: 1.25rem;
}

.prose ul li::marker {
	color: var(--c-gold);
}

.prose li + li {
	margin-top: 0.35rem;
}

/* Amenities list: two/three columns with gold checks. */
.prose ul.is-style-amenities {
	display: grid;
	gap: 0 2rem;
	padding: 0;
	list-style: none;
}

@media (min-width: 560px) {
	.prose ul.is-style-amenities {
		grid-template-columns: repeat(2, 1fr);
	}
}

.prose ul.is-style-amenities li {
	position: relative;
	margin: 0;
	padding: 0.85rem 0 0.85rem 2rem;
	border-bottom: 1px solid var(--c-line);
	color: var(--c-ink);
	line-height: 1.5;
}

.prose ul.is-style-amenities li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.05rem;
	width: 1.1rem;
	height: 1.1rem;
	background: var(--c-gold);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Images & quotes */
.prose figure {
	margin-block: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.prose .wp-block-image img {
	width: 100%;
}

.prose figcaption,
.prose .wp-element-caption {
	margin-top: 0.85rem;
	font-size: var(--fs-sm);
	color: var(--c-stone);
	text-align: center;
}

.prose blockquote,
.prose .wp-block-quote,
.prose .wp-block-pullquote {
	position: relative;
	margin-block: clamp(2.5rem, 2rem + 2vw, 4rem);
	padding: 0 0 0 clamp(1.5rem, 1rem + 2vw, 3rem);
	border: 0;
	border-left: 1px solid var(--c-gold);
}

.prose blockquote p,
.prose .wp-block-pullquote p {
	font-family: var(--f-display);
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem);
	font-style: italic;
	font-weight: 400;
	line-height: 1.3;
	color: var(--c-ink);
}

.prose blockquote cite {
	font-size: var(--fs-sm);
	font-style: normal;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-gold-dark);
}

/* Buttons */
.prose .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-block: 2rem;
}

.prose .wp-block-button:nth-child(2):not(.is-style-fill) .wp-block-button__link {
	--btn-bg: transparent;
	--btn-fg: var(--c-ink);
	--btn-border: var(--c-line-strong);
	--btn-hover-bg: var(--c-ink);
	--btn-hover-fg: var(--c-white);
}

/* Separator */
.prose hr,
.prose .wp-block-separator {
	width: 4rem;
	max-width: 4rem;
	height: 1px;
	margin: clamp(3rem, 2rem + 3vw, 5rem) auto;
	border: 0;
	background: var(--c-gold);
	opacity: 1;
}

/* Media & text: alternating feature rows on a light panel; the photo fills its half. */
.prose .wp-block-media-text {
	gap: 0;
	margin-block: clamp(2rem, 1.5rem + 2.5vw, 4rem);
	align-items: stretch;
	overflow: hidden;
	background: var(--c-paper);
	box-shadow: 0 1px 2px rgb(27 25 21 / 0.06), 0 18px 40px -28px rgb(27 25 21 / 0.35);
}

.prose .wp-block-media-text__media {
	position: relative;
	overflow: hidden;
	align-self: stretch;
	margin: 0;
}

.prose .wp-block-media-text__media img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 1.4s var(--ease-out);
}

.prose .wp-block-media-text:hover .wp-block-media-text__media img {
	transform: scale(1.04);
}

.prose .wp-block-media-text__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
}

.prose .wp-block-media-text__content > :last-child {
	margin-bottom: 0;
}

.prose .wp-block-media-text__content h2,
.prose .wp-block-media-text__content h3 {
	margin-top: 0;
	font-size: var(--fs-h3);
}

.prose .wp-block-media-text__content .wp-block-buttons {
	margin-bottom: 0;
}

@media (min-width: 782px) {
	.prose .wp-block-media-text {
		grid-template-columns: 55% auto;
	}

	.prose .wp-block-media-text.has-media-on-the-right {
		grid-template-columns: auto 55%;
	}

	/* The photo covers the full height of the row, however long the text is. */
	.prose .wp-block-media-text__media {
		min-height: clamp(20rem, 12rem + 16vw, 30rem);
	}

	.prose .wp-block-media-text__media img {
		position: absolute;
		inset: 0;
		aspect-ratio: auto;
	}

	.prose .wp-block-media-text__content {
		padding: clamp(2rem, 1rem + 3vw, 4rem) clamp(2rem, 1rem + 4vw, 5rem);
	}
}

/* Centred section heading (e.g. "Three design concepts"): short gold rule, roomy intro. */
.prose h2.has-text-align-center {
	margin-bottom: 1rem;
}

.prose h2.has-text-align-center::after {
	content: "";
	display: block;
	width: 3rem;
	height: 1px;
	margin: 1.5rem auto 0;
	background: var(--c-gold);
}

.prose h2.has-text-align-center + p.has-text-align-center {
	max-width: 36rem;
	margin-inline: auto;
	font-size: var(--fs-lg);
	color: var(--c-ink-soft);
}

/* Columns (e.g. design concepts) */
.prose .wp-block-columns {
	gap: clamp(1.25rem, 0.8rem + 1.6vw, 2.5rem);
	margin-block: clamp(2.5rem, 2rem + 2vw, 4rem);
}

/* A column that starts with a photo becomes a white card, like the room cards. */
.prose .wp-block-column:has(> .wp-block-image:first-child) {
	display: flex;
	flex-direction: column;
	padding-bottom: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
	background: var(--c-paper);
	box-shadow: 0 1px 2px rgb(27 25 21 / 0.06), 0 18px 40px -28px rgb(27 25 21 / 0.35);
	transition: box-shadow 0.6s var(--ease-out), translate 0.6s var(--ease-out);
}

.prose .wp-block-column:has(> .wp-block-image:first-child):hover {
	translate: 0 -4px;
	box-shadow: 0 1px 2px rgb(27 25 21 / 0.06), 0 28px 50px -26px rgb(27 25 21 / 0.42);
}

.prose .wp-block-column:has(> .wp-block-image:first-child) > * {
	margin-inline: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
}

.prose .wp-block-column > .wp-block-image:first-child {
	margin: 0 0 clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
	overflow: hidden;
}

.prose .wp-block-column > .wp-block-image:first-child img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 1.4s var(--ease-out);
}

.prose .wp-block-column:hover > .wp-block-image:first-child img {
	transform: scale(1.04);
}

.prose .wp-block-column h3 {
	margin-top: 0;
	margin-bottom: 0.6rem;
	font-size: var(--fs-h4);
}

.prose .wp-block-column > p:last-child {
	margin-bottom: 0;
	font-size: 0.98rem;
}

/* Sand panel */
.prose .wp-block-group.is-style-panel {
	padding: clamp(2rem, 1.5rem + 3vw, 4.5rem);
	background: var(--c-sand);
}

.prose .wp-block-group.is-style-panel > :last-child {
	margin-bottom: 0;
}

.prose .wp-block-group.is-style-panel > h2:first-child,
.prose .wp-block-group.is-style-panel > h3:first-child {
	margin-top: 0;
	font-size: var(--fs-h4);
}

/* Details (accordion) — animated by assets/js/modules/accordion.js */
.prose .wp-block-details {
	margin-block: 0;
	border-bottom: 1px solid var(--c-line-strong);
}

.prose .wp-block-details:first-of-type,
.prose :not(.wp-block-details) + .wp-block-details {
	border-top: 1px solid var(--c-line-strong);
}

.prose .wp-block-details summary {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.4rem 0;
	cursor: pointer;
	font-family: var(--f-display);
	font-size: var(--fs-xl);
	font-weight: 500;
	line-height: 1.25;
	color: var(--c-ink);
	list-style: none;
	transition: color var(--dur-fast);
}

.prose .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.prose .wp-block-details summary::after {
	content: "";
	flex-shrink: 0;
	width: 2.4rem;
	height: 2.4rem;
	border: 1px solid var(--c-line-strong);
	border-radius: 50%;
	background:
		linear-gradient(var(--c-ink), var(--c-ink)) center / 0.8rem 1px no-repeat,
		linear-gradient(var(--c-ink), var(--c-ink)) center / 1px 0.8rem no-repeat;
	transition: transform var(--dur) var(--ease-out), background-color var(--dur-fast), border-color var(--dur-fast);
}

.prose .wp-block-details[open] summary::after {
	transform: rotate(135deg);
	border-color: var(--c-gold);
}

.prose .wp-block-details summary:hover {
	color: var(--c-gold-dark);
}

.prose .wp-block-details > :not(summary) {
	margin-top: 0;
}

.prose .wp-block-details > :last-child {
	padding-bottom: 1.5rem;
}

/* Tables */
.prose .wp-block-table {
	overflow-x: auto;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.prose th,
.prose td {
	padding: 0.85rem 1rem;
	border: 0;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
	vertical-align: top;
}

.prose th {
	font-weight: 500;
	color: var(--c-ink);
}

.prose tr:nth-child(odd) td {
	background: rgb(239 231 218 / 0.5);
}

/* Embeds */
.prose .wp-block-embed iframe {
	width: 100%;
}

/* Space between the last accordion item and the text that follows it. */
.prose .wp-block-details + :not(.wp-block-details) {
	margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}

/* --- components/gallery.css --- */
/* ==========================================================================
   Galleries (core Gallery block) + lightbox (assets/js/modules/lightbox.js).
   Each photo count gets a layout that fills complete rows — no empty cells.
   ========================================================================== */

.wp-block-gallery.has-nested-images {
	--gap: clamp(0.5rem, 0.3rem + 0.8vw, 1rem);

	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-flow: dense;
	gap: var(--gap);
}

.wp-block-gallery.has-nested-images figure.wp-block-image {
	position: relative;
	width: auto !important;
	margin: 0 !important;
	overflow: hidden;
	background: var(--c-sand);
}

.wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	cursor: zoom-in;
	transition: transform 1.2s var(--ease-out), filter 0.6s var(--ease-soft);
}

.wp-block-gallery.has-nested-images figure.wp-block-image:hover img {
	transform: scale(1.05);
}

/* The figure clips overflow, so draw the keyboard focus ring inside the image. */
.wp-block-gallery.has-nested-images figure.wp-block-image img:focus-visible {
	outline: 3px solid var(--c-white);
	outline-offset: -6px;
	box-shadow: inset 0 0 0 6px rgb(27 25 21 / 0.55);
}

.wp-block-gallery.has-nested-images figure.wp-block-image::after {
	content: "";
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1915' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 1.1rem no-repeat,
		rgb(248 244 237 / 0.92);
	opacity: 0;
	transform: scale(0.8);
	transition: opacity var(--dur-fast), transform var(--dur) var(--ease-out);
	pointer-events: none;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:hover::after,
.wp-block-gallery.has-nested-images figure.wp-block-image:focus-within::after {
	opacity: 1;
	transform: none;
}

/* 1 photo: one wide frame. */
.wp-block-gallery.has-nested-images:has(> figure:only-child) {
	grid-template-columns: 1fr;
}

.wp-block-gallery.has-nested-images > figure:only-child img {
	aspect-ratio: 16 / 9;
}

/* 2 photos: side by side. */
.wp-block-gallery.has-nested-images:has(> figure:first-child:nth-last-child(2)) img {
	aspect-ratio: 4 / 5;
}

/* 3 photos — phone: wide lead + two below; desktop: lead (2×2) + two stacked. */
.wp-block-gallery.has-nested-images:has(> figure:first-child:nth-last-child(3)) > figure:first-child {
	grid-column: span 2;
}

/* 5 photos: large lead (2×2) + four. */
.wp-block-gallery.has-nested-images:has(> figure:first-child:nth-last-child(5)) > figure:first-child,
.wp-block-gallery.has-nested-images:has(> figure:first-child:nth-last-child(7)) > figure:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

/* 7 photos: lead (2×2) + four + two wide. */
.wp-block-gallery.has-nested-images:has(> figure:first-child:nth-last-child(7)) > figure:nth-child(n + 6) {
	grid-column: span 2;
}

.wp-block-gallery.has-nested-images:has(> figure:first-child:nth-last-child(7)) > figure:nth-child(n + 6) img {
	aspect-ratio: 16 / 9;
}

@media (min-width: 782px) {
	/* Default (4, 8+ photos): four across. */
	.wp-block-gallery.has-nested-images {
		grid-template-columns: repeat(4, 1fr);
	}

	.wp-block-gallery.has-nested-images:has(> figure:first-child:nth-last-child(4)) img {
		aspect-ratio: 4 / 5;
	}

	/* 2 photos stay two across. */
	.wp-block-gallery.has-nested-images:has(> figure:first-child:nth-last-child(2)) {
		grid-template-columns: repeat(2, 1fr);
	}

	/* 3 photos: lead 2×2 + two stacked on the right. */
	.wp-block-gallery.has-nested-images:has(> figure:first-child:nth-last-child(3)) {
		grid-template-columns: repeat(3, 1fr);
	}

	.wp-block-gallery.has-nested-images:has(> figure:first-child:nth-last-child(3)) > figure:first-child {
		grid-column: span 2;
		grid-row: span 2;
	}

	/* 6 photos: two rows of three. */
	.wp-block-gallery.has-nested-images:has(> figure:first-child:nth-last-child(6)) {
		grid-template-columns: repeat(3, 1fr);
	}
}

.wp-block-gallery figcaption {
	position: absolute;
	inset: auto 0 0;
	padding: 2rem 1rem 0.85rem;
	margin: 0 !important;
	background: linear-gradient(to top, rgb(12 15 13 / 0.7), transparent);
	color: var(--c-white) !important;
	font-size: var(--fs-sm);
	text-align: left !important;
}

/* ---------- Lightbox ---------- */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	grid-template-rows: auto 1fr auto;
	background: rgb(12 15 13 / 0.96);
	color: var(--c-ivory);
	opacity: 0;
	transition: opacity 0.4s var(--ease-soft);
}

.lightbox.is-open {
	opacity: 1;
}

.lightbox__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem var(--gutter);
	font-size: var(--fs-sm);
	letter-spacing: 0.14em;
}

.lightbox__stage {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 0;
	padding: 0 var(--gutter);
	touch-action: pan-y;
}

.lightbox__img {
	max-width: 100%;
	max-height: calc(100svh - 10rem);
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.6);
	opacity: 0;
	transform: scale(0.96);
	transition: opacity 0.45s var(--ease-soft), transform 0.7s var(--ease-out);
}

.lightbox__img.is-loaded {
	opacity: 1;
	transform: none;
}

.lightbox__caption {
	min-height: 3.5rem;
	padding: 0.75rem var(--gutter) max(1.25rem, env(safe-area-inset-bottom));
	text-align: center;
	font-size: var(--fs-sm);
	color: rgb(248 244 237 / 0.75);
}

.lightbox__btn {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border: 1px solid var(--c-line-light);
	border-radius: 50%;
	color: var(--c-ivory);
	transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.lightbox__btn .icon {
	width: 1.2rem;
	height: 1.2rem;
}

.lightbox__btn:hover {
	background: var(--c-ivory);
	border-color: var(--c-ivory);
	color: var(--c-ink);
}

.lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgb(12 15 13 / 0.4);
}

.lightbox__nav--prev {
	left: var(--gutter);
}

.lightbox__nav--next {
	right: var(--gutter);
}

@media (max-width: 699px) {
	.lightbox__nav {
		top: auto;
		bottom: -3.75rem;
		transform: none;
	}
}

/* --- components/cta.css --- */
/* ==========================================================================
   Closing contact band
   ========================================================================== */

.contact-band {
	position: relative;
	display: grid;
	place-items: center;
	min-height: max(520px, 75svh);
	overflow: hidden;
	background: var(--c-forest);
	color: var(--c-white);
	text-align: center;
	isolation: isolate;
}

.contact-band__media {
	position: absolute;
	inset: -12% 0;
	z-index: -2;
}

.contact-band__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.contact-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(ellipse at center, rgb(18 21 18 / 0.55), rgb(18 21 18 / 0.85));
}

.contact-band__inner {
	max-width: 54rem;
	padding-block: var(--section-y);
}

.contact-band__inner .eyebrow::after {
	content: "";
	width: 2.25rem;
	height: 1px;
	background: currentColor;
	opacity: 0.7;
}

.contact-band__title {
	margin-bottom: 1.5rem;
	font-size: var(--fs-h2);
	font-weight: 400;
	color: var(--c-white);
}

.contact-band__title em {
	color: var(--c-gold-light);
}

.contact-band__text {
	max-width: 36rem;
	margin: 0 auto 2.5rem;
	font-size: var(--fs-lg);
	color: rgb(255 255 255 / 0.82);
}

.contact-band__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.85rem;
}

@media (max-width: 479px) {
	.contact-band__actions .button {
		width: 100%;
	}
}

/* --- utilities/motion.css --- */
/* ==========================================================================
   Motion: scroll reveals, page transitions, reduced-motion fallbacks.
   ========================================================================== */

/* ---------- Scroll reveals (assets/js/modules/reveal.js adds .is-in) ---------- */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(2.5rem);
	transition:
		opacity 1s var(--ease-soft),
		transform 1.3s var(--ease-out);
	transition-delay: calc(var(--i, 0) * 90ms);
}

.js [data-reveal].is-in,
.reveal-all [data-reveal] {
	opacity: 1;
	transform: none;
}

/* Images wipe up into view while settling from a slight zoom.
   The clip sits on the child: a fully clipped target would never report as intersecting. */
.js [data-reveal="image"] {
	opacity: 1;
	transform: none;
}

.js [data-reveal="image"] > * {
	clip-path: inset(100% 0 0 0);
	transition: clip-path 1.5s var(--ease-in-out);
	transition-delay: calc(var(--i, 0) * 120ms);
}

.js [data-reveal="image"] img {
	scale: 1.2;
	transition: scale 2.2s var(--ease-out);
	transition-delay: calc(var(--i, 0) * 120ms);
}

.js [data-reveal="image"].is-in > *,
.reveal-all [data-reveal="image"] > * {
	clip-path: inset(0 0 0 0);
}

.js [data-reveal="image"].is-in img,
.reveal-all [data-reveal="image"] img {
	scale: 1;
}

/* Parallax targets get their own layer. */
[data-parallax] {
	will-change: transform;
}

/* ---------- Cross-document page transitions (View Transitions API) ---------- */
@view-transition {
	navigation: auto;
}

::view-transition-old(root) {
	animation: twl-vt-old 0.7s var(--ease-in-out) both;
}

::view-transition-new(root) {
	animation: twl-vt-new 0.9s var(--ease-in-out) both;
}

/* The header stays put between pages. */
::view-transition-group(site-header) {
	animation: none;
	z-index: 10;
}

::view-transition-old(site-header) {
	display: none;
}

::view-transition-new(site-header) {
	animation: none;
}

/* A clicked card image grows into the next page's hero. */
::view-transition-group(hero-media) {
	animation-duration: 0.9s;
	animation-timing-function: var(--ease-in-out);
}

::view-transition-old(hero-media),
::view-transition-new(hero-media) {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@keyframes twl-vt-old {
	to {
		opacity: 0.4;
		transform: scale(0.96);
		filter: brightness(0.6);
	}
}

@keyframes twl-vt-new {
	from {
		clip-path: inset(100% 0 0 0);
	}
	to {
		clip-path: inset(0 0 0 0);
	}
}

/* Browsers without cross-document transitions (html.no-vt, set in the head):
   fade out on leave (transitions.js adds .is-leaving), fade in on load. */
.no-vt .site-main,
.no-vt .site-footer {
	animation: twl-page-in 0.9s var(--ease-out) both;
}

.no-vt.is-leaving .site-main,
.no-vt.is-leaving .site-footer {
	opacity: 0;
	transform: translateY(-1rem);
	transition: opacity 0.35s var(--ease-soft), transform 0.35s var(--ease-soft);
}

@keyframes twl-page-in {
	from {
		opacity: 0;
		transform: translateY(1.5rem);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	@view-transition {
		navigation: none;
	}

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

	.js [data-reveal],
	.js [data-reveal="image"],
	.js [data-reveal="image"] > * {
		opacity: 1;
		transform: none;
		clip-path: none;
	}

	.js [data-reveal="image"] img {
		scale: 1;
	}

	[data-parallax] {
		transform: none !important;
	}
}
