/* Tokens */
:root {
	--bg: #ffffff;
	--surface: #ffffff;
	--surface-2: #f5f5f5;
	--line: rgba(0, 0, 0, 0.1);
	--text: #000000;
	--muted: #666666;
	--accent: #cf1f2d;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);

	--s-25: 2px;
	--s-50: 4px;
	--s-75: 8px;
	--s-100: 12px;
	--s-200: 16px;
	--s-300: 24px;
	--s-400: 32px;
	--s-500: 40px;
	--s-600: 48px;
	--s-700: 64px;
	--s-800: 80px;
	--s-900: 96px;

	--r-lg: 8px;
	--r-xl: 12px;
	--r-2xl: 16px;
	--r-3xl: 24px;
}

/* Base */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--s-800); }
body {
	background: var(--bg);
	color: var(--text);
	font-family: "Geist", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-wrap: pretty;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--text); outline-offset: var(--s-50); border-radius: var(--r-lg); }
.icon { width: 1em; height: 1em; flex: none; }
.muted { color: var(--muted); }
.container { width: min(1200px, 100% - 2 * var(--s-200)); margin-inline: auto; }

/* Text styles */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-5 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }

@media (max-width: 1023px) {
	.heading-1 { font-size: 48px; line-height: 48px; }
	.heading-2 { font-size: 36px; line-height: 40px; }
	.heading-3 { font-size: 30px; line-height: 36px; }
}
@media (max-width: 639px) {
	.heading-1 { font-size: 36px; line-height: 40px; }
	.heading-2 { font-size: 30px; line-height: 36px; }
	.heading-3 { font-size: 24px; line-height: 32px; }
}

/* Buttons */
.button {
	display: inline-flex;
	align-items: center;
	gap: var(--s-75);
	padding: var(--s-75) var(--s-100);
	background: var(--text);
	color: var(--bg);
	border-radius: var(--r-lg);
	text-decoration: none;
	transition: transform 300ms var(--ease), opacity 300ms var(--ease);
}
.button:hover { transform: translateY(-2px); opacity: 0.9; }
.button:active { transform: scale(0.98); }
.button-quiet { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.skip-link {
	position: fixed;
	top: var(--s-200);
	left: var(--s-200);
	z-index: 100;
	padding: var(--s-75) var(--s-100);
	background: var(--text);
	color: var(--bg);
	border-radius: var(--r-lg);
	transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* Navigation */
.nav {
	position: fixed;
	top: var(--s-200);
	left: 0;
	right: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	gap: var(--s-300);
	width: fit-content;
	margin-inline: auto;
	padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200);
}
/* Surface lives on a pseudo element so the fixed mobile panel is not trapped by backdrop-filter */
.nav::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: var(--shadow);
	border-radius: var(--r-2xl);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}
.nav-brand { display: flex; }
.nav-brand img { display: block; height: 40px; width: auto; }
.footer-logo { display: block; height: 72px; width: auto; }
.nav-links { display: flex; gap: var(--s-50); }
.nav-link {
	padding: var(--s-75) var(--s-100);
	border-radius: var(--r-lg);
	color: var(--muted);
	text-decoration: none;
	transition: color 300ms var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); }
.nav-toggle {
	display: none;
	position: relative;
	z-index: 2;
	width: var(--s-500);
	height: var(--s-500);
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--text);
	cursor: pointer;
}
.nav-toggle span {
	position: absolute;
	left: var(--s-100);
	right: var(--s-100);
	height: 2px;
	background: currentColor;
	border-radius: var(--s-25);
	transition: transform 500ms var(--ease);
}
.nav-toggle span:first-child { top: calc(50% - var(--s-50)); }
.nav-toggle span:last-child { top: calc(50% + var(--s-50) - 2px); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(var(--s-50)) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(calc(-1 * var(--s-50))) rotate(-45deg); }

