@font-face {
  font-family: "Archivo";
  src: url("./assets/fonts/archivo-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("./assets/fonts/archivo-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("./assets/fonts/archivo-black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: oklch(0.09 0 0);
  --surface-low: oklch(0.12 0.004 270);
  --surface-mid: oklch(0.16 0.006 270);
  --surface-high: oklch(0.20 0.008 270);
  --ink: oklch(0.96 0.004 270);
  --muted: oklch(0.72 0.008 270);
  --primary: oklch(0.78 0.018 270);
  --line: oklch(0.34 0.008 270 / 0.55);
  --edge: clamp(1.25rem, 4vw, 4.5rem);
  --section-space: clamp(5.5rem, 13vw, 11.875rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 20;
  --z-dialog: 40;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body:has(.series-dialog[open]),
body:has(.lightbox[open]) {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2 {
  margin: 0;
}

h1,
h2 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--bg);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  padding: 0.75rem var(--edge);
  border-bottom: 1px solid transparent;
  background: oklch(0.08 0 0 / 0.82);
  transition: background-color 300ms var(--ease-out), border-color 300ms var(--ease-out);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: oklch(0.09 0 0 / 0.94);
  backdrop-filter: blur(8px);
}

.brand {
  display: grid;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.25rem);
  white-space: nowrap;
  font-size: clamp(0.72rem, 0.65rem + 0.16vw, 0.85rem);
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding-block: 0.65rem;
  color: var(--primary);
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform 260ms var(--ease-out);
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .nav-contact {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100dvh;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  animation: hero-scale 1.8s var(--ease-out) both;
  background: var(--bg);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-position, 50% center);
  filter: grayscale(1) contrast(1.08);
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 900ms cubic-bezier(0.45, 0, 0.55, 1),
    transform 3.8s linear;
}

.hero-image.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, oklch(0.07 0 0 / 0.94) 0%, oklch(0.07 0 0 / 0.54) 48%, transparent 78%),
    linear-gradient(0deg, oklch(0.07 0 0 / 0.9) 0%, transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--edge) clamp(2rem, 6vh, 4.75rem);
}

.hero-kicker {
  margin-bottom: clamp(1rem, 2.5vh, 1.75rem);
  color: var(--primary);
  font-size: clamp(0.74rem, 0.68rem + 0.2vw, 0.9rem);
  font-weight: 600;
  animation: hero-up 900ms 120ms var(--ease-out) both;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(3.8rem, 10vw, 6rem);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.82;
}

.hero h1 span {
  display: block;
  animation: hero-up 1000ms var(--ease-out) both;
}

.hero h1 span:nth-child(2) {
  margin-left: clamp(1rem, 7vw, 7rem);
  animation-delay: 70ms;
}

.hero-link {
  margin-top: clamp(1.5rem, 4vh, 2.75rem);
  animation: hero-up 900ms 220ms var(--ease-out) both;
}

.text-link,
.gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0.3rem 0;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  transition: gap 220ms var(--ease-out), color 180ms ease;
}

.text-link:hover,
.gallery-link:hover {
  gap: 1.1rem;
  color: var(--primary);
}

.text-link:active,
.gallery-link:active,
.photo:active {
  transform: translateY(1px);
}

.work-section,
.bio-section,
.contact-section {
  padding: var(--section-space) var(--edge);
}

.work-section {
  position: relative;
  min-height: 100dvh;
}

.section-copy {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(38rem, 100%);
  gap: 1.7rem;
}

.work-section h2,
.bio-section h2,
.contact-section h2 {
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.88;
}

.section-copy p,
.category-heading p,
.bio-copy p {
  max-width: 65ch;
  color: var(--muted);
}

.gallery-grid {
  margin-top: clamp(3.5rem, 9vw, 8rem);
}

