:root {
	--ink: #1d1a18;
	--paper: #f7f1e7;
	--accent: #d55d2c;
	--accent-dark: #a94422;
	--accent-cool: #1f6d6a;
	--stroke: #d9cdbb;
	--panel: #fff7e8;
	--shadow: 0 20px 50px rgba(29, 26, 24, 0.16);
}

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

body {
	margin: 0;
	font-family: "Space Grotesk", "Segoe UI", sans-serif;
	color: var(--ink);
	background:
		radial-gradient(circle at top left, rgba(213, 93, 44, 0.12), transparent 55%),
		radial-gradient(circle at 10% 80%, rgba(31, 109, 106, 0.12), transparent 60%),
		var(--paper);
}

.site-main {
	min-height: 100vh;
}

.valais-hero {
	position: relative;
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 8vw, 7rem);
	background: linear-gradient(120deg, #fff0db 0%, #f8f0e2 45%, #f3e2d0 100%);
	border-bottom: 1px solid var(--stroke);
	overflow: hidden;
}

.valais-hero::after {
	content: "";
	position: absolute;
	top: -40px;
	right: -80px;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(31, 109, 106, 0.35), transparent 70%);
}

.valais-hero__inner {
	max-width: 720px;
	position: relative;
	z-index: 1;
}

.valais-hero__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.3em;
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--accent-dark);
	margin: 0 0 0.75rem;
}

.valais-hero h1 {
	font-family: "Fraunces", "Times New Roman", serif;
	font-size: clamp(2.4rem, 4.5vw, 4.2rem);
	margin: 0 0 1rem;
}

.valais-hero p {
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0;
	color: #433a33;
}

.valais-map-section {
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 8vw, 7rem);
}

.valais-map-layout {
	display: grid;
	grid-template-columns: minmax(240px, 320px) 1fr;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: stretch;
}

.valais-map-panel {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	background: var(--panel);
	border: 1px solid var(--stroke);
	border-radius: 24px;
	padding: 1.5rem;
	box-shadow: var(--shadow);
}

.valais-map-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.valais-map-panel__header h2 {
	font-size: 1.2rem;
	margin: 0;
	font-family: "Fraunces", "Times New Roman", serif;
}

.valais-reset {
	border: 1px solid var(--stroke);
	background: transparent;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.valais-reset:hover,
.valais-reset:focus {
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
}

.valais-map-panel__card {
	background: #fffdf6;
	border-radius: 18px;
	padding: 1.1rem 1.2rem;
	border: 1px solid rgba(217, 205, 187, 0.7);
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.valais-map-label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: #7a6a5c;
	font-weight: 600;
}

#valais-selected-name {
	font-size: 1.3rem;
	font-weight: 600;
}

.valais-map-sub {
	font-size: 0.9rem;
	color: #6e6156;
}

.valais-map-note {
	margin: 0;
	font-size: 0.95rem;
	color: #564b43;
	line-height: 1.5;
}

.valais-map-wrapper {
	position: relative;
}

.valais-map {
	min-height: 420px;
	height: min(72vh, 720px);
	border-radius: 26px;
	border: 1px solid var(--stroke);
	overflow: hidden;
	box-shadow: var(--shadow);
	background: #ede4d6;
}

.valais-map-noscript {
	display: block;
	margin-top: 1rem;
	background: #fffdf6;
	padding: 0.8rem 1rem;
	border-radius: 12px;
	border: 1px solid var(--stroke);
}

.leaflet-container {
	font-family: "Space Grotesk", "Segoe UI", sans-serif;
	background: #ede4d6;
}

.leaflet-tooltip.valais-tooltip {
	background: #1d1a18;
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 0.25rem 0.7rem;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.leaflet-tooltip.valais-tooltip::before {
	border-top-color: #1d1a18;
}

.leaflet-control-attribution {
	font-size: 0.65rem;
}

.site-footer {
	padding: 2rem clamp(1.5rem, 8vw, 7rem);
	border-top: 1px solid var(--stroke);
	color: #6e6156;
	font-size: 0.85rem;
}

@media (max-width: 960px) {
	.valais-map-layout {
		grid-template-columns: 1fr;
	}

	.valais-map {
		height: min(60vh, 560px);
	}
}
