:root {
  /* Ground: the wing-mural shadows. Never used as the conversion signal. */
  --ink: #171310;
  /* Paper: reading surfaces only. */
  --paper: #f2ecd9;
  /* Accent: brick from the hero wall. Identity and rules only. */
  --brick: #a74832;
  /* Action: sunset gold. Conversion controls only. */
  --action: #f4c447;
  --white: #fff;
  --muted: #b8ad9c;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: Arial, Helvetica, sans-serif;
  --voice: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
p,
figure {
  margin: 0;
}

body {
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  letter-spacing: 0;
}

img,
picture,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a,
button,
input {
  font: inherit;
  letter-spacing: 0;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--ink);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 16px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.poster-hero {
  position: relative;
  min-height: 560px;
  height: 92svh;
  max-height: 820px;
  overflow: hidden;
  border-bottom: 10px solid var(--ink);
  background: var(--paper);
  isolation: isolate;
}

.poster-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: 22px;
  background: var(--brick);
}

.poster-hero__kicker {
  position: absolute;
  top: 18px;
  left: 40px;
  z-index: 5;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.poster-hero__wings {
  position: absolute;
  top: 66px;
  right: 2.5%;
  z-index: 1;
  width: 88%;
  height: calc(100% - 198px);
  overflow: hidden;
  border: 4px solid var(--ink);
  background: var(--ink);
  transform: rotate(1.5deg);
  transform-origin: center;
}

.poster-hero__wings::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 19, 16, 0.05) 25%, rgba(23, 19, 16, 0.78) 100%);
  pointer-events: none;
}

.poster-hero__wings img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep Wendy and the right wing visible in the mobile crop. */
  object-position: 57% 59%;
}

.poster-hero__title {
  position: absolute;
  top: 82px;
  left: 34px;
  z-index: 3;
  color: var(--paper);
  font-family: var(--display);
  font-size: 64px;
  font-weight: 900;
  line-height: 0.78;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 var(--ink);
}

.poster-hero__title span {
  display: block;
}

.poster-hero__title span:last-child {
  color: var(--brick);
  font-size: 82px;
  -webkit-text-stroke: 2px var(--paper);
}

.poster-hero__stamp {
  display: none;
}

.poster-hero__copy {
  position: absolute;
  right: 18px;
  bottom: 22px;
  left: 40px;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.poster-hero__identity {
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--voice);
  font-size: 15px;
  font-style: italic;
  line-height: 1.35;
}

.conversion-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  width: min(100%, 310px);
  padding: 15px 32px 15px 18px;
  color: var(--ink);
  background: var(--action);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
  font-family: var(--display);
  font-size: 25px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 120ms ease, filter 120ms ease;
}

.conversion-link:active {
  transform: translate(2px, 2px);
}

.poster-hero__jump {
  display: none;
}

.movement {
  color: var(--paper);
  background: var(--ink);
}

.movement__heading,
.social-index__heading,
.poster-closer {
  padding: 64px 24px 44px;
}

.section-code {
  margin-bottom: 18px;
  color: var(--brick);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.movement h2,
.social-index h2,
.poster-closer h2 {
  max-width: 820px;
  font-family: var(--display);
  font-size: 52px;
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
}

.movement__scenes {
  display: grid;
  gap: 0;
}

.scene {
  position: relative;
  display: block;
  min-height: 560px;
  overflow: hidden;
  border-top: 4px solid var(--paper);
  color: var(--paper);
  background: var(--ink);
  text-decoration: none;
}

.scene picture,
.scene img {
  width: 100%;
  height: 100%;
}

.scene picture {
  position: absolute;
  inset: 0;
}

.scene img {
  object-fit: cover;
}

.scene--sunset img {
  /* Hold the horizon and Wendy together in the tall mobile scene. */
  object-position: 50% 52%;
}

.scene--event img {
  /* Keep the stadium signage as context without clipping Wendy. */
  object-position: 47% 48%;
}

.scene::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(180deg, rgba(23, 19, 16, 0), rgba(23, 19, 16, 0.9));
}

.scene__index {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-family: var(--display);
  font-size: 62px;
  line-height: 1;
  text-shadow: 2px 2px 0 var(--ink);
}

.scene__label {
  position: absolute;
  right: 20px;
  bottom: 22px;
  left: 20px;
  z-index: 2;
  display: grid;
  gap: 4px;
}

.scene__label strong {
  font-family: var(--display);
  font-size: 42px;
  line-height: 1;
  text-transform: uppercase;
}

.scene__label span {
  font-family: var(--voice);
  font-size: 16px;
  font-style: italic;
}

.social-index {
  color: var(--ink);
  background: var(--paper);
  border-top: 10px solid var(--brick);
}

.social-index__heading {
  display: grid;
  gap: 8px;
}

