:root {
  color-scheme: dark;
  --ink: #050604;
  --ivory: #f3eddf;
  --gold: #c8a35a;
  --red: #c62f39;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --sans: "Helvetica Neue", "Avenir Next", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--ink);
}

body {
  color: var(--ivory);
  font-family: var(--sans);
  overflow: hidden;
}

button {
  font: inherit;
}

/* Old Loze cinematic loading */
.intro {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background: #000;
  opacity: 1;
  transition: opacity 0.55s ease;
}

.intro.is-exiting {
  pointer-events: none;
  opacity: 0;
}

.intro[hidden] {
  display: none;
}

.intro__frame {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(229, 217, 193, 0.12);
}

.intro__frame--outer {
  inset: 2.1vw 1.55vw;
}

.intro__frame--inner {
  inset: calc(2.1vw + 12px) calc(1.55vw + 12px);
  border-color: rgba(229, 217, 193, 0.08);
}

.intro__skip {
  position: absolute;
  z-index: 20;
  top: clamp(42px, 6vh, 68px);
  right: clamp(42px, 4vw, 76px);
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: rgba(242, 235, 220, 0.48);
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.intro__skip:hover,
.intro__skip:focus-visible {
  color: var(--ivory);
}

.intro__skip:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 7px;
}

.intro__stage {
  position: relative;
  width: min(28vw, 500px);
  aspect-ratio: 1703 / 808;
}

.intro__logo {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: auto;
  clip-path: inset(0 100% 0 0);
  animation: intro-logo-reveal 0.78s 0.12s var(--ease) forwards;
  user-select: none;
}

.intro__ring {
  position: absolute;
  z-index: 1;
  top: 39.62%;
  border: 1px solid rgba(231, 220, 199, 0.11);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(-50%) scale(0.92);
  animation: intro-ring-reveal 0.8s 0.46s var(--ease) forwards;
}

.intro__ring--outer {
  left: 11.04%;
  width: 71.93%;
  height: auto;
  aspect-ratio: 1;
}

.intro__ring--inner {
  display: none;
}

.intro__dot-mask {
  position: absolute;
  z-index: 4;
  top: 39.62%;
  left: 82.96%;
  width: 7.8%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 3px #000;
  opacity: 1;
  transform: translate(-50%, -50%);
  animation: intro-dot-arrival 0.08s 2.69s linear forwards;
}

.intro__orbit {
  position: absolute;
  z-index: 6;
  top: 0;
  left: 0;
  width: 5.45%;
  aspect-ratio: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}

.intro__orbit i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 27%, #ee8b90 0 6%, transparent 7%),
    radial-gradient(circle at 34% 28%, #dc5159 0%, var(--red) 42%, #8e1720 100%);
  box-shadow:
    0 0 0 1px rgba(255, 202, 197, 0.2),
    0 0 17px rgba(198, 47, 57, 0.5),
    0 0 52px rgba(198, 47, 57, 0.18);
}

.intro__orbit--trail {
  z-index: 5;
  opacity: 0;
  filter: blur(5px);
}

.intro__orbit--trail i {
  opacity: 0.22;
  transform: scale(0.82);
}

.intro__orbit--trail-one {
  opacity: 0;
}

.intro__orbit--trail-two {
  filter: blur(10px);
  opacity: 0;
}

.intro__orbit--trail-two i {
  opacity: 0.11;
  transform: scale(1.2);
}

.intro__meta {
  position: absolute;
  right: clamp(46px, 7vw, 132px);
  bottom: clamp(62px, 8vh, 88px);
  display: flex;
  gap: clamp(18px, 2vw, 30px);
  color: rgba(243, 237, 223, 0.78);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  opacity: 0;
  animation: intro-meta-reveal 0.65s 1.6s ease forwards;
}

.intro__line {
  position: absolute;
  right: clamp(46px, 7vw, 132px);
  bottom: clamp(44px, calc(8vh - 18px), 70px);
  width: min(270px, 40vw);
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right center;
  animation: intro-line-reveal 2.7s 0.18s var(--ease) forwards;
}

/* Coming soon */
.experience {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: #050604;
  opacity: 0;
  transform: scale(1.018);
  transition:
    opacity 1.15s var(--ease),
    transform 1.6s var(--ease);
}

.experience.is-visible {
  opacity: 1;
  transform: scale(1);
}

.background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.background-video {
  z-index: 0;
  visibility: hidden;
  -webkit-appearance: none;
  appearance: none;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.15s linear;
}

.background-video.is-active {
  visibility: visible;
  opacity: 1;
}

.background-video::-webkit-media-controls,
.background-video::-webkit-media-controls-enclosure,
.background-video::-webkit-media-controls-panel,
.background-video::-webkit-media-controls-overlay-play-button,
.background-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  opacity: 0 !important;
  -webkit-appearance: none !important;
}

