/* ==========================================================================
   Digital Land Survey BD — digitallandsurveybd.com
   Mobile-first stylesheet
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --c-primary: #071A16;
  --c-secondary: #0D2922;
  --c-deep: #04110E;
  --c-surface: #0A231D;
  --c-accent: #7CCB5E;
  --c-accent-soft: rgba(124, 203, 94, .14);
  --c-gold: #D6B65C;
  --c-text: #F5F7F5;
  --c-muted: #A8B7B1;
  --c-dim: #6F837C;
  --c-line: rgba(168, 183, 177, .14);
  --c-line-strong: rgba(168, 183, 177, .26);

  --grad-accent: linear-gradient(100deg, #A3DE86 0%, var(--c-accent) 45%, var(--c-gold) 115%);

  --f-head: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1320px;
  --section-y: clamp(96px, 12vw, 176px);
  --nav-h: 76px;
  --radius: 3px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #1d3a32 var(--c-primary);
}

body {
  margin: 0;
  background: var(--c-primary);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
[hidden] { display: none !important; }

::selection { background: var(--c-accent); color: var(--c-primary); }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mono { font-family: var(--f-mono); }

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--c-accent);
  color: var(--c-primary);
  font-weight: 600;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section-y); }

/* ---------- Typography components ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-family: var(--f-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.eyebrow__mark {
  position: relative;
  width: 40px;
  height: 1px;
  background: currentColor;
}
.eyebrow__mark::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -3px;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.section-tag span { color: var(--c-accent); }
.section-tag::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--c-line-strong);
}

.section-title {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.8vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.section-title em,
.cta__title em,
.hero__title:not(.is-split) em,
.hero__title.is-split em .word__inner {
  font-style: normal;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 22px;
  font-family: var(--f-head);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -.012em;
  color: var(--c-text);
}

.section-head {
  display: grid;
  gap: 28px;
  margin-bottom: clamp(48px, 6vw, 84px);
}
.section-head__aside p {
  max-width: 440px;
  margin: 0 0 22px;
  color: var(--c-muted);
}

/* ---------- Buttons & links ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  font-family: var(--f-head);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .005em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease),
              transform .45s var(--ease), box-shadow .45s var(--ease), opacity .3s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }

.btn--primary {
  background: var(--c-accent);
  color: #06140F;
  box-shadow: 0 10px 30px -12px rgba(124, 203, 94, .55);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .42) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 1s var(--ease);
}
.btn--primary:hover {
  background: #8FD872;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(124, 203, 94, .6);
}
.btn--primary:hover::before { transform: translateX(120%); }

.btn--ghost {
  color: var(--c-text);
  border-color: rgba(245, 247, 245, .22);
  background: rgba(245, 247, 245, .03);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: rgba(245, 247, 245, .55);
  background: rgba(245, 247, 245, .08);
  transform: translateY(-2px);
}

.btn--sm { padding: 11px 18px; font-size: .86rem; }
.btn--sm .icon { width: 16px; height: 16px; }
.btn--lg { padding: 18px 30px; font-size: 1rem; }

.btn.is-loading { opacity: .7; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid rgba(124, 203, 94, .45);
  background: none;
  font-family: var(--f-head);
  font-size: .95rem;
  font-weight: 500;
  color: var(--c-text);
  transition: color .3s, border-color .3s;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.link-arrow:hover { color: var(--c-accent); border-color: var(--c-accent); }
.link-arrow:hover .icon { transform: translateX(4px); }

.glass {
  background: linear-gradient(145deg, rgba(13, 41, 34, .62), rgba(7, 26, 22, .38));
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
  border: 1px solid rgba(245, 247, 245, .1);
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.live-dot {
  display: inline-block;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: liveDot 2s ease-out infinite;
}

/* ---------- Image wrappers (with graceful fallback) ---------- */
.media {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(124, 203, 94, .14), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(168, 183, 177, .06) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(168, 183, 177, .06) 39px 40px),
    linear-gradient(135deg, #0D2922, #071A16);
}
.js .media img:not(.is-loaded) { opacity: 0; }
.js .media img.is-loaded { animation: imgIn 1.2s var(--ease); }
.media img.is-failed { visibility: hidden; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms + var(--delay, 0ms));
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.965); }
.js [data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(7% 7% 7% 7%);
  transition: clip-path 1.5s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 20px;
  border-bottom: 1px solid transparent;
  transition: background-color .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease),
              -webkit-backdrop-filter .5s, backdrop-filter .5s;
}
.nav.is-scrolled {
  padding-block: 12px;
  background: rgba(7, 26, 22, .64);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--c-line);
}
.nav.menu-open { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-head);
  color: var(--c-text);
}
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: 1.05rem; font-weight: 700; letter-spacing: .14em; }
.logo__name span { color: var(--c-accent); }
.logo__sub {
  margin-top: 5px;
  font-family: var(--f-mono);
  font-size: .56rem;
  font-weight: 500;
  letter-spacing: .42em;
  color: var(--c-muted);
}
.logo__mark {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 1.5;
  transition: transform .7s var(--ease);
}
.logo__mark circle { fill: var(--c-accent); stroke: none; }
.logo:hover .logo__mark { transform: scale(1.12); }

.nav__links { display: none; }

.nav__link {
  position: relative;
  padding: 8px 0;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(245, 247, 245, .7);
  transition: color .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__link::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  background: var(--c-accent);
  transform: rotate(45deg) scale(0);
  transition: transform .4s var(--ease);
}
.nav__link:hover { color: var(--c-text); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--c-text); }
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active::before { transform: rotate(45deg) scale(1); }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__cta { display: none; }

.nav__toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(245, 247, 245, .2);
  border-radius: 50%;
  background: rgba(7, 26, 22, .35);
  color: var(--c-text);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.nav__toggle .icon {
  grid-area: 1 / 1;
  width: 20px;
  height: 20px;
  transition: opacity .3s, transform .45s var(--ease);
}
.nav__toggle .icon--close { opacity: 0; transform: scale(.6); }
.nav.menu-open .icon--open { opacity: 0; transform: scale(.6); }
.nav.menu-open .icon--close { opacity: 1; transform: none; }

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 40px;
  background:
    linear-gradient(rgba(168, 183, 177, .04) 1px, transparent 1px) 0 0 / 60px 60px,
    linear-gradient(90deg, rgba(168, 183, 177, .04) 1px, transparent 1px) 0 0 / 60px 60px,
    rgba(4, 17, 14, .96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }

