/* ==================== 01. BASE, TOKENS AND ACCESSIBILITY ==================== */

:root {
  --ink: #11120f;
  --paper: #e9e6de;
  --acid: #d8ff3e;
  --line: rgba(17, 18, 15, 0.18);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--ink);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
button,
a {
  font: inherit;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}

/* ==================== 02. HEADER AND NAVIGATION ==================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 92px;
  padding: 0 clamp(22px, 4vw, 68px);
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  color: white;
  transition:
    background 0.35s ease,
    height 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.site-header.is-scrolled {
  height: 72px;
  background: rgba(17, 18, 15, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.wordmark {
  border: 0;
  background: none;
  font-weight: 700;
  font-size: clamp(14px, 1.05vw, 17px);
  letter-spacing: -0.025em;
  white-space: nowrap;
  cursor: pointer;
  justify-self: start;
}
.wordmark,
.header-actions {
  position: relative;
  z-index: 2;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: clamp(20px, 2.4vw, 42px);
}
.main-nav button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 9px 0;
  position: relative;
}
.main-nav button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 1px;
  background: var(--acid);
  transition: right 0.25s ease;
}
.main-nav button:hover::after {
  right: 0;
}
.main-nav button span {
  display: none;
}
.header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-self: end;
}
.language-switcher {
  display: flex;
  gap: 3px;
}
.language-switcher button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 7px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.language-switcher button.active {
  color: var(--acid);
}
.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
}
.menu-toggle i {
  position: absolute;
  left: 7px;
  right: 7px;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.25s,
    top 0.25s;
}
.menu-toggle i:first-child {
  top: 14px;
}
.menu-toggle i:last-child {
  top: 23px;
}
.menu-toggle.is-open i:first-child {
  top: 19px;
  transform: rotate(45deg);
}
.menu-toggle.is-open i:last-child {
  top: 19px;
  transform: rotate(-45deg);
}

/* ==================== 03. HOME / HERO ==================== */

.hero {
  height: 100svh;
  min-height: 680px;
  position: relative;
  overflow: hidden;
  background: #06131b;
  color: white;
}
.hero-image {
  --hero-direction: 1;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroIn 1.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(1, 9, 14, 0.9) 0%,
      rgba(1, 9, 14, 0.42) 48%,
      rgba(1, 9, 14, 0.12) 78%
    ),
    linear-gradient(0deg, rgba(1, 7, 10, 0.7), transparent 44%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.hero-content {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 7vw, 120px);
  bottom: clamp(140px, 19vh, 220px);
  width: min(820px, 80vw);
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--acid);
  margin: 0 0 24px;
}
.hero h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 9.2vw, 156px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.065em;
}
.hero h1 span:last-child {
  margin-top: clamp(10px, 1.5vw, 24px);
  margin-left: clamp(32px, 8vw, 120px);
  font-style: italic;
}
.reveal {
  animation: rise 0.9s 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.delay-1 {
  animation-delay: 0.48s;
}

/* ==================== 04. SHARED SECTION LAYOUT ==================== */

.section {
  padding: clamp(88px, 11vw, 170px) clamp(22px, 7vw, 120px);
}
.biography-section,
.movies-section,
.cinematography-section,
.news-section {
  padding-top: clamp(64px, 5vw, 88px);
}

/* ==================== 05. BIOGRAPHY ==================== */

.bio-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) 1.35fr;
  gap: clamp(45px, 6vw, 100px);
  align-items: center;
  flex: 1;
}

.biography-section {
  min-height: 100svh;
  padding-top: clamp(110px, 11vh, 135px);
  padding-bottom: clamp(45px, 6vh, 70px);
  display: flex;
  flex-direction: column;
}

.bio-text {
  margin: 0;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.65vw, 26px);
  line-height: 1.3;
  color: var(--ink);
}

.bio-text p {
  margin: 0;
  text-indent: 3em;
}

.bio-text p + p {
  margin-top: 0.25em;
}

.biography-heading {
  margin-bottom: clamp(30px, 3vw, 48px);
  text-align: right;
}

.biography-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(62px, 9vw, 140px);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.06em;
}

.bio-layout {
  align-items: start;
}

.portrait-wrap {
  position: sticky;
  top: 110px;
  align-self: start;
  margin: 0;
}

.portrait-wrap img {
  width: 100%;
  height: auto;
  max-height: calc(100svh - 140px);
  object-fit: contain;
  object-position: top center;
}

/* ==================== 06. MOVIES ==================== */

.movies-section {
  background: var(--ink);
  color: white;
  overflow: hidden;
}
.movies-heading {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 40px;
  margin-bottom: clamp(38px, 4vw, 52px);
  text-align: right;
}
.movies-heading h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(62px, 10vw, 150px);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.06em;
}
.movies-heading p {
  margin: 0;
  width: min(330px, 35vw);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}
.movie-list {
  display: flex;
  flex-direction: column;
}
.movie-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  min-height: 520px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 44px 0;
  gap: clamp(36px, 6vw, 90px);
}
.movie-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}
.movie-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.5s;
}
.movie-card:hover .movie-visual > img {
  transform: scale(1.025);
  filter: saturate(1.1);
}
.play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  color: white;
  text-decoration: none;
  cursor: pointer;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}
.play-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid currentColor;
  margin-left: 3px;
  vertical-align: middle;
  flex: 0 0 auto;
}

