/* =========================================================================
   Amber Tours Europe — stylesheet
   Design device: the route line. A day tour is a departure, a sequence of
   stops and a return; the brand is named after a road. The line appears at
   three scales (hero, card, itinerary) and nothing else is loud.
   Colour encodes departure city: amber = Vienna, danube = Bratislava.
   ========================================================================= */

:root {
	/* Ground: limestone, the rock Devín, Hainburg and the Little Carpathians
	   are built of. Cooler and chalkier than a cream. */
	--limestone: #e6e5dd;
	--limestone-lift: #eeede6;
	--limestone-deep: #d2d1c4;
	--limestone-sink: #c4c3b5;

	/* Text: a green-cast dark, never used as a page ground. */
	--ink: #232821;
	--ink-soft: #4d5349;
	--ink-faint: #5c6157;

	/* The one loud colour. Gold-ochre, deliberately not a clay pink. */
	--amber: #c8791b;
	--amber-lift: #e0913a;
	--resin: #7b3f0e;

	/* Second departure city. */
	--danube: #3a585c;
	--danube-lift: #4f7377;
	--danube-deep: #23383b;

	--paper: #fbfaf6;
	--alert: #8f2a17;

	/* A control's edge is the only thing marking it as a control, so it is held
	   to the 3:1 of SC 1.4.11 rather than to the quieter rule colour. */
	--control-border: #8e8d7f;

	--measure: 62ch;
	--measure-tight: 46ch;
	--shell: 76rem;
	--gutter: clamp(1.25rem, 4vw, 3.5rem);

	--rule: 1px solid var(--limestone-deep);
	--radius-control: 3px;

	--step-meta: 0.8125rem;
	--step-body: 1.0625rem;
	--step-lead: 1.1875rem;
	--step-h3: 1.1875rem;
	--step-h2: clamp(1.65rem, 3.4vw, 2.5rem);
	--step-display: clamp(2.5rem, 6.8vw, 5rem);

	--font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Newsreader", Georgia, "Times New Roman", serif;

	color-scheme: light;
}

/* Dark mode keeps the identity: amber road, ink ground, limestone type. */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--limestone: #1a1e19;
		--limestone-lift: #232821;
		--limestone-deep: #343a31;
		--limestone-sink: #454c41;
		--ink: #e6e5dd;
		--ink-soft: #b3b5a9;
		--ink-faint: #8b8e82;
		--amber: #e0913a;
		--amber-lift: #efa955;
		--resin: #e6b071;
		--danube: #7fa8ac;
		--danube-lift: #9ac0c4;
		--danube-deep: #cadfe1;
		--paper: #232821;
		--alert: #e8836d;
		--control-border: #6f7569;
		color-scheme: dark;
	}
}

:root[data-theme="dark"] {
	--limestone: #1a1e19;
	--limestone-lift: #232821;
	--limestone-deep: #343a31;
	--limestone-sink: #454c41;
	--ink: #e6e5dd;
	--ink-soft: #b3b5a9;
	--ink-faint: #8b8e82;
	--amber: #e0913a;
	--amber-lift: #efa955;
	--resin: #e6b071;
	--danube: #7fa8ac;
	--danube-lift: #9ac0c4;
	--danube-deep: #cadfe1;
	--paper: #232821;
	--alert: #e8836d;
	--control-border: #6f7569;
	color-scheme: dark;
}

/* ---------------------------------------------------------------- base -- */

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--limestone);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--step-body);
	line-height: 1.65;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: -0.022em;
	line-height: 1.08;
	margin: 0;
	text-wrap: balance;
}

p {
	margin: 0 0 1rem;
	max-width: var(--measure);
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: inherit;
}

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

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

/* The segmented control clips its children, so the ring is drawn inside. */
.langs a:focus-visible {
	outline-offset: -3px;
}

/* SC 2.4.11: the sticky masthead must not cover whatever keyboard focus
   lands on, so anchor jumps and focus scrolls stop below it. */
