/* =========================================================
   Rift Transportation Services — Premium dispatch revamp
   Palette: deep charcoal + warm off-white + amber-500 accent
   Typography: Bebas Neue (display) + Inter (body)
   ========================================================= */

:root {
	/* Dark mode (default) */
	--bg: #0b0c0d;
	--surface: #111315;
	--surface-2: #181a1d;
	--surface-3: #1f2226;
	--border: rgba(255, 255, 255, 0.08);
	--border-strong: rgba(255, 255, 255, 0.16);
	--text: #f4efe6; /* warm off-white */
	--text-soft: rgba(244, 239, 230, 0.72);
	--text-mute: rgba(244, 239, 230, 0.5);

	--accent: #f59e0b; /* amber-500 */
	--accent-hi: #fbbf24; /* amber-400 */
	--accent-lo: #b45309; /* amber-700 */
	--accent-glow: rgba(245, 158, 11, 0.18);

	--radius-sm: 6px;
	--radius: 12px;
	--radius-lg: 18px;

	--maxw: 1240px;

	--shadow-card:
		0 1px 0 rgba(255, 255, 255, 0.04) inset,
		0 30px 60px -30px rgba(0, 0, 0, 0.6);
	--shadow-amber: 0 10px 30px -10px rgba(245, 158, 11, 0.45);

	--t-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
	--t-med: 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
	--bg: #faf7f1; /* warm off-white */
	--surface: #ffffff;
	--surface-2: #f1ece2;
	--surface-3: #e8e2d3;
	--border: rgba(11, 12, 13, 0.1);
	--border-strong: rgba(11, 12, 13, 0.22);
	--text: #0b0c0d;
	--text-soft: rgba(11, 12, 13, 0.72);
	--text-mute: rgba(11, 12, 13, 0.5);
	--accent: #b45309;
	--accent-hi: #f59e0b;
	--accent-lo: #92400e;
	--accent-glow: rgba(180, 83, 9, 0.15);
	--shadow-card:
		0 1px 0 rgba(255, 255, 255, 0.7) inset,
		0 30px 60px -40px rgba(11, 12, 13, 0.25);
}

/* ============== RESET ============== */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	font-family:
		"Inter",
		system-ui,
		-apple-system,
		sans-serif;
	background: var(--bg);
	color: var(--text);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition:
		background-color var(--t-med),
		color var(--t-med);
}
img,
svg {
	display: block;
	max-width: 100%;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	font: inherit;
	cursor: pointer;
}
ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

::selection {
	background: var(--accent);
	color: #0b0c0d;
}

.container {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 28px;
}

/* ============== TYPOGRAPHY ============== */
h1,
h2,
h3,
h4 {
	margin: 0;
	line-height: 1.05;
	font-weight: 400;
}
.section-title,
.hero-title,
.cta-title {
	font-family: "Bebas Neue", sans-serif;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.hero-title {
	font-size: clamp(48px, 8vw, 104px);
	line-height: 0.92;
}
.section-title {
	font-size: clamp(36px, 5vw, 64px);
	line-height: 0.98;
}
.section-title--light {
	color: var(--text);
}
.cta-title {
	font-size: clamp(40px, 6vw, 72px);
}
.kicker {
	display: inline-block;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--accent);
	margin-bottom: 18px;
}
.kicker-light {
	color: var(--accent-hi);
}

.section-lede {
	color: var(--text-soft);
	max-width: 60ch;
	font-size: 17px;
	margin-top: 18px;
}