.play-icon--small {
  border-top-width: 5px;
  border-bottom-width: 5px;
  border-left-width: 8px;
  margin-left: 4px;
}
.play:hover {
  background: var(--acid);
  color: var(--ink);
  transform: translate(-50%, -50%) scale(1.06);
}

.play-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
  margin-left: 2px;
  vertical-align: middle;
}
.movie-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.movie-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.48);
}
.movie-info h3 {
  margin: 27px 0 22px;
  font-family: Georgia, serif;
  font-size: clamp(42px, 5.3vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 400;
}
.movie-info p {
  margin: 0;
  width: min(520px, 92%);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.72;
  font-size: 15px;
}
.text-link {
  margin-top: 34px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  width: fit-content;
  min-width: 150px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
}
.text-link span {
  color: var(--acid);
  font-size: 15px;
}
.text-link [data-i18n] {
  color: inherit;
  font-size: inherit;
}
.text-link b {
  color: var(--acid);
  font-size: 15px;
  font-weight: 400;
}
.text-link:is(button) {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  background: transparent;
  cursor: pointer;
  color: white;
}
.movie-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.movie-poster {
  position: absolute;
  width: 130px;
  aspect-ratio: 0.72;
  object-fit: cover;
  right: 8%;
  bottom: 35px;
  transform: rotate(4deg) translateY(18px);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transition:
    opacity 0.35s,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 3;
}
.movie-card:hover .movie-poster {
  opacity: 1;
  transform: rotate(4deg) translateY(0);
}

/* ==================== 07. CINEMATOGRAPHY ==================== */

.cinematography-section {
  background: var(--paper);
  overflow: hidden;
}
.cinema-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  grid-template-areas: "cinema-left cinema-image";
  gap: clamp(45px, 6vw, 100px);
  align-items: start;
  padding-bottom: clamp(65px, 8vw, 120px);
  border-bottom: 1px solid var(--line);
}

.cinema-left {
  grid-area: cinema-left;
  display: flex;
  flex-direction: column;
}

.cinematography-heading {
  margin: 0 0 clamp(30px, 3vw, 48px);
  text-align: left;
}

.cinematography-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.6vw, 100px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.cinema-profile-copy {
  width: 100%;
  margin: 0;
}

.cinema-text {
  width: 100%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.65vw, 26px);
  line-height: 1.3;
  color: var(--ink);
}

.cinema-text p {
  margin: 0;
  text-indent: 3em;
}

.cinema-text p + p {
  margin-top: 0.25em;
}

.cinema-profile-image {
  grid-area: cinema-image;
  position: sticky;
  top: 110px;
  align-self: start;
  width: 100%;
  margin: 0;
}

.cinema-profile-image img {
  width: 100%;
  height: auto;
  max-height: calc(100svh - 140px);
  object-fit: contain;
  object-position: top center;
}

.cinematography-section .cinema-links {
  width: 100%;
  margin-top: clamp(38px, 4vw, 60px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

.cinematography-section .cinema-links .text-link {
  width: 100%;
  min-width: 0;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  border-bottom-color: rgba(17, 18, 15, 0.34);
}

.cinematography-section .cinema-links a.text-link {
  color: inherit;
  text-decoration: none;
}

.cinematography-section .cinema-links .text-link b {
  color: #596800;
}

.cinematography-section .cinema-links .text-link:hover b,
.cinematography-section .cinema-links .text-link:focus-visible b {
  color: var(--ink);
}
.gallery-title {
  margin: 82px 0 38px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.gallery-title--link {
  color: inherit;
  text-decoration: none;
}
.gallery-title--link:hover small {
  color: var(--ink);
}
.gallery-title span {
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 58px);
}
.gallery-title small {
  color: #77766f;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 9px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.6vw, 25px);
  align-items: start;
}
.photo-grid figure {
  margin: 0;
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
  transition:
    filter 0.4s,
    transform 0.5s;
}
.photo-grid figure:hover img {
  filter: saturate(1.08);
  transform: scale(1.01);
}
.photo-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #686761;
}
.photo-1 {
  grid-column: 1 / span 7;
}
.photo-1 img {
  aspect-ratio: 1.5;
}
.photo-2 {
  grid-column: 9 / span 4;
  margin-top: 110px !important;
}
.photo-2 img {
  aspect-ratio: 0.78;
}
.photo-3 {
  grid-column: 2 / span 4;
  margin-top: 40px !important;
}
.photo-3 img {
  aspect-ratio: 0.8;
}
.photo-4 {
  grid-column: 7 / span 6;
  margin-top: 130px !important;
}
.photo-4 img {
  aspect-ratio: 1.36;
}
.photo-5 {
  grid-column: 1 / span 7;
  margin-top: 80px !important;
}
.photo-5 img {
  aspect-ratio: 1.42;
}
.photo-6 {
  grid-column: 9 / span 4;
  margin-top: 20px !important;
}
.photo-6 img {
  aspect-ratio: 0.8;
}

/* ==================== 08. NEWS ==================== */

.news-section {
  background: #d8ff3e;
}
.news-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-direction: row-reverse;
  gap: 40px;
  margin-bottom: clamp(38px, 4vw, 52px);
}
.news-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8.2vw, 126px);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.06em;
  text-align: right;
}
.news-head p {
  margin: 0;
  max-width: 390px;
  color: #5c5b55;
  font-size: 17px;
  line-height: 1.65;
  text-align: left;
}
.news-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(40px, 8vw, 130px);
}
.news-feature {
  position: sticky;
  top: 110px;
  align-self: start;
  background: var(--ink);
  color: white;
}
.news-feature img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.news-feature div {
  padding: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}
