/* Shared film project layout */
    .film-page {
      background: #000;
      color: #f4f4f4;
      margin: 0;
      font-family: 'Inter', sans-serif;
      overflow-x: hidden;
    }

    .film-hero {
      padding: clamp(3rem, 6vw, 5rem) 1.5rem clamp(2.8rem, 5vw, 4.5rem);
      text-align: center;
    }

    .film-title-row {
      max-width: 1100px;
      margin: 0 auto 1rem;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: clamp(1.5rem, 4vw, 3rem);
    }

    .film-title {
      font-family: 'Cormorant Garamond', serif;
      font-variant: small-caps;
      font-size: clamp(2.7rem, 9vw, 5rem);
      letter-spacing: 0.03em;
      line-height: 1;
      margin: 0;
      white-space: nowrap;
    }

    .title-group {
      text-align: center;
      white-space: nowrap;
    }

    .film-title-2 {
      margin: 0.55rem 0 0;
      font-family: 'Inter', sans-serif;
      font-size: clamp(1rem, 4vw, 2rem);
      letter-spacing: 0.07em;
      line-height: 1.2;
      text-transform: lowercase;
    }

    .film-page--remind .film-title {
      font-family: 'Space Grotesk', sans-serif;
      font-variant: normal;
      letter-spacing: 0.07em;
    }

    .film-page--lueur .film-title {
      font-family: 'Doulos', serif;
      font-variant: normal;
      letter-spacing: 0.07em;
    }

    .film-page--gisbert .film-title {
      font-family: 'Blackadder', cursive;
      font-variant: normal;
      letter-spacing: 0.07em;
    }

    .film-page--hochsitz .film-title,
    .film-page--feldtest .film-title {
      font-family: 'Inter', sans-serif;
      font-variant: normal;
      letter-spacing: 0.07em;
    }

    .film-page--feldtest .film-title-2 {
      margin-top: 1rem;
      font-size: clamp(1rem, 5vw, 3rem);
      text-transform: none;
    }

    .film-meta {
      color: #888;
      font-size: 0.75rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      line-height: 1.6;
      margin: 0;
    }

    .desktop-meta {
      display: block;
    }

    .mobile-project-row {
      display: none;
    }

    /* PROJECT SWITCH */
    .project-switch {
      position: relative;
      color: #777;
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      text-decoration: none;
      transition: color 0.25s ease, transform 0.25s ease;
    }

    .project-switch .arrow {
      font-size: clamp(1.4rem, 3vw, 2.4rem);
      line-height: 1;
    }

    .project-switch:hover {
      color: #fff;
    }

    .project-title-small {
      font-size: 0.65rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #666;
      text-decoration: none;
    }

    .project-switch:hover .project-title-small {
      color: #aaa;
    }

    .previous-project,
    .previous-project-mobile {
      align-items: flex-start;
      text-align: left;
    }

    .previous-project:hover {
      transform: translateX(-4px);
    }

    .next-project,
    .next-project-mobile {
      align-items: flex-end;
      text-align: right;
    }

    .next-project:hover {
      transform: translateX(4px);
    }

    /* PROJECT PREVIEW */
    .project-preview {
      position: absolute;
      top: 50%;
      transform: translateY(-50%) scale(0.98);
      width: 220px;
      opacity: 0;
      pointer-events: none;
      transition:
        opacity 0.35s ease,
        transform 0.35s ease;
      z-index: 20;
    }

    .previous-project .project-preview {
      right: calc(100% + 1.5rem);
    }

    .next-project .project-preview {
      left: calc(100% + 1.5rem);
    }

    .project-preview img {
      width: 100%;
      display: block;
      border-radius: 4px;
      filter: grayscale(0.5) brightness(0.7) contrast(1.05);
      opacity: 0.85;
      border: 1px solid rgba(255,255,255,0.08);
      box-shadow: 0 10px 40px rgba(0,0,0,0.7);
    }

    .project-switch:hover .project-preview {
      opacity: 1;
      transform: translateY(-50%) scale(1);
    }

    /* VIDEO */
    .video-wrapper {
      max-width: 1100px;
      margin: 0 auto 2rem;
      padding: 0 1.5rem;
    }

    .video-frame {
      width: 100%;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 2px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    }

    .video-frame iframe {
      width: 100%;
      height: 100%;
      display: block;
      border: none;
    }

    /* CONTENT LAYOUT */
    .film-layout {
      max-width: 1100px;
      margin: 0 auto;
      padding: clamp(3rem, 7vw, 4rem) 1.5rem;
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 3rem;
      align-items: start;
    }

    .synopsis {
      margin-bottom: 2rem;
    }

    .synopsis h2,
    .credits h2 {
      font-size: 0.7rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: #666;
      margin-bottom: 1rem;
    }

    .synopsis p {
      line-height: 1.8;
      color: #ddd;
      max-width: 70ch;
    }

    /* CREDITS */
    .credits-list {
      display: flex;
      flex-direction: column;
    }

    .credit-row {
      position: relative;
      display: grid;
      grid-template-columns: 140px 1fr;
      gap: 1.5rem;
      padding-top: 0.8rem;
      margin-bottom: 1.6rem;
    }

    .credit-row::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 65%;
      height: 1px;
      background: linear-gradient(
        to right,
        #6a1a1a,
        rgba(106, 26, 26, 0.4)
      );
    }

    .credit-role {
      font-size: 0.65rem;
      letter-spacing: 0.22em;
      margin-top: 0.3rem;
      text-transform: uppercase;
      color: #666;
    }

    .credit-name {
      font-size: 0.95rem;
      color: #ddd;
      line-height: 1.6;
    }

    /* POSTER / GALLERY */
    .poster img,
    .gallery img {
      width: 100%;
      display: block;
      cursor: zoom-in;
      border: 1px solid rgba(255,255,255,0.12);
      box-shadow: 0 10px 40px rgba(0,0,0,0.6);
      transition: transform 0.6s ease, filter 0.4s ease, opacity 0.3s ease;
    }

    .poster img:hover,
    .gallery img:hover {
      transform: scale(1.04);
      filter: brightness(0.8) contrast(1.05);
    }

    .gallery {
      max-width: 1100px;
      margin: 0 auto;
      padding: 2rem 1.5rem 5rem;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }

    /* BACK LINK */
    .back-link {
      display: block;
      text-align: center;
      margin-bottom: 4rem;
      color: #888;
      text-transform: uppercase;
      font-size: 0.7rem;
      letter-spacing: 0.16em;
    }

    .back-link:hover {
      color: #fff;
    }

    /* LIGHTBOX */
    #lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.3s ease;

  z-index: 99999;

  padding: 1rem;
}