html {
	scroll-padding-top: 5.5rem;
}

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

::selection {
	background: var(--amber);
	color: var(--paper);
}

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

/* Present to assistive technology, absent on screen. */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: var(--limestone);
	padding: 0.75rem 1.25rem;
	z-index: 100;
	font-family: var(--font-display);
}

.skip:focus {
	left: 0;
}

/* Small grotesque note. Sentence case on purpose — no tracked-out caps. */
.note {
	font-family: var(--font-display);
	font-size: var(--step-meta);
	font-weight: 600;
	font-variation-settings: "wdth" 90;
	color: var(--ink-faint);
	line-height: 1.4;
}

.section {
	padding-block: clamp(3.5rem, 8vw, 6.5rem);
	border-top: var(--rule);
	scroll-margin-top: 5rem;
}

.tour {
	scroll-margin-top: 6rem;
}

.section__head {
	max-width: var(--measure);
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__head h2 {
	font-size: var(--step-h2);
	margin-bottom: 0.75rem;
}

.section__head .note {
	margin-bottom: 0.5rem;
}

.section__head p {
	color: var(--ink-soft);
	font-size: var(--step-lead);
}

/* -------------------------------------------------------------- header -- */

.masthead {
	position: sticky;
	top: 0;
	z-index: 40;
	background: color-mix(in srgb, var(--limestone) 92%, transparent);
	backdrop-filter: blur(8px);
	border-bottom: var(--rule);
}

.masthead__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 4.25rem;
	flex-wrap: wrap;
}

.wordmark {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.0625rem;
	letter-spacing: -0.02em;
	text-decoration: none;
	line-height: 1.15;
	margin-right: auto;
	display: flex;
	align-items: baseline;
	gap: 0.45rem;
}

.wordmark__mark {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--amber);
	flex: none;
	align-self: center;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 22%, transparent);
}

.wordmark__tail {
	color: var(--ink-faint);
	font-weight: 500;
}

.nav {
	display: flex;
	gap: 1.5rem;
	align-items: center;
	font-family: var(--font-display);
	font-size: 0.9375rem;
	font-weight: 600;
}

.nav a {
	text-decoration: none;
	color: var(--ink-soft);
	padding-block: 0.35rem;
	border-bottom: 2px solid transparent;
}

.nav a:hover {
	color: var(--ink);
	border-bottom-color: var(--amber);
}

.langs {
	display: flex;
	border: 1px solid var(--control-border);
	border-radius: var(--radius-control);
	overflow: hidden;
	font-family: var(--font-display);
	font-size: 0.8125rem;
	font-weight: 700;
}

.langs a {
	background: transparent;
	border-right: 1px solid var(--control-border);
	color: var(--ink-faint);
	padding: 0.4rem 0.6rem;
	line-height: 1;
	text-decoration: none;
	display: block;
}

.langs a:last-child {
	border-right: 0;
}

.langs a:hover {
	color: var(--ink);
	background: var(--limestone-lift);
}

.langs a[aria-current="page"] {
	background: var(--ink);
	color: var(--limestone);
}

/* ---------------------------------------------------------------- hero -- */

.hero {
	padding-block: clamp(3rem, 9vw, 7rem) clamp(2.5rem, 6vw, 4.5rem);
}

.hero h1 {
	font-size: var(--step-display);
	line-height: 0.98;
	letter-spacing: -0.035em;
	max-width: 16ch;
	margin-bottom: 1.5rem;
}

.hero__sub {
	font-size: var(--step-lead);
	color: var(--ink-soft);
	max-width: 52ch;
	margin-bottom: 2.5rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 2.25rem;
}

.hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hero__trust li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-size: var(--step-meta);
	font-weight: 600;
	color: var(--ink-soft);
}

.hero__trust li::before {
	content: "";
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: var(--amber);
	flex: none;
}

/* ---------------------------------------------------------- route line -- */
/* The signature. Horizontal at two scales, vertical in the itinerary. */

.route {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.5rem;
	padding-top: 0.75rem;
}

