/* ==========================================================================
   Overland Adventure 4x4 — landing
   Brand: Night #002130 · Trail Olive #475905 · Blaze #FF5A00 · Granite #909090
   Type: DCC Ash (display, distressed) + Poppins (wordmark face, text)
   ========================================================================== */

@font-face {
	font-family: "Ash";
	src: url("../fonts/dcc-ash.woff2") format("woff2");
	font-display: swap;
}
/* DCC Ash lacks ñ ¿ ¡ — a condensed fallback fills only those glyphs. */
@font-face {
	font-family: "AshES";
	src: url("../fonts/anton-es.woff2") format("woff2");
	unicode-range: U+00F1, U+00D1, U+00BF, U+00A1;
	font-display: swap;
}
@font-face { font-family: "Poppins"; font-weight: 400; src: url("../fonts/poppins-400.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Poppins"; font-weight: 500; src: url("../fonts/poppins-500.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Poppins"; font-weight: 600; src: url("../fonts/poppins-600.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Poppins"; font-weight: 700; src: url("../fonts/poppins-700.woff2") format("woff2"); font-display: swap; }

:root {
	--night: #002130;
	--night-deep: #00141d;
	--night-lift: #0b3243;
	--olive: #475905;
	--olive-lift: #5d7409;
	--blaze: #ff5a00;
	--blaze-hot: #ff7a2e;
	--granite: #909090;
	--concrete: #e3e5e1;
	--sand: #b9a47f;
	--white: #ffffff;
	--mist: #c4ccd0;          /* secondary text on night */
	--slate: #4a5a62;         /* secondary text on concrete */

	--f-display: "Ash", "AshES", Impact, "Arial Narrow", sans-serif;
	--f-text: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

	--gutter: clamp(16px, 4vw, 56px);
	--max: 1360px;
	--ease-out: cubic-bezier(.22, 1, .36, 1);
	--ease-io: cubic-bezier(.65, 0, .35, 1);
	--nav-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body {
	margin: 0;
	background: var(--night);
	color: var(--white);
	font: 400 1rem/1.65 var(--f-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
	text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--blaze); color: var(--night); }
:focus-visible { outline: 3px solid var(--blaze); outline-offset: 3px; border-radius: 2px; }

.sr-only {
	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 {
	position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--blaze); color: var(--night);
	padding: 12px 18px; font-weight: 600; transition: top .3s var(--ease-out);
}
.skip:focus { top: 16px; }

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

.display {
	font-family: var(--f-display);
	font-weight: 400;
	text-transform: uppercase;
	font-size: clamp(3rem, 9vw, 8.5rem);
	line-height: .86;
	letter-spacing: -.005em;
}

/* Film grain across the whole page — the rugged, dusty layer. */
.grain {
	position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
	0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
	60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 4%); } 100% { transform: translate(0, 0); }
}

/* ---------- Buttons ---------- */
.btn {
	--bg: var(--blaze); --fg: var(--night);
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	min-height: 54px; padding: 0 28px; border-radius: 999px;
	background: var(--bg); color: var(--fg);
	font: 600 .98rem/1 var(--f-text); letter-spacing: .01em;
	overflow: hidden; isolation: isolate;
	transition: color .4s var(--ease-out), box-shadow .4s var(--ease-out);
	will-change: transform;
}
.btn > span { position: relative; z-index: 1; display: inline-flex; gap: .45em; align-items: baseline; }
.btn b { font-weight: 700; }
/* fill wipes up from the bottom like mud rising */
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
	background: var(--white); transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--blaze:hover { box-shadow: 0 10px 40px -10px rgba(255, 90, 0, .7); }
.btn--ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn--ghost:hover { color: var(--night); }
.btn--night { --bg: var(--night); --fg: var(--white); }
.btn--night::before { background: var(--blaze); }
.btn--night:hover { color: var(--night); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9rem; }
.btn--wide { width: 100%; }

/* ---------- Loader ---------- */
.loader {
	position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; background: var(--night);
}
.no-js .loader, .reduced .loader { display: none; }
.loader__mark { position: relative; width: clamp(88px, 14vw, 140px); }
.loader__mark svg { width: 100%; height: auto; }
.loader__ghost { fill: var(--night-lift); }
.loader__fill { position: absolute; inset: 0; fill: var(--blaze); clip-path: inset(100% 0 0 0); }
.loader__count {
	position: absolute; bottom: 7vh; font: 400 clamp(2rem, 5vw, 3.5rem)/1 var(--f-display); color: var(--granite);
}

/* ---------- Curtain (language switch) ---------- */
.curtain {
	position: fixed; inset: 0; z-index: 160; background: var(--blaze); display: grid; place-items: center;
	visibility: hidden; pointer-events: none;
}
.curtain__icon { width: 90px; fill: var(--night); }

/* ---------- Nav ---------- */
.nav {
	position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding-inline: var(--gutter);
	transition: background .5s var(--ease-out), transform .5s var(--ease-out), height .4s var(--ease-out);
}
.nav.is-solid { background: rgba(0, 33, 48, .82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); height: 64px; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: block; width: clamp(150px, 14vw, 190px); flex: none; }
.logo { width: 100%; height: auto; }
.logo__icon { fill: var(--blaze); }
.logo__word { fill: var(--white); }
.nav__links { display: flex; gap: clamp(16px, 2.2vw, 34px); font-size: .92rem; font-weight: 500; }
.nav__links a { position: relative; padding: 6px 0; color: rgba(255, 255, 255, .86); transition: color .3s; }
.nav__links a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blaze);
	transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__end { display: flex; align-items: center; gap: 14px; }

.lang {
	position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center;
	height: 38px; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3);
	font-size: .75rem; font-weight: 600; letter-spacing: .06em;
}
.lang > span:not(.sr-only) { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 32px; border-radius: 999px; color: rgba(255, 255, 255, .7); transition: color .3s; }
.lang > span.is-on { background: var(--white); color: var(--night); }
.lang:hover > span:not(.is-on):not(.sr-only) { color: var(--blaze); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.burger i:nth-of-type(1) { top: 18px; }
.burger i:nth-of-type(2) { top: 26px; }
.burger[aria-expanded="true"] i:nth-of-type(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-of-type(2) { top: 22px; transform: rotate(-45deg); }

.menu {
	position: fixed; inset: 0; z-index: 99; background: var(--olive); color: var(--white);
	display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 20px) var(--gutter) 32px;
	clip-path: circle(0% at calc(100% - 40px) 38px); overflow: hidden;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; gap: 2px; position: relative; z-index: 1; margin-top: auto; }
.menu nav a { font: 400 clamp(2.6rem, 12vw, 4.4rem)/1 var(--f-display); text-transform: uppercase; padding: 4px 0; }
.menu nav a:active { color: var(--blaze); }
.menu__foot { position: relative; z-index: 1; margin-top: auto; display: flex; justify-content: space-between; gap: 16px; font-weight: 500; flex-wrap: wrap; }
.menu__mark { position: absolute; right: -14%; bottom: -8%; width: 75%; fill: rgba(0, 33, 48, .22); }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--night); }
.hero__media { position: absolute; inset: 0; }
.hero__media { transform-origin: 50% 50%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
.hero__shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(0, 33, 48, .55) 0%, rgba(0, 33, 48, 0) 28%),
		linear-gradient(0deg, rgba(0, 20, 29, .92) 0%, rgba(0, 20, 29, .35) 42%, rgba(0, 20, 29, 0) 62%);
}
.hero__portal { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.no-js .hero__portal, .reduced .hero__portal { display: none; }
.portal-fill { fill: var(--night); }
.portal-line path { stroke: var(--blaze); stroke-width: 1.5px; opacity: .9; }

.hero__pre {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between;
	padding-inline: var(--gutter); pointer-events: none;
	font: 400 clamp(2.6rem, 8.2vw, 9rem)/.85 var(--f-display); text-transform: uppercase; color: var(--white);
}
.hero__pre > span { display: block; max-width: 36vw; }
.hero__pre .word { white-space: nowrap; }
.hero__pre-b { text-align: right; color: var(--granite); }
.no-js .hero__pre, .reduced .hero__pre { display: none; }

.hero__hint {
	position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	font-size: .78rem; font-weight: 500; letter-spacing: .04em; color: var(--mist);
}
.hero__hint i { width: 1.5px; height: 44px; background: linear-gradient(var(--blaze), transparent); transform-origin: top; animation: hint 1.8s var(--ease-io) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.no-js .hero__hint, .reduced .hero__hint { display: none; }

.hero__content {
	position: absolute; inset: auto 0 0; padding: 0 var(--gutter) clamp(28px, 6vh, 64px);
	max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto;
}
.hero__title {
	font: 400 clamp(3.4rem, 9.6vw, 9.8rem)/.84 var(--f-display); text-transform: uppercase;
	margin-bottom: clamp(18px, 3vh, 34px);
}
.hero__title br + * , .hero__title { color: var(--white); }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.hero__sub { max-width: 46ch; font-size: clamp(1rem, 1.25vw, 1.15rem); color: #dfe5e8; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Ticker ---------- */
.ticker { position: relative; z-index: 2; margin-top: -1px; background: var(--night); padding: clamp(28px, 5vw, 56px) 0; overflow: hidden; }
.ticker__band {
	position: relative; transform: rotate(-2deg) scale(1.04); padding: 20px 0;
}
.ticker__band::before {
	content: ""; position: absolute; inset: 0; background: var(--sand);
	-webkit-mask: url("../img/brush.svg") center / 100% 100% no-repeat; mask: url("../img/brush.svg") center / 100% 100% no-repeat;
}
.ticker__track { position: relative; display: flex; width: max-content; will-change: transform; }
.ticker__list { display: flex; flex: none; }
.ticker__list li {
	display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px);
	font: 400 clamp(2rem, 4.6vw, 4.2rem)/1 var(--f-display); text-transform: uppercase; color: var(--night); white-space: nowrap;
}
.ticker__mark { width: .8em; fill: var(--blaze); flex: none; }

/* ---------- Manifesto ---------- */
.manifesto { position: relative; background: var(--concrete); color: var(--night); padding: clamp(110px, 18vw, 240px) 0; overflow: hidden; }
.manifesto__ghost {
	position: absolute; right: -4vw; top: 50%; transform: translateY(-50%);
	font: 400 48vw/.8 var(--f-display); color: rgba(0, 33, 48, .045);
	pointer-events: none; user-select: none;
}
.manifesto .wrap { position: relative; }
.manifesto__icon { width: 54px; fill: var(--olive); margin-bottom: 36px; }
.manifesto__text {
	max-width: 22ch; font: 600 clamp(1.9rem, 4.6vw, 4.4rem)/1.08 var(--f-text); letter-spacing: -.025em;
}
.manifesto__text .w { opacity: .13; transition: none; }
.no-js .manifesto__text .w, .reduced .manifesto__text .w { opacity: 1; }
.manifesto__sign { margin-top: 40px; font-weight: 500; color: var(--olive); display: flex; align-items: center; gap: 14px; }
.manifesto__sign::before { content: ""; width: 48px; height: 2px; background: currentColor; }

/* ---------- Section heads ---------- */
.sec-head { display: grid; grid-template-columns: 1fr minmax(0, 30ch); align-items: end; gap: 24px 48px; margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sec-head__intro { color: var(--mist); font-size: 1.05rem; max-width: 34ch; }
[data-reveal-title] .line { overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }

/* ---------- Services ---------- */
.services { position: relative; background: var(--night); padding: clamp(100px, 14vw, 190px) 0 clamp(100px, 12vw, 170px); }
.services .display { color: var(--white); }
.svc { border-top: 1px solid rgba(255, 255, 255, .14); }
.svc__row {
	position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 40px; align-items: center; gap: 12px 40px;
	padding: clamp(22px, 3vw, 38px) 0; border-bottom: 1px solid rgba(255, 255, 255, .14); cursor: default;
}
.svc__row::before { /* olive sweep on hover */
	content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); background: var(--olive);
	transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease-out); z-index: 0;
}
.svc__row > * { position: relative; z-index: 1; }
.svc__title { font: 400 clamp(2rem, 5vw, 4.4rem)/.9 var(--f-display); text-transform: uppercase; transition: transform .55s var(--ease-out); }
.svc__desc { color: var(--mist); max-width: 40ch; transition: color .4s; }
.svc__arrow { width: 32px; height: 32px; fill: none; stroke: var(--blaze); stroke-width: 2; transition: transform .5s var(--ease-out), stroke .3s; }
.svc__thumb { display: none; }
@media (hover: hover) and (min-width: 901px) {
	.svc__row:hover::before { transform: scaleY(1); }
	.svc__row:hover .svc__title { transform: translateX(14px); }
	.svc__row:hover .svc__desc { color: var(--white); }
	.svc__row:hover .svc__arrow { transform: rotate(-45deg); stroke: var(--white); }
}
.svc-float {
	position: fixed; left: 0; top: 0; z-index: 5; width: clamp(240px, 22vw, 340px); aspect-ratio: 4 / 5;
	pointer-events: none; opacity: 0; transform: translate(-50%, -50%);
}
.svc-float__inner { width: 100%; height: 100%; border-radius: 6px; overflow: hidden; background: var(--night-lift) center / cover no-repeat; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }

/* ---------- Builds ---------- */
.builds { position: relative; background: var(--concrete); color: var(--night); overflow: hidden; }
.builds__pin { position: relative; min-height: 100svh; padding: clamp(96px, 12vh, 140px) 0 48px; display: flex; flex-direction: column; justify-content: center; }
.builds__ghost {
	position: absolute; top: 50%; left: 0; white-space: nowrap; transform: translateY(-50%);
	font: 400 26vw/.8 var(--f-display); color: rgba(71, 89, 5, .08);
	pointer-events: none; user-select: none;
}
.builds__head { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 30ch); align-items: end; gap: 16px 48px; margin-bottom: clamp(28px, 4vh, 48px); }
.builds__head .sec-head__intro { color: var(--slate); }
.builds__viewport { position: relative; }
.builds__track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.card { flex: none; width: clamp(240px, min(27vw, 44vh), 400px); }
.card:nth-child(even) { margin-top: clamp(20px, 6vh, 70px); }
.card__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #cfd3cd; }
.card__img img { position: absolute; inset: -6% -10%; width: 120%; height: 112%; max-width: none; object-fit: cover; }
.card figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; }
.card__name { font: 400 clamp(1.6rem, 2.3vw, 2.2rem)/1 var(--f-display); text-transform: uppercase; }
.card__mods { font-size: .9rem; color: var(--slate); }
.builds__progress { position: relative; display: flex; align-items: center; gap: 18px; margin-top: clamp(24px, 4vh, 44px); font-size: .82rem; font-weight: 500; color: var(--slate); }
.builds__progress::before { content: ""; position: absolute; left: var(--gutter); width: min(260px, 40vw); height: 2px; background: rgba(0, 33, 48, .14); }
.builds__progress i { position: relative; width: min(260px, 40vw); height: 2px; background: var(--blaze); transform: scaleX(0); transform-origin: left; flex: none; }

