/* ==========================================================================
   Aerofoil – main stylesheet
   ========================================================================== */

:root {
	--canvas: #fdfdfd;
	--white: #ffffff;
	--ink: #1f2a30;
	--ink-80: rgba(31, 42, 48, .8);
	--ink-60: rgba(31, 42, 48, .6);
	--ink-40: rgba(31, 42, 48, .4);
	--ink-24: rgba(31, 42, 48, .24);
	--ink-12: rgba(31, 42, 48, .12);
	--ink-06: rgba(31, 42, 48, .06);
	--muted: #9aa3a8;
	--mist: #e6eaec;
	--mist-2: #eef1f2;
	--accent: #f0344f;
	--accent-2: #ff8c7e;
	--scan: #46b6ff;
	--chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 228 214'%3E%3Cpath d='M106 0L212 90V198L106 112L0 198V90Z' stroke='%23000' stroke-width='14' stroke-linejoin='round'/%3E%3C/svg%3E");

	--font: "Switzer", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--gutter: 24px;
	--header-h: 84px;
	--radius: 6px;
	--ease: cubic-bezier(.65, .05, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);

	--fs-giant: clamp(72px, 13.4vw, 232px);
	--fs-xl: clamp(34px, 3.4vw, 56px);
	--fs-l: clamp(22px, 2.05vw, 34px);
	--fs-m: clamp(17px, 1.3vw, 21px);
	--fs-s: 14px;
	--fs-xs: 11px;
}

@media (max-width: 1023px) {
	:root { --gutter: 16px; --header-h: 68px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-family: var(--font);
	font-weight: 400;
	font-size: var(--fs-s);
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

body.is-loading { overflow: hidden; }

img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, h4, dl, dd, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 400; }
::selection { background: var(--ink); color: var(--canvas); }

.mono { font-family: var(--mono); font-weight: 300; font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; }
.label { color: var(--ink-60); margin-bottom: 14px; }
.bracket span { color: var(--ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-80); }
.eyebrow .dot {
	width: 9px; height: 9px; display: inline-block; background: var(--accent);
	-webkit-mask: var(--chevron) center / contain no-repeat; mask: var(--chevron) center / contain no-repeat;
}

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 1px dashed var(--ink); outline-offset: 3px; }

/* Split-text masks: pad the clip box so ascenders/descenders (g, p, y, f, l) are never cut */
.char-mask { padding: .1em .06em .22em; margin: -.1em -.06em -.22em; vertical-align: top; }
.line-inner-mask { padding: .06em 0 .2em; margin: -.06em 0 -.2em; }
.word-mask { padding: .08em 0 .2em; margin: -.08em 0 -.2em; }

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
	position: fixed; inset: 0; z-index: 400;
	background: var(--canvas);
	display: grid; place-items: center;
}
.preloader__count { font-size: 12px; color: var(--ink); letter-spacing: .08em; }
.preloader__bar { position: absolute; left: 50%; top: calc(50% + 22px); width: 64px; height: 1px; background: var(--ink-12); transform: translateX(-50%); overflow: hidden; }
.preloader__bar span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
body:not(.is-loading) .preloader { pointer-events: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 130;
	height: var(--header-h);
	display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
	column-gap: 24px;
	padding: 0 var(--gutter);
	background: var(--canvas);
	font-size: 13px;
}
.admin-bar .site-header { top: 32px; }
.site-header__brand { display: flex; align-items: center; gap: 14px; white-space: nowrap; min-width: 0; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { display: block; height: var(--logo-h, 62px); width: auto; max-width: none; }
.logo-mark { width: 46px; height: 46px; flex: none; }
.site-header__dot { width: 3px; height: 3px; background: var(--ink-40); border-radius: 50%; }
.site-header__tag { color: var(--ink-60); }
.site-header__right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header CTA */
.header-cta {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; gap: 10px;
	height: 40px; padding: 0 6px 0 16px; border-radius: 6px;
	background: var(--ink); color: #fff; font-size: 13px; white-space: nowrap;
}
.header-cta::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
	transform: translateY(101%); transition: transform .55s var(--ease);
}
.header-cta:hover::before { transform: translateY(0); }
.header-cta:hover .nav-roll > span { transform: translateY(-1.4em); }
.header-cta__icon { width: 28px; height: 28px; border-radius: 4px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); transition: background .4s; }
.header-cta__chev { width: 11px; height: 11px; color: var(--accent-2); transform: rotate(90deg); transition: transform .55s var(--ease), color .4s; }
.header-cta:hover .header-cta__icon { background: rgba(255, 255, 255, .22); }
.header-cta:hover .header-cta__chev { color: #fff; transform: rotate(90deg) translateY(-3px); }

/* Hamburger */
.burger {
	position: relative; width: 40px; height: 40px; border-radius: 6px; flex: none;
	background: var(--mist); display: grid; place-items: center;
	transition: background .35s var(--ease);
}
.burger__lines { position: relative; width: 18px; height: 12px; }
.burger__lines span {
	position: absolute; left: 0; height: 1.5px; width: 100%; border-radius: 2px; background: var(--ink);
	transition: transform .55s var(--ease), width .45s var(--ease), opacity .3s, top .45s var(--ease), background .35s;
}
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 5.25px; width: 65%; }
.burger__lines span:nth-child(3) { top: 10.5px; width: 82%; }
.burger:hover .burger__lines span:nth-child(2) { width: 100%; }
.burger:hover .burger__lines span:nth-child(3) { width: 45%; }
.burger:hover { background: var(--mist-2); box-shadow: inset 0 0 0 1px var(--ink-12); }
body.menu-open .burger { background: var(--ink); }
body.menu-open .burger__lines span { background: #fff; }
body.menu-open .burger__lines span:nth-child(1) { top: 5.25px; transform: rotate(45deg); }
body.menu-open .burger__lines span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
body.menu-open .burger__lines span:nth-child(3) { top: 5.25px; width: 100%; transform: rotate(-45deg); }

/* Centre navigation */
.site-nav__list { display: flex; align-items: center; gap: 2px; padding: 4px; background: var(--mist-2); border: 1px solid var(--ink-06); border-radius: 6px; }
.site-nav__list li { position: relative; }
.site-nav__list a {
	position: relative; display: block; padding: 7px 13px; border-radius: 4px;
	color: var(--ink-80); line-height: 1.2; white-space: nowrap;
	transition: background .35s var(--ease), color .35s var(--ease);
}
.site-nav__list a:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a,
.site-nav__list .current-page-ancestor > a { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(31, 42, 48, .08); }
.site-nav__list .current-menu-item > a::after,
.site-nav__list .current_page_item > a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: var(--accent); }
/* text roll on hover */
.nav-roll { display: block; overflow: hidden; height: 1.2em; }
.nav-roll > span { display: block; text-shadow: 0 1.4em currentColor; transition: transform .5s var(--ease); }
.site-nav__list a:hover .nav-roll > span { transform: translateY(-1.4em); }
body.menu-open .site-nav__list { opacity: 0; pointer-events: none; }
.site-nav__list { transition: opacity .3s; }

