:root {
  color-scheme: dark;
  --canvas: #0a0f1d;
  --glass: rgba(255, 255, 255, .075);
  --glass-strong: rgba(255, 255, 255, .12);
  --glass-edge: rgba(255, 255, 255, .18);
  --ink: #f3f5fc;
  --print-ink: #171717;
  --art-paper: #f2f4fb;
  --cobalt: #6959e8;
  --violet-light: #b7adff;
  --lime: #d9f35b;
  --line: rgba(235, 239, 255, .2);
  --muted: #b8c1d5;
  --page-gutter: clamp(1.25rem, 5vw, 5.5rem);
  --body-face: "Trebuchet MS", "Avenir Next", sans-serif;
  --display-face: Impact, Haettenschweiler, "Franklin Gothic Condensed", sans-serif;
  font-family: var(--body-face);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 12% 9%, rgba(73, 56, 201, .3), transparent 42rem),
    radial-gradient(ellipse at 88% 40%, rgba(217, 243, 91, .08), transparent 34rem),
    var(--canvas);
  color: var(--ink);
}

button, a { color: inherit; }
a { text-underline-offset: .22em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; }

.skip-link {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 20;
  padding: .8rem 1rem;
  transform: translateY(-160%);
  background: var(--lime);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.masthead {
  min-height: 76px;
  padding: .85rem var(--page-gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 15, 29, .62);
  backdrop-filter: blur(18px) saturate(135%);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
}

.wordmark {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: .1em;
}
.wordmark__icon {
  width: 38px;
  height: 38px;
  flex: none;
  object-fit: contain;
  border: 1px solid var(--glass-edge);
  border-radius: 10px;
  background: var(--glass);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .24);
}
.masthead__edition { margin: 0; text-align: right; }
.masthead__edition span { color: var(--cobalt); padding: 0 .35rem; }

