/* Swiss Hidro Term: one-page theme styles. */

/* ---------- Font (Archivo, variable weight, self-hosted, OFL) ---------- */

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/archivo-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/archivo-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
	--red: #d3131b;
	--red-deep: #ad1016;
	--red-wash: #fdecec;
	--navy: #1c2a4a;

	--ink: #14171c;
	--ink-2: #3d434c;
	--ink-3: #646b75;
	--line: #e2e4e7;
	--line-strong: #c9cdd2;
	--grey: #f3f4f5;
	--grey-2: #eceef0;
	--white: #fff;

	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 84px;
	--radius: 4px;
	--section: clamp(64px, 9vw, 112px);

	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

	--shadow-card: 0 1px 2px rgba(20, 23, 28, 0.04), 0 8px 24px -12px rgba(20, 23, 28, 0.12);
	--shadow-lift: 0 2px 4px rgba(20, 23, 28, 0.05), 0 18px 36px -16px rgba(20, 23, 28, 0.22);
}

/* ---------- Base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 8px);
}

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

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

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

img {
	height: auto;
}

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

h1,
h2,
h3,
p,
ul,
figure {
	margin: 0;
}

ul {
	padding: 0;
	list-style: none;
}

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

button {
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 3px;
	border-radius: 2px;
}

::selection {
	background: var(--red);
	color: var(--white);
}

[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: absolute;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--ink);
	color: var(--white);
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--radius);
	transform: translateY(-160%);
	transition: transform 0.2s var(--ease-out);
}

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

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

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

.wrap--narrow {
	max-width: calc(760px + var(--gutter) * 2);
}

.icon {
	width: 24px;
	height: 24px;
	flex: none;
}

/* ---------- Type pieces ---------- */

.eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink);
}

.eyebrow--before::before,
.eyebrow--after::after {
	content: "";
	flex: none;
	width: 32px;
	height: 2px;
	background: var(--red);
}

.section-title {
	font-size: clamp(30px, 3.4vw, 40px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.section-intro {
	max-width: 58ch;
	margin-top: 16px;
	color: var(--ink-2);
	text-wrap: pretty;
}

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

.section-head {
	margin-bottom: clamp(32px, 4vw, 44px);
}

.section-head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

/* ---------- Buttons and links ---------- */

.btn {
	--btn-bg: transparent;
	--btn-fg: var(--ink);
	--btn-border: var(--ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	padding: 10px 20px;
	border: 1.5px solid var(--btn-border);
	border-radius: var(--radius);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition:
		background-color 0.2s var(--ease-out),
		border-color 0.2s var(--ease-out),
		color 0.2s var(--ease-out),
		transform 0.12s var(--ease-out);
}

.btn:active {
	transform: translateY(1px) scale(0.985);
}

.btn--primary {
	--btn-bg: var(--red);
	--btn-fg: var(--white);
	--btn-border: var(--red);
}

.btn--primary:hover {
	--btn-bg: var(--red-deep);
	--btn-border: var(--red-deep);
}

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

.btn--outline:hover {
	--btn-bg: var(--ink);
	--btn-fg: var(--white);
}

.btn--lg {
	min-height: 52px;
	padding: 13px 26px;
	font-size: 16px;
}

.btn .icon {
	width: 18px;
	height: 18px;
	stroke-width: 2;
}

.btn__arrow {
	transition: transform 0.25s var(--ease-out);
}

.btn:hover .btn__arrow {
	transform: translateX(3px);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	border: 0;
	background: none;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.link-arrow .icon {
	width: 20px;
	height: 20px;
	color: var(--red);
	stroke-width: 1.75;
	transition: transform 0.25s var(--ease-out);
}

.link-arrow:hover .icon {
	transform: translateX(4px);
}

.link-arrow[aria-expanded="true"] .icon {
	transform: rotate(-90deg);
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	transition: box-shadow 0.3s var(--ease-out);
}

@supports (backdrop-filter: blur(1px)) {
	.site-header {
		background: rgba(255, 255, 255, 0.88);
		backdrop-filter: saturate(1.6) blur(14px);
	}
}

.site-header.is-scrolled {
	box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(20, 23, 28, 0.25);
}

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

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

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

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: none;
	text-decoration: none;
	color: var(--navy);
}

.brand__img {
	width: auto;
	max-height: 52px;
}

.brand--footer .brand__img {
	max-height: 48px;
}

.brand__mark {
	width: 48px;
	height: 48px;
}

.brand__word {
	display: flex;
	flex-direction: column;
	line-height: 0.92;
	text-transform: uppercase;
}

.brand__swiss {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: var(--red);
}

.brand__rest {
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--navy);
}

.nav {
	position: relative;
	margin-inline: auto;
}

.nav__list {
	display: flex;
	gap: 6px;
}

.nav__list a {
	position: relative;
	display: block;
	padding: 10px 14px;
	font-size: 15px;
	font-weight: 500;
	color: var(--ink-2);
	text-decoration: none;
	transition: color 0.2s var(--ease-out);
}

.nav__list a:hover,
.nav__list .is-active > a,
.nav__list .current-menu-item > a {
	color: var(--ink);
}

.nav__list .is-active > a {
	font-weight: 600;
}

/* Underline: per-link fallback; JS swaps in the sliding indicator. */
.nav__list a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 0;
	height: 2px;
	background: var(--red);
	transform: scaleX(0);
	transition: transform 0.25s var(--ease-out);
}

.nav__list .is-active > a::after {
	transform: scaleX(1);
}

.has-indicator .nav__list a::after {
	display: none;
}

.nav__indicator {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 1px;
	height: 2px;
	background: var(--red);
	opacity: 0;
	transform-origin: left center;
	pointer-events: none;
	transition:
		transform 0.45s var(--ease-out),
		opacity 0.2s linear;
}

.has-indicator .nav__indicator.is-on {
	opacity: 1;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: none;
}

.btn--phone {
	padding-inline: 18px;
	font-variant-numeric: tabular-nums;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--white);
}

