:root {
  --paper: #986866;
  --ink: #050505;
  --soft: rgba(5, 5, 5, 0.62);
  --line: rgba(5, 5, 5, 0.18);
  --stamp: #f0e8d8;
}

body[data-world="original"] {
  --paper: #986866;
  --ink: #050505;
  --soft: rgba(5, 5, 5, 0.62);
  --line: rgba(5, 5, 5, 0.18);
  --stamp: #f0e8d8;
  --stamp-filter: contrast(1.08) saturate(0.9);
}

body[data-world="night"] {
  --paper: #050505;
  --ink: #f2eee2;
  --soft: rgba(242, 238, 226, 0.64);
  --line: rgba(242, 238, 226, 0.2);
  --stamp: #050505;
  --stamp-filter: contrast(1.08) saturate(0.92);
}

body[data-world="dust"] {
  --paper: #c5ae84;
  --ink: #17100a;
  --soft: rgba(23, 16, 10, 0.62);
  --line: rgba(23, 16, 10, 0.2);
  --stamp: #efe3c4;
  --stamp-filter: sepia(0.48) saturate(0.76) contrast(1.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  transition: background 320ms ease, color 320ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

a {
  color: inherit;
}

.poster {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-content: start;
  grid-template-rows: auto minmax(540px, 1fr) auto auto;
  gap: 22px;
  padding: 18px 0 20px;
}

.poster-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  width: min(460px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.poster-top p,
.micro,
.version small,
.poster-foot a {
  margin: 0;
  font-size: 10px;
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
}

.poster-top p:nth-child(2) {
  text-align: right;
}

.monument {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.sky-mark {
  position: absolute;
  left: 61%;
  top: 31%;
  width: min(60vw, 640px);
  height: min(34vw, 360px);
  transform: translate(-50%, -50%);
  background: transparent;
  border-radius: 0;
  z-index: 0;
}

.sky-hole {
  position: absolute;
  left: 0;
  top: 0;
  width: 82%;
  height: 28%;
  background: var(--ink);
  border-radius: 0;
  box-shadow:
    54px 120px 0 var(--ink),
    -30px 240px 0 var(--ink);
  transition: background 320ms ease, box-shadow 320ms ease;
}

.sky-hole::before,
.sky-hole::after {
  display: none;
}

.cover-stamp {
  position: absolute;
  right: 7%;
  bottom: 11%;
  width: min(17vw, 150px);
  border: 2px solid var(--ink);
  background: var(--stamp);
  filter: var(--stamp-filter);
  transform: rotate(1.5deg);
  z-index: 2;
  transition: border-color 320ms ease, filter 320ms ease;
}

.title-lockup {
  position: absolute;
  left: 4%;
  bottom: 16%;
  z-index: 2;
}

h1 {
  margin: 4px 0 0;
  max-width: 280px;
  font-size: 68px;
  line-height: 0.78;
  font-weight: 900;
  text-transform: uppercase;
}

.title-lockup .micro {
  margin-top: 8px;
}

.listen-links {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--ink);
  background: var(--ink);
}

.listen-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 33px;
  padding: 0 6px;
  border-right: 1px solid var(--paper);
  color: var(--paper);
  background: var(--ink);
  text-align: center;
  text-decoration: none;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.listen-links a:nth-child(3n) {
  border-right: 0;
}

.listen-links a:nth-child(n + 4) {
  border-top: 1px solid var(--paper);
}

.listen-links svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.listen-links a:hover {
  color: var(--ink);
  background: var(--paper);
}

.versions {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
  width: min(560px, 100%);
  margin: 0 auto;
  padding-top: 14px;
}

h2 {
  margin: 0;
  font-size: 14px;
  line-height: 0.92;
  font-weight: 900;
  text-transform: uppercase;
}

.version-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.version {
  appearance: none;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--soft);
  text-align: left;
  cursor: pointer;
  transition: color 220ms ease;
}

.version span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.version small {
  display: block;
}

.version.is-active,
.version:hover {
  color: var(--ink);
}

.poster-foot {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: 100%;
  color: var(--soft);
}

.poster-foot a {
  text-decoration: none;
}

.poster-foot a:hover {
  color: var(--ink);
}

.footer-brand {
  grid-column: 4;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .poster {
    grid-template-rows: auto minmax(560px, 1fr) auto auto;
  }

  .monument {
    min-height: 560px;
  }

  .sky-mark {
    left: 70%;
    top: 24%;
    width: min(58vw, 540px);
    height: 330px;
  }

  .sky-hole {
    width: 80%;
    height: 86px;
    box-shadow:
      44px 108px 0 var(--ink),
      -24px 216px 0 var(--ink);
  }

  .title-lockup {
    left: 2%;
    bottom: 18%;
  }

  .cover-stamp {
    right: 3%;
    bottom: 20%;
    width: 138px;
  }
}

@media (max-width: 760px) {
  .poster {
    width: min(100% - 28px, 430px);
    grid-template-rows: auto minmax(500px, 1fr) auto auto;
    gap: 18px;
    padding-top: 14px;
  }

  .poster-top {
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin: 0;
    width: 100%;
  }

  .poster-top p:nth-child(2) {
    text-align: right;
  }

  .monument {
    min-height: 500px;
  }

  .sky-mark {
    top: 29%;
    left: 50%;
    width: min(94vw, 360px);
    height: 210px;
  }

  .sky-hole {
    width: 82%;
    height: 56px;
    box-shadow:
      34px 82px 0 var(--ink),
      -22px 164px 0 var(--ink);
  }

  .title-lockup {
    left: 0;
    bottom: 10%;
  }

  h1 {
    max-width: 220px;
    font-size: 43px;
  }

  .cover-stamp {
    right: 0;
    bottom: 19%;
    width: 104px;
  }

  .versions {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
  }

  .version-list {
    gap: 14px;
  }

  .poster-foot {
    justify-content: flex-start;
    gap: 14px;
  }
}

@media (min-width: 1200px) and (min-height: 820px) {
  .poster {
    grid-template-rows: auto minmax(650px, 1fr) auto auto;
  }

  .monument {
    min-height: 650px;
  }
}

@media (min-width: 761px) {
  body::before {
    inset: -8vh -6vw;
    background-image:
      linear-gradient(90deg, var(--ink), var(--ink)),
      linear-gradient(90deg, var(--ink), var(--ink)),
      linear-gradient(90deg, var(--ink), var(--ink)),
      linear-gradient(90deg, var(--ink), var(--ink)),
      linear-gradient(90deg, var(--ink), var(--ink)),
      linear-gradient(90deg, var(--ink), var(--ink)),
      linear-gradient(90deg, var(--ink), var(--ink)),
      linear-gradient(90deg, var(--ink), var(--ink));
    background-repeat: no-repeat;
    background-size:
      28vw 50px,
      20vw 22px,
      34vw 74px,
      24vw 36px,
      30vw 58px,
      18vw 24px,
      26vw 46px,
      36vw 82px;
    background-position:
      4vw 14vh,
      14vw 32vh,
      -4vw 56vh,
      10vw 82vh,
      calc(100% - 28vw) 18vh,
      calc(100% - 16vw) 39vh,
      calc(100% - 34vw) 66vh,
      calc(100% - 22vw) 88vh;
    -webkit-mask-image: linear-gradient(90deg, #000 0 calc(50% - 370px), transparent calc(50% - 286px) calc(50% + 286px), #000 calc(50% + 370px) 100%);
    mask-image: linear-gradient(90deg, #000 0 calc(50% - 370px), transparent calc(50% - 286px) calc(50% + 286px), #000 calc(50% + 370px) 100%);
    filter: blur(0.25px);
    opacity: 0.16;
    animation: echo-slabs 28s cubic-bezier(.6, 0, .4, 1) infinite alternate;
  }

  body::after {
    background:
      repeating-linear-gradient(104deg, transparent 0 18px, rgba(5, 5, 5, 0.12) 18px 20px, transparent 20px 56px),
      repeating-linear-gradient(76deg, transparent 0 42px, rgba(5, 5, 5, 0.08) 42px 43px, transparent 43px 92px);
    -webkit-mask-image: linear-gradient(90deg, #000 0 calc(50% - 370px), transparent calc(50% - 286px) calc(50% + 286px), #000 calc(50% + 370px) 100%);
    mask-image: linear-gradient(90deg, #000 0 calc(50% - 370px), transparent calc(50% - 286px) calc(50% + 286px), #000 calc(50% + 370px) 100%);
    opacity: 0.24;
    animation: echo-rake 20s linear infinite;
  }

  .poster {
    width: min(100% - 28px, 520px);
    grid-template-rows: auto minmax(540px, 1fr) auto auto;
    gap: 18px;
    padding-top: 14px;
  }

  .poster-top {
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin: 0;
    width: 100%;
  }

  .poster-top p:nth-child(2) {
    text-align: right;
  }

  .monument {
    min-height: 540px;
  }

  .sky-mark {
    top: 29%;
    left: 50%;
    width: 430px;
    height: 250px;
  }

  .sky-hole {
    width: 82%;
    height: 64px;
    box-shadow:
      40px 96px 0 var(--ink),
      -26px 192px 0 var(--ink);
  }

  .title-lockup {
    left: 0;
    bottom: 10%;
  }

  h1 {
    max-width: 260px;
    font-size: 52px;
  }

  .cover-stamp {
    right: 0;
    bottom: 19%;
    width: 124px;
  }

  .versions {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
  }

  .version-list {
    gap: 14px;
  }

  .poster-foot {
    justify-content: flex-start;
    gap: 14px;
  }
}

@keyframes echo-slabs {
  0% {
    transform: translate3d(0, -2.2vh, 0) skewY(0deg);
    opacity: 0.11;
  }

  48% {
    opacity: 0.2;
  }

  100% {
    transform: translate3d(0, 2.6vh, 0) skewY(-0.8deg);
    opacity: 0.15;
  }
}

@keyframes echo-rake {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: 260px -180px, -180px 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}

.poster {
  grid-template-rows: auto auto auto auto auto;
}

.release {
  position: relative;
  min-height: 276px;
  isolation: isolate;
}

.title-lockup {
  left: 0;
  top: 6px;
  bottom: auto;
}

.cover-stamp {
  right: 0;
  top: 40px;
  bottom: auto;
}

.monument {
  min-height: 235px;
  display: block;
  margin-top: 10px;
}

.sky-mark {
  left: 50%;
  top: 50%;
  width: 430px;
  height: 250px;
}

.sky-hole {
  height: 64px;
  box-shadow:
    40px 96px 0 var(--ink),
    -26px 192px 0 var(--ink);
}

@media (min-width: 761px) {
  .poster {
    min-height: 100svh;
    grid-template-rows: auto auto auto auto auto;
    gap: 20px;
  }

  .release {
    min-height: 304px;
  }

  .title-lockup {
    top: 8px;
  }

  h1 {
    max-width: 260px;
    font-size: 52px;
  }

  .cover-stamp {
    top: 42px;
    width: 124px;
  }

  .monument {
    min-height: 252px;
  }

  .sky-mark {
    left: 50%;
    top: 50%;
    width: 430px;
    height: 250px;
  }

  .sky-hole {
    height: 64px;
    box-shadow:
      40px 96px 0 var(--ink),
      -26px 192px 0 var(--ink);
  }
}

@media (max-width: 760px) {
  .poster {
    min-height: 100svh;
    grid-template-rows: auto auto auto auto auto;
    gap: 12px;
  }

  .release {
    min-height: 252px;
  }

  h1 {
    max-width: 214px;
    font-size: 38px;
  }

  .cover-stamp {
    top: 42px;
    width: 98px;
  }

  .versions {
    gap: 12px;
  }

  h2 {
    font-size: 13px;
  }

  .version span,
  .version small,
  .poster-foot a {
    font-size: 10px;
  }

  .monument {
    min-height: 270px;
  }

  .sky-mark {
    left: 50%;
    top: 50%;
    width: min(94vw, 360px);
    height: 210px;
  }

  .sky-hole {
    height: 56px;
    box-shadow:
      34px 82px 0 var(--ink),
      -22px 164px 0 var(--ink);
  }
}

@media (max-width: 760px) and (max-height: 740px) {
  .release {
    min-height: 236px;
  }

  h1 {
    font-size: 35px;
  }

  .cover-stamp {
    width: 90px;
  }

  .monument {
    min-height: 238px;
  }

  .sky-mark {
    width: min(88vw, 320px);
    height: 186px;
  }

  .sky-hole {
    height: 50px;
    box-shadow:
      30px 72px 0 var(--ink),
      -20px 144px 0 var(--ink);
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 31px;
  }

  .cover-stamp {
    top: 80px;
    width: 78px;
  }
}
