:root {
  --paper: #e8e0d2;
  --paper-light: #f3ede4;
  --ink: #171711;
  --ink-soft: #37362f;
  --red: #8f201b;
  --scarlet: #ef3d22;
  --moss: #b8c68f;
  --line: rgba(23, 23, 17, 0.26);
  --pad: clamp(1rem, 2.65vw, 3.25rem);
  --header-h: 4.5rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

body,
button,
a {
  cursor: default;
}

a {
  color: inherit;
  text-decoration: none;
}

a[href],
button {
  cursor: pointer;
  touch-action: manipulation;
}

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

img,
video,
svg {
  display: block;
}

img,
video {
  max-width: 100%;
}

::selection {
  background: var(--red);
  color: var(--paper-light);
}

:focus-visible {
  outline: 2px solid #3267ff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  translate: 0 -200%;
  padding: 0.8rem 1rem;
  background: var(--ink);
  color: white;
  font-size: 0.75rem;
}

.skip-link:focus {
  translate: 0;
}

.page-progress {
  position: fixed;
  z-index: 101;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--scarlet);
  scale: 0 1;
  transform-origin: left;
  will-change: scale;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: var(--pad);
  right: var(--pad);
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 0.55rem 0.7rem 0.55rem 1rem;
  border: 1px solid rgba(23, 23, 17, 0.16);
  border-radius: 0.6rem;
  background: color-mix(in srgb, var(--paper-light) 83%, transparent);
  box-shadow: 0 0.75rem 2.5rem rgba(25, 21, 14, 0.07);
  backdrop-filter: blur(18px);
}

.logo {
  justify-self: start;
  display: inline-grid;
  grid-template-columns: 1.65rem auto auto;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo > span:first-child {
  width: 1.65rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-light);
}

.logo sup {
  align-self: start;
  color: var(--red);
  font-size: 0.48rem;
  font-weight: 500;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.7vw, 2.5rem);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.site-header nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.8rem 0;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0.55rem;
  height: 1px;
  background: currentColor;
  scale: 0 1;
  transform-origin: right;
  transition: scale 280ms var(--ease-out);
}

.site-header nav a:hover::after {
  scale: 1;
  transform-origin: left;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.motion-toggle,
.header-ticket {
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--ink);
  border-radius: 0.35rem;
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.motion-toggle {
  padding: 0 0.9rem;
  background: transparent;
}

.motion-toggle span {
  width: 0.45rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #3b8f48;
  box-shadow: 0 0 0 0.2rem rgba(59, 143, 72, 0.12);
  animation: status-pulse 1.8s ease-in-out infinite;
}

.motion-toggle[aria-pressed="true"] span {
  background: #77746b;
  box-shadow: none;
  animation: none;
}

.header-ticket {
  padding: 0 1rem;
  background: var(--ink);
  color: var(--paper-light);
  transition:
    background-color 220ms ease,
    color 220ms ease;
}

.header-ticket:hover {
  background: var(--scarlet);
  color: white;
}

@keyframes status-pulse {
  50% {
    opacity: 0.45;
    scale: 0.72;
  }
}

.hero {
  min-height: 100svh;
  padding: calc(var(--header-h) + 2.5rem) var(--pad) clamp(5rem, 9vw, 10rem);
  overflow: hidden;
}

.hero-index,
.section-tag {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1rem;
  font-size: 0.59rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-index p,
.section-tag p {
  margin: 0;
}

.hero-index p:nth-child(2) {
  text-align: center;
}

.hero-index p:last-child {
  text-align: right;
}

.open-status {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
}

.open-status i {
  width: 0.45rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #378c48;
}

.hero-word {
  position: relative;
  z-index: 2;
  margin: clamp(5rem, 9vw, 9rem) 0 0;
}

.hero h1 {
  display: flex;
  justify-content: space-between;
  gap: 0.2rem;
  margin: 0;
  font-size: clamp(5rem, 20.7vw, 24rem);
  line-height: 0.57;
  font-weight: 700;
  letter-spacing: -0.1em;
}

.hero h1 span {
  display: block;
}

.hero h1 span:nth-child(2) {
  translate: 0 13%;
}

.hero-season {
  position: absolute;
  top: 0;
  right: 34%;
  margin: 0;
  font-size: clamp(0.65rem, 0.9vw, 0.9rem);
  line-height: 1.15;
  font-weight: 700;
}

.hero-media {
  position: relative;
  z-index: 1;
  width: min(65rem, 67vw);
  height: clamp(24rem, 55vw, 49rem);
  margin: clamp(1rem, 3vw, 3rem) 7vw 0 auto;
  overflow: hidden;
  background: #222118;
}

.hero-media::after,
.current-film::after,
.atlas-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 28%),
    radial-gradient(circle at 50% 115%, transparent 40%, rgba(0, 0, 0, 0.28));
}