/* ============== BUTTONS ============== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.02em;
	border: 1px solid transparent;
	transition:
		transform var(--t-fast),
		background var(--t-fast),
		color var(--t-fast),
		box-shadow var(--t-fast),
		border-color var(--t-fast);
	white-space: nowrap;
}
.btn-sm {
	padding: 10px 16px;
	font-size: 13px;
}
.btn-lg {
	padding: 16px 28px;
	font-size: 15px;
}

.btn-primary {
	background: var(--accent);
	color: #0b0c0d;
	box-shadow: var(--shadow-amber);
}
.btn-primary:hover {
	background: var(--accent-hi);
	transform: translateY(-1px);
}
.btn-primary:active {
	transform: translateY(0);
}

.btn-ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--border-strong);
}
.btn-ghost:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* ============== HEADER ============== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in oklab, var(--bg) 88%, transparent);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--border);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 14px 28px;
}
.brand {
	display: inline-flex;
	align-items: center;
	color: var(--text);
}
.brand-mark {
	height: 36px;
	width: auto;
}
.brand-logo {
	height: 68px;
	width: auto;
	display: block;
	max-width: 280px;
}

.nav {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-left: 28px;
}
.nav a {
	font-size: 13px;
	font-weight: 500;
	color: var(--text-soft);
	letter-spacing: 0.03em;
	position: relative;
	transition: color var(--t-fast);
}
.nav a:hover {
	color: var(--accent);
}
.nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--t-fast);
}
.nav a:hover::after {
	transform: scaleX(1);
}

.header-actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 12px;
}

.theme-toggle {
	width: 38px;
	height: 38px;
	display: inline-grid;
	place-items: center;
	background: transparent;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	color: var(--text);
	transition:
		border-color var(--t-fast),
		color var(--t-fast);
}
.theme-toggle:hover {
	border-color: var(--accent);
	color: var(--accent);
}
.theme-toggle svg {
	width: 18px;
	height: 18px;
}
[data-theme="dark"] .icon-sun {
	display: block;
}
[data-theme="dark"] .icon-moon {
	display: none;
}
[data-theme="light"] .icon-sun {
	display: none;
}
[data-theme="light"] .icon-moon {
	display: block;
}

.nav-toggle {
	display: none;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 1px solid var(--border-strong);
	border-radius: 8px;
	padding: 10px;
	flex-direction: column;
	justify-content: space-between;
}
.nav-toggle span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--text);
	border-radius: 2px;
	transition:
		transform var(--t-fast),
		opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
	display: none;
	flex-direction: column;
	gap: 4px;
	padding: 16px 28px 24px;
	border-top: 1px solid var(--border);
	background: var(--bg);
}
.mobile-menu a {
	padding: 12px 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--text);
	border-bottom: 1px solid var(--border);
}
.mobile-menu a.btn {
	border: none;
	margin-top: 12px;
	justify-content: center;
}
.mobile-menu[data-open="true"] {
	display: flex;
}

/* ============== HERO ============== */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	isolation: isolate;
}
.hero-image {
	position: absolute;
	inset: 0;
	background: url("assets/img/hero-truck.png") center/cover no-repeat;
	z-index: -2;
}
.hero-overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(
			120% 80% at 20% 30%,
			rgba(245, 158, 11, 0.1),
			transparent 60%
		),
		linear-gradient(
			180deg,
			rgba(11, 12, 13, 0.45) 0%,
			rgba(11, 12, 13, 0.75) 60%,
			rgba(11, 12, 13, 0.95) 100%
		),
		linear-gradient(
			90deg,
			rgba(11, 12, 13, 0.85) 0%,
			rgba(11, 12, 13, 0.2) 60%,
			rgba(11, 12, 13, 0) 100%
		);
	z-index: -1;
}
[data-theme="light"] .hero-overlay {
	background:
		radial-gradient(
			120% 80% at 20% 30%,
			rgba(245, 158, 11, 0.1),
			transparent 60%
		),
		linear-gradient(
			180deg,
			rgba(11, 12, 13, 0.55) 0%,
			rgba(11, 12, 13, 0.75) 60%,
			rgba(11, 12, 13, 0.92) 100%
		),
		linear-gradient(
			90deg,
			rgba(11, 12, 13, 0.85) 0%,
			rgba(11, 12, 13, 0.3) 60%,
			rgba(11, 12, 13, 0) 100%
		);
}

