/* ==========================================================================
   Miracle Delivery — main stylesheet (v2)
   Mobile-first. Breakpoints: 360px, 768px, 1024px, 1440px.

   Direction: the street, not the screen. Brand red on clean white, with
   oxblood for dark bands. One typeface (Archivo) used across its width axis:
   expanded and heavy for headlines (vehicle-livery feel), normal width for
   reading. Motion is reserved for the rider: the 3D hero, the route the
   rider travels on scroll, and the road under the header.

    1. Tokens
    2. Base
    3. Accessibility
    4. Layout and type
    5. Buttons and links
    6. Header, navigation, ride progress
    7. Bike graphic
    8. Home: hero
    9. Home: ticker, statement, stats
   10. Home: services list
   11. Route component + How it works (pinned)
   12. Partners
   13. CTA band
   14. Inner page hero + route line
   15. Services: cards, process, comparison
   16. About: mission, values, timeline, team
   17. Contact: form, office, map, FAQ
   18. Footer
   19. Custom cursor
   20. Motion (headline rise, fills, reveals)
   21. Breakpoints
   22. Reduced motion
   ========================================================================== */

/* 1. TOKENS
   ========================================================================== */
:root {
	/* Brand — change --red here or in Customizer → Site details */
	--red: #AA201E;          /* from the Miracle logo */
	--red-deep: #861816;
	--oxblood: #3B0A0E;
	--oxblood-deep: #2A0609;

	/* Neutrals */
	--ink: #231F20;          /* registration black, used for text */
	--muted: #615B5C;        /* secondary text on white: 6.5:1 */
	--paper: #FFFFFF;
	--concrete: #EFEEEC;     /* alternate sections, like a pavement slab */
	--sky: #E9EEF2;          /* hero scene background */
	--line: rgba(35, 31, 32, 0.14);
	--line-strong: rgba(35, 31, 32, 0.32);

	/* Signals */
	--lane: #F6B91A;         /* road-marking yellow: focus ring on dark */
	--success: #1D7F4E;
	--error: #C21B22;
	--on-dark: #FFFFFF;
	--on-dark-muted: rgba(255, 255, 255, 0.74);

	/* Surfaces that change with the colour mode */
	--black: #231F20;        /* fixed dark text, e.g. on white buttons */
	--card: #FFFFFF;         /* raised cards */
	--red-text: #A3161C;     /* red used for small text */
	--sky-2: #F3F1EE;        /* bottom of the hero scene */
	--hero-scrim: rgba(255, 255, 255, 0.9);        /* behind the hero text */
	--hero-scrim-soft: rgba(255, 255, 255, 0.55);
	--header-bg: rgba(255, 255, 255, 0.92);
	--fill-off: #C9C3C3;     /* statement words before they fill in */
	--shadow: rgba(35, 31, 32, 0.28);

	/* Type */
	--font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
	--fs-sm: 0.875rem;
	--fs-base: 1.0625rem;
	--fs-md: 1.1875rem;
	--fs-lg: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
	--fs-h3: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem);
	--fs-h2: clamp(2rem, 1.25rem + 2.9vw, 3.75rem);
	--fs-h1: clamp(2.6rem, 1.3rem + 4.6vw, 5.5rem);
	--fs-statement: clamp(1.6rem, 1rem + 2.3vw, 3.1rem);

	/* Space */
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: 4.5rem;
	--space-9: 7rem;
	--section-y: var(--space-8);
	--gutter: 1rem;

	/* Shape */
	--radius-sm: 10px;
	--radius-md: 18px;
	--radius-lg: 28px;
	--radius-pill: 999px;

	/* Layout */
	--container: 1280px;
	--header-h: 72px;
	--header-h-scrolled: 62px;

	/* Motion */
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

	color-scheme: light;
}

/* Dark mode: the same tokens, redefined. Set by data-color-mode on <html>
   (header toggle, remembered per visitor; default in Customizer). */
:root[data-color-mode="dark"] {
	--red-deep: #B81C23;
	--ink: #F3EFEE;
	--muted: #ABA3A3;
	--paper: #141112;
	--concrete: #1D191A;
	--sky: #0F1424;
	--sky-2: #1B1520;
	--hero-scrim: rgba(20, 17, 18, 0.88);
	--hero-scrim-soft: rgba(20, 17, 18, 0.5);
	--line: rgba(243, 239, 238, 0.14);
	--line-strong: rgba(243, 239, 238, 0.32);
	--success: #4ED29A;
	--error: #FF7A7A;
	--card: #262022;
	--red-text: #FF6D66;
	--header-bg: rgba(20, 17, 18, 0.86);
	--fill-off: #4A4344;
	--shadow: rgba(0, 0, 0, 0.55);
	color-scheme: dark;
}

/* 2. BASE
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + var(--space-5));
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--fs-base);
	font-stretch: 100%;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

body.nav-open {
	overflow: hidden;
}

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

img {
	height: auto;
}

h1, h2, h3, h4 {
	margin: 0;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

p {
	margin: 0 0 var(--space-4);
}

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

ul, ol, dl, dd {
	margin: 0;
	padding: 0;
}

address {
	font-style: normal;
}

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

.icon {
	width: 1.25em;
	height: 1.25em;
	flex-shrink: 0;
}

/* 3. ACCESSIBILITY
   ========================================================================== */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	top: var(--space-3);
	left: var(--space-3);
	z-index: 1000;
	padding: var(--space-3) var(--space-4);
	background: var(--ink);
	color: var(--paper);
	font-weight: 600;
	border-radius: var(--radius-sm);
	transform: translateY(-160%);
	transition: transform 0.2s;
}

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

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

.on-dark :focus-visible,
.btn--primary:focus-visible {
	outline-color: var(--lane);
}

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

/* 4. LAYOUT AND TYPE
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

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

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

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

.section--concrete {
	background: var(--concrete);
}

.on-dark {
	color: var(--on-dark);
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-4) var(--space-6);
	margin-bottom: var(--space-7);
}

.section-title {
	max-width: 15ch;
	font-size: var(--fs-h2);
	font-stretch: 112%;
	line-height: 1;
}

.section-lead {
	max-width: 44ch;
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-md);
}

.prose {
	max-width: 70ch;
}

/* 5. BUTTONS AND LINKS
   ========================================================================== */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	min-height: 50px;
	padding: 0.8rem 1.5rem;
	border: 2px solid transparent;
	border-radius: var(--radius-pill);
	font-size: var(--fs-base);
	font-weight: 700;
	font-stretch: 105%;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--ease-out);
	will-change: transform;
}

.btn--sm {
	min-height: 42px;
	padding: 0.5rem 1.1rem;
	font-size: var(--fs-sm);
}

.btn--lg {
	min-height: 58px;
	padding: 1rem 1.9rem;
	font-size: var(--fs-md);
}

/* Rolling label: the text slides up and a copy slides in from below */
.btn__label {
	position: relative;
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
}

.btn__label > span,
.btn__label::after {
	display: block;
	transition: transform 0.45s var(--ease-out);
}

.btn__label::after {
	content: attr(data-text);
	position: absolute;
	inset: 100% 0 auto 0;
}

.btn:hover .btn__label > span,
.btn:hover .btn__label::after {
	transform: translateY(-100%);
}

.btn--primary {
	background: var(--red);
	color: #FFFFFF;
}

.btn--primary:hover {
	background: var(--red-deep);
	color: #FFFFFF;
}

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

.btn--ghost:hover {
	background: var(--ink);
	color: var(--paper);
}

.btn--light {
	background: #FFFFFF;
	color: var(--black);
}

.btn--light:hover {
	background: var(--black);
	color: #FFFFFF;
}

.btn--outline-light {
	border-color: rgba(255, 255, 255, 0.7);
	color: #FFFFFF;
}

.btn--outline-light:hover {
	background: #FFFFFF;
	border-color: #FFFFFF;
	color: var(--black);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding-bottom: 2px;
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
	transition: background-size 0.4s var(--ease-out), color 0.2s;
}

.text-link:hover {
	color: var(--red-text);
	background-size: 0% 2px;
	background-position: 100% 100%;
}

/* 6. HEADER, NAVIGATION, RIDE PROGRESS
   ========================================================================== */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--header-h);
	background: transparent;
	transition: height 0.35s var(--ease-out), background-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled,
body.nav-open .site-header {
	height: var(--header-h-scrolled);
	background: var(--header-bg);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
}

/* While the mobile menu is open, drop the blur: backdrop-filter makes the
   header the containing block for the fixed menu panel, which would squeeze
   the panel into the header's height and hide every link but the first. */
body.nav-open .site-header {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	background: var(--paper);
}
.admin-bar .site-header {
	top: 46px;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	height: 100%;
}

.site-brand {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
}

.custom-logo-link img {
	max-height: 44px;
	width: auto;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	color: var(--ink);
	text-decoration: none;
}

.brand__mark {
	width: 40px;
	height: 40px;
	transition: transform 0.35s var(--ease-out);
}

