:root {
  --bg: #0e0e0e;
  --surface: #171717;
  --line: #2a2a2a;
  --muted: #9a9a9a;
  --text: #f2f2f2;
  --accent: #f5c518;
  --red: #e5382f;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section: clamp(4rem, 9vw, 6.5rem);
  --radius: 10px;

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

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

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: -3rem;
  z-index: 50;
  padding: 0.5rem 0.9rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  border-radius: 6px;
}

.skip:focus {
  top: 0.75rem;
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgb(14 14 14 / 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand.small {
  gap: 0.5rem;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.875rem;
}

.nav nav,
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.nav nav a,
.footer nav a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 160ms ease;
}

.nav nav a:hover,
.footer nav a:hover {
  color: var(--text);
}

/* Type */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--red);
}

h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.07;
  font-weight: 650;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

h2 {
  margin-top: 1rem;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lede {
  margin-top: 1.25rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  text-wrap: pretty;
}

/* Buttons */

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.2rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  overflow-wrap: anywhere;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn.primary {
  background: var(--accent);
  color: var(--bg);
}

.btn.primary:hover {
  background: #ffd43b;
}

.btn.secondary {
  border-color: var(--line);
  color: var(--text);
}

.btn.secondary:hover {
  border-color: var(--muted);
}

/* Hero */

.hero {
  padding-block: clamp(3.5rem, 8vw, 6rem) var(--section);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-copy {
  animation: fade-up 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.hero-map {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.map-grid path {
  stroke: #1f1f1f;
  stroke-width: 1;
}

.map-road {
  stroke: #232323;
  stroke-width: 14;
}

.map-parcels path {
  fill: #1b1b1b;
  stroke: #3a3a3a;
  stroke-width: 1;
  stroke-linejoin: round;
}

.map-target {
  fill: rgb(245 197 24 / 0.2);
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.map-marker circle {
  fill: none;
  stroke: var(--red);
  stroke-width: 1;
  opacity: 0.7;
}

.map-marker rect {
  fill: var(--red);
}

.map-label {
  fill: var(--muted);
  font: 500 11px var(--mono);
  letter-spacing: 0.08em;
}

.map-frame path,
.map-scale path {
  fill: none;
  stroke: #5a5a5a;
  stroke-width: 1.25;
}

/* Sections */

.section {
  padding-block: var(--section);
  border-top: 1px solid var(--line);
  scroll-margin-top: 4rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
}

.chips li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--red);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1.5rem;
  width: 2rem;
  height: 2px;
  background: var(--accent);
}

.num {
  font: 500 0.8125rem/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--accent);
}

.card h3 {
  margin-top: 1.5rem;
}

.card p:last-child,
.tech p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.tech {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.5rem;
  margin-top: 2.5rem;
  counter-reset: tech;
}

.tech li {
  position: relative;
  padding: 1.25rem 0 1.25rem 3rem;
  border-top: 1px solid var(--line);
  counter-increment: tech;
}

.tech li::before {
  content: counter(tech, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.45rem;
  font: 500 0.8125rem/1 var(--mono);
  color: var(--muted);
}

.status {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.status p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 1.5rem;
  font: 500 0.875rem/1.5 var(--mono);
}

.dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgb(229 56 47 / 0.18);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2.5rem;
  align-items: end;
}

.contact .cta {
  margin-top: 0;
}

.footer {
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-block: 2rem;
}

.notfound {
  min-height: 100vh;
  border-top: 0;
}

.notfound .brand {
  margin-bottom: 4rem;
}

.notfound .eyebrow {
  display: flex;
}

/* Responsive */

@media (max-width: 860px) {
  .hero-grid,
  .split,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards,
  .tech {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-map {
    max-width: 560px;
  }
}

@media (max-width: 520px) {
  .nav-row {
    padding-block: 0.75rem;
  }

  .nav nav {
    width: 100%;
    gap: 0.25rem 1.25rem;
  }

  .section {
    scroll-margin-top: 6rem;
  }

  .cta .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
