/* ============================================================== fonts === */

@font-face {
	font-family: 'Geist';
	src: url('../fonts/Geist-Variable.woff2') format('woff2');
	font-weight: 100 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Geist Mono';
	src: url('../fonts/GeistMono-Variable.woff2') format('woff2');
	font-weight: 100 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Instrument Serif';
	src: url('../fonts/InstrumentSerif-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Instrument Serif';
	src: url('../fonts/InstrumentSerif-Italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

/* ============================================================== tokens === */

:root {
	/* NORDKUR brand tokens: forest, olive, terra, sand, mist */
	--paper: #f5f0e4;
	--paper-alt: #ece5d3;
	--ink: #2a2e24;
	--ink-soft: rgba(42, 46, 36, 0.68);
	--ink-faint: rgba(42, 46, 36, 0.42);
	--accent: #8a5636;
	--accent-soft: rgba(138, 86, 54, 0.14);
	--line: rgba(42, 46, 36, 0.16);
	--water: #4a86b8;

	--gutter: clamp(1.4rem, 4.6vw, 6.5rem);
	--section-y: clamp(3.4rem, 7.8vh, 6.1rem);

	--sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
	--display: 'Instrument Serif', Georgia, 'Times New Roman', serif;

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================== base ==== */

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: -0.004em;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #f6f1e3; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, p, dl, dd, ul, ol, figure, figcaption { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
em { font-style: italic; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 2px;
}
.section--dark :focus-visible,
.foot :focus-visible { outline-color: var(--paper); }

/* ============================================================== nav ====== */

.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: clamp(1rem, 2.4vw, 2rem) var(--gutter);
	transition: padding 0.45s var(--ease-out);
}

/* misty glass layer: soft sand veil + gentle blur, fading out at the
   bottom edge so the header never ends in a hard line */
.nav::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(245, 240, 228, 0.97) 0%, rgba(245, 240, 228, 0.88) 58%, rgba(245, 240, 228, 0) 100%);
	backdrop-filter: blur(1.5px);
	-webkit-backdrop-filter: blur(1.5px);
	mask-image: linear-gradient(to bottom, #000 52%, transparent 100%);
	-webkit-mask-image: linear-gradient(to bottom, #000 52%, transparent 100%);
}

/* settles ~15 % lower-profile once the visitor starts scrolling */
.nav.is-scrolled {
	padding-top: clamp(0.8rem, 1.9vw, 1.55rem);
	padding-bottom: clamp(0.8rem, 1.9vw, 1.55rem);
}

/* anchored sections land below the sticky header, never underneath it */
[id] { scroll-margin-top: clamp(4.5rem, 12vh, 7rem); }

.nav__brand { padding-top: 0.2em; }

.brandmark {
	display: block;
	height: 2.1rem;
	width: auto;
}

.brandmark--foot { height: 3.2rem; margin-bottom: 0.9rem; }

.nav__links {
	display: flex;
	align-items: center;
	gap: clamp(0.9rem, 2vw, 1.7rem);
	font-family: var(--mono);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink);
}

.nav__links a { transition: color 0.4s var(--ease-out); }

.nav__book {
	padding: 0.5em 1.05em;
	border: 1.5px solid rgba(42, 46, 36, 0.55);
	font-weight: 700;
	background: rgba(245, 240, 228, 0.55);
	backdrop-filter: blur(8px);
	border-radius: 999px;
	color: var(--ink);
	transition: border-color 0.4s var(--ease-out), background 0.4s var(--ease-out);
}

.nav__book:hover {
	border-color: var(--accent);
	background: var(--accent-soft);
	color: var(--accent);
}

.lang {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-left: 0.4rem;
	color: var(--ink-faint);
}

.lang i { font-style: normal; opacity: 0.4; }
.lang strong { font-weight: 400; color: var(--accent); }
.lang a { transition: color 0.4s var(--ease-out); }
.lang a:hover { color: var(--ink); }

/* ============================================================== menu ===== */

/* hamburger toggle — only on tablet/phone and only when JS runs
   (without JS the previous compact header stays as fallback) */
.nav__toggle {
	display: none;
	position: relative;
	z-index: 2;
	width: 2.75rem;
	height: 2.75rem;
	margin-right: -0.6rem;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.42rem;
	color: var(--ink);
}

.nav__toggle span {
	display: block;
	width: 1.5rem;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.45s var(--ease-out);
}

.nav.is-open .nav__toggle span:first-child { transform: translateY(0.32rem) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-0.32rem) rotate(-45deg); }

@media (max-width: 900px) {
	.js .nav__toggle { display: inline-flex; }
	.js .nav__brand { position: relative; z-index: 2; }

	/* full-screen sand panel with the four destinations */
	.js .nav__links {
		position: fixed;
		inset: 0;
		z-index: 1;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: clamp(0.9rem, 3.2vh, 1.6rem);
		padding: 6rem var(--gutter) calc(3rem + env(safe-area-inset-bottom, 0px));
		background: var(--paper);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.45s var(--ease-out), visibility 0s linear 0.45s;
	}

	.js .nav.is-open .nav__links {
		opacity: 1;
		visibility: visible;
		transition: opacity 0.45s var(--ease-out), visibility 0s;
	}

	.js .nav__links > a:not(.nav__book) {
		display: block;
		font-family: var(--display);
		font-size: clamp(2.3rem, 9vw, 3.2rem);
		font-weight: 400;
		line-height: 1.1;
		letter-spacing: -0.01em;
		text-transform: none;
		transform: translateY(14px);
		transition: transform 0.6s var(--ease-out), color 0.4s var(--ease-out);
	}

	.js .nav.is-open .nav__links > a { transform: none; }
	.js .nav.is-open .nav__links > a:nth-child(2) { transition-delay: 0.04s; }
	.js .nav.is-open .nav__links > a:nth-child(3) { transition-delay: 0.08s; }
	.js .nav.is-open .nav__links > a:nth-child(4) { transition-delay: 0.12s; }

	.js .nav__links .nav__book {
		display: inline-flex;
		margin-top: 1.2rem;
		padding: 0.85em 1.5em;
		font-size: 0.7rem;
		letter-spacing: 0.2em;
	}

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

@media (prefers-reduced-motion: reduce) {
	.nav__toggle span,
	.js .nav__links,
	.js .nav__links > a { transition: none !important; transform: none !important; }
}

/* ============================================================== hero ===== */

.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: clamp(6rem, 14vh, 10rem) var(--gutter) clamp(5rem, 12vh, 8rem);
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.hero__media picture { display: contents; }

.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--fx, 50%) 62%;
	transform: scale(1.18);
	will-change: transform;
}

