/* Raven's Reach — Coming Soon teaser (matches main brand tokens) */
:root {
  --forest-deep: #0f2922;
  --forest: #1a3c34;
  --forest-light: #2d5a4a;
  --lake-light: #3a9ec2;
  --neon-cyan: #00f0ff;
  --neon-magenta: #ff2d9b;
  --neon-purple: #b24dff;
  --cream: #f5f0e8;
  --text: #e8f4f0;
  --text-muted: #a8c5bc;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.4);
  --glow-magenta: 0 0 20px rgba(255, 45, 155, 0.4);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--forest-deep);
  color: var(--text);
  line-height: 1.65;
  min-height: 100svh;
  overflow-x: hidden;
  position: relative;
}

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Atmosphere */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.04;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.35;
  animation: drift 18s ease-in-out infinite alternate;
}

.orb--cyan {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  background: rgba(0, 240, 255, 0.35);
  top: -8%;
  right: -10%;
}

.orb--magenta {
  width: min(50vw, 380px);
  height: min(50vw, 380px);
  background: rgba(255, 45, 155, 0.28);
  bottom: 5%;
  left: -12%;
  animation-delay: -6s;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(4%, 6%) scale(1.08); }
}

/* Stage */
.stage {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2rem) 3rem;
}

.stage__header {
  text-align: center;
  margin-bottom: clamp(2rem, 6vw, 3.5rem);
}

.stage__logo {
  width: min(240px, 70vw);
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 0 28px rgba(0, 240, 255, 0.3));
}

.stage__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.35);
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stage__hero {
  text-align: center;
  margin-bottom: clamp(2.5rem, 7vw, 4rem);
}

.stage__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-magenta);
  font-weight: 600;
  margin-bottom: 1rem;
}

.stage__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.85rem, 7vw, 3.25rem);
  line-height: 1.12;
  color: var(--cream);
  margin-bottom: 1.35rem;
  text-shadow: 0 0 48px rgba(0, 240, 255, 0.22);
}

.stage__title .accent {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stage__lead {
  font-size: clamp(1.05rem, 2.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto 1rem;
}

.stage__whisper {
  font-size: 0.9rem;
  color: rgba(168, 197, 188, 0.75);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.35rem 1.4rem;
  background: rgba(26, 60, 52, 0.55);
  border: 1px solid rgba(0, 240, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.pillar:hover {
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

.pillar__icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 12px;
}

.pillar__title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cream);
  font-weight: 700;
}

.pillar__text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Manifesto */
.manifesto {
  padding: 1.75rem 1.5rem;
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 45, 155, 0.22);
  background:
    linear-gradient(135deg, rgba(0, 240, 255, 0.06), rgba(255, 45, 155, 0.08)),
    rgba(15, 41, 34, 0.75);
  box-shadow: var(--glow-magenta);
}

.manifesto__quote {
  margin-bottom: 1.25rem;
}

.manifesto__quote p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.15rem);
  color: var(--cream);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.manifesto__quote p:last-child {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
}

.manifesto__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.manifesto__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.manifesto__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.7);
}

/* Signal form */
.signal {
  text-align: center;
  padding: 1.75rem 1.25rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 240, 255, 0.2);
  background: rgba(26, 60, 52, 0.45);
  margin-bottom: 3rem;
}

.signal__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: 0.65rem;
}

.signal__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

.signal__form {
  display: grid;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 0 auto;
}

.signal__input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 240, 255, 0.22);
  background: rgba(15, 41, 34, 0.85);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.signal__input::placeholder {
  color: rgba(168, 197, 188, 0.55);
}

.signal__input:focus {
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.12);
}

.signal__btn {
  margin-top: 0.35rem;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  color: var(--forest-deep);
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.3), 0 0 28px rgba(255, 45, 155, 0.22);
  transition: transform 0.15s, box-shadow 0.2s;
}

.signal__btn:hover {
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.45), 0 0 36px rgba(255, 45, 155, 0.35);
}

.signal__btn:active {
  transform: scale(0.98);
}

.signal__status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--neon-cyan);
}

.signal__status.is-error {
  color: #ff6b81;
}

/* Footer */
.stage__footer {
  text-align: center;
  padding-top: 0.5rem;
}

.stage__wordmark {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.35rem;
}

.stage__tag {
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stage__fine {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.8;
}

/* Reveal on load */
.stage__header,
.stage__hero,
.pillar,
.manifesto,
.signal,
.stage__footer {
  animation: rise 0.9s ease both;
}

.stage__hero { animation-delay: 0.08s; }
.pillar:nth-child(1) { animation-delay: 0.16s; }
.pillar:nth-child(2) { animation-delay: 0.24s; }
.pillar:nth-child(3) { animation-delay: 0.32s; }
.manifesto { animation-delay: 0.4s; }
.signal { animation-delay: 0.48s; }
.stage__footer { animation-delay: 0.56s; }

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

@media (min-width: 720px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  .signal__form {
    grid-template-columns: 1fr 1fr;
  }

  .signal__input--wide,
  .signal__btn {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb,
  .stage__header,
  .stage__hero,
  .pillar,
  .manifesto,
  .signal,
  .stage__footer {
    animation: none;
  }
}