.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-line);
  font-family: var(--f-head);
  font-size: clamp(1.9rem, 8vw, 3rem);
  font-weight: 500;
  letter-spacing: -.03em;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), color .3s;
}
.menu.is-open .menu__links a {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 60ms + 120ms);
}
.menu__links a span {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--c-accent);
}
.menu__links a.is-active { color: var(--c-accent); }

.menu__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.menu__foot p { margin: 0; font-size: .7rem; letter-spacing: .16em; color: var(--c-dim); }

/* Scroll rail */
.rail {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 50;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: translateY(-50%);
  font-family: var(--f-mono);
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-muted);
  pointer-events: none;
}
.rail__label { writing-mode: vertical-rl; transform: rotate(180deg); min-height: 90px; text-align: right; }
.rail__track { position: relative; width: 1px; height: 120px; overflow: hidden; background: var(--c-line-strong); }
.rail__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--c-accent), var(--c-gold));
  transform: scaleY(0);
  transform-origin: top;
}
.rail__pct { color: var(--c-accent); letter-spacing: .1em; }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.hero__media {
  position: absolute;
  inset: -8% 0;
  z-index: -5;
  will-change: transform;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.06) brightness(.78);
  transform: scale(1.06);
}
.js .media .hero__img.is-loaded { animation: imgIn 1.6s var(--ease), heroZoom 3.2s var(--ease) forwards; }

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(7, 26, 22, .78) 0%, rgba(7, 26, 22, .5) 40%, rgba(7, 26, 22, .86) 78%, var(--c-primary) 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(168, 183, 177, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 183, 177, .07) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 20%, transparent 78%);
}

.hero__survey {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  opacity: .55;
  will-change: transform;
}

/* Survey overlay elements */
.contour {
  fill: none;
  stroke: var(--contour-color, rgba(124, 203, 94, .17));
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 3.4s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 80ms + var(--base-delay, .3s));
}
.contour--index {
  stroke: var(--contour-index-color, rgba(124, 203, 94, .3));
  stroke-width: 1.5;
}
.draw-on-view .contour { animation-play-state: paused; }
.draw-on-view.is-inview .contour { animation-play-state: running; }

.hs-contours { animation: drift 28s ease-in-out infinite alternate; }

.hs-parcel {
  fill: none;
  stroke: rgba(124, 203, 94, .6);
  stroke-width: 1.3;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.4s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
.hs-parcel--active {
  fill: url(#hgParcel);
  fill-opacity: 0;
  stroke: var(--c-accent);
  stroke-width: 2;
  animation: draw 2.4s var(--ease) forwards, fillIn 1.6s ease forwards;
  animation-delay: var(--d, 0s), 2s;
}

.hs-setback {
  fill: none;
  stroke: rgba(214, 182, 92, .7);
  stroke-width: 1;
  stroke-dasharray: 6 7;
  opacity: 0;
  animation: fadeIn 1s ease 2.6s forwards, march 40s linear infinite;
}

.hs-dim { opacity: 0; animation: fadeIn 1.2s var(--ease) forwards; animation-delay: var(--d, 0s); }
.hs-dim path { fill: none; stroke: rgba(245, 247, 245, .55); stroke-width: 1; }
.hs-dim text { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; fill: var(--c-gold); }

.hs-vertex {
  fill: var(--c-primary);
  stroke: var(--c-accent);
  stroke-width: 1.6;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: popIn .7s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
.hs-pulse {
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 3.4s ease-out infinite;
  animation-delay: var(--d, 0s);
}

.hs-reticle__inner {
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 1.2;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: var(--d, 0s);
}
.hs-reticle__inner circle { stroke-dasharray: 4 5; }

.hs-label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  fill: rgba(245, 247, 245, .72);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: var(--d, 0s);
}
.hs-label--accent { fill: var(--c-accent); }
.hs-label--title { font-size: 14px; font-weight: 500; letter-spacing: .18em; fill: var(--c-text); }

.hs-pin {
  opacity: 0;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45));
  animation: fadeIn .8s ease 2.4s forwards, bob 4.6s ease-in-out var(--d, 0s) infinite;
}
.hs-pin path { fill: var(--c-accent); }
.hs-pin circle { fill: var(--c-primary); }
.hs-pin--sm path { fill: var(--c-gold); }

/* Animated coordinate pings */
.hero__pings { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.geo-ping {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: .62rem;
  line-height: 1.5;
  letter-spacing: .08em;
  color: rgba(245, 247, 245, .6);
  animation: pingLife 5s var(--ease) forwards;
}
.geo-ping i {
  position: relative;
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 12px rgba(124, 203, 94, .8);
}
.geo-ping i::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--c-accent);
  border-radius: 50%;
  animation: pingRing 2s ease-out infinite;
}

/* Precision cursor */
.hero__cursor {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s ease;
}
.hero__cursor.is-on { opacity: 1; }
.hero__cursor-x,
.hero__cursor-y { position: absolute; top: 0; left: 0; }
.hero__cursor-x {
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 203, 94, .26) 18%, rgba(124, 203, 94, .26) 82%, transparent);
  transform: translate3d(0, var(--cy, 50vh), 0);
}
.hero__cursor-y {
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(124, 203, 94, .26) 18%, rgba(124, 203, 94, .26) 82%, transparent);
  transform: translate3d(var(--cx, 50vw), 0, 0);
}
.hero__cursor-label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 8px;
  border: 1px solid rgba(124, 203, 94, .25);
  background: rgba(7, 26, 22, .65);
  font-family: var(--f-mono);
  font-size: .64rem;
  letter-spacing: .06em;
  color: var(--c-accent);
  white-space: nowrap;
  transform: translate3d(calc(var(--cx, 0px) + 14px), calc(var(--cy, 0px) + 14px), 0);
}
.hero__cursor.is-flip .hero__cursor-label {
  transform: translate3d(calc(var(--cx, 0px) - 100% - 14px), calc(var(--cy, 0px) + 14px), 0);
}

