:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --panel: rgba(255, 255, 255, 0.74);
  --panel-strong: rgba(255, 255, 255, 0.88);
  --line: rgba(0, 0, 0, 0.12);
  --text: #121212;
  --muted: rgba(18, 18, 18, 0.72);
  --muted-soft: rgba(18, 18, 18, 0.48);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.1);
  --radius: 30px;
  --max-width: 1320px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 12%, rgba(0, 0, 0, 0.05), transparent 18%),
    radial-gradient(circle at 80% 10%, rgba(0, 0, 0, 0.04), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #f8f8f6 40%, #ffffff 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.cinema-body {
  position: relative;
}

.loader,
#cinema-canvas,
.cinema-noise,
.cinema-vignette,
.cinema-spotlight {
  position: fixed;
  inset: 0;
}

.loader {
  z-index: 200;
  display: grid;
  place-items: center;
  gap: 1rem;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 244, 1));
  transition: opacity 700ms ease, visibility 700ms ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.loader-line {
  width: min(26rem, calc(100% - 4rem));
  height: 2px;
  background: rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.loader-line span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), #111111, rgba(0, 0, 0, 0));
  transition: width 180ms linear;
}

.loader-copy {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

#cinema-canvas {
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.22;
}

.cinema-noise {
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image:
    linear-gradient(transparent 0%, rgba(0, 0, 0, 0.08) 49%, transparent 51%, transparent 100%),
    radial-gradient(circle at center, rgba(0, 0, 0, 0.14) 0.7px, transparent 0.8px);
  background-size: 100% 3px, 6px 6px;
}

.cinema-vignette {
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.04) 72%, rgba(0, 0, 0, 0.09) 100%);
}

.cinema-spotlight {
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at calc(50% + (var(--pointer-x, 0) * 8rem)) calc(22% + (var(--pointer-y, 0) * 4rem)), rgba(255, 255, 255, 0.22), transparent 24%),
    radial-gradient(circle at 78% 34%, rgba(255, 255, 255, 0.18), transparent 16%);
}

.film-header,
.film-footer,
.film-main {
  position: relative;
  z-index: 4;
}

.film-header {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.film-brand {
  display: grid;
  gap: 0.15rem;
}

.film-brand-mark {
  font-family: "Bodoni Moda", serif;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.film-brand-tag,
.scene-kicker,
.hero-meta span,
.manifesto-pills span,
.panel-label,
.detail-row span,
.orbit-label,
.scroll-cue span {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--muted-soft);
}

.film-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.film-nav a {
  color: var(--muted);
  transition: color 180ms ease, opacity 180ms ease;
}

.film-nav a:hover {
  color: var(--text);
}

.film-nav a.is-current {
  color: var(--text);
}

.film-button {
  min-height: 3.15rem;
  border-radius: 999px;
  padding: 0 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

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

.film-button-primary {
  background: #111111;
  color: #ffffff;
}

.film-button-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
  color: var(--text);
}

.film-main {
  padding-bottom: 5rem;
}

.scene {
  min-height: 160vh;
  position: relative;
  scroll-margin-top: 5.5rem;
}

.scene-hero {
  min-height: 190vh;
  --pointer-x: 0;
  --pointer-y: 0;
}

.scene-finale {
  min-height: 120vh;
}

.scene-static {
  min-height: auto;
}

.scene-static .sticky-stage {
  position: relative;
  min-height: auto;
  padding: 6rem 0;
}

.sticky-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: clip;
}

.scene-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  position: relative;
}

.hero-shell,
.split-shell,
.gallery-shell,
.exhibition-shell,
.finale-shell {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-shell {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
}

.split-shell,
.testimonials-shell,
.finale-shell {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-shell {
  gap: 3rem;
}

.guidance-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.scene-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.04), transparent 22%, transparent 70%, rgba(0, 0, 0, 0.03)),
    radial-gradient(circle at center, rgba(0, 0, 0, 0.035), transparent 36%);
  pointer-events: none;
}

.scene-copy,
.gallery-intro,
.hero-copy,
.exhibition-copy,
.guidance-copy,
.finale-copy {
  display: grid;
  gap: 1.25rem;
}

.hero-title,
.scene-title,
.quote-card p,
.orbit-copy h3,
.exhibit-panel h3,
.atelier-copy h3 {
  margin: 0;
  font-family: "Bodoni Moda", serif;
  font-weight: 500;
  line-height: 0.92;
}

.hero-title {
  font-size: clamp(3.8rem, 8vw, 8rem);
  max-width: 8.8ch;
}

