:root {
  --bg-deep: #1c1008;
  --bg-mid: #4a2310;
  --bg-warm: #8b4518;
  --ink: #fff8f1;
  --ink-soft: rgba(255, 248, 241, 0.78);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  --radius: 1.1rem;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(28, 16, 8, 0.35) 0%, rgba(28, 16, 8, 0.72) 55%, rgba(28, 16, 8, 0.92) 100%),
    linear-gradient(135deg, var(--bg-warm) 0%, var(--bg-mid) 42%, var(--bg-deep) 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
  animation: drift 12s ease-in-out infinite alternate;
}

.glow-a {
  width: min(70vw, 420px);
  height: min(70vw, 420px);
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, #d97706 0%, transparent 70%);
}

.glow-b {
  width: min(65vw, 380px);
  height: min(65vw, 380px);
  right: -10%;
  bottom: 8%;
  background: radial-gradient(circle, #b91c1c 0%, transparent 70%);
  animation-delay: -4s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  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");
  pointer-events: none;
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  align-content: center;
  gap: clamp(1.5rem, 5vw, 2.5rem);
  padding:
    max(1.5rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1.5rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  max-width: 52rem;
  margin: 0 auto;
}

.brand {
  text-align: center;
  animation: rise 0.7s ease-out both;
}

.brand__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.brand__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.brand__lead {
  margin: 0.85rem auto 0;
  max-width: 22rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.chooser {
  display: grid;
  gap: 1rem;
  animation: rise 0.7s ease-out 0.12s both;
}

.choice {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #1a120c;
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    outline-color 0.22s ease;
}

.choice:hover,
.choice:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.45);
}

.choice:focus-visible {
  outline-color: rgba(255, 248, 241, 0.75);
}

.choice__banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.choice:hover .choice__banner,
.choice:focus-visible .choice__banner {
  transform: scale(1.03);
}

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(18px, 24px, 0) scale(1.08);
  }
}

@media (min-width: 720px) {
  .chooser {
    gap: 1.25rem;
  }

  .choice {
    border-radius: 1.25rem;
  }

  .choice__banner {
    aspect-ratio: 3.2 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow,
  .brand,
  .chooser,
  .choice,
  .choice__banner {
    animation: none !important;
    transition: none !important;
  }
}