body.lightbox-open .site-chrome {
  pointer-events: none;
}

    body.lightbox-open {
      overflow: hidden;
    }

    #lightbox img {
      max-width: 95vw;
      max-height: 90vh;
      object-fit: contain;
      cursor: zoom-out;
    }

    #lightbox.active {
      opacity: 1;
      pointer-events: all;
    }

    .lightbox-close {
      position: absolute;
      top: max(1rem, env(safe-area-inset-top));
      right: max(1rem, env(safe-area-inset-right));
      width: 2.75rem;
      height: 2.75rem;
      border: 1px solid rgba(255,255,255,0.35);
      border-radius: 50%;
      background: rgba(0,0,0,0.5);
      color: #fff;
      font: inherit;
      font-size: 1.5rem;
      cursor: pointer;
    }

    [data-lightbox]:focus-visible,
    .lightbox-close:focus-visible {
      outline: 2px solid #fff;
      outline-offset: 4px;
    }

    .film-layout--coming-soon {
      grid-template-columns: minmax(0, 760px);
      justify-content: center;
    }

    /* FOOTER */
    .site-footer {
      border-top: 1px solid #2a1414;
      padding: 2.5rem 1.5rem;
      margin-top: clamp(4rem, 10vw, 8rem);
      text-align: center;
    }

    .footer-content {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      color: #8e8e8e;
      font-size: 0.72rem;
      text-transform: uppercase;
    }

    /* MOBILE */
   @media (max-width: 900px), (hover: none), (pointer: coarse) {
      body.film-page {
        padding-top: 11.6rem;
      }

      .film-hero {
        padding: 1.35rem 1rem 1.1rem;
      }

      .film-title-row {
        display: block;
        margin-bottom: 0.3rem;
      }

      .film-title {
        white-space: normal;
      }

      .title-group {
        white-space: normal;
      }

      .film-page--feldtest .film-title {
        max-width: 92vw;
        margin-inline: auto;
        overflow-wrap: break-word;
        font-size: clamp(1.6rem, 8vw, 2.4rem);
        line-height: 1.08;
        letter-spacing: 0.04em;
      }

      .film-page--feldtest .film-title-2 {
        max-width: 90vw;
        margin: 0.55rem auto 0;
        overflow-wrap: break-word;
        font-size: 0.95rem;
        line-height: 1.35;
        letter-spacing: 0.04em;
      }

      .film-title-row .previous-project,
      .film-title-row .next-project {
        display: none;
      }

      .desktop-meta {
        display: none;
      }

      .mobile-project-row {
        max-width: 420px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 0.6rem;
      }

      .mobile-project-row .project-switch {
        gap: 0.08rem;
      }

      .mobile-project-row .project-title-small {
        font-size: 0.55rem;
      }

      .previous-project-mobile {
        justify-self: start;
      }

      .next-project-mobile {
        justify-self: end;
      }

      .mobile-project-row .film-meta {
        justify-self: center;
        margin: 0;
        white-space: nowrap;
        font-size: 0.62rem;
        letter-spacing: 0.14em;
      }

      .project-preview {
        display: none;
      }

      .video-wrapper {
        margin: 1.5rem auto;
        padding: 0 1rem;
      }

      .film-layout {
        grid-template-columns: 1fr;
        padding: 3rem 1.2rem;
        gap: 2.5rem;
      }

      .poster {
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
      }

      .credit-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
      }

      .gallery {
        grid-template-columns: 1fr;
        padding: 1rem 1.2rem 4rem;
        gap: 1.2rem;
      }

      .poster img:hover,
      .gallery img:hover {
        transform: none;
        filter: none;
      }

         .site-footer {
    padding: 2rem 1.2rem;
    margin-top: 4rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .footer-content a {
    display: block;
    width: 100%;
    padding: 0.4rem 0;
  }
    }

@media (prefers-reduced-motion: reduce) {
  .project-switch,
  .project-preview,
  .poster img,
  .gallery img,
  #lightbox {
    transition: none;
  }
}