@media (max-width: 1279px) {
	.site-header__tag, .site-header__dot { display: none; }
	.site-nav__list a { padding: 7px 10px; }
}
@media (max-width: 1023px) {
	.site-header { grid-template-columns: 1fr auto; }
	.site-nav { display: none; }
}

/* ==========================================================================
   Menu overlay
   ========================================================================== */
.site-menu {
	position: fixed; inset: 0; z-index: 120;
	background: var(--canvas);
	clip-path: inset(0 0 100% 0);
	visibility: hidden;
	padding: calc(var(--header-h) + 24px) var(--gutter) var(--gutter);
}
.site-menu__inner { height: 100%; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr auto; gap: 16px; border-top: 1px solid var(--ink-12); padding-top: 24px; }
.site-menu__nav { grid-column: 1 / span 8; }
.site-menu__nav .menu { counter-reset: m; }
.site-menu__nav .menu-item { overflow: hidden; counter-increment: m; padding-bottom: .16em; margin-bottom: -.16em; }
.site-menu__nav .menu-item a {
	display: inline-flex; align-items: flex-start; gap: 16px;
	font-size: clamp(40px, 6.4vw, 104px); line-height: 1.02; letter-spacing: -.035em; font-weight: 300;
	color: var(--ink-40); transition: color .35s var(--ease);
}
.site-menu__nav .menu-item a::before { content: "0" counter(m); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; padding-top: 1.1em; color: var(--ink-60); }
.site-menu__nav .menu-item a:hover,
.site-menu__nav .current-menu-item > a { color: var(--ink); }
.site-menu__aside { grid-column: 10 / span 3; display: flex; flex-direction: column; gap: 32px; font-size: 15px; }
.site-menu__block a, .site-menu__block p:not(.label) { display: block; color: var(--ink-80); }
.site-menu__block a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-menu__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--ink-60); }
@media (max-width: 1023px) {
	.site-menu__nav { grid-column: 1 / -1; }
	.site-menu__aside { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 24px; font-size: 14px; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 18px; border-radius: 3px; font-size: 13px; line-height: 1;
	overflow: hidden; position: relative; isolation: isolate;
	transition: color .4s var(--ease);
}
.btn span { position: relative; z-index: 1; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: 0; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::after { transform: translateY(0); }
.btn--dark { background: var(--ink); color: var(--canvas); }
.btn--dark::after { background: var(--accent); }
.btn--line { border: 1px solid var(--ink-24); }
.btn--line::after { background: var(--ink); }
.btn--line:hover { color: var(--canvas); }

/* ==========================================================================
   3D stage (fixed drone canvas, front page)
   ========================================================================== */
.drone-stage { position: fixed; inset: 0; z-index: 20; pointer-events: none; }
.drone-stage__canvas { width: 100%; height: 100%; }

/* ==========================================================================
   Section titles
   ========================================================================== */
.section-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.section-title__text {
	font-size: var(--fs-giant); line-height: .9; letter-spacing: -.055em; font-weight: 400;
	margin-left: -.04em; color: var(--ink);
}
.section-title__num {
	flex: none; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 12px;
	border: 1px solid var(--ink-24); font-size: 11px; font-family: var(--mono);
	display: inline-grid; place-items: center; margin-top: 1.4vw;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.site-main { position: relative; }

.hero {
	position: relative; height: 100vh; height: 100svh; min-height: 560px;
	display: flex; flex-direction: column;
	padding: var(--header-h) var(--gutter) 0;
	background: var(--canvas);
}
.hero__card {
	position: relative; flex: 1; border-radius: var(--radius); overflow: hidden;
	background: linear-gradient(180deg, #e2e7ea 0%, #eef1f2 45%, #fbfbfb 100%);
}
.hero__word { position: absolute; left: 0; right: 0; top: 11%; width: 100%; height: auto; }
.hero__word text {
	font-family: var(--font); font-weight: 300; font-size: 270px; letter-spacing: -14px;
	fill: url(#heroWordFill); stroke: url(#heroWordStroke); stroke-width: 1.6;
	paint-order: stroke;
}
.hero__grid {
	position: absolute; inset: 0; opacity: .5;
	background-image: linear-gradient(var(--ink-06) 1px, transparent 1px), linear-gradient(90deg, var(--ink-06) 1px, transparent 1px);
	background-size: 80px 80px; background-position: center;
	mask-image: radial-gradient(ellipse at 50% 70%, #000 0%, transparent 60%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 70%, #000 0%, transparent 60%);
}
.hero__hud { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; color: var(--ink-40); font-size: 10px; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 22px 0 26px; }
.hero__tagline { font-size: var(--fs-l); line-height: 1.18; letter-spacing: -.025em; font-weight: 400; }
.hero__tagline .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero__tagline .line > span { display: inline-block; }
.hero__tagline .line--muted { color: var(--muted); }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; padding-bottom: 6px; white-space: nowrap; }
.pixel-icon { width: 14px; height: 14px; fill: currentColor; }
.hero__scroll .pixel-icon rect { animation: pix 1.6s steps(2) infinite; }
.hero__scroll .pixel-icon rect:nth-child(2n) { animation-delay: .4s; }
@keyframes pix { 50% { opacity: .15; } }

/* ==========================================================================
   Statement
   ========================================================================== */
.statement {
	position: relative; min-height: 120vh;
	padding: 18vh var(--gutter) 20vh;
	display: grid; grid-template-columns: repeat(12, 1fr); align-items: center;
}
.statement__rule { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--ink-12); transform-origin: top; }
.statement__text {
	grid-column: 1 / span 6; padding-right: 4vw;
	font-size: var(--fs-xl); line-height: 1.08; letter-spacing: -.035em; font-weight: 400;
}
.statement__text .word { color: #c5cbcf; }

/* ==========================================================================
   About
   ========================================================================== */
.about { position: relative; padding: 10vh var(--gutter) 16vh; }
.about__head { min-height: 58vh; display: flex; align-items: flex-end; border-bottom: 1px solid var(--ink-12); padding-bottom: 3vh; }
.about__head .section-title { width: 50%; }
.about__body { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; padding-top: 32px; }
.about__body .eyebrow { grid-column: 1 / span 3; align-self: start; }
.about__copy { grid-column: 7 / span 6; }
.about__lead { font-size: var(--fs-l); line-height: 1.2; letter-spacing: -.02em; }
.about__sub { margin-top: 28px; font-size: var(--fs-m); line-height: 1.35; color: var(--ink-60); max-width: 36em; }
.about__why { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 12vh; }
.about__why .label { grid-column: 1 / span 3; }
.why-list { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink-12); }
.why-list li { display: flex; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--ink-12); font-size: 15px; }
.why-list li:nth-child(odd) { padding-right: 16px; }
.why-list li .mono { color: var(--ink-40); }

/* ==========================================================================
   Stats (pinned HUD)
   ========================================================================== */
.stats { position: relative; height: 340vh; }
.stats__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) 6vh; }
.stats__hud { position: absolute; left: 50%; bottom: 23vh; width: min(1000px, 92vw); transform: translateX(-50%); overflow: visible; }
.hud-arc { fill: none; stroke: var(--ink-24); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hud-arc--inner { stroke-dasharray: .004 .01; stroke: var(--ink-40); }
.hud-ticks line { stroke: var(--ink-40); stroke-width: 1; }
.hud-ticks line.is-major { stroke: var(--ink); }
.hud-dot { fill: var(--accent); }
.stats__center { position: absolute; left: 50%; bottom: calc(23vh - 34px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 18px; z-index: 2; }
.stats__label { color: var(--ink-80); white-space: nowrap; }
.stats__icon { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--ink-24); display: grid; place-items: center; background: var(--canvas); }
.stats__icon .pixel-icon { width: 18px; height: 18px; }
.stats__icon .pixel-icon rect { transition: opacity .3s; }
.stats__row { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(var(--stat-count, 3), 1fr); border-top: 1px solid var(--ink-12); border-bottom: 1px solid var(--ink-12); background: var(--canvas); }
.stat { text-align: center; padding: 5.5vh 16px 5vh; border-right: 1px solid var(--ink-12); color: var(--ink-24); transition: color .6s var(--ease); }
.stat:last-child { border-right: 0; }
.stat.is-active { color: var(--ink); }
.stat__value { font-size: var(--fs-xl); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 12px; }
.stat:not(.is-active) .stat__label { color: var(--ink-24); }

/* ==========================================================================
   Industries (tabs)
   ========================================================================== */
.industries { position: relative; z-index: 25; background: var(--canvas); padding: 16vh var(--gutter) 0; border-top: 1px solid var(--ink-12); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: 7vh 0 5vh; }
.tabs__btn { font-size: var(--fs-xl); letter-spacing: -.035em; line-height: 1.1; color: var(--ink-24); position: relative; transition: color .45s var(--ease); }
.tabs__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.tabs__btn:hover { color: var(--ink-60); }
.tabs__btn.is-active { color: var(--ink); }
.tabs__btn.is-active::after { transform: scaleX(1); transform-origin: left; }
.industries__panels { display: grid; }
.ind-panel { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; visibility: hidden; }
.ind-panel.is-active { visibility: visible; }
.ind-panel__text { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 22px; }
.ind-panel__lead { font-size: var(--fs-m); line-height: 1.35; }
.ind-panel__body { font-size: var(--fs-m); line-height: 1.35; color: var(--ink-60); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; border-top: 1px solid var(--ink-12); }
.spec-grid__cell { padding: 12px 12px 14px 0; border-bottom: 1px solid var(--ink-12); position: relative; }
.spec-grid__cell:nth-child(odd) { border-right: 1px solid var(--ink-12); }
.spec-grid__cell:nth-child(even) { padding-left: 12px; }
.spec-grid dt { color: var(--ink-60); margin-bottom: 8px; }
.spec-grid dd { font-size: clamp(19px, 1.8vw, 30px); letter-spacing: -.03em; line-height: 1.1; overflow-wrap: anywhere; }
.ind-panel__media { grid-column: 7 / span 6; }
.ind-panel__img { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; border-radius: 2px; background: var(--mist); }
.ind-panel__img img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-top: 14px; }
.chip { padding: 6px 10px; border: 1px solid var(--ink-24); border-radius: 20px; font-size: 10px; }

.marquee { margin: 16vh calc(var(--gutter) * -1) 0; border-top: 1px solid var(--ink-12); border-bottom: 1px solid var(--ink-12); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-size: var(--fs-xl); letter-spacing: -.035em; white-space: nowrap; }
.marquee__mark { width: .5em; height: .5em; }

/* ==========================================================================
   Capabilities (pinned)
   ========================================================================== */
.capabilities { position: relative; z-index: 25; background: var(--canvas); height: 420vh; }
.capabilities__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: calc(var(--header-h) + 2vh) var(--gutter) 3vh; }
.capabilities .section-title { border-bottom: 1px solid var(--ink-12); padding-bottom: 2.4vh; }
.capabilities .section-title__text { font-size: clamp(64px, 11.4vw, 200px); }
.capabilities__body { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; padding-top: 0; }
.cap-list { grid-column: 1 / span 3; align-self: center; display: flex; flex-direction: column; gap: 6px; }
.cap-list__item { font-size: var(--fs-xl); letter-spacing: -.035em; line-height: 1.12; color: var(--ink-24); transition: color .5s var(--ease); }
.cap-list__item.is-active { color: var(--ink); }
.cap-card { grid-column: 4 / span 5; position: relative; background: linear-gradient(180deg, #e3e8eb, #eef1f3); overflow: hidden; }
.cap-card__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cap-card__corners span { position: absolute; color: var(--ink-40); font-size: 12px; line-height: 1; }
.cap-card__corners span:nth-child(1) { left: 10px; top: 8px; }
.cap-card__corners span:nth-child(2) { right: 10px; top: 8px; }
.cap-card__corners span:nth-child(3) { left: 10px; bottom: 8px; }
.cap-card__corners span:nth-child(4) { right: 10px; bottom: 8px; }
.cap-info { grid-column: 10 / span 3; align-self: center; display: grid; }
.cap-info__item { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.cap-info__item.is-active { opacity: 1; visibility: visible; }
.cap-info__value { font-size: var(--fs-xl); letter-spacing: -.035em; line-height: 1.1; margin-bottom: 18px; }
.cap-info__text { font-size: 15px; line-height: 1.45; color: var(--ink-80); max-width: 22em; }
.capabilities__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; color: var(--ink-60); }
.cap-progress { flex: 1; max-width: 240px; height: 1px; background: var(--ink-12); position: relative; }
.cap-progress span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ==========================================================================
   Fleet (product catalogue)
   ========================================================================== */
.fleet { position: relative; z-index: 25; background: var(--white); padding: 16vh var(--gutter) 14vh; border-top: 1px solid var(--ink-12); }
.fleet__intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin: 6vh 0 7vh; }
.fleet__intro .eyebrow { grid-column: 1 / span 4; align-self: start; }
.fleet__lead { grid-column: 7 / span 6; font-size: var(--fs-l); line-height: 1.2; letter-spacing: -.02em; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; position: sticky; top: var(--header-h); z-index: 5; background: var(--white); padding: 10px 0; }
.filters__btn { padding: 9px 14px; border: 1px solid var(--ink-12); border-radius: 30px; font-size: 13px; transition: background .35s, color .35s, border-color .35s; }
.filters__btn sup { font-size: 9px; margin-left: 2px; color: var(--ink-40); vertical-align: super; }
.filters__btn:hover { border-color: var(--ink-40); }
.filters__btn.is-active { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.filters__btn.is-active sup { color: rgba(255,255,255,.6); }
.fleet__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fleet__more { display: flex; justify-content: center; margin-top: 8vh; }

.drone-card { position: relative; display: flex; flex-direction: column; background: var(--canvas); border: 1px solid var(--ink-12); border-radius: 3px; padding: 14px; transition: border-color .4s; }
.drone-card.is-hidden { display: none; }
.drone-card:hover { border-color: var(--ink-40); }
.drone-card__link { position: absolute; inset: 0; z-index: 3; }
.drone-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pill { padding: 5px 9px; background: var(--mist); border-radius: 20px; font-size: 10px; }
.drone-card__idx { color: var(--ink-40); }
.drone-card__media { position: relative; aspect-ratio: 9 / 7; overflow: hidden; background: var(--mist-2); border-radius: 2px; }
.drone-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), filter .6s; }
.drone-card:hover .drone-card__img { transform: scale(1.06); filter: blur(3px) brightness(.9); }
.drone-card__specs {
	position: absolute; inset: 0; z-index: 2; padding: 16px;
	background: rgba(253, 253, 253, .9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	display: flex; flex-direction: column; justify-content: flex-end;
	clip-path: inset(100% 0 0 0); transition: clip-path .7s var(--ease);
}
.drone-card:hover .drone-card__specs, .drone-card:focus-within .drone-card__specs { clip-path: inset(0 0 0 0); }
.drone-card__specs-title { color: var(--ink-60); margin-bottom: auto; }
.drone-card__specs dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--ink-12); }
.drone-card__specs dt { color: var(--ink-60); font-size: 10px; }
.drone-card__specs dd { font-size: 13px; text-align: right; }
.drone-card__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 14px; }
.drone-card__title { font-size: 22px; letter-spacing: -.025em; line-height: 1.1; }
.drone-card__class { color: var(--ink-60); margin-top: 6px; font-size: 10px; }
.drone-card__price { font-size: 15px; white-space: nowrap; }
.drone-card__price .mono { color: var(--ink-40); font-size: 9px; }