.scene-title {
  font-size: clamp(2.6rem, 5vw, 5rem);
  max-width: 12ch;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-lead,
.scene-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions,
.hero-meta,
.manifesto-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-meta span,
.manifesto-pills span,
.scene-note,
.quote-card,
.finale-panel,
.exhibit-panel,
.orbit-card,
.still,
.hero-frame,
.hero-float {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-meta span,
.manifesto-pills span,
.orbit-label {
  border-radius: 999px;
  padding: 0.75rem 1rem;
}

.hero-stage,
.still-life,
.orbit-stage,
.quote-cloud {
  position: relative;
  perspective: 1800px;
  transform-style: preserve-3d;
}

.hero-stage {
  min-height: 46rem;
}

.light-beam {
  position: absolute;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.16;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), transparent 68%);
}

.light-beam-one {
  top: 8%;
  right: 4%;
}

.light-beam-two {
  bottom: 4%;
  left: 18%;
}

.hero-frame,
.hero-float,
.still,
.orbit-card,
.exhibit-panel {
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-frame img,
.hero-float img,
.still img,
.orbit-card img,
.exhibit-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.hero-frame-back {
  position: absolute;
  inset: 8% 18% 12% 6%;
  opacity: 0.4;
}

.hero-frame-front {
  position: absolute;
  inset: 18% 6% 0 auto;
  width: min(36rem, 48vw);
  height: min(38rem, 74vh);
}

.hero-float {
  position: absolute;
  left: 6%;
  bottom: 8%;
  width: min(16rem, 30vw);
  aspect-ratio: 4 / 5.2;
}

.hero-orbit {
  position: absolute;
  top: 12%;
  left: 0;
  width: 11rem;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.hero-orbit span {
  position: absolute;
}

.hero-orbit span:nth-child(1) { top: 12%; }
.hero-orbit span:nth-child(2) { right: 10%; }
.hero-orbit span:nth-child(3) { bottom: 12%; }
.hero-orbit span:nth-child(4) { left: 10%; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 3.4rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent);
  animation: cue-drift 1.8s ease-in-out infinite;
}

@keyframes cue-drift {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(10px); opacity: 1; }
}

.still-life {
  min-height: 38rem;
}

.still-large {
  position: absolute;
  inset: 0 22% 0 0;
}

.still-small {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: 44%;
  aspect-ratio: 0.8;
}

.scene-note {
  position: absolute;
  left: 6%;
  bottom: 4%;
  max-width: 18rem;
  border-radius: 24px;
  padding: 1.3rem;
}

.scene-note strong,
.quote-card span,
.detail-row strong {
  display: block;
}

.scene-note p,
.detail-row strong a {
  margin: 0.6rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.orbit-stage {
  min-height: 52rem;
}

.orbit-card {
  position: absolute;
  width: min(24rem, 32vw);
  aspect-ratio: 0.78;
  display: grid;
  grid-template-rows: 1fr auto;
}

.orbit-card-left {
  top: 18%;
  left: 2%;
}

.orbit-card-center {
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(30rem, 36vw);
}

.orbit-card-right {
  top: 24%;
  right: 2%;
}

.orbit-copy,
.exhibit-panel div {
  padding: 1.25rem 1.3rem 1.4rem;
  display: grid;
  gap: 0.7rem;
}

.orbit-copy span,
.panel-label {
  color: var(--muted-soft);
}

.orbit-copy h3,
.exhibit-panel h3 {
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
}

.atelier-copy h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.orbit-label {
  position: absolute;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

.orbit-label-top {
  top: 12%;
  right: 18%;
}

.orbit-label-bottom {
  bottom: 12%;
  left: 16%;
}

.exhibition-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(18rem, 1fr));
  gap: 1.2rem;
  align-items: stretch;
  margin-top: 2rem;
}

.exhibit-panel {
  min-height: 32rem;
  display: grid;
  grid-template-rows: minmax(22rem, 1fr) auto;
}

.atelier-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.atelier-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  min-height: 28rem;
}