/* Hero content */
.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 120px;
}
.hero__content { max-width: 780px; will-change: transform, opacity; }

.hero__title {
  margin: 28px 0 28px;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: clamp(2.75rem, 8vw + 1rem, 7rem);
  line-height: .95;
  letter-spacing: -.045em;
}

.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .1em;
  margin-bottom: -.1em;
}
.word__inner {
  display: inline-block;
  transform: translate3d(0, 108%, 0);
  transition: transform 1.3s var(--ease);
  transition-delay: calc(var(--w, 0) * 90ms + 300ms);
}
.is-loaded .word__inner { transform: none; }

.hero__lead {
  max-width: 540px;
  margin: 0 0 44px;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.6;
  color: rgba(245, 247, 245, .8);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.js .hero-in {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.is-loaded .hero-in { opacity: 1; transform: none; }

/* Hero panel */
.hero-panel {
  position: absolute;
  z-index: 3;
  right: max(var(--gutter), calc((100% - var(--max)) / 2));
  bottom: clamp(120px, 15vh, 170px);
  display: none;
  width: 292px;
  padding: 20px 22px;
  border-radius: 2px;
}
.is-loaded .hero-panel { animation: floatY 8s ease-in-out 2.6s infinite; }

.hero-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
  font-family: var(--f-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  color: var(--c-muted);
}
.hero-panel__id { margin-left: auto; color: var(--c-dim); }

.hero-panel__list { margin: 0; }
.hero-panel__row { padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.hero-panel__row dt {
  margin-bottom: 6px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.hero-panel__row dd { display: flex; align-items: center; gap: 16px; margin: 0; }
.hero-panel__row strong {
  min-width: 92px;
  font-family: var(--f-head);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
}
.hero-panel__row small { margin-left: 3px; font-size: .5em; letter-spacing: 0; color: var(--c-accent); }

.bar { position: relative; flex: 1; height: 2px; overflow: hidden; background: var(--c-line-strong); }
.bar i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--c-accent), var(--c-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--ease) 2s;
}
.is-loaded .bar i { transform: scaleX(var(--v, 1)); }

.hero-panel__foot {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  font-size: .62rem;
  letter-spacing: .1em;
  color: var(--c-dim);
}
.hero-panel__foot b { font-weight: 500; color: var(--c-accent); }

/* Hero footer strip */
.hero__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  border-top: 1px solid var(--c-line);
}
.hero__footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-muted);
  transition: color .3s;
}
.scroll-cue:hover { color: var(--c-text); }
.scroll-cue__line { position: relative; width: 1px; height: 34px; overflow: hidden; background: var(--c-line-strong); }
.scroll-cue__line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 40%;
  background: var(--c-accent);
  animation: cueDot 2.4s var(--ease-in-out) infinite;
}

.hud { display: none; gap: 32px; margin: 0; font-size: .66rem; letter-spacing: .1em; }
.hud div { display: flex; gap: 10px; }
.hud dt { color: var(--c-dim); }
.hud dd { margin: 0; color: var(--c-text); font-variant-numeric: tabular-nums; min-width: 12ch; }

/* ==========================================================================
   2. INTRO / TRUST
   ========================================================================== */
.intro { overflow: hidden; }

.intro__deco {
  position: absolute;
  top: 60px;
  right: -220px;
  width: 600px;
  height: 600px;
  fill: none;
  stroke: var(--c-line);
  stroke-width: 1;
  pointer-events: none;
}
.intro__deco .accent { stroke: rgba(124, 203, 94, .2); stroke-dasharray: 3 7; }
.intro__deco .ticks { stroke: rgba(124, 203, 94, .4); }

.intro__grid { position: relative; display: grid; gap: 40px; }
.intro__body > p:not(.lead) { margin: 0; max-width: 560px; color: var(--c-muted); }

.intro__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--c-dim);
}
.intro__meta span { display: inline-flex; align-items: center; gap: 10px; }
.intro__meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid var(--c-accent);
  transform: rotate(45deg);
}

.trust {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  margin: clamp(64px, 8vw, 112px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-line);
}
.trust__item { position: relative; padding: 36px 32px 36px 0; border-bottom: 1px solid var(--c-line); }
.trust__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease) .4s;
}
.trust__item.is-visible::before,
.no-js .trust__item::before { transform: scaleX(1); }

.trust__code { position: absolute; top: 16px; right: 0; font-size: .6rem; letter-spacing: .12em; color: var(--c-dim); }
.trust__icon { width: 30px; height: 30px; margin-bottom: 24px; color: var(--c-accent); }
.trust h3 { margin-bottom: 10px; font-family: var(--f-head); font-size: 1.15rem; letter-spacing: -.01em; }
.trust p { margin: 0; font-size: .93rem; color: var(--c-muted); }

/* ==========================================================================
   3. SERVICES
   ========================================================================== */
.services { background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-secondary) 100%); }
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: .35;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}
.services .container { position: relative; }

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border: 1px solid var(--c-line);
  background: var(--c-line);
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-primary);
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(124, 203, 94, 0), rgba(124, 203, 94, .07));
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s var(--ease);
}
.service:hover::before { opacity: 1; }

.service__media { position: relative; z-index: 1; aspect-ratio: 16 / 10; overflow: hidden; }
.service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.65) brightness(.78);
  transform: scale(1.02);
  transition: transform 1.4s var(--ease), filter 1s var(--ease);
}
.service:hover .service__media img { transform: scale(1.1); filter: saturate(.9) brightness(.86); }
.service__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 22, .05) 25%, rgba(7, 26, 22, .6) 70%, var(--c-primary) 100%);
}

.service__num {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 1;
  padding: 5px 9px;
  border: 1px solid rgba(245, 247, 245, .16);
  background: rgba(7, 26, 22, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: .66rem;
  letter-spacing: .2em;
}

.service__body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: -30px;
  padding: 0 clamp(24px, 2.4vw, 36px) 36px;
}

.service__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  border: 1px solid rgba(124, 203, 94, .35);
  background: rgba(7, 26, 22, .9);
  color: var(--c-accent);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.service__icon .icon { width: 26px; height: 26px; }
.service:hover .service__icon { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-primary); }