/* ==========================================================================
   Deploy (terrain)
   ========================================================================== */
.deploy { position: relative; z-index: 25; background: var(--white); padding: 16vh var(--gutter) 0; border-top: 1px solid var(--ink-12); }
.deploy__intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin: 6vh 0 10vh; }
.deploy__intro .eyebrow { grid-column: 1 / span 4; align-self: start; }
.deploy__lead { grid-column: 7 / span 6; font-size: var(--fs-l); line-height: 1.2; letter-spacing: -.02em; }
.deploy__stage { position: relative; height: 400vh; margin: 0 calc(var(--gutter) * -1); }
.deploy__sticky { position: sticky; top: 0; height: 100vh; padding: calc(var(--header-h) + 8px) var(--gutter) 16px; display: flex; flex-direction: column; }
.deploy__frame { position: relative; flex: 1; overflow: hidden; background: #f3f5f6; }
.deploy__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.deploy__marker { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.deploy__marker span { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border: 1px solid var(--ink); border-radius: 50%; }
.deploy__marker span::before {
	content: ""; position: absolute; inset: 3px; background: var(--accent);
	-webkit-mask: var(--chevron) center / contain no-repeat; mask: var(--chevron) center / contain no-repeat;
}
.deploy__marker span { background: #fff; }
.deploy__marker span::after { content: ""; position: absolute; inset: -10px; border: 1px solid var(--accent); border-radius: 50%; animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.deploy__card {
	position: absolute; left: 24px; bottom: 24px; width: min(360px, calc(100% - 48px));
	background: rgba(253, 253, 253, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--ink-12); padding: 18px; display: grid;
}
.step { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.step.is-active { opacity: 1; visibility: visible; }
.step__num { color: var(--ink-60); margin-bottom: 14px; }
.step__title { font-size: 26px; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 14px; }
.step__text { font-size: 14px; color: var(--ink-80); line-height: 1.45; }
.step__status { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--ink-12); color: var(--ink-60); }
.step__status strong { color: var(--accent); font-weight: 400; }
.deploy__meta { display: flex; justify-content: space-between; padding-top: 12px; color: var(--ink-60); }

/* ==========================================================================
   Outro
   ========================================================================== */
.outro { position: relative; z-index: 1; background: var(--white); padding: 12vh var(--gutter) 10vh; }
.outro__line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--ink-12); color: var(--ink-60); }
.outro__space { height: 72vh; }
.outro__vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8vh; }
.outro__vm > div { max-width: 34em; }
.outro__vm > div:last-child { justify-self: end; }
.outro__vm p:not(.label) { font-size: var(--fs-m); line-height: 1.35; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; z-index: 25; background: var(--white); padding: 12vh var(--gutter) var(--gutter); border-top: 1px solid var(--ink-12); overflow: hidden; }
.site-footer__cta { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; padding-bottom: 10vh; }
.site-footer__lead { grid-column: 1 / span 6; font-size: var(--fs-l); letter-spacing: -.02em; line-height: 1.15; }
.site-footer__cta-right { grid-column: 7 / span 5; }
.site-footer__sub { font-size: var(--fs-l); letter-spacing: -.02em; line-height: 1.15; color: var(--ink-60); margin-bottom: 28px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; padding: 28px 0; border-top: 1px solid var(--ink-12); }
.site-footer__about { grid-column: 1 / span 5; color: var(--ink-60); max-width: 30em; }
.site-footer__col:nth-child(2) { grid-column: 7 / span 2; }
.site-footer__col:nth-child(3) { grid-column: 9 / span 2; }
.site-footer__col:nth-child(4) { grid-column: 11 / span 2; }
.site-footer__col a, .site-footer__col p { display: block; margin-bottom: 6px; color: var(--ink-80); overflow-wrap: anywhere; }
.site-footer__col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__h { color: var(--ink-40) !important; margin-bottom: 14px !important; }
.site-footer__brand { display: flex; align-items: flex-end; gap: 2vw; margin: 6vh 0 2vh; }
.site-footer__mark { width: 11vw; height: auto; flex: none; margin-bottom: 2.2vw; }
.site-footer__word { font-size: 21.5vw; line-height: .76; letter-spacing: -.06em; font-weight: 400; white-space: nowrap; }
.site-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--ink-12); color: var(--ink-60); }
.site-footer__links { display: flex; gap: 20px; }
.site-footer__legal { padding-right: 64px; align-items: center; }
.site-footer__credit strong, .site-footer__credit a { color: var(--ink); font-weight: 400; }
.site-footer__credit a { position: relative; }
.site-footer__credit a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.site-footer__credit a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { padding: calc(var(--header-h) + 10vh) var(--gutter) 6vh; border-bottom: 1px solid var(--ink-12); }
.page-hero__meta { display: flex; justify-content: space-between; color: var(--ink-60); margin-bottom: 6vh; }
.page-hero__title { font-size: var(--fs-giant); line-height: .9; letter-spacing: -.055em; margin-left: -.04em; }
.page-hero__intro { margin-top: 5vh; max-width: 32em; margin-left: 50%; font-size: var(--fs-l); line-height: 1.2; letter-spacing: -.02em; }

