:root {
  --bg-0: #0e1410;
  --bg-1: #182218;
  --ink: #eef5e8;
  --muted: #9aab96;
  --accent: #e6b35c;
  --accent-cool: #8fd4a0;
  --line: rgba(230, 179, 92, 0.22);
  --font-display: "Sora", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-mono);
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(230, 179, 92, 0.15), transparent 55%),
    radial-gradient(700px 420px at 8% 85%, rgba(143, 212, 160, 0.08), transparent 50%),
    linear-gradient(165deg, var(--bg-0), var(--bg-1) 50%, #0a100c);
  overflow-x: hidden;
}

.topo,
.soil {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
}

.topo {
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cpath fill='none' stroke='%238fd4a0' stroke-width='1' d='M20 180c30-40 50-40 80 0s50 40 80 0 50-40 80 0'/%3E%3Cpath fill='none' stroke='%23e6b35c' stroke-width='1' d='M10 140c35-35 55-35 90 0s55 35 90 0 55-35 90 0'/%3E%3Cpath fill='none' stroke='%239aab96' stroke-width='1' d='M0 100c40-30 60-30 100 0s60 30 100 0 60-30 100 0'/%3E%3Cpath fill='none' stroke='%238fd4a0' stroke-width='1' opacity='.7' d='M30 60c25-25 45-25 70 0s45 25 70 0 45-25 70 0'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 78%);
  animation: drift-topo 48s linear infinite;
}

.soil {
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 47px,
      rgba(230, 179, 92, 0.04) 47px,
      rgba(230, 179, 92, 0.04) 48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 47px,
      rgba(143, 212, 160, 0.035) 47px,
      rgba(143, 212, 160, 0.035) 48px
    );
  mask-image: radial-gradient(ellipse at 40% 60%, black 20%, transparent 70%);
  opacity: 0.9;
}

@keyframes drift-topo {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 240px -120px;
  }
}

.topbar,
.hero,
.brief,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.logo {
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent-cool);
  box-shadow: 0 0 0 0 rgba(143, 212, 160, 0.45);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(143, 212, 160, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(143, 212, 160, 0);
  }
}

.hero {
  min-height: calc(100vh - 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem) 3rem;
  max-width: 48rem;
}

.callsign {
  margin: 0 0 1rem;
  color: var(--accent-cool);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 0.8s ease forwards 0.1s;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 10vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.2s;
}

.lede {
  margin: 1.4rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.6;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.35s;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.5s;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1.2rem;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cta.primary {
  background: var(--accent);
  color: #1a140c;
  font-weight: 600;
}

.cta.primary:hover {
  transform: translateY(-2px);
  background: #f0c57a;
}

.cta.ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(14, 20, 16, 0.45);
}

.cta.ghost:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brief {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 4rem;
}

.brief h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.meta {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.meta > div {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.meta dt {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.meta dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.hint {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hint a {
  color: var(--accent-cool);
}

.footer {
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

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

  .callsign,
  .brand,
  .lede,
  .cta-row {
    opacity: 1;
  }
}