.service__title { margin-bottom: 12px; font-family: var(--f-head); font-size: 1.35rem; letter-spacing: -.015em; }
.service p { margin: 0 0 28px; font-size: .95rem; color: var(--c-muted); }

.service__more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-bottom: 4px;
  font-family: var(--f-head);
  font-size: .9rem;
  font-weight: 500;
  background: linear-gradient(var(--c-accent), var(--c-accent)) left bottom / 0 1px no-repeat;
  transition: color .4s, background-size .6s var(--ease);
}
.service__more::before { content: ""; position: absolute; inset: 0; z-index: 3; } /* whole card clickable */
.service__more .icon { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.service:hover .service__more { color: var(--c-accent); background-size: 100% 1px; }
.service:hover .service__more .icon { transform: translateX(5px); }

.corners {
  position: absolute;
  inset: 10px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  --c: var(--c-accent);
  background:
    linear-gradient(var(--c), var(--c)) top left / 14px 1px,
    linear-gradient(var(--c), var(--c)) top left / 1px 14px,
    linear-gradient(var(--c), var(--c)) top right / 14px 1px,
    linear-gradient(var(--c), var(--c)) top right / 1px 14px,
    linear-gradient(var(--c), var(--c)) bottom left / 14px 1px,
    linear-gradient(var(--c), var(--c)) bottom left / 1px 14px,
    linear-gradient(var(--c), var(--c)) bottom right / 14px 1px,
    linear-gradient(var(--c), var(--c)) bottom right / 1px 14px;
  background-repeat: no-repeat;
  transition: opacity .5s var(--ease), inset .7s var(--ease);
}
.service:hover .corners { opacity: 1; inset: 16px; }

/* ==========================================================================
   4. TECHNOLOGY
   ========================================================================== */
.tech {
  background:
    radial-gradient(ellipse 70% 60% at 72% 50%, rgba(124, 203, 94, .07), transparent 70%),
    var(--c-primary);
}
.tech__layout { display: grid; gap: 56px; }
.tech__text { max-width: 470px; margin: 24px 0 36px; color: var(--c-muted); }

.tech__list { display: flex; flex-direction: column; border-top: 1px solid var(--c-line); }
.tech__item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 16px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--c-line);
  background: none;
  color: inherit;
  text-align: left;
}
.tech__item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--c-accent), rgba(124, 203, 94, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease);
}
.tech__item.is-active::before { transform: scaleX(1); }

.tech__code {
  grid-row: span 2;
  padding-top: 5px;
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--c-dim);
  transition: color .4s;
}
.tech__name {
  font-family: var(--f-head);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--c-muted);
  transition: color .4s;
}
.tech__desc {
  grid-column: 2;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: .88rem;
  color: var(--c-muted);
  transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .6s var(--ease);
}
.tech__item:hover .tech__name,
.tech__item.is-active .tech__name { color: var(--c-text); }
.tech__item.is-active .tech__code { color: var(--c-accent); }
.tech__item.is-active .tech__desc { max-height: 90px; margin-top: 6px; opacity: 1; }

/* Map frame */
.map-frame {
  position: relative;
  border: 1px solid var(--c-line-strong);
  background: rgba(6, 23, 19, .8);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .75);
}
.map-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: linear-gradient(135deg, rgba(124, 203, 94, .5), transparent 35%, transparent 65%, rgba(214, 182, 92, .4));
  filter: blur(40px);
  opacity: .35;
}

.map-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-line);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.map-bar__dots { display: flex; gap: 6px; }
.map-bar__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-line-strong); }
.map-bar__dots i:first-child { background: var(--c-accent); }
.map-bar__title { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.map-bar__crs { display: none; color: var(--c-dim); }

.map-view { position: relative; aspect-ratio: 1000 / 640; overflow: hidden; cursor: crosshair; }
.map-svg { width: 100%; height: 100%; max-width: none; }

.map-text { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; fill: rgba(245, 247, 245, .62); }
.map-text--dim { font-size: 10px; fill: rgba(168, 183, 177, .45); }
.map-text--title { font-size: 13px; font-weight: 500; letter-spacing: .14em; fill: var(--c-text); }
.map-text--accent { fill: var(--c-accent); }
.map-text--gold { fill: var(--c-gold); }

.map-road__bed { fill: none; stroke: rgba(245, 247, 245, .06); stroke-width: 22; }
.map-road__line { fill: none; stroke: rgba(214, 182, 92, .35); stroke-width: 1; stroke-dasharray: 10 10; }
.map-ticks path { stroke: rgba(168, 183, 177, .4); stroke-width: 1; }

.layer--contour { --contour-color: rgba(124, 203, 94, .3); --contour-index-color: rgba(124, 203, 94, .5); }
.layer--contour .contour { --base-delay: .2s; }

.parcel { fill: rgba(124, 203, 94, .025); stroke: rgba(124, 203, 94, .72); stroke-width: 1.3; transition: fill .5s; }
.parcel:hover { fill: rgba(124, 203, 94, .08); }
.parcel--active { fill: rgba(124, 203, 94, .14); stroke: var(--c-accent); stroke-width: 2; }

.cad-setback { fill: none; stroke: rgba(214, 182, 92, .65); stroke-width: 1; stroke-dasharray: 5 5; animation: march 30s linear infinite; }
.cad-building { fill: url(#hatch); stroke: var(--c-gold); stroke-width: 1.2; }
.dim { fill: none; stroke: rgba(214, 182, 92, .85); stroke-width: 1; }

.drone-path { fill: none; stroke: rgba(214, 182, 92, .6); stroke-width: 1; stroke-dasharray: 3 5; }
.drone__footprint { fill: rgba(124, 203, 94, .08); stroke: rgba(124, 203, 94, .5); stroke-width: 1; }
.drone__halo { fill: rgba(214, 182, 92, .22); }
.drone__dot { fill: var(--c-gold); }

.rtk-link { fill: none; stroke: rgba(124, 203, 94, .4); stroke-width: 1; stroke-dasharray: 2 6; animation: march 14s linear infinite reverse; }
.gnss-points circle { fill: #081F1A; stroke: var(--c-accent); stroke-width: 1.6; }
.gnss-pulse,
.base-station__ring {
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 3.4s ease-out infinite;
  animation-delay: var(--d, 0s);
}
.base-station path { fill: var(--c-accent); }

.map-scan { animation: scan 10s linear infinite; }

/* Layer focus */
.map-view .layer { transition: opacity .8s var(--ease); }
.map-view[data-focus] .layer { opacity: .3; }
.map-view[data-focus="gnss"] .layer--gnss,
.map-view[data-focus="boundary"] .layer--boundary,
.map-view[data-focus="boundary"] .layer--measure,
.map-view[data-focus="contour"] .layer--contour,
.map-view[data-focus="drone"] .layer--drone,
.map-view[data-focus="cad"] .layer--cad,
.map-view[data-focus="cad"] .layer--measure { opacity: 1; }

.map-chip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 3px 7px;
  border: 1px solid rgba(245, 247, 245, .18);
  background: rgba(7, 26, 22, .75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--f-mono);
  font-size: .54rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
  animation: chipFloat 5s ease-in-out var(--d, 0s) infinite;
  transition: border-color .5s, background-color .5s;
}
.map-chip::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  vertical-align: 1px;
  border-radius: 50%;
  background: var(--c-dim);
  transition: background-color .5s, box-shadow .5s;
}
.map-chip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 12px;
  background: linear-gradient(rgba(245, 247, 245, .4), transparent);
}
.map-chip.is-hot { border-color: rgba(124, 203, 94, .65); background: rgba(22, 60, 40, .8); }
.map-chip.is-hot::before { background: var(--c-accent); box-shadow: 0 0 0 3px rgba(124, 203, 94, .22); }

.map-north { position: absolute; top: 14px; right: 16px; width: 18px; opacity: .85; }
.map-north path { fill: rgba(124, 203, 94, .25); stroke: var(--c-text); stroke-width: 1; }
.map-north text { font-family: var(--f-mono); font-size: 8px; fill: var(--c-muted); }

.map-scale { position: absolute; left: 16px; bottom: 12px; font-size: .56rem; color: var(--c-muted); }
.map-scale__bar { display: flex; width: 110px; height: 5px; border: 1px solid rgba(245, 247, 245, .55); }
.map-scale__bar i { flex: 1; }
.map-scale__bar i:first-child { background: rgba(245, 247, 245, .65); }
.map-scale__labels { display: flex; justify-content: space-between; width: 128px; margin: 4px 0 0 -3px; }

.map-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 16px;
  border-top: 1px solid var(--c-line);
  font-size: .62rem;
  letter-spacing: .08em;
  color: var(--c-muted);
}
.map-status__layer { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.map-status__layer span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--c-text); }
.map-status__coords { display: none; font-variant-numeric: tabular-nums; color: var(--c-dim); }