.photo {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  align-self: start;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: var(--surface-mid);
  cursor: zoom-in;
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.photo img {
  width: 100%;
  height: auto;
  filter: none;
}

.js .work-section .photo::after,
.js .work-section .video-thumbnail::after,
.js .work-section .video-player-frame::after,
.js .work-section .documentary-poster-media::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgb(0 0 0 / 0.001);
  -webkit-backdrop-filter: grayscale(1) contrast(1.07);
  backdrop-filter: grayscale(1) contrast(1.07);
  -webkit-mask-image: linear-gradient(to right, transparent 0 40%, #000 50% 100%);
  mask-image: linear-gradient(to right, transparent 0 40%, #000 50% 100%);
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 300% 100%;
  mask-size: 300% 100%;
  pointer-events: none;
}

.js .work-section.is-color-revealed .photo::after,
.js .work-section.is-color-revealed .video-thumbnail::after,
.js .work-section.is-color-revealed .video-player-frame::after,
.js .work-section.is-color-revealed .documentary-poster-media::after {
  animation: color-sweep-reveal 1.5s linear forwards;
}

.js .work-section.is-color-revealing .photo::after,
.js .work-section.is-color-revealing .video-thumbnail::after,
.js .work-section.is-color-revealing .video-player-frame::after,
.js .work-section.is-color-revealing .documentary-poster-media::after {
  will-change: mask-position;
}

@keyframes color-sweep-reveal {
  from {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }

  to {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}

.color-reveal-trigger {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.category-heading {
  display: grid;
  gap: 1.7rem;
  max-width: 50rem;
}

.category-heading p {
  max-width: 65ch;
  color: var(--muted);
}

.photography {
  overflow: hidden;
  background: oklch(0.105 0.006 270);
}

.photography-heading {
  max-width: 58rem;
}

.photography-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(0.75rem, 1.4vw, 1.4rem);
  row-gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.photography-grid .photography-lead {
  grid-column: 1 / 9;
  grid-row: 1;
}

.photography-grid .photography-offset {
  grid-column: 9 / 13;
  grid-row: 1;
  margin-top: clamp(4.5rem, 10vw, 9rem);
}

.photography-grid .photography-lower-lead {
  grid-column: 1 / 8;
  grid-row: 2;
}

.photography-grid .photography-wide {
  grid-column: 8 / 13;
  grid-row: 2;
  margin-top: clamp(3.5rem, 7vw, 7rem);
}

.photography > .gallery-link,
.portraits > .gallery-link,
.events > .gallery-link {
  margin-top: 2.5rem;
}

.portraits {
  overflow: hidden;
  background: var(--surface-low);
}

.portrait-heading {
  margin-left: clamp(0rem, 10vw, 10rem);
}

.portrait-strip {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(0.75rem, 1.4vw, 1.4rem);
  row-gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.portrait-strip .photo:nth-child(1) {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
}

.portrait-strip .photo:nth-child(2) {
  grid-column: 5 / 13;
  grid-row: 1;
}

.portrait-strip .photo:nth-child(3) {
  grid-column: 5 / 9;
  grid-row: 2;
  margin-top: clamp(0rem, 2vw, 2rem);
}

.portrait-strip .photo:nth-child(4) {
  grid-column: 9 / 13;
  grid-row: 2;
  margin-top: clamp(2rem, 5vw, 5rem);
}

.events {
  background: var(--surface-high);
}

.event-heading {
  max-width: 58rem;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(0.75rem, 1.25vw, 1.25rem);
  row-gap: clamp(1.5rem, 4vw, 4rem);
  margin-left: clamp(0rem, 5vw, 5rem);
  align-items: start;
}

.event-grid .event-main {
  grid-column: 1 / 8;
  grid-row: 1;
}

.event-grid .photo:nth-child(2) {
  grid-column: 8 / 13;
  grid-row: 1;
  margin-top: clamp(3rem, 8vw, 8rem);
}

.event-grid .photo:nth-child(3) {
  grid-column: 2 / 6;
  grid-row: 2;
}

.event-grid .event-wide {
  grid-column: 6 / 13;
  grid-row: 2;
  margin-top: clamp(1rem, 3vw, 3rem);
}

.videos {
  overflow: hidden;
  background: var(--surface-mid);
}

.video-heading {
  max-width: 54rem;
}

.video-heading p {
  position: relative;
}

.video-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 25rem);
  gap: clamp(1.5rem, 3vw, 3.5rem);
  margin-top: clamp(3.5rem, 8vw, 7rem);
  align-items: start;
}

.video-player-frame {
  position: sticky;
  top: 7.5rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg);
}

.video-player-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: none;
}

.video-playlist {
  border-top: 1px solid var(--line);
}

.video-choice {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  width: 100%;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition:
    color 220ms ease,
    padding 300ms var(--ease-out);
}

.video-choice:hover,
.video-choice:focus-visible,
.video-choice.is-active {
  padding-left: 0.75rem;
  color: var(--ink);
}

.video-choice.is-active {
  background: oklch(0.21 0.008 270);
}

.video-thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 500ms var(--ease-out);
}