.hero {
  min-height: 670px;
  padding: clamp(2.5rem, 5vw, 5.25rem) var(--page-gutter) clamp(3.5rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: center;
  overflow: hidden;
}

.hero__copy { max-width: 650px; }
.hero__folio, .art-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.hero__folio { padding-bottom: .85rem; border-bottom: 1px solid var(--line); }

h1, p { margin-top: 0; }
h1 {
  margin: 1.4rem 0 1.2rem;
  max-width: none;
  font-size: clamp(3.5rem, 5.8vw, 6.2rem);
  line-height: .88;
  letter-spacing: -.075em;
  font-family: var(--display-face);
  font-weight: 500;
  text-transform: uppercase;
}
h1 em { color: var(--violet-light); font-style: normal; }
.hero__intro {
  max-width: 38ch;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.55;
}

.release {
  max-width: 540px;
  padding: 1.15rem;
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--glass-strong), var(--glass));
  box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
  backdrop-filter: blur(20px) saturate(145%);
}
.release__heading { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.release__label, .release__state, .release__details dt, .release__message {
  font-size: .7rem;
  line-height: 1.4;
  letter-spacing: .08em;
}
.release__label { font-weight: 800; }
.release__state { text-align: right; }
.release__state[data-state="ready"] { color: #c6ff8c; font-weight: 700; }
.release__state[data-state="error"] { color: #ffaaa7; font-weight: 700; }
.release__details {
  margin: 1rem 0 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
}
.release__details div { min-width: 74px; }
.release__details dt { color: var(--muted); }
.release__details dd { margin: .25rem 0 0; font-size: .9rem; font-weight: 700; overflow-wrap: anywhere; }
.download-button {
  width: min(100%, 400px);
  min-height: 58px;
  padding: 0 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 11px;
  background: var(--cobalt);
  color: white;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(73, 56, 201, .3);
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.download-button:not(:disabled):hover {
  background: #5646d2;
  box-shadow: 0 16px 34px rgba(73, 56, 201, .42);
  transform: translateY(-2px);
}
.download-button:disabled { background: #6d6d6d; cursor: not-allowed; }
.download-button__icon { font-size: 1.4rem; line-height: 1; }
.release__message { min-height: 1em; margin: .75rem 0 0; color: var(--muted); letter-spacing: 0; }

.hero__art {
  position: relative;
  padding: 1rem 0 2.8rem;
}
.art-caption { margin-bottom: .7rem; }
.manga-sheet {
  position: relative;
  padding: clamp(.85rem, 2vw, 1.5rem);
  border: 1px solid var(--glass-edge);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .045));
  box-shadow: 0 32px 80px rgba(0, 0, 0, .42), 12px 12px 0 rgba(0, 0, 0, .22);
  backdrop-filter: blur(22px) saturate(150%);
  transform: rotate(1.25deg);
}
.manga-sheet__top, .manga-sheet__foot {
  min-height: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  color: white;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .15em;
}
.manga-sheet__top { padding-bottom: .6rem; }
.registration-mark { color: var(--lime); font-size: 1.2rem; }
.panel { position: relative; overflow: hidden; border: 3px solid var(--print-ink); background: var(--art-paper); }
.panel--wide { aspect-ratio: 1.74; }
.panel--wide svg { width: 100%; height: 100%; display: block; }
.panel__number {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: .2rem .35rem;
  background: var(--art-paper);
  color: var(--print-ink);
  font-size: .6rem;
  font-weight: 800;
}
.manga-sheet__strip { margin-top: .55rem; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .55rem; }
.panel--small { min-height: 88px; }
.panel--tone {
  background-color: var(--art-paper);
  background-image: radial-gradient(var(--print-ink) 1px, transparent 1px);
  background-size: 6px 6px;
}
.speed-lines {
  position: absolute;
  width: 85%;
  height: 45%;
  top: 26%;
  left: 4%;
  background: repeating-linear-gradient(165deg, transparent 0 7px, var(--ink) 8px 9px, transparent 10px 15px);
  transform: skewY(-8deg);
}
.panel--ink { background: var(--print-ink); }
.moon-shape {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 17px;
  left: 50%;
  border: 2px solid var(--lime);
  border-radius: 50%;
  box-shadow: inset 12px -3px 0 -7px var(--ink), 0 0 0 1px var(--lime);
}
.panel--lime { display: grid; place-items: center; background: var(--lime); }
.spark { color: var(--cobalt); font-size: 3rem; line-height: 1; }
.manga-sheet__foot { min-height: 32px; padding-top: .5rem; font-size: .53rem; }
.art-note {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  font-size: .79rem;
  font-weight: 700;
}
.art-note__asterisk { padding-right: .25rem; color: var(--violet-light); }

.ticker {
  overflow: hidden;
  background: var(--lime);
  border-top: 1px solid var(--print-ink);
  border-bottom: 1px solid var(--print-ink);
  color: var(--print-ink);
}
.ticker__track {
  min-width: max-content;
  padding: .9rem 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: clamp(2rem, 5vw, 5rem);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
}
.ticker__track i { color: var(--cobalt); font-style: normal; }

.footer {
  min-height: 92px;
  padding: 1.4rem var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  font-size: .75rem;
}
.footer p { margin: 0; }
.footer > a:last-child { text-decoration-thickness: 1px; }

@media (max-width: 820px) {
  .masthead { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; gap: 3rem; }
  .hero__copy { max-width: 650px; }
  .hero__art { width: min(100%, 650px); justify-self: center; }
}

@media (max-width: 520px) {
  .masthead { min-height: 65px; }
  .masthead__edition { font-size: .56rem; letter-spacing: .07em; }
  .hero { padding-top: 2.4rem; padding-bottom: 3rem; }
  h1 { font-size: clamp(3.45rem, 14vw, 4.4rem); }
  .hero__folio, .art-caption { font-size: .58rem; }
  .hero__art { padding-top: .2rem; }
  .manga-sheet { padding: .7rem; box-shadow: 7px 7px 0 var(--ink); }
  .panel--small { min-height: 63px; }
  .manga-sheet__foot { font-size: .43rem; }
  .art-note { font-size: .7rem; }
  .footer { align-items: flex-start; flex-wrap: wrap; }
  .footer p { width: 100%; order: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