/* ---------- Process (trail) ---------- */
.process { position: relative; background: var(--night); padding: clamp(100px, 14vw, 180px) 0; overflow: hidden; }
.process .display { color: var(--white); }
.route { position: relative; max-width: 1100px; margin-inline: auto; }
.route__svg { position: absolute; left: 50%; top: 0; width: 240px; height: 100%; transform: translateX(-50%); overflow: visible; }
.route__svg path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route__base { stroke: rgba(255, 255, 255, .14); stroke-width: 2; stroke-dasharray: 2 10; }
.route__draw { stroke: var(--blaze); stroke-width: 3; }
.route__dot {
	position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
	background: var(--blaze); box-shadow: 0 0 0 6px rgba(255, 90, 0, .2), 0 0 30px 6px rgba(255, 90, 0, .45);
}
.no-js .route__dot, .reduced .route__dot { display: none; }
.route__steps { position: relative; display: grid; gap: clamp(80px, 14vh, 150px); padding: 40px 0; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); align-items: center; }
.step__num {
	grid-column: 2; justify-self: center; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%;
	background: var(--night); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25);
	font: 400 2rem/1 var(--f-display); color: var(--mist); transition: background .5s, color .5s, box-shadow .5s;
}
.step.is-on .step__num { background: var(--blaze); color: var(--night); box-shadow: inset 0 0 0 2px var(--blaze), 0 0 0 10px rgba(255, 90, 0, .12); }
.step__body { grid-row: 1; max-width: 38ch; }
.step:nth-child(odd) .step__body { grid-column: 1; justify-self: end; text-align: right; }
.step:nth-child(even) .step__body { grid-column: 3; }
.step h3 { font: 400 clamp(2rem, 3.6vw, 3.3rem)/.92 var(--f-display); text-transform: uppercase; margin-bottom: 12px; }
.step p { color: var(--mist); }