.hero__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(245, 240, 228, 0.94) 8%, rgba(245, 240, 228, 0.5) 34%, rgba(245, 240, 228, 0.06) 62%, rgba(245, 240, 228, 0) 80%);
}

.hero__inner { max-width: 62rem; will-change: transform; }

/* ---- clear hero (home): no sand fog over the photo. A soft dark scrim
   keeps light text readable; the photo meets the next section with a clean
   edge, like the image bands. The sauna stays fully visible. ---- */
.hero--clear .hero__media::after {
	background:
		linear-gradient(to top, rgba(20, 23, 17, 0.62) 10%, rgba(20, 23, 17, 0.3) 38%, rgba(20, 23, 17, 0) 62%),
		linear-gradient(to right, rgba(20, 23, 17, 0.45) 0%, rgba(20, 23, 17, 0.18) 35%, rgba(20, 23, 17, 0) 60%);
}
.hero--clear .display,
.hero--clear .lede { color: var(--paper); text-shadow: 0 1px 24px rgba(20, 23, 17, 0.35); }
.hero--clear .display__sub { color: rgba(245, 240, 228, 0.85); }
.hero--clear .lede { color: rgba(245, 240, 228, 0.88); }
.hero--clear .cta { border-color: rgba(245, 240, 228, 0.75); color: var(--paper); background: rgba(20, 23, 17, 0.18); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.hero--clear .cta:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hero--clear .cta--ghost { border-color: rgba(245, 240, 228, 0.4); color: rgba(245, 240, 228, 0.85); }
.hero--clear .hero__cue { color: rgba(245, 240, 228, 0.7); }
.hero--clear .cta--ghost:hover { background: rgba(245, 240, 228, 0.14); color: var(--paper); border-color: rgba(245, 240, 228, 0.75); }

@media (max-width: 700px) {
	.hero--clear .hero__media::after {
		background:
			linear-gradient(to top, rgba(20, 23, 17, 0.72) 10%, rgba(20, 23, 17, 0.45) 45%, rgba(20, 23, 17, 0) 72%);
	}
}


.display__sub {
	display: block;
	font-size: 0.42em;
	letter-spacing: 0.01em;
	line-height: 1.35;
	color: var(--ink-soft);
	margin-top: 0.55em;
}

.hero__cue {
	position: absolute;
	left: var(--gutter);
	bottom: clamp(2.2rem, 5vh, 3.4rem);
	display: flex;
	align-items: center;
	gap: 0.9rem;
	font-family: var(--mono);
	font-size: 0.62rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.hero__cue i {
	display: block;
	width: 3.4rem;
	height: 1px;
	background: linear-gradient(to right, var(--accent), transparent);
	transform-origin: left center;
	animation: cue 2.8s var(--ease-out) infinite;
}

@keyframes cue {
	0%, 100% { transform: scaleX(0.35); opacity: 0.45; }
	45% { transform: scaleX(1); opacity: 1; }
}

/* ============================================================== sections = */

.section { padding: var(--section-y) var(--gutter); }
/* tighten the breathing room before the footer so no pale strip lingers */
.section:last-of-type { padding-bottom: clamp(2.5rem, 6vh, 4rem); }
.section--alt { background: var(--paper-alt); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .eyebrow,
.section--dark .body,
.section--dark .values li,
.section--dark .spec dt { color: rgba(245, 240, 228, 0.68); }
.section--dark .eyebrow b,
.section--dark .display { color: var(--paper); }
.section--dark .line { border-color: rgba(245, 240, 228, 0.18); }
.section--cta { text-align: center; }
.section--cta .section__inner { align-items: center; text-align: center; }

.section__inner {
	max-width: 44rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.section--cta .section__inner { margin: 0 auto; }

/* ============================================================== type ==== */

.eyebrow {
	font-family: var(--mono);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink);
	margin-bottom: clamp(1.1rem, 2.4vh, 2rem);
}

/* eyebrows sitting on photography get a soft backdrop for contrast */
.hero .eyebrow {
	display: inline-block;
	padding: 0.45em 0.8em;
	background: rgba(245, 240, 228, 0.68);
	backdrop-filter: blur(6px);
	border-radius: 999px;
	margin-left: -0.8em;
}

.eyebrow b { font-weight: 400; color: var(--accent); }

.display {
	font-family: var(--display);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.012em;
	font-size: clamp(2rem, 4.4vw, 3.8rem);
	text-wrap: balance;
	margin-bottom: clamp(1.4rem, 3vh, 2.2rem);
}

.display--hero {
	font-size: clamp(2.6rem, 5.8vw, 5.2rem);
	line-height: 1.04;
}

.lede {
	margin-top: clamp(1.2rem, 2.6vh, 2rem);
	max-width: 36ch;
	font-size: clamp(1.05rem, 1.15vw, 1.24rem);
	line-height: 1.55;
	color: var(--ink-soft);
}

.body {
	max-width: 40ch;
	font-size: clamp(0.95rem, 0.98vw, 1.06rem);
	line-height: 1.68;
	color: var(--ink-soft);
	margin-top: clamp(1.2rem, 2.4vh, 1.8rem);
}

/* ============================================================== specs ==== */

.spec {
	margin-top: clamp(1.8rem, 3.6vh, 2.8rem);
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line);
	max-width: 34rem;
	width: 100%;
}

.spec > div {
	display: grid;
	grid-template-columns: 9rem 1fr;
	gap: 1rem;
	padding: 0.62rem 0;
	border-bottom: 1px solid var(--line);
	font-family: var(--mono);
	font-size: 0.7rem;
	letter-spacing: 0.06em;
}

.spec dt {
	color: var(--ink-faint);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.62rem;
	align-self: center;
}

.spec dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ============================================================== values === */

.values {
	margin-top: clamp(1.4rem, 3vh, 2.2rem);
	display: grid;
	gap: 0.85rem;
	max-width: 38rem;
}

.values li {
	position: relative;
	padding-left: 1.5rem;
	color: var(--ink-soft);
	font-size: clamp(0.95rem, 0.98vw, 1.06rem);
	line-height: 1.6;
}

.values li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 0.5rem;
	height: 1px;
	background: var(--accent);
}

/* pillar lead-ins inside benefit lists */
.values li b {
	display: block;
	color: var(--ink);
	font-weight: 600;
	letter-spacing: 0.01em;
	margin-bottom: 0.1rem;
}

/* secondary detail points under the core pillars — visibly quieter */
.values--detail {
	margin-top: clamp(1.2rem, 2.4vh, 1.8rem);
	gap: 0.5rem;
}

.values--detail li {
	padding-left: 1.2rem;
	font-size: 0.85rem;
	color: var(--ink-faint);
}

.values--detail li::before {
	top: 0.72em;
	width: 0.35rem;
	background: var(--line);
}

/* requirements split: mandatory vs. ideal site qualities */
.req {
	margin-top: clamp(1.8rem, 3.4vh, 2.8rem);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.6rem, 3vw, 3rem);
	max-width: 46rem;
	width: 100%;
}