.is-scrolled .brand__mark {
	transform: scale(0.9);
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.brand__text strong {
	font-size: 1.15rem;
	font-weight: 900;
	font-stretch: 118%;
	letter-spacing: -0.02em;
}

.brand__text span {
	margin-top: 3px;
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 600;
	font-stretch: 112%;
}

/* Ride progress: a thin road under the header with the rider on it */
.ride-progress {
	--p: 0;
	position: absolute;
	inset: auto 0 0 0;
	height: 2px;
	background: var(--line);
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}

.is-scrolled .ride-progress {
	opacity: 1;
}

.ride-progress__fill {
	position: absolute;
	inset: 0;
	background: var(--red);
	transform: scaleX(var(--p));
	transform-origin: left;
}

.ride-progress__bike {
	position: absolute;
	bottom: 1px;
	left: calc(var(--p) * 100%);
	width: 30px;
	color: var(--ink);
	transform: translateX(-85%);
}

/* Hamburger */
.nav-toggle {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	background: var(--ink);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.nav-toggle__bars {
	position: relative;
	display: block;
	width: 18px;
	height: 10px;
}

.nav-toggle__bars span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--paper);
	border-radius: 2px;
	transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}

.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 8px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
	top: 4px;
	transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
	top: 4px;
	transform: rotate(-45deg);
}

/* Mobile panel */
.site-nav {
	position: fixed;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--space-6);
	padding: calc(var(--header-h) + var(--space-6)) var(--gutter) var(--space-7);
	background: var(--paper);
	overflow-y: auto;
	visibility: hidden;
	clip-path: inset(0 0 100% 0);
	transition: clip-path 0.55s var(--ease-out), visibility 0s linear 0.55s;
}

.site-nav.is-open {
	visibility: visible;
	clip-path: inset(0 0 0 0);
	transition: clip-path 0.55s var(--ease-out), visibility 0s;
}

.site-nav .menu {
	list-style: none;
	display: flex;
	flex-direction: column;
}

.site-nav .menu a {
	display: block;
	padding: var(--space-3) 0;
	color: var(--ink);
	font-size: clamp(2.2rem, 1.6rem + 3vw, 3rem);
	font-weight: 800;
	font-stretch: 115%;
	letter-spacing: -0.02em;
	text-decoration: none;
	border-bottom: 1px solid var(--line);
}

.site-nav .menu a:hover,
.site-nav .menu .current-menu-item > a,
.site-nav .menu a[aria-current="page"] {
	color: var(--red);
}

.site-nav__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-4);
}

.site-nav__phone {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
}

/* 7. BIKE GRAPHIC
   ========================================================================== */
.bike-svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.bike-svg__box,
.bike-svg__body {
	fill: var(--red);
}

.bike-svg__wheel {
	transform-box: fill-box;
	transform-origin: center;
}

/* Wheels spin whenever the rider is moving */
.bike-svg--riding .bike-svg__wheel,
.ride-progress__bike .bike-svg__wheel,
.route.is-moving .bike-svg__wheel,
.route-line.is-moving .bike-svg__wheel,
.cta.is-in .bike-svg__wheel,
.office__bike .bike-svg__wheel,
.timeline.is-moving .bike-svg__wheel,
.btn--send.is-sending .bike-svg__wheel {
	animation: wheel-spin 0.5s linear infinite;
}

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

/* 8. HOME: HERO
   ========================================================================== */
.hero {
	position: relative;
	padding-top: calc(var(--header-h) + var(--space-6));
	padding-bottom: var(--space-6);
	background: var(--paper);
}

.hero__copy {
	max-width: 640px;
}

.hero__title {
	margin-bottom: var(--space-5);
	font-size: clamp(2.6rem, 1.2rem + 3.9vw, 4.75rem);
	font-stretch: 112%;
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.035em;
}

.hero__lead {
	max-width: 50ch;
	margin-bottom: var(--space-6);
	color: var(--muted);
	font-size: var(--fs-md);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-bottom: var(--space-5);
}

.hero__contact {
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-sm);
}

.hero__contact a {
	color: var(--ink);
	font-weight: 700;
	white-space: nowrap;
}

.hero__scene {
	position: relative;
	margin: var(--space-6) var(--gutter) 0;
	aspect-ratio: 1 / 1.05;
	max-width: 100%;
	border-radius: var(--radius-md);
	overflow: hidden;
	/* Poster: shown while the 3D scene loads, and instead of it without WebGL */
	background: var(--sky) url("../images/hero-poster.webp") 72% 62% / cover no-repeat;
}

:root[data-color-mode="dark"] .hero__scene {
	background-image: url("../images/hero-poster-night.webp");
}

.hero__canvas {
	position: absolute;
	inset: 0;
}

.hero__canvas canvas {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	opacity: 0;
	transition: opacity 0.7s ease;
}

.hero__canvas.is-live canvas {
	opacity: 1;
}

/* Film look: gentle grade, vignette and grain over the 3D scene */
.hero__canvas canvas {
	filter: contrast(1.05) saturate(1.06);
}

.hero__canvas::before,
.hero__canvas::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.hero__canvas::before {
	background: radial-gradient(ellipse 85% 75% at 62% 55%, transparent 55%, rgba(10, 6, 4, 0.32) 100%);
}

.hero__canvas::after {
	opacity: 0.07;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* "On the road now": follows the vehicle the camera is on */
.fleet-card {
	position: absolute;
	left: var(--space-3);
	bottom: var(--space-3);
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding: var(--space-3);
	background: var(--card);
	border-radius: 16px;
	box-shadow: 0 18px 40px -14px var(--shadow);
	font-size: 0.8125rem;
}

.fleet-card__label {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	padding-left: 2px;
	color: var(--muted);
	font-weight: 700;
	letter-spacing: 0.02em;
}

.fleet-card__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--success);
	animation: pulse 1.8s ease-out infinite;
}

.fleet-card__list {
	list-style: none;
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.fleet-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px 6px 8px;
	border-radius: 999px;
	background: var(--concrete);
	color: var(--ink);
	font-weight: 700;
	white-space: nowrap;
	transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.fleet-chip .icon {
	width: 18px;
	height: 18px;
}

.fleet-chip.is-active {
	background: var(--red);
	color: #FFFFFF;
	transform: translateY(-1px);
}

/* Phones: a slim card so the vehicles stay in view */
@media (max-width: 767px) {
	.hero__scene {
		aspect-ratio: 1 / 1.12;
	}

	.fleet-card {
		left: 10px;
		bottom: 10px;
		gap: 0;
		padding: 5px;
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.86);
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
	}

	:root[data-color-mode="dark"] .fleet-card {
		background: rgba(38, 32, 34, 0.86);
	}

	.fleet-card__label {
		display: none;
	}

	.fleet-chip {
		gap: 4px;
		padding: 4px 9px 4px 7px;
		font-size: 0.75rem;
	}

	.fleet-chip .icon {
		width: 15px;
		height: 15px;
	}
}

@keyframes pulse {
	70% { box-shadow: 0 0 0 9px rgba(29, 127, 78, 0); }
	100% { box-shadow: 0 0 0 0 rgba(29, 127, 78, 0); }
}




/* 9. HOME: TICKER, STATEMENT, STATS
   ========================================================================== */
.ticker {
	padding-block: var(--space-5);
	background: var(--oxblood);
	overflow: hidden;
}

.ticker__track {
	display: flex;
	width: max-content;
	will-change: transform;
}

.ticker__list {
	list-style: none;
	display: flex;
	align-items: center;
	gap: var(--space-6);
	padding-right: var(--space-6);
	font-size: clamp(1.8rem, 1rem + 3vw, 3.4rem);
	font-weight: 800;
	font-stretch: 125%;
	line-height: 1;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.ticker__bike {
	width: 1.6em;
	color: #FFFFFF;
}

.statement {
	padding-block: var(--space-9) var(--space-8);
}

.statement__text {
	max-width: 30ch;
	margin-bottom: var(--space-8);
	font-size: var(--fs-statement);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.stats {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-5);
}

.stat {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding-top: var(--space-4);
	border-top: 2px solid var(--ink);
}

.stat__value {
	font-size: clamp(2.4rem, 1.6rem + 2.6vw, 4rem);
	font-weight: 800;
	font-stretch: 112%;
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}

.stat__value--placeholder {
	color: var(--muted);
	font-size: var(--fs-lg);
	font-weight: 600;
	font-stretch: 100%;
}

.stat__label {
	color: var(--muted);
	font-size: var(--fs-sm);
	font-weight: 600;
}

/* 10. HOME: SERVICES LIST
   ========================================================================== */
.svc-rows {
	list-style: none;
	border-top: 2px solid var(--ink);
}

.svc-row {
	border-bottom: 1px solid var(--line-strong);
}

.svc-row__link {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas:
		"icon name go"
		"desc desc desc";
	align-items: center;
	gap: var(--space-3) var(--space-4);
	padding: var(--space-6) var(--space-3);
	color: var(--ink);
	text-decoration: none;
	isolation: isolate;
}

.svc-row__link::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--red);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.55s var(--ease-out);
}