@media (max-width: 767px) {
	.nav { justify-content: space-between; width: calc(100% - 2 * var(--s-200)); }
	.nav::before { z-index: 0; }
	.nav-brand { position: relative; z-index: 2; }
	.nav-toggle { display: block; }
	.nav-links {
		position: fixed;
		inset: 0;
		flex-direction: column;
		justify-content: center;
		gap: var(--s-200);
		padding: var(--s-200);
		background: rgba(255, 255, 255, 0.96);
		-webkit-backdrop-filter: blur(32px);
		backdrop-filter: blur(32px);
		opacity: 0;
		visibility: hidden;
		transition: opacity 500ms var(--ease), visibility 500ms;
	}
	.nav-links.open { opacity: 1; visibility: visible; }
	.nav-link {
		font-size: 30px;
		line-height: 36px;
		font-weight: 600;
		color: var(--text);
		opacity: 0;
		transform: translateY(var(--s-300));
		transition: opacity 500ms var(--ease), transform 500ms var(--ease);
	}
	.nav-links.open .nav-link { opacity: 1; transform: none; transition-delay: calc(var(--i) * 60ms); }
}

/* Hero */
.hero { padding-top: var(--s-900); }
.hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--s-300);
	padding-top: var(--s-700);
	padding-bottom: var(--s-600);
	text-align: center;
}
.eyebrow { color: var(--accent); }
.hero-title, .hero-sub { max-width: 680px; }
.hero-title {
	background: linear-gradient(to right, #000000, #666666);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero-sub { color: var(--muted); }
.hero-proof { max-width: 680px; }
.frame {
	padding: var(--s-75);
	background: var(--surface);
	box-shadow: var(--shadow);
	border-radius: var(--r-3xl);
}
.frame img { width: 100%; border-radius: var(--r-2xl); object-fit: cover; }
.frame figcaption { padding: var(--s-100) var(--s-75) var(--s-50); }
.hero-frame { padding: 0; background: none; border: 0; }
.hero-frame img { aspect-ratio: 16 / 9; object-position: center 20%; border-radius: var(--r-3xl); }

/* Home hero: full bleed photo under a flat overlay */
.hero-photo {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: min(760px, 100svh);
	padding-bottom: var(--s-800);
	color: #ffffff;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.55); }
.hero-photo .hero-inner { padding-bottom: 0; }
.hero-photo .eyebrow { padding: var(--s-25) var(--s-100); background: var(--accent); color: #ffffff; border-radius: var(--r-lg); }
.hero-photo .hero-title { background: none; color: #ffffff; -webkit-background-clip: border-box; background-clip: border-box; }
.hero-photo .hero-sub { color: rgba(255, 255, 255, 0.85); }
.hero-photo .button { background: #ffffff; color: #000000; }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: var(--s-500); }
.figure { display: flex; flex-direction: column; gap: var(--s-50); padding-inline: var(--s-300); }
.figure:first-child { padding-left: 0; }
.figure + .figure { border-left: 1px solid var(--line); }
.figure .heading-3 { color: var(--accent); }
@media (max-width: 767px) {
	.figures { grid-template-columns: 1fr; gap: var(--s-300); }
	.figure { padding-inline: 0; }
	.figure + .figure { border-left: 0; }
}

/* Sections */
.section { padding-block: var(--s-700); }
.section-head { display: flex; flex-direction: column; gap: var(--s-200); max-width: 680px; margin-bottom: var(--s-600); }
@media (max-width: 767px) { .section { padding-block: var(--s-600); } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-200); }
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--s-100);
	height: 100%;
	padding: var(--s-300);
	background: var(--surface);
	box-shadow: var(--shadow);
	border-radius: var(--r-2xl);
	text-decoration: none;
	transition: transform 500ms var(--ease);
}
.card:hover { transform: translateY(calc(-1 * var(--s-50))); }
.card:active { transform: scale(0.98); }
.card-arrow {
	align-self: flex-end;
	margin-top: auto;
	padding-top: var(--s-100);
	font-size: 20px;
	transition: transform 500ms var(--ease);
}
.card:hover .card-arrow { transform: translate(var(--s-50), calc(-1 * var(--s-50))); }
.card-media { position: relative; overflow: hidden; border-radius: var(--r-xl); background: #f6f1ea; }
.card-media .card-photo { border-radius: 0; transition: transform 500ms var(--ease); }
.card:hover .card-media .card-photo, .tile:hover .card-media .card-photo { transform: scale(1.04); }
.card-year { position: absolute; top: var(--s-100); left: var(--s-100); padding: var(--s-25) var(--s-100); background: #ffffff; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.card-specs { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-top: auto; padding-top: var(--s-100); }
.chip { padding: var(--s-25) var(--s-100); background: #f6f1ea; border-radius: var(--r-lg); color: var(--muted); }
.card-cta { display: inline-flex; align-items: center; gap: var(--s-75); color: var(--accent); transition: transform 500ms var(--ease); }
.card:hover .card-cta { transform: translateX(var(--s-50)); }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more { margin-top: var(--s-400); display: flex; justify-content: center; }
@media (max-width: 1023px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .cards { grid-template-columns: 1fr; } }

/* Features, steps, visit */
.features, .visit { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-200); }
.visit { grid-template-columns: repeat(3, 1fr); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-200); }
.feature, .visit-item, .step {
	display: flex;
	flex-direction: column;
	gap: var(--s-100);
	padding: var(--s-300);
	background: var(--surface);
	box-shadow: var(--shadow);
	border-radius: var(--r-2xl);
}
.feature-icon {
	display: grid;
	place-items: center;
	width: var(--s-600);
	height: var(--s-600);
	margin-bottom: var(--s-75);
	background: var(--accent);
	color: #ffffff;
	border-radius: var(--r-xl);
	font-size: 24px;
}
.step-no { color: var(--accent); }
.lines { display: flex; flex-direction: column; gap: var(--s-50); font-style: normal; }
.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-200); padding-block: var(--s-100); border-bottom: 1px solid var(--line); }
.row:first-child { padding-top: 0; }
.row:last-child { padding-bottom: 0; border-bottom: 0; }
.row dt { color: var(--muted); }
.row .closed { color: var(--accent); }
.visit-link { display: inline-flex; align-items: center; gap: var(--s-50); width: fit-content; margin-top: auto; padding-top: var(--s-100); color: var(--accent); text-decoration: none; }
.visit-link:hover { text-decoration: underline; }
@media (max-width: 1023px) {
	.features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	.features, .steps, .visit { grid-template-columns: 1fr; }
}

/* Tagline reveal */
.tagline-section { background: var(--accent); color: #ffffff; }
.tagline { max-width: 680px; }
.tagline .word { color: rgba(255, 255, 255, 0.35); transition: color 500ms var(--ease); }
.tagline .word.on { color: #ffffff; }

/* Story and gallery */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-700); align-items: center; }
.story-text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-200); }
.story .frame img { aspect-ratio: 4 / 3; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-200); }
.gallery .frame img { aspect-ratio: 3 / 4; }
@media (max-width: 1023px) { .story { grid-template-columns: 1fr; gap: var(--s-500); } }
@media (max-width: 767px) { .gallery { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-700); align-items: start; }
.faq-wrap .section-head { position: sticky; top: var(--s-800); margin-bottom: 0; }
.faq { display: flex; flex-direction: column; gap: var(--s-75); }
.faq details {
	background: var(--surface);
	box-shadow: var(--shadow);
	border-radius: var(--r-2xl);
}
.faq summary {
	display: flex;
	justify-content: space-between;
	gap: var(--s-200);
	padding: var(--s-200) var(--s-300);
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 var(--s-300) var(--s-300); }
@media (max-width: 1023px) { .faq-wrap { grid-template-columns: 1fr; gap: var(--s-500); } }