.block { padding: 12vh var(--gutter); border-bottom: 1px solid var(--ink-12); }
.block--mist { background: var(--mist-2); }
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.split__aside { grid-column: 1 / span 4; }
.split__main { grid-column: 7 / span 6; }
.split__main > * + * { margin-top: 22px; }
.lead { font-size: var(--fs-l); line-height: 1.2; letter-spacing: -.02em; }
.body-l { font-size: var(--fs-m); line-height: 1.4; color: var(--ink-80); }
.media-wide { margin-top: 10vh; aspect-ratio: 21 / 9; overflow: hidden; border-radius: 2px; }
.media-wide img { width: 100%; height: 115%; object-fit: cover; }

.value-list { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); border-top: 1px solid var(--ink-12); }
.value-list li { padding: 22px 16px 28px 0; border-right: 1px solid var(--ink-12); padding-left: 16px; }
.value-list li:first-child { padding-left: 0; }
.value-list li:last-child { border-right: 0; }
.value-list h3 { font-size: 26px; letter-spacing: -.03em; margin: 28px 0 12px; }
.value-list p { color: var(--ink-60); }

.check-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ink-12); font-size: var(--fs-m); }
.check-list li::before {
	content: ""; width: 10px; height: 10px; flex: none; margin-top: .4em; background: var(--accent);
	-webkit-mask: var(--chevron) center / contain no-repeat; mask: var(--chevron) center / contain no-repeat;
	transform: rotate(90deg);
}

