:root {
  --ink: #232220;
  --ink-soft: #3d3c39;
  --paper: #f2f0ec;
  --paper-cool: #d5dadf;
  --salmon: #df7c87;
  --salmon-deep: #c86772;
  --peach: #d99b7a;
  --gold: #b9a35e;
  --teal: #39716d;
  --line: rgba(35, 34, 32, 0.2);
  --content: min(1200px, calc(100vw - 48px));
  color-scheme: light;
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
  /* Blend the page scrollbar into the dark page instead of the OS default. */
  scrollbar-color: rgba(242, 240, 236, 0.28) var(--ink);
}

/* Safari ignores scrollbar-color; newer Chrome prefers it over these. */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: rgba(242, 240, 236, 0.28);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(242, 240, 236, 0.45);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--paper);
  background: var(--ink);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  color: var(--paper);
}

.domain-mark {
  display: inline-flex;
  align-items: baseline;
  min-height: 44px;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.domain-mark i {
  color: var(--salmon);
  font-family: Georgia, serif;
  font-size: 1.45em;
  font-style: normal;
  line-height: 0;
}

.header-date {
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 0.82fr);
  min-height: 100svh;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 120px 100%,
    var(--ink);
}

.hero-copy {
  align-self: center;
  width: min(620px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - 1200px) / 2));
  padding: 112px 0 72px;
}

.eyebrow {
  margin: 0 0 22px;
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.event-title {
  width: min(100%, 600px);
  margin: 0;
  transform: rotate(-1.2deg);
}

/* The intro hands focus here for screen readers. It isn't a control, and it's
   empty on screen, so the ring would just outline a blank tilted box. */
.event-title:focus {
  outline: none;
  box-shadow: none;
}

.event-title img {
  width: 100%;
  height: auto;
  clip-path: polygon(0.7% 3%, 99.5% 0, 98.8% 94%, 1.2% 100%);
  filter: saturate(1.03) contrast(1.02);
}

.hero-line {
  max-width: 520px;
  margin: 30px 0 32px;
  font-size: clamp(1.5rem, 2.7vw, 2.55rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

.hero-facts {
  display: flex;
  gap: clamp(18px, 2.4vw, 30px);
  margin: 0;
}

.hero-facts div {
  display: grid;
  align-content: start;
  gap: 3px;
}

.hero-facts dt {
  color: rgba(242, 240, 236, 0.56);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 750;
}

.hero-facts dd small {
  display: block;
  color: rgba(242, 240, 236, 0.56);
  font-size: 0.74rem;
  font-weight: 500;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 25px 0 0;
  color: rgba(242, 240, 236, 0.66);
  font-size: 0.82rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--salmon);
  box-shadow: 0 0 0 4px rgba(223, 124, 135, 0.12);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  gap: 13px;
  color: var(--ink);
  background: var(--salmon);
}

.button-primary:hover {
  background: #eb919b;
}

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-quiet {
  color: var(--paper);
  border-color: rgba(242, 240, 236, 0.32);
}

.button-quiet:hover {
  border-color: var(--paper);
}

.hero-art {
  display: grid;
  align-items: center;
  justify-items: start;
  min-width: 0;
  padding: 86px 24px 40px 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(213, 218, 223, 0.11), transparent 57%);
}

.poster-figure {
  width: min(100%, 630px);
  margin: 0;
}

.poster-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 4266 / 5432;
  overflow: hidden;
  background: var(--paper-cool);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.45),
    0 4px 14px rgba(0, 0, 0, 0.35);
  transform: rotate(1.5deg);
  transform-origin: center;
}

.poster-shell picture,
.poster-shell img {
  width: 100%;
  height: 100%;
}

.poster-shell img {
  object-fit: contain;
}