.svc-row__link:hover::before,
.svc-row__link:focus-visible::before {
	transform: scaleY(1);
}

.svc-row__link:hover,
.svc-row__link:focus-visible {
	color: #FFFFFF;
}

.svc-row__icon {
	grid-area: icon;
	color: var(--red);
	transition: color 0.3s;
}

.svc-row__icon .icon {
	width: 36px;
	height: 36px;
}

.svc-row__link:hover .svc-row__icon,
.svc-row__link:focus-visible .svc-row__icon {
	color: #FFFFFF;
}

.svc-row__name {
	grid-area: name;
	font-size: clamp(1.6rem, 1rem + 2.2vw, 2.75rem);
	font-weight: 800;
	font-stretch: 115%;
	line-height: 1;
	letter-spacing: -0.025em;
}

.svc-row__desc {
	grid-area: desc;
	max-width: 46ch;
	color: var(--muted);
	transition: color 0.3s;
}

.svc-row__link:hover .svc-row__desc,
.svc-row__link:focus-visible .svc-row__desc {
	color: #FFFFFF;
}

.svc-row__go {
	grid-area: go;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 2px solid currentColor;
	border-radius: 50%;
	transition: transform 0.45s var(--ease-out);
}

.svc-row__link:hover .svc-row__go {
	transform: rotate(45deg);
}

/* 11. ROUTE COMPONENT + HOW IT WORKS
   ========================================================================== */
.route {
	--p: 0;
	position: relative;
	height: 56px;
	margin: var(--space-6) 0 var(--space-6);
}

.route__line {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 6px;
	height: 4px;
	border-radius: 4px;
	background: repeating-linear-gradient(90deg, var(--line-strong) 0 14px, transparent 14px 24px);
}

.route__fill {
	position: absolute;
	inset: 0;
	border-radius: 4px;
	background: var(--red);
	transform: scaleX(var(--p));
	transform-origin: left;
}

.route__stop {
	position: absolute;
	bottom: 0;
	left: var(--at);
	width: 16px;
	height: 16px;
	margin-left: -8px;
	background: var(--paper);
	border: 3px solid var(--line-strong);
	border-radius: 50%;
	transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}

.route__stop:first-of-type {
	margin-left: 0;
}

.route__stop:last-of-type {
	margin-left: -16px;
}

.route__stop.is-reached {
	background: var(--red);
	border-color: var(--red);
	transform: scale(1.15);
}

.route__bike {
	position: absolute;
	bottom: 10px;
	left: calc(var(--p) * 100%);
	width: 64px;
	color: var(--ink);
	transform: translateX(calc(var(--p) * -100%));
}

/* How it works */
.journey {
	position: relative;
	padding-block: var(--section-y);
	background: var(--paper);
}

.journey__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-4) var(--space-6);
}

.journey__lead {
	max-width: 36ch;
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-md);
}

.journey__steps,
.process__steps {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-6);
}

.journey__step,
.process__step {
	transition: opacity 0.4s;
}

.journey__num,
.process__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: var(--space-4);
	border: 2px solid var(--ink);
	border-radius: 50%;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.is-reached > .journey__num,
.is-reached > .process__num {
	background: var(--red);
	border-color: var(--red);
	color: #FFFFFF;
}

.journey__title,
.process__title {
	margin-bottom: var(--space-2);
	font-size: var(--fs-h3);
	font-stretch: 108%;
}

.journey__text,
.process__text {
	max-width: 36ch;
	margin: 0;
	color: var(--muted);
}

/* Pinned version (desktop, motion allowed): JS adds .is-pinned */
.journey.is-pinned {
	height: 220vh;
	padding: 0;
}

.journey.is-pinned .journey__sticky {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	height: 100vh;
	height: 100svh;
}

.journey.is-pinned .journey__inner {
	padding-top: var(--header-h-scrolled);
}

.js-motion .journey__step:not(.is-reached),
.js-motion .process__step:not(.is-reached) {
	opacity: 0.35;
}

/* 12. PARTNERS
   ========================================================================== */
.partners {
	border-top: 1px solid var(--line);
}

.partners__inner {
	display: grid;
	gap: var(--space-5);
	align-items: center;
}

.partners__title {
	max-width: 18ch;
	font-size: var(--fs-lg);
	font-stretch: 105%;
	font-weight: 700;
	line-height: 1.2;
}

.partners__logos {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-5) var(--space-6);
	align-items: center;
}

.partners__logos img {
	max-height: 40px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.7;
	transition: filter 0.3s, opacity 0.3s;
}

.partners__logos img:hover {
	filter: none;
	opacity: 1;
}

/* 13. CTA BAND
   ========================================================================== */
.cta {
	position: relative;
	padding-block: var(--space-9) var(--space-8);
	background: var(--red);
	overflow: hidden;
}

.cta__road {
	position: absolute;
	top: var(--space-6);
	left: 0;
	right: 0;
	height: 32px;
	border-bottom: 2px dashed rgba(255, 255, 255, 0.5);
}

.cta__bike {
	position: absolute;
	bottom: 2px;
	left: -90px;
	width: 56px;
	color: #FFFFFF;
}

.cta__bike .bike-svg__box,
.cta__bike .bike-svg__body {
	fill: var(--ink);
}

.cta.is-in .cta__bike {
	animation: cta-ride 3.6s var(--ease-in-out) 0.2s both;
}

@keyframes cta-ride {
	from { left: -90px; }
	to { left: calc(100% + 20px); }
}

.cta__inner {
	display: grid;
	gap: var(--space-6);
}

.cta__title {
	max-width: 13ch;
	color: #FFFFFF;
	font-size: clamp(2.4rem, 1.3rem + 4.2vw, 5rem);
	font-stretch: 115%;
	line-height: 0.98;
	letter-spacing: -0.035em;
}

.cta__text {
	max-width: 42ch;
	margin-bottom: var(--space-5);
	color: #FFFFFF;
	font-size: var(--fs-md);
}

.cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

/* 14. INNER PAGE HERO + ROUTE LINE
   ========================================================================== */
.page-hero {
	position: relative;
	padding-top: calc(var(--header-h) + var(--space-7));
	padding-bottom: var(--space-6);
	overflow: hidden;
}

.page-hero--compact {
	padding-bottom: var(--space-7);
}

.crumbs ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-bottom: var(--space-5);
	color: var(--muted);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.crumbs li + li::before {
	content: "/";
	margin-right: var(--space-2);
	color: var(--line-strong);
}

.crumbs a {
	color: var(--muted);
	text-decoration: none;
}

.crumbs a:hover {
	color: var(--ink);
	text-decoration: underline;
}

.crumbs [aria-current] {
	color: var(--ink);
}

.page-hero__title {
	max-width: 17ch;
	margin-bottom: var(--space-5);
	font-size: var(--fs-h1);
	font-stretch: 112%;
	line-height: 0.98;
	letter-spacing: -0.035em;
}

.page-hero__lead {
	max-width: 56ch;
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-md);
}

.route-line {
	position: relative;
	height: 90px;
	margin: var(--space-7) var(--gutter) 0;
}

.route-line__svg {
	width: 100%;
	height: 100%;
	overflow: visible;
}

.route-line__track,
.route-line__path {
	fill: none;
	vector-effect: non-scaling-stroke;
}

.route-line__track {
	stroke: var(--line-strong);
	stroke-width: 2;
	stroke-dasharray: 8 10;
}

.route-line__path {
	stroke: var(--red);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
}

.route-line__pin {
	position: absolute;
	width: 14px;
	height: 14px;
	border-radius: 50%;
}

.route-line__pin--start {
	left: 0;
	top: calc(70 / 90 * 100%);
	background: var(--ink);
	transform: translate(-50%, -50%);
}

.route-line__pin--end {
	right: 0;
	top: calc(30 / 90 * 100%);
	background: var(--red);
	box-shadow: 0 0 0 6px rgba(170, 32, 30, 0.2);
	transform: translate(50%, -50%);
}

.route-line__bike {
	position: absolute;
	top: calc(30 / 90 * 100% - 36px);
	right: 0;
	width: 58px;
	color: var(--ink);
	transform-origin: 50% 100%;
	/* Without JS the rider parks at the end; main.js moves it along the path */
}

/* 15. SERVICES: CARDS, PROCESS, COMPARISON
   ========================================================================== */
.svc-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-5);
}

.svc-card {
	--rx: 0deg;
	--ry: 0deg;
	perspective: 1000px;
	scroll-margin-top: calc(var(--header-h) + var(--space-5));
}

.svc-card__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--card);
	border-radius: var(--radius-md);
	overflow: hidden;
	transform: rotateX(var(--rx)) rotateY(var(--ry));
	transform-style: preserve-3d;
	transition: transform 0.5s var(--ease-out), box-shadow 0.4s;
}

.svc-card.is-tilting .svc-card__inner {
	transition: transform 0.1s linear, box-shadow 0.4s;
}