.menu-toggle__close {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__open {
	display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
	display: block;
}

@media (max-width: 960px) {
	:root {
		--header-h: 68px;
	}

	.brand__mark {
		width: 40px;
		height: 40px;
	}

	.brand__swiss {
		font-size: 22px;
	}

	.brand__rest {
		font-size: 13px;
	}

	.brand__img {
		max-height: 42px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.site-header__actions {
		margin-left: auto;
	}

	.nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		margin: 0;
		padding: 8px var(--gutter) 20px;
		background: var(--white);
		box-shadow: 0 1px 0 var(--line), 0 24px 40px -24px rgba(20, 23, 28, 0.3);
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition:
			opacity 0.2s var(--ease-out),
			transform 0.25s var(--ease-out),
			visibility 0s linear 0.25s;
	}

	.nav.is-open {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition:
			opacity 0.2s var(--ease-out),
			transform 0.25s var(--ease-out),
			visibility 0s;
	}

	.nav__list {
		flex-direction: column;
		gap: 0;
	}

	.nav__list a {
		padding: 14px 0;
		font-size: 18px;
		border-bottom: 1px solid var(--line);
	}

	.nav__list a::after {
		left: 0;
		right: auto;
		width: 24px;
		bottom: -1px;
	}

	.has-indicator .nav__list a::after {
		display: block;
	}

	.nav__indicator {
		display: none;
	}
}

@media (max-width: 520px) {
	.btn--phone {
		width: 44px;
		padding: 0;
	}

	.btn--phone__num {
		display: none;
	}
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	overflow: hidden;
}

.hero__inner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(460px, calc(100svh - var(--header-h) - 104px), 620px);
	padding-block: 56px 64px;
}

.hero__copy {
	position: relative;
	z-index: 1;
	width: 46%;
	max-width: 560px;
}

.hero__title {
	font-size: clamp(40px, 4.5vw, 60px);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.025em;
}

.hero__title span {
	display: block;
}

