:root {
  color-scheme: dark;
  --bg: #050505;
  --ink: #f4f4f0;
  --muted: #aaa8a0;
  --line: rgba(255, 255, 255, 0.18);
  --line-strong: rgba(255, 255, 255, 0.38);
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.72);
  --serif: "Times New Roman", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 96px 96px,
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 34rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 50%, rgba(0, 0, 0, 0.03) 50%) 0 0 / 100% 4px,
    radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

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

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

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

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

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    repeating-radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, transparent 0 17px, rgba(255, 255, 255, 0.15) 18px, transparent 19px);
  mix-blend-mode: overlay;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 0%;
  height: 3px;
  background: var(--ink);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.95);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 13rem;
}

.brand-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 0.9rem;
  box-shadow: inset 0 0 0 3px #050505, 0 0 22px rgba(255, 255, 255, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  text-transform: uppercase;
}

.brand small {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 1vw, 0.8rem);
}

.site-nav a {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.7rem;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  border-color: var(--line);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(var(--ink), var(--ink)) 50% 35% / 1.25rem 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 50% 50% / 1.25rem 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 50% 65% / 1.25rem 1px no-repeat,
    var(--panel);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero picture,
.hero picture::after,
.hero picture::before {
  position: absolute;
  inset: 0;
}

.hero picture {
  z-index: -2;
}

.hero picture::before {
  content: "";
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72) 70%, #050505);
}

.hero picture::after {
  content: "";
  z-index: 2;
  border: clamp(0.55rem, 1vw, 0.9rem) solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.82) contrast(1.18) brightness(0.82);
  transform: scale(1.04);
}

.hero-copy {
  width: min(880px, calc(100% - 2rem));
  padding: 0 0 clamp(3rem, 10vh, 7rem) clamp(1rem, 6vw, 6rem);
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.film-copy h2,
.cinema-band h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 12vw, 10.5rem);
  line-height: 0.9;
  text-shadow: 0 0 32px rgba(255, 255, 255, 0.35);
}

.hero-copy p:not(.kicker) {
  width: min(46rem, 100%);
  margin: 1.25rem 0 0;
  color: #dedbd2;
  font-size: clamp(1rem, 1.65vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--line-strong);
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary {
  background: var(--ink);
  color: var(--bg);
}

.button.ghost {
  background: rgba(0, 0, 0, 0.22);
  color: var(--ink);
}

.deck-section,
.film-section,
.contact-section {
  width: min(1520px, calc(100% - clamp(1rem, 4vw, 4rem)));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.55fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-heading.centered {
  width: min(850px, 100%);
  display: block;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.cinema-band h2,
.contact-copy h2 {
  font-size: clamp(2.35rem, 6.5vw, 6rem);
  line-height: 0.95;
}

.section-heading p:not(.kicker),
.cinema-band p,
.copy-panel p,
.film-copy p:not(.kicker),
.contact-copy p {
  color: #d1cec6;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.65fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

.poster-panel,
.copy-panel,
.overview-strip figure,
.gallery-stage figure {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.poster-panel {
  margin: 0;
  overflow: hidden;
}

.poster-panel img,
.overview-strip img,
.image-marquee img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.82) contrast(1.1);
}

.poster-panel:hover img,
.overview-strip figure:hover img,
.image-marquee img:hover,
.gallery-stage figure[data-state="active"] img {
  filter: grayscale(0.12) contrast(1.08);
}

.copy-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.2rem, 3vw, 2.4rem);
}

.stats {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.stats div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.stats strong {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.stats span {
  color: var(--muted);
  text-align: right;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.overview-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.3rem);
  margin-top: clamp(1rem, 3vw, 2rem);
}

.overview-strip figure {
  min-height: 15rem;
  margin: 0;
  overflow: hidden;
}

.overview-strip.large figure {
  min-height: clamp(15rem, 24vw, 26rem);
}

.cinema-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.6fr);
  gap: 2rem;
  align-items: end;
  padding: clamp(1.2rem, 3vw, 2rem) 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.cinema-band h2 {
  font-size: clamp(2rem, 5.4vw, 4.8rem);
}

.image-marquee {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.3rem);
  margin-top: 1.3rem;
}

.image-marquee img {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.slate-intro {
  padding-bottom: 3rem;
}

.film-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(17rem, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  min-height: 92svh;
  border-top: 1px solid var(--line);
}

.film-section::before {
  content: attr(data-film);
  position: absolute;
  top: 1rem;
  right: 0;
  z-index: -1;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--serif);
  font-size: clamp(4rem, 16vw, 16rem);
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
}

.film-copy {
  position: relative;
  z-index: 2;
}

.film-copy::after {
  content: attr(data-tone);
  display: inline-flex;
  margin-top: 1.35rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.film-copy h2 {
  font-size: clamp(3rem, 8vw, 8.2rem);
  line-height: 0.88;
}

.gallery {
  position: relative;
  min-height: clamp(22rem, 48vw, 43rem);
  perspective: 1600px;
}

.gallery-stage {
  position: absolute;
  inset: 0 clamp(2.4rem, 5vw, 4.4rem);
  transform-style: preserve-3d;
}

.gallery-stage figure {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(76vw, 760px);
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.68);
  transition: transform 520ms ease, opacity 520ms ease, filter 520ms ease;
  cursor: zoom-in;
}

.gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.72) contrast(1.1);
}

.gallery-stage figure[data-state="active"] {
  z-index: 5;
  opacity: 1;
  transform: translate(-50%, -50%) translateZ(110px) scale(1);
}

.gallery-stage figure[data-state="prev"] {
  z-index: 4;
  opacity: 0.62;
  transform: translate(-86%, -50%) rotateY(28deg) translateZ(-110px) scale(0.77);
}

.gallery-stage figure[data-state="next"] {
  z-index: 4;
  opacity: 0.62;
  transform: translate(-14%, -50%) rotateY(-28deg) translateZ(-110px) scale(0.77);
}

.gallery-stage figure[data-state="far-prev"] {
  z-index: 2;
  opacity: 0.2;
  transform: translate(-106%, -50%) rotateY(38deg) translateZ(-260px) scale(0.62);
}

.gallery-stage figure[data-state="far-next"] {
  z-index: 2;
  opacity: 0.2;
  transform: translate(6%, -50%) rotateY(-38deg) translateZ(-260px) scale(0.62);
}

.gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: grid;
  width: clamp(2.6rem, 5vw, 4rem);
  height: clamp(2.6rem, 5vw, 4rem);
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.72);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-btn:hover,
.gallery-btn:focus-visible {
  background: var(--ink);
  color: var(--bg);
  outline: none;
}

.gallery-btn.prev {
  left: 0;
}

.gallery-btn.next {
  right: 0;
}

.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  width: min(100%, 34rem);
  transform: translateX(-50%);
}

.gallery-dots button {
  width: 2.2rem;
  height: 0.28rem;
  border: 0;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.gallery-dots button[aria-current="true"] {
  background: var(--ink);
}

.finale {
  border-top: 1px solid var(--line);
}

.contact-section {
  position: relative;
  display: grid;
  min-height: 82svh;
  align-items: center;
  overflow: hidden;
  width: 100%;
  padding-inline: clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}

.contact-section > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.78) contrast(1.1) brightness(0.72);
  z-index: -2;
}

.contact-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #050505 4%, rgba(5, 5, 5, 0.75) 46%, rgba(5, 5, 5, 0.16));
}

.contact-copy {
  width: min(670px, 100%);
}

.contact-copy .button {
  margin-top: 1.4rem;
}

.lightbox {
  width: min(94vw, 1320px);
  padding: 0;
  border: 1px solid var(--line-strong);
  background: #050505;
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(10px);
}

.lightbox img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.75);
  color: var(--ink);
  font-size: 2rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.tilt {
  transform-style: preserve-3d;
  transition: transform 220ms ease;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 0.75rem;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 5, 5, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .site-nav a {
    justify-content: flex-start;
    border-bottom: 1px solid var(--line);
  }

  .section-heading,
  .feature-grid,
  .cinema-band,
  .film-section {
    grid-template-columns: 1fr;
  }

  .film-section {
    min-height: auto;
    gap: 2rem;
  }

  .gallery {
    min-height: clamp(20rem, 68vw, 36rem);
  }

  .gallery-stage figure {
    width: min(82vw, 720px);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 0.7rem 0.85rem;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-copy {
    width: 100%;
    padding: 0 1rem 3rem;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13.4vw, 4.8rem);
    line-height: 0.96;
  }

  .deck-section,
  .film-section {
    width: min(100% - 1.25rem, 1520px);
    padding: 3.7rem 0;
  }

  .overview-strip,
  .image-marquee {
    grid-template-columns: 1fr;
  }

  .overview-strip figure {
    min-height: auto;
  }

  .gallery {
    min-height: 24rem;
    perspective: none;
  }

  .gallery-stage {
    inset: 0 0 3rem;
  }

  .gallery-stage figure {
    width: 100%;
    max-width: none;
    transform: translate(-50%, -50%) scale(0.95);
  }

  .gallery-stage figure[data-state="active"] {
    transform: translate(-50%, -50%) scale(1);
  }

  .gallery-stage figure[data-state="prev"],
  .gallery-stage figure[data-state="next"],
  .gallery-stage figure[data-state="far-prev"],
  .gallery-stage figure[data-state="far-next"] {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }

  .gallery-btn {
    top: auto;
    bottom: 0;
    transform: none;
  }

  .gallery-btn.prev {
    left: calc(50% - 4.7rem);
  }

  .gallery-btn.next {
    right: calc(50% - 4.7rem);
  }

  .gallery-dots {
    bottom: 3.3rem;
  }

  .contact-section {
    min-height: 74svh;
  }

  .contact-section::after {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.36), #050505 76%);
  }
}

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

  .hero-actions {
    display: grid;
  }

  .gallery {
    min-height: 19.5rem;
  }

  .gallery-dots button {
    width: 1.45rem;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