.news-feature span {
  color: var(--acid);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.news-feature strong {
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 0.9;
  font-weight: 400;
  text-align: right;
  max-width: 180px;
}
.news-list {
  border-top: 1px solid rgba(17, 18, 15, 0.28);
}
.news-list > a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 132px;
  padding: 24px 5px;
  border-bottom: 1px solid rgba(17, 18, 15, 0.28);
  color: var(--ink);
  text-decoration: none;
  transition:
    padding 0.25s,
    background 0.25s;
}
.news-list > a:hover {
  padding-left: 14px;
  padding-right: 14px;
  background: rgba(255, 255, 255, 0.26);
}
.news-list small {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 9px;
  color: rgba(17, 18, 15, 0.55);
}
.news-list h3 {
  max-width: 650px;
  margin: 9px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(20px, 2.1vw, 31px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.news-list b {
  font-size: 20px;
  font-weight: 400;
}

/* ==================== 09. CONTACT ==================== */

.contact-section {
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  background: #081116;
  overflow: hidden;
}
.contact-bg,
.contact-bg img,
.contact-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.contact-spacer {
  min-height: 76svh;
}
.contact-strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(20px, 3vw, 48px);
  padding: 20px clamp(22px, 7vw, 120px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(3, 10, 14, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.contact-column {
  display: contents;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: currentColor;
}
.contact-strip a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.contact-strip a:hover {
  color: var(--acid);
}
.contact-bg img {
  object-fit: cover;
  object-position: 37% center;
  transform: none;
}
.contact-shade {
  background:
    linear-gradient(90deg, rgba(3, 10, 14, 0.94), rgba(3, 10, 14, 0.28)),
    linear-gradient(0deg, rgba(3, 10, 14, 0.8), transparent 55%);
}
.contact-section footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 22px clamp(22px, 7vw, 120px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
}
.contact-section footer button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: inherit;
  font-size: inherit;
}

/* ==================== MOVIE DETAIL PAGE ==================== */

.film-detail-backdrop {
  position: fixed;
  z-index: 90;
  inset: 0;
  background: var(--ink);
  animation: fadeIn 0.25s both;
}

.film-detail {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  scroll-behavior: auto;
  overflow-anchor: none;
  scroll-padding-top: 72px;
  background: var(--ink);
  color: white;
}

.film-detail-bar {
  position: sticky;
  z-index: 12;
  top: 0;
  min-height: 72px;
  padding: 8px clamp(20px, 3vw, 52px);
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  background: rgba(17, 18, 15, 0.96);
  color: white;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.film-detail-brand {
  justify-self: start;
  border: 0;
  padding: 10px 0;
  background: transparent;
  color: white;
  cursor: pointer;
  font-weight: 700;
  font-size: clamp(13px, 1.05vw, 17px);
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.film-detail-brand:hover,
.film-detail-brand:focus-visible {
  color: var(--acid);
}

.film-detail-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 50px);
}

.film-detail-nav button {
  position: relative;
  border: 0;
  padding: 10px 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.film-detail-nav button::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--acid);
  transition: right 0.25s ease;
}

.film-detail-nav button:hover,
.film-detail-nav button:focus-visible {
  color: white;
}

.film-detail-nav button:hover::after,
.film-detail-nav button:focus-visible::after {
  right: 0;
}

.film-detail-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.film-detail-language {
  justify-content: flex-end;
}

.film-detail-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: white;
  position: relative;
  cursor: pointer;
}

.film-detail-menu-toggle i {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.25s ease,
    top 0.25s ease;
}

.film-detail-menu-toggle i:first-child {
  top: 18px;
}
.film-detail-menu-toggle i:last-child {
  top: 28px;
}
.film-detail-menu-toggle.is-open i:first-child {
  top: 23px;
  transform: rotate(45deg);
}
.film-detail-menu-toggle.is-open i:last-child {
  top: 23px;
  transform: rotate(-45deg);
}

.film-detail-hero {
  min-height: min(780px, calc(100svh - 72px));
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  scroll-margin-top: 72px;
  background: #060807;
  color: white;
}

.film-detail-bg,
.film-detail-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.film-detail-bg {
  object-fit: cover;
}

.film-detail-shade {
  background:
    linear-gradient(
      90deg,
      rgba(4, 6, 5, 0.94) 0%,
      rgba(4, 6, 5, 0.46) 55%,
      rgba(4, 6, 5, 0.16)
    ),
    linear-gradient(0deg, rgba(4, 6, 5, 0.92), transparent 65%);
}

.film-detail-hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(44px, 6vw, 90px) clamp(22px, 7vw, 120px);
  display: grid;
  grid-template-columns: minmax(150px, 260px) 1fr;
  align-items: end;
  gap: clamp(35px, 6vw, 95px);
}

.film-detail-poster {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
}

.film-detail-hero-copy .movie-meta {
  max-width: 650px;
}

.film-detail-hero-copy h2 {
  margin: 30px 0 35px;
  max-width: 930px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(62px, 9vw, 145px);
  line-height: 0.82;
  letter-spacing: -0.065em;
}