.hero__lede {
	max-width: 40ch;
	margin-top: 22px;
	font-size: 18px;
	line-height: 1.55;
	color: var(--ink-2);
	text-wrap: pretty;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	margin-top: 36px;
}

.hero__media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 58%;
	clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
	background: var(--grey-2);
}

.hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 60%;
}

/* Load reveal: the photo opens along its own diagonal. */
@media (prefers-reduced-motion: no-preference) {
	.js .hero__media {
		animation: hero-reveal 1.15s var(--ease-in-out) 0.1s both;
	}

	.js .hero__img {
		animation: hero-settle 1.6s var(--ease-out) 0.1s both;
	}

	.js .hero__copy > * {
		animation: rise 0.8s var(--ease-out) both;
	}

	.js .hero__copy > :nth-child(2) {
		animation-delay: 0.06s;
	}

	.js .hero__copy > :nth-child(3) {
		animation-delay: 0.12s;
	}

	.js .hero__copy > :nth-child(4) {
		animation-delay: 0.18s;
	}
}

@keyframes hero-reveal {
	from {
		clip-path: polygon(100% 0, 100% 0, 100% 100%, 74% 100%);
	}
	to {
		clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
	}
}

@keyframes hero-settle {
	from {
		transform: scale(1.08);
	}
	to {
		transform: none;
	}
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 900px) {
	.hero {
		display: flex;
		flex-direction: column;
	}

	.hero__inner {
		min-height: 0;
		padding-block: 40px 44px;
	}

	.hero__copy {
		width: 100%;
	}

	.hero__media {
		position: relative;
		order: 2;
		width: 100%;
		aspect-ratio: 16 / 10;
		clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%);
	}

	@keyframes hero-reveal {
		from {
			clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
		}
		to {
			clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%);
		}
	}
}

@media (max-width: 520px) {
	.hero__title {
		font-size: clamp(34px, 10vw, 42px);
	}

	.hero__lede {
		font-size: 17px;
	}

	.hero__actions .btn {
		flex: 1 1 100%;
	}
}

/* ---------- Trust strip ---------- */

.trust {
	background: var(--grey);
}

.trust__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding-block: 34px;
}

.trust__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-inline: clamp(16px, 2.6vw, 32px);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--ink);
}

.trust__item:first-child {
	padding-left: 0;
}

.trust__item + .trust__item {
	border-left: 1px solid var(--line-strong);
}

.trust__icon {
	width: 34px;
	height: 34px;
	stroke-width: 1.4;
}

@media (max-width: 900px) {
	.trust__list {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px 0;
		padding-block: 28px;
	}

	.trust__item:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}
}

@media (max-width: 520px) {
	.trust__list {
		grid-template-columns: 1fr;
		gap: 0;
		padding-block: 8px;
	}

	.trust__item {
		padding: 16px 0;
	}

	.trust__item + .trust__item {
		border-left: 0;
		border-top: 1px solid var(--line-strong);
	}

	.trust__icon {
		width: 30px;
		height: 30px;
	}
}

/* ---------- Services ---------- */

.services__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.services__grid[data-count="1"],
.services__grid[data-count="2"] {
	grid-template-columns: repeat(2, 1fr);
}

.services__grid[data-count="3"],
.services__grid[data-count="5"],
.services__grid[data-count="6"] {
	grid-template-columns: repeat(3, 1fr);
}

.service {
	position: relative;
	padding: 30px 28px 34px;
	border-radius: var(--radius);
	background: var(--grey);
	box-shadow: inset 0 0 0 1px rgba(20, 23, 28, 0.03);
	transition:
		background-color 0.3s var(--ease-out),
		box-shadow 0.3s var(--ease-out),
		transform 0.3s var(--ease-out);
}

.service::before {
	content: "";
	position: absolute;
	left: 28px;
	top: 0;
	width: 32px;
	height: 2px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--ease-out);
}

.service__icon {
	width: 44px;
	height: 44px;
	margin-bottom: 22px;
	stroke-width: 1.3;
	color: var(--ink);
	transition: color 0.3s var(--ease-out);
}