.services-list { border-top: 1px solid var(--ink-12); }
.service-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; padding: 4vh 0; border-bottom: 1px solid var(--ink-12); position: relative; }
.service-row__num { grid-column: 1 / span 1; color: var(--ink-40); padding-top: .8em; }
.service-row__title { grid-column: 2 / span 5; font-size: var(--fs-xl); letter-spacing: -.035em; line-height: 1.05; transition: transform .6s var(--ease); }
.service-row:hover .service-row__title { transform: translateX(12px); }
.service-row__body { grid-column: 7 / span 6; }
.service-row__body p { font-size: var(--fs-m); line-height: 1.4; color: var(--ink-80); }
.service-row__body .chips { justify-content: flex-start; margin-top: 18px; }

.features { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); border-top: 1px solid var(--ink-12); }
.features li { padding: 24px 16px 30px; border-right: 1px solid var(--ink-12); }
.features li:first-child { padding-left: 0; }
.features li:last-child { border-right: 0; }
.features h3 { font-size: var(--fs-l); letter-spacing: -.03em; margin: 22px 0 12px; }
.features p { color: var(--ink-60); }

.matrix-wrap { overflow-x: auto; margin-top: 6vh; border: 1px solid var(--ink-12); -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 14px; }
.matrix th, .matrix td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--ink-12); vertical-align: top; }
.matrix thead th { font-weight: 400; font-size: 16px; letter-spacing: -.02em; position: sticky; top: 0; background: var(--canvas); }
.matrix tbody th { font-family: var(--mono); font-weight: 300; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-60); white-space: nowrap; }
.matrix tbody tr:hover { background: var(--mist-2); }
.matrix tr.is-total td { font-size: 18px; letter-spacing: -.02em; }

