@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@200..800&display=swap');

:root {
  --burgundy: #a91f2b;
  --raw-gold: #d7a716;
  --cream: #f4efe5;
  --coffee: #7a3515;
  --espresso: #25130d;
  --charcoal: #171411;
  --ink: #120d0a;
  --muted: rgba(244, 239, 229, 0.72);
  --shadow: rgba(9, 5, 4, 0.35);
  --grain: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 34%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.04), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.18), transparent 30%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--charcoal);
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: var(--grain);
  mix-blend-mode: soft-light;
  opacity: 0.2;
  z-index: 2;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

#root {
  min-height: 100vh;
}

.landing-page {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 50% 42%, rgba(169, 31, 43, 0.12), transparent 28%),
    radial-gradient(circle at top, rgba(215, 167, 22, 0.05), transparent 34%),
    linear-gradient(180deg, #110d0b 0%, var(--charcoal) 52%, #19110d 100%);
}

.landing-page__glow {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(84vw, 48rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 31, 43, 0.16) 0%, rgba(169, 31, 43, 0.06) 42%, transparent 74%);
  filter: blur(28px);
  pointer-events: none;
  opacity: 0;
  animation: landing-glow-in 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.landing-page__splash {
  position: absolute;
  inset: 50% auto auto 50%;
  border-radius: 44% 56% 58% 42% / 40% 42% 58% 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 34% 34%, rgba(250, 238, 205, 0.72), rgba(215, 167, 22, 0.34) 42%, rgba(215, 167, 22, 0.05) 76%, transparent 100%);
  mix-blend-mode: screen;
  opacity: 0.36;
}

.landing-page__splash--one {
  width: min(50vw, 24rem);
  height: min(56vw, 27rem);
  animation: gold-splash-one 14s ease-in-out infinite;
}

.landing-page__splash--two {
  width: min(36vw, 17rem);
  height: min(42vw, 19rem);
  opacity: 0.28;
  animation: gold-splash-two 11.5s ease-in-out infinite;
}

.landing-page__splash--three {
  width: min(60vw, 29rem);
  height: min(32vw, 14rem);
  opacity: 0.16;
  animation: gold-splash-three 16s ease-in-out infinite;
}

.landing-page__content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100svh;
  opacity: 0;
  animation: landing-content-in 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 120ms forwards;
}

.landing-page__logo-shell {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.landing-page__logo-glass {
  position: absolute;
  inset: -10% -14%;
  border-radius: 42%;
  background:
    linear-gradient(118deg, transparent 14%, rgba(255, 255, 255, 0.08) 31%, rgba(255, 255, 255, 0.015) 46%, transparent 60%),
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.07), transparent 44%);
  filter: blur(4px);
  mix-blend-mode: screen;
  opacity: 0.3;
  animation: glass-blip 7.5s ease-in-out infinite;
}

.landing-page__logo {
  width: min(56vw, 20rem);
  min-width: 10rem;
  filter: drop-shadow(0 2rem 2.6rem rgba(0, 0, 0, 0.28));
  animation: logo-float 8.5s ease-in-out infinite;
}

@keyframes gold-splash-one {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.98) rotate(0deg);
    opacity: 0.24;
    filter: blur(24px);
  }

  50% {
    transform: translate(-49%, -51%) scale(1.05) rotate(5deg);
    opacity: 0.42;
    filter: blur(30px);
  }
}

@keyframes landing-glow-in {
  0% {
    opacity: 0;
    transform: translate(-50%, -49%) scale(0.92);
    filter: blur(36px);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(28px);
  }
}

@keyframes landing-content-in {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes gold-splash-two {
  0%,
  100% {
    transform: translate(-56%, -46%) scale(0.96) rotate(-8deg);
    filter: blur(28px);
  }

  50% {
    transform: translate(-45%, -55%) scale(1.02) rotate(2deg);
    filter: blur(22px);
  }
}

@keyframes gold-splash-three {
  0%,
  100% {
    transform: translate(-52%, -48%) scale(0.98) rotate(5deg);
    filter: blur(34px);
  }

  50% {
    transform: translate(-50%, -51%) scale(1.04) rotate(-3deg);
    filter: blur(26px);
  }
}

@keyframes glass-blip {
  0%,
  100% {
    transform: translateX(-6%) translateY(-1%) rotate(-10deg);
    opacity: 0.1;
  }

  20% {
    opacity: 0.14;
  }

  30% {
    transform: translateX(1%) translateY(-1%) rotate(-8deg);
    opacity: 0.3;
  }

  38% {
    opacity: 0.12;
  }

  64% {
    opacity: 0.14;
  }

  74% {
    transform: translateX(5%) translateY(0.5%) rotate(-6deg);
    opacity: 0.24;
  }

  82% {
    opacity: 0.1;
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 960px) {
  .landing-page__logo {
    width: min(72vw, 18rem);
  }
}

@media (max-width: 560px) {
  .landing-page {
    padding: 1.25rem;
  }

  .landing-page__logo {
    width: min(84vw, 15rem);
    min-width: 0;
  }

  .landing-page__logo-glass {
    inset: -12% -8%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .landing-page__glow,
  .landing-page__content {
    opacity: 1;
    transform: none;
  }
}