/* ==========================================================================
   Broto Modification — main styles
   Direction: industrial track-day / workshop asphalt + ember accent
   ========================================================================== */

:root {
	--ink: #14171c;
	--ink-soft: #3a414c;
	--paper: #eef1f4;
	--paper-2: #e2e6eb;
	--asphalt: #0f1217;
	--asphalt-2: #1a1f28;
	--steel: #6d7785;
	--ember: #ff3b00;
	--ember-deep: #c42e00;
	--ember-glow: rgba(255, 59, 0, 0.35);
	--line: rgba(20, 23, 28, 0.12);
	--line-light: rgba(238, 241, 244, 0.16);
	--radius: 2px;
	--header-h: 4.5rem;
	--font-display: "Teko", Impact, Haettenschweiler, sans-serif;
	--font-body: "Outfit", "Segoe UI", sans-serif;
	--shadow-soft: 0 24px 60px rgba(15, 18, 23, 0.18);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--max: 72rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background:
		radial-gradient(ellipse 80% 40% at 100% 0%, rgba(255, 59, 0, 0.06), transparent 55%),
		linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--ember-deep);
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 0.95;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin: 0 0 0.5rem;
}

p {
	margin: 0 0 1rem;
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.container {
	width: min(100% - 2rem, var(--max));
	margin-inline: auto;
}

.content-narrow {
	width: min(100% - 2rem, 42rem);
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--ember);
	color: #fff;
	padding: 0.75rem 1rem;
	z-index: 1000;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.4rem;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
	color: #fff;
	transform: translateY(-2px);
}

.btn--accent {
	background: var(--ember);
	color: #fff;
	box-shadow: 0 10px 30px var(--ember-glow);
}

.btn--accent:hover {
	background: var(--ember-deep);
}

.btn--ghost {
	background: transparent;
	border-color: rgba(238, 241, 244, 0.45);
	color: #fff;
}

.btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.06);
}

.btn--lg {
	padding: 1rem 1.75rem;
	font-size: 0.95rem;
}

.btn--sm {
	padding: 0.55rem 1rem;
	font-size: 0.78rem;
}

/* Header */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
	background: rgba(15, 18, 23, 0.88);
	backdrop-filter: blur(14px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
	width: min(100% - 2rem, var(--max));
	margin-inline: auto;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: #fff;
}

.site-logo:hover {
	color: #fff;
}

