.legal-curtain,
html.legal-transition-arrival::before {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: #500D02;
}
html.legal-transition-arrival::before { content: ''; }
.legal-curtain {
  display: grid;
  place-items: center;
  padding: 32px;
  color: #fff9f5;
  pointer-events: all;
  will-change: transform;
  overflow: hidden;
}
.legal-curtain::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: #500D02;
}
.legal-curtain__label { display: flex; flex-direction: column; align-items: center; width: 100%; gap: 22px; text-align: center; }
.legal-curtain__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(48px, 9vw, 164px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.04em;
  max-width: min(18ch, 100%);
  overflow-wrap: break-word;
  text-wrap: balance;
}
body.legal-transition-running { cursor: progress; }
@media (prefers-reduced-motion: reduce) {
  html.legal-transition-arrival::before { display: none; }
}

@media (max-width: 600px) {
  .legal-curtain { padding: 24px; }
  .legal-curtain__title { font-size: clamp(42px, 11.5vw, 68px); }
}