.video-choice:hover .video-thumbnail img {
  transform: scale(1.035);
}

.video-play-symbol {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  transform: translate(-50%, -50%);
  background: oklch(0.09 0 0 / 0.84);
  color: var(--ink);
  font-size: 0.7rem;
}

.video-choice-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.video-choice-copy strong {
  color: inherit;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.2;
}

.video-choice-copy span {
  font-size: 0.78rem;
}

.video-choice-action {
  display: none;
}

.documentaries {
  overflow: hidden;
  padding-block: clamp(6rem, 8vw, 8rem);
  background: oklch(0.18 0.007 270);
}

.documentary-heading {
  margin-left: clamp(0rem, 12vw, 12rem);
}

.documentary-heading p {
  position: relative;
}

.documentary-cinema {
  display: grid;
  grid-template-columns: minmax(20rem, 0.92fr) minmax(25rem, 1.08fr);
  grid-template-rows: repeat(4, minmax(0, 1fr));
  column-gap: clamp(4rem, 9vw, 10rem);
  align-items: stretch;
  height: clamp(34rem, 60vh, 38rem);
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
}

.documentary-film {
  display: contents;
}

.documentary-film-copy {
  position: relative;
  display: grid;
  grid-column: 2;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 0.55rem 1.25rem;
  align-content: center;
  min-width: 0;
  padding: clamp(0.75rem, 1.2vw, 1rem) clamp(0rem, 1vw, 1rem) clamp(0.75rem, 1.2vw, 1rem) clamp(2.25rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  transition: color 450ms var(--ease-out);
}

.documentary-film:first-child .documentary-film-copy {
  border-top: 1px solid var(--line);
}

.documentary-film:nth-child(1) .documentary-film-copy {
  grid-row: 1;
}

.documentary-film:nth-child(2) .documentary-film-copy {
  grid-row: 2;
}

.documentary-film:nth-child(3) .documentary-film-copy {
  grid-row: 3;
}

.documentary-film:nth-child(4) .documentary-film-copy {
  grid-row: 4;
}

.documentary-film-copy::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: clamp(1rem, 2.2vw, 2rem);
  height: 1px;
  background: currentColor;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 450ms var(--ease-out);
}

.documentary-film-copy h3 {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: 23ch;
  color: inherit;
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.documentary-film-copy p {
  grid-column: 2;
  grid-row: 1;
  color: inherit;
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
  line-height: 1.45;
}

.documentary-film-line {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  color: inherit;
  font-size: 0.76rem;
  font-weight: 600;
}

.documentary-film.is-active .documentary-film-copy {
  color: var(--ink);
}

.documentary-film.is-active .documentary-film-copy::before {
  transform: scaleX(1);
}

.documentary-film-copy:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.documentary-poster {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-column: 1;
  grid-row: 1 / 5;
  align-self: stretch;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 0 6% 0);
  transform: translateY(1.25rem);
  pointer-events: none;
  transition:
    opacity 500ms var(--ease-out),
    visibility 500ms,
    clip-path 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}

.documentary-film.is-active .documentary-poster {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  clip-path: inset(0);
  transform: translateY(0);
  pointer-events: auto;
}