.hero-inner {
	position: relative;
	padding: 140px 28px 100px;
	color: #f4efe6; /* hero is always light text over dark overlay */
}
.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	font-size: 12px;
	letter-spacing: 0.12em;
	color: rgba(244, 239, 230, 0.85);
	text-transform: uppercase;
	margin-bottom: 28px;
	background: rgba(11, 12, 13, 0.4);
	backdrop-filter: blur(8px);
}
.hero-eyebrow .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 12px var(--accent);
	animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.6;
		transform: scale(0.85);
	}
}
.hero-title {
	max-width: 14ch;
}
.hero-title .accent {
	color: var(--accent);
}
.hero-sub {
	max-width: 56ch;
	font-size: 18px;
	line-height: 1.55;
	color: rgba(244, 239, 230, 0.8);
	margin: 24px 0 36px;
}
.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	margin-top: 80px;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stats li {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.stat-num {
	font-family: "Bebas Neue", sans-serif;
	font-size: 40px;
	letter-spacing: 0.02em;
	color: var(--accent);
	line-height: 1;
}
.stat-label {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(244, 239, 230, 0.6);
}

/* ============== MARQUEE ============== */
.marquee {
	overflow: hidden;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	background: var(--surface);
	padding: 18px 0;
}
.marquee-track {
	display: inline-flex;
	gap: 28px;
	white-space: nowrap;
	animation: marquee 40s linear infinite;
	font-family: "Bebas Neue", sans-serif;
	font-size: 22px;
	letter-spacing: 0.08em;
	color: var(--text-soft);
}
.marquee-track .dot-sep {
	color: var(--accent);
}
@keyframes marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* ============== SECTIONS ============== */
.section {
	padding: 110px 0;
	position: relative;
}
.section-head {
	max-width: 760px;
	margin-bottom: 60px;
}
.section-head--centered {
	text-align: center;
	margin: 0 auto 60px;
}
.section-head--centered .section-lede {
	margin-left: auto;
	margin-right: auto;
}

/* SERVICES */
.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}
.service-card {
	position: relative;
	padding: 32px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition:
		transform var(--t-med),
		border-color var(--t-med),
		box-shadow var(--t-med);
}
.service-card:hover {
	transform: translateY(-4px);
	border-color: var(--accent);
	box-shadow: var(--shadow-card);
	background: var(--surface-2);
}
.service-card:hover h3 {
	color: var(--accent);
}
.service-card:hover p {
	color: var(--text);
}
.service-card h3 {
	font-family: "Bebas Neue", sans-serif;
	font-size: 24px;
	letter-spacing: 0.03em;
	margin: 20px 0 10px;
	text-transform: uppercase;
}
.service-card p {
	color: var(--text-soft);
	font-size: 15px;
}
.service-icon {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--surface-2);
	color: var(--accent);
}
.service-icon svg {
	width: 26px;
	height: 26px;
}
.service-card--accent {
	background: linear-gradient(180deg, var(--surface-2), var(--surface));
	border-color: var(--accent);
}
.tag {
	position: absolute;
	top: 24px;
	right: 24px;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 5px 10px;
	background: var(--accent);
	color: #0b0c0d;
	border-radius: 999px;
	font-weight: 700;
}

/* FEATURE SECTIONS (box truck + dispatch desk) */
.section-feature {
	padding: 100px 0;
}
.feature-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
.feature-grid--reverse .feature-copy {
	order: 2;
}
.feature-grid--reverse .feature-media {
	order: 1;
}
.feature-copy .section-title {
	font-size: clamp(32px, 4.5vw, 56px);
}
.feature-list {
	margin: 28px 0 32px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.feature-list li {
	position: relative;
	padding-left: 22px;
	color: var(--text-soft);
}
.feature-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 12px;
	height: 2px;
	background: var(--accent);
}
.feature-media {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--surface);
	aspect-ratio: 4/3;
}
.feature-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 800ms ease;
}
.feature-media:hover img {
	transform: scale(1.04);
}