.poster-shell.poster-enter {
  animation: poster-enter 560ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes poster-enter {
  from {
    opacity: 0.65;
    transform: translateY(2px) rotate(1.5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(1.5deg);
  }
}

.poster-overlays {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.eyelid {
  --lid-edge: var(--ink-soft);
  --lid-fill: #e4e5e3;
  position: absolute;
  z-index: 2;
  top: calc(var(--y) * 1%);
  left: calc(var(--x) * 1%);
  width: calc(var(--w) * 1%);
  height: calc(var(--h) * 1%);
  pointer-events: none;
  opacity: 0;
  border-bottom: max(1px, 0.12vw) solid var(--lid-edge);
  border-radius: 48% 52% 50% 50%;
  background: var(--lid-fill);
  rotate: calc(var(--r) * 1deg);
  transform: scaleY(0.05);
  transition:
    transform 105ms ease-in,
    opacity 45ms linear;
  transform-origin: center;
}

.eyelid-tone-salmon {
  --lid-fill: #e47c8a;
}

.eyelid-tone-paper {
  --lid-fill: #e4e5e3;
}

.eyelid.is-blinking {
  opacity: 0.98;
  transform: scaleY(1);
}

.eye-twinkle {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.twinkle-point {
  position: absolute;
  display: block;
  top: calc(var(--y) * 1%);
  left: calc(var(--x) * 1%);
  width: calc(var(--w) * 1%);
  height: calc(var(--h) * 1%);
  opacity: 0;
  background: #fff;
  clip-path: polygon(
    50% 0,
    61% 39%,
    100% 50%,
    61% 61%,
    50% 100%,
    39% 61%,
    0 50%,
    39% 39%
  );
  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 7px rgba(225, 248, 255, 0.82));
  transform-origin: center;
  will-change: opacity, transform;
  transform: translate(
      calc(var(--from-x) * 1px),
      calc(var(--from-y) * 1px)
    )
    scale(0)
    rotate(-22deg);
}

.eye-twinkle.is-twinkling .eye-twinkle-set.is-active .twinkle-point {
  animation: eye-twinkle 1350ms var(--twinkle-delay) cubic-bezier(0.2, 0.72, 0.3, 1) both;
}

@keyframes eye-twinkle {
  0% {
    opacity: 0;
    transform: translate(
        calc(var(--from-x) * 1px),
      calc(var(--from-y) * 1px)
    )
      scale(0.25)
      rotate(-22deg);
  }
  20% {
    opacity: 1;
    transform: translate(0, 0) scale(2.8) rotate(0);
  }
  38% {
    opacity: 0.72;
    transform: translate(0, 0) scale(1) rotate(8deg);
  }
  58% {
    opacity: 1;
    transform: translate(0, 0) scale(2.2) rotate(18deg);
  }
  76% {
    opacity: 0.65;
    transform: translate(0, 0) scale(0.9) rotate(24deg);
  }
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.3) rotate(32deg);
  }
}

.poster-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 15px;
  color: rgba(242, 240, 236, 0.56);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.motion-toggle {
  display: none;
  min-width: 98px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(242, 240, 236, 0.24);
  color: var(--paper);
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.js-ready .motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.motion-toggle:hover {
  border-color: rgba(242, 240, 236, 0.7);
}

.motion-toggle[aria-disabled="true"] {
  cursor: default;
  opacity: 0.52;
}

.premise {
  position: relative;
  /* Extra bottom padding clears the sprocket strip along the bottom edge. */
  padding: 120px max(24px, calc((100vw - 1200px) / 2)) 120px;
  background: var(--paper);
}

.film-edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  border-top: 8px solid var(--ink);
  border-bottom: 8px solid var(--ink);
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 18px,
    transparent 18px 48px
  );
}

.film-edge-bottom {
  top: auto;
  bottom: 0;
}

.premise-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 60px;
  align-items: start;
}

.premise h2,
.closing h2 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.84;
}

/* Larger than the closing headline. Lines about as long as "Never scene"
   fit the column beside the copy at every size. */
.premise h2 {
  font-size: clamp(3.6rem, 8.8vw, 8.2rem);
}

.premise-copy {
  max-width: 480px;
  padding-bottom: 4px;
}

.premise-copy p {
  margin: 0;
}

.premise-copy p + p {
  margin-top: 24px;
  color: rgba(35, 34, 32, 0.67);
  font-size: 0.98rem;
}

.premise-copy .lead {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

/* Each item carries its dot in front. The list is pulled left by one dot plus
   gap and that strip is clipped, so whichever item starts a line hides its dot
   and no line starts or ends on a separator, however it wraps. */
.format-line {
  --sep: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sep);
  margin-top: 64px;
  margin-bottom: 0;
  margin-left: calc(-5px - var(--sep));
  padding-left: 0;
  clip-path: inset(0 0 0 calc(5px + var(--sep)));
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  list-style: none;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.format-line li {
  display: inline-flex;
  align-items: center;
  gap: var(--sep);
}

.format-line li::before {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--salmon-deep);
  content: "";
}

.submit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 28px;
}

.submit-actions small {
  color: rgba(35, 34, 32, 0.56);
  font-size: 0.74rem;
}

.closing {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 82svh;
  overflow: hidden;
  padding: 100px 24px;
  color: var(--ink);
  background: var(--salmon);
}

.closing-copy {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  text-align: center;
}

.closing h2 {
  /* Room for descenders; the tight line-height otherwise clips "y" into the copy. */
  padding-bottom: 0.1em;
  font-size: clamp(4.2rem, 10vw, 9.5rem);
}

.closing-copy > p {
  max-width: 520px;
  margin: 35px auto 30px;
  font-size: 1.05rem;
}

