:root {
  --photography-bg: rgb(14, 13, 12);
  --photography-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --photography-spring: cubic-bezier(0.2, 1.08, 0.24, 1);
}

.photo-section {
  position: relative;
  min-height: auto;
  padding: 96px 30px 48px;
  overflow: clip;
  isolation: isolate;
  background: var(--photography-bg);
}

.photography-fixed-logo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  height: 100%;
  pointer-events: none;
}

.photography-fixed-logo .zev-signature {
  color: var(--cream);
  font-family: "EternaloLocal", "Playfair Display", cursive;
  font-size: min(44vw, 680px);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.1em;
  line-height: 0.72;
  opacity: 0.055;
  filter: blur(0.2px);
  transform: rotate(-6deg);
}

.photography-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 34%, rgba(245, 240, 232, 0.055), transparent 34%),
    linear-gradient(180deg, rgba(14, 13, 12, 0.2), rgba(14, 13, 12, 0.82) 72%, rgb(14, 13, 12));
}

.photo-section .photography-bottom-copy {
  position: relative;
  top: auto;
  z-index: 4;
  width: min(720px, calc(100% - 60px));
  margin: 0 0 34px;
  padding: 0;
  pointer-events: auto;
}

.photo-section .photography-bottom-copy h2 {
  max-width: 620px;
}

.photo-section .photography-bottom-copy p {
  max-width: 520px;
}

.photography-overview {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(76px, 8vw, 126px);
  min-height: 0;
  margin: 0;
  padding: 0;
}

.photography-chapter {
  min-width: 0;
}

.photography-chapter-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 18px;
  padding: 8px 0 11px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.22);
  background: var(--photography-bg);
}

body.is-photography-active nav {
  background: rgba(14, 13, 12, 0.96);
  box-shadow: 0 18px 34px rgba(14, 13, 12, 0.38);
  backdrop-filter: blur(18px);
}

.photography-chapter-header h3,
.photography-chapter-header p {
  margin: 0;
  letter-spacing: 0;
}

.photography-chapter-header h3 {
  color: rgba(245, 240, 232, 0.96);
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.2vw, 52px);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.photography-chapter-header p {
  color: rgba(245, 240, 232, 0.54);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.photography-chapter-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.photography-overview-row {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  gap: 12px;
  height: var(--row-height, 300px);
}

.photography-overview-item {
  position: relative;
  display: block;
  flex: var(--photo-aspect, 1) 1 0;
  min-width: 0;
  margin: 0;
  color: inherit;
  text-decoration: none;
  outline: none;
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 260ms ease,
    transform 700ms var(--photography-spring);
}

.photography-overview-item figure {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #171614;
  transform: translate3d(0, 0, 0);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.photography-overview-item::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 54%, rgba(14, 13, 12, 0.34)),
    radial-gradient(circle at 50% 50%, transparent 44%, rgba(14, 13, 12, 0.22));
  opacity: 0.46;
  mix-blend-mode: multiply;
  transition: opacity 520ms var(--photography-ease);
}

.photography-overview-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-position, 50% 50%);
  filter: brightness(0.94) saturate(0.92);
  transform: scale(1.001);
  transition:
    filter 620ms var(--photography-ease),
    transform 900ms var(--photography-spring);
  will-change: transform;
}

.photo-section.is-photo-ready .photography-overview-item {
  opacity: 1;
}

.photography-overview-item:hover,
.photography-overview-item:focus-visible {
  z-index: 2;
  opacity: 1;
  filter: blur(0) brightness(1) saturate(1);
  transform: translate3d(0, -4px, 0);
}

.photography-overview-item:hover::before,
.photography-overview-item:focus-visible::before {
  opacity: 0.28;
}

.photography-overview-item:hover img,
.photography-overview-item:focus-visible img {
  filter: brightness(1) saturate(1);
  transform: scale(1.035);
}

.photography-overview-item:focus-visible figure {
  outline: 1px solid rgba(245, 240, 232, 0.92);
  outline-offset: -1px;
}

.photography-viewer-page {
  min-height: 100svh;
  overflow: hidden;
  color: #111;
  background: #fff;
}

.photography-viewer-page::before {
  background: #fff;
}

.photography-viewer-shell {
  position: relative;
  min-height: 100svh;
  padding: 28px 28px 28px 132px;
  background: #fff;
}

.photography-thumbnail-rail {
  position: fixed;
  top: 92px;
  bottom: 24px;
  left: 24px;
  z-index: 20;
  width: 112px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  mask-image: linear-gradient(180deg, transparent, #000 4%, #000 92%, transparent);
}

.photography-thumbnail-rail::-webkit-scrollbar {
  display: none;
}

.photography-thumbnail-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 100%;
  padding: 2px 3px 84px;
}