.svc-card:hover .svc-card__inner {
	box-shadow: 0 30px 60px -25px var(--shadow);
}

.svc-card__art {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	background: var(--red);
	color: #FFFFFF;
}

.svc-card__icon {
	width: 104px;
	height: 104px;
	stroke-width: 1.2;
}

.js-motion .svc-card__art[data-draw] .icon > * {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 1.6s var(--ease-out);
}

.js-motion .svc-card__art[data-draw].is-in .icon > * {
	stroke-dashoffset: 0;
}

.svc-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: var(--space-6) var(--space-5);
}

.svc-card__for {
	margin-bottom: var(--space-2);
	color: var(--red-text);
	font-size: var(--fs-sm);
	font-weight: 700;
}

.svc-card__title {
	margin-bottom: var(--space-4);
	font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
	font-stretch: 112%;
}

.svc-card__text {
	color: var(--muted);
}

.svc-card__list {
	list-style: none;
	display: grid;
	gap: var(--space-2);
	margin-bottom: var(--space-6);
	flex: 1;
	font-weight: 600;
}

.svc-card__list li {
	display: flex;
	gap: var(--space-2);
	align-items: flex-start;
}

.svc-card__list .icon {
	margin-top: 0.15em;
	color: var(--red);
	stroke-width: 2.4;
}

.svc-card__body .btn {
	align-self: flex-start;
}

/* Process: five stops */
.process__steps {
	gap: var(--space-5);
}

.process__num {
	width: 34px;
	height: 34px;
	font-size: var(--fs-sm);
}

/* Comparison */
.compare {
	overflow-x: auto;
	border-radius: var(--radius-md);
	background: var(--card);
}

.compare__table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	text-align: left;
}

.compare__table th,
.compare__table td {
	padding: var(--space-4) var(--space-5);
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

.compare__table thead th {
	padding-block: var(--space-5);
	font-size: var(--fs-md);
	font-weight: 800;
	font-stretch: 108%;
	border-bottom: 2px solid var(--ink);
}

.compare__table thead th.compare__us {
	background: var(--red);
	color: #FFFFFF;
	border-bottom-color: var(--red);
}

.compare__table tbody th {
	width: 24%;
	font-weight: 700;
}

.compare__table td {
	color: var(--muted);
}

.compare__table td > span {
	display: inline;
}

.compare__table td.compare__us {
	background: rgba(170, 32, 30, 0.06);
	color: var(--ink);
	font-weight: 600;
}

.compare__mark {
	display: inline-block;
	width: 1.1em;
	height: 1.1em;
	margin-right: var(--space-2);
	vertical-align: -0.2em;
	stroke-width: 2.4;
}

.compare__us .compare__mark {
	color: var(--red);
}

.compare__table tbody tr:last-child > * {
	border-bottom: 0;
}

/* 16. ABOUT
   ========================================================================== */
.mv {
	display: grid;
	gap: var(--space-7);
	padding-top: var(--space-6);
	border-top: 2px solid var(--ink);
}

.mv__title {
	margin-bottom: var(--space-4);
	color: var(--red-text);
	font-size: var(--fs-md);
	font-weight: 800;
	font-stretch: 108%;
	letter-spacing: 0;
}

.mv__item p {
	max-width: 30ch;
	margin: 0;
	font-size: var(--fs-lg);
	font-weight: 500;
	line-height: 1.35;
}

.values {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-6);
}

.value {
	padding-top: var(--space-4);
	border-top: 2px solid var(--ink);
}

.value__title {
	margin-bottom: var(--space-3);
	font-size: var(--fs-h3);
	font-stretch: 110%;
}

.value__text {
	max-width: 34ch;
	margin: 0;
	color: var(--muted);
}

/* Milestones: the rider rides down the line as you scroll */
.timeline {
	--line: 0;
	position: relative;
	list-style: none;
	display: grid;
	gap: var(--space-7);
	padding-left: 96px;
}

.timeline::before,
.timeline::after {
	content: "";
	position: absolute;
	top: 8px;
	bottom: 8px;
	left: 30px;
	width: 4px;
	border-radius: 4px;
}

.timeline::before {
	background: repeating-linear-gradient(180deg, var(--line-strong) 0 12px, transparent 12px 22px);
}

.timeline::after {
	background: var(--red);
	transform: scaleY(var(--line));
	transform-origin: top;
}

.timeline__item {
	position: relative;
}

.timeline__item::before {
	content: "";
	position: absolute;
	top: 10px;
	left: -74px;
	width: 16px;
	height: 16px;
	background: var(--paper);
	border: 3px solid var(--ink);
	border-radius: 50%;
}

.timeline__year {
	display: block;
	margin-bottom: var(--space-2);
	font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
	font-weight: 800;
	font-stretch: 115%;
	line-height: 1;
	color: var(--red-text);
}

.timeline__text {
	max-width: 44ch;
	margin: 0;
	font-size: var(--fs-md);
}

.timeline__rider {
	position: absolute;
	top: calc(var(--line) * (100% - 40px));
	left: 6px;
	width: 52px;
	color: var(--ink);
	pointer-events: none;
}

/* Team */
.team {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-6) var(--space-5);
}

.team-card__photo {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	margin-bottom: var(--space-4);
	border-radius: var(--radius-md);
	background: var(--paper);
	filter: grayscale(1);
	transition: filter 0.4s;
}

.team-card:hover .team-card__photo {
	filter: none;
}

.team-card__name {
	margin-bottom: var(--space-1);
	font-size: var(--fs-md);
	font-stretch: 105%;
	font-weight: 700;
	letter-spacing: 0;
}

.team-card__role {
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-sm);
}

/* 17. CONTACT
   ========================================================================== */
.contact-layout {
	display: grid;
	gap: var(--space-7);
	align-items: start;
}

.contact-layout__title {
	margin-bottom: var(--space-5);
	font-size: var(--fs-h3);
	font-stretch: 108%;
}

.contact-form {
	scroll-margin-top: calc(var(--header-h) + var(--space-6));
}

.contact-form__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-5);
}

.field {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}

.field label {
	font-size: var(--fs-sm);
	font-weight: 700;
}

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

.field__opt {
	color: var(--muted);
	font-weight: 500;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 54px;
	padding: 0.8rem 1rem;
	background: var(--paper);
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius-sm);
	color: var(--ink);
	transition: border-color 0.2s, box-shadow 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.field textarea {
	min-height: 150px;
	resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
	color: #8A8384;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--ink);
	box-shadow: 0 0 0 3px rgba(35, 31, 32, 0.12);
	outline: none;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 2px;
}

.field__select {
	position: relative;
}

.field__select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1.1rem;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--ink);
	border-bottom: 2px solid var(--ink);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.field select {
	padding-right: 2.75rem;
	cursor: pointer;
}

.field__error {
	margin: 0;
	color: var(--error);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.field__error:empty {
	display: none;
}

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

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

.form-status {
	margin-bottom: var(--space-5);
	padding: var(--space-4) var(--space-5);
	border-radius: var(--radius-sm);
	font-weight: 600;
}

.form-status[hidden] {
	display: none;
}

.form-status--success {
	background: rgba(29, 127, 78, 0.1);
	color: var(--success);
}

.form-status--error {
	background: rgba(194, 27, 34, 0.08);
	color: var(--error);
}

.contact-form__footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-4);
	margin-top: var(--space-6);
}

.contact-form__note {
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-sm);
}

/* Send button: the rider carries the message away */
.btn--send .btn__bike {
	position: absolute;
	left: -70px;
	top: 50%;
	width: 54px;
	color: #FFFFFF;
	transform: translateY(-50%);
	pointer-events: none;
}

.btn--send .btn__bike .bike-svg__box,
.btn--send .btn__bike .bike-svg__body {
	fill: var(--ink);
}

.btn--send.is-sending .btn__label {
	transform: translateY(-160%);
	transition: transform 0.35s var(--ease-out);
}

.btn--send.is-sending .btn__bike {
	animation: send-ride 0.9s var(--ease-in-out) forwards;
}

@keyframes send-ride {
	from { left: -70px; }
	to { left: calc(100% + 16px); }
}