.req h3 {
	font-family: var(--mono);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0.9rem;
}

.req ul { display: grid; gap: 0.5rem; }

.req li {
	position: relative;
	padding-left: 1.3rem;
	color: var(--ink-soft);
	font-size: 0.92rem;
	line-height: 1.6;
}

.req li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.66em;
	width: 0.45rem;
	height: 1px;
	background: var(--accent);
}

@media (max-width: 640px) {
	.req { grid-template-columns: 1fr; }
}

/* ============================================================== site sketch == */

/* "Was ein Standort braucht": sketch left (~60 %), compact requirements right */
.site {
	margin-top: clamp(1.6rem, 3vh, 2.4rem);
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: clamp(1.8rem, 3.4vw, 3.2rem);
	align-items: start;
	width: 100%;
	max-width: 88rem;
}

/* the sketch split needs more room than the section's text column:
   widen the inner container, counter-shift so the text above keeps
   its exact position */
@supports (width: min(88rem, 100%)) {
	.section__inner:has(.site) { max-width: min(88rem, calc(100vw - 2 * var(--gutter))); }
	.section__inner:has(.site) > :not(.site) { max-width: 44rem; }
}

.site__sketch {
	margin: 0;
	border-radius: 0.5rem;
	overflow: hidden;
	box-shadow: 0 18px 50px -24px rgba(42, 46, 36, 0.35);
}

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