/* ==========================================================================
   5. STATS
   ========================================================================== */
.stats {
  position: relative;
  overflow: hidden;
  padding-block: clamp(96px, 11vw, 160px);
  border-block: 1px solid var(--c-line);
  background: linear-gradient(180deg, var(--c-primary), var(--c-secondary) 55%, var(--c-primary));
}
.stats__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
  --contour-color: rgba(124, 203, 94, .08);
  --contour-index-color: rgba(124, 203, 94, .16);
}
.stats .container { position: relative; }

.stats__head { display: grid; gap: 8px; margin-bottom: clamp(48px, 6vw, 72px); }
.stats__head .section-tag { margin-bottom: 0; }
.stats__statement {
  max-width: 640px;
  margin: 0;
  font-family: var(--f-head);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--c-line); }
.stat { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 36px 16px 32px 0; }
.stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--c-line); }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--c-line); }
.stat::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 1px;
  background: var(--c-accent);
}
.stat__value {
  display: flex;
  align-items: flex-start;
  font-family: var(--f-head);
  font-weight: 400;
  font-size: clamp(2.8rem, 7.2vw, 6.4rem);
  line-height: 1;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.stat__suffix { margin: .08em 0 0 .06em; font-size: .52em; color: var(--c-accent); }
.stat__label { margin-top: 14px; font-weight: 600; font-size: .98rem; }
.stat__meta { font-size: .62rem; letter-spacing: .18em; color: var(--c-dim); }

/* ==========================================================================
   6. PROCESS / TIMELINE
   ========================================================================== */
.process__head { max-width: 720px; margin: 0 auto clamp(64px, 7vw, 100px); text-align: center; }
.process__head .section-tag::before { content: ""; width: 48px; height: 1px; background: var(--c-line-strong); }
.process__head p:not(.section-tag) { max-width: 560px; margin: 24px auto 0; color: var(--c-muted); }

.timeline { position: relative; --progress: 0; }
.timeline__track {
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--c-line-strong);
}
.timeline__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--c-accent), var(--c-gold));
  transform: scaleY(var(--progress));
  transform-origin: top;
}
.no-js .timeline__fill { transform: none; }

.timeline__steps { display: grid; gap: 56px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding-left: 56px; }
.js .step { opacity: .42; transition: opacity .7s var(--ease); }
.js .step.is-active { opacity: 1; }

.step__node {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  background: var(--c-primary);
  transition: border-color .5s, box-shadow .5s;
}
.step__node span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-dim);
  transition: background-color .5s, transform .5s var(--ease);
}
.step.is-active .step__node { border-color: var(--c-accent); box-shadow: 0 0 0 6px rgba(124, 203, 94, .1); }
.step.is-active .step__node span { background: var(--c-accent); transform: scale(1.2); }

.step__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--f-head);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(168, 183, 177, .4);
  transition: -webkit-text-stroke-color .6s, color .6s;
}
.step.is-active .step__num { color: rgba(124, 203, 94, .08); -webkit-text-stroke-color: var(--c-accent); }
.step__title { margin-bottom: 10px; font-family: var(--f-head); font-size: 1.3rem; letter-spacing: -.01em; }
.step p { max-width: 330px; margin: 0 0 18px; font-size: .94rem; color: var(--c-muted); }
.step__out {
  display: inline-block;
  padding-top: 12px;
  border-top: 1px dashed var(--c-line-strong);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-dim);
}

/* ==========================================================================
   7. PROJECTS
   ========================================================================== */
.projects { background: linear-gradient(180deg, var(--c-primary), var(--c-deep)); }

.projects__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