/* ---------- Training ---------- */
.training { position: relative; background: var(--night-deep); padding: clamp(110px, 14vw, 190px) 0; overflow: hidden; isolation: isolate; }
.training__terrain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.4s var(--ease-out); }
.training__terrain.is-ready { opacity: 1; }
.training__fade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 20, 29, .94) 0%, rgba(0, 20, 29, .7) 45%, rgba(0, 20, 29, .15) 100%); }
.training__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.training__kicker { font-weight: 600; color: var(--blaze); margin-bottom: 10px; font-size: 1.05rem; }
.training__title { font: 400 clamp(3rem, 7.2vw, 7.6rem)/.9 var(--f-display); text-transform: uppercase; margin-bottom: 30px; }
.brush { position: relative; display: inline-block; white-space: nowrap; padding: .1em .26em .04em; color: var(--white); isolation: isolate; }
.brush::before {
	content: ""; position: absolute; inset: 0 -.1em; z-index: -1; background: var(--sand);
	-webkit-mask: url("../img/brush.svg") center / 100% 100% no-repeat; mask: url("../img/brush.svg") center / 100% 100% no-repeat;
	transform-origin: left; transform: scaleX(var(--brush, 1));
}
.training__lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 46ch; color: #dfe5e8; margin-bottom: 30px; }
.modules { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; max-width: 640px; }
.modules li {
	padding: 10px 16px; background: var(--night); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
	font-weight: 600; font-size: .9rem; line-height: 1.3;
}
.training__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 36px; max-width: 640px; }
.training__meta div { border-top: 2px solid var(--olive-lift); padding-top: 12px; }
.training__meta dt { font-size: .82rem; font-weight: 600; color: var(--granite); margin-bottom: 4px; }
.training__meta dd { font-weight: 500; }
.training__flyer { justify-self: end; width: min(100%, 440px); transform: rotate(3deg); transition: transform .8s var(--ease-out); transform-style: preserve-3d; }
.training__flyer img { width: 100%; border-radius: 4px; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8); }