.site__req .req { margin-top: 0; grid-template-columns: 1fr; gap: 1.6rem; max-width: none; }

/* collapsible technical details below the compact lists */
.tech { margin-top: clamp(1.2rem, 2.4vh, 1.8rem); }

.tech summary {
	list-style: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--mono);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent);
}

.tech summary::-webkit-details-marker { display: none; }

.tech summary::after {
	content: '+';
	font-size: 0.95rem;
	font-weight: 400;
	transition: transform 0.3s var(--ease-out);
}

.tech[open] summary::after { transform: rotate(45deg); }

.tech .spec { margin-top: 1.1rem; }

@media (max-width: 900px) {
	.site { grid-template-columns: 1fr; }
}

/* ============================================================== pdf mockup == */

/* split variant: text left, stacked A4 sheets right (dark PDF section) */
.section__inner--split {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: clamp(2rem, 4vw, 4rem);
	align-items: center;
}

.pdfmock {
	position: relative;
	margin: 0;
	min-height: clamp(16rem, 34vw, 24rem);
}

.pdfmock__page {
	position: absolute;
	top: 50%;
	left: 50%;
	width: clamp(10.5rem, 19vw, 14.5rem);
	aspect-ratio: 210 / 297;
	background: var(--paper);
	border-radius: 0.3rem;
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
}