.detail-trailer {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 21px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  color: white;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.detail-trailer:hover,
.detail-trailer:focus-visible {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.film-detail-body {
  background: var(--ink);
  color: white;
}

/* Movie information */

.film-info {
  scroll-margin-top: 72px;
  padding: clamp(36px, 3.5vw, 60px) clamp(22px, 7vw, 120px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.film-info-layout {
  width: min(1500px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.45fr);
  gap: clamp(55px, 8vw, 130px);
  align-items: start;
}

.film-info-sidebar {
  position: sticky;
  top: 96px;
  min-width: 0;
}

.film-info-summary h3,
.film-info-heading {
  margin: 0 0 24px;
  color: var(--acid);
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.film-info-summary p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.film-info-tabs {
  display: flex;
  flex-direction: column;
  margin-top: clamp(22px, 2vw, 30px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.film-info-tab {
  position: relative;
  width: 100%;
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 28px 15px 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  text-align: left;
  font-size: 11px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  transition:
    color 0.2s ease,
    padding 0.2s ease;
}

.film-info-tab::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 2px;
  transform: translateY(-53%);
  color: rgba(255, 255, 255, 0.35);
  font-family: Georgia, serif;
  font-size: 26px;
}

.film-info-tab:hover,
.film-info-tab:focus-visible,
.film-info-tab.active {
  padding-left: 10px;
  color: var(--acid);
}

.film-info-tab.active::after {
  color: var(--acid);
}

.film-info-directory {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.technical-row,
.credit-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) 1.28fr;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.technical-row dt,
.technical-row dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.technical-row dt,
.credit-row span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  line-height: 1.45;
}

.technical-row dd,
.credit-row strong {
  color: rgba(255, 255, 255, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 400;
}

.film-info-festivals {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.festival-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.35fr) minmax(130px, 0.7fr) 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.festival-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.55vw, 23px);
  font-weight: 400;
}

.festival-row small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.festival-row em {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
}

/* Movie photo accordions */

.detail-section {
  padding: clamp(36px, 3.5vw, 60px) clamp(22px, 7vw, 120px);
}

.gallery-detail {
  scroll-margin-top: 72px;
}

.gallery-detail > header,
.gallery-group {
  width: min(1500px, 100%);
  margin-inline: auto;
}

.gallery-detail > header {
  margin-bottom: clamp(42px, 5vw, 70px);
}

.gallery-detail > header h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7vw, 108px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.gallery-group {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.gallery-group:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.gallery-group-toggle {
  width: 100%;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 0;
  padding: 22px 8px;
  background: transparent;
  color: white;
  cursor: pointer;
  text-align: left;
}

.gallery-group-toggle > span:first-child {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.gallery-group-toggle strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 46px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.gallery-group-toggle small {
  color: rgba(255, 255, 255, 0.44);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.gallery-group-toggle > b {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  transform: rotate(-90deg);
  transition: transform 0.25s ease;
}

.gallery-group.is-open .gallery-group-toggle > b {
  transform: rotate(0deg);
}

.gallery-group-toggle:hover strong,
.gallery-group-toggle:focus-visible strong {
  color: var(--acid);
}

.gallery-group-panel {
  padding: 6px 0 clamp(38px, 5vw, 70px);
}

.gallery-group-panel[hidden] {
  display: none;
}

.film-gallery-grid {
  columns: 3 280px;
  column-gap: clamp(10px, 1.4vw, 22px);
}

.film-gallery-grid button {
  width: 100%;
  display: block;
  break-inside: avoid;
  margin: 0 0 clamp(10px, 1.4vw, 22px);
  border: 0;
  padding: 0;
  background: #080a08;
  cursor: zoom-in;
  overflow: hidden;
}

.film-gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition:
    transform 0.5s ease,
    filter 0.35s ease;
}

.film-gallery-grid button:hover img,
.film-gallery-grid button:focus-visible img {
  transform: scale(1.012);
  filter: saturate(1.08);
}

.film-gallery-grid.poster-grid {
  columns: 4 190px;
}

/* Film galleries: equal thumbnails, except Posters */
.film-gallery-grid:not(.poster-grid) {
  columns: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 22px);
}

.film-gallery-grid:not(.poster-grid) button {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.film-gallery-grid:not(.poster-grid) img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* ==================== CINEMATOGRAPHY DETAIL ==================== */

.cinematography-detail {
  background: var(--paper);
  color: var(--ink);
}

.cinematography-detail-layout {
  min-height: calc(100svh - 64px);
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(45px, 7vw, 120px);
  align-items: center;
  padding: clamp(55px, 7vw, 110px) clamp(22px, 7vw, 120px);
}
.cinematography-detail-copy h2 {
  margin: 0 0 clamp(30px, 4vw, 56px);
  font-family: Georgia, serif;
  font-size: clamp(58px, 7vw, 116px);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.06em;
}
.cinematography-detail-text p {
  margin: 0;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.65;
}
.cinematography-detail-text p + p {
  margin-top: 1.15em;
}
.cinematography-detail-image {
  margin: 0;
  align-self: center;
}
.cinematography-detail-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ==================== VIDEO AND IMAGE OVERLAYS ==================== */

.modal-backdrop {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: fadeIn 0.25s both;
}
.modal-close {
  position: absolute;
  z-index: 4;
  right: 17px;
  top: 17px;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: rgba(233, 230, 222, 0.84);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}
.video-modal {
  position: relative;
  width: min(1200px, 95vw);
  aspect-ratio: 16/9;
  background: black;
}
.video-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.video-modal .modal-close {
  position: fixed;
  z-index: 130;
  color: white;
  background: rgba(0, 0, 0, 0.72);
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
}
.lightbox {
  position: fixed;
  z-index: 130;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 65px);
  background: rgba(0, 0, 0, 0.96);
  animation: fadeIn 0.2s both;
  cursor: zoom-out;
}
.lightbox > img {
  width: auto;
  height: auto;
  max-width: calc(100vw - clamp(36px, 8vw, 130px));
  max-height: calc(100dvh - clamp(36px, 8vw, 130px));
  object-fit: contain;
  object-position: center;
}
.lightbox-close {
  position: absolute;
  z-index: 4;
  right: 22px;
  top: 22px;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.lightbox-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.lightbox-arrow:hover {
  background: white;
  color: #11120f;
}
.lightbox-arrow:disabled {
  opacity: 0.22;
  cursor: default;
  pointer-events: none;
}
.lightbox-arrow--prev {
  left: 22px;
}
.lightbox-arrow--next {
  right: 22px;
}
.lightbox-counter {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.15em;
}

@keyframes heroIn {
  from {
    transform: scale(1.08);
    filter: brightness(0.7);
  }

  to {
    transform: scale(1);
    filter: brightness(1);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ==================== 10. RESPONSIVE RULES ==================== */

@media (max-width: 900px) {
  .biography-section,
  .movies-section,
  .cinematography-section,
  .news-section {
    padding-top: 60px;
  }
  .site-header {
    display: flex;
    height: 72px;
    padding-inline: 20px;
    justify-content: space-between;
  }
  .wordmark {
    max-width: 38vw;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
  }
  .site-header.menu-open {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }
  .wordmark,
  .header-actions {
    z-index: 4;
  }
  .menu-toggle {
    display: block;
    z-index: 4;
  }
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 100vh;
    z-index: 3;
    background: #11120f;
    padding: max(96px, calc(76px + env(safe-area-inset-top))) 26px
      calc(32px + env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .main-nav.is-open {
    transform: translateX(0);
  }
  .main-nav button {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
    text-align: left;
    font-family: Georgia, serif;
    font-size: clamp(30px, 7vw, 48px);
    line-height: 0.98;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .main-nav button span {
    display: inline-block;
    min-width: 27px;
    font-family: Arial, sans-serif;
    font-size: 9px;
    line-height: 1;
    color: var(--acid);
    letter-spacing: 0.12em;
  }
  .hero {
    min-height: 620px;
  }
  .hero-image {
    --hero-direction: 1;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    object-fit: cover;
    object-position: 82% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(1, 9, 14, 0.82), rgba(1, 9, 14, 0.16)),
      linear-gradient(0deg, rgba(1, 7, 10, 0.78), transparent 60%);
  }
  .hero-content {
    left: 22px;
    bottom: 52px;
    width: calc(100% - 44px);
  }
  .hero h1 {
    font-size: clamp(56px, 16vw, 100px);
    line-height: 0.86;
  }
  .hero h1 span:last-child {
    margin-top: 8px;
    margin-left: 18px;
  }
  html[lang="ru"] .hero h1,
  html[lang="ky"] .hero h1 {
    line-height: 0.95;
  }

  html[lang="ru"] .hero h1 span:last-child,
  html[lang="ky"] .hero h1 span:last-child {
    margin-top: 16px;
  }
  .bio-layout {
    grid-template-columns: 1fr;
  }
  .biography-heading h2 {
    font-size: clamp(56px, 15vw, 96px);
    line-height: 0.88;
  }
  .portrait-wrap {
    position: relative;
    top: auto;
    width: 100%;
  }
  .portrait-wrap img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
  .movies-heading {
    align-items: start;
    flex-direction: column;
  }
  .movies-heading p {
    width: 100%;
    max-width: 400px;
  }
  .movie-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 30px 0 55px;
    gap: 30px;
  }
  .movie-visual {
    min-height: 0;
    aspect-ratio: 16/9;
  }
  .movie-info {
    padding-right: 0;
  }
  .movie-info p {
    width: 100%;
  }
  .movie-poster {
    display: none;
  }
  .cinema-profile {
    grid-template-columns: 1fr;
    grid-template-areas:
      "cinema-title"
      "cinema-image"
      "cinema-copy";
    gap: 32px;
  }
  .cinema-left {
    display: contents;
  }
  .cinematography-heading {
    grid-area: cinema-title;
  }
  .cinematography-heading h2 {
    font-size: clamp(46px, 13vw, 80px);
    line-height: 0.9;
  }
  .cinema-profile-image {
    grid-area: cinema-image;
    position: relative;
    top: auto;
    order: 0;
    width: min(520px, 100%);
    margin: 0 auto;
  }
  .cinema-profile-image img {
    max-height: none;
  }
  .cinema-profile-copy {
    grid-area: cinema-copy;
  }
  .film-gallery-grid:not(.poster-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cinematography-detail-layout {
    grid-template-columns: 1fr;
  }
  .cinematography-detail-image {
    order: -1;
  }
  .news-layout {
    grid-template-columns: 1fr;
  }
  .news-feature {
    position: relative;
    top: auto;
    width: min(520px, 78vw);
  }
  .film-detail-bar {
    grid-template-columns: 1fr auto;
  }
  .film-detail-nav {
    justify-self: center;
  }
  .film-info-layout {
    grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
  }
  .film-gallery-grid {
    columns: 2 260px;
  }
  .film-gallery-grid.poster-grid {
    columns: 3 180px;
  }
  .festival-row {
    grid-template-columns: 1fr 0.65fr;
  }
  .festival-row em {
    grid-column: 2 / -1;
  }
}

@media (max-width: 560px) {
  .language-switcher {
    gap: 0;
  }
  .language-switcher button {
    padding-inline: 4px;
  }
  .section {
    padding-inline: 20px;
  }
  .movies-heading {
    margin-bottom: 44px;
  }
  .movie-meta {
    flex-wrap: wrap;
  }
  .movie-info h3 {
    font-size: 43px;
  }
  .play {
    width: 58px;
    height: 58px;
  }
  .movie-links {
    gap: 4px 14px;
  }
  .movie-links .text-link {
    min-width: 130px;
  }
  .cinematography-section .cinema-links {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .gallery-title {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin-top: 60px;
  }
  .photo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 10px;
  }
  .photo-grid figure[class] {
    grid-column: auto;
    margin-top: 0 !important;
  }
  .photo-grid figure:nth-child(3n + 2) {
    margin-top: 45px !important;
  }
  .photo-grid figure img {
    aspect-ratio: 0.84;
  }
  .news-head {
    align-items: start;
    flex-direction: column;
  }
  .news-feature {
    width: 100%;
  }
  .news-list > a {
    grid-template-columns: 1fr auto;
    gap: 10px;
    min-height: 112px;
  }
  .news-list h3 {
    font-size: 21px;
  }
  .contact-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
  }

  .contact-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .contact-column--social {
    padding-left: 45px;
  }
  .contact-icon {
    width: 15px;
    height: 15px;
  }

  .contact-link {
    gap: 8px;
  }
  .contact-section footer {
    align-items: flex-start;
    gap: 20px;
  }
  .film-detail {
    scroll-padding-top: 62px;
  }
  .film-detail-bar {
    min-height: 62px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 7px 14px;
  }
  .film-detail-brand {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
  }
  .film-detail-actions {
    gap: 6px;
  }
  .film-detail-language button {
    padding-inline: 3px;
    font-size: 9px;
  }
  .film-detail-menu-toggle {
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }
  .film-detail-nav {
    position: fixed;
    z-index: 20;
    top: 62px;
    right: 14px;
    width: min(270px, calc(100vw - 28px));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 16px;
    background: rgba(17, 18, 15, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }
  .film-detail-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .film-detail-nav button {
    width: 100%;
    padding: 15px 0;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .film-detail-nav button:last-child {
    border-bottom: 0;
  }
  .film-detail-hero {
    min-height: 650px;
    scroll-margin-top: 62px;
  }
  .film-detail-hero-copy {
    grid-template-columns: minmax(82px, 105px) 1fr;
    gap: 20px;
    padding: 34px 20px 45px;
  }
  .film-detail-poster {
    max-height: 230px;
  }
  .film-detail-hero-copy h2 {
    margin: 20px 0 25px;
    font-size: clamp(45px, 14vw, 76px);
  }
  .film-detail-hero-copy .movie-meta {
    gap: 8px;
  }
  .film-info,
  .detail-section {
    padding: 64px 20px;
  }
  .film-info {
    scroll-margin-top: 62px;
  }
  .film-info-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .film-info-tabs {
    margin-top: 38px;
  }
  .film-info-summary p {
    font-size: clamp(20px, 6.5vw, 27px);
  }
  .technical-row,
  .credit-row {
    grid-template-columns: 112px 1fr;
    gap: 16px;
  }
  .festival-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .gallery-detail {
    scroll-margin-top: 62px;
  }
  .gallery-detail > header h3 {
    font-size: clamp(50px, 15vw, 78px);
  }
  .film-gallery-grid,
  .film-gallery-grid.poster-grid {
    columns: 2 130px;
  }
  .lightbox {
    padding: 12px;
  }
  .lightbox > img {
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }
  .gallery-group-toggle {
    min-height: 78px;
    padding: 18px 0;
  }
  .gallery-group-toggle > span:first-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .gallery-group-toggle strong {
    font-size: clamp(25px, 8vw, 37px);
  }
  .gallery-group-toggle > b {
    width: 44px;
    height: 44px;
    font-size: 38px;
  }
  .film-gallery-grid,
  .film-gallery-grid.poster-grid {
    columns: 2 130px;
  }
  .video-modal .modal-close {
    position: fixed;
    z-index: 130;
    color: white;
    background: rgba(0, 0, 0, 0.72);
    top: max(16px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
  }
}

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

/* Mobile navigation + lightbox polish */
@media (max-width: 900px) and (max-height: 700px) {
  .main-nav {
    padding-top: max(78px, calc(66px + env(safe-area-inset-top)));
  }
  .main-nav button {
    font-size: clamp(27px, 6vw, 40px);
    padding-block: 12px;
  }
}

@media (max-width: 600px) {
  .lightbox {
    padding: 68px 14px 88px;
  }
  .lightbox-arrow {
    top: auto;
    bottom: 20px;
    width: 46px;
    height: 46px;
    transform: none;
    font-size: 34px;
  }
  .lightbox-arrow--prev {
    left: calc(50% - 72px);
  }
  .lightbox-arrow--next {
    right: calc(50% - 72px);
  }
  .lightbox-counter {
    bottom: 35px;
  }
}

/* ==================== 11. MOBILE PHOTOGRAPHY PAGE ==================== */
.photography-page {
  min-height: 100vh;
  background: var(--ink);
  color: white;
}
.photo-page-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(17, 18, 15, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.photo-page-header > a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.photo-page-header > a:hover {
  color: var(--acid);
}
.exhibition {
  padding: clamp(72px, 10vw, 150px) clamp(20px, 5vw, 72px);
}
.exhibition-heading {
  max-width: 1180px;
  margin-bottom: clamp(70px, 10vw, 150px);
}
.exhibition-heading p {
  margin: 0 0 22px;
  color: var(--acid);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.exhibition-heading h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(56px, 9vw, 145px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
}
.exhibition-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(18px, 3vw, 54px);
  align-items: start;
}
.exhibition-grid button {
  grid-column: span 5;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}
.exhibition-grid button:nth-child(2n) {
  grid-column: 7 / span 6;
  margin-top: clamp(70px, 12vw, 190px);
}
.exhibition-grid button:nth-child(3n) {
  grid-column: 2 / span 7;
}
.exhibition-grid img {
  width: 100%;
  max-height: 82vh;
  object-fit: cover;
  transition:
    transform 0.45s ease,
    filter 0.35s ease;
}
.exhibition-grid button:hover img {
  transform: scale(1.012);
  filter: saturate(1.08);
}

@media (max-width: 700px) {
  .photo-page-header {
    align-items: flex-start;
  }
  .photo-page-header > a {
    max-width: 45vw;
    line-height: 1.4;
  }
  .exhibition {
    padding-top: 70px;
  }
  .exhibition-heading h1 {
    font-size: clamp(46px, 14vw, 78px);
  }
  .exhibition-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .exhibition-grid button,
  .exhibition-grid button:nth-child(2n),
  .exhibition-grid button:nth-child(3n) {
    grid-column: 1;
    margin: 0;
  }
  .exhibition-grid button:nth-child(2n) {
    width: 82%;
    margin-left: auto;
  }
  .exhibition-grid button:nth-child(3n) {
    width: 90%;
  }
}

/* Compact mobile film information and transparent hero navigation. */
@media (max-width: 560px) {
  .film-detail-bar {
    background: rgba(17, 18, 15, 0.92);
  }
  .film-detail:has(.film-detail-hero) .film-detail-bar {
    margin-bottom: -62px;
    background: rgba(17, 18, 15, 0.2);
  }
  .film-detail.is-scrolled:has(.film-detail-hero) .film-detail-bar {
    background: rgba(17, 18, 15, 0.92);
  }
  .film-info {
    padding: 36px 20px;
  }
  .film-info-sidebar {
    position: static;
  }
  .film-info-layout {
    gap: 36px;
  }
  .film-info-summary h3,
  .film-info-heading {
    font-size: clamp(32px, 10vw, 48px);
  }
  .film-info-summary p {
    font-size: clamp(20px, 6.2vw, 26px);
  }
  .film-info-tabs {
    flex-direction: row;
    gap: 32px;
    margin-top: 42px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    scrollbar-width: thin;
    scrollbar-color: #484944 transparent;
  }
  .film-info-tab {
    flex: 0 0 auto;
    width: auto;
    min-height: 48px;
    padding: 16px 0;
    border-bottom: 0;
    font-size: 11px;
    white-space: nowrap;
  }
  .film-info-tab:hover,
  .film-info-tab:focus-visible,
  .film-info-tab.active {
    padding-left: 0;
  }
  .film-info-tab::after {
    display: none;
  }
}

/* Film tabs stay within the information section while its contents scroll. */
@media (max-width: 560px) {
  .film-info-sidebar {
    display: contents;
  }
  .film-info-tabs {
    position: sticky;
    top: 62px;
    z-index: 10;
    margin-top: 6px;
    margin-bottom: 0;
    background: var(--ink);
    align-self: start;
    box-shadow: 0 -1px var(--ink);
  }
}

/* Cinematography: full-screen showreel, then alternating photo stories. */
.cinema-backdrop,
.cinematography-detail {
  background: var(--paper);
  color: var(--ink);
}
.cinematography-detail .film-detail-bar,
.cinematography-detail.is-scrolled:has(.film-detail-hero) .film-detail-bar,
.cinematography-detail:has(.film-detail-hero) .film-detail-bar {
  margin-bottom: 0;
  background: rgba(233, 230, 222, 0.96);
  border-color: var(--line);
  color: var(--ink);
}
.cinematography-detail .film-detail-brand,
.cinematography-detail .film-detail-menu-toggle,
.cinematography-detail .film-detail-nav button,
.cinematography-detail .language-switcher button {
  color: var(--ink);
}
.cinematography-detail .language-switcher button {
  opacity: 0.5;
}
.cinematography-detail .language-switcher button.active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.cinematography-detail .film-detail-nav button::after {
  background: var(--ink);
}
.cinematography-detail .film-detail-nav,
.cinematography-detail .film-detail-nav button {
  border-color: var(--line);
}
.cinematography-detail .cinema-hero {
  position: relative;
  height: calc(100svh - 72px);
  min-height: 0;
  background: var(--paper);
  overflow: hidden;
}
.cinema-hero-picture,
.cinema-hero-picture img,
.cinema-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cinema-hero-picture {
  display: block;
}
.cinema-hero-picture img {
  display: block;
  object-fit: contain;
  object-position: center;
}
.cinema-hero-shade {
  pointer-events: none;
}
.cinematography-detail .cinema-hero .detail-trailer {
  background: rgba(17, 18, 15, 0.65);
}
.cinematography-detail .cinema-hero .detail-trailer:hover {
  background: var(--acid);
}
.cinematography-detail .cinema-hero-copy {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(32px, 5vw, 78px) clamp(22px, 7vw, 120px);
}
/* The showreel inherits the film trailer button's exact styles. */
.cinematography-detail .cinema-editorial {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 90px);
  padding: clamp(60px, 8vw, 130px) clamp(22px, 6vw, 105px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 72px;
}
.cinema-editorial-copy {
  min-width: 0;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.cinema-editorial-copy h3 {
  margin: 0 0 26px;
  font:
    400 clamp(32px, 3.6vw, 62px)/1.1 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}
.cinema-editorial-copy p {
  margin: 0;
  max-width: 38em;
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.65;
  color: rgba(17, 18, 15, 0.72);
}
.cinema-editorial--reverse .cinema-editorial-copy {
  grid-column: 2;
  grid-row: 1;
}
.cinema-editorial--reverse .cinema-gallery {
  grid-column: 1;
  grid-row: 1;
}
.cinema-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
  min-width: 0;
  border: 0;
}
.cinema-photo-grid figure {
  min-width: 0;
  margin: 0;
}
.cinema-photo-grid button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}
.cinema-photo-grid button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.cinema-photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.cinema-profile {
  padding-bottom: 0;
  border-bottom: 0;
}
@media (max-width: 800px) {
  .cinematography-detail .cinema-editorial {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 24px;
  }
  .cinema-editorial--reverse .cinema-editorial-copy,
  .cinema-editorial--reverse .cinema-gallery {
    grid-column: auto;
    grid-row: auto;
  }
  .cinema-editorial-copy h3 {
    font-size: clamp(32px, 6vw, 48px);
  }
}
@media (max-width: 560px) {
  .cinematography-detail .film-detail-nav {
    background: var(--paper);
  }
  .cinematography-detail .cinema-hero {
    height: calc(100svh - 62px);
    min-height: 0;
  }
  .cinematography-detail .cinema-hero-copy {
    padding: 32px 20px;
  }
  .cinematography-detail .cinema-editorial {
    min-height: calc(100svh - 62px);
    padding: 40px 20px;
    scroll-margin-top: 62px;
  }
  .cinema-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (min-width: 561px) and (max-width: 900px) {
  .film-detail-bar {
    grid-template-columns: minmax(100px, 1fr) auto minmax(100px, 1fr);
    gap: 12px;
  }
  .film-detail-nav {
    gap: 18px;
  }
}

.cinema-editorial-copy p + p {
  margin-top: 1em;
}
.cinematography-detail .cinema-photo-grid {
  border: 0;
}

.credit-row.credit-row--names {
  grid-template-columns: 1fr;
}

.cinematography-detail .cinema-hero {
  display: block;
  height: auto;
  min-height: 0;
}
.cinema-hero-picture {
  position: relative;
  inset: auto;
  height: auto;
}
.cinema-hero-picture img {
  position: static;
  height: auto;
  object-fit: contain;
}
.cinematography-detail .cinema-hero-copy {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(22px, 4vw, 60px) clamp(22px, 7vw, 120px);
}
.cinema-gallery {
  min-width: 0;
  width: 100%;
  border: 0;
}
.cinema-gallery-toggle {
  display: none;
}
.cinema-photo-grid {
  align-items: stretch;
}
.cinema-photo-grid button {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.cinema-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 801px) {
  .cinematography-detail .cinema-editorial {
    align-items: start;
  }
  .cinema-editorial-copy {
    position: sticky;
    top: 96px;
    align-self: start;
  }
}
@media (max-width: 800px) {
  .cinematography-detail .cinema-editorial {
    min-height: 0;
    gap: 24px;
  }
  .cinema-gallery-toggle {
    display: flex;
    color: var(--ink);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .cinema-gallery-toggle small {
    color: rgba(17, 18, 15, 0.55);
  }
  .cinema-gallery-toggle b {
    color: #617000;
  }
  .cinema-gallery:not(.is-open) .cinema-photo-grid {
    display: none;
  }
  .cinema-gallery.is-open .cinema-photo-grid {
    margin-top: 22px;
  }
}
@media (max-width: 700px) {
  .film-detail[data-film="melancholy"] .film-detail-bg {
    object-position: 80% center;
  }
  .film-detail[data-film="melancholy"] .film-detail-hero-copy > div {
    min-width: 0;
  }
  .film-detail[data-film="melancholy"] .film-detail-hero-copy h2 {
    overflow-wrap: anywhere;
    font-size: clamp(30px, 9vw, 46px);
  }
}
@media (max-width: 560px) {
  .cinematography-detail .cinema-hero-copy {
    padding: 26px 20px;
  }
}