.project {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--c-secondary);
}
.project::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(245, 247, 245, .08);
  pointer-events: none;
  transition: inset .8s var(--ease), border-color .8s var(--ease);
}
.project:hover::after,
.project:focus-visible::after { inset: 12px; border-color: rgba(124, 203, 94, .4); }

.project__media { position: absolute; inset: 0; z-index: -2; }
.project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.7) brightness(.8);
  transform: scale(1.03);
  transition: transform 1.6s var(--ease), filter 1s var(--ease);
}
.project:hover .project__media img { transform: scale(1.1); filter: saturate(.9) brightness(.7); }

.project__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 26, 22, .4) 0%, rgba(7, 26, 22, .05) 35%, rgba(7, 26, 22, .9) 100%);
}

.project__tag {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 6px 10px;
  border: 1px solid rgba(245, 247, 245, .22);
  background: rgba(7, 26, 22, .45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.project__coord { position: absolute; top: 28px; right: 22px; display: none; font-size: .6rem; letter-spacing: .1em; color: rgba(245, 247, 245, .6); }

.project__info { position: absolute; left: 24px; right: 96px; bottom: 24px; }
.project__cat { margin: 0 0 10px; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-accent); }
.project__title {
  margin-bottom: 8px;
  font-family: var(--f-head);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.project__meta { margin: 0; font-size: .88rem; color: var(--c-muted); }

.project__arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid rgba(245, 247, 245, .3);
  border-radius: 50%;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease);
}
.project__arrow .icon { width: 20px; height: 20px; }
.project:hover .project__arrow,
.project:focus-visible .project__arrow { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-primary); }
.project:hover .project__arrow .icon { animation: arrowSwap .8s var(--ease); }

@media (hover: hover) {
  .project__cat,
  .project__title,
  .project__meta {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s var(--ease), transform .8s var(--ease);
  }
  .project__title { transition-delay: .05s; }
  .project__meta { transition-delay: .1s; }
  .project:hover .project__cat,
  .project:hover .project__title,
  .project:hover .project__meta,
  .project:focus-visible .project__cat,
  .project:focus-visible .project__title,
  .project:focus-visible .project__meta { opacity: 1; transform: none; }
  .project .project__shade { opacity: .7; transition: opacity .6s var(--ease); }
  .project:hover .project__shade { opacity: 1; }
}

/* ==========================================================================
   8. WHY CHOOSE US
   ========================================================================== */
.why { display: grid; grid-template-columns: 1fr; background: var(--c-secondary); }

.why__media { position: relative; min-height: 460px; overflow: hidden; }
.why__media img {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  max-width: none;
  object-fit: cover;
  filter: saturate(.65) brightness(.72);
}
.why__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 26, 22, .25), transparent 40%, rgba(13, 41, 34, .95) 100%),
    linear-gradient(0deg, rgba(7, 26, 22, .25), rgba(7, 26, 22, .25));
}

.why__overlay { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; max-width: none; }
.why__line {
  fill: rgba(124, 203, 94, .07);
  stroke: var(--c-accent);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.why__overlay.is-inview .why__line { animation: draw 2.6s var(--ease) .3s forwards; }
.why__dash { fill: none; stroke: var(--c-gold); stroke-width: 1; stroke-dasharray: 6 6; opacity: 0; transition: opacity 1s ease 1.8s; }
.why__overlay circle { fill: var(--c-primary); stroke: var(--c-accent); stroke-width: 1.5; opacity: 0; transition: opacity .6s ease 1.4s; }
.why__overlay text { font-family: var(--f-mono); font-size: 15px; letter-spacing: .08em; fill: var(--c-gold); opacity: 0; transition: opacity .8s ease 2s; }
.why__overlay.is-inview .why__dash { opacity: .8; }
.why__overlay.is-inview circle,
.why__overlay.is-inview text { opacity: 1; }

.why__badge {
  position: absolute;
  left: clamp(20px, 4vw, 48px);
  bottom: clamp(20px, 4vw, 48px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 270px;
  padding: 20px 22px;
  animation: floatY 7s ease-in-out infinite;
}
.why__badge-value { font-family: var(--f-head); font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; }
.why__badge-value small { margin-left: 4px; font-size: .42em; letter-spacing: 0; color: var(--c-accent); }
.why__badge-label { font-size: .82rem; line-height: 1.45; color: var(--c-muted); }

.why__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  max-width: 760px;
  padding: clamp(72px, 9vw, 140px) var(--gutter);
}
.why__text { max-width: 520px; margin: 24px 0 0; color: var(--c-muted); }

.benefits { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--c-line); }
.benefits li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.benefits__check {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(124, 203, 94, .45);
  border-radius: 50%;
  color: var(--c-accent);
}
.benefits__check .icon { width: 14px; height: 14px; stroke-width: 2; }
.benefits strong { display: block; margin-bottom: 2px; font-family: var(--f-head); font-size: 1.02rem; font-weight: 500; }
.benefits div span { font-size: .88rem; color: var(--c-muted); }

/* ==========================================================================
   9. TESTIMONIALS
   ========================================================================== */
.testimonials__layout { display: grid; gap: 24px; }
.testimonials__mark {
  display: block;
  margin-top: 8px;
  font-family: var(--f-head);
  font-size: 7rem;
  line-height: .7;
  color: transparent;
  -webkit-text-stroke: 1px rgba(124, 203, 94, .5);
  user-select: none;
}