.documentary-poster-media {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: clamp(1rem, 2vw, 2rem);
  background: oklch(0.105 0.004 270);
}

.documentary-poster img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  transition: transform 700ms var(--ease-out);
}

.documentary-poster-label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  transition: color 250ms ease;
}

.documentary-poster-label > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.documentary-poster-label > span:last-child {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  white-space: nowrap;
}

.documentary-poster-label > span:last-child::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(0.08rem);
}

.documentary-poster-label .documentary-poster-action {
  gap: 0.7rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    background-color 250ms ease,
    color 250ms ease,
    transform 250ms var(--ease-out);
}

.documentary-poster-action::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 0.28rem solid transparent;
  border-bottom: 0.28rem solid transparent;
  border-left: 0.45rem solid currentColor;
}

.documentary-poster:hover .documentary-poster-action,
.documentary-poster:focus-visible .documentary-poster-action {
  background: var(--primary);
  color: var(--bg);
  transform: translateX(0.2rem);
}

.documentary-poster:hover .documentary-poster-label {
  color: var(--primary);
}

.documentary-poster:hover img {
  transform: scale(1.012);
}

.documentary-poster:active {
  transform: translateY(1px);
}

.documentary-poster:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 0.45rem;
}

.bio-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(3rem, 10vw, 10rem);
  align-items: center;
  min-height: 92dvh;
  background: var(--bg);
}

.bio-portrait {
  position: relative;
  overflow: hidden;
  width: min(100%, 38rem);
  aspect-ratio: 4 / 5;
  margin: 0;
  background: var(--surface-low);
}

.bio-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
  transition: transform 700ms var(--ease-out);
}

.bio-portrait:hover img {
  transform: scale(1.025);
}

.bio-copy {
  display: grid;
  gap: 2.5rem;
}

.bio-copy h2 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.contact-section {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  justify-content: space-between;
  background: oklch(0.135 0.007 270);
}

.contact-section > h2 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 10vw, 6rem);
}

.contact-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-block: clamp(4rem, 12vw, 10rem);
  background: var(--line);
}

.contact-links a {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 4rem);
  background: oklch(0.135 0.007 270);
  transition: background-color 260ms ease, color 260ms ease;
}

.contact-links a:hover {
  background: var(--ink);
  color: var(--bg);
}