/* BENEFITS */
.section-dark {
	background: var(--surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.benefit-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 4px;
	background: var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}
.benefit {
	background: var(--surface);
	padding: 36px 32px;
	transition: background var(--t-fast);
}
.benefit:hover {
	background: var(--surface-2);
}
.benefit-num {
	display: block;
	font-family: "Bebas Neue", sans-serif;
	color: var(--accent);
	font-size: 18px;
	letter-spacing: 0.08em;
	margin-bottom: 16px;
}
.benefit h3 {
	font-family: "Bebas Neue", sans-serif;
	font-size: 22px;
	letter-spacing: 0.03em;
	margin-bottom: 10px;
	text-transform: uppercase;
}
.benefit p {
	color: var(--text-soft);
	font-size: 15px;
}

/* TRUCK TYPES */
.truck-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}
.truck-card {
	padding: 36px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	transition:
		transform var(--t-med),
		border-color var(--t-med);
}
.truck-card:hover {
	transform: translateY(-4px);
	border-color: var(--accent);
	background: var(--surface-2);
	box-shadow: var(--shadow-card);
}
.truck-card:hover h3 {
	color: var(--accent);
}
.truck-card--accent {
	border-color: var(--accent);
	background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.truck-illustration {
	background: var(--surface-2);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 24px;
	aspect-ratio: 16/9;
}
.truck-illustration img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.truck-card:hover .truck-illustration img {
	transform: scale(1.03);
}
.truck-tag {
	display: inline-block;
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--text-mute);
	padding: 4px 10px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
}
.truck-tag--accent {
	color: var(--accent);
	border-color: var(--accent);
}
.truck-card h3 {
	font-family: "Bebas Neue", sans-serif;
	font-size: 30px;
	letter-spacing: 0.02em;
	margin: 14px 0 12px;
	text-transform: uppercase;
}
.truck-card p {
	color: var(--text-soft);
	font-size: 16px;
}
.truck-bullets {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.truck-bullets li {
	position: relative;
	padding-left: 20px;
	color: var(--text-soft);
	font-size: 14px;
}
.truck-bullets li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--accent);
}

/* GOVERNMENT MAIL */
.section-mail {
	background: var(--surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.mail-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 64px;
	align-items: start;
}
.mail-features {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 32px 0;
}
.mail-feature {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 18px;
	align-items: start;
}
.mail-num {
	font-family: "Bebas Neue", sans-serif;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	background: var(--accent);
	color: #0b0c0d;
	border-radius: 10px;
	font-size: 18px;
	letter-spacing: 0.03em;
}
.mail-feature h4 {
	font-family: "Bebas Neue", sans-serif;
	font-size: 20px;
	letter-spacing: 0.03em;
	margin-bottom: 6px;
	text-transform: uppercase;
}
.mail-feature p {
	color: var(--text-soft);
	font-size: 15px;
}
.mail-cta {
	margin-top: 12px;
}
.mail-card {
	padding: 36px;
	background: var(--bg);
	border: 1px solid var(--accent);
	border-radius: var(--radius-lg);
	position: sticky;
	top: 100px;
}
.mail-card h3 {
	font-family: "Bebas Neue", sans-serif;
	font-size: 26px;
	letter-spacing: 0.02em;
	margin: 8px 0 16px;
	text-transform: uppercase;
}
.mail-card p {
	color: var(--text-soft);
	font-size: 15px;
	margin-bottom: 24px;
}
.mail-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.mail-list li {
	padding: 12px 14px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 8px;
	font-size: 14px;
}

/* PROCESS */
.process {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	counter-reset: step;
	list-style: none;
	padding: 0;
	margin: 0;
}
.process li {
	list-style: none;
}
.process-step {
	padding: 32px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition:
		border-color var(--t-fast),
		transform var(--t-fast);
}
.process-step:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
}
.step-num {
	font-family: "Bebas Neue", sans-serif;
	font-size: 44px;
	letter-spacing: 0.04em;
	color: var(--accent);
	display: block;
	margin-bottom: 14px;
	line-height: 1;
}
.process-step h3 {
	font-family: "Bebas Neue", sans-serif;
	font-size: 22px;
	letter-spacing: 0.02em;
	margin-bottom: 10px;
	text-transform: uppercase;
}
.process-step p {
	color: var(--text-soft);
	font-size: 14px;
}

