:root {
  color-scheme: dark;
  --ink: #09090d;
  --paper: #f4f0e9;
  --muted: #a8a6ad;
  --red: #ee352d;
  --violet: #7547f4;
}

* {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Manrope, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: radial-gradient(
    ellipse 70% 50% at 50% 56%,
    #15121b 0%,
    var(--ink) 72%
  );
}
.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.atmosphere {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.32;
  will-change: transform;
}
.atmosphere--red {
  width: 36rem;
  height: 36rem;
  top: 10%;
  left: -15rem;
  background: #ae1e42;
  animation: drift 14s ease-in-out infinite alternate;
}
.atmosphere--violet {
  width: 42rem;
  height: 42rem;
  right: -20rem;
  bottom: -18rem;
  background: #4822a1;
  animation: drift 17s ease-in-out -4s infinite alternate-reverse;
}
.speed-lines {
  position: absolute;
  z-index: -1;
  inset: 15% -16% 12%;
  opacity: 0.2;
  transform: rotate(-16deg);
  background: repeating-linear-gradient(
    90deg,
    transparent 0 44px,
    rgba(245, 240, 233, 0.18) 45px 46px,
    transparent 47px 105px
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 29%,
    #000 72%,
    transparent
  );
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1.25rem, 4vw, 4.5rem);
  position: relative;
  z-index: 2;
}
.topbar {
  padding-top: clamp(1.2rem, 3.5vw, 2.75rem);
}
.wordmark {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  font-family: Oswald, sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.25rem);
  letter-spacing: 0.1em;
  font-weight: 700;
}
.wordmark i {
  color: var(--red);
  font-style: normal;
}
.wordmark-mark {
  display: grid;
  place-items: center;
  height: 2rem;
  width: 2rem;
  border: 1px solid rgba(244, 240, 233, 0.7);
  border-radius: 50%;
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0;
  transform: rotate(-11deg);
}
.domain,
.footer {
  font:
    500 0.63rem/1.2 'DM Mono',
    monospace;
  letter-spacing: 0.11em;
  color: var(--muted);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 34rem;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  margin: 0 0 1.45rem;
  color: #d0cdd1;
  font:
    500 0.67rem/1.2 'DM Mono',
    monospace;
  letter-spacing: 0.16em;
}
.eyebrow span {
  width: 1.8rem;
  height: 1px;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}
h1 {
  margin: 0;
  text-transform: uppercase;
  font:
    700 clamp(3.35rem, 8vw, 8.9rem)/0.82 Oswald,
    sans-serif;
  letter-spacing: -0.035em;
}
h1 em {
  color: var(--red);
  font-style: normal;
  text-shadow: 0 0 35px rgba(238, 53, 45, 0.24);
}
.period {
  color: var(--violet);
}
.tagline {
  margin: 1.8rem 0 0.8rem;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.description {
  margin: 0 auto;
  max-width: 630px;
  color: #b5b2b9;
  font-size: clamp(0.76rem, 1vw, 0.92rem);
  line-height: 1.75;
}
.soon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: clamp(2.1rem, 4vw, 3.4rem);
}
.soon-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.05rem;
  border: 1px solid rgba(244, 240, 233, 0.65);
  color: var(--paper);
  background: rgba(9, 9, 13, 0.45);
  backdrop-filter: blur(6px);
  font:
    500 0.72rem/1 'DM Mono',
    monospace;
  letter-spacing: 0.12em;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.soon-badge:hover {
  transform: translateY(-3px) rotate(-1deg);
  border-color: var(--red);
  box-shadow: 0 10px 30px rgba(238, 53, 45, 0.15);
}
.soon-badge svg {
  width: 1rem;
  fill: var(--red);
}
.badge-ring {
  position: absolute;
  width: 0.43rem;
  height: 0.43rem;
  background: var(--red);
  border-radius: 50%;
  right: -0.22rem;
  top: -0.22rem;
  box-shadow: 0 0 14px var(--red);
  animation: blink 2.2s ease-in-out infinite;
}
.soon-detail {
  color: #8d8993;
  font:
    500 0.58rem/1.3 'DM Mono',
    monospace;
  letter-spacing: 0.13em;
  text-align: left;
}