.atelier-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.atelier-copy {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.atelier-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.atelier-link {
  width: fit-content;
}

.quote-cloud {
  min-height: 36rem;
}

.quote-card {
  position: absolute;
  max-width: 22rem;
  padding: 1.4rem;
  border-radius: 26px;
}

.quote-card:nth-child(1) {
  top: 6%;
  left: 0;
}

.quote-card:nth-child(2) {
  top: 28%;
  right: 4%;
}

.quote-card:nth-child(3) {
  bottom: 4%;
  left: 18%;
}

.quote-card p {
  font-size: 1.7rem;
  line-height: 1.15;
}

.quote-card span {
  margin-top: 1rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.finale-stage {
  align-items: end;
  padding-bottom: 4rem;
}

.finale-panel {
  border-radius: 28px;
  padding: 1.5rem;
}

.detail-row {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.detail-row:last-child {
  border-bottom: 0;
}

.detail-row strong {
  margin-top: 0.55rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.film-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 0 0 2rem;
  color: var(--muted);
}

.filter-row,
.filmstrip-track {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-row {
  margin: 2rem 0 2.4rem;
}

.filter-chip {
  min-height: 3rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  transform: translateY(-2px);
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.archive-card,
.filmstrip-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.76));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.archive-card button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: grid;
  grid-template-rows: minmax(18rem, 1fr) auto;
  height: 100%;
}

.archive-card img,
.filmstrip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 380ms ease, filter 380ms ease;
}

.archive-card button:hover img,
.filmstrip-card:hover img {
  transform: scale(1.04);
  filter: none;
}

.archive-copy {
  padding: 1.15rem 1.15rem 1.3rem;
  display: grid;
  gap: 0.45rem;
  text-align: left;
}

.archive-copy h3 {
  margin: 0;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1;
}

.archive-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
}

.card-index {
  color: var(--muted-soft);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.archive-card[hidden] {
  display: none;
}

.filmstrip-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.filmstrip-card {
  aspect-ratio: 0.82;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  width: min(100%, 1080px);
  display: grid;
  gap: 1rem;
}

.lightbox-frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.lightbox-frame img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  filter: none;
  background: transparent;
}

.lightbox-close {
  justify-self: end;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  cursor: pointer;
}

.lightbox-caption {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.depth-object {
  --py: 0px;
  --pz: 0px;
  --rx: 0deg;
  --ry: 0deg;
  --blur: 0px;
  --alpha: 1;
  transform: translate3d(0, var(--py), var(--pz)) rotateX(var(--rx)) rotateY(var(--ry));
  filter: blur(var(--blur));
  opacity: var(--alpha);
  will-change: transform, filter, opacity;
  transform-style: preserve-3d;
}

.reveal-card {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(16px);
  transition: opacity 700ms ease, transform 700ms ease, filter 700ms ease;
}

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

@media (max-width: 1100px) {
  .hero-shell,
  .split-shell,
  .testimonials-shell,
  .finale-shell,
  .guidance-shell {
    grid-template-columns: 1fr;
  }

  .film-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-stage,
  .orbit-stage,
  .still-life,
  .quote-cloud {
    min-height: 40rem;
  }

  .orbit-card,
  .orbit-card-center {
    width: min(19rem, 46vw);
  }

  .exhibition-track {
    grid-template-columns: repeat(2, minmax(18rem, 1fr));
  }

  .archive-grid,
  .filmstrip-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .film-header {
    width: calc(100% - 1.5rem);
    gap: 0.8rem;
    padding: 0.85rem 0;
  }

  .film-nav {
    order: 3;
    flex-wrap: wrap;
    justify-content: center;
  }

  .scene {
    min-height: auto;
  }

  .sticky-stage {
    position: relative;
    min-height: auto;
    padding: 5rem 0;
  }

  .hero-shell,
  .split-shell,
  .gallery-shell,
  .exhibition-shell,
  .finale-shell,
  .guidance-shell {
    gap: 2.2rem;
  }

  .hero-title {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .scene-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .hero-stage,
  .still-life,
  .orbit-stage,
  .quote-cloud {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .hero-frame-back,
  .hero-frame-front,
  .hero-float,
  .hero-orbit,
  .still-large,
  .still-small,
  .scene-note,
  .orbit-card,
  .orbit-label,
  .quote-card {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    transform: none;
  }

  .hero-frame-front,
  .hero-frame-back {
    height: auto;
  }

  .orbit-card,
  .orbit-card-center {
    width: 100%;
  }

  .exhibition-track {
    grid-template-columns: 1fr;
  }

  .archive-grid,
  .filmstrip-track {
    grid-template-columns: 1fr;
  }

  .atelier-card {
    grid-template-columns: 1fr;
  }

  .atelier-figure {
    min-height: 20rem;
  }

  .film-button {
    width: 100%;
  }

  .atelier-link {
    width: 100%;
  }

  .filter-row {
    gap: 0.8rem;
  }

  .filter-chip {
    width: 100%;
  }
}