.route::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0.75rem;
	height: 2px;
	background: linear-gradient(
		90deg,
		var(--amber) 0%,
		var(--amber) 45%,
		var(--danube) 100%
	);
	transform-origin: left center;
}

.route__stop {
	position: relative;
	padding-top: 1.25rem;
	font-family: var(--font-display);
	font-size: var(--step-meta);
	font-weight: 600;
	font-variation-settings: "wdth" 88;
	color: var(--ink-soft);
	text-align: center;
	flex: 1 1 0;
	min-width: 0;
	line-height: 1.25;
}

.route__stop:first-child {
	text-align: left;
}

.route__stop:last-child {
	text-align: right;
}

.route__stop::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -3px);
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--limestone);
	border: 2px solid var(--amber);
}

.route__stop:first-child::before {
	left: 0;
	transform: translate(0, -3px);
}

.route__stop:last-child::before {
	left: auto;
	right: 0;
	transform: translate(0, -3px);
	border-color: var(--danube);
}

/* Terminals are filled: you start and end somewhere real. */
.route__stop:first-child::before,
.route__stop:last-child::before {
	background: var(--amber);
}

.route__stop:last-child::before {
	background: var(--danube);
}

/* Departure city is colour, so a Bratislava day runs teal-to-amber and the
   filter chips teach the mapping without a legend. */
.route--from-bratislava::before {
	background: linear-gradient(
		90deg,
		var(--danube) 0%,
		var(--danube) 45%,
		var(--amber) 100%
	);
}

.route--from-bratislava .route__stop::before {
	border-color: var(--danube);
}

.route--from-bratislava .route__stop:first-child::before {
	background: var(--danube);
	border-color: var(--danube);
}

.route--from-bratislava .route__stop:last-child::before {
	background: var(--amber);
	border-color: var(--amber);
}

.route--vertical.route--from-bratislava::before {
	background: linear-gradient(180deg, var(--danube) 0%, var(--amber) 100%);
}

/* Hero scale — full bleed, bigger type, one drawn moment on load. */
.route--hero {
	padding-top: 1rem;
	margin-bottom: 2.75rem;
}

.route--hero::before {
	top: 1rem;
	height: 3px;
}

.route--hero .route__stop {
	padding-top: 1.6rem;
	font-size: 0.9375rem;
	color: var(--ink);
}

.route--hero .route__stop::before {
	width: 0.75rem;
	height: 0.75rem;
	transform: translate(-50%, -4px);
}

.route--hero .route__stop:first-child::before {
	transform: translate(0, -4px);
}

.route--hero .route__stop:last-child::before {
	transform: translate(0, -4px);
}

.route__stop small {
	display: block;
	font-weight: 500;
	font-size: 0.75rem;
	color: var(--ink-faint);
	margin-top: 0.15rem;
}

/* Card scale — compact, no sub-labels. */
.route--compact {
	padding-top: 0.5rem;
}

.route--compact::before {
	top: 0.5rem;
}

.route--compact .route__stop {
	padding-top: 1rem;
	font-size: 0.75rem;
}

/* Itinerary scale — vertical, the line runs down the left. */
.route--vertical {
	display: block;
	padding-top: 0;
	padding-left: 1.5rem;
	list-style: none;
	margin: 0;
}

.route--vertical::before {
	left: 0.28rem;
	right: auto;
	top: 0.55rem;
	bottom: 0.55rem;
	height: auto;
	width: 2px;
	background: linear-gradient(180deg, var(--amber) 0%, var(--danube) 100%);
}

.route--vertical .route__stop {
	display: block;
	text-align: left;
	padding: 0 0 1rem 0;
	font-size: var(--step-body);
	font-family: var(--font-body);
	font-weight: 400;
	font-variation-settings: normal;
	color: var(--ink-soft);
	line-height: 1.55;
	max-width: var(--measure);
}

.route--vertical .route__stop:last-child {
	padding-bottom: 0;
}