.video-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.42)),
    radial-gradient(ellipse at center, transparent 28%, rgba(0, 0, 0, 0.34) 100%);
}

.experience::before,
.experience::after {
  position: absolute;
  z-index: 12;
  inset: 18px;
  border: 1px solid rgba(210, 174, 97, 0.17);
  content: "";
  pointer-events: none;
}

.experience::after {
  inset: 29px;
  border-color: rgba(242, 235, 220, 0.065);
}

.site-meta,
.site-footer {
  position: absolute;
  z-index: 15;
  right: clamp(42px, 4vw, 76px);
  left: clamp(42px, 4vw, 76px);
  display: flex;
  justify-content: space-between;
  color: rgba(243, 237, 223, 0.68);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.22em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(8px);
  transition:
    opacity 0.9s 0.65s var(--ease),
    transform 0.9s 0.65s var(--ease);
}

.site-meta {
  top: clamp(44px, 6vh, 72px);
}

.site-footer {
  bottom: clamp(44px, 6vh, 70px);
  transition-delay: 0.85s;
}

.coming-soon {
  position: relative;
  z-index: 5;
  width: 100%;
  min-height: 100svh;
}

.brand-logo {
  position: absolute;
  top: 55%;
  left: 50%;
  width: min(62vw, 790px);
  height: auto;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.95);
  transition:
    opacity 1.3s 0.2s var(--ease),
    transform 1.6s 0.2s var(--ease);
  user-select: none;
}

.status {
  position: absolute;
  z-index: 6;
  top: calc(55% + clamp(165px, 13vw, 215px));
  left: 50%;
  display: grid;
  width: min(82vw, 700px);
  grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
  gap: clamp(15px, 2.4vw, 30px);
  align-items: center;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition:
    opacity 1.05s 0.62s var(--ease),
    transform 1.05s 0.62s var(--ease);
}

.status > span {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(211, 175, 102, 0.66));
}

.status > span:last-child {
  background: linear-gradient(90deg, rgba(211, 175, 102, 0.66), transparent);
}

.status h1 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(25px, 3.2vw, 44px);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.experience.is-visible .brand-logo {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.experience.is-visible .status {
  opacity: 1;
  transform: translate(-50%, 0);
}

.experience.is-visible .site-meta,
.experience.is-visible .site-footer {
  opacity: 1;
  transform: translateY(0);
}

@keyframes intro-logo-reveal {
  to { clip-path: inset(0); }
}

@keyframes intro-ring-reveal {
  to { opacity: 1; transform: translateY(-50%) scale(1); }
}

@keyframes intro-meta-reveal {
  to { opacity: 1; }
}

@keyframes intro-dot-arrival {
  to { opacity: 0; }
}

@keyframes intro-line-reveal {
  to { transform: scaleX(1); }
}

@media (max-width: 700px) {
  .intro__frame--outer {
    inset: 10px;
  }

  .intro__frame--inner {
    inset: 17px;
  }

  .intro__stage {
    width: min(70vw, 430px);
  }

  .intro__skip {
    top: 28px;
    right: 30px;
  }

  .intro__meta {
    right: 30px;
    bottom: 50px;
    gap: 15px;
    font-size: 8px;
  }

  .intro__line {
    right: 30px;
    bottom: 36px;
    width: 180px;
  }

  .brand-logo {
    top: 55%;
    width: min(82vw, 560px);
  }

  .status {
    top: calc(55% + clamp(105px, 31vw, 155px));
    width: min(82vw, 540px);
    grid-template-columns: 1fr;
    text-align: center;
  }

  .status > span {
    display: none;
  }

  .status h1 {
    font-size: clamp(21px, 6.1vw, 31px);
    letter-spacing: 0.09em;
  }

  .experience::before {
    inset: 10px;
  }

  .experience::after {
    inset: 17px;
  }

  .site-meta,
  .site-footer {
    right: 30px;
    left: 30px;
    font-size: 8px;
    letter-spacing: 0.17em;
  }

  .site-meta {
    top: 33px;
  }

  .site-footer {
    bottom: 32px;
  }
}

@media (max-width: 410px) {
  .site-meta span:first-child,
  .site-footer span:last-child {
    display: none;
  }

  .site-meta,
  .site-footer {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro__logo,
  .intro__ring,
  .intro__dot-mask,
  .intro__orbit,
  .intro__meta,
  .intro__line {
    animation: none;
  }

  .intro__logo {
    clip-path: inset(0);
  }

  .intro__ring,
  .intro__orbit,
  .intro__dot-mask {
    display: none;
  }

  .intro__meta {
    opacity: 1;
  }

  .intro__line {
    transform: scaleX(1);
  }

  .experience,
  .brand-logo,
  .status,
  .site-meta,
  .site-footer {
    transition-duration: 0.01ms;
  }

  .background-video {
    display: none;
  }
}