/* PROOF */
.section-proof {
	background: var(--surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.proof-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 64px;
	align-items: start;
}
.proof-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--border);
}
.proof-stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.proof-num {
	font-family: "Bebas Neue", sans-serif;
	font-size: 36px;
	color: var(--accent);
	letter-spacing: 0.02em;
	line-height: 1;
}
.proof-label {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-mute);
}
.ecosystem-card {
	padding: 36px;
	background: var(--bg);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-lg);
}
.ecosystem-card h3 {
	font-family: "Bebas Neue", sans-serif;
	font-size: 26px;
	letter-spacing: 0.02em;
	margin: 8px 0 14px;
	text-transform: uppercase;
}
.ecosystem-card p {
	color: var(--text-soft);
	font-size: 15px;
	margin-bottom: 20px;
}
.link-arrow {
	color: var(--accent);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.02em;
	display: inline-flex;
	gap: 6px;
	transition: gap var(--t-fast);
}
.link-arrow:hover {
	gap: 12px;
}

/* BLOG */
.section-blog {
	padding: 110px 0;
}
.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}
.blog-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition:
		transform var(--t-med),
		border-color var(--t-med),
		box-shadow var(--t-med);
}
.blog-card:hover {
	transform: translateY(-6px);
	border-color: var(--accent);
	box-shadow: var(--shadow-card);
}
.blog-thumb {
	aspect-ratio: 5/3;
	overflow: hidden;
	border-bottom: 1px solid var(--border);
}
.blog-thumb svg {
	width: 100%;
	height: 100%;
	display: block;
}
.blog-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.blog-card:hover .blog-thumb img {
	transform: scale(1.04);
}
.ebook-photo {
	width: 100%;
	max-width: 420px;
	border-radius: 12px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
	display: block;
	margin: 0 auto;
}
.blog-body {
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1;
}
.blog-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.blog-cat {
	color: var(--accent);
	font-weight: 600;
}
.blog-time {
	color: var(--text-mute);
}
.blog-card h3 {
	font-family: "Bebas Neue", sans-serif;
	font-size: 24px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1.05;
}
.blog-card p {
	color: var(--text-soft);
	font-size: 14px;
	flex: 1;
}
.blog-card .link-arrow {
	margin-top: 4px;
}