.steps-list { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 16px; }
.steps-list li { border-top: 1px solid var(--ink); padding-top: 18px; }
.steps-list h3 { font-size: 22px; letter-spacing: -.02em; margin: 18px 0 10px; }
.steps-list p { color: var(--ink-60); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.contact-info { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 28px; }
.contact-info a, .contact-info p:not(.label) { font-size: var(--fs-m); line-height: 1.35; }
.contact-form-wrap { grid-column: 7 / span 6; }
.contact-form, .af-cf7 .cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--ink-24); }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-60); }
.field input, .field select, .field textarea {
	font: inherit; font-size: 18px; color: var(--ink); background: transparent; border: 0; padding: 4px 0; outline: none; border-radius: 0;
	-webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field:focus-within { border-bottom-color: var(--ink); }
.contact-form .btn { margin-top: 28px; justify-self: start; }
.hp { position: absolute; left: -9999px; }
.notice { grid-column: 1 / -1; padding: 12px 14px; margin-bottom: 12px; border: 1px solid var(--ink-24); font-size: 14px; }
.notice--ok { border-color: #2e9d6a; color: #1f6b48; }
.notice--err { border-color: var(--accent); color: #b3122a; }

/* Blog & single */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist-2); margin-bottom: 14px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card h2 { font-size: 24px; letter-spacing: -.025em; line-height: 1.12; margin: 10px 0; }
.post-card p { color: var(--ink-60); }
.entry { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.6; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: 34px; letter-spacing: -.03em; line-height: 1.1; margin-top: 1.6em; }
.entry h3 { font-size: 26px; letter-spacing: -.02em; margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.2em; list-style: disc; }
.entry a { text-decoration: underline; text-underline-offset: 3px; }
.entry img { height: auto; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 8vh; }
.pagination .page-numbers { padding: 8px 12px; border: 1px solid var(--ink-12); border-radius: 3px; }
.pagination .current { background: var(--ink); color: var(--canvas); }

/* Single drone */
.drone-single { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; padding: calc(var(--header-h) + 8vh) var(--gutter) 12vh; }
.drone-single__media { grid-column: 1 / span 7; background: var(--mist-2); aspect-ratio: 4 / 3.2; overflow: hidden; }
.drone-single__media img { width: 100%; height: 100%; object-fit: cover; }
.drone-single__info { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 20px; }
.drone-single__title { font-size: var(--fs-xl); letter-spacing: -.04em; line-height: 1; }
.drone-single__price { font-size: var(--fs-l); letter-spacing: -.02em; }
.drone-single__specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ink-12); }
.drone-single__specs dt { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-60); }
.drone-single__specs dd { text-align: right; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
	.statement { min-height: auto; padding: 50vh var(--gutter) 12vh; }
	.statement__text { grid-column: 1 / -1; padding-right: 0; }
	.statement__rule { display: none; }
	.about__head { min-height: 44vh; }
	.about__head .section-title { width: 100%; }
	.about__body .eyebrow, .about__copy, .about__why .label, .why-list { grid-column: 1 / -1; }
	.why-list { grid-template-columns: 1fr; }
	.why-list li:nth-child(odd) { padding-right: 0; }
	.stats { height: 300vh; }
	.stats__row { grid-template-columns: 1fr; }
	.stat { border-right: 0; border-bottom: 1px solid var(--ink-12); padding: 2.4vh 16px; }
	.stat:last-child { border-bottom: 0; }
	.stats__hud { bottom: 40vh; }
	.stats__center { bottom: calc(40vh - 34px); }
	.ind-panel__text, .ind-panel__media { grid-column: 1 / -1; }
	.ind-panel__media { order: -1; }
	.tabs { gap: 4px 20px; }
	.capabilities { height: 360vh; }
	.capabilities__body { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; gap: 12px; padding-top: 14px; }
	.cap-list { grid-column: 1; flex-direction: row; gap: 14px; }
	.cap-list__item { font-size: 22px; }
	.cap-card { grid-column: 1; min-height: 0; }
	.cap-info { grid-column: 1; }
	.cap-info__value { font-size: 28px; margin-bottom: 8px; }
	.cap-info__text { font-size: 14px; }
	.fleet__intro .eyebrow, .fleet__lead, .deploy__intro .eyebrow, .deploy__lead { grid-column: 1 / -1; }
	.fleet__grid { grid-template-columns: 1fr 1fr; }
	.deploy__stage { height: 320vh; }
	.deploy__card { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 14px; }
	.step__title { font-size: 21px; }
	.outro__space { height: 56vh; }
	.outro__vm { grid-template-columns: 1fr; gap: 32px; }
	.outro__vm > div:last-child { justify-self: start; }
	.site-footer__lead, .site-footer__cta-right, .site-footer__about { grid-column: 1 / -1; }
	.site-footer__col:nth-child(2), .site-footer__col:nth-child(3), .site-footer__col:nth-child(4) { grid-column: span 6; }
	.site-footer__col:nth-child(2) { grid-column: 1 / -1; }
	.page-hero__intro { margin-left: 0; }
	.split__aside, .split__main { grid-column: 1 / -1; }
	.split__aside { margin-bottom: 20px; }
	.value-list { grid-template-columns: 1fr 1fr; }
	.value-list li { padding-left: 0 !important; border-right: 0; border-bottom: 1px solid var(--ink-12); }
	.service-row__num { grid-column: 1 / -1; padding-top: 0; }
	.service-row__title, .service-row__body { grid-column: 1 / -1; }
	.features { grid-template-columns: 1fr 1fr; }
	.features li { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--ink-12); }
	.steps-list { grid-template-columns: 1fr 1fr; }
	.contact-info, .contact-form-wrap { grid-column: 1 / -1; }
	.contact-form-wrap { margin-top: 40px; }
	.posts-grid { grid-template-columns: 1fr 1fr; }
	.drone-single__media, .drone-single__info { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	.page-hero__meta span:last-child { display: none; }
	.brand__logo { height: min(var(--logo-h, 62px), 48px); }
	.header-cta { height: 36px; padding: 0 5px 0 12px; font-size: 12px; }
	.header-cta__icon { width: 24px; height: 24px; }
	.burger { width: 36px; height: 36px; }
	.filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
	.filters::-webkit-scrollbar { display: none; }
	.filters__btn { flex: none; }
	.hero__bottom { flex-direction: column; align-items: flex-start; }
	.hero__scroll { display: none; }
	.hero__hud span:nth-child(2) { display: none; }
	.spec-grid dd { font-size: 20px; }
	.fleet__grid, .posts-grid, .steps-list, .features, .value-list { grid-template-columns: 1fr; }
	.contact-form, .af-cf7 .cf-grid { grid-template-columns: 1fr; }
	.site-footer__col:nth-child(3), .site-footer__col:nth-child(4) { grid-column: 1 / -1; }
	.marquee__item { font-size: 30px; gap: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* WebGL fallback */
.no-webgl .drone-stage { display: none; }
.no-webgl .cap-card { background: #eef1f3 url("../img/heavy-lift.png") center / 80% no-repeat; }
.no-webgl .deploy__frame { background: url("../img/industries/survey-mapping.jpg") center / cover no-repeat; }
.no-webgl .deploy__marker { display: none; }
.word-wrap { white-space: nowrap; }

/* ==========================================================================
   Services (highlighted dark band)
   ========================================================================== */
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent::after { background: #fff; }
.btn--accent:hover { color: var(--ink); }

.services {
	--line: rgba(255, 255, 255, .14);
	position: relative; z-index: 25; overflow: hidden; isolation: isolate;
	background: #0e1418; color: #f3f5f6;
	padding: 16vh var(--gutter) 12vh;
}
.services::before {
	content: ""; position: absolute; z-index: -1; right: -20vw; top: -30vh; width: 80vw; height: 80vw; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(240, 52, 79, .22), rgba(240, 52, 79, 0));
	pointer-events: none;
}
.services::after {
	content: ""; position: absolute; z-index: -1; inset: 0; opacity: .5; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 80px 80px;
	mask-image: linear-gradient(180deg, #000, transparent 60%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%);
}
.services .section-title__text { color: #fff; }
.services .section-title__num { border-color: rgba(255, 255, 255, .35); color: #fff; }
.services .eyebrow { color: rgba(255, 255, 255, .72); }
.services .eyebrow .dot { background: var(--accent); }
.services__intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin: 6vh 0 8vh; }
.services__intro .eyebrow { grid-column: 1 / span 4; align-self: start; }
.services__lead { grid-column: 7 / span 6; font-size: var(--fs-l); line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.services--page { padding-top: 10vh; }
.services--page .services__intro { margin-top: 0; }

.svc { position: relative; }
.svc__list { border-top: 1px solid var(--line); }
.svc__item { position: relative; }
.svc__row {
	position: relative; isolation: isolate; overflow: hidden;
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: center;
	padding: 3.4vh 12px; margin: 0 -12px;
	border-bottom: 1px solid var(--line);
	color: #fff;
}
.svc__fill {
	position: absolute; inset: 0; z-index: -1; background: var(--accent);
	transform: scaleY(0); transform-origin: bottom; transition: transform .65s var(--ease);
}
.svc__row:hover .svc__fill, .svc__row:focus-visible .svc__fill { transform: scaleY(1); }
.svc__num { grid-column: 1; color: var(--accent); font-size: 12px; transition: color .4s; }
.svc__row:hover .svc__num { color: #fff; }
.svc__title {
	grid-column: 2 / span 5; font-size: clamp(28px, 3.1vw, 52px); line-height: 1.06; letter-spacing: -.035em;
	transition: transform .65s var(--ease);
}
.svc__row:hover .svc__title { transform: translateX(14px); }
.svc__body { grid-column: 7 / span 5; }
.svc__desc { font-size: var(--fs-m); line-height: 1.4; color: rgba(255, 255, 255, .64); transition: color .4s; max-width: 30em; }
.svc__row:hover .svc__desc { color: #fff; }
.svc__arrow {
	grid-column: 12; justify-self: end; width: 46px; height: 46px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center;
	transition: background .4s, color .4s, border-color .4s, transform .6s var(--ease);
}
.svc__chev { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .6s var(--ease); }
.svc__row:hover .svc__arrow { background: #fff; color: var(--accent); border-color: #fff; }
.svc__row:hover .svc__chev { transform: rotate(90deg) translateY(-3px); }
.svc__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.svc__tags li { padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 20px; font-size: 10px; color: rgba(255, 255, 255, .82); }
.svc__row:hover .svc__tags li { border-color: rgba(255, 255, 255, .7); color: #fff; }

/* full variant (services page) */
.svc--full .svc__title { grid-column: 2 / span 4; }
.svc--full .svc__body { grid-column: 6 / span 4; }
.svc--full .svc__thumb { grid-column: 10 / span 3; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: #1b2429; }
.svc--full .svc__thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1s var(--ease-out), filter .6s; filter: grayscale(.4); }
.svc--full .svc__row:hover .svc__thumb img { transform: scale(1); filter: none; }
.svc--full .svc__row { padding-top: 4vh; padding-bottom: 4vh; align-items: start; }
.svc--full .svc__num, .svc--full .svc__title { padding-top: .2em; }

/* floating preview that follows the cursor (home) */
.svc__preview {
	position: absolute; left: 0; top: 0; z-index: 4; width: 300px; aspect-ratio: 4 / 3;
	overflow: hidden; border-radius: 4px; pointer-events: none;
	opacity: 0; transform: scale(.6); box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.svc__preview img { width: 100%; height: 100%; object-fit: cover; }
.svc--full .svc__preview { display: none; }

.services__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 7vh; color: rgba(255, 255, 255, .6); }

@media (max-width: 1023px) {
	.services__intro .eyebrow, .services__lead { grid-column: 1 / -1; }
	.svc__row { grid-template-columns: 40px 1fr; row-gap: 10px; padding: 22px 12px; }
	.svc__num { grid-column: 1; align-self: start; padding-top: .5em; }
	.svc__title, .svc--full .svc__title { grid-column: 2; }
	.svc__body, .svc--full .svc__body { grid-column: 2; }
	.svc__arrow { display: none; }
	.svc--full .svc__thumb { grid-column: 2; }
	.svc__preview { display: none; }
}

/* ==========================================================================
   Chevron brand mark placements
   ========================================================================== */
.chevron, .chevron-outline { display: block; overflow: visible; }

/* Preloader: outline draws, fill rises with the counter */
.preloader { gap: 0; }
.preloader__mark { position: absolute; left: 50%; top: calc(50% - 86px); width: 56px; height: 52px; transform: translateX(-50%); }
.preloader__outline { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink-24); }
.preloader__outline path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.preloader__fill { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.preloader__solid { width: 100%; height: 100%; }

/* Back to top */
.to-top {
	position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 110;
	width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
	background: rgba(253, 253, 253, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	box-shadow: 0 6px 24px rgba(31, 42, 48, .12);
	opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
	transition: opacity .4s var(--ease), transform .5s var(--ease), visibility .4s, background .35s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--ink-12); stroke-width: 1.5; }
.to-top__ring .to-top__progress { stroke: var(--accent); stroke-dasharray: 1; stroke-dashoffset: 1; }
.to-top__icon { position: relative; width: 14px; height: 14px; color: var(--ink); transition: transform .5s var(--ease), color .35s; }
.to-top:hover { background: var(--ink); }
.to-top:hover .to-top__icon { color: #fff; transform: translateY(-3px); }
body.menu-open .to-top { opacity: 0; visibility: hidden; }

/* Services watermark */
.svc__list { position: relative; z-index: 1; }
.svc__watermark { position: absolute; z-index: 0; right: -4vw; top: -14vh; width: min(48vw, 720px); color: rgba(255, 255, 255, .09); pointer-events: none; }
.svc__watermark-svg { width: 100%; height: auto; }
.svc__watermark path { stroke-dasharray: 1; stroke-dashoffset: 1; }

/* Outro: giant line-drawn chevron behind the hovering drone */
.outro__space { position: relative; display: grid; place-items: center; }
.outro__mark { width: min(40vw, 520px); color: var(--ink-24); }
.outro__outline { width: 100%; height: auto; }
.outro__outline path { stroke-dasharray: 1; stroke-dashoffset: 1; }

@media (max-width: 1023px) {
	.to-top { width: 42px; height: 42px; }
	.outro__mark { width: 70vw; }
	.svc__watermark { width: 90vw; top: -6vh; }
}

/* ==========================================================================
   Forms – shared by the built-in form and Contact Form 7
   ========================================================================== */
.field__label { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-60); }
.af-cf7 .wpcf7-form-control-wrap { display: block; }
.af-cf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]), .af-cf7 select, .af-cf7 textarea {
	width: 100%; font: inherit; font-size: 18px; color: var(--ink); background: transparent; border: 0; padding: 4px 0; outline: none; border-radius: 0;
	-webkit-appearance: none; appearance: none;
}
.af-cf7 textarea { resize: vertical; min-height: 120px; height: 120px; }
.af-cf7 select, .contact-form select { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231f2a30' stroke-width='1.2'/%3E%3C/svg%3E") right 2px center / 10px no-repeat; padding-right: 20px; cursor: pointer; }
.af-cf7 .cf-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.af-cf7 .cf-submit, .af-cf7 input[type=submit] {
	-webkit-appearance: none; appearance: none; border: 0; cursor: pointer;
	padding: 14px 20px; border-radius: 3px; font: inherit; font-size: 13px; line-height: 1;
	background: var(--ink); color: #fff; transition: background .4s var(--ease);
}
.af-cf7 .cf-submit:hover, .af-cf7 input[type=submit]:hover { background: var(--accent); }
.af-cf7 .wpcf7-spinner { margin: 0; }
.af-cf7 .wpcf7-not-valid-tip { font-size: 12px; color: #c2182f; margin-top: 4px; }
.af-cf7 .wpcf7-not-valid { box-shadow: none; }
.af-cf7 .field:has(.wpcf7-not-valid) { border-bottom-color: #c2182f; }
.af-cf7 .wpcf7-response-output { margin: 18px 0 0 !important; padding: 12px 14px !important; border: 1px solid var(--ink-24) !important; font-size: 14px; }
.af-cf7 .wpcf7 form.sent .wpcf7-response-output { border-color: #2e9d6a !important; color: #1f6b48; }
.af-cf7 .wpcf7 form.invalid .wpcf7-response-output, .af-cf7 .wpcf7 form.failed .wpcf7-response-output { border-color: #c2182f !important; color: #b3122a; }
.contact-form .btn { grid-column: 1 / -1; }

.contact-map { margin-top: 10vh; aspect-ratio: 21 / 8; border: 1px solid var(--ink-12); overflow: hidden; }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* SEO-plugin breadcrumbs */
.crumbs a { color: var(--ink-60); }
.crumbs a:hover { color: var(--ink); }
.crumbs > span > span { color: var(--ink); }

/* ==========================================================================
   Enquiry popup
   ========================================================================== */
.popup { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; visibility: hidden; pointer-events: none; }
.popup.is-open { visibility: visible; pointer-events: auto; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(14, 20, 24, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; }
.popup__panel {
	position: relative; width: min(1040px, 100%); max-height: calc(100vh - 48px); max-height: calc(100svh - 48px);
	display: grid; grid-template-columns: 5fr 7fr; background: var(--canvas); border-radius: 8px; overflow: hidden;
	box-shadow: 0 40px 120px rgba(0, 0, 0, .35);
	clip-path: inset(50% 0 50% 0 round 8px);
}
.popup__close {
	position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 6px;
	background: var(--mist); display: grid; place-items: center; transition: background .35s var(--ease), transform .5s var(--ease);
}
.popup__close span { position: absolute; width: 16px; height: 1.5px; background: var(--ink); transition: background .35s; }
.popup__close span:first-child { transform: rotate(45deg); }
.popup__close span:last-child { transform: rotate(-45deg); }
.popup__close:hover { background: var(--ink); transform: rotate(90deg); }
.popup__close:hover span { background: #fff; }
.popup__media { position: relative; background: #0e1418; color: #fff; overflow: hidden; min-height: 100%; }
.popup__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.popup__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 20, 24, .2), rgba(14, 20, 24, .85)); }
.popup__media-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; gap: 40px; }
.popup__mark { width: 44px; height: 44px; }
.popup__points li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 15px; }
.popup__points li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .35em; background: var(--accent); -webkit-mask: var(--chevron) center / contain no-repeat; mask: var(--chevron) center / contain no-repeat; transform: rotate(90deg); }
.popup__body { padding: 40px 40px 32px; overflow-y: auto; }
.popup__body .eyebrow { margin-bottom: 18px; }
.popup__title { font-size: clamp(30px, 3vw, 46px); letter-spacing: -.04em; line-height: 1.02; margin-bottom: 14px; padding-right: 40px; }
.popup__text { color: var(--ink-60); font-size: 15px; line-height: 1.5; max-width: 34em; margin-bottom: 10px; }
.popup__form .contact-form, .popup__form .af-cf7 .cf-grid { gap: 0 14px; }
.popup__form .field { padding: 10px 0; }
.popup__form .af-cf7 textarea, .popup__form .contact-form textarea { min-height: 84px; height: 84px; }
.popup__success { margin-top: 18px; padding: 12px 14px; border: 1px solid #2e9d6a; color: #1f6b48; }
body.popup-open .to-top { opacity: 0; visibility: hidden; }

@media (max-width: 860px) {
	.popup { padding: 0; align-items: end; }
	.popup__panel { grid-template-columns: 1fr; max-height: 92svh; border-radius: 14px 14px 0 0; }
	.popup__media { display: none; }
	.popup__body { padding: 28px 20px 24px; }
}

/* Client logo placements */
.site-footer__logo { display: inline-block; margin-bottom: 22px; }
.site-footer__logo-img { height: 72px; width: auto; }
.popup__logo { width: 120px; height: auto; }