.slider { position: relative; }
.slider__track { display: grid; touch-action: pan-y; }
.slide {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 14px, 0);
  transition: opacity .8s var(--ease), transform 1s var(--ease), visibility 0s .8s;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 1s var(--ease) .2s, transform 1.2s var(--ease) .2s, visibility 0s;
}
.slide__quote { margin: 0; }
.slide__quote p {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.9vw, 2.45rem);
  line-height: 1.3;
  letter-spacing: -.022em;
  text-wrap: pretty;
}
.slide__author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
}
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent), var(--c-gold));
  font-family: var(--f-head);
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-primary);
}
.slide__who { display: flex; flex-direction: column; line-height: 1.4; }
.slide__who strong { font-weight: 600; }
.slide__who span { font-size: .88rem; color: var(--c-muted); }
.slide__project {
  padding: 6px 10px;
  border: 1px solid rgba(124, 203, 94, .3);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.slider__controls { display: flex; align-items: center; gap: 20px; margin-top: 44px; }
.slider__count { min-width: 64px; font-size: .74rem; letter-spacing: .1em; color: var(--c-dim); }
.slider__count span { color: var(--c-text); }
.slider__dots { display: flex; flex: 1; gap: 8px; }
.slider__dot { position: relative; flex: 1; max-width: 96px; padding: 12px 0; border: 0; background: none; }
.slider__dot::before { content: ""; display: block; height: 2px; background: var(--c-line-strong); }
.slider__dot-bar {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
}
.slider__dot.is-active .slider__dot-bar { transform: scaleX(1); }
.slider.is-auto .slider__dot.is-active .slider__dot-bar { animation: dotProgress 7s linear forwards; }
.slider.is-paused .slider__dot-bar,
.slider.is-offscreen .slider__dot-bar { animation-play-state: paused; }

.slider__arrows { display: flex; gap: 8px; }
.slider__arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--c-text);
  transition: border-color .4s, color .4s, background-color .4s;
}
.slider__arrow .icon { width: 18px; height: 18px; }
.slider__arrow:hover { border-color: var(--c-accent); color: var(--c-accent); background: rgba(124, 203, 94, .06); }

/* ==========================================================================
   10. CTA + REQUEST FORM
   ========================================================================== */
.cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(112px, 14vw, 200px); }

.cta__media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.cta__media img {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  max-width: none;
  object-fit: cover;
  filter: saturate(.6) brightness(.72);
}
.cta__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(7, 26, 22, .97) 0%, rgba(8, 38, 29, .9) 45%, rgba(16, 58, 36, .72) 100%),
    linear-gradient(0deg, rgba(7, 26, 22, .9), transparent 40%);
}
.cta__lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  max-width: none;
  --contour-color: rgba(124, 203, 94, .13);
  --contour-index-color: rgba(214, 182, 92, .22);
}

.crosshair { position: absolute; width: 22px; height: 22px; opacity: .55; }
.crosshair::before,
.crosshair::after { content: ""; position: absolute; background: var(--c-accent); }
.crosshair::before { left: 0; right: 0; top: 50%; height: 1px; }
.crosshair::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.crosshair--tl { top: 28px; left: 28px; }
.crosshair--tr { top: 28px; right: 28px; }
.crosshair--bl { bottom: 28px; left: 28px; }
.crosshair--br { bottom: 28px; right: 28px; }

.cta__inner { position: relative; display: flex; flex-direction: column; gap: 0; }
.cta__content { max-width: 920px; }
.cta__title {
  margin: 28px 0;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: clamp(2.5rem, 6.4vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.04em;
}
.cta__text { max-width: 520px; margin: 0 0 40px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--c-muted); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-size: 1rem;
  transition: color .3s;
}
.cta__phone .icon { width: 18px; height: 18px; color: var(--c-accent); }
.cta__phone:hover { color: var(--c-accent); }

.request {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .9s var(--ease), opacity .6s var(--ease), margin .9s var(--ease);
}
.no-js .request,
.request.is-open { grid-template-rows: 1fr; opacity: 1; margin-top: 56px; }
.request__inner { min-height: 0; overflow: hidden; }
.request__card { max-width: 980px; padding: clamp(24px, 4vw, 48px); border-radius: 2px; }

.request__form { display: grid; gap: 20px; }
.request__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.request__head h3 { font-family: var(--f-head); font-size: 1.5rem; letter-spacing: -.02em; }
.request__head p { margin: 0; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--c-muted); }
.field label span { font-weight: 400; color: var(--c-dim); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c-line-strong);
  border-radius: 2px;
  background: rgba(4, 17, 14, .6);
  font-size: .98rem;
  color: var(--c-text);
  color-scheme: dark;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8B7B1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field select option { background: var(--c-secondary); color: var(--c-text); }
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--c-dim); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background-color: rgba(4, 17, 14, .8);
  box-shadow: 0 0 0 3px rgba(124, 203, 94, .15);
}
.field input:user-invalid,
.field select:user-invalid { border-color: #D98A6A; }

.request__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.request__submit p { margin: 0; font-size: .85rem; color: var(--c-dim); }

.request__success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.request__success:focus { outline: none; }
.request__success-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-primary);
}
.request__success-icon .icon { width: 26px; height: 26px; stroke-width: 2; }
.request__success h3 { font-family: var(--f-head); font-size: 1.8rem; letter-spacing: -.02em; }
.request__success p { max-width: 480px; margin: 0; color: var(--c-muted); }
.request__success .mono { font-size: .75rem; letter-spacing: .12em; }
.request__success b { font-weight: 500; color: var(--c-gold); }

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(72px, 8vw, 112px);
  border-top: 1px solid var(--c-line);
  background: var(--c-deep);
}
.footer__top { display: grid; grid-template-columns: 1fr; gap: 48px; }
.footer__brand p { max-width: 340px; margin: 22px 0 28px; font-size: .94rem; color: var(--c-muted); }

.socials { display: flex; gap: 10px; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  color: var(--c-muted);
  transition: color .35s, background-color .35s, border-color .35s, transform .45s var(--ease);
}
.socials .icon { width: 18px; height: 18px; }
.socials a:hover { color: var(--c-primary); background: var(--c-accent); border-color: var(--c-accent); transform: translateY(-3px); }

.footer__col h4 {
  margin-bottom: 22px;
  font-family: var(--f-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.footer__col ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer__col a { font-size: .94rem; color: var(--c-muted); transition: color .3s; }
.footer__col a:hover { color: var(--c-text); }
.footer__contact li { display: flex; gap: 12px; font-size: .94rem; color: var(--c-muted); }
.footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--c-accent); }

