.youth {
  isolation: isolate;
  overflow: hidden;
  background: #253435;
  color: #f6ecd8;
}
.youth canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.youth-copy {
  position: absolute;
  left: 6%;
  bottom: max(19%, 104px);
  width: 36%;
  pointer-events: none;
}
.youth-copy small,
.youth-source {
  font: 600 clamp(10px, 0.83vw, 14px) / 1.35 var(--f-mono);
  letter-spacing: 0.08em;
}
.youth-copy small {
  color: #f5c897;
}
.youth-copy h2 {
  font: 700 clamp(38px, 5.2vw, 96px) / 0.97 var(--f-title);
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0.18em 0 0.16em;
}
.youth-copy p {
  font:
    italic clamp(17px, 1.65vw, 29px) / 1.3 var(--f-serif, Georgia),
    serif;
  max-width: 35ch;
  margin: 0.45em 0 0;
}
.youth-copy p em {
  color: #ffd197;
  font-style: inherit;
  text-decoration: underline;
  text-decoration-color: #d99a6390;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}
.youth-copy p:empty,
.youth-copy [hidden] {
  display: none;
}
.youth-copy .btn {
  pointer-events: auto;
  margin-top: 1em;
}
.youth[data-plate="press"] .youth-copy h2 { min-height: 1em; }
.youth[data-plate="press"] .youth-copy p { display: block; min-height: 1.3em; }
.youth-source {
  position: absolute;
  top: 12%;
  right: 5%;
  color: #fff6e3;
  padding: 0.36em 0.58em;
  background: #15221ee8;
  border-inline-end: 1px solid #c1a67e95;
  text-align: right;
  max-width: 60%;
}
.youth[data-plate="film"] h2,
.youth[data-plate="wedding"] h2,
.youth[data-plate="register"] h2 {
  font:
    italic clamp(32px, 3.9vw, 67px) / 1.06 Georgia,
    serif;
}
@media (max-width: 759px), (max-aspect-ratio: 28/25) {
  .youth-copy {
    left: 7%;
    bottom: max(17%, 90px);
    width: 85%;
  }
  .youth-copy h2 {
    font-size: clamp(32px, 9vw, 68px);
  }
  .youth-copy p {
    font-size: clamp(16px, 4.25vw, 25px);
  }
  .youth-source {
    font-size: 9px;
    max-width: 86%;
    top: 13%;
  }
  .youth[data-plate="film"] h2,
  .youth[data-plate="wedding"] h2,
  .youth[data-plate="register"] h2 {
    font-size: clamp(26px, 7vw, 48px);
  }
}
@media (max-height: 500px) and (min-aspect-ratio: 3/2) {
  .youth-copy {
    bottom: 20%;
    width: 42%;
  }
  .youth-copy h2 {
    font-size: clamp(25px, 6vh, 38px);
  }
  .youth-copy p {
    font-size: 15px;
  }
}
@media (max-height: 659px) and (max-aspect-ratio: 28/25) {
  .youth-copy {
    bottom: max(15.5%, 88px);
    width: 88%;
  }
  .youth-copy h2 {
    font-size: clamp(26px, 7vw, 34px);
  }
  .youth-source {
    top: 10%;
  }
}
.youth-copy.is-quoting h2 { display: none; }
.youth .youth-copy.is-quoting p {
  margin: .65em 0 0;
  padding-left: .7em;
  border-left: 2px solid #e9b27d;
  font: italic clamp(21px, 2.1vw, 37px) / 1.23 Georgia, serif;
  color: #fff1d8;
}
@media (max-width: 759px), (max-height: 500px) {
  .youth .youth-copy.is-quoting p { font-size: clamp(17px, 4.6vw, 23px); }
}

@media (max-height: 659px) and (max-aspect-ratio: 28/25) {
  .youth[data-plate="keys"] .youth-copy {
    bottom: max(17%, 90px);
  }
}
@media (max-height: 500px) and (min-aspect-ratio: 3/2) {
  .youth[data-plate="keys"] .youth-copy {
    bottom: max(24%, 86px);
    width: 35%;
  }
  .youth[data-plate="keys"] .youth-copy p {
    font-size: clamp(13px, 1.85vw, 16px);
    line-height: 1.25;
  }
  .youth[data-plate="keys"] .youth-source {
    top: 13%;
    font-size: 9px;
  }
}

@media (max-height: 500px) and (min-aspect-ratio: 3/2) {
  .youth-copy {
    width: 37%;
    bottom: max(20%, 88px);
  }
  .youth .youth-copy.is-quoting p {
    font-size: clamp(15px, 4.3vh, 20px);
    line-height: 1.2;
  }
}