.service__title {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.005em;
	text-wrap: balance;
}

.service__text {
	margin-top: 14px;
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--ink-2);
	text-wrap: pretty;
}

@media (hover: hover) {
	.service:hover {
		background: var(--white);
		box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lift);
		transform: translateY(-3px);
	}

	.service:hover::before {
		transform: scaleX(1);
	}

	.service:hover .service__icon {
		color: var(--red);
	}
}

@media (max-width: 1000px) {
	.services__grid,
	.services__grid[data-count] {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.services__grid,
	.services__grid[data-count] {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.service {
		display: grid;
		grid-template-columns: 44px 1fr;
		column-gap: 18px;
		padding: 22px 20px;
	}

	.service__icon {
		grid-row: span 2;
		width: 40px;
		height: 40px;
		margin: 0;
	}

	.service__text {
		margin-top: 6px;
	}
}

/* ---------- Projects ---------- */

.projects {
	padding-top: 0;
}

.projects__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.project__link {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius);
	background: var(--grey-2);
	cursor: zoom-in;
}

.project__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease-out);
}

.project__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 36px 16px 14px;
	background: linear-gradient(to top, rgba(14, 17, 22, 0.78), rgba(14, 17, 22, 0));
	color: var(--white);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	opacity: 0;
	transform: translateY(8px);
	transition:
		opacity 0.3s var(--ease-out),
		transform 0.3s var(--ease-out);
}

.project__link:hover .project__img,
.project__link:focus-visible .project__img {
	transform: scale(1.04);
}

.project__link:hover .project__caption,
.project__link:focus-visible .project__caption {
	opacity: 1;
	transform: none;
}

@media (hover: none) {
	.project__caption {
		opacity: 1;
		transform: none;
	}
}

.project--extra.is-entering {
	animation: rise 0.5s var(--ease-out) both;
}

@media (max-width: 1000px) {
	.projects__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.section-head--row {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.projects__grid {
		gap: 12px;
	}
}

/* ---------- Lightbox ---------- */

.lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(10, 12, 16, 0.94);
	color: var(--white);
}

.lightbox[open] {
	display: grid;
	place-items: center;
}

.lightbox::backdrop {
	background: transparent;
}

@media (prefers-reduced-motion: no-preference) {
	.lightbox[open] {
		animation: fade 0.25s var(--ease-out);
	}

	.lightbox[open] .lightbox__img {
		animation: zoom-in 0.35s var(--ease-out);
	}
}

@keyframes fade {
	from {
		opacity: 0;
	}
}

@keyframes zoom-in {
	from {
		opacity: 0;
		transform: scale(0.97);
	}
}

.lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: min(1200px, calc(100vw - 140px));
}

.lightbox__img {
	max-width: 100%;
	max-height: calc(100dvh - 120px);
	width: auto;
	object-fit: contain;
	border-radius: 2px;
}

.lightbox__caption {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.82);
	text-align: center;
}

.lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.06);
	color: var(--white);
	transition: background-color 0.2s var(--ease-out);
}

.lightbox__btn:hover {
	background: rgba(255, 255, 255, 0.16);
}

.lightbox__close {
	top: 20px;
	right: 20px;
}

.lightbox__prev {
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox__next {
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

@media (max-width: 700px) {
	.lightbox__figure {
		max-width: calc(100vw - 32px);
	}

	.lightbox__prev,
	.lightbox__next {
		top: auto;
		bottom: 20px;
		transform: none;
	}

	.lightbox__prev {
		left: calc(50% - 56px);
	}

	.lightbox__next {
		right: calc(50% - 56px);
	}

	.lightbox__img {
		max-height: calc(100dvh - 190px);
	}
}

/* ---------- Why us ---------- */

.why {
	background: var(--grey);
}

.why__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}

.why--no-image .why__grid {
	grid-template-columns: 1fr;
}

.why__media {
	position: relative;
	align-self: stretch;
	min-height: 420px;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--grey-2);
}

.why__media::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 34%;
	height: 4px;
	background: var(--red);
}

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