/* EBOOK */
.section-ebook {
	background: var(--surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.ebook-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 80px;
	align-items: center;
}
.ebook-visual {
	display: grid;
	place-items: center;
	padding: 20px;
}
.book {
	width: 260px;
	aspect-ratio: 2/2.8;
	perspective: 1400px;
	transform: rotate(-4deg);
	transition: transform 500ms ease;
}
.book:hover {
	transform: rotate(0) translateY(-6px);
}
.book-cover {
	position: relative;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #1a1c1f 0%, #0b0c0d 100%);
	border-radius: 4px 12px 12px 4px;
	box-shadow:
		0 0 0 1px rgba(245, 158, 11, 0.4),
		-8px 0 0 -2px #0b0c0d,
		-8px 0 0 -1px rgba(245, 158, 11, 0.4),
		20px 40px 60px -20px rgba(0, 0, 0, 0.6),
		0 0 60px -10px rgba(245, 158, 11, 0.3);
	overflow: hidden;
}
.book-spine {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 12px;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent);
}
.book-content {
	position: relative;
	padding: 28px 24px 20px 32px;
	height: 100%;
	display: flex;
	flex-direction: column;
	color: #f4efe6;
}
.book-eyebrow {
	font-size: 9px;
	letter-spacing: 0.24em;
	color: #f59e0b;
	font-weight: 700;
}
.book-title {
	font-family: "Bebas Neue", sans-serif;
	font-size: 38px;
	line-height: 0.95;
	letter-spacing: 0.02em;
	margin: 18px 0 14px;
	text-transform: uppercase;
}
.book-rule {
	width: 40px;
	height: 3px;
	background: #f59e0b;
	margin-bottom: 14px;
}
.book-foot {
	font-size: 8px;
	letter-spacing: 0.24em;
	color: rgba(244, 239, 230, 0.55);
	font-weight: 600;
	margin-top: auto;
	margin-bottom: 8px;
}
.book-road {
	position: absolute;
	bottom: -10px;
	right: -8px;
	width: 130px;
	opacity: 0.9;
}

.ebook-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 28px 0;
}
.ebook-list li {
	position: relative;
	padding-left: 28px;
	color: var(--text-soft);
	font-size: 15px;
}
.ebook-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 14px;
	height: 4px;
	background: var(--accent);
	border-radius: 2px;
}
.ebook-form {
	padding: 28px;
	background: var(--bg);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-top: 8px;
}

/* CTA / CONTACT */
.section-cta {
	background:
		radial-gradient(
			60% 100% at 50% 0%,
			var(--accent-glow),
			transparent 70%
		),
		var(--bg);
	padding: 120px 0;
}
.cta-inner {
	max-width: 880px;
	margin: 0 auto;
}
.cta-head {
	text-align: center;
	margin-bottom: 48px;
}
.cta-sub {
	color: var(--text-soft);
	font-size: 17px;
	max-width: 60ch;
	margin: 20px auto 0;
}

.cta-form,
.ebook-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.cta-form {
	background: var(--surface);
	padding: 36px;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
}
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.form-full {
	display: block;
}
.cta-form label,
.ebook-form label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-mute);
	font-weight: 600;
}
.cta-form input,
.cta-form select,
.cta-form textarea,
.ebook-form input {
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--border-strong);
	border-radius: 8px;
	padding: 12px 14px;
	transition:
		border-color var(--t-fast),
		box-shadow var(--t-fast);
}
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus,
.ebook-form input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 4px var(--accent-glow);
}
.form-success {
	color: var(--accent);
	font-size: 14px;
	font-weight: 600;
	margin-top: 4px;
}

.cta-direct {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--border);
}
.cta-direct > div {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.cta-phone,
.cta-email,
.cta-hours {
	font-family: "Bebas Neue", sans-serif;
	font-size: 22px;
	letter-spacing: 0.02em;
	color: var(--text);
}
.cta-email {
	font-size: 15px;
	font-family: "Inter", sans-serif;
	font-weight: 500;
	white-space: nowrap;
	word-break: normal;
	overflow-wrap: normal;
}
.cta-phone:hover,
.cta-email:hover {
	color: var(--accent);
}

/* FOOTER */
.site-footer {
	background: var(--surface);
	border-top: 1px solid var(--border);
	padding: 72px 0 24px;
}
.footer-inner {
	display: grid;
	grid-template-columns: 1.4fr 3fr;
	gap: 64px;
}
.footer-brand {
	color: var(--text);
}
.footer-logo {
	height: 40px;
	width: auto;
	margin-bottom: 16px;
}
.footer-logo-img {
	height: 64px;
	width: auto;
	margin-bottom: 16px;
	display: block;
	max-width: 260px;
}
.footer-brand p {
	color: var(--text-soft);
	font-size: 14px;
	max-width: 30ch;
}

.footer-cols {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 24px;
}
.footer-head {
	display: block;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--accent);
	margin-bottom: 16px;
}
.footer-cols ul li {
	margin-bottom: 8px;
}
.footer-cols ul a {
	font-size: 13px;
	color: var(--text-soft);
	transition: color var(--t-fast);
}
.footer-cols ul a:hover {
	color: var(--accent);
}