.pdfmock__page--1 { transform: translate(-78%, -46%) rotate(-7deg); opacity: 0.5; }
.pdfmock__page--2 { transform: translate(-40%, -54%) rotate(5deg); opacity: 0.75; }

.pdfmock__page--3 {
	transform: translate(-50%, -50%) rotate(-1.5deg);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1.3rem 1.15rem;
	gap: 0.55rem;
}

.pdfmock__page--3 .brandmark { height: 1.15rem; align-self: flex-start; }

.pdfmock__page--3 b {
	font-family: var(--mono);
	font-size: 0.58rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ink);
	margin-top: 0.7rem;
}

.pdfmock__page--3 i {
	font-style: normal;
	font-size: 0.62rem;
	line-height: 1.5;
	color: var(--ink-soft);
}

.pdfmock__page--3 em {
	display: block;
	height: 3px;
	margin-top: 0.5rem;
	border-radius: 2px;
	background: linear-gradient(to right, var(--line), transparent);
}

.pdfmock__page--3 em.s { width: 72%; }

@media (max-width: 900px) {
	.section__inner--split { grid-template-columns: 1fr; }
	.pdfmock { margin-top: 1rem; }
}

/* ============================================================== gallery == */

.gallery {
	margin-top: clamp(2rem, 4vh, 3rem);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(0.8rem, 1.6vw, 1.4rem);
	width: 100%;
	max-width: 68rem;
}

/* the gallery breaks out of the 44rem text column (~1.5× larger images);
   text before/after keeps its column width */
@supports (width: min(68rem, 100%)) {
	.section__inner:has(.gallery) { max-width: min(68rem, calc(100vw - 2 * var(--gutter))); }
	.section__inner:has(.gallery) > :not(.gallery) { max-width: 44rem; }
	.section__inner:has(.gallery) > .body { max-width: 40ch; }
}

.gallery figure { position: relative; overflow: hidden; outline: none; }

.gallery img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transform: scale(1.08);
	will-change: transform;
}

/* darkening veil that deepens on hover so the description stays legible */
.gallery figure::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(28, 31, 24, 0.9) 0%, rgba(28, 31, 24, 0.35) 38%, rgba(28, 31, 24, 0) 60%);
	opacity: 0.75;
	transition: opacity 0.6s var(--ease-out);
	pointer-events: none;
}

.gallery figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding: 1.2rem 1.1rem 1rem;
	color: var(--paper);
}

.gallery figcaption b {
	display: block;
	font-family: var(--mono);
	font-size: 0.64rem;
	font-weight: 400;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.gallery figcaption span {
	display: block;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transform: translateY(8px);
	font-family: var(--display);
	font-size: clamp(1.15rem, 1.5vw, 1.45rem);
	line-height: 1.2;
	transition: max-height 0.6s var(--ease-out), opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), margin 0.6s var(--ease-out);
}

.gallery figure:hover::after,
.gallery figure:focus-visible::after { opacity: 1; }

.gallery figure:hover figcaption span,
.gallery figure:focus-visible figcaption span {
	max-height: 5em;
	opacity: 1;
	transform: none;
	margin-top: 0.45rem;
}

.gallery figure:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* touch screens have no hover: show the description permanently */
@media (hover: none) {
	.gallery figure::after { opacity: 1; }
	.gallery figcaption span { max-height: none; opacity: 1; transform: none; margin-top: 0.35rem; }
}