.route--vertical .route__stop::before {
	top: 0.55rem;
	left: -1.5rem;
	transform: none;
	width: 0.6rem;
	height: 0.6rem;
	background: var(--limestone);
	border-color: var(--amber);
}

.route--vertical .route__stop:first-child::before,
.route--vertical .route__stop:last-child::before {
	left: -1.5rem;
	transform: none;
	background: var(--amber);
}

.route--vertical .route__stop:last-child::before {
	background: var(--danube);
	border-color: var(--danube);
}

/* Must outrank the .route--vertical rules above: they have equal specificity
   and would win on source order, inverting the departure colour code so every
   Bratislava itinerary started amber. */
.route--vertical.route--from-bratislava .route__stop::before {
	border-color: var(--danube);
}

.route--vertical.route--from-bratislava .route__stop:first-child::before {
	background: var(--danube);
	border-color: var(--danube);
}

.route--vertical.route--from-bratislava .route__stop:last-child::before {
	background: var(--amber);
	border-color: var(--amber);
}

.route__place {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.9375rem;
	color: var(--ink);
	display: block;
	letter-spacing: -0.01em;
}

/* One orchestrated load moment: the hero road draws itself, once. */
@media (prefers-reduced-motion: no-preference) {
	.route--hero::before {
		animation: draw 1100ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
	}

	.route--hero .route__stop {
		animation: settle 520ms ease-out both;
		animation-delay: calc(140ms + var(--i, 0) * 150ms);
	}
}

@keyframes draw {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}

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

/* ------------------------------------------------------------- buttons -- */

.btn {
	font-family: var(--font-display);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1;
	padding: 0.85rem 1.35rem;
	border-radius: var(--radius-control);
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	transition: background-color 140ms ease, color 140ms ease,
		border-color 140ms ease;
}

.btn--solid {
	background: var(--resin);
	color: var(--paper);
	border-color: var(--resin);
}

.btn--solid:hover {
	background: var(--ink);
	border-color: var(--ink);
}

.btn--outline {
	background: transparent;
	color: var(--ink);
	border-color: var(--control-border);
}

.btn--outline:hover {
	border-color: var(--amber);
	background: var(--limestone-lift);
}

.btn--whatsapp {
	background: var(--danube);
	color: var(--paper);
	border-color: var(--danube);
}

.btn--whatsapp:hover {
	background: var(--danube-deep);
	border-color: var(--danube-deep);
}

:root[data-theme="dark"] .btn--whatsapp,
:root[data-theme="dark"] .btn--solid {
	color: var(--limestone-lift);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .btn--whatsapp,
	:root:not([data-theme="light"]) .btn--solid {
		color: #14180f;
	}
}

.btn__icon {
	width: 1.1em;
	height: 1.1em;
	flex: none;
	fill: currentColor;
}

/* A text action, not a card-wide click target and not an arrow. */
.linkish {
	font-family: var(--font-display);
	font-size: 0.9375rem;
	font-weight: 700;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: var(--resin);
	border-bottom: 2px solid color-mix(in srgb, var(--resin) 35%, transparent);
	line-height: 1.3;
}

.linkish:hover {
	border-bottom-color: var(--resin);
}

.linkish--quiet {
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 400;
	color: var(--ink-soft);
	border-bottom-width: 1px;
	border-bottom-color: var(--limestone-sink);
}

.linkish--quiet:hover {
	color: var(--resin);
	border-bottom-color: var(--resin);
}

/* --------------------------------------------------------------- tours -- */

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.filter {
	font-family: var(--font-display);
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.5rem 0.95rem;
	border: 1px solid var(--control-border);
	border-radius: var(--radius-control);
	background: transparent;
	color: var(--ink-soft);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.filter:hover {
	background: var(--limestone-lift);
	color: var(--ink);
}

.filter--vienna::before,
.filter--bratislava::before {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	flex: none;
}

.filter--vienna::before {
	background: var(--amber);
}

.filter--bratislava::before {
	background: var(--danube);
}

.filter[aria-pressed="true"] {
	background: var(--ink);
	color: var(--limestone);
	border-color: var(--ink);
}

.tours {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: var(--rule);
}

.tour {
	border-bottom: var(--rule);
	padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
}

.tour[hidden] {
	display: none;
}

.tour__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
}

