/* IRIMAT Cons: one design language with the presentation film. Night navy and amber, drafting grids,
   dimension lines, kilometre posts. Mobile first where layouts differ; breakpoints 560 / 900 / 1100. */

:root {
	--night: #000c1c;
	--night-2: #00142b;
	--navy-deep: #001e40;
	--navy: #003366;
	--sky: #6fb6f2;
	--accent: #f4b400;
	--accent-hot: #ff8c00;
	--red: #c8102e;
	--surface: #f9f9fe;
	--surface-low: #f1f2f8;
	--ink: #1a1c1f;
	--muted: #4a4f59;
	--technical: #607d8b;
	--on-dark: rgba(228, 237, 250, 0.8);
	--on-dark-dim: rgba(228, 237, 250, 0.56);
	--line-dark: rgba(140, 185, 255, 0.16);
	--line-light: #dde2ec;

	--f-head: 'IBM Plex Sans', system-ui, sans-serif;
	--f-body: 'Inter', system-ui, sans-serif;
	--f-mono: 'JetBrains Mono', ui-monospace, monospace;

	--gutter: clamp(16px, 4.4vw, 48px);
	--wrap: 1280px;
	--header: 76px;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) - 1px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--night);
	color: #fff;
	font: 400 1rem/1.6 var(--f-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--navy-deep); }

.container { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }
.mono { font-family: var(--f-mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.accent { color: var(--accent); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--navy-deep); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.kicker {
	display: flex; align-items: center; gap: 16px;
	font: 600 0.8125rem/1.2 var(--f-mono); letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ''; width: 44px; height: 2px; background: currentColor; flex: none; }
.kicker--navy { color: var(--navy); }
.kicker--navy::before { background: var(--accent); }
.h2 {
	font: 700 clamp(2.1rem, 1.25rem + 3.3vw, 3.9rem)/1.04 var(--f-head);
	letter-spacing: -0.025em; margin-top: 22px; text-wrap: balance;
}
.h3 { font: 700 clamp(2rem, 1.1rem + 2.8vw, 3.4rem)/1.04 var(--f-head); letter-spacing: -0.025em; margin-top: 20px; }
.lead { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); line-height: 1.55; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 16px 26px; border-radius: 6px; border: 1px solid transparent;
	font: 600 1rem/1 var(--f-body); letter-spacing: 0.005em; white-space: nowrap;
	transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.btn span { transition: transform 0.25s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--accent { background: var(--accent); color: var(--navy-deep); box-shadow: 0 10px 30px rgba(244, 180, 0, 0.22); }
.btn--accent:hover { background: #ffc423; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(244, 180, 0, 0.34); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.32); color: #fff; background: rgba(0, 12, 28, 0.25); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 12px 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.link:hover { color: var(--accent); }

/* ---------- drafting grid ---------- */
.grid-overlay {
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(140, 185, 255, 0.11) 1px, transparent 1px),
		linear-gradient(90deg, rgba(140, 185, 255, 0.11) 1px, transparent 1px),
		linear-gradient(rgba(140, 185, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(140, 185, 255, 0.05) 1px, transparent 1px);
	background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px;
	mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%);
}
.grid-overlay--light {
	background-image:
		linear-gradient(rgba(0, 51, 102, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 51, 102, 0.08) 1px, transparent 1px),
		linear-gradient(rgba(0, 51, 102, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 51, 102, 0.035) 1px, transparent 1px);
}

/* ---------- header ---------- */
.header {
	position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header);
	transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
	border-bottom: 1px solid transparent;
}
.header.is-scrolled, body.menu-open .header {
	background: rgba(0, 12, 28, 0.84); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line-dark);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { display: grid; place-items: center; width: 54px; height: 36px; border-radius: 8px; background: var(--surface); box-shadow: 0 0 24px rgba(111, 182, 242, 0.25); }
.brand__mark img { width: 42px; height: auto; }
.brand__name { font: 700 1.3rem/1 var(--f-head); letter-spacing: 0.01em; }
.brand__name em { font-style: normal; font-weight: 500; color: var(--accent); }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__list a {
	position: relative; display: block; padding: 10px 14px; font-size: 0.93rem; font-weight: 500; color: rgba(255, 255, 255, 0.74);
	transition: color 0.2s;
}
.nav__list a::after {
	content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent);
	transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__list a:hover, .nav__list a.is-active { color: #fff; }
.nav__list a.is-active::after { transform: scaleX(1); }
.header__cta { flex: none; }
.burger { display: none; width: 46px; height: 46px; margin-left: auto; border: 1px solid var(--line-dark); border-radius: 10px; background: rgba(0, 12, 28, 0.4); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu {
	position: fixed; inset: 0; z-index: 45; background: var(--night); padding: calc(var(--header) + 28px) var(--gutter) 32px;
	display: flex; flex-direction: column; overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__grid { position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
	background-image: linear-gradient(rgba(140, 185, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 185, 255, 0.07) 1px, transparent 1px);
	background-size: 40px 40px; }
.menu__nav { position: relative; display: flex; flex-direction: column; }
.menu__nav a {
	display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-dark);
	font: 700 clamp(1.9rem, 1.2rem + 3.5vw, 2.8rem)/1.1 var(--f-head); letter-spacing: -0.02em;
	opacity: 0; transform: translateY(18px); animation: menu-in 0.6s var(--ease) forwards;
}
.menu__nav a span { font: 600 0.8rem var(--f-mono); color: var(--accent); letter-spacing: 0.2em; }
.menu__nav a:nth-child(2) { animation-delay: 0.04s; } .menu__nav a:nth-child(3) { animation-delay: 0.08s; }
.menu__nav a:nth-child(4) { animation-delay: 0.12s; } .menu__nav a:nth-child(5) { animation-delay: 0.16s; }
.menu__nav a:nth-child(6) { animation-delay: 0.2s; }
.menu__foot { position: relative; margin-top: auto; padding-top: 32px; display: grid; gap: 16px; color: var(--on-dark-dim); }
@keyframes menu-in { to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }

/* ---------- HUD corners ---------- */
.hud, .film__hud { position: absolute; pointer-events: none; }
.hud { inset: calc(var(--header) + 14px) 24px 24px; z-index: 1; }
.hud i, .film__hud i { position: absolute; width: 30px; height: 30px; border: 2px solid rgba(255, 255, 255, 0.4); }
.hud i:nth-child(1), .film__hud i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.hud i:nth-child(2), .film__hud i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.hud i:nth-child(3), .film__hud i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.hud i:nth-child(4), .film__hud i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding: calc(var(--header) + 48px) 0 28px; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--night); }
.hero__still, .hero__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero__loop { opacity: 0; transition: opacity 1.2s; }
.hero__loop.is-ready { opacity: 1; }
.hero__shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(0, 12, 28, 0.95) 0%, rgba(0, 12, 28, 0.82) 38%, rgba(0, 12, 28, 0.45) 70%, rgba(0, 12, 28, 0.55) 100%),
		linear-gradient(0deg, var(--night) 0%, rgba(0, 12, 28, 0) 32%),
		linear-gradient(180deg, rgba(0, 12, 28, 0.7) 0%, rgba(0, 12, 28, 0) 22%);
}
.hero .grid-overlay { opacity: 0.55; }
.hero__inner { flex: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: 24px 40px; }
.hero__title { margin-top: 26px; font: 700 clamp(2.6rem, 1rem + 4.2vw, 5.1rem)/1 var(--f-head); letter-spacing: -0.035em; text-wrap: balance; }
.hero__lead { margin-top: 28px; max-width: 34em; font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.24rem); color: var(--on-dark); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__coords { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 26px; color: var(--accent); font-size: 0.72rem; }
.hero__coords span:last-child { color: var(--on-dark-dim); }