/* ============================================================== steps ==== */

.steps {
	margin-top: clamp(1.8rem, 3.6vh, 2.8rem);
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line);
	max-width: 38rem;
	width: 100%;
}

.steps li {
	display: grid;
	grid-template-columns: 13rem 1fr;
	gap: 1.5rem;
	padding: 1.4rem 0;
	border-bottom: 1px solid var(--line);
	align-items: start;
}

.steps li b {
	font-family: var(--mono);
	font-weight: 400;
	font-size: 0.62rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent);
	line-height: 1.7;
}

.steps li b::before {
	content: counter(step, decimal-leading-zero);
	counter-increment: step;
	display: block;
	margin-bottom: 0.2rem;
	color: var(--ink-faint);
}

.steps { counter-reset: step; }

.steps li span {
	color: var(--ink-soft);
	font-size: clamp(0.92rem, 0.96vw, 1.02rem);
	line-height: 1.6;
}

/* ============================================================== cta ====== */

.cta {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	margin-top: clamp(1.6rem, 3.2vh, 2.4rem);
	padding: 0.85em 1.6em;
	border: 1px solid var(--accent);
	border-radius: 999px;
	font-family: var(--mono);
	font-size: 0.7rem;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--accent);
	background: transparent;
	transition: background 0.5s var(--ease-out), color 0.5s var(--ease-out), transform 0.5s var(--ease-out);
	cursor: pointer;
}

.cta:hover {
	background: var(--accent);
	color: var(--paper);
	transform: translateY(-2px);
}

.cta i { font-style: normal; transition: transform 0.5s var(--ease-out); }
.cta:hover i { transform: translateX(4px); }

.cta--ghost {
	border-color: var(--line);
	color: var(--ink-soft);
}

.cta--ghost:hover {
	border-color: var(--accent);
	color: var(--accent);
	background: var(--accent-soft);
}

.cta--light {
	border-color: rgba(245, 240, 228, 0.55);
	color: var(--paper);
}

.cta--light:hover {
	background: var(--paper);
	color: var(--ink);
	border-color: var(--paper);
}

.cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	align-items: center;
	margin-top: clamp(1.6rem, 3.2vh, 2.4rem);
}

/* buttons on the dark partner band: light outline so both stay visible
   (the ghost button used to disappear on the dark background) */
.section--dark .cta { border-color: rgba(245, 240, 228, 0.6); color: var(--paper); }
.section--dark .cta:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.section--dark .cta--ghost { border-color: rgba(245, 240, 228, 0.28); color: rgba(245, 240, 228, 0.75); }
.section--dark .cta--ghost:hover { background: rgba(245, 240, 228, 0.1); color: var(--paper); border-color: rgba(245, 240, 228, 0.6); }

/* spacing lives on the row, so wrapped buttons sit close together */
.cta-row .cta { margin-top: 0; }

/* phones: the hero text block is taller, so the sand veil reaches higher
   to keep the headline readable over the photo */
@media (max-width: 700px) {
	.hero__media::after {
		background: linear-gradient(to top, rgba(245, 240, 228, 0.97) 14%, rgba(245, 240, 228, 0.86) 42%, rgba(245, 240, 228, 0.35) 64%, rgba(245, 240, 228, 0) 82%);
	}
}

/* ============================================================== forms ==== */

form {
	margin-top: clamp(1.8rem, 3.6vh, 2.8rem);
	display: grid;
	gap: 1.2rem;
	max-width: 30rem;
	width: 100%;
}

label {
	display: grid;
	gap: 0.45rem;
	text-align: left;
}