/* Office panel */
.office {
	position: relative;
	padding: var(--space-6) var(--space-5) var(--space-8);
	background: var(--oxblood);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.office__title {
	margin-bottom: var(--space-5);
	font-size: var(--fs-h3);
	font-stretch: 108%;
}

.office__list {
	display: grid;
	gap: var(--space-5);
}

.office__list dt {
	margin-bottom: var(--space-1);
	color: var(--on-dark-muted);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.office__list dd {
	font-size: var(--fs-md);
	font-weight: 600;
	line-height: 1.4;
}

.office__list a {
	color: #FFFFFF;
	text-decoration-color: rgba(255, 255, 255, 0.4);
	word-break: break-word;
}

.office__list a:hover {
	text-decoration-color: #FFFFFF;
}

.office__bike {
	position: absolute;
	right: var(--space-5);
	bottom: var(--space-4);
	width: 64px;
	color: #FFFFFF;
	opacity: 0.9;
}

/* Map */
.map {
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--concrete);
}

.map iframe {
	width: 100%;
	height: 360px;
	border: 0;
	filter: grayscale(0.35);
}

/* FAQ */
.faq-layout {
	display: grid;
	gap: var(--space-5);
	align-items: start;
}

.faq {
	border-top: 2px solid var(--ink);
}

.faq__item {
	border-bottom: 1px solid var(--line-strong);
}

.faq__heading {
	font-size: var(--fs-lg);
	font-stretch: 105%;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	width: 100%;
	padding: var(--space-5) 0;
	background: none;
	border: 0;
	color: var(--ink);
	font-size: inherit;
	font-weight: inherit;
	font-stretch: inherit;
	text-align: left;
	cursor: pointer;
}

.faq__q:hover {
	color: var(--red-text);
}

.faq__icon {
	position: relative;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border: 2px solid currentColor;
	border-radius: 50%;
	transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.faq__icon::before,
.faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 0.4s var(--ease-out);
}

.faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.faq__q[aria-expanded="true"] .faq__icon {
	background: var(--red);
	border-color: var(--red);
	color: #FFFFFF;
}

.faq__q[aria-expanded="true"] .faq__icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.faq__a {
	padding: 0 var(--space-7) var(--space-5) 0;
	color: var(--muted);
}

.faq__a p {
	max-width: 62ch;
	margin: 0;
}

.faq__a.is-animating {
	overflow: hidden;
	transition: height 0.45s var(--ease-out);
}

/* 18. FOOTER
   ========================================================================== */
.site-footer {
	padding-top: var(--space-8);
	background: var(--oxblood);
	overflow: hidden;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-7);
	padding-bottom: var(--space-7);
}

.site-footer__lead {
	max-width: 22ch;
	margin-bottom: var(--space-5);
	font-size: var(--fs-lg);
	font-weight: 700;
	font-stretch: 108%;
	line-height: 1.25;
}

.site-footer__title {
	margin-bottom: var(--space-4);
	color: var(--on-dark-muted);
	font-size: var(--fs-sm);
	font-weight: 600;
	letter-spacing: 0;
}

.footer-menu,
.site-footer .menu {
	list-style: none;
	display: grid;
	gap: var(--space-2);
}

.footer-menu a,
.site-footer .menu a,
.contact-list a {
	color: #FFFFFF;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size 0.35s var(--ease-out);
}

.footer-menu a:hover,
.site-footer .menu a:hover,
.contact-list a:hover {
	background-size: 100% 1px;
}

.contact-list {
	display: grid;
	gap: var(--space-2);
	color: var(--on-dark-muted);
}

.contact-list a {
	justify-self: start;
	word-break: break-word;
}

.site-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
	padding-block: var(--space-5);
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	color: var(--on-dark-muted);
	font-size: var(--fs-sm);
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__wordmark {
	position: relative;
	display: flex;
	align-items: flex-end;
	gap: 2vw;
	padding-inline: var(--gutter);
	margin-bottom: -0.16em;
	color: var(--red);
	font-size: clamp(4rem, 17.5vw, 19rem);
	font-weight: 900;
	font-stretch: 125%;
	line-height: 0.8;
	letter-spacing: -0.05em;
	white-space: nowrap;
	user-select: none;
}

.site-footer__wordmark-bike {
	flex-shrink: 0;
	width: 0.42em;
	margin-bottom: 0.2em;
	color: #FFFFFF;
}

.site-footer__wordmark-bike .bike-svg__box,
.site-footer__wordmark-bike .bike-svg__body {
	fill: var(--red);
}

/* 19. CUSTOM CURSOR (fine pointers only; added by main.js)
   ========================================================================== */
.cursor-dot,
.cursor-ring {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.25s;
}

.has-custom-cursor .cursor-dot.is-visible,
.has-custom-cursor .cursor-ring.is-visible {
	opacity: 1;
}

.cursor-dot {
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	background: var(--red);
	border-radius: 50%;
}

.cursor-ring {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: -19px 0 0 -19px;
	border: 1.5px solid #FFFFFF;
	border-radius: 50%;
	mix-blend-mode: difference;
	transition: opacity 0.25s, width 0.35s var(--ease-out), height 0.35s var(--ease-out), margin 0.35s var(--ease-out), background-color 0.3s, border-color 0.3s;
}

.cursor-ring.is-hover {
	width: 66px;
	height: 66px;
	margin: -33px 0 0 -33px;
}

.cursor-ring.has-label {
	width: 88px;
	height: 88px;
	margin: -44px 0 0 -44px;
	background: var(--ink);
	border-color: var(--ink);
	mix-blend-mode: normal;
}

.cursor-ring.is-down {
	width: 30px;
	height: 30px;
	margin: -15px 0 0 -15px;
}

.cursor-ring__label {
	color: #FFFFFF;
	font-size: 0.875rem;
	font-weight: 700;
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.2s, transform 0.35s var(--ease-out);
}

.cursor-ring.has-label .cursor-ring__label {
	opacity: 1;
	transform: scale(1);
}

.has-custom-cursor .cursor-dot.is-hidden-over-label {
	opacity: 0;
}

/* Hide the native cursor ONLY while the custom cursor is active */
html.has-custom-cursor,
html.has-custom-cursor * {
	cursor: none !important;
}

html.has-custom-cursor input,
html.has-custom-cursor textarea {
	cursor: text !important;
}

html.has-custom-cursor select {
	cursor: pointer !important;
}

/* 20. MOTION
   Everything here only applies with html.js-motion (set in <head> when
   reduced motion is off). Without it, all content is simply visible.
   ========================================================================== */

/* Headlines: each word rises out of its own mask */
.w {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: 0.1em;
	margin-bottom: -0.1em;
}

.w__i {
	display: inline-block;
}

.js-motion [data-split]:not([data-split="load"]) .w__i {
	transform: translateY(110%);
	transition: transform 1s var(--ease-out);
	transition-delay: calc(var(--i) * 55ms);
}

.js-motion [data-split].is-in .w__i {
	transform: none;
}

/* Page-load sequence: headline, then copy, then the scene */
.js-motion [data-split="load"] .w__i {
	animation: word-rise 1s var(--ease-out) both;
	animation-delay: calc(var(--i) * 65ms + 100ms);
}

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

.js-motion .hero__lead,
.js-motion .hero__actions,
.js-motion .hero__contact,
.js-motion .page-hero__lead {
	animation: fade-up 0.9s var(--ease-out) both;
	animation-delay: 0.55s;
}

.js-motion .hero__actions { animation-delay: 0.65s; }
.js-motion .hero__contact { animation-delay: 0.75s; }

.js-motion .hero__scene {
	animation: scene-in 1.3s var(--ease-out) both;
	animation-delay: 0.25s;
}

.js-motion .fleet-card {
	animation: fade-up 0.8s var(--ease-out) both;
	animation-delay: 1.1s;
}

@media (min-width: 1024px) {
	.js-motion .hero__scene {
		animation: scene-fade 1.2s ease both;
		animation-delay: 0s;
	}
}

@keyframes scene-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes fade-up {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

@keyframes scene-in {
	from { clip-path: inset(18% 0 0 0 round var(--radius-lg)); opacity: 0; }
	to { clip-path: inset(0 0 0 0 round var(--radius-lg)); opacity: 1; }
}

/* Statement: words fill from grey to ink as you scroll */
.js-motion [data-fill] .fw {
	color: var(--fill-off);
	transition: color 0.25s;
}

.js-motion [data-fill] .fw.is-on {
	color: var(--ink);
}

/* Inner hero route draws itself, then the rider rides along it */
.js-motion .route-line__path {
	stroke-dashoffset: 1;
}

/* 21. BREAKPOINTS
   ========================================================================== */

/* ≥ 360px */
@media (min-width: 360px) {
	:root {
		--gutter: 1.25rem;
	}

	.stats {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--space-6) var(--space-4);
	}
}

/* ≥ 768px */
@media (min-width: 768px) {
	:root {
		--gutter: 2rem;
		--section-y: var(--space-9);
	}

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

	.hero__scene {
		aspect-ratio: 16 / 10;
	}

	.fleet-card {
		left: var(--space-5);
		bottom: var(--space-5);
	}

	
	.svc-row__link {
		grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr) auto;
		grid-template-areas: "icon name desc go";
		gap: var(--space-5);
		padding: var(--space-7) var(--space-4);
	}

	.svc-row__desc {
		margin: 0;
	}

	.journey__steps {
		grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
	}

	.process__steps {
		grid-template-columns: repeat(min(var(--cols, 5), 3), minmax(0, 1fr));
		gap: var(--space-4);
	}

	.partners__logos {
		grid-template-columns: repeat(3, 1fr);
	}

	.cta__inner {
		grid-template-columns: 1.2fr 1fr;
		align-items: end;
	}

	.svc-cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.mv {
		grid-template-columns: repeat(2, 1fr);
	}

	.values,
	.team {
		grid-template-columns: repeat(2, 1fr);
	}

	.contact-form__grid {
		grid-template-columns: repeat(2, 1fr);
	}

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

	.contact-form__footer {
		flex-direction: row;
		align-items: center;
		gap: var(--space-5);
	}

	.office {
		padding: var(--space-7) var(--space-6) var(--space-9);
	}

	.map iframe {
		height: 440px;
	}

	.site-footer__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.site-footer__intro {
		grid-column: 1 / -1;
	}

	.site-footer__bottom {
		flex-direction: row;
		justify-content: space-between;
	}

	.timeline {
		padding-left: 128px;
	}

	.timeline::before,
	.timeline::after {
		left: 46px;
	}

	.timeline__item::before {
		left: -90px;
	}

	.timeline__rider {
		left: 22px;
	}
}