.voice-line {
  max-width: 30ch;
  font-family: var(--voice);
  font-size: 18px;
  font-style: italic;
}

.index-list {
  border-top: 3px solid var(--ink);
}

.index-row {
  display: grid;
  grid-template-columns: 42px 32px minmax(0, 1fr) 24px;
  align-items: center;
  min-height: 96px;
  padding: 12px 20px;
  border-bottom: 3px solid var(--ink);
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease;
}

.index-row__number {
  font-family: var(--display);
  font-size: 27px;
}

.index-row__glyph {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.index-row__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 0 12px;
}

.index-row__copy strong {
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-size: 25px;
  text-transform: uppercase;
}

.index-row__copy span {
  font-family: var(--voice);
  font-size: 14px;
  font-style: italic;
}

.index-row__arrow {
  font-family: var(--display);
  font-size: 28px;
}

.poster-closer {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--paper);
  background: var(--brick);
  border-top: 10px solid var(--ink);
}

.poster-closer .section-code {
  color: var(--paper);
}

.poster-closer h2 {
  max-width: 8ch;
  font-size: 70px;
}

.poster-closer > p:not(.section-code) {
  max-width: 31ch;
  margin: 22px 0 34px;
  font-family: var(--voice);
  font-size: 18px;
  font-style: italic;
  line-height: 1.5;
}

.conversion-link--closer {
  color: var(--ink);
}

.site-footer {
  display: grid;
  gap: 28px;
  padding: 36px 24px;
  color: var(--paper);
  background: var(--ink);
  border-top: 1px solid var(--muted);
}

.site-footer strong {
  font-family: var(--display);
  font-size: 25px;
  text-transform: uppercase;
}

.site-footer p {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--voice);
  font-size: 14px;
  font-style: italic;
}

.site-footer > a,
.site-footer button {
  min-height: 44px;
  color: var(--paper);
  background: transparent;
  border: 0;
  font-weight: 800;
}

.site-footer > a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.site-footer button {
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}

.confirm-page,
.depart-page,
.dialog-preview {
  min-height: 100svh;
  color: var(--paper);
  background: var(--ink);
}

.confirm-page,
.depart-page {
  display: grid;
  place-items: center;
  padding: 24px;
}

.confirm-room,
.depart-room {
  width: min(100%, 620px);
  padding: 34px 26px;
  color: var(--ink);
  background: var(--paper);
  border: 4px solid var(--brick);
  box-shadow: 14px 14px 0 var(--brick);
}