label > span {
	font-family: var(--mono);
	font-size: 0.62rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

label em { font-style: normal; color: var(--ink-faint); text-transform: none; letter-spacing: 0.04em; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
	appearance: none;
	border: 1px solid var(--line);
	border-radius: 0.45rem;
	background: rgba(255, 255, 255, 0.55);
	padding: 0.75em 1em;
	font-size: 0.95rem;
	transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

textarea { min-height: 8rem; resize: vertical; }

.check {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--ink-soft);
}

.check input {
	margin-top: 0.2em;
	accent-color: var(--accent);
}

.check a { text-decoration: underline; text-underline-offset: 0.2em; }

.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ============================================================== footer === */

.foot {
	padding: clamp(3rem, 7vh, 5rem) var(--gutter) clamp(2rem, 4vh, 3rem);
	background: var(--ink);
	color: var(--paper);
}

.foot__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
	max-width: 72rem;
	margin: 0 auto;
}

.foot__brand p {
	margin-top: 0.7rem;
	font-family: var(--mono);
	font-size: 0.62rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(245, 240, 228, 0.55);
}

.foot__nav {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	font-family: var(--mono);
	font-size: 0.66rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.foot__nav a { color: rgba(245, 240, 228, 0.68); }
.foot__nav a:hover { color: var(--paper); }

.foot__concept {
	margin-top: 1.1rem;
	font-family: var(--mono);
	font-size: 0.62rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.foot__concept a { color: rgba(245, 240, 228, 0.45); border-bottom: 1px dashed rgba(245, 240, 228, 0.3); padding-bottom: 2px; }
.foot__concept a:hover { color: var(--paper); }

.foot__meta {
	font-family: var(--mono);
	font-size: 0.62rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(245, 240, 228, 0.42);
	display: flex;
	gap: 0.6rem;
}

/* ============================================================== legal ==== */

.legal { padding: clamp(8rem, 14vh, 11rem) var(--gutter) var(--section-y); }
.legal h1 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; }
.legal h2 { font-family: var(--display); font-size: 1.4rem; margin-top: 2.2rem; margin-bottom: 0.8rem; }
.legal p { max-width: 44rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 0.9rem; }
.legal .placeholder {
	background: var(--accent-soft);
	border: 1px dashed var(--accent);
	padding: 1rem 1.2rem;
	border-radius: 0.45rem;
	font-family: var(--mono);
	font-size: 0.78rem;
	color: var(--accent);
	margin: 1rem 0;
}

.legal .placeholder-inline {
	background: var(--accent-soft);
	border: 1px dashed var(--accent);
	padding: 0.1em 0.4em;
	border-radius: 0.3rem;
	font-family: var(--mono);
	font-size: 0.78rem;
	color: var(--accent);
}

/* ============================================================== faq ====== */

.faq {
	margin-top: clamp(1.8rem, 3.6vh, 2.8rem);
	max-width: 38rem;
	width: 100%;
	border-top: 1px solid var(--line);
}

.faq details {
	border-bottom: 1px solid var(--line);
}

.faq summary {
	list-style: none;
	cursor: pointer;
	padding: 1rem 0;
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 400;
	color: var(--ink);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
	content: '+';
	font-family: var(--mono);
	font-size: 1.1rem;
	color: var(--accent);
	transition: transform 0.3s var(--ease-out);
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
	padding: 0 0 1.1rem;
	color: var(--ink-soft);
	font-size: 0.95rem;
	line-height: 1.68;
	max-width: 34rem;
}

/* ============================================================== band ====== */

.band {
	position: relative;
	height: clamp(20rem, 62vh, 34rem);
	overflow: hidden;
	margin: 0; /* bands sit flush against neighbouring sections — no pale gap */
}

.band img {
	position: absolute;
	left: 0;
	top: -25%;
	width: 100%;
	height: 150%;
	object-fit: cover;
	will-change: transform;
}

.band::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgba(28, 31, 24, 0.42), rgba(28, 31, 24, 0) 32%);
}

/* caption sits directly on a subtly darkened zone of the image —
   slim, quiet, architectural; no pill, no backdrop */
.band__caption {
	position: absolute;
	left: var(--gutter);
	bottom: clamp(1rem, 2.6vh, 1.8rem);
	z-index: 2;
	max-width: 34ch;
	font-family: var(--mono);
	font-size: 0.66rem;
	font-weight: 400;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	line-height: 1.8;
	color: rgba(245, 240, 228, 0.92);
	text-shadow: 0 1px 14px rgba(28, 31, 24, 0.55);
}

