:root {
  --mx: 50%;
  --my: 50%;
  --mx-inv: 50%;
  --my-inv: 50%;
  --cream: #fff1df;
  --warm: #ffb093;
  --coral: #ef4b46;
  --red: #c9152a;
  --deep-red: #8e1025;
  --ink: #110d0d;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  color: var(--ink);
  background: var(--deep-red);
  font-family: "Manrope", sans-serif;
}

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

.page {
  position: relative;
  width: 100%;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 242, 224, .96) 0 10%, rgba(255, 190, 154, .82) 28%, rgba(235, 70, 68, .72) 55%, rgba(153, 12, 39, .95) 100%),
    linear-gradient(135deg, #8f0f24 0%, #d21b2f 45%, #f36c56 100%);
}

.ambient {
  position: absolute;
  inset: -12%;
  z-index: -1;
  filter: saturate(1.05);
}

.wash {
  position: absolute;
  border-radius: 42% 58% 61% 39% / 54% 44% 56% 46%;
  filter: blur(26px);
  opacity: .72;
  will-change: transform;
}

.wash-a {
  width: 72vw;
  height: 72vw;
  left: -28vw;
  bottom: -28vw;
  background: linear-gradient(120deg, #7e0c20 0%, #c5162e 42%, #f05249 100%);
  transform: translate3d(calc((var(--mx) - 50%) * .09), calc((var(--my) - 50%) * .07), 0) rotate(-12deg);
}

.wash-b {
  width: 62vw;
  height: 58vw;
  right: -22vw;
  top: -24vw;
  background: linear-gradient(150deg, #ffcfaa 0%, #ff8a72 38%, #d51a36 100%);
  transform: translate3d(calc((var(--mx-inv) - 50%) * .08), calc((var(--my-inv) - 50%) * .06), 0) rotate(18deg);
  opacity: .78;
}

.wash-c {
  width: 70vw;
  height: 42vw;
  left: 18vw;
  bottom: -24vw;
  background: linear-gradient(90deg, rgba(255, 170, 129, .9), rgba(239, 59, 57, .85), rgba(129, 7, 32, .9));
  border-radius: 48% 52% 35% 65% / 61% 42% 58% 39%;
  transform: translate3d(calc((var(--mx) - 50%) * -.045), calc((var(--my) - 50%) * .045), 0) rotate(-5deg);
  filter: blur(18px);
  opacity: .88;
}

.glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(2px);
  opacity: .45;
}

.glow-a {
  width: 24rem;
  height: 24rem;
  left: calc(var(--mx) - 12rem);
  top: calc(var(--my) - 12rem);
  background: radial-gradient(circle, rgba(255, 245, 218, .52), rgba(255, 198, 156, .18) 38%, transparent 70%);
  transition: left 120ms linear, top 120ms linear;
}

.glow-b {
  width: 15rem;
  height: 15rem;
  left: calc(var(--mx-inv) - 7.5rem);
  top: calc(var(--my-inv) - 7.5rem);
  background: radial-gradient(circle, rgba(255, 219, 174, .33), transparent 70%);
  transition: left 180ms linear, top 180ms linear;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: .16;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.27'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate3d(calc((var(--mx) - 50%) * .012), calc((var(--my) - 50%) * .012), 0);
  transition: transform 200ms ease-out;
  text-align: center;
  user-select: none;
}

.logo {
  width: clamp(150px, 19vw, 285px);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 28px rgba(79, 4, 20, .10));
  animation: arrive 1.15s cubic-bezier(.2, .8, .2, 1) both;
}

h1 {
  margin: clamp(.9rem, 2vw, 1.45rem) 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(.9rem, 1.4vw, 1.15rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .48em;
  text-transform: lowercase;
  padding-left: .48em;
  opacity: .76;
  animation: fade-up .9s .28s ease both;
}

.divider {
  display: grid;
  grid-template-columns: 4rem auto 4rem;
  align-items: center;
  gap: .8rem;
  margin-top: 1.2rem;
  opacity: .68;
  animation: fade-up .9s .42s ease both;
}

.divider span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17, 13, 13, .72));
}

.divider span:last-child {
  background: linear-gradient(90deg, rgba(17, 13, 13, .72), transparent);
}

.divider i {
  width: .38rem;
  height: .38rem;
  display: block;
  background: currentColor;
  transform: rotate(45deg);
}

.soon {
  margin: 1.15rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 600;
  letter-spacing: .44em;
  padding-left: .44em;
  animation: fade-up .9s .54s ease both;
}

.motion-note {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  margin: 0;
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .42;
  animation: fade-up 1s .75s ease both;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .wash-a {
    width: 130vw;
    height: 130vw;
    left: -64vw;
    bottom: -54vw;
  }

  .wash-b {
    width: 110vw;
    height: 100vw;
    right: -55vw;
    top: -35vw;
  }

  .wash-c {
    width: 130vw;
    height: 76vw;
    left: -10vw;
    bottom: -30vw;
  }

  .divider {
    grid-template-columns: 2.8rem auto 2.8rem;
  }

  .motion-note {
    display: none;
  }
}

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

  .brand-card,
  .wash {
    transform: none !important;
  }
}
