:root {
  --ink: #0b0c0c;
  --ink-soft: #151717;
  --paper: #eeeadd;
  --muted: #92958e;
  --line: rgba(238, 234, 221, 0.2);
  --acid: #d6ff54;
  --album-yellow: #f2e951;
  --sans: "Helvetica Neue", "Arial Narrow", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --serif: "Iowan Old Style", "Times New Roman", serif;
  --album-type: Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  --pad: clamp(18px, 2.6vw, 46px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

button,
a {
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
}

a {
  text-decoration: none;
}

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

::selection {
  background: var(--acid);
  color: var(--ink);
}

:focus-visible {
  outline: 1px solid var(--acid);
  outline-offset: 5px;
}

.grain {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  animation: grain 0.18s steps(2) infinite;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(2%, 2%); }
  100% { transform: translate(-1%, -1%); }
}

.scroll-progress {
  position: fixed;
  z-index: 80;
  right: 0;
  top: 0;
  width: 3px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.06);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--acid);
}

.data-warning {
  position: fixed;
  z-index: 450;
  right: 20px;
  bottom: 20px;
  display: grid;
  max-width: min(560px, calc(100vw - 40px));
  gap: 8px;
  border: 1px solid #ff7777;
  padding: 16px 18px;
  background: #2b1111;
  color: #ffe7e1;
  font: 11px/1.55 var(--mono);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.data-warning[hidden] {
  display: none;
}

.data-warning strong {
  color: #ff7777;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.cursor {
  position: fixed;
  z-index: 300;
  top: -34px;
  left: -34px;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font: 9px/1 var(--mono);
  letter-spacing: 0.08em;
  pointer-events: none;
  transform: translate(-100px, -100px) scale(0);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cursor.is-active {
  transform: translate(0, 0) scale(1);
}

.loader {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  padding: var(--pad);
  background: var(--ink);
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.loader.is-done {
  transform: translateY(-100%);
  pointer-events: none;
}

.loader__top,
.loader__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: var(--muted);
  font: 10px/1.35 var(--mono);
  letter-spacing: 0.08em;
}

.loader__bottom {
  align-items: flex-end;
}

.loader__center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader__count {
  font-size: clamp(90px, 22vw, 380px);
  font-weight: 500;
  letter-spacing: -0.12em;
  line-height: 0.75;
}

.site-header {
  position: fixed;
  z-index: 70;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--pad);
  mix-blend-mode: difference;
  color: #fff;
  font: 10px/1 var(--mono);
  letter-spacing: 0.08em;
}

.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__slash {
  color: var(--acid);
}

.nav {
  display: flex;
  gap: clamp(18px, 3vw, 50px);
}

.nav a {
  position: relative;
}

.nav a::after {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-meta {
  display: flex;
  justify-self: end;
  gap: 17px;
}

.logout-link {
  color: var(--acid);
}

.menu-button {
  display: none;
}

.menu-panel {
  position: fixed;
  z-index: 250;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px var(--pad);
  background: var(--acid);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.25s ease;
}

.menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-panel__top,
  .menu-panel__bottom {
  display: flex;
  justify-content: space-between;
  font: 9px/1 var(--mono);
  letter-spacing: 0.06em;
}

.menu-panel__top button {
  cursor: pointer;
}

.menu-panel__links {
  display: flex;
  flex-direction: column;
}

.menu-panel__links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-bottom: 1px solid rgba(11, 12, 12, 0.28);
  padding: 15px 0 10px;
  font-size: clamp(62px, 18vw, 86px);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.menu-panel__links a span {
  font: 9px/1 var(--mono);
  letter-spacing: 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 94px var(--pad) 26px;
}

.hero::before {
  position: absolute;
  top: 0;
  left: 29%;
  width: 1px;
  height: 100%;
  background: var(--line);
  content: "";
}

.hero__eyebrow {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 11px;
  color: var(--muted);
  font: 9px/1 var(--mono);
  letter-spacing: 0.06em;
}

.hero__title {
  position: relative;
  z-index: 2;
  margin: clamp(70px, 11vh, 140px) 0 0;
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.72;
  text-transform: uppercase;
}

.title-line {
  display: block;
  width: max-content;
  opacity: 0;
  transform: translateY(110%);
  animation: title-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-line--one {
  animation-delay: 1.25s;
}

.title-line--two {
  animation-delay: 1.38s;
}

.title-line--three {
  display: flex;
  align-items: baseline;
  gap: 0.07em;
  animation-delay: 1.51s;
}

@keyframes title-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }

  .menu-panel__bottom a {
    color: var(--ink);
    text-decoration: underline;
  }
}

.hero__title {
  font-size: clamp(84px, min(17.2vw, 29vh), 270px);
}

.title-line--one {
  margin-left: 0.48em;
}

.title-line--two {
  z-index: 3;
  position: relative;
}

.title-line--three em {
  color: var(--acid);
  font-family: var(--serif);
  font-size: 0.72em;
  font-weight: 400;
  letter-spacing: -0.09em;
}

.title-light {
  position: relative;
  z-index: 2;
}

.hero__image {
  position: absolute;
  z-index: 1;
  top: 18%;
  right: 8%;
  width: clamp(230px, 28vw, 450px);
  height: clamp(370px, 56vh, 650px);
  overflow: hidden;
  border-radius: 1px;
  cursor: pointer;
  clip-path: inset(100% 0 0 0);
  animation: image-reveal 1.1s 1.55s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

@keyframes image-reveal {
  to { clip-path: inset(0 0 0 0); }
}

.hero__image img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  transform: translateY(-5%);
  transition: filter 0.5s ease;
}

.hero__image:hover img {
  filter: saturate(1.12) contrast(1.03);
}

.hero__image-index {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 7px;
  border-radius: 20px;
  background: rgba(11, 12, 12, 0.7);
  font: 8px/1 var(--mono);
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.hero__intro {
  position: absolute;
  z-index: 4;
  right: var(--pad);
  bottom: 13%;
  display: flex;
  max-width: 280px;
  align-items: flex-end;
  gap: 30px;
}

.hero__intro p {
  margin: 0;
  font-size: clamp(13px, 1.1vw, 17px);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.hero__intro-label {
  color: var(--muted);
  font: 8px/1.5 var(--mono);
  letter-spacing: 0.08em;
}

.hero__bottom {
  position: absolute;
  right: var(--pad);
  bottom: 26px;
  left: var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  color: var(--muted);
  font: 9px/1 var(--mono);
  letter-spacing: 0.07em;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
}

.scroll-cue i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  font-style: normal;
  transition: transform 0.35s ease, background 0.35s ease;
}

.scroll-cue:hover i {
  background: var(--acid);
  color: var(--ink);
  transform: translateY(4px);
}

.hero__coordinates {
  display: flex;
  gap: 18px;
}

.hero__count {
  justify-self: end;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 0 11px;
  background: var(--acid);
  color: var(--ink);
}

.ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 24px;
  font-size: clamp(22px, 3vw, 48px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  animation: ticker 24s linear infinite;
}

.ticker__track i {
  font-size: 0.45em;
  font-style: normal;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.section-shell {
  padding-right: var(--pad);
  padding-left: var(--pad);
}

.scenes {
  padding-top: clamp(100px, 14vw, 220px);
  padding-bottom: clamp(120px, 16vw, 240px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  margin-bottom: clamp(80px, 9vw, 145px);
}

.section-heading::after {
  content: "";
}

.section-kicker {
  margin: 0;
  color: var(--muted);
  font: 9px/1.4 var(--mono);
  letter-spacing: 0.08em;
}

.section-heading h2,
.film__header h2 {
  margin: 0;
  font-size: clamp(68px, 12vw, 192px);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.77;
  text-align: center;
}

.section-heading h2 span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.section-note {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.scene-list {
  border-bottom: 1px solid var(--line);
}

.scene-row {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 8% 1fr 18% 34px;
  align-items: center;
  gap: 14px;
  min-height: clamp(100px, 10vw, 156px);
  border-top: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
}

.scene-row::before {
  position: absolute;
  inset: 0;
  background: var(--paper);
  content: "";
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.48s cubic-bezier(0.76, 0, 0.24, 1);
}

.scene-row:hover::before {
  transform: scaleY(1);
}

.scene-row > span {
  position: relative;
  z-index: 1;
  transition: color 0.35s ease;
}

.scene-row:hover > span {
  color: var(--ink);
}

.scene-row__index {
  color: var(--muted);
  font: 10px/1 var(--mono);
}

.scene-row__title {
  font-size: clamp(28px, 4.7vw, 74px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1;
}

.scene-row__en {
  font-family: var(--serif);
  font-size: clamp(13px, 1.3vw, 20px);
  font-style: italic;
}

.scene-row__meta {
  color: var(--muted);
  font: 9px/1.3 var(--mono);
  letter-spacing: 0.05em;
}

.scene-row__arrow {
  font-size: 20px;
}

.hover-preview {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: clamp(180px, 22vw, 340px);
  aspect-ratio: 0.78;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86) rotate(-3deg);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-preview.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(-1.5deg);
}

.hover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film {
  position: relative;
  padding-top: clamp(90px, 10vw, 170px);
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.film::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: rgba(11, 12, 12, 0.12);
  content: "";
}

.film__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 70px;
}

.film__header h2 {
  margin-top: 20px;
  text-align: left;
}

.film__header p {
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
}

.film__controls {
  display: flex;
  justify-self: end;
  gap: 8px;
}

.round-button {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(11, 12, 12, 0.35);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.round-button:hover {
  background: var(--ink);
  color: var(--paper);
}

.filmstrip {
  display: flex;
  gap: clamp(18px, 2.2vw, 38px);
  align-items: flex-start;
  overflow-x: auto;
  padding: 0 max(var(--pad), calc((100vw - 1600px) / 2)) 34px;
  scroll-padding-left: var(--pad);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
}

.filmstrip::-webkit-scrollbar {
  display: none;
}

.filmstrip.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.film-card {
  flex: 0 0 auto;
  width: min(36vw, 520px);
  text-align: left;
  scroll-snap-align: start;
  cursor: pointer;
}

.film-card--small {
  width: min(27vw, 390px);
  margin-top: 100px;
}

.film-card--landscape {
  width: min(47vw, 710px);
  margin-top: 40px;
}

.film-card__visual {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #c9c4b7;
}

.film-card--small .film-card__visual {
  aspect-ratio: 3 / 4;
}

.film-card--landscape .film-card__visual {
  aspect-ratio: 4 / 3;
}

.film-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.film-card:hover img {
  filter: saturate(1.08);
  transform: scale(1.035);
}

.film-card__caption {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(11, 12, 12, 0.22);
  margin-top: 13px;
  font: 9px/1.4 var(--mono);
}

.film__foot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 25px;
  margin: 20px var(--pad) 0;
  font: 9px/1 var(--mono);
}

.film__line {
  display: block;
  height: 1px;
  background: rgba(11, 12, 12, 0.2);
}

.film__line i {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--ink);
  transition: width 0.1s linear;
}

.about {
  padding-top: clamp(130px, 16vw, 260px);
  padding-bottom: clamp(130px, 16vw, 250px);
}

.about__label {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
  font: 9px/1 var(--mono);
  letter-spacing: 0.07em;
}

.about__lead {
  margin: 0;
  font-size: clamp(42px, 6.6vw, 106px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1.03;
}

.about__lead::first-line {
  color: var(--muted);
}

.about__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(100px, 14vw, 210px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about__fact {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 28px 22px 0;
  border-right: 1px solid var(--line);
}

.about__fact + .about__fact {
  padding-left: 28px;
}

.about__fact:last-child {
  border-right: 0;
}

.about__fact strong {
  font-size: clamp(60px, 8vw, 124px);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.about__fact span {
  color: var(--muted);
  font: 9px/1 var(--mono);
}

.footer {
  position: relative;
  padding: clamp(80px, 10vw, 160px) var(--pad) 24px;
  border-top: 1px solid var(--line);
  background: #181919;
  color: var(--album-yellow);
  overflow: hidden;
}

.footer::before {
  position: absolute;
  inset: 0;
  background: url("./assets/window.jpg") center 55% / cover;
  content: "";
  filter: grayscale(1) contrast(1.18) brightness(0.55);
  opacity: 0.26;
  transform: scale(1.03);
}

.footer::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 13, 13, 0.42), rgba(12, 13, 13, 0.84));
  content: "";
}

.footer > * {
  position: relative;
  z-index: 1;
}

.footer__kicker {
  margin: 0 0 60px;
  color: rgba(238, 234, 221, 0.72);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.footer__title {
  display: block;
  width: max-content;
  max-width: 100%;
  color: var(--album-yellow);
  font-family: var(--album-type);
  font-size: clamp(90px, 17.5vw, 260px);
  font-stretch: condensed;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.78;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
  text-transform: lowercase;
}

.footer__title > span {
  display: block;
}

.footer__title-row {
  display: flex !important;
  width: max-content;
  gap: 32px;
  align-items: center;
  justify-content: flex-start;
}

.footer__title-row i {
  color: inherit;
  font: inherit;
}

.footer__circle {
  display: grid;
  width: clamp(74px, 11vw, 160px);
  height: clamp(74px, 11vw, 160px);
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.24em;
  letter-spacing: 0;
  transition: background 0.35s ease, color 0.35s ease, transform 0.45s ease;
}

.footer__title:hover .footer__circle {
  background: var(--album-yellow);
  color: var(--ink);
  transform: rotate(45deg);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
  border-top: 1px solid rgba(242, 233, 81, 0.32);
  padding-top: 12px;
  color: rgba(242, 233, 81, 0.78);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}

.footer__bottom button {
  cursor: pointer;
}

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ink);
  color: var(--paper);
}

.lightbox::backdrop {
  background: var(--ink);
}

.lightbox[open] {
  animation: lightbox-in 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightbox-in {
  from { opacity: 0; transform: translateY(3%); }
  to { opacity: 1; transform: translateY(0); }
}

.lightbox__top {
  display: flex;
  justify-content: space-between;
  padding: 22px var(--pad);
  border-bottom: 1px solid var(--line);
  font: 9px/1 var(--mono);
}

.lightbox__top button {
  cursor: pointer;
}

.lightbox__stage {
  position: relative;
  display: flex;
  min-height: calc(100vh - 56px);
  align-items: center;
  justify-content: center;
  gap: 3vw;
  padding: 3vh 2vw;
}

.lightbox figure {
  display: grid;
  width: min(72vw, 1120px);
  height: calc(100vh - 100px);
  grid-template-rows: 1fr auto;
  margin: 0;
}

.lightbox figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.lightbox figcaption {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  padding-top: 15px;
}

.lightbox figcaption span {
  color: var(--muted);
  font: 9px/1 var(--mono);
}

.lightbox figcaption h3 {
  margin: 8px 0 0;
  font-size: clamp(26px, 3vw, 48px);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.lightbox figcaption p {
  max-width: 440px;
  margin: 0;
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.lightbox__nav {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.lightbox__nav:hover {
  background: var(--acid);
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (pointer: coarse) {
  .cursor {
    display: none;
  }

  body,
  button,
  a {
    cursor: auto;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr 1fr;
  }

  .nav,
  .header-meta {
    display: none;
  }

  .menu-button {
    display: flex;
    flex-direction: column;
    justify-self: end;
    gap: 5px;
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 25px;
    height: 1px;
    background: currentColor;
  }

  .menu-panel {
    display: flex;
  }

  .hero {
    min-height: 930px;
  }

  .hero::before {
    left: 54%;
  }

  .hero__title {
    margin-top: 120px;
    font-size: clamp(80px, 22vw, 180px);
  }

  .title-line--one {
    margin-left: 0;
  }

  .title-line--two {
    margin-left: 0.24em;
  }

  .hero__image {
    top: 20%;
    right: 4%;
    width: 38vw;
    height: 41vh;
  }

  .hero__intro {
    right: var(--pad);
    bottom: 20%;
    left: auto;
  }

  .hero__coordinates {
    display: none;
  }

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

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

  .section-heading h2 {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 70px 0;
    text-align: left;
  }

  .section-note {
    grid-column: 2;
    grid-row: 1;
  }

  .scene-row {
    grid-template-columns: 9% 1fr 34px;
    min-height: 116px;
  }

  .scene-row__en,
  .scene-row__meta {
    display: none;
  }

  .hover-preview {
    display: none;
  }

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

  .film__header p {
    display: none;
  }

  .film-card {
    width: 70vw;
  }

  .film-card--small {
    width: 56vw;
    margin-top: 70px;
  }

  .film-card--landscape {
    width: 78vw;
  }

  .about__facts {
    margin-top: 90px;
  }

  .about__fact {
    min-height: 145px;
  }
}

@media (max-width: 600px) {
  .loader__top span:last-child,
  .loader__bottom span:last-child {
    display: none;
  }

  .hero {
    min-height: 850px;
    padding-top: 84px;
  }

  .hero__eyebrow span:nth-child(2) {
    display: none;
  }

  .hero__title {
    margin-top: 115px;
    font-size: 25.6vw;
    line-height: 0.76;
  }

  .title-line--two {
    margin-left: 0.08em;
  }

  .title-line--three {
    display: block;
  }

  .title-line--three em {
    margin-right: 0.05em;
  }

  .hero__image {
    top: 24%;
    right: 4%;
    width: 47vw;
    height: 34vh;
  }

  .hero__intro {
    bottom: 17%;
  }

  .hero__intro-label {
    display: none;
  }

  .hero__bottom {
    bottom: 20px;
  }

  .hero__count {
    font-size: 8px;
  }

  .ticker {
    padding-top: 10px;
    padding-bottom: 9px;
  }

  .section-heading h2 {
    font-size: 18vw;
  }

  .film__header h2 {
    font-size: 19vw;
  }

  .section-heading {
    display: block;
    margin-bottom: 85px;
  }

  .section-heading h2 {
    margin: 55px 0 35px;
  }

  .section-note {
    margin-left: auto;
  }

  .scene-row {
    grid-template-columns: 48px 1fr 24px;
    min-height: 98px;
    gap: 8px;
  }

  .scene-row__title {
    font-size: 9vw;
  }

  .film {
    padding-bottom: 50px;
  }

  .film__header {
    display: block;
    margin-bottom: 50px;
  }

  .film__header h2 {
    margin: 50px 0 30px;
  }

  .film__controls {
    justify-content: flex-start;
  }

  .round-button {
    width: 48px;
    height: 48px;
  }

  .film-card {
    width: 79vw;
  }

  .film-card--small {
    width: 66vw;
    margin-top: 50px;
  }

  .film-card--landscape {
    width: 87vw;
  }

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

  .about__fact,
  .about__fact + .about__fact {
    min-height: 120px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about__fact:last-child {
    border-bottom: 0;
  }

  .about__fact strong {
    font-size: 25vw;
  }

  .footer__title {
    font-size: 20vw;
  }

  .footer__title-row {
    align-items: flex-end;
  }

  .footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-top: 55px;
  }

  .footer__bottom span:nth-child(2) {
    display: none;
  }

  .lightbox__stage {
    gap: 0;
    padding: 12px;
  }

  .lightbox figure {
    width: calc(100vw - 24px);
    height: calc(100vh - 100px);
  }

  .lightbox__nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    bottom: auto;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
  }

  .lightbox__nav--prev {
    left: 8px;
  }

  .lightbox__nav--next {
    right: 8px;
  }

  .lightbox figcaption {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-right: 70px;
    padding-left: 8px;
  }

  .lightbox figcaption p {
    display: none;
  }
}

@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;
  }
}