/* ---------- Shop ---------- */
.shop { background: var(--concrete); color: var(--night); padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; }
.shop__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.shop__collage { position: relative; aspect-ratio: 1 / 1.05; }
.shop__ph { position: absolute; overflow: hidden; border-radius: 4px; box-shadow: 0 40px 80px -30px rgba(0, 33, 48, .45); }
.shop__ph img { width: 100%; height: 100%; object-fit: cover; }
.shop__ph--a { left: 0; top: 6%; width: 74%; aspect-ratio: 4 / 3; }
.shop__ph--b { right: 0; top: 0; width: 38%; aspect-ratio: 3 / 4; }
.shop__ph--c { left: 18%; bottom: 0; width: 40%; aspect-ratio: 3 / 4; border: 8px solid var(--concrete); }
.shop__copy .display { margin-bottom: 28px; }
.shop__copy > p { font-size: 1.12rem; max-width: 40ch; color: var(--slate); margin-bottom: 28px; }
.shop__addr { display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; font-weight: 600; font-size: 1.05rem; }
.shop__addr a { color: var(--olive); }

/* ---------- Contact ---------- */
.contact { position: relative; padding: clamp(110px, 14vw, 190px) 0; overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: -10% 0; z-index: -1; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 33, 48, .96) 0%, rgba(0, 33, 48, .86) 50%, rgba(0, 33, 48, .7) 100%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__title { font: 400 clamp(3.6rem, 10vw, 9.5rem)/.84 var(--f-display); text-transform: uppercase; margin-bottom: 28px; }
.contact__copy > p { font-size: 1.12rem; max-width: 38ch; color: #dfe5e8; margin-bottom: 40px; }
.contact__direct { display: grid; gap: 12px; max-width: 420px; }
.direct {
	display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 6px;
	background: rgba(0, 20, 29, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
	font-weight: 600; font-size: 1.1rem; transition: background .4s var(--ease-out), box-shadow .4s;
}
.direct small { display: block; font-size: .76rem; font-weight: 500; color: var(--granite); }
.direct svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--blaze); fill: var(--night); flex: none; }
.direct:hover { background: rgba(255, 90, 0, .12); box-shadow: inset 0 0 0 1px var(--blaze); }