.tour__from {
	font-family: var(--font-display);
	font-size: var(--step-meta);
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.6rem;
}

.tour__from::before {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	flex: none;
	background: currentColor;
}

.tour--vienna .tour__from {
	color: var(--resin);
}

.tour--bratislava .tour__from {
	color: var(--danube-deep);
}

.tour__title {
	font-size: 1.45rem;
	margin-bottom: 0.65rem;
	max-width: 30ch;
}

.tour__tagline {
	color: var(--ink-soft);
	font-style: italic;
	margin-bottom: 0.9rem;
	max-width: var(--measure-tight);
}

.tour__summary {
	margin-bottom: 1.25rem;
}

.tour__facts {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	max-width: 46ch;
}

.tour__facts li {
	font-family: var(--font-display);
	font-size: var(--step-meta);
	font-weight: 600;
	color: var(--ink-soft);
	line-height: 1.3;
	padding: 0.2rem 0.55rem;
	border: 1px solid var(--limestone-deep);
	border-radius: 2px;
	background: var(--limestone-lift);
}

.tour__aside {
	padding-top: 0.35rem;
}

.tour__hl {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.tour__hl li {
	position: relative;
	padding-left: 1.1rem;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--ink-soft);
}

.tour__hl li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	border: 2px solid var(--amber);
}

.tour--bratislava .tour__hl li::before {
	border-color: var(--danube);
}

.tour__thumb {
	/* Landscape photographs, so 3:2 crops far less than 4:3 would. */
	aspect-ratio: 3 / 2;
	background: var(--limestone-lift);
	border: var(--rule);
	margin-bottom: 1.25rem;
	position: relative;
	overflow: hidden;
	display: grid;
	place-items: center;
}

.tour__thumb picture,
.tour__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Honest empty state: a slot, labelled, not a fake photo. */
.tour__thumb--empty::after {
	content: attr(data-label);
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--ink-faint);
	padding: 0 1rem;
	text-align: center;
}

.tour__thumb--empty {
	background: repeating-linear-gradient(
		135deg,
		var(--limestone-lift) 0 10px,
		var(--limestone) 10px 20px
	);
}

.tour__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem;
	margin-top: 1.5rem;
}

.tour__detail {
	margin-top: 1.75rem;
	padding-top: 1.75rem;
	border-top: var(--rule);
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: start;
}

.tour__detail[hidden] {
	display: none;
}

.tour__detail h4 {
	font-size: var(--step-h3);
	margin-bottom: 1rem;
}

.tour__includes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

.tour__includes li {
	position: relative;
	padding-left: 1.4rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--ink-soft);
}

.tour__includes li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.42em;
	width: 0.7rem;
	height: 0.4rem;
	border-left: 2px solid var(--amber);
	border-bottom: 2px solid var(--amber);
	transform: rotate(-45deg);
}

/* ----------------------------------------------------------------- why -- */

.why {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: clamp(1.75rem, 4vw, 3rem);
	border-top: var(--rule);
	padding-top: clamp(2rem, 4vw, 2.75rem);
}

.why__item h3 {
	font-size: var(--step-h3);
	margin-bottom: 0.6rem;
	padding-top: 0.9rem;
	border-top: 2px solid var(--amber);
	max-width: 18ch;
}

.why__item:nth-child(even) h3 {
	border-top-color: var(--danube);
}

.why__item p {
	color: var(--ink-soft);
	font-size: 0.9375rem;
	max-width: 34ch;
}

/* --------------------------------------------------------------- about -- */