.photography-thumbnail {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 74px;
  margin: 0;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  opacity: 0.4;
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 340ms var(--photography-ease),
    border-color 340ms var(--photography-ease),
    filter 420ms var(--photography-ease),
    transform 560ms var(--photography-spring);
  will-change: transform, opacity;
}

.photography-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 102px;
  object-fit: contain;
}

.photography-thumbnail:hover,
.photography-thumbnail:focus-visible {
  opacity: 0.78;
  transform: translate3d(5px, 0, 0);
}

.photography-thumbnail.is-active {
  border-color: transparent;
  opacity: 1;
  filter: brightness(1.08);
  transform: translate3d(8px, 0, 0) scale(1.035);
}

.photography-thumbnail:focus-visible {
  outline: 1px solid #111;
  outline-offset: 3px;
}

.photography-photo-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: calc(100svh - 56px);
  overflow: hidden;
  touch-action: pan-y;
}

.photography-photo-stage picture {
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  max-height: calc(100svh - 126px);
  opacity: 0;
  filter: blur(14px);
  transform: translate3d(0, 14px, 0) scale(0.988);
  transition:
    opacity 320ms var(--photography-ease),
    filter 340ms var(--photography-ease),
    transform 420ms var(--photography-spring);
  will-change: opacity, filter, transform;
}

.photography-photo-stage.is-ready picture {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.photography-photo-stage.is-switching picture {
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(0, -10px, 0) scale(0.992);
}

.photography-main-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - 138px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.photo-viewer-back-wrap {
  position: relative;
  z-index: 2;
  flex: 0 0 54px;
  width: 224px;
  transform: none;
  transition: opacity 260ms var(--photography-ease);
}

.photo-viewer-back-wrap .project-cta {
  --cta-ink: #111;
  --cta-muted: rgba(17, 17, 17, 0.62);
  --cta-hairline: rgba(17, 17, 17, 0.24);
  --cta-line: rgba(17, 17, 17, 0.88);
  --cta-focus: #111;
  width: 224px;
  min-height: 54px;
  margin: 0;
  padding-top: 10px;
  padding-bottom: 15px;
  color: #111;
}

.photo-viewer-back-wrap .project-cta__label,
.photo-viewer-back-wrap .project-cta__arrow {
  top: 16px;
}

.photography-viewer-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.photography-viewer-page.has-error .photography-main-image {
  opacity: 0.16;
}

@media (max-width: 720px) {
  .photo-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .photography-fixed-logo .zev-signature {
    font-size: 58vw;
    opacity: 0.07;
  }

  .photo-section .photography-bottom-copy {
    width: calc(100% - 32px);
    margin-left: 0;
    margin-bottom: 26px;
  }

  .photography-overview {
    gap: 64px;
  }

  .photography-chapter-header {
    margin-bottom: 10px;
    padding: 7px 0 9px;
  }

  .photography-chapter-header h3 {
    font-size: 31px;
  }

  .photography-chapter-header p {
    font-size: 10px;
  }

  .photography-chapter-rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .photography-overview-row {
    display: contents;
    height: auto;
  }

  .photography-overview-item {
    width: 100%;
    aspect-ratio: var(--photo-aspect, 1);
  }

  .photography-overview-item.is-landscape,
  .photography-overview-item.is-chapter-lead {
    grid-column: 1 / -1;
  }

  .photography-viewer-shell {
    padding: 12px 12px 102px;
  }

  .photography-photo-stage {
    height: calc(100svh - 114px);
    touch-action: pan-y pinch-zoom;
  }

  .photography-main-image {
    max-height: calc(100svh - 206px);
  }

  .photography-thumbnail-rail {
    top: auto;
    right: 0;
    bottom: 10px;
    left: 0;
    width: auto;
    height: 82px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 10px env(safe-area-inset-bottom);
    border-top: 1px solid rgba(17, 17, 17, 0.12);
    background: rgba(255, 255, 255, 0.96);
  }

  .photography-thumbnail-list {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: max-content;
    min-height: 0;
    height: 72px;
    padding: 2px 0;
  }

  .photography-thumbnail {
    display: grid;
    place-items: center;
    width: 58px;
    height: 68px;
    padding: 2px;
  }

  .photography-thumbnail img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 62px;
  }

  .photography-thumbnail:hover,
  .photography-thumbnail:focus-visible,
  .photography-thumbnail.is-active {
    transform: translate3d(0, -5px, 0) scale(1.03);
  }

  .photo-viewer-back-wrap {
    width: 194px;
  }

  .photo-viewer-back-wrap .project-cta {
    width: 194px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photography-overview-item,
  .photography-overview-item img,
  .photography-thumbnail,
  .photography-photo-stage picture {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
}
