/* The heading system: heavy expanded type, one red phrase, and the logo's arc beneath it. */
:root {
  --hl: #FF4A51;
  --arc-size: .17em;
  --arc-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath fill='%23FF4A51' d='M1 23C62 5 164-3 299 11 190 6 88 11 1 23Z'/%3E%3C/svg%3E");
  --arc-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath fill='%23FFFFFF' d='M1 23C62 5 164-3 299 11 190 6 88 11 1 23Z'/%3E%3C/svg%3E");
}
h1, h2, h3,
.act h1, .act h3, .beat h2, .beat h3, .close h2 { font-weight: 770; font-stretch: 125%; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--hl); }

.arc {
  display: inline-block; padding-bottom: .17em; margin-bottom: -.17em;
  background: var(--arc-red) left bottom / 100% var(--arc-size) no-repeat;
  transition: background-size .95s var(--ease) .3s;
}
.act h1, .act h3, .beat h2, .film h2, .close h2 { line-height: 1.06; }
.close h2 em { color: var(--white); }
.close .arc { background-image: var(--arc-white); }
.act h1 + .act__lede { margin-top: 1.85rem; }

.motion-armed [data-split]:not(.in) .arc,
.js-pin .act:not(.is-on) .arc,
.js-pin .beat:not(.is-on) .arc { background-size: 0 var(--arc-size); }

@media (min-width: 961px) and (min-height: 601px) {
  .act h1 { font-size: clamp(3rem, 5.6vw, 6rem); }
  .act h3 { font-size: clamp(3rem, 6vw, 6rem); }
  .beat h2 { font-size: clamp(2.2rem, 3.9vw, 4.25rem); }
  .beat h3 { font-size: clamp(2rem, 3.6vw, 3.6rem); }
  .film h2 { font-size: clamp(2.6rem, 5vw, 5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .arc { transition: none; }
}