/* ≥ 1024px */
@media (min-width: 1024px) {
	:root {
		--header-h: 84px;
		--header-h-scrolled: 66px;
	}

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

	.site-nav {
		position: static;
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		gap: var(--space-6);
		padding: 0;
		background: none;
		overflow: visible;
		visibility: visible;
		clip-path: none;
		transition: none;
	}

	.site-nav .menu {
		flex-direction: row;
		gap: var(--space-1);
	}

	.site-nav .menu a {
		position: relative;
		padding: var(--space-2) var(--space-3);
		font-size: var(--fs-base);
		font-weight: 600;
		font-stretch: 100%;
		letter-spacing: 0;
		border-bottom: 0;
	}

	.site-nav .menu a::after {
		content: "";
		position: absolute;
		left: var(--space-3);
		right: var(--space-3);
		bottom: 2px;
		height: 2px;
		background: var(--red);
		transform: scaleX(0);
		transform-origin: right;
		transition: transform 0.4s var(--ease-out);
	}

	.site-nav .menu a:hover::after,
	.site-nav .menu .current-menu-item > a::after,
	.site-nav .menu a[aria-current="page"]::after {
		transform: scaleX(1);
		transform-origin: left;
	}

	.site-nav .menu a:hover,
	.site-nav .menu .current-menu-item > a,
	.site-nav .menu a[aria-current="page"] {
		color: var(--ink);
	}

	.site-nav__actions {
		flex-direction: row;
		align-items: center;
		gap: var(--space-5);
	}

	.site-nav__phone {
		font-size: var(--fs-sm);
	}

	/* Hero: copy left, scene panel right */
	.hero {
		display: flex;
		align-items: center;
		min-height: min(100svh, 980px);
		padding-bottom: var(--space-8);
		overflow: hidden;
	}

	.hero__layout {
		position: relative;
		z-index: 1;
	}

	/* Text column width and the gap before the 3D scene can be changed per
	   page in Elementor (Miracle Hero → Style → Layout). The scene always
	   starts after the text column, at any screen width. */
	.hero {
		--hero-copy-pct: 0.46;
		--hero-gap: 3rem;
	}

	.hero__copy {
		width: calc(var(--hero-copy-pct) * 100%);
		max-width: none;
	}

	/* Cinematic: the scene fills the whole hero. The vehicles are framed in
	   the space to the right of the text (hero-3d.js measures the text column),
	   and a soft scrim keeps the headline readable. */
	.hero__scene {
		position: absolute;
		inset: 0;
		margin: 0;
		aspect-ratio: auto;
		border-radius: 0;
		background-position: 70% 60%;
	}

	.hero__scene::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 1;
		pointer-events: none;
		background:
			linear-gradient(180deg, var(--hero-scrim) 0, transparent calc(var(--header-h) + 3rem)),
			linear-gradient(90deg,
				var(--hero-scrim) 0,
				var(--hero-scrim) calc(var(--hero-copy-pct) * 62%),
				var(--hero-scrim-soft) calc(var(--hero-copy-pct) * 100% + var(--hero-gap) * 0.25),
				transparent calc(var(--hero-copy-pct) * 100% + var(--hero-gap) + 10%));
	}

	.fleet-card {
		left: calc(max(0px, (100% - var(--container)) / 2) + var(--gutter));
		right: auto;
		bottom: var(--space-6);
		flex-direction: row;
		align-items: center;
		gap: var(--space-4);
		padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4);
		border-radius: 999px;
	}

	
	.stats {
		grid-template-columns: repeat(4, 1fr);
	}

	.partners__inner {
		grid-template-columns: 1fr 3fr;
		gap: var(--space-7);
	}

	.partners__logos {
		grid-template-columns: repeat(6, 1fr);
	}

	.svc-cards {
		grid-template-columns: repeat(3, 1fr);
	}

	.values {
		grid-template-columns: repeat(3, 1fr);
	}

	.team {
		grid-template-columns: repeat(4, 1fr);
	}

	.contact-layout {
		grid-template-columns: 1.55fr 1fr;
		gap: var(--space-8);
	}

	.office {
		position: sticky;
		top: calc(var(--header-h-scrolled) + var(--space-5));
	}

	.faq-layout {
		grid-template-columns: 1fr 1.7fr;
		gap: var(--space-8);
	}

	.faq-layout .section-head {
		position: sticky;
		top: calc(var(--header-h-scrolled) + var(--space-6));
		margin-bottom: 0;
	}

	.site-footer__grid {
		grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
	}

	.site-footer__intro {
		grid-column: auto;
	}
}

/* ≥ 1440px */
@media (min-width: 1440px) {
	:root {
		--container: 1360px;
		--gutter: 2.5rem;
	}
}

/* 22. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		animation-delay: 0ms !important;
		transition-duration: 0.001ms !important;
		transition-delay: 0ms !important;
	}

	.svc-card__inner {
		transform: none !important;
	}

	.cursor-dot,
	.cursor-ring {
		display: none !important;
	}

	
	
}

/* Touch / coarse pointers never get the custom cursor */
@media (pointer: coarse), (hover: none) {
	.cursor-dot,
	.cursor-ring {
		display: none !important;
	}
}


/* 23. COLOUR-MODE TOGGLE (light / dark)
   ========================================================================== */
.theme-toggle {
	position: relative;
	z-index: 2;
	order: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 0;
	background: transparent;
	border: 1.5px solid var(--line-strong);
	border-radius: 50%;
	color: var(--ink);
	cursor: pointer;
	transition: border-color 0.3s, background-color 0.3s;
}

.theme-toggle:hover {
	border-color: var(--ink);
}

.theme-toggle .icon {
	position: absolute;
	width: 20px;
	height: 20px;
	transition: transform 0.5s var(--ease-out), opacity 0.3s;
}

.theme-toggle__moon {
	opacity: 0;
	transform: rotate(-90deg) scale(0.5);
}

:root[data-color-mode="dark"] .theme-toggle__sun {
	opacity: 0;
	transform: rotate(90deg) scale(0.5);
}

:root[data-color-mode="dark"] .theme-toggle__moon {
	opacity: 1;
	transform: none;
}

.site-brand { order: 0; }

.nav-toggle {
	order: 2;
	margin-left: var(--space-2);
}

@media (min-width: 1024px) {
	.site-nav {
		order: 1;
		margin-left: auto;
	}

	.theme-toggle {
		order: 2;
		margin-left: var(--space-4);
	}
}

/* Mode switch: the new colours spread out from the toggle (see main.js) */
::view-transition-old(root),
::view-transition-new(root) {
	animation: none;
	mix-blend-mode: normal;
}

/* Partner logos stay readable on the dark background */
:root[data-color-mode="dark"] .partners__logos img {
	filter: grayscale(1) invert(0.85);
}

:root[data-color-mode="dark"] .partners__logos img:hover {
	filter: invert(0.85);
}

@media (min-width: 1024px) {
	.process__steps {
		grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr));
	}
}

.contact-layout--single {
	grid-template-columns: minmax(0, 1fr) !important;
	max-width: 900px;
}

/* 24. ELEMENTOR
   Containers that hold Miracle widgets go full width with no padding or gap,
   so the widgets look exactly like the coded pages. Anything you set on the
   container in Elementor still wins.
   ========================================================================== */
.e-con:has(> .elementor-widget[class*="elementor-widget-mds-"]),
.e-con:has(> .e-con-inner > .elementor-widget[class*="elementor-widget-mds-"]) {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--container-max-width: 100%;
	--content-width: 100%;
	--width: 100%;
}

.elementor-widget[class*="elementor-widget-mds-"] {
	width: 100%;
	max-width: 100%;
}

/* Inside the Elementor editor everything is shown at rest (no scroll animations) */
.elementor-editor-active .journey.is-pinned {
	height: auto;
}

/* 25. LOGO
   ========================================================================== */
.brand__logo {
	display: block;
	width: auto;
	height: 46px;
	transition: height 0.35s var(--ease-out);
}

.is-scrolled .brand__logo {
	height: 38px;
}

.brand__logo--dark {
	display: none;
}

