:root {
  --ink: #080808;
  --paper: #f2ede5;
  --red: #dc143c;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

.one-page {
  position: relative;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 55% 108% at 108% 39%,
      rgba(220, 20, 60, 1) 0%,
      rgba(220, 20, 60, 0.7) 32%,
      rgba(220, 20, 60, 0) 72%
    ),
    var(--paper);
}

.palace-scene {
  position: absolute;
  z-index: 1;
  right: -6%;
  bottom: 0;
  width: auto;
  height: 92%;
  object-fit: contain;
  mix-blend-mode: darken;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.34) 10%,
    #000 27%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.34) 10%,
    #000 27%,
    #000 100%
  );
}

.page-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  padding: clamp(16px, 3.6vw, 54px);
}

.top-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 72px);
}

.logo-embed {
  position: relative;
  width: clamp(138px, 15vw, 250px);
  aspect-ratio: 1;
  isolation: isolate;
}

.logo-embed::before {
  position: absolute;
  z-index: -1;
  inset: -30%;
  content: "";
  background: radial-gradient(
    ellipse,
    rgba(220, 20, 60, 0.13),
    rgba(255, 255, 255, 0.1) 40%,
    transparent 72%
  );
  filter: blur(18px);
}

.logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: saturate(0.8);
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(
    ellipse 96% 96% at center,
    #000 46%,
    rgba(0, 0, 0, 0.62) 72%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 96% 96% at center,
    #000 46%,
    rgba(0, 0, 0, 0.62) 72%,
    transparent 100%
  );
}

.logo-embed::after {
  position: absolute;
  inset: 5%;
  content: "";
  background: linear-gradient(
    102deg,
    transparent 22%,
    rgba(255, 255, 255, 0.04) 36%,
    rgba(255, 255, 255, 0.7) 48%,
    rgba(255, 255, 255, 0.12) 56%,
    transparent 73%
  );
  background-size: 240% 100%;
  mix-blend-mode: screen;
  opacity: 0.56;
  pointer-events: none;
  will-change: background-position, opacity;
  animation: foil-light 5.8s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 46%, transparent 87%);
  mask-image: radial-gradient(ellipse at center, #000 46%, transparent 87%);
}

@keyframes foil-light {
  0%,
  100% {
    background-position: 110% 50%;
    opacity: 0.16;
  }

  45% {
    background-position: -10% 50%;
    opacity: 0.62;
  }

  62% {
    background-position: -25% 50%;
    opacity: 0.08;
  }
}

.domain-list {
  display: grid;
  justify-items: end;
  width: min(34vw, 510px);
  padding-top: 2px;
  color: #fff;
}

.domain-link {
  display: block;
  width: 100%;
  padding: clamp(8px, 1.1vh, 13px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  font-size: clamp(14px, 1.55vw, 23px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: right;
  text-decoration: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.domain-link:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.72);
}

.domain-link:hover,
.domain-link:focus-visible {
  opacity: 0.7;
  outline: none;
  transform: translateX(-8px);
}

.launch {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 17%;
  padding: 1.25% 3.6% 1%;
  overflow: hidden;
  color: var(--ink);
  background: rgba(248, 246, 241, 0.015);
  border-top: 1px solid rgba(8, 8, 8, 0.035);
  backdrop-filter: blur(1.5px);
}

.launch p {
  position: relative;
  z-index: 1;
  margin: 0 0 0.6%;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(10px, 0.9vw, 15px);
  font-weight: 700;
  letter-spacing: 0.17em;
}

.launch h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(44px, 5.7vw, 92px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.75;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .one-page {
    background:
      radial-gradient(
        ellipse 82% 100% at 116% 42%,
        rgba(220, 20, 60, 1) 0%,
        rgba(220, 20, 60, 0.68) 30%,
        rgba(220, 20, 60, 0) 72%
      ),
      var(--paper);
  }

  .palace-scene {
    right: -35%;
    height: 84%;
  }

  .page-content {
    padding: 14px;
  }

  .top-line {
    gap: 12px;
  }

  .logo-embed {
    width: clamp(104px, 34vw, 145px);
  }

  .logo-embed::before {
    inset: -24%;
    filter: blur(14px);
  }

  .domain-list {
    width: min(54vw, 250px);
  }

  .domain-link {
    padding: 8px 0;
    font-size: clamp(11px, 3.7vw, 16px);
  }

  .launch {
    height: 18%;
    padding: 10px 14px 8px;
  }

  .launch p {
    margin-bottom: 5px;
    font-size: 10px;
  }

  .launch h1 {
    font-size: 10.8vw;
    line-height: 0.8;
  }
}

@media (max-height: 560px) {
  .logo-embed {
    width: clamp(92px, 23vh, 126px);
  }

  .domain-link {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .launch {
    min-height: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-embed::after {
    animation: none;
    opacity: 0;
  }

  .domain-link {
    transition: none;
  }
}
