:root {
  --ink: #f2ebe0;
  --muted: #a89880;
  --signal: #d4a574;
  --void: #080706;
  --font-mark: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; margin: 0; }
body {
  min-height: 100%;
  color: var(--ink);
  background: var(--void);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.stage .grid {
  width: 100%;
  height: 100%;
  display: block;
}
.stage .freq path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 2.4s ease-out forwards;
}
.stage .freq path:nth-child(2) { animation-delay: 180ms; }
.stage .freq path:nth-child(3) { animation-delay: 360ms; }

.scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(212, 165, 116, 0.04) 50%,
    transparent 100%
  );
  background-size: 100% 220%;
  animation: sweep 7s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
}
.nav-brand {
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  font-family: var(--font-mark);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 160ms ease;
}
.nav-links a:hover { color: var(--ink); }

main { position: relative; z-index: 2; }

.hero {
  min-height: calc(100vh - 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 8vh, 5.5rem);
  max-width: 40rem;
}

.mark {
  margin: 0;
  font-family: var(--font-mark);
  font-weight: 700;
  font-size: clamp(5.5rem, 18vw, 11rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  animation: rise 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.line {
  margin: 1.1rem 0 0;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
  animation: rise 800ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  animation: rise 800ms cubic-bezier(0.22, 1, 0.36, 1) 220ms both;
}

.go {
  display: inline-block;
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--void);
  background: var(--signal);
  padding: 0.85rem 1.35rem;
  transition: filter 160ms ease, transform 160ms ease;
}
.go:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.go.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(242, 235, 224, 0.35);
}
.go.ghost:hover {
  filter: none;
  box-shadow: inset 0 0 0 1px rgba(242, 235, 224, 0.7);
}

.band {
  position: relative;
  padding: clamp(4rem, 10vh, 6.5rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 36rem;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 6, 0.92) 18%);
}
.band h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}
.band p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--muted);
}

.foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid rgba(242, 235, 224, 0.08);
  font-family: var(--font-mark);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot a {
  color: var(--muted);
  text-decoration: none;
}
.foot a:hover { color: var(--ink); }

@keyframes draw {
  to { stroke-dashoffset: 0; }
}
@keyframes sweep {
  from { background-position: 0% 0%; }
  to { background-position: 0% 100%; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .hero { justify-content: center; padding-bottom: 3.5rem; min-height: 85vh; }
  .mark { font-size: clamp(4.2rem, 22vw, 6rem); }
  .nav-links { gap: 1rem; }
}