:root[data-color-mode="dark"] .brand__logo--light {
	display: none;
}

:root[data-color-mode="dark"] .brand__logo--dark {
	display: block;
}

.site-footer__logo {
	display: block;
	width: auto;
	height: 84px;
	margin-bottom: var(--space-5);
}

@media (max-width: 767px) {
	.brand__logo {
		height: 40px;
	}

	.is-scrolled .brand__logo {
		height: 34px;
	}
}

/* 26. COMPANY PROFILE SECTIONS: partner names, leadership, credentials
   ========================================================================== */
.partners__names {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
}

.partner-name {
	display: grid;
	gap: var(--space-2);
	padding: var(--space-5);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	background: var(--card);
	transition: border-color 0.3s, transform 0.4s var(--ease-out);
}

.partner-name:hover {
	border-color: var(--red);
	transform: translateY(-3px);
}

.partner-name__name {
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
	font-weight: 800;
	font-stretch: 112%;
	line-height: 1;
	letter-spacing: -0.01em;
}

.partner-name__note {
	color: var(--muted);
	font-size: var(--fs-sm);
}

.leader {
	display: grid;
	gap: var(--space-6);
	align-items: center;
}

.leader__photo {
	display: block;
	width: 100%;
	max-width: 420px;
	aspect-ratio: 5 / 6;
	object-fit: cover;
	border-radius: var(--radius-md);
}

.leader__photo--empty {
	display: grid;
	place-items: center;
	background: var(--concrete);
	border: 1px solid var(--line);
}

.leader__photo--empty img {
	width: 46%;
	height: auto;
	opacity: 0.9;
}

.leader__name {
	margin: var(--space-5) 0 var(--space-1);
	font-size: var(--fs-h3);
	font-weight: 800;
	font-stretch: 108%;
}

.leader__role {
	margin: 0 0 var(--space-4);
	color: var(--red-text);
	font-weight: 700;
	font-size: var(--fs-sm);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.leader__bio {
	max-width: 58ch;
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-md);
}

.credentials {
	display: grid;
	grid-template-columns: 1fr;
	margin: 0;
	border-top: 2px solid var(--ink);
}

.credentials__row {
	display: grid;
	gap: var(--space-1);
	padding-block: var(--space-4);
	border-bottom: 1px solid var(--line);
}

.credentials dt {
	color: var(--muted);
	font-size: var(--fs-sm);
}

.credentials dd {
	margin: 0;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1) var(--space-4);
}

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

	.credentials {
		grid-template-columns: repeat(2, 1fr);
		column-gap: var(--space-7);
	}

	.credentials__row {
		grid-template-columns: 2fr 3fr;
		gap: var(--space-4);
		align-items: baseline;
	}
}

@media (min-width: 1024px) {
	.leader {
		grid-template-columns: 5fr 7fr;
		gap: var(--space-8);
	}
}

/* Pinned "How it works" is optional (off by default). When it is on, keep the
   scroll distance short so the section never leaves a long empty stretch. */
.journey.is-pinned {
	height: 170vh;
}

/* ==========================================================================
   CAREERS, JOB PAGES, APPLICATION FORM, PRIVACY POLICY (v2.8)
   ========================================================================== */

/* Four "why work with us" cards sit in one row on desktop */
@media (min-width: 1024px) {
	.values:has(> .value:nth-child(4):last-child) {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Shared rich text (job descriptions, written policies) */
.entry > * + * {
	margin-top: var(--space-4);
}

.entry h2 {
	margin-top: var(--space-7);
	font-size: var(--fs-h3);
	font-stretch: 108%;
}

.entry h3 {
	margin-top: var(--space-6);
	font-size: var(--fs-lg);
}

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

.entry ul,
.entry ol {
	margin-bottom: var(--space-4);
	padding-left: 1.3em;
}

.entry li + li {
	margin-top: var(--space-2);
}

.entry li::marker {
	color: var(--red);
}

.entry a {
	color: var(--red-text);
	font-weight: 600;
}

/* Open positions */
.jobs__filter {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-bottom: var(--space-6);
}

.jobs__chip {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	min-height: 44px;
	padding: 0.5rem 1rem;
	background: transparent;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius-pill);
	font-size: var(--fs-sm);
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.jobs__chip span {
	color: var(--muted);
	font-weight: 600;
}

.jobs__chip:hover {
	border-color: var(--ink);
}

.jobs__chip.is-active {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.jobs__chip.is-active span {
	color: inherit;
	opacity: 0.7;
}

.jobs__list {
	list-style: none;
	border-top: 2px solid var(--ink);
}

.job-row {
	border-bottom: 1px solid var(--line-strong);
}

.job-row[hidden] {
	display: none;
}

.job-row__link {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: var(--space-3) var(--space-5);
	padding: var(--space-5) 0;
	text-decoration: none;
}

.job-row__main {
	display: grid;
	gap: var(--space-1);
	min-width: 0;
}

.job-row__dept {
	color: var(--red-text);
	font-size: var(--fs-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.job-row__title {
	font-size: var(--fs-h3);
	font-weight: 800;
	font-stretch: 108%;
	line-height: 1.1;
	letter-spacing: -0.015em;
	transition: color 0.2s;
}

.job-row__summary {
	max-width: 62ch;
	margin-top: var(--space-1);
	color: var(--muted);
}

.job-row__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-4);
	grid-column: 1 / -1;
}

.job-row__go {
	grid-column: 2;
	grid-row: 1;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1.5px solid var(--line-strong);
	border-radius: 50%;
	transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.35s var(--ease-out);
}

.job-row__link:hover .job-row__title,
.job-row__link:focus-visible .job-row__title {
	color: var(--red-text);
}

.job-row__link:hover .job-row__go,
.job-row__link:focus-visible .job-row__go {
	background: var(--red);
	border-color: var(--red);
	color: #FFFFFF;
	transform: rotate(45deg);
}

.job-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	color: var(--muted);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.job-tag .icon {
	width: 1.1em;
	height: 1.1em;
	color: var(--red);
}

.jobs__none {
	padding: var(--space-5) 0;
	color: var(--muted);
}

.jobs__empty {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	padding: var(--space-6);
	background: var(--concrete);
	border-radius: var(--radius-md);
}

.jobs__empty p {
	max-width: 56ch;
	color: var(--muted);
}

.jobs__empty-title {
	margin-bottom: var(--space-3);
	font-size: var(--fs-h3);
}

.jobs__empty-icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	background: var(--paper);
	border-radius: 50%;
	color: var(--red);
}

.jobs__empty-icon .icon {
	width: 30px;
	height: 30px;
}

/* Single job */
.job-hero__dept {
	margin-bottom: var(--space-3);
	color: var(--red-text);
	font-size: var(--fs-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.job-hero__title {
	max-width: 20ch;
}

.job-hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-5);
	margin-bottom: var(--space-6);
}

.job-hero__tags .job-tag {
	font-size: var(--fs-base);
	color: var(--ink);
}

.job-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

.job-hero__closed {
	max-width: 60ch;
}

.job-hero__closed a {
	margin-left: 0.3em;
	color: inherit;
}

.job-detail__layout {
	display: grid;
	gap: var(--space-7);
	align-items: start;
}

.job-detail__body {
	min-width: 0;
	max-width: 72ch;
}

.job-detail__heading {
	margin: var(--space-7) 0 var(--space-4);
	font-size: var(--fs-h3);
	font-stretch: 108%;
}

.job-detail__list {
	list-style: none;
	display: grid;
	gap: var(--space-3);
}

.job-detail__list li {
	display: flex;
	gap: var(--space-3);
	align-items: flex-start;
}

.job-detail__list .icon {
	margin-top: 0.2em;
	color: var(--red);
	stroke-width: 2.4;
}

.job-card {
	padding: var(--space-6);
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: 0 24px 50px -36px var(--shadow);
}

.job-card__title {
	margin-bottom: var(--space-4);
	font-size: var(--fs-lg);
}

.job-card__facts {
	display: grid;
	margin-bottom: var(--space-5);
}

.job-card__facts > div {
	display: grid;
	grid-template-columns: 8.5em minmax(0, 1fr);
	gap: var(--space-3);
	padding: var(--space-3) 0;
	border-top: 1px solid var(--line);
	font-size: var(--fs-sm);
}

.job-card__facts dt {
	color: var(--muted);
	font-weight: 600;
}

.job-card__facts dd {
	font-weight: 700;
	overflow-wrap: anywhere;
}

.job-card__btn {
	width: 100%;
}

.job-card__all {
	display: block;
	margin-top: var(--space-4);
	color: var(--muted);
	font-size: var(--fs-sm);
	font-weight: 600;
	text-align: center;
}

/* Apply section */
.apply__layout {
	display: grid;
	gap: var(--space-7);
	align-items: start;
}

.apply__intro .section-title {
	margin-bottom: var(--space-5);
}

.apply__intro .section-lead {
	margin-bottom: var(--space-6);
}

.apply__aside-title {
	margin-bottom: var(--space-3);
	font-size: var(--fs-base);
	font-weight: 800;
}

.apply__next {
	margin-bottom: var(--space-6);
}

.apply__next ol {
	list-style: none;
	counter-reset: next;
	display: grid;
	gap: var(--space-3);
}

.apply__next li {
	position: relative;
	padding-left: 2.4em;
	color: var(--muted);
	counter-increment: next;
}

.apply__next li::before {
	content: counter(next);
	position: absolute;
	left: 0;
	top: -0.1em;
	display: grid;
	place-items: center;
	width: 1.75em;
	height: 1.75em;
	background: var(--ink);
	border-radius: 50%;
	color: var(--paper);
	font-size: var(--fs-sm);
	font-weight: 800;
}

.apply__scam {
	display: flex;
	gap: var(--space-3);
	padding: var(--space-4) var(--space-5);
	background: var(--paper);
	border-left: 4px solid var(--red);
	border-radius: var(--radius-sm);
}

.apply__scam .icon {
	margin-top: 0.1em;
	color: var(--red);
}

.apply__scam p {
	margin: 0;
	color: var(--muted);
	font-size: var(--fs-sm);
}

.apply__card {
	min-width: 0;
	padding: var(--space-5);
	background: var(--card);
	border-radius: var(--radius-md);
	box-shadow: 0 30px 60px -40px var(--shadow);
}

.apply-form {
	scroll-margin-top: calc(var(--header-h) + var(--space-6));
}

.apply-form__group {
	min-width: 0;
	margin: 0 0 var(--space-6);
	padding: 0 0 var(--space-6);
	border: 0;
	border-bottom: 1px solid var(--line);
}

.apply-form__legend {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	margin-bottom: var(--space-5);
	padding: 0;
	font-size: var(--fs-lg);
	font-weight: 800;
	font-stretch: 106%;
	letter-spacing: -0.01em;
}

.apply-form__step {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	flex-shrink: 0;
	background: var(--red);
	border-radius: 50%;
	color: #FFFFFF;
	font-size: var(--fs-sm);
}

.apply-form__group--consent {
	display: grid;
	gap: var(--space-4);
}

.field__label {
	font-size: var(--fs-sm);
	font-weight: 700;
}

.field__help {
	margin: -0.15rem 0 0;
	color: var(--muted);
	font-size: var(--fs-sm);
}

.field__count {
	margin: 0;
	color: var(--muted);
	font-size: 0.8125rem;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.field__count.is-near {
	color: var(--red-text);
}

/* CV drop zone */
.dropzone {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-4);
	padding: var(--space-5);
	background: var(--paper);
	border: 2px dashed var(--line-strong);
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}

.dropzone:hover,
.dropzone.is-over {
	border-color: var(--red);
	background: color-mix(in srgb, var(--red) 5%, var(--paper));
}

.dropzone:focus-within {
	outline: 3px solid var(--ink);
	outline-offset: 2px;
}

.dropzone.has-file {
	border-style: solid;
	border-color: var(--success);
}

.field.has-error .dropzone {
	border-color: var(--error);
}

.dropzone__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
}

.dropzone__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	background: var(--concrete);
	border-radius: 50%;
	color: var(--red);
}

