:root {
  --bg: #120c06;
  --bg-deep: #0a0704;
  --amber: #c8862a;
  --amber-light: #e6a845;
  --amber-soft: rgba(200, 134, 42, 0.22);
  --text: #f5ead8;
  --text-muted: #b8a690;
  --border: #3d2e1f;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  color: var(--text);
  font-family: var(--font-body);
  background: var(--bg-deep);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Atmospheric plane — warm bar light, not a flat fill */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(200, 134, 42, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 100%, rgba(75, 40, 12, 0.45), transparent 50%),
    linear-gradient(165deg, #1a1208 0%, var(--bg) 42%, #0d0905 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.55;
  will-change: transform;
}

.orb-a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  top: 12%;
  left: 8%;
  background: var(--amber-soft);
  animation: drift-a 18s ease-in-out infinite alternate;
}

.orb-b {
  width: min(40vw, 340px);
  height: min(40vw, 340px);
  bottom: 8%;
  right: 6%;
  background: rgba(74, 144, 164, 0.12);
  animation: drift-b 22s ease-in-out infinite alternate;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  mix-blend-mode: overlay;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem) 1.5rem 3rem;
  max-width: 40rem;
  margin: 0 auto;
}

.logo {
  width: clamp(112px, 28vw, 168px);
  height: auto;
  border-radius: 28%;
  margin-bottom: 1.75rem;
  box-shadow: 0 0 0 1px rgba(230, 168, 69, 0.2);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
}

.brand {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 9vw, 4.25rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--amber-light);
  opacity: 0;
  transform: translateY(14px);
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(10px);
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
  line-height: 1.55;
  font-weight: 400;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(14px);
}

.cta {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(14px);
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: 12px;
  background: var(--amber);
  color: var(--bg-deep);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.cta-primary:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
}

.cta-primary:focus-visible {
  outline: 2px solid var(--amber-light);
  outline-offset: 3px;
}

.stores {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.35rem;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}

.social:hover,
.social:focus-visible {
  color: var(--amber-light);
}

.social:focus-visible {
  outline: 2px solid var(--amber-light);
  outline-offset: 3px;
}

.social-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem 1.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.foot a {
  color: var(--amber-light);
  text-decoration: none;
}

.foot a:hover {
  text-decoration: underline;
}

.sep {
  opacity: 0.5;
}

/* Entrance — reveal after fonts/paint */
.is-ready .logo,
.is-ready .eyebrow,
.is-ready .brand,
.is-ready .lede,
.is-ready .cta {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.is-ready .logo {
  animation-delay: 0.08s;
}
.is-ready .eyebrow {
  animation-delay: 0.22s;
}
.is-ready .brand {
  animation-delay: 0.32s;
}
.is-ready .lede {
  animation-delay: 0.44s;
}
.is-ready .cta {
  animation-delay: 0.58s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes drift-a {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(4%, 6%);
  }
}

@keyframes drift-b {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-5%, -4%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb-a,
  .orb-b {
    animation: none;
  }

  .logo,
  .eyebrow,
  .brand,
  .lede,
  .cta {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