.site-logo__mark {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	background: var(--ember);
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.site-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.site-logo__name {
	font-family: var(--font-display);
	font-size: 1.45rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.site-logo__tag {
	font-size: 0.7rem;
	color: rgba(238, 241, 244, 0.65);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.nav-menu a {
	color: rgba(238, 241, 244, 0.85);
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	position: relative;
}

.nav-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.35rem;
	width: 100%;
	height: 2px;
	background: var(--ember);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease);
}

.nav-menu a:hover {
	color: #fff;
}

.nav-menu a:hover::after {
	transform: scaleX(1);
}

.header-cta {
	text-decoration: none;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.nav-toggle__bar {
	display: block;
	width: 1.4rem;
	height: 2px;
	background: #fff;
	transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Hero — full-bleed composition */
.hero {
	position: relative;
	min-height: 100svh;
	display: grid;
	align-items: end;
	padding: calc(var(--header-h) + 3rem) 0 5rem;
	color: #fff;
	overflow: hidden;
	background: var(--asphalt);
}

.hero__media {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hero__gradient {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(105deg, rgba(15, 18, 23, 0.92) 28%, rgba(15, 18, 23, 0.45) 58%, rgba(15, 18, 23, 0.75) 100%),
		radial-gradient(ellipse 70% 55% at 72% 58%, rgba(255, 59, 0, 0.28), transparent 60%),
		linear-gradient(160deg, #1c2430 0%, #0f1217 45%, #1a1512 100%);
}

.hero__grid {
	position: absolute;
	inset: 0;
	opacity: 0.22;
	background-image:
		linear-gradient(rgba(238, 241, 244, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(238, 241, 244, 0.07) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 80% 70% at 70% 50%, #000 20%, transparent 75%);
	animation: grid-drift 28s linear infinite;
}

.hero__glow {
	position: absolute;
	width: min(70vw, 42rem);
	height: min(70vw, 42rem);
	right: -8%;
	bottom: -18%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 59, 0, 0.4), transparent 68%);
	filter: blur(8px);
	animation: pulse-glow 5.5s ease-in-out infinite;
}

.hero__glow::before {
	content: "";
	position: absolute;
	inset: 18% 10% 28%;
	background:
		linear-gradient(95deg, transparent 0%, rgba(255, 255, 255, 0.08) 40%, transparent 70%),
		linear-gradient(180deg, transparent 40%, rgba(15, 18, 23, 0.5) 100%);
	clip-path: polygon(8% 62%, 28% 48%, 52% 42%, 78% 48%, 94% 58%, 88% 72%, 70% 78%, 42% 80%, 18% 74%);
	opacity: 0.85;
}

.hero__content {
	position: relative;
	z-index: 1;
	max-width: 40rem;
	padding-bottom: 1rem;
}

.hero__brand {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 8vw, 4.75rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 0.9;
	margin: 0 0 1rem;
	color: #fff;
}

.hero__title {
	font-size: clamp(1.75rem, 4.5vw, 2.75rem);
	font-weight: 500;
	color: rgba(238, 241, 244, 0.92);
	margin-bottom: 1.25rem;
}

.hero__title span {
	display: block;
	color: var(--ember);
}

.hero__lead {
	max-width: 34rem;
	color: rgba(238, 241, 244, 0.72);
	font-size: 1.05rem;
	margin-bottom: 2rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.hero__scroll {
	position: absolute;
	right: clamp(1rem, 4vw, 3rem);
	bottom: 2rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(238, 241, 244, 0.55);
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.hero__scroll::before {
	content: "";
	width: 1px;
	height: 3.5rem;
	background: linear-gradient(to top, var(--ember), transparent);
	animation: scroll-line 2s ease-in-out infinite;
}

/* Sections */
.section {
	padding: clamp(4rem, 10vw, 7rem) 0;
}

.section-head {
	max-width: 36rem;
	margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-head--light {
	color: #fff;
}

.section-head--light .section-lead,
.section-head--light .eyebrow {
	color: rgba(238, 241, 244, 0.7);
}

.eyebrow {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ember);
	margin: 0 0 0.75rem;
}

.section-title {
	font-size: clamp(2.4rem, 6vw, 4rem);
	margin-bottom: 0.85rem;
}

.section-lead {
	color: var(--ink-soft);
	font-size: 1.05rem;
	margin: 0;
}

/* Services — rail, not cards */
.services-rail {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	border-top: 1px solid var(--line);
}

.service-block {
	padding: 2rem 1.5rem 2rem 0;
	border-right: 1px solid var(--line);
	padding-right: 1.5rem;
	transition: transform 0.35s var(--ease);
}

.service-block:last-child {
	border-right: 0;
	padding-right: 0;
}

.service-block:hover {
	transform: translateY(-6px);
}

.service-block__num {
	display: block;
	font-family: var(--font-display);
	font-size: 2.5rem;
	color: var(--ember);
	line-height: 1;
	margin-bottom: 1rem;
}

.service-block h3 {
	font-size: 1.75rem;
	margin-bottom: 0.75rem;
}

.service-block p {
	color: var(--ink-soft);
	margin: 0;
	font-size: 0.98rem;
}

/* Builds */
.builds {
	padding: 0;
	background: var(--asphalt);
	color: #fff;
}

.builds__stage {
	padding: clamp(4rem, 10vw, 7rem) 0;
	background:
		radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255, 59, 0, 0.15), transparent 55%),
		var(--asphalt);
}

.builds-showcase {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 1.25rem;
	align-items: stretch;
}

.build-feature,
.build-tile {
	position: relative;
	overflow: hidden;
	min-height: 18rem;
}

.build-feature__visual,
.build-tile__visual {
	position: absolute;
	inset: 0;
	transition: transform 0.7s var(--ease);
}

.build-feature:hover .build-feature__visual,
.build-tile:hover .build-tile__visual {
	transform: scale(1.05);
}

.build-feature__visual--a {
	background:
		linear-gradient(180deg, transparent 35%, rgba(15, 18, 23, 0.92) 100%),
		linear-gradient(120deg, #2a3342 0%, #ff3b00 45%, #1a1f28 80%);
}

.build-feature__visual--a::after {
	content: "";
	position: absolute;
	inset: 20% 5% 25%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
	clip-path: polygon(5% 65%, 30% 45%, 55% 38%, 82% 48%, 96% 62%, 88% 78%, 55% 85%, 22% 80%);
}

.build-tile__visual--b {
	background:
		linear-gradient(180deg, transparent 30%, rgba(15, 18, 23, 0.9) 100%),
		linear-gradient(145deg, #243040, #4a5568 40%, #0f1217);
}

.build-tile__visual--c {
	background:
		linear-gradient(180deg, transparent 30%, rgba(15, 18, 23, 0.9) 100%),
		linear-gradient(210deg, #3d2a22, #1a1f28 50%, #ff3b00 120%);
}

.build-feature__meta,
.build-tile__meta {
	position: absolute;
	inset: auto 0 0;
	padding: 1.5rem;
	z-index: 1;
}

.build-feature {
	min-height: 28rem;
}

.build-feature h3,
.build-tile h3 {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	margin-bottom: 0.5rem;
}

.build-feature p {
	max-width: 28rem;
	color: rgba(238, 241, 244, 0.75);
	margin: 0;
}

.builds-side {
	display: grid;
	gap: 1.25rem;
}

.build-tag {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ember);
	margin-bottom: 0.5rem;
}

/* Process */
.process-track {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	counter-reset: none;
}

.process-step {
	display: grid;
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 3px solid var(--ink);
	position: relative;
}

.process-step__index {
	font-family: var(--font-display);
	font-size: 3rem;
	color: var(--ember);
	line-height: 1;
}

.process-step h3 {
	font-size: 1.7rem;
}

.process-step p {
	color: var(--ink-soft);
	margin: 0;
}

/* Quote */
.quote-strip {
	background: var(--paper-2);
	padding: clamp(3rem, 8vw, 5rem) 0;
}

.quote {
	max-width: 44rem;
	margin: 0 auto;
	text-align: center;
}

.quote p {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	line-height: 1.15;
	text-transform: none;
	letter-spacing: 0.01em;
	margin-bottom: 1.25rem;
}

.quote footer {
	color: var(--steel);
	font-size: 0.9rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Journal / posts */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.post-card {
	background: #fff;
	border: 1px solid var(--line);
	overflow: hidden;
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-soft);
}

.post-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.post-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--asphalt-2);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.post-card:hover .post-card__media img {
	transform: scale(1.04);
}

.post-card__media--fallback {
	background:
		linear-gradient(135deg, var(--asphalt-2), #2a3342 50%, var(--ember) 140%);
}

.post-card__body {
	padding: 1.25rem 1.35rem 1.5rem;
}

.post-card__date {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--steel);
}

.post-card__title {
	font-size: 1.6rem;
	margin: 0.4rem 0 0.6rem;
}

.post-card__excerpt {
	color: var(--ink-soft);
	font-size: 0.95rem;
	margin: 0;
}

/* Page hero (inner) */
.page-hero {
	padding: calc(var(--header-h) + 3.5rem) 0 3rem;
	background:
		linear-gradient(180deg, var(--asphalt) 0%, #1a1f28 100%);
	color: #fff;
}

.page-hero__title {
	font-size: clamp(2.5rem, 7vw, 4.5rem);
	margin-bottom: 0.75rem;
}

.page-hero__lead {
	color: rgba(238, 241, 244, 0.7);
	max-width: 36rem;
	margin: 0;
}

.single-thumb {
	margin-top: -1.5rem;
	margin-bottom: 0;
}

.single-thumb img {
	width: 100%;
	max-height: 28rem;
	object-fit: cover;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 2rem;
}

.post-nav__links {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	border-top: 1px solid var(--line);
	padding-top: 1.5rem;
}

.pagination-wrap {
	margin-top: 2.5rem;
}

.pagination-wrap .nav-links {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.empty-state {
	text-align: center;
	padding: 3rem 1rem;
}

/* Footer */
.site-footer {
	background: var(--asphalt);
	color: rgba(238, 241, 244, 0.8);
}

.site-footer__band {
	border-bottom: 1px solid var(--line-light);
	padding: clamp(3.5rem, 8vw, 5.5rem) 0;
	background:
		radial-gradient(ellipse 60% 80% at 90% 50%, rgba(255, 59, 0, 0.18), transparent 60%),
		var(--asphalt-2);
}

.footer-cta {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.footer-cta__title {
	font-size: clamp(2.4rem, 6vw, 4rem);
	color: #fff;
	max-width: 16ch;
}

.footer-cta__text {
	max-width: 28rem;
	color: rgba(238, 241, 244, 0.7);
}

.footer-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.site-footer__main {
	padding: 3.5rem 0 2rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2rem;
	margin-bottom: 3rem;
}

.footer-brand p,
.footer-col p {
	color: rgba(238, 241, 244, 0.65);
	font-size: 0.95rem;
}

.footer-col h3,
.footer-widget__title {
	font-size: 1.35rem;
	color: #fff;
	margin-bottom: 1rem;
}

.site-logo--footer {
	margin-bottom: 1rem;
}

.footer-menu {
	display: grid;
	gap: 0.55rem;
}

.footer-menu a {
	text-decoration: none;
	color: rgba(238, 241, 244, 0.7);
	font-size: 0.92rem;
}

.footer-menu a:hover {
	color: var(--ember);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line-light);
	font-size: 0.85rem;
	color: rgba(238, 241, 244, 0.5);
}

.back-top {
	text-decoration: none;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.75rem;
	font-weight: 600;
}

.back-top:hover {
	color: var(--ember);
}

/* Reveal motion */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

.hero .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero .reveal:nth-child(2) { transition-delay: 0.15s; }
.hero .reveal:nth-child(3) { transition-delay: 0.25s; }
.hero .reveal:nth-child(4) { transition-delay: 0.35s; }

/* Keyframes */
@keyframes pulse-glow {
	0%, 100% { opacity: 0.7; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.06); }
}

@keyframes grid-drift {
	from { background-position: 0 0, 0 0; }
	to { background-position: 64px 64px, 64px 64px; }
}

@keyframes scroll-line {
	0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
	50% { transform: scaleY(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 980px) {
	.services-rail,
	.process-track,
	.post-grid,
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.service-block:nth-child(2) {
		border-right: 0;
		padding-right: 0;
	}

	.service-block:nth-child(1),
	.service-block:nth-child(2) {
		border-bottom: 1px solid var(--line);
		padding-bottom: 1.75rem;
		margin-bottom: 0.5rem;
	}

	.builds-showcase {
		grid-template-columns: 1fr;
	}

	.build-feature {
		min-height: 22rem;
	}
}

@media (max-width: 768px) {
	.nav-toggle {
		display: flex;
	}

	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 auto;
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		padding: 1.25rem 1.25rem 1.75rem;
		background: rgba(15, 18, 23, 0.96);
		backdrop-filter: blur(12px);
		transform: translateY(-120%);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
		border-bottom: 1px solid var(--line-light);
	}

	.site-nav.is-open {
		transform: none;
		opacity: 1;
		pointer-events: auto;
	}

	.nav-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.85rem;
	}

	.header-cta {
		align-self: flex-start;
	}

	.hero {
		align-items: center;
		padding-bottom: 4rem;
	}

	.hero__scroll {
		display: none;
	}

	.hero__brand {
		font-size: clamp(2.2rem, 12vw, 3.2rem);
	}

	.services-rail,
	.process-track,
	.post-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.service-block {
		border-right: 0;
		border-bottom: 1px solid var(--line);
		padding: 1.5rem 0;
	}

	.service-block:last-child {
		border-bottom: 0;
	}

	.footer-cta {
		align-items: start;
	}

	.site-header {
		background: rgba(15, 18, 23, 0.75);
		backdrop-filter: blur(10px);
	}
}

/* ==========================================================================
   Inner page templates
   ========================================================================== */

.btn--ghost-dark {
	background: transparent;
	border-color: rgba(20, 23, 28, 0.25);
	color: var(--ink);
}

.btn--ghost-dark:hover {
	border-color: var(--ink);
	background: rgba(20, 23, 28, 0.05);
	color: var(--ink);
}

.page-cta-band {
	background: var(--asphalt);
	color: #fff;
	padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.page-cta-band .section-lead,
.page-cta-band .eyebrow {
	color: rgba(238, 241, 244, 0.7);
}

.page-cta-band .section-title {
	color: #fff;
}

.page-cta-band__inner {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.page-cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* Services page */
.svc-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
}

.svc-detail {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.25rem;
	padding: 2rem 1.75rem 2rem 0;
	border-bottom: 1px solid var(--line);
}

.svc-detail:nth-child(odd) {
	padding-right: 2rem;
	border-right: 1px solid var(--line);
}

.svc-detail:nth-child(even) {
	padding-left: 2rem;
}

.svc-detail__num {
	font-family: var(--font-display);
	font-size: 2.75rem;
	line-height: 1;
	color: var(--ember);
}

.svc-detail h2 {
	font-size: 2rem;
	margin-bottom: 0.65rem;
}

.svc-detail p {
	color: var(--ink-soft);
}

.svc-detail__list {
	margin: 1rem 0 0;
	display: grid;
	gap: 0.45rem;
}

.svc-detail__list li {
	position: relative;
	padding-left: 1.1rem;
	color: var(--ink-soft);
	font-size: 0.95rem;
}

.svc-detail__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.45rem;
	height: 0.45rem;
	background: var(--ember);
}

/* About */
.about-intro {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 3rem;
	align-items: start;
}

.about-intro__copy p {
	color: var(--ink-soft);
	max-width: 38rem;
}

.about-stats {
	display: grid;
	gap: 1.25rem;
}

.about-stat {
	padding: 1.25rem 0;
	border-top: 1px solid var(--line);
}

.about-stat__value {
	display: block;
	font-family: var(--font-display);
	font-size: 3.5rem;
	line-height: 1;
	color: var(--ember);
}

.about-stat__label {
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--steel);
}

.about-values {
	background: var(--paper-2);
}

.values-grid,
.team-grid,
.timeline-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.value-block {
	padding-top: 1.25rem;
	border-top: 3px solid var(--ink);
}

.value-block h3 {
	font-size: 1.7rem;
}

.value-block p {
	color: var(--ink-soft);
	margin: 0;
}

.team-card {
	background: #fff;
	border: 1px solid var(--line);
	padding: 1.35rem;
}

.team-card__avatar {
	aspect-ratio: 1;
	margin-bottom: 1rem;
	background: linear-gradient(145deg, var(--asphalt-2), #2a3342);
}

.team-card__avatar--1 {
	background: linear-gradient(145deg, #1a1f28, #ff3b00 140%);
}

.team-card__avatar--2 {
	background: linear-gradient(210deg, #243040, #4a5568);
}

.team-card__avatar--3 {
	background: linear-gradient(160deg, #2a1a14, #c42e00 120%);
}

.team-card h3 {
	font-size: 1.6rem;
	margin-bottom: 0.25rem;
}

.team-card__role {
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ember);
	margin-bottom: 0.75rem;
}

.team-card p:last-child {
	color: var(--ink-soft);
	margin: 0;
	font-size: 0.95rem;
}

/* Process page */
.process-page-list {
	display: grid;
	gap: 0;
}

.process-page-step {
	display: grid;
	grid-template-columns: 5rem 1fr;
	gap: 1.5rem;
	padding: 2.5rem 0;
	border-bottom: 1px solid var(--line);
}

.process-page-step__index {
	font-family: var(--font-display);
	font-size: 3rem;
	line-height: 1;
	color: var(--ember);
}

.process-page-step h2 {
	font-size: 2.4rem;
	margin-bottom: 0.75rem;
}

.process-page-step p {
	color: var(--ink-soft);
	max-width: 40rem;
}

.timeline-item {
	display: grid;
	gap: 0.5rem;
	padding: 1.5rem;
	background: #fff;
	border: 1px solid var(--line);
}

.timeline-item strong {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--ember);
}

.timeline-item span {
	color: var(--ink-soft);
	font-size: 0.95rem;
}

/* Contact */
.contact-layout {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 3rem;
	align-items: start;
}

.contact-info__block {
	margin-bottom: 1.75rem;
}

.contact-info__block h2 {
	font-size: 1.5rem;
	margin-bottom: 0.4rem;
}

.contact-info__block a {
	text-decoration: none;
	font-weight: 600;
}

.contact-info__block a:hover {
	color: var(--ember);
}

.contact-map__inner {
	display: grid;
	place-items: center;
	min-height: 12rem;
	padding: 1.5rem;
	background:
		linear-gradient(135deg, var(--asphalt-2), #2a3342 60%, rgba(255, 59, 0, 0.35));
	color: rgba(238, 241, 244, 0.7);
	font-size: 0.85rem;
	text-align: center;
	letter-spacing: 0.04em;
}

.contact-form-wrap {
	background: #fff;
	border: 1px solid var(--line);
	padding: clamp(1.5rem, 4vw, 2.25rem);
}

.contact-form {
	display: grid;
	gap: 1.1rem;
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.1rem;
}

.form-row {
	display: grid;
	gap: 0.4rem;
}

.form-row label {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--steel);
}

.form-row input,
.form-row textarea {
	width: 100%;
	padding: 0.85rem 0.95rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font: inherit;
	color: var(--ink);
	background: var(--paper);
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-row input:focus,
.form-row textarea:focus {
	outline: none;
	border-color: var(--ember);
	box-shadow: 0 0 0 3px var(--ember-glow);
	background: #fff;
}

.form-alert {
	padding: 0.9rem 1rem;
	margin-bottom: 1.25rem;
	font-size: 0.95rem;
}

.form-alert--ok {
	background: rgba(20, 120, 70, 0.1);
	border: 1px solid rgba(20, 120, 70, 0.3);
	color: #0f5c36;
}

.form-alert--err {
	background: rgba(196, 46, 0, 0.08);
	border: 1px solid rgba(196, 46, 0, 0.35);
	color: var(--ember-deep);
}

/* Builds catalog */
.builds-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-bottom: 3rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--line);
}

.builds-nav__link {
	text-decoration: none;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.45rem 0.75rem;
	border: 1px solid var(--line);
	color: var(--ink-soft);
	transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.builds-nav__link:hover {
	border-color: var(--ember);
	color: var(--ember);
}

.builds-catalog {
	display: grid;
	gap: 4rem;
}

.build-detail {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 2rem;
	align-items: stretch;
	scroll-margin-top: calc(var(--header-h) + 1rem);
}

.build-detail--flip .build-detail__visual {
	order: 2;
}

.build-detail--flip .build-detail__content {
	order: 1;
}

.build-detail__visual {
	position: relative;
	min-height: 22rem;
	overflow: hidden;
}

.build-detail__badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 1;
	font-family: var(--font-display);
	font-size: 2.5rem;
	line-height: 1;
	color: #fff;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.build-detail__visual--a {
	background:
		linear-gradient(180deg, transparent 40%, rgba(15, 18, 23, 0.55) 100%),
		linear-gradient(120deg, #2a3342 0%, #ff3b00 45%, #1a1f28 80%);
}

.build-detail__visual--b {
	background:
		linear-gradient(180deg, transparent 40%, rgba(15, 18, 23, 0.55) 100%),
		linear-gradient(145deg, #243040, #4a5568 40%, #0f1217);
}

.build-detail__visual--c {
	background:
		linear-gradient(180deg, transparent 40%, rgba(15, 18, 23, 0.55) 100%),
		linear-gradient(210deg, #3d2a22, #1a1f28 50%, #ff3b00 120%);
}

.build-detail__visual--d {
	background:
		linear-gradient(180deg, transparent 40%, rgba(15, 18, 23, 0.55) 100%),
		linear-gradient(160deg, #2c2418, #5a4630 40%, #1a1f28);
}

.build-detail__visual--e {
	background:
		linear-gradient(180deg, transparent 40%, rgba(15, 18, 23, 0.55) 100%),
		linear-gradient(125deg, #1c2430, #3a4555 50%, #6d7785);
}

.build-detail__visual--f {
	background:
		linear-gradient(180deg, transparent 40%, rgba(15, 18, 23, 0.55) 100%),
		linear-gradient(190deg, #4a1a0e, #ff3b00 55%, #1a1f28);
}

.build-detail__visual::after {
	content: "";
	position: absolute;
	inset: 22% 8% 28%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
	clip-path: polygon(5% 65%, 30% 45%, 55% 38%, 82% 48%, 96% 62%, 88% 78%, 55% 85%, 22% 80%);
	opacity: 0.9;
}

.build-detail__title {
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	margin-bottom: 0.35rem;
}

.build-detail__car {
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--steel);
	margin-bottom: 0.85rem;
}

.build-detail__summary {
	color: var(--ink-soft);
	max-width: 36rem;
}

.build-specs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	margin: 1.5rem 0;
	padding: 1.25rem 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.build-specs dt {
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--steel);
	margin-bottom: 0.2rem;
}

.build-specs dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.55rem;
	line-height: 1.1;
	text-transform: uppercase;
}

.build-detail__mods-title {
	font-size: 1.35rem;
	margin: 0.5rem 0 0.75rem;
}

.build-detail__notes {
	margin-top: 1.25rem;
	padding: 1rem 1.1rem;
	background: var(--paper-2);
	color: var(--ink-soft);
	font-size: 0.95rem;
}

@media (max-width: 980px) {
	.svc-detail-grid,
	.about-intro,
	.contact-layout,
	.build-detail,
	.values-grid,
	.team-grid,
	.timeline-grid {
		grid-template-columns: 1fr;
	}

	.svc-detail:nth-child(odd),
	.svc-detail:nth-child(even) {
		padding-left: 0;
		padding-right: 0;
		border-right: 0;
	}

	.build-detail--flip .build-detail__visual,
	.build-detail--flip .build-detail__content {
		order: initial;
	}

	.form-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.process-page-step {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.build-specs {
		grid-template-columns: 1fr 1fr;
	}
}

/* Photo media */
.build-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero--photo .hero__media {
	overflow: hidden;
}

.hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
	transform: scale(1.04);
	animation: hero- ken 18s var(--ease) infinite alternate;
}

.hero--photo .hero__gradient {
	background:
		linear-gradient(105deg, rgba(15, 18, 23, 0.92) 26%, rgba(15, 18, 23, 0.55) 55%, rgba(15, 18, 23, 0.72) 100%),
		linear-gradient(180deg, rgba(15, 18, 23, 0.35) 0%, rgba(15, 18, 23, 0.75) 100%);
}

.hero--photo .hero__glow {
	display: none;
}

@keyframes hero-ken {
	from { transform: scale(1.04) translate3d(0, 0, 0); }
	to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.build-feature__visual,
.build-tile__visual,
.build-detail__visual {
	background: var(--asphalt-2);
}

.build-feature__visual .build-photo,
.build-tile__visual .build-photo,
.build-detail__visual .build-photo {
	position: absolute;
	inset: 0;
	transition: transform 0.7s var(--ease);
}

.build-feature:hover .build-photo,
.build-tile:hover .build-photo,
.build-detail:hover .build-photo {
	transform: scale(1.05);
}

.build-feature__visual::after,
.build-tile__visual::after,
.build-detail__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 35%, rgba(15, 18, 23, 0.88) 100%);
	pointer-events: none;
	clip-path: none;
	opacity: 1;
}

.build-detail__visual::after {
	background: linear-gradient(180deg, transparent 50%, rgba(15, 18, 23, 0.25) 100%);
}

.section-more {
	margin-top: 2.5rem;
}

.section-more--light {
	margin-top: 2rem;
}

/* Home gallery */
.home-gallery__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.home-gallery__item {
	margin: 0;
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--asphalt);
}

.home-gallery__item .build-photo {
	transition: transform 0.7s var(--ease);
}

.home-gallery__item:hover .build-photo {
	transform: scale(1.06);
}

.home-gallery__item figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1rem;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(transparent, rgba(15, 18, 23, 0.85));
}

.quote-strip--photo {
	position: relative;
	overflow: hidden;
	color: #fff;
	background: var(--asphalt);
}

.quote-strip__bg {
	position: absolute;
	inset: 0;
}

.quote-strip__bg .build-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.35);
}

.quote-strip--photo .container {
	position: relative;
	z-index: 1;
}

.quote-strip--photo .quote footer {
	color: rgba(238, 241, 244, 0.65);
}

/* Page hero photos */
.page-hero--photo {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.page-hero__bg .build-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.38);
}

.page-hero--photo {
	background: var(--asphalt);
}

.page-cta-band--photo {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.page-cta-band__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.page-cta-band__bg .build-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.3);
}

.page-cta-band--photo .page-cta-band__inner {
	position: relative;
	z-index: 1;
}

.about-intro__media {
	overflow: hidden;
	min-height: 18rem;
	background: var(--asphalt);
}

.about-stats--row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.about-strip {
	padding-top: 0;
}

.about-strip__grid,
.services-photos__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.about-strip__grid figure,
.services-photos__grid figure {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 16 / 11;
	position: relative;
	background: var(--asphalt);
}

.services-photos__grid figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.85rem 1rem;
	color: #fff;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: linear-gradient(transparent, rgba(15, 18, 23, 0.85));
}

.contact-map__photo {
	overflow: hidden;
	min-height: 12rem;
	aspect-ratio: 16 / 10;
	background: var(--asphalt);
}

@media (max-width: 980px) {
	.home-gallery__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.about-strip__grid,
	.services-photos__grid,
	.about-stats--row {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.home-gallery__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.hero__img {
		animation: none;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}