.why__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px 40px;
	counter-reset: why;
}

.why--no-image .why__list {
	grid-template-columns: repeat(4, 1fr);
}

.reason {
	padding-top: 18px;
	border-top: 1px solid var(--line-strong);
	counter-increment: why;
}

.reason__title {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.reason__title::before {
	content: counter(why, decimal-leading-zero);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--red);
	font-variant-numeric: tabular-nums;
}

.reason__text {
	margin-top: 8px;
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--ink-2);
	text-wrap: pretty;
}

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

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

	.why--no-image .why__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.why__list,
	.why--no-image .why__list {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* ---------- Contact and inquiry form ---------- */

.contact__panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 5vw, 72px);
	padding: clamp(28px, 5vw, 56px);
	padding-left: clamp(36px, 6vw, 72px);
	border-radius: var(--radius);
	background: var(--grey);
}

.contact__panel::before {
	content: "";
	position: absolute;
	left: clamp(16px, 2.6vw, 30px);
	top: clamp(32px, 5vw, 60px);
	width: 3px;
	height: 44px;
	background: var(--red);
}

.contact__intro .eyebrow {
	margin-bottom: 12px;
}

.contact__text {
	max-width: 38ch;
	margin-top: 14px;
	color: var(--ink-2);
	text-wrap: pretty;
}

.contact__list {
	display: grid;
	gap: 4px;
	margin-top: 32px;
}

.contact__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 0;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.contact__label {
	display: block;
	margin-bottom: 2px;
	font-size: 13px;
	font-weight: 500;
	color: var(--ink-3);
}

.contact__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 11px;
	border-radius: var(--radius);
	background: var(--white);
	color: var(--red);
	box-shadow: inset 0 0 0 1px var(--line);
	transition:
		background-color 0.2s var(--ease-out),
		color 0.2s var(--ease-out);
}

a.contact__item:hover .contact__icon {
	background: var(--red);
	color: var(--white);
	box-shadow: none;
}

.contact__form-wrap {
	padding: clamp(24px, 3.4vw, 40px);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow-card);
}

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

.form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 16px;
}

.field--full {
	grid-column: 1 / -1;
}

.field__label {
	display: block;
	margin-bottom: 7px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
}

.field__req {
	color: var(--red);
}

.field__input {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--white);
	font-size: 16px;
	line-height: 1.4;
	transition:
		border-color 0.2s var(--ease-out),
		box-shadow 0.2s var(--ease-out);
}

.field__input::placeholder {
	color: #8a9099;
}

.field__input:hover {
	border-color: #a9afb6;
}

.field__input:focus {
	outline: none;
	border-color: var(--ink);
	box-shadow: 0 0 0 3px rgba(20, 23, 28, 0.08);
}

textarea.field__input {
	min-height: 132px;
	resize: vertical;
}

.field__select {
	position: relative;
}

.field__select select {
	padding-right: 42px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.field__chevron {
	position: absolute;
	right: 14px;
	top: 50%;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
	color: var(--ink-3);
	pointer-events: none;
}

.is-invalid .field__input {
	border-color: var(--red);
}

.is-invalid .field__input:focus {
	box-shadow: 0 0 0 3px rgba(211, 19, 27, 0.14);
}

.field__error,
.field__hint {
	margin-top: 6px;
	font-size: 13.5px;
	line-height: 1.4;
}

.field__error,
.field__hint--error {
	color: var(--red-deep);
	font-weight: 500;
}

.field__hint {
	margin-top: -8px;
	color: var(--ink-3);
}

.form__alert {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 22px;
	padding: 14px 16px;
	border-left: 3px solid var(--red);
	border-radius: var(--radius);
	background: var(--red-wash);
	color: var(--red-deep);
	font-size: 15px;
	font-weight: 500;
}

.form__alert:focus {
	outline: none;
}

.form__alert .icon {
	width: 20px;
	height: 20px;
	margin-top: 1px;
}

.form__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	margin-top: 26px;
}

.form__privacy {
	flex: 1 1 220px;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--ink-3);
}

