/* Batho Online — Coming Soon
   Brand: charcoal + burnt orange, community radio energy */

:root {
  --ink: #1c1814;
  --ink-soft: #2a241e;
  --clay: #c45a2c;
  --clay-bright: #e06a35;
  --clay-deep: #9a3f1a;
  --sand: #f3ebe2;
  --sand-muted: #d9cfc4;
  --white: #ffffff;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--sand);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* —— Atmosphere —— */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(196, 90, 44, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(42, 36, 30, 0.9), transparent 50%),
    radial-gradient(ellipse 50% 40% at 85% 30%, rgba(154, 63, 26, 0.18), transparent 45%),
    linear-gradient(165deg, #14110e 0%, var(--ink) 45%, #221a14 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-a {
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(224, 106, 53, 0.35), transparent 70%);
}

.glow-b {
  width: min(40vw, 360px);
  height: min(40vw, 360px);
  bottom: 5%;
  right: -5%;
  background: radial-gradient(circle, rgba(196, 90, 44, 0.25), transparent 70%);
  animation-delay: -6s;
  animation-duration: 18s;
}

/* Concentric sound ripples — logo motif */
.ripples {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(90vmin, 720px);
  height: min(90vmin, 720px);
  transform: translate(-50%, -50%);
}

.ripples span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(196, 90, 44, 0.14);
  animation: pulse-ring 6s ease-out infinite;
}

.ripples span:nth-child(2) {
  inset: 12%;
  animation-delay: 1.2s;
  border-color: rgba(243, 235, 226, 0.06);
}

.ripples span:nth-child(3) {
  inset: 24%;
  animation-delay: 2.4s;
  border-color: rgba(196, 90, 44, 0.1);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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");
  background-size: 180px;
  mix-blend-mode: overlay;
}

/* —— Stage —— */
.stage {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vh, 2.75rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.brand {
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo {
  display: block;
  width: min(72vw, 340px);
  height: auto;
  max-height: min(48vh, 360px);
  object-fit: contain;
  filter:
    drop-shadow(0 12px 40px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 60px rgba(196, 90, 44, 0.12));
}

/* Soft white plate behind logo so white logo areas stay crisp on dark bg */
.brand::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(78vw, 380px);
  height: min(78vw, 380px);
  max-height: min(52vh, 400px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 42%, transparent 68%);
  z-index: -1;
  animation: plate-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  position: relative;
}

.message {
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.eyebrow {
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay-bright);
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  text-transform: uppercase;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.rule {
  width: 3.5rem;
  height: 2px;
  margin: 0.15rem 0;
  background: linear-gradient(90deg, transparent, var(--clay), transparent);
  border-radius: 1px;
  animation: rule-grow 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.lede {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--sand-muted);
  letter-spacing: 0.01em;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

/* —— Motion —— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes plate-in {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes rule-grow {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.88);
    opacity: 0.55;
  }
  70% {
    opacity: 0.12;
  }
  100% {
    transform: scale(1.08);
    opacity: 0;
  }
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(2%, 3%) scale(1.06);
  }
}

.glow-a {
  animation-name: drift-center;
}

@keyframes drift-center {
  from {
    transform: translateX(-50%) translate(0, 0) scale(1);
  }
  to {
    transform: translateX(-50%) translate(0, 4%) scale(1.05);
  }
}

/* —— Responsive —— */
@media (max-width: 480px) {
  .stage {
    gap: 1.25rem;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }

  .logo {
    width: min(80vw, 280px);
  }

  .brand::before {
    width: min(88vw, 320px);
    height: min(88vw, 320px);
  }

  .headline {
    font-size: clamp(2.25rem, 12vw, 3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