.hero-media video,
.current-film video,
.atlas-item video,
.atlas-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media video {
  scale: 1.025;
}

.hero-media figcaption,
.current-film figcaption,
.atlas-item figcaption,
.plan-card figcaption {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.8rem;
  color: white;
  font-size: 0.53rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-statement {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(17rem, 0.65fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: end;
  margin-top: clamp(5rem, 9vw, 9rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.hero-lead {
  max-width: 64rem;
  margin: 0;
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 7.6rem);
  line-height: 0.87;
  letter-spacing: -0.065em;
}

.hero-statement > div > p {
  max-width: 28rem;
  margin: 0 0 2rem;
  font-size: clamp(0.95rem, 1.35vw, 1.3rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.arrow-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 0.61rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.arrow-link span {
  font-size: 1rem;
  transition: transform 250ms var(--ease-out);
}

.arrow-link:hover span {
  transform: translate(0.2rem, 0.2rem);
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--scarlet);
  color: #fff8ec;
}

.marquee > div {
  width: max-content;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: 0.75rem 0;
  animation: marquee 24s linear infinite;
}

.marquee span {
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.15vw, 2.25rem);
  font-style: italic;
}

.marquee i {
  font: inherit;
}

.motion-paused .marquee > div {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    translate: -50% 0;
  }
}

.position {
  padding: clamp(6rem, 12vw, 13rem) var(--pad);
  overflow: hidden;
}

.section-tag {
  grid-template-columns: 1fr 1fr;
}

.section-tag p:last-child {
  text-align: right;
}

.position > h2,
.program-top > h2,
.atlas-head h2,
.space-copy h2,
.visit h2 {
  margin: clamp(4rem, 8vw, 8rem) 0;
  font-size: clamp(4rem, 10.6vw, 11rem);
  line-height: 0.76;
  font-weight: 700;
  letter-spacing: -0.09em;
}

.position h2 em,
.atlas-head h2 em,
.space-copy h2 em,
.visit h2 em,
.current h2 em {
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-weight: 400;
}

.position h2 em {
  display: block;
  margin-left: 18vw;
}

.position-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.position-grid > p {
  max-width: 26rem;
  margin: 0;
  font-size: clamp(0.95rem, 1.25vw, 1.2rem);
  line-height: 1.42;
  letter-spacing: -0.02em;
}

.position-mark {
  justify-self: end;
  position: relative;
  width: min(19rem, 25vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.position-mark > span {
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(6rem, 12vw, 11rem);
  line-height: 1;
}

.position-mark svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--ink);
  stroke-width: 0.6;
  animation: seal-spin 28s linear infinite;
}

.position-mark text {
  fill: var(--ink);
  stroke: none;
  font: 9px Arial, sans-serif;
  letter-spacing: 2.1px;
}

.motion-paused .position-mark svg {
  animation-play-state: paused;
}

@keyframes seal-spin {
  to {
    rotate: 360deg;
  }
}

.current {
  padding: clamp(1rem, 2vw, 2rem) var(--pad) clamp(6rem, 11vw, 12rem);
  overflow: hidden;
  background: var(--red);
  color: #f3e8d9;
}

.current-head {
  padding: 1rem 0 clamp(4rem, 7vw, 8rem);
  border-bottom: 1px solid rgba(243, 232, 217, 0.35);
}

.current-title-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin: clamp(3rem, 6vw, 6rem) 0 -3vw;
}

.current h2 {
  margin: 0;
  font-size: clamp(4.5rem, 12.2vw, 13rem);
  line-height: 0.69;
  letter-spacing: -0.085em;
}

.current-title-wrap > p {
  min-width: 13rem;
  margin: 0 0 2vw;
  font-size: clamp(0.75rem, 1vw, 0.95rem);
  line-height: 1.35;
  text-transform: uppercase;
}

.current-film {
  position: relative;
  width: 78%;
  height: clamp(28rem, 58vw, 58rem);
  margin: 0 auto;
  overflow: hidden;
  background: #310b09;
}

.current-film video {
  filter: saturate(0.9) contrast(1.03);
}

.current-info {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 2rem;
  width: 67%;
  margin: clamp(3rem, 5vw, 5rem) 0 0 auto;
}

.current-number {
  margin: 0;
  font-size: clamp(5rem, 10vw, 10rem);
  line-height: 0.75;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.current-info > div > p {
  max-width: 50rem;
  margin: 0;
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.current-info dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: clamp(3rem, 5vw, 5rem) 0 2rem;
}

.current-info dl > div {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(243, 232, 217, 0.38);
}

.current-info dt {
  margin-bottom: 1rem;
  font-size: 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.current-info dd {
  margin: 0;
  font-size: clamp(0.8rem, 1vw, 1rem);
  line-height: 1.35;
}

.pill-link {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 0 1.2rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.61rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.pill-link:hover {
  background: #f3e8d9;
  color: var(--red);
}

.program {
  padding: clamp(6rem, 11vw, 12rem) var(--pad);
}

.program-top {
  display: grid;
  grid-template-columns: 0.7fr 1.55fr;
  gap: 2rem;
}

.program-top .section-tag {
  grid-template-columns: 1fr;
  align-content: start;
}

.program-top .section-tag p:last-child {
  margin-top: 0.65rem;
  text-align: left;
  color: #6c695f;
}

.program-top > h2 {
  margin: 0;
}

.program-filters {
  grid-column: 2;
  display: flex;
  gap: 0.5rem;
  margin: clamp(3rem, 5vw, 5rem) 0 1.25rem;
}

.program-filters button {
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.61rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.program-filters button span {
  margin-left: 0.5rem;
  color: #777368;
  font-size: 0.48rem;
}

.program-filters button.is-active {
  background: var(--ink);
  color: var(--paper-light);
}

.program-filters button.is-active span {
  color: #bbb6aa;
}

.schedule {
  border-top: 1px solid var(--ink);
}

.event-row {
  display: grid;
  grid-template-columns: 0.7fr 0.7fr 1.55fr 0.8fr 3rem;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 0 clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
  transition:
    background-color 220ms ease,
    padding 220ms ease;
}

.event-row:hover {
  padding-right: 1rem;
  padding-left: 1rem;
  background: var(--paper-light);
}

.event-row[hidden] {
  display: none;
}

.event-row p,
.event-row h3 {
  margin: 0;
}

.event-date,
.event-kind,
.event-row > p:nth-last-of-type(1) {
  font-size: clamp(0.62rem, 0.8vw, 0.78rem);
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.event-kind {
  color: #716e65;
}

.event-row h3 {
  max-width: 40rem;
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(2rem, 4.3vw, 4.75rem);
  line-height: 0.88;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.event-row > a {
  width: 3rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 1rem;
  transition:
    rotate 300ms var(--ease-out),
    background-color 180ms ease,
    color 180ms ease;
}

.event-row:hover > a {
  rotate: 45deg;
  background: var(--scarlet);
  color: white;
  border-color: var(--scarlet);
}

.atlas {
  padding: clamp(6rem, 11vw, 12rem) var(--pad);
  overflow: hidden;
  background: #26261f;
  color: var(--paper-light);
}

.atlas-head {
  display: grid;
  grid-template-columns: 0.7fr 1.55fr;
  gap: 2rem;
}

.atlas-head .section-tag {
  grid-template-columns: 1fr;
  align-content: start;
}

.atlas-head .section-tag p:last-child {
  margin-top: 0.65rem;
  text-align: left;
  color: #9c998e;
}

.atlas-head h2 {
  margin-top: 0;
}

.media-atlas {
  min-height: 150vw;
  position: relative;
  margin-top: clamp(2rem, 4vw, 4rem);
}

.atlas-item {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #0d0d0a;
}

.atlas-video-large {
  top: 0;
  left: 0;
  width: 58%;
  height: 47vw;
}

.atlas-image {
  top: 11vw;
  right: 0;
  width: 31%;
  height: 42vw;
}

.atlas-image img {
  filter: saturate(0.72) contrast(1.1);
}

.atlas-quote {
  position: absolute;
  top: 61vw;
  left: 11%;
  width: 56%;
  margin: 0;
}

.atlas-quote p {
  margin: 0;
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.atlas-quote cite {
  display: block;
  margin-top: 2rem;
  font-size: 0.6rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.atlas-video-tall {
  right: 5%;
  bottom: 0;
  width: 42%;
  height: 60vw;
}

.atlas-video-tall video {
  object-position: 56% center;
}

.space {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 9rem);
  padding: clamp(6rem, 11vw, 12rem) var(--pad);
}

.space-copy h2 {
  margin-right: -14vw;
  white-space: nowrap;
}

.space-copy > p {
  max-width: 35rem;
  margin: 0 0 4rem;
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.space-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 1.5rem;
  margin: 0;
}

.space-facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}

.space-facts dt,
.space-facts dd {
  margin: 0;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-card {
  position: relative;
  align-self: end;
  min-width: 0;
  margin: 12rem 0 0;
  overflow: hidden;
  background: #c7c2b5;
}

.plan-card img {
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.1);
}

.plan-card figcaption {
  color: var(--ink);
}

.visit {
  position: relative;
  min-height: 100svh;
  display: grid;
  overflow: hidden;
  color: white;
}

.visit-background,
.visit-shade,
.visit-content {
  grid-area: 1 / 1;
}

.visit-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.05;
}

.visit-shade {
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(8, 12, 8, 0.25), rgba(8, 12, 8, 0.72)),
    linear-gradient(to right, rgba(8, 12, 8, 0.25), transparent 60%);
}

.visit-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--pad);
}

.visit h2 {
  margin: auto 0;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr auto;
  gap: 1rem;
  align-items: end;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.visit-grid p,
.visit-grid strong {
  display: block;
  margin: 0;
}

.visit-grid p {
  margin-bottom: 1rem;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.visit-grid strong {
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(1rem, 1.7vw, 1.65rem);
  line-height: 1.08;
  font-weight: 400;
}

.route-link {
  width: clamp(6rem, 10vw, 9rem);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid white;
  border-radius: 50%;
  font-size: 0.6rem;
  text-transform: uppercase;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    rotate 400ms var(--ease-out);
}

.route-link span {
  align-self: flex-end;
  font-size: 1.2rem;
}

.route-link:hover {
  rotate: -8deg;
  background: white;
  color: var(--ink);
}

footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding: clamp(3rem, 6vw, 6rem) var(--pad) 1.5rem;
  background: var(--ink);
  color: var(--paper);
}

.footer-mark {
  font-size: clamp(4rem, 12vw, 12rem);
  line-height: 0.68;
  font-weight: 700;
  letter-spacing: -0.09em;
}

footer p {
  margin: 0;
  font-size: 0.59rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links {
  display: grid;
  gap: 0.1rem;
  font-size: 0.59rem;
  text-transform: uppercase;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(3.5rem) scale(0.985);
  transition:
    opacity 900ms var(--ease-out),
    transform 1100ms var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.motion-paused .reveal {
  transition-duration: 1ms;
}

@media (max-width: 980px) {
  :root {
    --header-h: 4rem;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .motion-toggle b {
    display: none;
  }

  .motion-toggle {
    width: 2.8rem;
    padding: 0;
  }

  .hero h1 {
    font-size: 20.2vw;
  }

  .hero-media {
    width: 78vw;
    height: 70vw;
    margin-right: 0;
  }

  .hero-statement {
    grid-template-columns: 1fr 0.65fr;
    gap: 3rem;
  }

  .position-grid {
    grid-template-columns: 1fr 1fr;
  }

  .position-mark {
    grid-column: 2;
    width: 18rem;
  }

  .current-film {
    width: 88%;
  }

  .current-info {
    width: 84%;
  }

  .event-row {
    grid-template-columns: 0.55fr 1.3fr 0.8fr 3rem;
  }

  .event-kind {
    display: none;
  }

  .space {
    grid-template-columns: 1fr;
  }

  .space-copy h2 {
    margin-right: 0;
  }

  .plan-card {
    margin-top: 0;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  .footer-mark {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --pad: 1rem;
  }

  .site-header {
    top: 0.45rem;
    gap: 0.5rem;
  }

  .logo {
    grid-template-columns: 1.65rem auto;
  }

  .logo sup {
    display: none;
  }

  .header-ticket {
    padding: 0 0.75rem;
    font-size: 0.54rem;
  }

  .hero {
    padding-top: calc(var(--header-h) + 1.5rem);
  }

  .hero-index {
    grid-template-columns: 1fr auto;
  }

  .hero-index p:nth-child(2) {
    display: none;
  }

  .hero h1 {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: normal;
    font-size: 33vw;
    line-height: 0.66;
  }

  .hero h1 span:nth-child(2) {
    justify-self: end;
    translate: 0;
  }

  .hero h1 span:last-child {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .hero-season {
    top: 35%;
    right: 0;
  }

  .hero-media {
    width: calc(100vw - 2rem);
    height: 120vw;
    margin-top: 2rem;
  }

  .hero-media figcaption span:last-child {
    display: none;
  }

  .hero-statement {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-lead {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .position > h2,
  .program-top > h2,
  .atlas-head h2,
  .space-copy h2,
  .visit h2 {
    font-size: clamp(3.8rem, 19vw, 7rem);
    line-height: 0.8;
  }

  .position h2 em {
    margin-left: 0;
  }

  .position-grid {
    grid-template-columns: 1fr;
  }

  .position-grid > p + p {
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
  }

  .position-mark {
    grid-column: 1;
    width: min(16rem, 75vw);
    margin-top: 3rem;
    overflow: hidden;
  }

  .current-title-wrap {
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
  }

  .current h2 {
    font-size: 18vw;
  }

  .current-title-wrap > p {
    margin: 0;
  }

  .current-film {
    width: 100%;
    height: 135vw;
  }

  .current-info {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .current-number {
    font-size: 5rem;
  }

  .current-info dl {
    grid-template-columns: 1fr;
  }

  .program-top,
  .atlas-head {
    grid-template-columns: 1fr;
  }

  .program-filters {
    grid-column: 1;
    overflow-x: auto;
    padding-bottom: 0.35rem;
  }

  .program-filters button {
    flex: 0 0 auto;
  }

  .event-row {
    grid-template-columns: 1fr 3rem;
    gap: 1.25rem;
  }

  .event-date,
  .event-row h3,
  .event-row > p:nth-last-of-type(1) {
    grid-column: 1;
  }

  .event-row > a {
    grid-column: 2;
    grid-row: 1;
  }

  .event-row h3 {
    font-size: 2.6rem;
  }

  .media-atlas {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .atlas-head > * {
    min-width: 0;
  }

  .atlas-head h2 {
    font-size: clamp(3.55rem, 16vw, 6.25rem);
  }

  .atlas-item,
  .atlas-quote {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .atlas-video-large {
    height: 112vw;
  }

  .atlas-image {
    width: 76%;
    height: 95vw;
    margin-left: auto;
  }

  .atlas-quote {
    padding: 6rem 0;
  }

  .atlas-quote p {
    font-size: 13vw;
  }

  .atlas-video-tall {
    width: 86%;
    height: 132vw;
  }

  .space-facts {
    grid-template-columns: 1fr;
  }

  .visit {
    min-height: 100svh;
  }

  .visit-background {
    scale: 1;
  }

  .visit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1rem;
  }

  .visit-grid > div:nth-child(3) {
    grid-column: 1;
  }

  .route-link {
    grid-column: 2;
    grid-row: 2 / span 2;
    justify-self: end;
    width: 7rem;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer > p:nth-of-type(1) {
    display: none;
  }
}