/* Final CTA */
.final-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--s-200);
	padding: var(--s-700) var(--s-300);
	background: var(--accent);
	color: #ffffff;
	border-radius: var(--r-3xl);
	text-align: center;
}
.final-inner .muted { color: rgba(255, 255, 255, 0.85); }
.final-inner .button { background: #ffffff; color: #000000; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: var(--s-500); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-75); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--s-200); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s-100) var(--s-300); color: var(--muted); }
.footer-links a { white-space: nowrap; }

/* Inner pages */
.article { display: flex; flex-direction: column; gap: var(--s-200); padding-top: var(--s-900); padding-bottom: var(--s-900); }
.article > * { max-width: 760px; }
.back { display: inline-flex; align-items: center; gap: var(--s-75); width: fit-content; color: var(--muted); text-decoration: none; }
.back .icon { transform: rotate(180deg); }
.back:hover { color: var(--text); }
.prose { display: flex; flex-direction: column; gap: var(--s-200); }
.prose h2 { margin-top: var(--s-200); }
/* Photos: studio cut outs sit on white, floor shots fill the frame */
.card-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); }
.card-photo.cutout { object-fit: contain; background: transparent; mix-blend-mode: multiply; }
.card-photo-empty { display: grid; place-items: center; background: var(--surface-2); color: var(--muted); font-size: 32px; border-radius: var(--r-xl); }
.photo {
	max-width: 880px;
	margin: 0 auto var(--s-200);
	padding: var(--s-75);
	background: var(--surface);
	box-shadow: var(--shadow);
	border-radius: var(--r-3xl);
}
.photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-2xl); }
.photo-cutout img { object-fit: contain; background: #ffffff; }

/* Vehicle pages */
.hero-inner .back { align-self: flex-start; }
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-200); }
.stat {
	flex: 1 1 160px;
	max-width: 240px;
	display: flex;
	flex-direction: column;
	gap: var(--s-75);
	padding: var(--s-300);
	background: var(--surface);
	box-shadow: var(--shadow);
	border-radius: var(--r-2xl);
}
.stat-icon { align-self: flex-start; }
.stat-icon, .fact-icon { display: inline-grid; place-items: center; color: var(--accent); font-size: 24px; }
.note-icon { display: inline-grid; place-items: center; width: var(--s-500); height: var(--s-500); background: var(--accent); color: #ffffff; border-radius: var(--r-xl); font-size: 20px; }
.story-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-200); }
.note {
	display: flex;
	flex-direction: column;
	gap: var(--s-200);
	padding: var(--s-400);
	background: var(--surface);
	box-shadow: var(--shadow);
	border-radius: var(--r-2xl);
}
.note-text { display: flex; flex-direction: column; gap: var(--s-200); max-width: 560px; }
.facts {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: var(--s-700);
	padding: var(--s-100) var(--s-300);
	background: var(--surface);
	box-shadow: var(--shadow);
	border-radius: var(--r-2xl);
}
.fact { display: flex; align-items: center; justify-content: space-between; gap: var(--s-200); padding-block: var(--s-200); border-bottom: 1px solid var(--line); }
.fact dt { display: flex; align-items: center; gap: var(--s-100); }
.fact dd { text-align: right; }
.facts .fact:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 767px) {
	.facts { grid-template-columns: 1fr; }
	.facts .fact:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
.empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--s-100);
	max-width: 520px;
	padding: var(--s-300);
	background: var(--surface);
	box-shadow: var(--shadow);
	border-radius: var(--r-2xl);
}
.pager { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-200); }
.pager li:empty { display: none; }
.pager .card-arrow { align-self: flex-end; }
.pager .card-arrow-prev { align-self: flex-start; }
.card:hover .card-arrow-prev { transform: translate(calc(-1 * var(--s-50)), calc(-1 * var(--s-50))); }
@media (max-width: 767px) { .story-cols, .pager { grid-template-columns: 1fr; } }
.article > .tiles { max-width: none; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-200); }
.tile {
	display: flex;
	flex-direction: column;
	gap: var(--s-75);
	height: 100%;
	padding: var(--s-100);
	background: var(--surface);
	box-shadow: var(--shadow);
	border-radius: var(--r-2xl);
	text-decoration: none;
	transition: transform 300ms var(--ease);
}
.tile:hover { transform: translateY(calc(-1 * var(--s-25))); }
.tile:active { transform: scale(0.98); }
.tile .title-3 { padding: 0 var(--s-75) var(--s-75); }
@media (max-width: 1023px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.list-heading { margin-top: var(--s-500); }

/* Scroll reveals */
.js .reveal { opacity: 0; transform: translateY(var(--s-400)); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 700ms var(--ease), transform 700ms var(--ease); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { transform: none; }
	.js .reveal.in { transition: opacity 300ms linear; }
	.card, .button, .tile, .card-arrow, .nav-link, .nav-toggle span { transition-property: opacity, color; }
	.card:hover, .button:hover, .tile:hover { transform: none; }
	.nav-link, .nav-links.open .nav-link { transform: none; }
	.tagline .word { transition: none; }
}