@media (prefers-reduced-motion: reduce) {
	.band img { top: 0; height: 100%; will-change: auto; }
}

/* ============================================================== reveal === */

/* sections themselves fade only — no translate, so anchor navigation
   always computes the true layout position under the sticky header */
.js .section,
.js .hero__inner {
	opacity: 0;
	transition: opacity 1s var(--ease-out);
}

.js .gallery figure,
.js .steps li,
.js .values li,
.js .spec {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

/* staggered fly-in for each element inside a section:
   eyebrow → headline → body → everything after, one after another */
.js .section__inner > *:not(.gallery):not(.steps):not(.values) {
	opacity: 0;
	transform: translateY(38px);
	transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.section__inner > *:nth-child(2):not(.gallery):not(.steps):not(.values) { transition-delay: 0.12s; }
.section__inner > *:nth-child(3):not(.gallery):not(.steps):not(.values) { transition-delay: 0.22s; }
.section__inner > *:nth-child(4):not(.gallery):not(.steps):not(.values) { transition-delay: 0.32s; }
.section__inner > *:nth-child(5):not(.gallery):not(.steps):not(.values) { transition-delay: 0.42s; }
.section__inner > *:nth-child(6):not(.gallery):not(.steps):not(.values) { transition-delay: 0.52s; }
.section__inner > *:nth-child(n+7):not(.gallery):not(.steps):not(.values) { transition-delay: 0.6s; }

.section.is-in,
.hero__inner.is-in,
.gallery figure.is-in,
.steps li.is-in,
.values li.is-in,
.spec.is-in,
.section__inner > *.is-in:not(.gallery):not(.steps):not(.values) {
	opacity: 1;
	transform: translateY(0);
}

/* stagger children slightly */
.gallery figure:nth-child(2) { transition-delay: 0.12s; }
.gallery figure:nth-child(3) { transition-delay: 0.24s; }
.gallery figure:nth-child(4) { transition-delay: 0.36s; }
.steps li:nth-child(2) { transition-delay: 0.08s; }
.steps li:nth-child(3) { transition-delay: 0.16s; }
.steps li:nth-child(4) { transition-delay: 0.24s; }
.steps li:nth-child(5) { transition-delay: 0.32s; }

/* ============================================================== responsive */

@media (max-width: 900px) {
	.gallery { grid-template-columns: repeat(2, 1fr); }
	.gallery img { aspect-ratio: 4 / 5; }
	.gallery figcaption { padding: 1rem 0.9rem 0.85rem; }
	/* steps become a single column on mobile: counter+title above the text,
	   so nothing overlaps regardless of text length */
	.steps li { grid-template-columns: 1fr; gap: 0.35rem; }
	.steps li span { grid-column: auto; }
	/* bands: keep the key subject in frame on narrow screens */
	.band img { object-position: var(--fx, 50%) 50%; }
	.nav { padding-top: 0.9rem; padding-bottom: 0.9rem; }
	.brandmark { height: 1.75rem; }
	.nav__links { gap: 0.7rem; font-size: 0.6rem; letter-spacing: 0.14em; }
	.nav__links > a:not(.nav__book) { display: none; }
	.nav__book { white-space: nowrap; padding: 0.45em 0.85em; }
	.foot__inner { grid-template-columns: 1fr; }
	.spec > div { grid-template-columns: 7.5rem 1fr; }
}

@media (max-width: 480px) {
	.nav { padding-left: 1.1rem; padding-right: 1.1rem; }
	.nav__book { display: none; }
	.lang { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.hero__cue i { animation: none; }
	.gallery img { transition: none; }
	.hero__media img, .hero__inner, .gallery img { transform: none; will-change: auto; }
	/* no fly-in for reduced motion: everything is simply visible */
	.section, .section__inner > *, .gallery figure, .steps li, .values li, .spec {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}