.button-ink {
  gap: 13px;
  color: var(--paper);
  background: var(--ink);
}

.button-ink:hover {
  background: var(--ink-soft);
}

/* The poster's top-left eye, traced to its ink lines and drawn as a faint
   tint so it sits behind the headline like a watermark. */
.closing-eye {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, 92vw);
  aspect-ratio: 1322 / 1286;
  background: rgba(35, 34, 32, 0.13);
  -webkit-mask: url("/assets/closing-eye.webp") center / contain no-repeat;
  mask: url("/assets/closing-eye.webp") center / contain no-repeat;
  transform: translate(-50%, -50%) rotate(-5deg);
  pointer-events: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 38px;
  padding: 28px max(24px, calc((100vw - 1200px) / 2));
  color: rgba(242, 240, 236, 0.56);
  background: var(--ink);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.domain-mark-footer {
  color: var(--paper);
  font-family: "Aptos", "Segoe UI", sans-serif;
  font-size: 2rem;
  text-transform: none;
}

@media (max-width: 960px) {
  :root {
    --content: calc(100vw - 40px);
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.75fr);
  }

  .hero-copy {
    width: calc(100% - 32px);
    margin-left: 24px;
  }

  .hero-art {
    padding-right: 16px;
  }

  .premise-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .premise-copy {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    padding: 0 16px;
    color: var(--paper);
    background: var(--ink);
    mix-blend-mode: normal;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .hero-copy {
    order: 1;
    width: 100%;
    margin: 0;
    padding: 100px 16px 44px;
  }

  .event-title {
    width: 100%;
  }

  .hero-line {
    margin-top: 25px;
    font-size: clamp(1.55rem, 8vw, 2.3rem);
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 25px;
  }

  .status-line {
    align-items: flex-start;
  }

  .status-dot {
    flex: 0 0 auto;
    margin-top: 7px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    min-height: 52px;
  }

  .hero-art {
    order: 2;
    display: block;
    padding: 0 16px 46px;
  }

  .poster-figure {
    width: 100%;
  }

  .poster-shell {
    transform: none;
  }

  .poster-shell.poster-enter {
    animation-name: poster-enter-mobile;
  }

  @keyframes poster-enter-mobile {
    from {
      opacity: 0.65;
      transform: translateY(2px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .poster-figure figcaption {
    margin-top: 12px;
  }

  .premise {
    padding: 92px 20px 92px;
  }

  .premise h2 {
    font-size: clamp(3rem, 15vw, 5.6rem);
  }

  .format-line {
    --sep: 11px;
    margin-top: 52px;
  }

  .closing {
    min-height: 76svh;
    padding: 88px 20px;
  }

  .closing h2 {
    font-size: clamp(3.8rem, 17vw, 6.5rem);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 32px 20px;
  }
}

/* The inline row needs about 990px. Below that it would wrap and hide the
   dot that starts each new line, so switch to a list with a dot on every item. */
@media (max-width: 999px) {
  .format-line {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
    align-items: start;
    gap: 12px 24px;
    margin-left: 0;
    clip-path: none;
    line-height: 1.4;
  }

  .format-line li {
    align-items: flex-start;
    gap: 10px;
  }

  /* Centers the dot on the first line when an item wraps. */
  .format-line li::before {
    margin-top: calc(0.7em - 2.5px);
  }
}

@media (max-width: 760px) {
  .format-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

.poster-page {
  min-height: 100svh;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px) 0 0 / 120px 100%,
    var(--ink);
}

.poster-page-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 68px;
  padding: 0 24px;
  pointer-events: none;
}

.poster-page-header a,
.poster-page-header time {
  pointer-events: auto;
}

.poster-page-header time {
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.poster-stage {
  display: grid;
  width: 100%;
  min-height: 100svh;
  place-items: center;
  padding: 20px 24px;
}

.poster-only-figure {
  height: min(calc(100svh - 40px), 1080px);
  margin: 0;
  aspect-ratio: 4266 / 5432;
}

.poster-page .poster-shell {
  width: auto;
  height: 100%;
  transform: none;
}

.poster-page .poster-shell.poster-enter {
  animation: poster-page-enter 620ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes poster-page-enter {
  from {
    opacity: 0.7;
    transform: translateY(3px) scale(0.994);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 760px) {
  .poster-page-header {
    min-height: 58px;
    padding: 0 12px;
  }

  .poster-stage {
    align-items: center;
    padding: 58px 12px 12px;
  }

  .poster-only-figure {
    width: min(100%, calc((100svh - 70px) * 0.785));
    height: auto;
  }

  .poster-page .poster-shell {
    width: 100%;
    height: auto;
  }

}