.form { background: var(--night); padding: clamp(24px, 3.4vw, 44px); border-radius: 8px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .08); display: grid; gap: 14px; }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea {
	width: 100%; padding: 26px 16px 10px; border: 0; border-radius: 4px; background: var(--night-lift); color: var(--white);
	font: 500 1rem/1.4 var(--f-text); box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .12); transition: box-shadow .3s;
	resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 -2px 0 var(--blaze); }
.field label { position: absolute; left: 16px; top: 18px; color: var(--mist); font-size: 1rem; pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease-out), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.74); color: var(--blaze); }
.field ::placeholder { color: transparent; }
.field.is-invalid input { box-shadow: inset 0 -2px 0 #ff8a8a; }
.chips { border: 0; padding: 4px 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 10px; font-size: .88rem; font-weight: 600; color: var(--mist); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
	display: inline-block; padding: 9px 14px; border-radius: 999px; font-size: .84rem; font-weight: 500;
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); transition: background .3s, color .3s, box-shadow .3s;
}
.chip input:checked + span { background: var(--blaze); color: var(--night); box-shadow: inset 0 0 0 1.5px var(--blaze); }
.chip input:focus-visible + span { outline: 3px solid var(--blaze); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form__status { min-height: 1.4em; font-weight: 500; font-size: .95rem; }
.form__status.is-ok { color: #a7d36a; }
.form__status.is-err { color: #ffb38a; }

/* ---------- Footer ---------- */
.footer { background: var(--night-deep); padding-top: clamp(80px, 10vw, 130px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__tag { color: var(--mist); margin-bottom: 14px; max-width: 30ch; }
.footer__phone { display: block; font: 400 clamp(2rem, 3.6vw, 3.2rem)/1 var(--f-display); transition: color .3s; }
.footer__phone:hover { color: var(--blaze); }
.footer__mail { display: block; margin-top: 8px; color: var(--mist); }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-content: start; font-weight: 500; }
.footer__nav a, .footer__social a { color: var(--mist); transition: color .3s; }
.footer__nav a:hover, .footer__social a:hover { color: var(--white); }
.footer__social { display: flex; flex-direction: column; gap: 8px; }
.footer__social p { font-weight: 600; margin-bottom: 4px; }
.footer__mark { padding: clamp(60px, 9vw, 120px) var(--gutter) 0; }
.footer__logo { width: 100%; height: auto; }
.footer__logo .logo__icon { fill: var(--blaze); }
.footer__logo .logo__word { fill: var(--night-lift); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-block: 28px 36px; font-size: .85rem; color: var(--granite); }
.footer__bottom a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.nav__links { display: none; }
	.burger { display: block; }
}
@media (max-width: 900px) {
	:root { --nav-h: 66px; }
	.nav__cta { display: none; }
	.hero__pre { flex-direction: column; justify-content: center; gap: calc(var(--portal-h, 46vmin) + 44px); text-align: center; font-size: clamp(2.4rem, 11vw, 4.2rem); }
	.hero__media img { object-position: 68% 62%; }
	.hero__pre span, .hero__pre-b { max-width: none; text-align: center; }
	.sec-head, .builds__head { grid-template-columns: 1fr; }
	.svc__row { grid-template-columns: minmax(0, 1fr) 76px; gap: 8px 18px; }
	.svc__title { grid-column: 1; }
	.svc__desc { grid-column: 1; }
	.svc__thumb { display: block; grid-column: 2; grid-row: 1 / span 2; width: 76px; aspect-ratio: 1; border-radius: 4px; overflow: hidden; }
	.svc__thumb img { width: 100%; height: 100%; object-fit: cover; }
	.svc__arrow { display: none; }
	.svc-float { display: none; }

	/* Builds become a native swipe rail on touch screens */
	.builds__pin { min-height: 0; }
	.builds__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.builds__viewport::-webkit-scrollbar { display: none; }
	.builds__track { transform: none !important; }
	.card { width: 76vw; scroll-snap-align: center; }
	.card:nth-child(even) { margin-top: 0; }

	.route__svg { left: 32px; width: 64px; transform: none; }
	.step { grid-template-columns: 64px minmax(0, 1fr); gap: 0 18px; align-items: start; }
	.step__num { grid-column: 1; width: 56px; height: 56px; font-size: 1.6rem; }
	.step .step__body, .step:nth-child(odd) .step__body, .step:nth-child(even) .step__body { grid-column: 2; grid-row: 1; justify-self: start; text-align: left; padding-top: 6px; }

	.training__grid, .shop__grid, .contact__grid { grid-template-columns: 1fr; }
	.training__fade { background: linear-gradient(180deg, rgba(0, 20, 29, .7), rgba(0, 20, 29, .92)); }
	.training__flyer { justify-self: center; max-width: 340px; }
	.footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.form__two { grid-template-columns: 1fr; }
	.hero__ctas { width: 100%; }
	.hero__ctas .btn { flex: 1 1 100%; }
	.training__meta { grid-template-columns: 1fr; }
	.nav .lang { height: 34px; }
	.lang > span:not(.sr-only) { width: 32px; height: 28px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.grain { animation: none; }
}

/* SplitText line masks: leave headroom so Spanish accents (Í, Á, É) aren't clipped */
.hero__title > div, [data-reveal-title] > div { padding-top: .16em; margin-top: -.16em; }

.only-touch { display: none; }
@media (max-width: 900px) { .only-desk { display: none; } .only-touch { display: inline; } }