.contact-links span {
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-links strong {
  overflow-wrap: anywhere;
  font-size: clamp(1.25rem, 2.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.contact-links a:hover span {
  color: oklch(0.35 0 0);
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

footer a {
  color: var(--ink);
  font-weight: 600;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 1;
  transform: none;
}

.js .reveal.is-visible {
  animation: reveal-in 850ms var(--ease-out) both;
}

.series-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  background: var(--surface-low);
  color: var(--ink);
}

.series-dialog::backdrop {
  background: oklch(0.03 0 0 / 0.9);
}

.series-dialog[open] {
  display: block;
  overflow-y: auto;
  scrollbar-gutter: stable;
  animation: lightbox-in 300ms var(--ease-out);
}

.series-dialog-bar {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  min-height: clamp(7rem, 12vw, 10rem);
  padding: clamp(1.25rem, 3vw, 3rem) var(--edge);
  border-bottom: 1px solid var(--line);
  background: var(--surface-low);
}

.series-dialog-bar > div {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: baseline;
}

.series-dialog-bar h2 {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.88;
}

.series-dialog-bar p {
  color: var(--muted);
  font-size: 0.82rem;
}

.series-dialog-close {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0.3rem 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.series-grid {
  columns: 3;
  column-gap: clamp(1rem, 2vw, 2rem);
  padding: clamp(1.25rem, 3vw, 3rem) var(--edge) clamp(4rem, 8vw, 8rem);
}

@media (min-width: 769px) {
  .series-grid[data-gallery="evenements"] {
    columns: 2;
  }
}

.series-grid-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 clamp(1rem, 2vw, 2rem);
  break-inside: avoid;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: var(--surface-mid);
  cursor: zoom-in;
}

.series-grid-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 550ms var(--ease-out);
}

.series-grid-item:hover img {
  transform: scale(1.018);
}

.series-grid-item:focus-visible,
.series-dialog-close:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 0.35rem;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  background: oklch(0.06 0 0 / 0.98);
  color: var(--ink);
}

.lightbox::backdrop {
  background: oklch(0.03 0 0 / 0.88);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: auto 1fr;
  animation: lightbox-in 300ms var(--ease-out);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  padding: 0.75rem var(--edge);
  border-bottom: 1px solid var(--line);
}

.lightbox-bar p {
  font-weight: 600;
}

.lightbox-close,
.lightbox-arrow {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.lightbox-close {
  border-bottom: 1px solid currentColor;
  padding: 0.2rem 0;
}

.lightbox-stage {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) 4rem;
  align-items: center;
  min-height: 0;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.lightbox-stage figure {
  display: grid;
  height: 100%;
  min-height: 0;
  margin: 0;
  place-items: center;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: calc(100dvh - 10rem);
  object-fit: contain;
  filter: none;
}

.lightbox-stage figcaption {
  align-self: end;
  padding-top: 0.75rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.lightbox-arrow {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  font-size: 1.5rem;
  transition: transform 200ms var(--ease-out);
}

.lightbox-arrow:hover {
  transform: scale(1.12);
}

@keyframes hero-up {
  from {
    opacity: 0;
    transform: translateY(2.5rem);
  }
}

@keyframes hero-scale {
  from {
    opacity: 0.25;
    transform: scale(1.06);
  }
}

@keyframes lightbox-in {
  from {
    opacity: 0;
  }
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  :root {
    --edge: 1.25rem;
    --section-space: 6.5rem;
  }

  .site-header {
    min-height: 4.25rem;
  }

  .menu-toggle {
    display: block;
    padding: 0.65rem 0;
    font-size: 0.85rem;
    font-weight: 600;
  }

  .site-nav {
    position: fixed;
    inset: 4.25rem 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 2rem var(--edge);
    transform: translateX(100%);
    background: var(--bg);
    transition: transform 450ms var(--ease-out);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 0.65rem 0;
    color: var(--ink);
    font-size: clamp(1.45rem, 7vw, 2rem);
    letter-spacing: -0.03em;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-content {
    padding-bottom: 2rem;
  }

  .hero-media img {
    object-position: var(--hero-position-mobile, var(--hero-position, 50% center));
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, oklch(0.06 0 0 / 0.94) 0%, oklch(0.06 0 0 / 0.2) 70%),
      linear-gradient(90deg, oklch(0.06 0 0 / 0.68), transparent);
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3.2rem, 16vw, 5.2rem);
  }

  .hero h1 span:nth-child(2) {
    margin-left: 0;
  }

  .work-section {
    min-height: auto;
  }

  .work-section h2 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .video-heading h2 {
    font-size: clamp(2.65rem, 12vw, 3rem);
  }

  .documentary-heading h2 {
    font-size: clamp(2.1rem, 10.5vw, 2.8rem);
  }

  .documentaries {
    padding-block: 4.5rem;
  }

  .portrait-strip,
  .photography-grid,
  .event-grid,
  .bio-section,
  .contact-links {
    grid-template-columns: 1fr;
  }

  .portrait-strip,
  .photography-grid,
  .event-grid {
    height: auto;
    grid-template-rows: none;
    margin-left: 0;
  }

  .portrait-heading,
  .documentary-heading,
  .photography-heading {
    margin-left: 0;
  }

  .photography-grid .photography-lead,
  .photography-grid .photography-offset,
  .photography-grid .photography-lower-lead,
  .photography-grid .photography-wide,
  .event-grid .event-main,
  .event-grid .event-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-grid > .photo:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
  }

  .gallery-grid {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 1.25rem;
    width: 100%;
    margin-top: 3rem;
    overflow: visible;
  }

  .series-dialog-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: start;
    min-height: 8.5rem;
  }

  .series-dialog-bar > div {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    gap: 0.5rem;
    min-width: 0;
  }

  .series-dialog-close {
    grid-column: 2;
    grid-row: 1;
  }

  .series-dialog-bar h2 {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
  }

  .series-grid {
    columns: 1;
    column-gap: 0;
    padding-top: 1.25rem;
  }

  .series-grid-item {
    margin-bottom: 1.25rem;
  }

  .gallery-grid .photo {
    height: auto;
    aspect-ratio: auto;
    margin-top: 0;
  }

  .video-workspace {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .video-player-frame {
    position: static;
    width: calc(100% + var(--edge));
  }

  .video-choice {
    grid-template-columns: 6.5rem minmax(0, 1fr);
  }

  .documentary-cinema {
    display: flex;
    gap: 1rem;
    height: auto;
    width: calc(100% + var(--edge));
    margin-top: 2rem;
    padding: 0 var(--edge) 0.75rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 0 var(--edge);
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--primary) transparent;
    scrollbar-width: thin;
  }

  .documentary-cinema::-webkit-scrollbar {
    height: 2px;
  }

  .documentary-cinema::-webkit-scrollbar-track {
    background: transparent;
  }

  .documentary-cinema::-webkit-scrollbar-thumb {
    background: var(--primary);
  }

  .documentary-film {
    display: grid;
    flex: 0 0 min(82vw, 21rem);
    align-content: start;
    gap: 0.85rem;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .documentary-film-copy,
  .documentary-film:nth-child(n) .documentary-film-copy {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    order: 2;
    gap: 0.4rem;
    padding: 0.8rem 0 0;
    border-top: 1px solid var(--line);
    border-bottom: 0;
    color: var(--ink);
    cursor: default;
  }

  .documentary-film-copy::before {
    display: none;
  }

  .documentary-film-copy h3 {
    grid-column: 1;
    grid-row: auto;
    max-width: 22ch;
    font-size: clamp(1.4rem, 6vw, 1.75rem);
    line-height: 1.03;
  }

  .documentary-film-line,
  .documentary-film-copy p {
    grid-column: 1;
    grid-row: auto;
  }

  .documentary-poster,
  .documentary-film.is-active .documentary-poster {
    position: static;
    display: grid;
    grid-template-rows: auto auto;
    grid-column: 1;
    grid-row: auto;
    order: 1;
    width: 100%;
    opacity: 1;
    visibility: visible;
    clip-path: none;
    transform: none;
    pointer-events: auto;
  }

  .documentary-poster-media {
    min-height: 0;
    aspect-ratio: 5 / 4;
    padding: 0.75rem;
  }

  .documentary-poster img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .documentary-poster-label {
    display: flex;
    align-items: stretch;
    padding: 0.65rem 0 0;
    border-bottom: 0;
  }

  .documentary-poster-label > span:first-child {
    display: none;
  }

  .documentary-poster-label .documentary-poster-action {
    justify-content: center;
    width: 100%;
    height: 2.75rem;
    min-height: 2.75rem;
    padding-block: 0;
    box-sizing: border-box;
  }

  .bio-section {
    min-height: auto;
  }

  .bio-portrait {
    width: 100%;
    aspect-ratio: 4 / 5;
  }

  .bio-portrait img {
    object-position: 40% center;
  }

  .contact-links {
    gap: 1px;
  }

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

  .lightbox-stage {
    grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
    padding: 0.75rem;
  }

  .lightbox-arrow {
    width: 2.5rem;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-image {
    transform: none;
  }

    .js .work-section.is-color-revealed .photo::after,
    .js .work-section.is-color-revealed .video-thumbnail::after,
    .js .work-section.is-color-revealed .video-player-frame::after,
    .js .work-section.is-color-revealed .documentary-poster-media::after {
      animation: color-sweep-reveal 1.5s linear forwards !important;
    }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled {
    background: var(--bg);
    backdrop-filter: none;
  }
}