.dropzone.has-file .dropzone__icon {
	color: var(--success);
}

.dropzone__icon .icon {
	width: 24px;
	height: 24px;
}

.dropzone__text {
	display: grid;
	gap: 2px;
	flex: 1 1 12rem;
	min-width: 0;
}

.dropzone__title {
	font-weight: 800;
	overflow-wrap: anywhere;
}

.dropzone__hint {
	color: var(--muted);
	font-size: var(--fs-sm);
}

.dropzone__btn {
	padding: 0.55rem 1.1rem;
	border: 1.5px solid var(--ink);
	border-radius: var(--radius-pill);
	font-size: var(--fs-sm);
	font-weight: 700;
	white-space: nowrap;
}

/* Checkboxes */
.check {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0 var(--space-3);
	align-items: start;
}

.check input {
	width: 24px;
	height: 24px;
	margin: 0.1em 0 0;
	accent-color: var(--red);
	cursor: pointer;
}

.check label {
	font-size: var(--fs-base);
	line-height: 1.45;
	cursor: pointer;
}

.check label a {
	color: var(--red-text);
	font-weight: 700;
}

.check .field__error {
	grid-column: 2;
	margin-top: var(--space-1);
}

.check.has-error input {
	outline: 2px solid var(--error);
	outline-offset: 2px;
}

.btn.is-busy {
	opacity: 0.75;
	cursor: progress;
}

.contact-form__note a {
	color: inherit;
	font-weight: 700;
}

/* Privacy policy */
.legal {
	display: grid;
	gap: var(--space-7);
	align-items: start;
}

.legal__toc {
	padding: var(--space-5);
	background: var(--concrete);
	border-radius: var(--radius-md);
}

.legal__toc-title {
	margin-bottom: var(--space-3);
	font-size: var(--fs-base);
}

.legal__toc ol {
	list-style: none;
	counter-reset: toc;
	display: grid;
	gap: var(--space-1);
}

.legal__toc li {
	counter-increment: toc;
}

.legal__toc a {
	display: flex;
	gap: var(--space-2);
	padding: 0.3rem 0;
	color: var(--muted);
	font-size: var(--fs-sm);
	font-weight: 600;
	text-decoration: none;
}

.legal__toc a::before {
	content: counter(toc, decimal-leading-zero);
	color: var(--red-text);
	font-variant-numeric: tabular-nums;
}

.legal__toc a:hover {
	color: var(--ink);
	text-decoration: underline;
}

.legal__body {
	max-width: 72ch;
}

.legal__section {
	scroll-margin-top: calc(var(--header-h) + var(--space-5));
	padding-bottom: var(--space-6);
}

.legal__section + .legal__section {
	padding-top: var(--space-6);
	border-top: 1px solid var(--line);
}

.legal__body h2 {
	display: flex;
	align-items: baseline;
	gap: var(--space-3);
	margin: 0 0 var(--space-4);
	font-size: var(--fs-h3);
}

.legal__num {
	color: var(--red-text);
	font-size: var(--fs-sm);
	font-variant-numeric: tabular-nums;
}

.legal__body p,
.legal__body li {
	color: var(--muted);
}

.legal__body strong {
	color: var(--ink);
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1) var(--space-4);
}

.site-footer__links a {
	color: inherit;
}

.site-footer__bottom {
	flex-wrap: wrap;
}

@media (min-width: 768px) {
	.job-row__link {
		grid-template-columns: 1fr auto auto;
		align-items: center;
		padding: var(--space-6) 0;
	}

	.job-row__meta {
		grid-column: auto;
		max-width: 26rem;
		justify-content: flex-end;
	}

	.job-row__go {
		grid-column: 3;
	}

	.jobs__empty {
		flex-direction: row;
		align-items: flex-start;
		padding: var(--space-7);
	}

	.apply__card {
		padding: var(--space-7);
	}
}

@media (min-width: 1024px) {
	.job-detail__layout {
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: var(--space-8);
	}

	.job-card {
		position: sticky;
		top: calc(var(--header-h-scrolled) + var(--space-5));
	}

	.apply__layout {
		grid-template-columns: 4fr 7fr;
		gap: var(--space-8);
	}

	.apply__intro {
		position: sticky;
		top: calc(var(--header-h-scrolled) + var(--space-6));
	}

	.legal {
		grid-template-columns: 260px minmax(0, 1fr);
		gap: var(--space-8);
	}

	.legal__toc {
		position: sticky;
		top: calc(var(--header-h-scrolled) + var(--space-5));
	}
}

@media (prefers-reduced-motion: reduce) {
	.job-row__go {
		transition: none;
	}
}

.contact-form__footer .btn {
	flex-shrink: 0;
}

/* Partner names as a tiled grid (v2.8.1): 2 columns on phones, 3 on tablets, 6 on desktop */
.partners__names {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--line-strong);
	border-left: 1px solid var(--line-strong);
}

.partner-name {
	place-items: center;
	align-content: center;
	gap: var(--space-2);
	min-height: 92px;
	padding: var(--space-4) var(--space-3);
	border: 0;
	border-right: 1px solid var(--line-strong);
	border-bottom: 1px solid var(--line-strong);
	border-radius: 0;
	background: transparent;
	text-align: center;
	transition: background-color 0.3s;
}

.partner-name:hover {
	background: var(--card);
	transform: none;
}

.partner-name__name {
	font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
	font-stretch: 108%;
	overflow-wrap: anywhere;
	transition: color 0.3s;
}

.partner-name:hover .partner-name__name {
	color: var(--red-text);
}

.partner-name__note {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.partners__names {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.partners__inner:has(.partners__names) {
		grid-template-columns: 1fr;
		gap: var(--space-6);
	}

	.partners__inner:has(.partners__names) .partners__title {
		max-width: none;
	}

	.partners__names {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.partner-name {
		min-height: 128px;
	}
}