.footer__word {
  margin-top: clamp(56px, 7vw, 96px);
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(2.6rem, 11vw, 11rem);
  line-height: .8;
  letter-spacing: -.04em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(168, 183, 177, .14);
  background: linear-gradient(180deg, rgba(124, 203, 94, .1), transparent 85%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 28px 0 32px;
  border-top: 1px solid var(--c-line);
  font-size: .84rem;
  color: var(--c-dim);
}
.footer__bottom p { margin: 0; }
.footer__bottom .mono { font-size: .64rem; letter-spacing: .12em; }
.footer__top-link { display: inline-flex; align-items: center; gap: 8px; color: var(--c-muted); transition: color .3s; }
.footer__top-link .icon { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.footer__top-link:hover { color: var(--c-accent); }
.footer__top-link:hover .icon { transform: translateY(-3px); }

/* ==========================================================================
   RESPONSIVE — tablet and up
   ========================================================================== */
@media (max-width: 767px) {
  /* Keep only linework behind the headline on small screens */
  .hs-labels,
  .hs-dim,
  .hs-pin,
  .hs-reticle { display: none; }
}

@media (min-width: 560px) {
  .nav__cta { display: inline-flex; }
  .map-bar__crs { display: inline; }
  .map-chip { padding: 5px 10px; font-size: .64rem; }
  .map-chip::before { width: 6px; height: 6px; margin-right: 8px; }
  .map-status__coords { display: inline; }
  .project__coord { display: block; }
}

@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }

  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--c-line); }
  .trust__item:nth-child(even) .trust__code { right: 0; }
  .trust__item:nth-child(even)::before { left: 32px; }

  .benefits { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .project--a,
  .project--d { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

  .request__form { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .request__head,
  .field--full,
  .request__submit { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .hud { display: flex; }
  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(7, 26, 22, .95) 0%, rgba(7, 26, 22, .8) 34%, rgba(7, 26, 22, .3) 64%, rgba(7, 26, 22, .5) 100%),
      linear-gradient(180deg, rgba(7, 26, 22, .7) 0%, transparent 22%, transparent 62%, var(--c-primary) 100%);
  }
  .hero__survey { opacity: 1; }
  .testimonials__mark { font-size: 10rem; }
}

@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.35fr 1fr; align-items: end; gap: 80px; }
  .intro__grid { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 80px; }
  .stats__head { grid-template-columns: 1fr 1.6fr; align-items: end; gap: 40px; }

  .timeline__track { left: 0; right: 0; top: 11px; bottom: auto; width: auto; height: 1px; }
  .timeline__fill {
    background: linear-gradient(90deg, var(--c-accent), var(--c-gold));
    transform: scaleX(var(--progress));
    transform-origin: left;
  }
  .timeline__steps { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .step { padding-left: 0; padding-top: 60px; }
}

@media (min-width: 1024px) {
  .nav__links { display: flex; gap: clamp(22px, 2.4vw, 40px); }
  .nav__toggle { display: none; }
  .menu { display: none; }

  .services__grid { grid-template-columns: repeat(3, 1fr); }

  .trust { grid-template-columns: repeat(4, 1fr); }
  .trust__item { border-bottom: 0; }
  .trust__item:not(:first-child) { padding-left: 32px; border-left: 1px solid var(--c-line); }
  .trust__item:not(:first-child)::before { left: 32px; }

  .tech__layout { grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); gap: 72px; align-items: center; }

  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat,
  .stat:nth-child(even) { padding: 40px 24px 8px 32px; border-left: 1px solid var(--c-line); border-bottom: 0; }
  .stat:nth-child(-n+2) { border-bottom: 0; }
  .stat:first-child { padding-left: 0; border-left: 0; }
  .stat:not(:first-child)::before { left: 32px; }

  .projects__grid { grid-template-columns: repeat(12, 1fr); grid-template-rows: 310px 310px 400px; }
  .project { aspect-ratio: auto; }
  .project--a { grid-column: 1 / 8; grid-row: 1 / 3; }
  .project--b { grid-column: 8 / 13; grid-row: 1; }
  .project--c { grid-column: 8 / 13; grid-row: 2; }
  .project--d { grid-column: 1 / 13; grid-row: 3; }
  .project__info { left: 32px; bottom: 32px; }
  .project__arrow { right: 32px; bottom: 32px; }

  .why { grid-template-columns: 1fr 1fr; min-height: 100vh; }
  .why__media { min-height: auto; }
  .why__media::after {
    background:
      linear-gradient(90deg, rgba(7, 26, 22, .15), transparent 55%, rgba(13, 41, 34, .9) 100%),
      linear-gradient(0deg, rgba(7, 26, 22, .3), rgba(7, 26, 22, .3));
  }
  .why__content { padding-inline: clamp(56px, 6vw, 112px) var(--gutter); }

  .testimonials__layout { grid-template-columns: 1fr 2.8fr; gap: 80px; }
  .testimonials__mark { font-size: 14rem; margin-top: 24px; }
  .slide__project { margin-left: auto; }

  .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 56px; }
}

@media (min-width: 1100px) {
  .hero-panel { display: block; }
}

@media (min-width: 1440px) {
  .rail { display: flex; }
}

@media (hover: none) {
  .hero__cursor { display: none; }
}

/* ==========================================================================
   KEYFRAMES
   ========================================================================== */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fillIn { to { fill-opacity: 1; } }
@keyframes imgIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroZoom { from { transform: scale(1.18); } to { transform: scale(1.06); } }
@keyframes popIn {
  from { opacity: 0; transform: scale(.3); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0% { opacity: .85; transform: scale(.6); }
  100% { opacity: 0; transform: scale(3.4); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes march { to { stroke-dashoffset: -240; } }
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-26px, 14px, 0); }
}
@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@keyframes chipFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}
@keyframes scan {
  0% { transform: translateX(-220px); }
  70%, 100% { transform: translateX(1000px); }
}
@keyframes liveDot {
  0% { box-shadow: 0 0 0 0 rgba(124, 203, 94, .55); }
  100% { box-shadow: 0 0 0 8px rgba(124, 203, 94, 0); }
}
@keyframes cueDot {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(260%); }
}
@keyframes pingLife {
  0% { opacity: 0; transform: translateY(6px); }
  12% { opacity: 1; transform: none; }
  78% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes pingRing {
  0% { opacity: .9; transform: scale(.6); }
  100% { opacity: 0; transform: scale(3.2); }
}
@keyframes dotProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes arrowSwap {
  0% { transform: none; }
  45% { transform: translate(160%, -160%); }
  46% { transform: translate(-160%, 160%); }
  100% { transform: none; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .hero__cursor,
  .hero__pings,
  .map-scan { display: none; }
}
