:root {
  --ink: #07110f;
  --panel: #10201d;
  --mist: #d9e4de;
  --mute: #9bb0a7;
  --copper: #c4a574;
  --line: rgba(196, 165, 116, 0.28);
  --font-display: "Syne", sans-serif;
  --font-body: "Literata", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--mist);
  background:
    radial-gradient(1200px 700px at 80% -10%, #1a4038 0%, transparent 55%),
    radial-gradient(900px 500px at -10% 30%, #243028 0%, transparent 50%),
    linear-gradient(165deg, #0a1613 0%, #07110f 48%, #0c1a17 100%);
  font-family: var(--font-body);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 5;
}

.top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--mist);
  text-decoration: none;
  font-size: 1.15rem;
}
nav { display: flex; gap: 1.25rem; }
nav a {
  color: var(--mute);
  text-decoration: none;
  font-size: .95rem;
}
nav a:hover { color: var(--copper); }

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 4.5rem);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 3rem;
}
.hero-copy { max-width: 34rem; }
.brand-mark {
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  letter-spacing: -.02em;
  line-height: .95;
  color: #f2ebe0;
  animation: rise .9s ease both;
}
.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.25;
  color: var(--mist);
  animation: rise .9s .12s ease both;
}
.lede {
  margin: 0 0 1.75rem;
  color: var(--mute);
  font-size: 1.05rem;
  line-height: 1.55;
  animation: rise .9s .22s ease both;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  animation: rise .9s .32s ease both;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.2rem;
  border-radius: .35rem;
  background: var(--copper);
  color: #14100a;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .02em;
}
.btn.ghost {
  background: transparent;
  color: var(--mist);
  border: 1px solid var(--line);
}
.btn:hover { filter: brightness(1.05); }

.hero-visual {
  display: grid;
  place-items: center;
  animation: fade 1.2s .2s ease both;
}
.map {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
}
.border { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s .4s ease forwards; }
.dots circle { opacity: 0; animation: pop .5s ease forwards; }
.dots circle:nth-child(1) { animation-delay: 1.1s; }
.dots circle:nth-child(2) { animation-delay: 1.25s; }
.dots circle:nth-child(3) { animation-delay: 1.4s; }
.dots circle:nth-child(4) { animation-delay: 1.55s; }
.dots circle:nth-child(5) { animation-delay: 1.7s; }
.dots circle:nth-child(6) { animation-delay: 1.85s; }

.section {
  position: relative;
  z-index: 1;
  padding: 4.5rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.section h2 {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}
.section-lede {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: var(--mute);
  line-height: 1.55;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.grid article {
  padding: 1.25rem 1.2rem;
  background: color-mix(in srgb, var(--panel) 88%, black);
  border: 1px solid var(--line);
  border-radius: .4rem;
}
.grid h3 {
  margin: 0 0 .45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #f0e6d4;
}
.grid p { margin: 0; color: var(--mute); line-height: 1.45; font-size: .98rem; }

.miras { padding-bottom: 5rem; }
footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: .9rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
@keyframes pop {
  from { opacity: 0; transform: scale(.4); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 1rem; }
  .hero-visual { order: -1; }
  .map { width: min(100%, 280px); }
  .grid { grid-template-columns: 1fr; }
}