.about {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.about__body p {
	font-size: var(--step-lead);
	color: var(--ink-soft);
}

.about__amber {
	border-left: 3px solid var(--amber);
	padding: 0.35rem 0 0.35rem 1.25rem;
	font-size: var(--step-lead);
	font-style: italic;
	color: var(--ink);
	max-width: 34ch;
}

.about__legal {
	font-family: var(--font-display);
	font-size: var(--step-meta);
	line-height: 1.7;
	color: var(--ink-soft);
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: var(--rule);
}

.about__legal dt {
	color: var(--ink-faint);
	font-weight: 600;
}

.about__legal dd {
	margin: 0 0 0.6rem;
	font-weight: 500;
}

/* ----------------------------------------------------------------- faq -- */

.faq {
	border-top: var(--rule);
	max-width: 58rem;
}

.faq details {
	border-bottom: var(--rule);
}

.faq summary {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.0625rem;
	padding: 1.15rem 2.5rem 1.15rem 0;
	cursor: pointer;
	position: relative;
	list-style: none;
	line-height: 1.35;
}

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

.faq summary::after {
	content: "";
	position: absolute;
	right: 0.5rem;
	top: 1.55rem;
	width: 0.7rem;
	height: 0.7rem;
	border-right: 2px solid var(--amber);
	border-bottom: 2px solid var(--amber);
	transform: rotate(45deg);
	transition: transform 160ms ease;
}

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

.faq summary:hover {
	color: var(--resin);
}

.faq__answer {
	padding: 0 2.5rem 1.4rem 0;
	color: var(--ink-soft);
}

/* ------------------------------------------------------------- contact -- */

.contact {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.form {
	display: grid;
	gap: 1.1rem;
}

.form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.1rem;
}

.field {
	display: grid;
	gap: 0.35rem;
}

.field label {
	font-family: var(--font-display);
	font-size: var(--step-meta);
	font-weight: 600;
	color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
	font: inherit;
	font-size: 1rem;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--control-border);
	border-radius: var(--radius-control);
	background: var(--paper);
	color: var(--ink);
	width: 100%;
}

.field textarea {
	min-height: 7rem;
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--amber);
}

.field__error {
	font-family: var(--font-display);
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--alert);
	min-height: 0;
}

.field--invalid input,
.field--invalid select,
.field--invalid textarea {
	border-color: var(--alert);
}

.consent {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	font-size: 0.9375rem;
	color: var(--ink-soft);
	line-height: 1.5;
	max-width: var(--measure);
}

.consent input {
	margin-top: 0.3rem;
	width: 1rem;
	height: 1rem;
	accent-color: var(--resin);
	flex: none;
}

.form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.form__status {
	margin: 0;
	font-family: var(--font-display);
	font-size: 0.9375rem;
	font-weight: 600;
	padding: 0.75rem 1rem;
	border-left: 3px solid var(--amber);
	background: var(--limestone-lift);
	line-height: 1.5;
}

/* Always present so it is a live region from page load; an empty status
   simply takes no space. Toggling `hidden` would break the announcement. */
.form__status:empty {
	display: none;
}

.form__status--error {
	border-left-color: var(--alert);
	color: var(--alert);
}

.contact__side {
	border-left: var(--rule);
	padding-left: clamp(1.25rem, 3vw, 2rem);
}

.contact__side h3 {
	font-size: var(--step-h3);
	margin-bottom: 0.75rem;
}

.contact__side p {
	color: var(--ink-soft);
	font-size: 0.9375rem;
}

.contact__list {
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	display: grid;
	gap: 0.75rem;
	font-family: var(--font-display);
	font-size: 0.9375rem;
}

.contact__list a {
	color: var(--resin);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* -------------------------------------------------------------- footer -- */

.footer {
	border-top: var(--rule);
	padding-block: clamp(2.5rem, 5vw, 3.5rem) 2rem;
	font-size: 0.9375rem;
}

.footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 2rem clamp(1.5rem, 4vw, 3rem);
	margin-bottom: 2.5rem;
}

.footer__h {
	font-family: var(--font-display);
	font-size: var(--step-meta);
	color: var(--ink-faint);
	margin: 0 0 0.75rem;
	font-weight: 600;
	letter-spacing: normal;
}

.footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
	color: var(--ink-soft);
	line-height: 1.5;
}

.footer a {
	color: var(--ink-soft);
	text-underline-offset: 3px;
}

.footer a:hover {
	color: var(--resin);
}

.footer__base {
	border-top: var(--rule);
	padding-top: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 2rem;
	align-items: center;
	color: var(--ink-faint);
	font-family: var(--font-display);
	font-size: var(--step-meta);
}

/* --------------------------------------------------------------- modal -- */

.sheet {
	border: none;
	padding: 0;
	max-width: 44rem;
	width: calc(100% - 2rem);
	background: var(--limestone);
	color: var(--ink);
	border-radius: 4px;
}

.sheet::backdrop {
	background: rgba(20, 24, 18, 0.55);
	backdrop-filter: blur(2px);
}

.sheet__inner {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	max-height: 80vh;
	overflow-y: auto;
}

.sheet h3 {
	font-size: var(--step-h2);
	margin-bottom: 1rem;
}

.sheet a {
	color: var(--resin);
	text-underline-offset: 3px;
}

.sheet ul {
	padding-left: 1.1rem;
	color: var(--ink-soft);
	display: grid;
	gap: 0.6rem;
	margin: 0 0 1.5rem;
}

.sheet__close {
	margin-top: 0.5rem;
}

/* -------------------------------------------------------------- cookie -- */

.cookie {
	position: fixed;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 60;
	max-width: 32rem;
	background: var(--ink);
	color: var(--limestone);
	padding: 1.1rem 1.25rem;
	border-radius: 4px;
	display: grid;
	gap: 0.85rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	box-shadow: 0 10px 30px rgba(20, 24, 18, 0.25);
}

.cookie[hidden] {
	display: none;
}

.cookie__actions {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.cookie .btn--solid {
	background: var(--amber);
	border-color: var(--amber);
	color: #1a1e19;
}

.cookie .btn--outline {
	color: var(--limestone);
	border-color: var(--ink-faint);
}

.cookie .btn--outline:hover {
	background: transparent;
	border-color: var(--limestone);
}

/* ---------------------------------------------------------- responsive -- */

@media (max-width: 62rem) {
	.tour__grid,
	.tour__detail,
	.about,
	.contact {
		grid-template-columns: minmax(0, 1fr);
	}

	.contact__side {
		border-left: 0;
		border-top: var(--rule);
		padding-left: 0;
		padding-top: 1.75rem;
	}

	.tour__aside {
		padding-top: 0;
	}
}

@media (max-width: 46rem) {
	.masthead__inner {
		padding-block: 0.75rem;
		gap: 0.75rem 1rem;
	}

	.nav {
		order: 3;
		width: 100%;
		gap: 1.1rem;
		overflow-x: auto;
		padding-bottom: 0.25rem;
		font-size: 0.875rem;
	}

	.nav a {
		white-space: nowrap;
	}

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

	/* The road keeps every node — the shape of the day is the point — but
	   sheds labels that would crush to two characters. The departure cities
	   are the one thing a narrow screen must still say, so they stay. */
	.route--hero .route__stop {
		font-size: 0.8125rem;
	}

	.route--hero .route__stop:not(.route__stop--key) small {
		display: none;
	}

	.route--compact .route__stop:not(:first-child):not(:last-child) {
		font-size: 0;
	}

	.route--compact .route__stop:not(:first-child):not(:last-child)::before {
		font-size: 1rem;
	}
}

@media (max-width: 30rem) {
	.route--hero .route__stop:not(.route__stop--key) {
		font-size: 0;
	}

	.route--hero .route__stop:not(.route__stop--key)::before {
		font-size: 1rem;
	}

	/* Two labels on a 375px line need room to sit under their own node. */
	.route--hero .route__stop--key {
		flex: 1.6 1 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.masthead,
	.cookie,
	.hero__actions,
	.filters,
	.form {
		display: none;
	}
}
