:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #090909;
  --muted: #575757;
  --nav-muted: #8a8a8a;
  --line: rgba(9, 9, 9, 0.16);
  --panel: rgba(255, 255, 255, 0.38);
  --glass: rgba(255, 255, 255, 0.28);
  --header-height: 52px;
  --fullscreen-height: 100vh;
  --fullscreen-height: 100dvh;
  --gallery-height: var(--fullscreen-height);
  --photo-width: auto;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  transition: opacity 500ms ease, visibility 500ms ease;
}

.age-gate.is-accepted {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.intro-video,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-scrim {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
}

.age-panel {
  position: relative;
  width: min(620px, calc(100vw - 40px));
  padding: clamp(22px, 4vw, 44px);
  text-align: center;
  background: var(--glass);
  backdrop-filter: blur(10px);
}

.age-logo {
  display: block;
  width: min(100%, 620px);
  height: auto;
  margin: 0 auto 32px;
  mix-blend-mode: multiply;
}

.age-logo {
  width: min(100%, 520px);
  margin-bottom: 28px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.age-panel h1,
.hero-copy h2,
.about-copy h2 {
  margin: 0;
  font-size: clamp(42px, 9vw, 104px);
  line-height: 0.9;
  font-weight: 800;
  text-transform: uppercase;
}

.age-panel p:not(.kicker),
.hero-copy p:not(.kicker),
.about-copy p,
.contact-form label {
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.55;
}

.age-panel p:not(.kicker) {
  color: #000;
  font-weight: 700;
}

.age-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}

.enter-button,
.contact-form button {
  min-height: 48px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  padding: 0 24px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.exit-link,
.quiet-link,
.scroll-cue {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  height: var(--header-height);
  padding: 4px 24px;
  border-bottom: 1px solid rgba(9, 9, 9, 0.12);
  background: var(--glass);
  backdrop-filter: blur(10px);
}

.brand {
  align-self: center;
  display: block;
  width: max-content;
  max-width: 100%;
}

.brand img {
  display: block;
  width: clamp(140px, 17vw, 230px);
  height: auto;
  mix-blend-mode: multiply;
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}

.main-nav a,
.nav-button {
  color: var(--nav-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--nav-muted);
}

.instagram-link svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.main-nav a.is-active,
.nav-button:hover,
.nav-button:focus-visible,
.instagram-link:hover,
.instagram-link:focus-visible {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: none;
  align-items: end;
  height: 100vh;
  height: 100dvh;
  height: var(--fullscreen-height);
  min-height: var(--fullscreen-height);
  padding: 96px 8vw 9vh;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

.hero.is-active {
  display: grid;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.2));
}

.hero-video {
  z-index: -2;
  filter: none;
}

.section-copy {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto 44px;
  padding: clamp(20px, 3vw, 34px);
  background: var(--glass);
  backdrop-filter: blur(10px);
}

.films-section .section-copy {
  width: auto;
  max-width: 840px;
  margin: 0 0 44px;
  background: transparent;
  backdrop-filter: none;
}

.films-section .kicker {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.55;
}

.section-copy h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.94;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-section {
  display: none;
  height: var(--fullscreen-height);
  padding: 0;
  background: #000;
  overflow: hidden;
}

.gallery-section.is-active {
  display: block;
}

.gallery {
  display: flex;
  gap: 0;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: none;
  scrollbar-width: none;
  overscroll-behavior-x: auto;
  height: var(--gallery-height);
  scroll-padding: 0;
}

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

.photo-panel {
  flex: 0 0 auto;
  width: auto;
  height: var(--gallery-height);
  display: block;
  padding: 0;
  scroll-snap-align: none;
}

.photo-panel figure {
  width: auto;
  height: 100%;
  margin: 0;
  display: block;
  overflow: hidden;
}

.photo-panel img {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  object-fit: contain;
}

.photo-panel figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.films-section,
.about-section {
  display: none;
  height: 100vh;
  height: 100dvh;
  padding: max(112px, 14vh) 8vw 12vh;
  border-top: 1px solid var(--line);
  background: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.films-section.is-active,
.about-section.is-active {
  display: block;
}

.films-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(9, 9, 9, 0.14);
}

.film-card {
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  background: #fff;
}

.film-card:first-child {
  grid-column: 1 / -1;
}

.film-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f3f3f3;
  overflow: hidden;
}

.film-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.film-card h3 {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.about-section {
  position: relative;
  background: #fff;
}

.about-copy {
  position: relative;
  z-index: 1;
  max-width: 840px;
  padding: clamp(20px, 3vw, 34px);
  background: transparent;
}

.about-icon {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 8vw;
  width: clamp(150px, 20vw, 280px);
  height: auto;
  opacity: 0.86;
  transform: translateY(-50%);
  pointer-events: none;
}

.about-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(34px, 5vw, 72px);
}

.about-body {
  display: grid;
  gap: 18px;
}

.about-body p {
  margin: 0;
  max-width: 720px;
}

.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.about-meta span,
.about-meta a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-meta a:hover,
.about-meta a:focus-visible {
  color: var(--ink);
}

.contact-layer {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.contact-layer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.contact-dialog {
  position: relative;
  width: min(760px, calc(100vw - 36px));
  max-height: calc(100dvh - 36px);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: none;
}

.contact-form .kicker,
.contact-form h2,
.contact-message-field,
.trap,
.contact-form button,
.form-status {
  grid-column: 1 / -1;
}

.contact-form h2 {
  margin: -4px 0 2px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 0.9;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  padding: 13px 14px;
  resize: vertical;
}

.contact-form textarea {
  min-height: 112px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
  outline: none;
}

.trap {
  position: absolute;
  left: -9999px;
}

.form-status {
  margin: 0;
  color: var(--ink);
}

.form-status.error {
  color: #a20f1d;
}

.contact-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  :root {
    --header-height: 43px;
    --fullscreen-height: 100vh;
    --fullscreen-height: 100lvh;
    --photo-width: auto;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 4px 12px;
  }

  .brand img {
    width: min(164px, 48vw);
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 12px;
    display: none;
    width: min(210px, calc(100vw - 24px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    border: 1px solid rgba(9, 9, 9, 0.14);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 50px rgba(9, 9, 9, 0.12);
  }

  body.menu-open .main-nav {
    display: flex;
  }

  .main-nav a,
  .nav-button {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
  }

  .instagram-link {
    justify-content: flex-end;
    width: 100%;
    height: 42px;
  }

  .hero {
    height: var(--fullscreen-height);
    min-height: var(--fullscreen-height);
    padding: 66px 14px 8vh;
  }

  .hero-video {
    height: var(--fullscreen-height);
  }

  .gallery-section,
  .gallery,
  .photo-panel {
    height: var(--fullscreen-height);
  }

  .photo-panel {
    width: auto;
  }

  .photo-panel img {
    width: auto;
    height: var(--fullscreen-height);
    object-fit: contain;
  }

  .films-section,
  .about-section {
    grid-template-columns: 1fr;
    padding: 96px 18px 108px;
    background-attachment: scroll;
  }

  .about-icon {
    top: 78px;
    right: 18px;
    width: 86px;
    opacity: 0.72;
    transform: none;
  }

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

  .contact-form {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
  }

  .age-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .enter-button,
  .exit-link,
  .contact-form button {
    justify-content: center;
    width: 100%;
  }
}
