/* Static Culture — Coming Soon */

:root {
  --bg: #000000;
  --signal: #e8e8e8;
  --muted: #9a9a9a;
  --dim: #5c5c5c;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Space Grotesk", "Helvetica Neue", sans-serif;
  --content-max: 34rem;
  --page-pad: clamp(1.25rem, 4vw, 2.5rem);
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image: url("static-bg.png");
  background-repeat: repeat;
  background-size: 400px;
  color: var(--signal);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover,
a:focus-visible {
  color: #fff;
}

a:focus-visible {
  outline: 1px solid var(--signal);
  outline-offset: 4px;
}

/* —— CRT overlays —— */

.crt {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  border-radius: clamp(12px, 2vw, 28px);
  overflow: hidden;
  box-shadow: inset 0 0 80px 20px rgba(0, 0, 0, 0.65);
}

.crt__scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: soft-light;
  opacity: 0.55;
  animation: scan-drift 8s linear infinite;
}

.crt__grain {
  position: absolute;
  inset: -20%;
  background-image: url("noise.svg");
  background-size: 200px 200px;
  opacity: 0.07;
  animation: grain-shift 0.4s steps(2) infinite;
}

.crt__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.crt__flicker {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.03);
  opacity: 0;
  animation: crt-flicker 4.5s infinite;
}

.crt__static-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(18px, 3.5vh, 36px);
  background-image: url("noise.svg");
  background-size: 120px 40px;
  filter: contrast(2) brightness(1.8);
  opacity: 0.85;
  animation: grain-shift 0.25s steps(3) infinite;
  mask-image: linear-gradient(to top, #000 40%, transparent);
}

/* —— Page layout —— */

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--page-pad);
  padding-bottom: calc(var(--page-pad) + 2.5rem);
}

.header,
.main,
.footer {
  width: 100%;
  max-width: var(--content-max);
}

.header {
  text-align: center;
  padding-top: clamp(0.5rem, 2vh, 1.5rem);
}

/* —— Logo —— */

.logo {
  margin: 0;
  display: flex;
  justify-content: center;
}

.logo__img {
  width: min(85vw, 22rem);
  height: auto;
}

.tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  font-size: clamp(0.55rem, 2.2vw, 0.7rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--signal);
  white-space: nowrap;
}

.tagline__rule {
  display: block;
  width: clamp(1.2rem, 6vw, 2.5rem);
  height: 1px;
  background: var(--signal);
  opacity: 0.85;
}

.tagline__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--signal);
  flex-shrink: 0;
}

/* —— Hero —— */

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.hero {
  margin: clamp(1.4rem, 4vh, 2.4rem) 0 clamp(0.6rem, 2vh, 1.2rem);
  width: 100%;
}

.hero__figure {
  position: relative;
  width: min(70vw, 280px);
  margin: 0 auto;
}

.hero__img {
  width: 100%;
  position: relative;
  z-index: 1;
  animation: hero-bob 3.2s ease-in-out infinite;
}

/* —— CTA —— */

.cta {
  text-align: center;
  width: 100%;
  margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
}

.cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 6.5vw, 2.35rem);
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: #f2f2f2;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.35),
    0 0 28px rgba(255, 255, 255, 0.12),
    1px 0 0 rgba(255, 255, 255, 0.15),
    -1px 0 1px rgba(0, 0, 0, 0.4);
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0.85rem auto 1rem;
  width: min(100%, 16rem);
  color: var(--signal);
}

.waveform__line {
  flex: 1;
  height: 1px;
  background: var(--signal);
  opacity: 0.9;
}

.waveform__spike {
  flex-shrink: 0;
  margin: 0 -2px;
}

.cta__copy {
  margin: 0 0 1.35rem;
  font-size: clamp(0.62rem, 2.4vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.7;
  color: var(--signal);
}

.cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.6rem;
  border: 1px solid var(--signal);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.cta__button:hover,
.cta__button:focus-visible {
  background: var(--signal);
  color: var(--bg);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.2);
}

.cta__arrows {
  letter-spacing: -0.15em;
  font-size: 0.85em;
}

/* —— Nav & socials —— */

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  margin-bottom: 1.1rem;
  font-size: clamp(0.6rem, 2.2vw, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.18em;
}

.nav a {
  padding: 0.35rem 0.15rem;
  color: var(--signal);
  transition: opacity 0.15s ease;
}

.nav a:hover {
  opacity: 0.65;
}

.nav__pipe {
  color: var(--dim);
  user-select: none;
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0 0 clamp(1.5rem, 4vh, 2.5rem);
  padding: 0;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--signal);
  opacity: 0.9;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.socials a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.socials__bc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* —— Footer —— */

.footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(232, 232, 232, 0.35);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.85rem;
  padding-top: 0.95rem;
  font-size: clamp(0.55rem, 2vw, 0.65rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.footer__url {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
}

.footer__url:hover {
  color: var(--signal);
}

.footer__copy {
  margin: 0;
}

.footer__pipe {
  color: var(--dim);
}

/* —— Motion —— */

@keyframes scan-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 12px;
  }
}

@keyframes grain-shift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-2%, 1%);
  }
  50% {
    transform: translate(1%, -1%);
  }
  75% {
    transform: translate(-1%, -2%);
  }
}

@keyframes crt-flicker {
  0%,
  92%,
  100% {
    opacity: 0;
  }
  93% {
    opacity: 0.45;
  }
  94% {
    opacity: 0.05;
  }
  96% {
    opacity: 0.25;
  }
  97% {
    opacity: 0;
  }
}

@keyframes hero-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .crt__scanlines,
  .crt__grain,
  .crt__flicker,
  .crt__static-band,
  .hero__img {
    animation: none;
  }
}

/* —— Responsive —— */

@media (max-width: 480px) {
  .tagline {
    letter-spacing: 0.12em;
    gap: 0.3rem;
  }

  .tagline__rule {
    width: 0.9rem;
  }

  .nav {
    gap: 0.25rem 0.4rem;
    letter-spacing: 0.12em;
  }

  .footer__inner {
    flex-direction: column;
    gap: 0.45rem;
  }

  .footer__pipe {
    display: none;
  }
}

@media (min-width: 720px) {
  .hero__figure {
    width: min(45vw, 300px);
  }
}
