:root {
  color-scheme: dark;
  --stage: #171716;
  --ink: #2d1c15;
  --terracotta: #e0a476;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--stage);
  font: 1rem/1.5 system-ui, sans-serif;
}

h1, p { margin: 0; }

.stage {
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.65rem, 7.5vw, 9rem);
  background:
    linear-gradient(0deg, #10100fd1, transparent 32%),
    url("duo-stage.webp") right center / cover no-repeat,
    var(--stage);
}

.poster {
  --art-tilt: -2.3deg;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  container-type: inline-size;
  width: min(72%, 61rem);
}

.artwork,
.announcement { grid-area: 1 / 1; }

.artwork {
  position: relative;
  width: 75%;
  aspect-ratio: 1.26;
  min-width: 0;
  transform: rotate(var(--art-tilt));
  background: #08090b;
  box-shadow: .35rem .5rem .65rem #080c08bd, 1.6rem 2.3rem 3.8rem #070b08ae;
}

.artwork::after {
  position: absolute;
  inset: .65rem;
  border: 1px solid #eeb17757;
  content: "";
  pointer-events: none;
}

.artwork img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.announcement {
  position: relative;
  z-index: 1;
  isolation: isolate;
  align-self: end;
  justify-self: end;
  width: 35%;
  margin-bottom: 4.5%;
  padding: clamp(1rem, 3.3cqw, 2.9rem);
  transform: rotate(2.4deg);
  color: var(--ink);
  border-end-end-radius: .35rem .85rem;
  background:
    radial-gradient(ellipse at 105% 103%, #ffc999a1, transparent 20%),
    repeating-linear-gradient(13deg, transparent 0 3px, #743d2c0c 4px, transparent 5px),
    linear-gradient(127deg, #ebbc93, var(--terracotta) 63%, #cb916b);
  box-shadow: .25rem .35rem .55rem #090a07a6, .95rem 1.2rem 2rem #090c08a3;
}

.announcement::after {
  position: absolute;
  inset: .48rem;
  border: 1px solid #743e2a65;
  content: "";
  pointer-events: none;
}

.recordings {
  font: 400 clamp(1.8rem, 5.8cqw, 3.65rem)/.97 Georgia, "Times New Roman", serif;
  letter-spacing: -.065em;
}

.recordings em { display: block; }

.identity {
  display: grid;
  gap: .13rem;
  margin-top: clamp(.75rem, 2.7cqw, 1.6rem);
  padding-top: .65rem;
  border-top: 1px solid #62352586;
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .065em;
  line-height: 1.42;
  text-transform: uppercase;
}

.identity span {
  color: #553123;
  font-weight: 600;
}

.tape {
  position: absolute;
  z-index: 2;
  width: clamp(4.4rem, 9vw, 7.5rem);
  height: clamp(1.25rem, 2.5vw, 2rem);
  background:
    repeating-linear-gradient(95deg, #fff0ce32 0 1px, transparent 1px 4px),
    #eec88fbc;
  clip-path: polygon(1% 5%, 100% 0, 98.5% 21%, 100% 42%, 98.6% 64%, 99.7% 96%,
    0 100%, 1.5% 75%, 0 53%, 2% 29%);
  pointer-events: none;
}

.tape-top {
  top: 0;
  left: -.65rem;
  transform: rotate(-21deg);
}

.tape-note {
  top: -.55rem;
  left: -.73rem;
  transform: rotate(-22deg);
}

@media (801px <= width <= 1050px) {
  .announcement { padding-inline: .8rem; }
  .identity { letter-spacing: .025em; }
}

@media (max-width: 800px), (max-aspect-ratio: 5/4) {
  .stage {
    --room-height: clamp(15.5rem, 37svh, 22rem);
    justify-items: center;
    padding-block: clamp(7.25rem, 22svh, 11rem) 2.75rem;
    background:
      linear-gradient(180deg, transparent 9rem, #17171635 13rem, var(--stage) var(--room-height)),
      url("duo-stage.webp") right top / max(100%, calc(var(--room-height) * 1.78)) auto no-repeat,
      var(--stage);
  }

  .poster {
    --art-tilt: -1.6deg;
    width: min(100%, 27rem);
  }

  .artwork {
    grid-area: auto;
    width: 100%;
    aspect-ratio: 1.14;
  }

  .announcement {
    grid-area: auto;
    width: min(89%, 21rem);
    margin: -1.05rem -.28rem 0 0;
    padding: 1.55rem clamp(1.25rem, 5.5vw, 1.9rem) 1.45rem;
  }

  .recordings { font-size: clamp(2.05rem, 8.8vw, 3.2rem); }

  .tape-top { top: -.14rem; }

  .tape-note {
    top: -.53rem;
    left: auto;
    right: -.35rem;
    transform: rotate(16deg);
  }
}