.footer-bottom {
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 12px;
	color: var(--text-mute);
}

/* ============== REVEAL ANIMATIONS ============== */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 700ms ease,
		transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.marquee-track {
		animation: none;
	}
	html {
		scroll-behavior: auto;
	}
}

/* ============== RESPONSIVE ============== */
@media (max-width: 980px) {
	.nav {
		display: none;
	}
	.nav-toggle {
		display: flex;
	}
	.header-actions .btn-primary {
		display: none;
	}

	.feature-grid,
	.mail-grid,
	.proof-grid,
	.ebook-grid,
	.truck-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.feature-grid--reverse .feature-copy {
		order: 0;
	}
	.feature-grid--reverse .feature-media {
		order: 0;
	}

	.footer-inner {
		grid-template-columns: 1fr;
	}
	.footer-cols {
		grid-template-columns: repeat(2, 1fr);
	}
	.mail-card {
		position: static;
	}
}

@media (max-width: 640px) {
	.container {
		padding: 0 20px;
	}
	.header-inner {
		padding: 12px 20px;
	}
	.section {
		padding: 80px 0;
	}
	.section-feature {
		padding: 70px 0;
	}
	.hero-inner {
		padding: 110px 20px 80px;
	}
	.hero-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		margin-top: 56px;
	}
	.stat-num {
		font-size: 30px;
	}
	.form-row {
		grid-template-columns: 1fr;
	}
	.cta-form {
		padding: 24px;
	}
	.ebook-form {
		padding: 22px;
	}
	.cta-direct {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.footer-cols {
		grid-template-columns: 1fr 1fr;
	}
	.service-card,
	.truck-card,
	.process-step {
		padding: 24px;
	}
	.benefit {
		padding: 28px 24px;
	}
	.mail-card,
	.ecosystem-card {
		padding: 28px;
	}
	.marquee-track {
		font-size: 18px;
	}
	.book {
		width: 220px;
	}
	.book-title {
		font-size: 32px;
	}
}

@media (max-width: 375px) {
	.hero-stats {
		grid-template-columns: 1fr 1fr;
	}
	.section-title {
		font-size: 32px;
	}
	.hero-title {
		font-size: 44px;
	}
}

/* Ebook button disabled state */
#ebookSubmit:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
}

/* Card action links */
.card-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 600;
	color: var(--accent);
	text-decoration: none;
	margin-top: auto;
	padding-top: 12px;
	letter-spacing: 0.02em;
	transition: gap 0.2s ease;
}
.card-link:hover {
	gap: 8px;
}

/* Full-bleed photo divider with overlay quote */
.photo-divider {
	position: relative;
	width: 100%;
	height: 380px;
	overflow: hidden;
}
.photo-divider img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.photo-divider-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(11, 12, 13, 0.82) 40%,
		rgba(11, 12, 13, 0.3) 100%
	);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 8%;
	gap: 24px;
}
.photo-divider-overlay p {
	font-family: var(--font-display);
	font-size: clamp(22px, 3vw, 36px);
	color: #fff;
	max-width: 520px;
	line-height: 1.25;
}

/* Disabled button styling for all forms */
button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
}

/* Rift logo + tagline wrapper */
.rift-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}
.rift-tag {
	font-family: var(--font-body);
	font-size: 10px;
	font-style: italic;
	color: var(--text-soft);
	letter-spacing: 0.02em;
	line-height: 1;
}
.rift-tag--footer {
	color: rgba(250, 247, 241, 0.55);
}