.form__submit[aria-busy="true"] {
	pointer-events: none;
	opacity: 0.75;
}

.form-done {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 16px;
	min-height: 100%;
	padding-block: 24px;
}

.form-done:focus {
	outline: none;
}

.form-done__icon {
	width: 52px;
	height: 52px;
	padding: 12px;
	border-radius: 50%;
	background: var(--red);
	color: var(--white);
	stroke-width: 2.4;
}

.form-done__text {
	max-width: 36ch;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
}

@media (prefers-reduced-motion: no-preference) {
	.form-done__icon {
		animation: pop 0.5s var(--ease-out) both;
	}
}

@keyframes pop {
	from {
		opacity: 0;
		transform: scale(0.6);
	}
}

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

@media (max-width: 560px) {
	.contact .wrap {
		padding-inline: 0;
	}

	.contact__panel {
		padding: 40px var(--gutter);
		border-radius: 0;
	}

	.contact__panel::before {
		left: 0;
		top: 40px;
	}

	.contact__form-wrap {
		padding: 22px 18px;
	}

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

	.form__submit {
		width: 100%;
	}
}

/* ---------- Footer ---------- */

.site-footer {
	padding-top: 8px;
}

.site-footer__main {
	position: relative;
	display: flex;
	align-items: center;
	gap: clamp(20px, 3vw, 40px);
	padding-block: 32px;
	border-bottom: 1px solid var(--line);
}

.site-footer__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px clamp(20px, 3vw, 40px);
	padding-left: clamp(20px, 3vw, 40px);
	border-left: 1px solid var(--line);
}

.site-footer__contact a,
.site-footer__contact span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	font-size: 14.5px;
	text-decoration: none;
	color: var(--ink-2);
}

.site-footer__contact a:hover {
	color: var(--ink);
}

.site-footer__contact .icon {
	width: 20px;
	height: 20px;
	color: var(--ink);
}

.site-footer__social {
	display: flex;
	gap: 4px;
}

.site-footer__social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	color: var(--ink-2);
	border-radius: var(--radius);
}

.site-footer__social a:hover {
	color: var(--red);
}

.site-footer__social .icon {
	width: 20px;
	height: 20px;
}

.site-footer__alps {
	width: 220px;
	height: auto;
	margin-left: auto;
	color: #b8bdc3;
	flex: none;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 4px 24px;
	padding-block: 20px 28px;
}

.site-footer__copy,
.site-footer__credit {
	font-size: 13px;
	color: var(--ink-3);
}

.site-footer__credit a {
	color: var(--ink-2);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-footer__credit a:hover {
	color: var(--red);
}

@media (max-width: 1000px) {
	.site-footer__alps {
		display: none;
	}
}

@media (max-width: 760px) {
	.site-footer__main {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-footer__contact {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding-left: 0;
		border-left: 0;
	}
}

/* ---------- Scroll reveal (only when JS is running) ---------- */

@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] {
		opacity: 0;
		transform: translateY(18px);
		transition:
			opacity 0.7s var(--ease-out),
			transform 0.7s var(--ease-out);
		transition-delay: calc(var(--i, 0) * 70ms);
	}

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

/* ---------- Plain pages (privacy policy, imprint) ---------- */

.page-plain {
	padding-block: clamp(48px, 7vw, 96px);
}

.prose h1 {
	margin-bottom: 28px;
	font-size: clamp(32px, 4vw, 44px);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.prose h2,
.prose h3 {
	margin: 1.8em 0 0.5em;
	line-height: 1.25;
}

.prose p,
.prose ul,
.prose ol {
	margin: 0 0 1.1em;
}

.prose ul {
	padding-left: 1.2em;
	list-style: disc;
}

.prose a {
	color: var(--red-deep);
}

/* ---------- Print ---------- */

@media print {
	.site-header,
	.hero__media,
	.lightbox,
	.contact__form-wrap,
	.menu-toggle {
		display: none !important;
	}

	.hero__copy {
		width: 100%;
	}
}