/* the film card */
.film { perspective: 1400px; }
.film__frame {
	position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000;
	border: 1px solid rgba(140, 185, 255, 0.32);
	box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 8px rgba(140, 185, 255, 0.05);
	transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform 0.6s var(--ease);
	transform-style: preserve-3d;
}
.film__video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.film__cover {
	position: absolute; inset: 0; display: grid; place-items: center;
	background: linear-gradient(0deg, rgba(0, 12, 28, 0.82) 0%, rgba(0, 12, 28, 0.08) 45%, rgba(0, 12, 28, 0.3) 100%);
	transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.film.is-playing .film__cover { opacity: 0; visibility: hidden; }
.film__hud { inset: 16px; }
.film__hud i { width: 22px; height: 22px; border-color: rgba(255, 255, 255, 0.55); }
.film__tag { position: absolute; left: 26px; top: 24px; display: flex; align-items: center; gap: 10px; color: #fff; font-size: 0.68rem; }
.film__tag b { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.film__caption { position: absolute; left: 26px; right: 26px; bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.film__title { font: 600 clamp(1rem, 0.9rem + 0.5vw, 1.3rem)/1.2 var(--f-head); }
.film__caption .mono { color: var(--accent); font-size: 0.7rem; }

/* play button with ripples */
.play { position: relative; width: 104px; height: 104px; border: 0; padding: 0; background: none; border-radius: 50%; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.play::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 180, 0, 0.32) 0%, rgba(244, 180, 0, 0) 70%); }
.play__core {
	position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center;
	background: var(--accent); box-shadow: 0 12px 40px rgba(244, 180, 0, 0.45), inset 0 -3px 0 rgba(0, 0, 0, 0.12);
	transition: transform 0.35s var(--ease), background 0.25s;
}
.play__core svg { width: 40px; height: 40px; fill: var(--navy-deep); margin-left: 6px; }
.play__ring {
	position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent);
	animation: ripple 2.7s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; opacity: 0;
}
.play__ring:nth-child(2) { animation-delay: 0.9s; }
.play__ring:nth-child(3) { animation-delay: 1.8s; }
@keyframes ripple { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.7); opacity: 0; } }
.play:hover .play__core { transform: scale(1.08); background: #ffc423; }
.play:hover .play__ring { animation-duration: 1.9s; }
.play:active .play__core { transform: scale(0.95); }
.play.is-burst::after {
	content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(244, 180, 0, 0.5);
	animation: burst 0.7s var(--ease) forwards;
}
@keyframes burst { to { transform: scale(5); opacity: 0; } }

/* stats */
.stats {
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
	border-top: 1px solid rgba(140, 185, 255, 0.22); border-bottom: 1px solid rgba(140, 185, 255, 0.12);
	background: rgba(0, 12, 28, 0.55); backdrop-filter: blur(10px);
}
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 22px 24px; border-left: 1px solid rgba(140, 185, 255, 0.14); }
.stat:first-child { border-left: 0; }
.stat dd { font: 700 clamp(1.9rem, 1.3rem + 1.6vw, 2.8rem)/1 var(--f-head); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat dd small { font-size: 0.5em; color: var(--accent); margin-left: 4px; font-weight: 600; }
.stat dd small:first-child { margin: 0 2px 0 0; }
.stat dt { font: 500 0.7rem/1.45 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-dim); }
.scroll-cue { position: absolute; left: 50%; bottom: -36px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, 0.35); border-radius: 14px; z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(84px, 10vw, 150px) 0; overflow: hidden; }
.section--light { background: var(--surface); color: var(--ink); }
.section--light .h2 { color: var(--navy-deep); }
.section--dark { background: var(--night); }
.section--navy { background: radial-gradient(ellipse 80% 70% at 50% 30%, #062a55 0%, var(--navy-deep) 45%, var(--night) 100%); }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); position: relative; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head--center { margin-inline: auto; text-align: center; max-width: 1000px; }
.section-head--center .kicker { justify-content: center; }
.section-head__lead { margin-top: 20px; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--on-dark); max-width: 36em; }
.section--light .section-head__lead { color: var(--muted); }
.section-head--center .section-head__lead { margin-inline: auto; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__copy p { color: var(--muted); margin-top: 20px; max-width: 34em; }
.about__copy .lead { color: var(--ink); margin-top: 30px; }
.quote { margin-top: 34px; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font: 500 clamp(1.15rem, 1rem + 0.5vw, 1.4rem)/1.45 var(--f-head); color: var(--navy-deep); max-width: 30em; }
.sheet { position: relative; padding: 0 0 54px; }
.sheet__paper { position: relative; background: #fff; padding: 12px; border: 1px solid var(--line-light); border-radius: 6px; box-shadow: 0 40px 90px rgba(0, 30, 64, 0.16); }
.sheet__paper img { border-radius: 3px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sheet__north { position: absolute; right: 30px; top: 30px; width: 54px; height: 54px; }
.sheet__north circle { fill: rgba(0, 12, 28, 0.55); stroke: #fff; stroke-width: 1.5; }
.sheet__north path { fill: var(--accent); }
.sheet__north text { fill: #fff; font: 600 9px var(--f-mono); text-anchor: middle; }
.sheet__block { position: absolute; right: 12px; bottom: 12px; display: grid; background: #fff; color: var(--navy); font-size: 0.62rem; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.sheet__block span { padding: 6px 12px; border-bottom: 1px solid var(--line-light); }
.sheet__block span:last-child { border: 0; color: var(--accent-hot); font-weight: 600; }
.dim { position: absolute; left: 12px; right: 12px; bottom: 18px; width: calc(100% - 24px); height: 14px; overflow: visible; }
.dim path { fill: none; stroke: var(--navy); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dim-label { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); background: var(--surface); padding: 0 10px; color: var(--navy); font-size: 0.68rem; }
.badge {
	position: absolute; left: -22px; top: 46px; display: grid; gap: 4px; padding: 18px 22px; border-radius: 12px;
	background: var(--navy-deep); color: #fff; box-shadow: 0 24px 50px rgba(0, 30, 64, 0.35);
}
.badge strong { font: 700 2.6rem/1 var(--f-head); color: var(--accent); }
.badge > span { font: 500 0.7rem var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: clamp(64px, 8vw, 110px); }
.value { position: relative; background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(26px, 3vw, 36px); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.value:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0, 30, 64, 0.1); }
.value__n { color: var(--accent-hot); font-weight: 600; }
.value h3 { margin-top: 14px; font: 700 clamp(1.6rem, 1.2rem + 1.1vw, 2.2rem)/1.1 var(--f-head); letter-spacing: -0.02em; color: var(--navy-deep); }
.value__dim { position: relative; height: 34px; margin: 10px 0 8px; }
.value__dim i { position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) 0.3s; }
.value__dim i::before, .value__dim i::after { content: ''; position: absolute; top: -7px; width: 2px; height: 16px; background: var(--accent); }
.value__dim i::before { left: 0; } .value__dim i::after { right: 0; }
.value__dim span { position: absolute; left: 50%; top: 0; transform: translateX(-50%); color: var(--accent-hot); font-size: 0.66rem; white-space: nowrap; opacity: 0; transition: opacity 0.5s 1s; }
.value.is-in .value__dim i { transform: scaleX(1); }
.value.is-in .value__dim span { opacity: 1; }
.value p { color: var(--muted); }

/* ---------- kilometre posts ---------- */
.post {
	position: relative; display: grid; place-items: center; width: 56px; height: 70px; padding-top: 16px;
	background: #f3f3f0; color: #111; border-radius: 28px 28px 3px 3px;
	font: 700 1.15rem/1 var(--f-head); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
	overflow: hidden;
}
.post::before { content: ''; position: absolute; inset: 0 0 auto; height: 22px; background: var(--red); }
.post--sm { width: 34px; height: 42px; padding-top: 10px; font-size: 0.8rem; border-radius: 17px 17px 2px 2px; box-shadow: none; }
.post--sm::before { height: 13px; }

/* ---------- process ---------- */
.process { padding-bottom: 0; }
.process__bg { position: absolute; inset: 0; background: url('../assets/img/blueprint.jpg') center / cover no-repeat; opacity: 0.22; mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 70%, transparent 100%); }
.road { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding-bottom: clamp(70px, 8vw, 100px); }
.road::before {
	content: ''; position: absolute; left: 0; right: 0; top: 56px; height: 14px; border-radius: 7px;
	background: linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, 0.55) 50%) center / 34px 2px repeat-x, #1a1f27;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.14);
}
.road__stop { position: relative; }
.road__stop .post { position: relative; z-index: 1; }
.road__stop h3 { margin-top: 30px; font: 600 1.25rem/1.25 var(--f-head); }
.road__stop p { margin-top: 10px; color: var(--on-dark); font-size: 0.97rem; }
.road__stop:nth-child(n)::after { content: none; }
.road .post { transform: translateY(16px) scale(0.85); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.7s; }
.road.is-in .post { transform: none; opacity: 1; }
.road.is-in .road__stop:nth-child(2) .post { transition-delay: 0.12s; }
.road.is-in .road__stop:nth-child(3) .post { transition-delay: 0.24s; }
.road.is-in .road__stop:nth-child(4) .post { transition-delay: 0.36s; }
.road.is-in .road__stop:nth-child(5) .post { transition-delay: 0.48s; }

.strip { position: relative; height: 128px; background: #2b3a2a; padding: 10px 0; }
.strip__road {
	position: relative; height: 100%; background: #1a1f27; overflow: hidden;
	background-image:
		linear-gradient(#e8e8e8, #e8e8e8), linear-gradient(#e8e8e8, #e8e8e8),
		linear-gradient(90deg, #e8e8e8 50%, transparent 50%);
	background-size: 100% 3px, 100% 3px, 130px 3px;
	background-position: 0 8px, 0 calc(100% - 8px), 0 50%;
	background-repeat: no-repeat, no-repeat, repeat-x;
	animation: lane 3.5s linear infinite;
}
@keyframes lane { to { background-position: 0 8px, 0 calc(100% - 8px), -130px 50%; } }
.car { position: absolute; width: 78px; height: 34px; border-radius: 9px; top: calc(50% + 10px); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.18); }
.car::before { content: ''; position: absolute; left: 20px; right: 22px; top: 5px; bottom: 5px; border-radius: 5px; background: rgba(0, 0, 0, 0.35); }
.car--a { background: #d9dde3; animation: drive 9s linear infinite; }
.car--b { background: var(--red); animation: drive 9s linear -4.5s infinite; }
.car--c { background: var(--accent); top: calc(50% - 44px); animation: drive-back 11s linear -2s infinite; }
.car--d { background: #3b6fb6; top: calc(50% - 44px); width: 140px; animation: drive-back 14s linear -9s infinite; }
@keyframes drive { from { transform: translateX(-160px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes drive-back { from { transform: translateX(calc(100vw + 40px)); } to { transform: translateX(-200px); } }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service {
	position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 380px;
	padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(4, 36, 76, 0.75), rgba(0, 20, 43, 0.75)); border: 1px solid var(--line-dark);
	transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.45s;
}
.service::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.service:hover { transform: translateY(-6px); border-color: rgba(244, 180, 0, 0.45); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4); }
.service:hover::after { transform: scaleX(1); }
.service__top { display: flex; align-items: center; justify-content: space-between; }
.service__top .mono { color: var(--accent); font-size: 0.68rem; }
.icon { width: 104px; height: 104px; margin: 14px 0 10px; }
.icon path { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.icon .w { stroke: #fff; }
.icon .a { stroke: var(--accent); transition-delay: 0.35s; }
.icon .thin { stroke-width: 3.5; }
.is-in .icon path, .service:hover .icon path { stroke-dashoffset: 0; }
.service h3 { margin-top: auto; font: 700 clamp(1.45rem, 1.2rem + 0.7vw, 1.8rem)/1.15 var(--f-head); letter-spacing: -0.015em; }
.service p { color: var(--on-dark); font-size: 0.98rem; }

/* ---------- portfolio ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; margin-bottom: clamp(70px, 9vw, 120px); }
.feature__map {
	position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-dark);
	background: radial-gradient(ellipse at 40% 40%, #062a55 0%, var(--navy-deep) 55%, var(--night) 100%);
}
.feature__map::before { content: ''; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(140, 185, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 185, 255, 0.07) 1px, transparent 1px);
	background-size: 40px 40px; }
.map { position: relative; width: 100%; height: auto; }
/* the works map: routes over the counties; js/app.js flies the viewBox between them and keeps --k = viewBox units
   per screen pixel, so every width below stays the same on screen at any zoom */
.map .county { fill: rgba(30, 80, 150, 0.16); stroke: rgba(140, 185, 255, 0.4); stroke-width: calc(1px * var(--kc, 0.1)); stroke-linejoin: round; }
.map .route-glow { fill: none; stroke: var(--accent-hot); stroke-width: calc(14px * var(--k, 1)); stroke-linecap: round; stroke-linejoin: round; opacity: 0; filter: blur(calc(5px * var(--k, 1))); transition: opacity 0.6s 1.8s; }
.map .route { fill: none; stroke: var(--accent); stroke-width: calc(4px * var(--k, 1)); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s; cursor: pointer; }
.map.is-in .route { stroke-dashoffset: 0; }
.map.is-in .route-glow { opacity: 0.5; }
.map .route.is-hot { stroke-width: calc(6px * var(--k, 1)); }
.map.has-hot .route:not(.is-hot), .map.has-hot .route-glow:not(.is-hot) { opacity: 0.28; }
/* the Prahova Valley around Comarnic, shown when the map is on Comarnic */
.map .valley { opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.map.is-valley .valley { opacity: 1; }
.map .river-glow { fill: none; stroke: var(--sky); stroke-width: calc(8px * var(--k, 1)); opacity: 0.18; stroke-linecap: round; stroke-linejoin: round; }
.map .river { fill: none; stroke: var(--sky); stroke-width: calc(2.4px * var(--k, 1)); opacity: 0.75; stroke-linejoin: round; }
.map .rail { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: calc(1.4px * var(--k, 1)); stroke-linejoin: round; }
.map .rail-ties { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: calc(6px * var(--k, 1)); stroke-dasharray: calc(1.4px * var(--k, 1)) calc(8px * var(--k, 1)); }
.map .way-minor { fill: none; stroke: rgba(140, 185, 255, 0.22); stroke-width: calc(1.6px * var(--k, 1)); stroke-linecap: round; stroke-linejoin: round; }
.map .way-case { fill: none; stroke: rgba(0, 12, 28, 0.9); stroke-width: calc(7px * var(--k, 1)); stroke-linecap: round; stroke-linejoin: round; }
.map .way { fill: none; stroke: rgba(255, 255, 255, 0.75); stroke-width: calc(3.6px * var(--k, 1)); stroke-linecap: round; stroke-linejoin: round; }
.map .bridge__deck { fill: none; stroke: #fff; stroke-width: calc(11px * var(--k, 1)); }
.map .bridge__core { fill: none; stroke: var(--accent-hot); stroke-width: calc(4.5px * var(--k, 1)); }
.map .town circle { fill: rgba(0, 12, 28, 0.8); stroke: var(--accent); stroke-width: calc(2px * var(--k, 1)); }
.map .town .dot { fill: var(--accent); stroke: none; }
.map .town--hq circle { stroke: #fff; } .map .town--hq .dot { fill: #fff; }
.map .lbl { fill: rgba(255, 255, 255, 0.85); font: 600 calc(12.5px * var(--k, 1)) var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; paint-order: stroke; stroke: rgba(0, 12, 28, 0.85); stroke-width: calc(4px * var(--k, 1)); pointer-events: none; }
.map .lbl--route { fill: var(--accent); }
.map .lbl--river { fill: var(--sky); font-style: italic; }
.map .lbl--rail { fill: rgba(255, 255, 255, 0.6); }
.map .tag { opacity: 0; transition: opacity 0.4s; }
.map .tag.is-on { opacity: 1; }
.map__all { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 9px 14px; border-radius: 8px; background: rgba(0, 20, 48, 0.88); border: 1px solid rgba(244, 180, 0, 0.5); color: #fff; font-size: 0.62rem; cursor: pointer; transition: background 0.2s; }
.map__all:hover { background: rgba(244, 180, 0, 0.18); }
.map__legend { position: relative; padding: 14px 20px 16px; border-top: 1px solid var(--line-dark); display: flex; align-items: center; gap: 10px; color: var(--on-dark-dim); font-size: 0.64rem; flex-wrap: wrap; }
.map__legend i { width: 22px; height: 4px; border-radius: 2px; background: var(--accent); }
.map__credit { margin-left: auto; opacity: 0.75; }
.lots.works li { grid-template-columns: 148px minmax(0, 1fr) auto; cursor: pointer; }
.lots.works li:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.lots.works li.is-sel { background: rgba(244, 180, 0, 0.12); box-shadow: inset 3px 0 0 var(--accent); }
.feature__copy p:not(.kicker) { margin-top: 20px; color: var(--on-dark); max-width: 32em; }
.feature__km { margin-top: 28px; font: 700 clamp(3.6rem, 2rem + 4.4vw, 6.2rem)/0.9 var(--f-head); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.feature__km small { font-size: 0.42em; color: var(--accent); margin-left: 6px; font-family: var(--f-mono); letter-spacing: 0.1em; }
.feature__km small:first-child { margin: 0 4px 0 0; font-family: var(--f-head); font-size: 0.6em; }
.lots { margin-top: 30px; border-top: 1px solid var(--line-dark); }
.lots li {
	display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 14px; align-items: baseline;
	padding: 15px 12px; border-bottom: 1px solid var(--line-dark); cursor: default; transition: background 0.25s;
}
.lots li:hover, .lots li.is-hot { background: rgba(244, 180, 0, 0.08); }
.lots b { color: var(--accent); font-size: 0.72rem; }
.lots em { font-style: normal; color: var(--on-dark-dim); font-size: 0.7rem; }
.feature__note { margin-top: 20px !important; color: var(--on-dark-dim) !important; font-size: 0.68rem; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
	padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: transparent;
	font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark);
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.chip:hover { border-color: var(--accent); color: #fff; }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--navy-deep); }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project {
	position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 28px 24px; border-radius: 12px;
	background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-dark); transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease);
}
.project::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); transform: scaleY(0.3); opacity: 0.6; transition: transform 0.4s var(--ease), opacity 0.3s; }
.project:hover { border-color: rgba(244, 180, 0, 0.4); background: rgba(244, 180, 0, 0.045); transform: translateY(-3px); }
.project:hover::before { transform: scaleY(1); opacity: 1; }
.project__tag { color: var(--accent); font-size: 0.66rem; }
.project h3 { font: 600 1.28rem/1.25 var(--f-head); }
.project p { color: var(--on-dark); font-size: 0.95rem; }
.project__loc { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-dark); color: var(--on-dark-dim); font-size: 0.66rem; }
.project.is-hidden { display: none; }
.project--wide { grid-column: span 2; }
.project.is-shown { animation: pop 0.5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
.projects__empty { color: var(--on-dark-dim); padding: 24px 0; }

/* ---------- certifications ---------- */
.stamps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); }
.stamp { display: grid; justify-items: center; gap: 22px; text-align: center; }
.stamp svg { width: min(250px, 66vw); height: auto; overflow: visible; }
.stamp__o { fill: var(--navy-deep); stroke: var(--accent); stroke-width: 4; }
.stamp__i { fill: none; stroke: var(--accent); stroke-width: 2; }
.stamp__ring { transform-origin: 150px 150px; animation: spin 48s linear infinite; }
.stamp__ring text { font: 600 15px var(--f-mono); letter-spacing: 2.6px; fill: var(--accent); }
.stamp__std { font: 500 20px var(--f-mono); letter-spacing: 6px; fill: #fff; text-anchor: middle; }
.stamp__n { font: 700 58px var(--f-head); fill: #fff; text-anchor: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.stamp figcaption { display: grid; gap: 6px; }
.stamp figcaption strong { font: 600 1.3rem var(--f-head); color: var(--navy-deep); }
.stamp figcaption span { color: var(--muted); font-size: 0.95rem; }
.js .stamp[data-reveal] { transform: scale(1.5); opacity: 0; transition: transform 0.55s cubic-bezier(0.5, 0, 0.75, 0), opacity 0.3s; }
.js .stamp[data-reveal].is-in { transform: none; opacity: 1; }
.stamp.is-in svg { animation: thud 0.7s var(--ease) 0.5s; }
@keyframes thud { 0% { filter: drop-shadow(0 0 0 rgba(244, 180, 0, 0.6)); } 40% { filter: drop-shadow(0 0 30px rgba(244, 180, 0, 0.55)); } 100% { filter: drop-shadow(0 0 0 rgba(244, 180, 0, 0)); } }

/* ---------- contact ---------- */
.contact { isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.contact__bg::after {
	content: ''; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, var(--night) 0%, rgba(0, 12, 28, 0.92) 40%, rgba(0, 12, 28, 0.7) 100%),
		linear-gradient(180deg, var(--night) 0%, transparent 25%, transparent 75%, var(--night) 100%);
}
.contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__list { margin-top: 40px; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 18px; align-items: flex-start; }
.contact__ico { flex: none; width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: rgba(140, 185, 255, 0.08); border: 1px solid var(--line-dark); }
.contact__ico svg { width: 22px; height: 22px; fill: var(--accent); }
.contact__ico svg.stroke { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; }
.contact__list .mono { display: block; color: var(--on-dark-dim); font-size: 0.66rem; margin-bottom: 4px; }
.contact__list a, .contact__list li > div > span:not(.mono) { font-size: 1.06rem; color: #fff; transition: color 0.2s; }
.contact__list a:hover { color: var(--accent); }
.contact__list small.mono { display: inline; margin: 0 0 0 8px; font-size: 0.6rem; }

.form {
	position: relative; display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); border-radius: 18px;
	background: var(--surface); color: var(--ink); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}
.form__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; white-space: nowrap; padding-bottom: 16px; border-bottom: 1px dashed var(--line-light); color: var(--navy); font-size: 0.7rem; }
.form__ref { color: var(--technical); }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field small { font-weight: 400; color: var(--technical); }
.field input, .field select, .field textarea {
	width: 100%; padding: 13px 15px; border-radius: 8px; border: 1px solid #cfd5e2; background: #fff; color: var(--ink);
	font: 400 1rem/1.4 var(--f-body); transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 116px; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23003366' stroke-width='2'/%3E%3C/svg%3E") right 16px center no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.32); }
.field.is-bad input, .field.is-bad textarea { border-color: var(--red); }
.field__err { min-height: 0; font-size: 0.8rem; color: var(--red); }
.field__err:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--navy); }
.form__ok { padding: 14px 16px; border-radius: 8px; background: #e8f4ea; color: #1d5a2a; font-size: 0.92rem; }

/* ---------- footer ---------- */
.footer { background: #00070f; border-top: 1px solid var(--line-dark); padding: clamp(56px, 7vw, 84px) 0 28px; color: var(--on-dark-dim); }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand p { margin-top: 20px; max-width: 26em; font-size: 0.95rem; }
.footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-size: 0.93rem; }
.footer__col h3 { color: var(--accent); font-size: 0.68rem; margin-bottom: 6px; }
.footer__col a:hover, .footer__col .link:hover { color: #fff; }
.footer__col .link { text-decoration: none; text-align: left; }
.footer__base { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 0.82rem; }
.footer__base .mono { font-size: 0.64rem; }

/* ---------- chainage + dialog ---------- */
.chainage {
	position: fixed; left: 20px; bottom: 20px; z-index: 30; display: flex; align-items: center; gap: 10px;
	padding: 9px 14px; border-radius: 10px; background: rgba(0, 12, 28, 0.78); backdrop-filter: blur(10px);
	border: 1px solid var(--line-dark); color: #fff; font-size: 0.7rem; opacity: 0; transform: translateY(10px);
	transition: opacity 0.4s, transform 0.4s var(--ease); pointer-events: none;
}
.chainage.is-on { opacity: 1; transform: none; }
.chainage svg { width: 30px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 2; }
.chainage svg path { stroke-dasharray: 4 3; }
.dialog { border: 0; padding: 0; border-radius: 16px; max-width: min(580px, calc(100% - 32px)); background: var(--surface); color: var(--ink); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6); }
.dialog::backdrop { background: rgba(0, 8, 20, 0.72); backdrop-filter: blur(4px); }
.dialog__inner { display: grid; gap: 16px; padding: clamp(24px, 4vw, 40px); }
.dialog h2 { font: 700 1.6rem/1.2 var(--f-head); color: var(--navy-deep); }
.dialog p { color: var(--muted); }
.dialog .btn { justify-self: start; margin-top: 8px; }

/* ---------- reveal ---------- */
[data-delay='1'] { --d: 1; } [data-delay='2'] { --d: 2; } [data-delay='3'] { --d: 3; } [data-delay='4'] { --d: 4; }
/* the hero animates in with CSS alone, so it never waits for the script */
.js .hero [data-reveal] { opacity: 0; transform: translateY(26px); animation: rise 1s var(--ease) forwards; animation-delay: calc(0.15s + var(--d, 0) * 110ms); transition: none; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.nav { display: none; }
	.burger { display: block; margin-left: 0; }
	.header__cta { margin-left: auto; }
	.hero__inner { grid-template-columns: 1fr; padding-top: 8px; }
	.hero__copy { max-width: 760px; }
	.film { max-width: 820px; }
	.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.stat:nth-child(4) { border-left: 0; }
	.stat:nth-child(n + 4) { border-top: 1px solid rgba(140, 185, 255, 0.14); }
	.scroll-cue { display: none; }
	.feature { grid-template-columns: 1fr; }
	.contact__inner { grid-template-columns: 1fr; }
	.footer__inner { grid-template-columns: 1fr 1fr; }
	.footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.about { grid-template-columns: 1fr; }
	.sheet { margin-inline: 14px 0; }
	.values { grid-template-columns: 1fr; }
	.road { grid-template-columns: 1fr; gap: 34px; }
	.road::before { left: 21px; right: auto; top: 0; bottom: 40px; width: 14px; height: auto;
		background: linear-gradient(180deg, transparent 50%, rgba(255, 255, 255, 0.55) 50%) center / 2px 34px repeat-y, #1a1f27; }
	.road__stop { display: grid; grid-template-columns: 56px 1fr; column-gap: 26px; }
	.road__stop .post { grid-row: span 2; }
	.road__stop h3 { margin-top: 4px; }
	.road__stop p { margin-top: 6px; }
	.services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stamps { grid-template-columns: 1fr; }
	.hud { inset: calc(var(--header) + 8px) 12px 12px; }
	.hud i { width: 22px; height: 22px; }
}
@media (max-width: 720px) {
	.header__cta { display: none; }
	.burger { margin-left: auto; }
	.chainage { display: none; }
}
@media (max-width: 640px) {
	:root { --header: 68px; }
	.brand__mark { width: 46px; height: 32px; }
	.brand__mark img { width: 36px; }
	.brand__name { font-size: 1.15rem; }
	.hero { padding-top: calc(var(--header) + 28px); }
	.kicker { letter-spacing: 0.2em; gap: 12px; font-size: 0.75rem; }
	.kicker::before { width: 28px; }
	.hero__actions .btn { flex: 1 1 auto; }
	.hero__coords span:nth-child(-n + 2) { display: none; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat { padding: 18px 16px; }
	.stat:nth-child(n) { border-left: 0; border-top: 1px solid rgba(140, 185, 255, 0.14); }
	.stat:nth-child(even) { border-left: 1px solid rgba(140, 185, 255, 0.14); }
	.stat:first-child, .stat:nth-child(2) { border-top: 0; }
	.stat:last-child { grid-column: 1 / -1; border-left: 0; }
	.play { width: 78px; height: 78px; }
	.play__core svg { width: 30px; height: 30px; margin-left: 4px; }
	.film__tag { left: 18px; top: 16px; }
	.film__caption { left: 18px; right: 18px; bottom: 14px; }
	.film__hud { inset: 10px; }
	.badge { left: -10px; top: 20px; padding: 12px 16px; }
	.badge strong { font-size: 2rem; }
	.sheet__block { display: none; }
	.services, .projects { grid-template-columns: 1fr; }
	.project--wide { grid-column: auto; }
	.service { min-height: 0; }
	.field-row { grid-template-columns: 1fr; }
	.lots li { grid-template-columns: 56px minmax(0, 1fr); }
	.lots.works li { grid-template-columns: 112px minmax(0, 1fr); }
	.lots em { grid-column: 2; }
	.footer__inner { grid-template-columns: 1fr; }
	.strip { height: 104px; }
}
@media (max-width: 340px) {
	.brand__name { display: none; }
	.film__caption .mono { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; transition-delay: 0s !important; }
	.play__ring { display: none; }
}