/* ============== GOOGLE REVIEWS ============== */
.section-reviews {
	background: var(--surface);
}
.review-count {
	font-size: 0.55em;
	opacity: 0.6;
	letter-spacing: 0.02em;
}
.reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 24px;
	margin-top: 48px;
}
.review-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}
.review-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
	background: var(--surface-2);
	border-color: var(--accent);
}
.review-card:hover blockquote {
	color: var(--text);
}
.review-stars {
	color: #f59e0b;
	font-size: 18px;
	letter-spacing: 2px;
}
.review-card blockquote {
	font-size: 15px;
	line-height: 1.7;
	color: var(--text-soft);
	margin: 0;
	font-style: italic;
	flex: 1;
}
.review-card cite {
	font-size: 13px;
	font-weight: 700;
	color: var(--accent);
	font-style: normal;
	letter-spacing: 0.02em;
}
.reviews-cta {
	margin-top: 40px;
	text-align: center;
}
.btn-outline {
	background: transparent;
	border: 2px solid var(--accent);
	color: var(--accent);
	padding: 14px 32px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	display: inline-block;
	transition:
		background 0.2s ease,
		color 0.2s ease;
}
.btn-outline:hover {
	background: var(--accent);
	color: #fff;
}

/* ============== TAGLINE STRIP ============== */
.tagline-strip {
	background: var(--accent);
	color: #0b0c0d;
	overflow: hidden;
	padding: 12px 0;
	white-space: nowrap;
}
.tagline-inner {
	display: inline-flex;
	gap: 32px;
	animation: marquee 28s linear infinite;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.tagline-inner strong {
	font-weight: 800;
}
.tagline-dot {
	opacity: 0.5;
}
@keyframes marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* ============== NETWORK GRID ============== */
.network-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
	margin-top: 48px;
}
.network-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		background 0.2s ease;
}
.network-card:hover {
	transform: translateY(-4px);
	border-color: var(--accent);
	background: var(--surface-2);
}
.network-card:hover h3 {
	color: var(--accent);
}
.network-icon {
	color: var(--accent);
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
}
.network-card h3 {
	font-family: "Bebas Neue", sans-serif;
	font-size: 22px;
	letter-spacing: 0.04em;
	color: var(--text);
	transition: color 0.2s;
}
.network-card p {
	font-size: 15px;
	color: var(--text-soft);
	line-height: 1.65;
	flex: 1;
}

/* ============== WHATSAPP BUTTON ============== */
.whatsapp-btn {
	position: fixed;
	bottom: 28px;
	right: 28px;
	background: #25d366;
	color: #fff;
	border-radius: 50px;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
	z-index: 999;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}
.whatsapp-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

/* ============== TECH / AI SECTION ============== */
.tech-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
	margin-top: 48px;
}
.tech-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		background 0.2s ease;
}
.tech-card:hover {
	transform: translateY(-4px);
	border-color: var(--accent);
	background: var(--surface-2);
}
.tech-card:hover h3 {
	color: var(--accent);
}
.tech-icon {
	font-size: 28px;
	line-height: 1;
}
.tech-card h3 {
	font-family: "Bebas Neue", sans-serif;
	font-size: 20px;
	letter-spacing: 0.04em;
	color: var(--text);
	transition: color 0.2s;
}
.tech-card p {
	font-size: 14px;
	color: var(--text-soft);
	line-height: 1.7;
}

/* ============== ALIGNMENT FIXES ============== */
/* Hero eyebrow — prevent wrapping */
.hero-eyebrow {
	white-space: nowrap;
}

/* Section headings — consistent left alignment */
.section-head,
.section-title,
.section-lede {
	text-align: left;
}

/* All cards consistent left alignment */
.service-card,
.truck-card,
.proof-stat,
.review-card,
.tech-card,
.network-card,
.blog-card {
	text-align: left;
}

/* Mobile hero font size fix — prevent word breaks */
@media (max-width: 480px) {
	.hero-title {
		font-size: clamp(36px, 11vw, 72px);
		line-height: 1;
	}
}