.manga-frame {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: clamp(5rem, 10vw, 9rem);
  height: clamp(8rem, 17vw, 16rem);
  padding: 0.75rem;
  border: 1px solid rgba(244, 240, 233, 0.25);
  color: rgba(244, 240, 233, 0.55);
  font:
    500 0.57rem 'DM Mono',
    monospace;
  opacity: 0.8;
  transform: skewY(-9deg);
}
.manga-frame b {
  align-self: flex-end;
  font: 500 clamp(1.35rem, 2.4vw, 2.4rem)/1 serif;
  color: rgba(244, 240, 233, 0.72);
}
.manga-frame--left {
  left: clamp(-2.5rem, 7vw, 10rem);
  top: 26%;
  border-color: rgba(238, 53, 45, 0.48);
}
.manga-frame--right {
  right: clamp(-2.5rem, 7vw, 10rem);
  bottom: 22%;
  border-color: rgba(117, 71, 244, 0.55);
  transform: skewY(9deg);
}
.ink-orbit {
  position: absolute;
  z-index: -1;
  width: min(68vw, 61rem);
  height: min(68vw, 61rem);
  border: 1px solid rgba(244, 240, 233, 0.14);
  border-radius: 43% 57% 61% 39% / 51% 42% 58% 49%;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%) rotate(-20deg);
}
.ink-orbit--one {
  border-left-color: rgba(238, 53, 45, 0.55);
  animation: turn 30s linear infinite;
}
.ink-orbit--two {
  width: min(51vw, 44rem);
  height: min(51vw, 44rem);
  border-right-color: rgba(117, 71, 244, 0.55);
  transform: translate(-50%, -50%) rotate(70deg);
  animation: turn 22s linear infinite reverse;
}
.hero-index {
  position: absolute;
  bottom: 3.3rem;
  left: clamp(1.25rem, 4vw, 4.5rem);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #8f8b94;
  font:
    500 0.58rem 'DM Mono',
    monospace;
}
.hero-index i {
  width: 2.7rem;
  height: 1px;
  background: #8f8b94;
}
.vertical-copy {
  position: absolute;
  right: clamp(1.25rem, 4vw, 4.5rem);
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  color: #77737d;
  font:
    500 0.55rem 'DM Mono',
    monospace;
  letter-spacing: 0.14em;
}
.footer {
  padding-bottom: clamp(1.2rem, 3.2vw, 2.4rem);
  font-size: 0.55rem;
}
.footer-kanji {
  font: 400 1rem serif;
  color: #77737d;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes drift {
  to {
    transform: translate(4rem, -2.5rem) scale(1.15);
  }
}
@keyframes turn {
  to {
    transform: translate(-50%, -50%) rotate(340deg);
  }
}
@keyframes blink {
  50% {
    opacity: 0.25;
    transform: scale(0.7);
  }
}
@media (max-width: 700px) {
  .topbar {
    padding-top: 1.2rem;
  }
  .domain {
    display: none;
  }
  .hero {
    min-height: 0;
    padding: 7.5rem 1.25rem 7rem;
  }
  h1 {
    font-size: clamp(3.15rem, 17.5vw, 5.2rem);
    line-height: 0.86;
  }
  .desktop-break {
    display: none;
  }
  .description {
    max-width: 330px;
  }
  .manga-frame--left {
    top: 8%;
    left: -2.6rem;
  }
  .manga-frame--right {
    right: -2.7rem;
    bottom: 10%;
  }
  .ink-orbit {
    width: 130vw;
    height: 130vw;
  }
  .ink-orbit--two {
    width: 102vw;
    height: 102vw;
  }
  .hero-index,
  .vertical-copy {
    display: none;
  }
  .footer {
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
  }
  .footer-kanji {
    order: 3;
    width: 100%;
  }
  .soon-wrap {
    gap: 0.65rem;
  }
  .soon-detail {
    font-size: 0.5rem;
  }
}
@media (max-width: 390px) {
  .hero {
    padding-top: 6rem;
  }
  .soon-detail {
    display: none;
  }
  .footer {
    font-size: 0.48rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
