:root {
  color-scheme: dark;
  background: #160b05;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow: hidden;
  background: #160b05;
}

.stage {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.portrait {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: #241004;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 6, 2, .05) 35%, rgba(13, 6, 2, .33) 100%),
    linear-gradient(0deg, rgba(13, 6, 2, .14), transparent 35%);
}

.portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 6%;
}

.brand {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: clamp(1.25rem, 4vw, 4rem);
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: min(29vw, 27rem);
  min-width: 19rem;
  aspect-ratio: .9;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem) clamp(3.5rem, 6vw, 4.5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(255, 252, 247, .78);
  box-shadow:
    0 2rem 6rem rgba(16, 6, 1, .32),
    inset 0 1px rgba(255, 255, 255, .82);
  backdrop-filter: blur(24px) saturate(1.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.08);
  animation: settle 850ms cubic-bezier(.2, .75, .2, 1) both;
}

.brand::before,
.brand::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.brand::before {
  inset: clamp(.55rem, 1vw, .85rem);
  border: 1px solid rgba(122, 71, 16, .13);
  border-radius: calc(clamp(1.5rem, 3vw, 2.5rem) - .55rem);
}

.brand::after {
  inset: 0;
  background: radial-gradient(circle at 50% 46%, rgba(255, 255, 255, .34), transparent 66%);
}

.logo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(94%, 30rem);
  height: auto;
  max-height: 72svh;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.02) saturate(.97);
  user-select: none;
  -webkit-user-drag: none;
}

.coming {
  position: absolute;
  right: 0;
  top: auto;
  bottom: clamp(1.5rem, 3vw, 2.2rem);
  z-index: 2;
  left: 0;
  margin: 0;
  color: #6d4317;
  font: 650 .66rem/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .38em;
  text-align: center;
}

@keyframes settle {
  from { transform: translateY(1rem) scale(.985); }
  to { transform: translateY(0) scale(1); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .portrait img {
    object-position: 49% 50%;
  }

  .portrait::after {
    background: linear-gradient(0deg, rgba(13, 6, 2, .46), transparent 55%);
  }

  .brand {
    top: auto;
    right: 50%;
    bottom: max(1rem, env(safe-area-inset-bottom));
    translate: 50% 0;
    width: calc(100vw - 2rem);
    min-width: 0;
    max-width: 31rem;
    aspect-ratio: 1.18;
    padding: 1rem 1rem 2.7rem;
    border-radius: 1.65rem;
    background: rgba(255, 252, 247, .8);
  }

  .logo {
    width: min(82vw, 25rem);
    max-height: 32svh;
  }

  .coming {
    bottom: .95rem;
    font-size: .58rem;
  }
}

@media (max-height: 650px) and (min-width: 901px) {
  .brand {
    width: min(34vw, 27rem);
  }

  .logo {
    max-height: 62svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand { animation: none; }
}