.confirm-room__code,
.depart-room > p:first-child {
  margin-bottom: 18px;
  color: var(--brick);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.confirm-room h1,
.confirm-dialog h2,
.depart-room h1 {
  font-family: var(--display);
  font-size: 50px;
  line-height: 0.96;
  text-transform: uppercase;
}

.confirm-room__intro,
.depart-room p {
  margin-top: 14px;
  font-family: var(--voice);
  font-size: 17px;
  line-height: 1.5;
}

.confirm-error {
  margin-top: 18px;
  padding: 12px;
  color: var(--white);
  background: var(--brick);
  font-weight: 800;
}

.confirm-form {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.confirm-choice {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 50px;
  cursor: pointer;
}

.confirm-choice input {
  appearance: none;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 3px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
}

.confirm-choice input:checked {
  background: var(--ink);
  box-shadow: inset 0 0 0 9px var(--paper);
}

.confirm-choice span {
  font-weight: 700;
  line-height: 1.45;
}

.confirm-form button,
.depart-room a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 18px;
  color: var(--ink);
  background: var(--action);
  border: 0;
  font-family: var(--display);
  font-size: 22px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.confirm-form > a {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.confirm-dialog {
  width: min(calc(100% - 28px), 620px);
  max-height: calc(100svh - 28px);
  padding: 0;
  overflow: visible;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.confirm-dialog::backdrop {
  background: rgba(23, 19, 16, 0.84);
}

.confirm-dialog__paper {
  position: relative;
  max-height: calc(100svh - 28px);
  padding: 34px 26px;
  overflow-y: auto;
  background: var(--paper);
  border: 4px solid var(--brick);
  box-shadow: 10px 10px 0 var(--brick);
}

.confirm-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: transparent;
  border: 3px solid var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.confirm-dialog .confirm-room__code {
  padding-right: 50px;
}

.depart-room a {
  margin-top: 28px;
}

@media (hover: hover) {
  .conversion-link:hover {
    filter: brightness(1.07);
    transform: translate(-2px, -2px);
  }

  .index-row:hover {
    color: var(--paper);
    background: var(--brick);
  }

  .scene:hover img {
    transform: scale(1.015);
  }

  .scene img {
    transition: transform 220ms ease;
  }
}

@media (min-width: 700px) {
  .poster-hero__title {
    font-size: 94px;
  }

  .poster-hero__title span:last-child {
    font-size: 122px;
  }

  .poster-hero__copy {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: end;
  }

  .movement__heading,
  .social-index__heading,
  .poster-closer {
    padding: 86px 7vw 58px;
  }

  .movement h2,
  .social-index h2 {
    font-size: 72px;
  }

  .index-row {
    grid-template-columns: 70px 40px minmax(0, 1fr) 40px;
    min-height: 120px;
    padding: 16px 7vw;
  }

  .index-row__copy strong {
    font-size: 36px;
  }

  .index-row__copy span {
    font-size: 16px;
  }

  .poster-closer h2 {
    font-size: 104px;
  }

  .site-footer {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    padding: 38px 7vw;
  }
}

@media (min-width: 900px) {
  .poster-hero {
    min-height: 700px;
    height: 88svh;
    max-height: 900px;
  }

  .poster-hero::before {
    width: 40px;
  }

  .poster-hero__kicker {
    top: 30px;
    left: 74px;
    font-size: 14px;
  }

  .poster-hero__wings {
    top: 38px;
    right: 9%;
    width: 46%;
    height: calc(100% - 76px);
    transform: rotate(1.2deg);
  }

  .poster-hero__title {
    top: 95px;
    left: 5vw;
    font-size: 132px;
    line-height: 0.76;
    color: var(--ink);
    text-shadow: none;
  }

  .poster-hero__title span:last-child {
    margin-left: 9vw;
    color: var(--brick);
    font-size: 176px;
    -webkit-text-stroke: 0;
  }

  .poster-hero__stamp {
    position: absolute;
    right: 4vw;
    bottom: 58px;
    z-index: 4;
    display: block;
    width: 180px;
    padding: 7px 7px 10px;
    background: var(--paper);
    border: 3px solid var(--ink);
    transform: rotate(3deg);
  }

  .poster-hero__stamp img {
    width: 100%;
    height: 160px;
    aspect-ratio: 1;
    object-fit: cover;
    /* Keep the close portrait centered inside the square stamp. */
    object-position: 50% 42%;
  }

  .poster-hero__stamp figcaption {
    padding-top: 8px;
    font-family: var(--voice);
    font-size: 13px;
    font-style: italic;
    text-align: center;
  }

  .poster-hero__copy {
    right: auto;
    bottom: 58px;
    left: 5vw;
    width: 360px;
    grid-template-columns: 1fr;
  }

  .poster-hero__identity {
    color: var(--ink);
    background: transparent;
    font-size: 19px;
  }

  .poster-hero__jump {
    position: absolute;
    bottom: 24px;
    left: 50%;
    z-index: 5;
    display: block;
    min-height: 44px;
    padding: 12px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateX(-50%);
  }

  .movement__scenes {
    grid-template-columns: 58fr 42fr;
    align-items: end;
    padding: 0 5vw 110px;
  }

  .scene {
    border: 4px solid var(--paper);
  }

  .scene--sunset {
    min-height: 760px;
  }

  .scene--event {
    min-height: 610px;
    margin-left: -12px;
    transform: translateY(48px) rotate(1deg);
  }

  .social-index__heading {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .social-index__heading .section-code {
    grid-column: 1 / -1;
  }

  .social-index__heading .voice-line {
    padding-bottom: 8px;
  }

  .poster-closer {
    min-height: 720px;
  }
}

@media (min-width: 1300px) {
  .poster-hero__title {
    font-size: 160px;
  }

  .poster-hero__title span:last-child {
    font-size: 214px;
  }

  .movement h2,
  .social-index h2 {
    font-size: 86px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .poster-hero__wings {
    animation: hero-wings-cut 560ms cubic-bezier(0.22, 0.8, 0.24, 1) both;
  }

  .poster-hero__title {
    animation: hero-type-cut 500ms 90ms cubic-bezier(0.22, 0.8, 0.24, 1) both;
  }

  .confirm-dialog[open] .confirm-dialog__paper {
    animation: dialog-paper-fold 180ms ease-out both;
  }
}

@keyframes hero-wings-cut {
  from { clip-path: inset(0 100% 0 0); transform: translateX(24px) rotate(1.5deg); }
  to { clip-path: inset(0 0 0 0); transform: translateX(0) rotate(1.5deg); }
}

@keyframes hero-type-cut {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes dialog-paper-fold {
  from { clip-path: inset(0 0 100% 0); transform: scale(0.98); }
  to { clip-path: inset(0 0 0 0); transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .conversion-link,
  .confirm-form button,
  .depart-room a {
    clip-path: none;
    border: 2px solid ButtonText;
  }

  .confirm-choice input {
    appearance: auto;
  }
}
