@font-face {
  font-family: "Tenor Sans";
  src: url("assets/fonts/tenor-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --white: oklch(1 0 0);
  --soft-white: oklch(0.975 0.004 85);
  --ink: oklch(0.18 0.014 76);
  --muted: oklch(0.46 0.018 76);
  --honey: oklch(0.74 0.162 68.1);
  --honey-deep: oklch(0.6 0.155 65);
  --line: oklch(0.88 0.008 76);
  --dark: oklch(0.105 0.008 76);
  --focus: oklch(0.82 0.12 194);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(18px, 4vw, 64px);
  --z-header: 10;
  --z-dialog: 30;
}

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

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: calc(var(--z-dialog) + 1);
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--white);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: var(--z-header);
  height: 88px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Tenor Sans", sans-serif;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.wordmark > span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.site-header nav {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
}

.site-header nav a,
footer > a:last-child {
  position: relative;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a::after,
footer > a:last-child::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 220ms var(--ease-out);
}

.site-header nav a:hover::after,
footer > a:last-child:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--dark);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  animation: hero-settle 1.4s var(--ease-out) both;
}

@keyframes hero-settle {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, oklch(0.05 0 0 / 0.28) 0%, transparent 36%, oklch(0.05 0 0 / 0.58) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1050px, calc(100% - var(--gutter) * 2));
  margin: 0 auto clamp(92px, 12vh, 140px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: end;
  gap: clamp(24px, 5vw, 100px);
}

.hero h1,
.section-heading h2,
.film-heading h2 {
  margin: 0;
  font-family: "Tenor Sans", sans-serif;
  font-weight: 400;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(4rem, 10vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.hero-copy p {
  max-width: 34ch;
  margin: 0 0 7px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.hero-scroll svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 180ms var(--ease-out);
}

.hero-scroll:hover svg {
  transform: translateY(3px);
}

.introduction {
  padding: clamp(88px, 13vw, 190px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(40px, 8vw, 150px);
}

.intro-lead {
  max-width: 17ch;
  margin: 0;
  font-family: "Tenor Sans", sans-serif;
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.intro-body {
  max-width: 42ch;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
  text-wrap: pretty;
}

.gallery-section {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(100px, 12vw, 180px);
}

.section-heading {
  margin-bottom: clamp(28px, 4vw, 56px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2,
.film-heading h2 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.section-heading p,
.film-heading p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(7px, 0.85vw, 14px);
}

.gallery-item {
  position: relative;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 3 / 4;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--soft-white);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 550ms var(--ease-out), filter 300ms var(--ease-out);
}

.gallery-item::after {
  content: "Expand";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  opacity: 0;
  transform: translateY(5px);
  background: oklch(0.08 0 0 / 0.82);
  color: var(--white);
  font-size: 11px;
  font-weight: 650;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.018);
  filter: brightness(0.92);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.film-section {
  padding: clamp(86px, 10vw, 150px) var(--gutter);
  color: var(--white);
  background: var(--dark);
}

.film-heading {
  width: min(1040px, 100%);
  margin: 0 auto clamp(36px, 5vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  align-items: end;
  gap: 32px;
}

.film-heading p {
  color: oklch(0.76 0.01 76);
  font-size: 16px;
}

.video-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: oklch(0.055 0 0);
}

.video-poster {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.video-poster > img,
.video-shell iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-poster > img {
  object-fit: cover;
  opacity: 0.78;
  transition: transform 700ms var(--ease-out), opacity 300ms var(--ease-out);
}

.video-poster:hover > img {
  transform: scale(1.015);
  opacity: 0.64;
}

.play-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(64px, 8vw, 92px);
  height: clamp(64px, 8vw, 92px);
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid oklch(1 0 0 / 0.75);
  border-radius: 50%;
  transition: background 200ms var(--ease-out), transform 200ms var(--ease-out);
}

.play-mark svg {
  width: 32%;
  margin-left: 4px;
  fill: currentColor;
}

.video-poster:hover .play-mark {
  transform: translate(-50%, -50%) scale(1.04);
  background: oklch(1 0 0 / 0.12);
}

.play-label {
  position: absolute;
  right: 22px;
  bottom: 20px;
  font-size: 12px;
  font-weight: 650;
}

footer {
  padding: 44px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: var(--white);
  background: var(--dark);
  border-top: 1px solid oklch(0.3 0.01 76);
}

.wordmark--footer {
  justify-self: start;
}

footer p {
  margin: 0;
  color: oklch(0.72 0.01 76);
  font-size: 13px;
}

footer > a:last-child {
  justify-self: end;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-dialog);
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--white);
  background: oklch(0.06 0 0 / 0.985);
  overflow: hidden;
}

.lightbox::backdrop {
  background: oklch(0.04 0 0 / 0.92);
}

.lightbox-inner {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: grid;
  place-items: center;
  padding: 58px clamp(56px, 8vw, 130px) 28px;
  overflow: hidden;
}

.lightbox figure {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  gap: 16px;
  overflow: hidden;
}

.lightbox figure img {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

.lightbox figcaption {
  width: min(720px, 100%);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: oklch(0.75 0 0);
  font-size: 12px;
}

.lightbox button {
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 17px;
  right: 20px;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.lightbox-close svg,
.lightbox-nav svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 52px;
  height: 64px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  opacity: 0.72;
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-nav--previous { left: 12px; }
.lightbox-nav--next { right: 12px; }

@media (max-width: 760px) {
  .site-header {
    height: 76px;
  }

  .wordmark {
    font-size: 15px;
  }

  .wordmark > span {
    width: 34px;
    height: 34px;
    font-size: 10px;
  }

  .site-header nav {
    gap: 18px;
  }

  .hero-copy {
    width: auto;
    margin: 0 var(--gutter) 104px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(3.75rem, 20vw, 5.4rem);
  }

  .hero-copy p {
    max-width: 29ch;
    font-size: 17px;
  }

  .hero-scroll {
    right: auto;
    left: var(--gutter);
  }

  .introduction {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .intro-lead {
    max-width: 14ch;
  }

  .section-heading,
  .film-heading {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
  }

  .gallery-item {
    min-height: 0;
  }

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

  .gallery-item::after {
    content: "+";
    opacity: 0.82;
    transform: none;
  }

  .lightbox-inner {
    padding: 62px 14px 24px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 12px;
    transform: none;
    background: oklch(0.18 0 0 / 0.8);
  }

  .lightbox-nav--previous { left: 12px; }
  .lightbox-nav--next { right: 12px; }

  .lightbox figcaption {
    padding: 0 62px;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p {
    display: none;
  }
}

@media (max-width: 430px) {
  .site-header nav a:first-child {
    display: none;
  }

  .play-label {
    right: 14px;
    bottom: 12px;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
