
/* =====================================
   STAN GROSSEN — EDITORIAL PORTFOLIO
===================================== */

:root {
  --bg: #080808;
  --fg: #f2f0ec;
  --muted: #92918d;
  --line: #30302e;
  --panel: #111110;

  /* Hauteurs fixes : l'accueil est calculé pour tenir pile dans l'écran */
  --header-h: 76px;
  --footer-h: 56px;
  --hero-gap-top: 20px;
  --hero-gap-bottom: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "aktiv-grotesk", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  cursor: pointer;
}

/* HEADER */

.site-header {
  height: var(--header-h);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: rgba(8, 8, 8, .82);
  backdrop-filter: blur(14px);
}

.brand {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.07em;
}

.brand span {
  font-size: 9px;
  vertical-align: top;
  margin-left: 3px;
}

.header-location,
.eyebrow,
.hero-kicker,
.hero-bottomline,
.hero-discover,
.hero-index,
.about-image > span,
.discipline-list > div > span,
.project-meta > div > span,
.project-meta > span,
.contact-details span,
.site-footer,
.side-menu-bottom {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.header-location {
  color: var(--muted);
}

/* THREE-LINE MENU BUTTON */

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  padding: 8px;
}

.menu-toggle span {
  height: 1px;
  background: var(--fg);
  display: block;
  transition: width .25s;
}

.menu-toggle span:nth-child(1),
.menu-toggle span:nth-child(3) {
  width: 25px;
}

.menu-toggle span:nth-child(2) {
  width: 18px;
}

.menu-toggle:hover span:nth-child(2) {
  width: 25px;
}

.menu-toggle span {
  transition: width .25s, transform .3s, opacity .2s;
}

/* Menu ouvert : les trois traits deviennent une croix */
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* SIDE MENU — collé sous la barre du haut, jusqu'en bas de l'écran */

.side-menu {
  position: fixed;
  z-index: 42;
  right: 0;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  width: min(440px, 88vw);
  background: #111;
  transform: translateX(102%);
  transition: transform .45s cubic-bezier(.77, 0, .18, 1);
  padding: 32px 42px;
  display: flex;
  flex-direction: column;
}

.side-menu.open {
  transform: translateX(0);
}

.side-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.menu-close {
  border: 0;
  background: none;
  color: var(--fg);
  font-size: 32px;
  font-weight: 200;
}

.side-nav {
  display: flex;
  flex-direction: column;
  /* Liens alignés en haut ; le bas du menu reste collé en bas */
  margin: 28px 0 auto;
  gap: 8px;
}

.side-nav a {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 500;
  letter-spacing: -.06em;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .25s, color .25s;
}

.side-nav a:hover,
.side-nav a.current {
  padding-left: 12px;
  color: #aaa;
}

.side-menu-bottom {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}

.side-menu-bottom a {
  color: var(--fg);
}

.menu-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(0, 0, 0, .55);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* PAGE NAVIGATION */

.page {
  display: none;
  /* Page + pied de page = au moins la hauteur de l'écran : le pied de page reste en bas */
  min-height: calc(100vh - var(--footer-h));
  min-height: calc(100svh - var(--footer-h));
  padding-top: var(--header-h);
  animation: pageIn .55s ease both;
}

.page.active {
  display: block;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================
   HOME — HERO
===================================== */

.home-page {
  padding: var(--header-h) 0 0;
  min-height: 0;
}

.hero-frame {
  /* En-tête + cadre + pied de page = exactement la hauteur de l'écran */
  --hero-h: calc(var(--header-h) + var(--hero-gap-top) + var(--hero-gap-bottom) + var(--footer-h));
  height: calc(100vh - var(--hero-h));
  height: calc(100svh - var(--hero-h));
  min-height: 320px;
  margin: var(--hero-gap-top) 5vw var(--hero-gap-bottom);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #141414;

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

/* COLLAGE
   Trois dispositions (desktop 16:9, tablette, mobile). Chaque case a
   exactement les proportions de sa photo : rien n'est rogné.
   Positions en % de la boîte du collage, marges noires comprises.
   Sur tous les écrans, le collage prend toute la largeur du cadre et
   le cadre suit sa hauteur (pas de bandes noires sur les côtés). */

.hero-frame {
  height: auto;
  min-height: 0;
  display: block;
  background: #000;
}

.hero-collage {
  position: relative;
  z-index: -2;
  width: 100%;
  aspect-ratio: 1920 / 1080;
}

.hero-name {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-collage img {
  position: absolute;
  display: block;
  object-fit: cover;
  filter: brightness(.85) saturate(.9);
}

/* Desktop — 1920 × 1080 */
.c-protest  { left: .625%;   top: 1.111%;  width: 32.5%;   height: 38.519%; }
.c-concert  { left: 33.75%;  top: 1.111%;  width: 32.5%;   height: 38.519%; }
.c-girl     { left: 66.875%; top: 1.111%;  width: 32.5%;   height: 38.519%; }
.c-dancer   { left: .625%;   top: 40.741%; width: 26.146%; height: 58.148%; }
.c-officers { left: 27.396%; top: 40.741%; width: 26.146%; height: 58.148%; }
.c-portrait { left: 54.167%; top: 40.741%; width: 26.198%; height: 58.148%; }
.c-aerial   { left: 80.99%;  top: 40.741%; width: 18.385%; height: 58.148%; }

/* Écrans en largeur (ordinateur) : le cadre tient pile dans l'écran avec
   l'en-tête et le pied de page, et le collage le remplit entièrement.
   Sur un écran plus large que 16:9, les photos sont légèrement recadrées. */
@media (min-aspect-ratio: 1/1) {

  .hero-frame {
    height: calc(100vh - var(--hero-h));
    height: calc(100svh - var(--hero-h));
  }

  .hero-collage {
    height: 100%;
    aspect-ratio: auto;
  }
}

/* Écrans en hauteur (tablette, mobile) */
@media (max-aspect-ratio: 999/1000) {

  .hero-collage {
    aspect-ratio: 390 / 652;
  }

  /* Mobile — 390 × 652 : disposition du canevas, sans la fillette au chat */
  .c-protest  { left: 2.051%;  top: 1.227%;  width: 46.923%; height: 18.712%; }
  .c-concert  { left: 51.026%; top: 1.227%;  width: 46.923%; height: 18.712%; }
  .c-dancer   { left: 2.051%;  top: 21.166%; width: 46.923%; height: 35.123%; }
  .c-officers { left: 51.026%; top: 21.166%; width: 46.923%; height: 35.123%; }
  .c-portrait { left: 2.051%;  top: 57.515%; width: 55.128%; height: 41.258%; }
  .c-aerial   { left: 59.231%; top: 57.515%; width: 38.718%; height: 41.258%; }
  .hero-collage .c-girl { display: none; }
}

/* Téléphone : le collage garde ses proportions (rien n'est coupé) et
   reste centré dans l'écran, le pied de page en bas, sans scroll. */
@media (max-aspect-ratio: 999/1000) and (max-width: 599px) {

  .home-page {
    min-height: calc(100vh - var(--footer-h));
    min-height: calc(100svh - var(--footer-h));
    flex-direction: column;
    justify-content: center;
  }

  .home-page.active {
    display: flex;
  }
}

@media (max-aspect-ratio: 999/1000) and (min-width: 600px) {

  .hero-collage {
    aspect-ratio: 768 / 947;
  }

  /* Tablette — 768 × 947 */
  .c-protest  { left: 1.563%;  top: 1.267%;  width: 47.656%; height: 25.766%; }
  .c-concert  { left: 50.781%; top: 1.267%;  width: 47.656%; height: 25.766%; }
  .c-dancer   { left: 1.563%;  top: 28.3%;   width: 31.25%;  height: 31.679%; }
  .c-officers { left: 34.375%; top: 28.3%;   width: 31.25%;  height: 31.679%; }
  .c-portrait { left: 67.188%; top: 28.3%;   width: 31.25%;  height: 31.679%; }
  .c-girl     { left: 1.563%;  top: 61.246%; width: 69.271%; height: 37.487%; }
  .hero-collage .c-girl { display: block; }
  .c-aerial   { left: 72.396%; top: 61.246%; width: 26.042%; height: 37.487%; }
}

/* BLACK TRANSPARENT LAYER */

.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.58),
      rgba(0,0,0,.23) 60%,
      rgba(0,0,0,.42)
    ),
    linear-gradient(
      0deg,
      rgba(0,0,0,.35),
      transparent 45%
    );
}

/* HERO TYPOGRAPHY */

.hero-name {
  text-align: center;
  padding: 30px 20px;
  text-shadow: 0 3px 35px rgba(0,0,0,.35);
}

.hero-kicker {
  display: block;
  color: rgba(255,255,255,.8);
  font-size: 9px;
}

.hero-name h1 {
  font-size: clamp(38px, 6.5vw, 95px);
  line-height: .78;
  letter-spacing: -.035em;
  font-weight: 500;
  margin: 26px 0 22px;
}

.hero-name h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.04em;
}

.hero-bottomline {
  color: rgba(255,255,255,.82);
  font-size: 9px;
}

.hero-discover {
  position: absolute;
  bottom: 30px;
  left: 34px;
  display: flex;
  gap: 20px;
  align-items: center;
  color: white;
  font-size: 9px;
}

.hero-discover span {
  font-size: 18px;
}

.hero-index {
  position: absolute;
  right: 34px;
  bottom: 34px;
  color: rgba(255,255,255,.72);
  font-size: 9px;
}

/* =====================================
   INTERIOR PAGES
===================================== */

.content-page {
  /* Marges qui suivent la hauteur de l'écran : le contenu tient sans scroller */
  padding: calc(var(--header-h) + clamp(28px, 6vh, 74px)) 8vw clamp(28px, 6vh, 70px);
}

.page-intro {
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(20px, 3.5vh, 35px);
  margin-bottom: clamp(28px, 5vh, 55px);
}

.page-intro h1 {
  font-size: clamp(56px, min(10vw, 16vh), 145px);
  line-height: .82;
  letter-spacing: -.09em;
  font-weight: 500;
  margin: 30px 0 0;
}

.page-intro h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 9vw;
  align-items: start;
}

.about-image {
  height: 620px;
  position: relative;
  overflow: hidden;
  background: #1b1b1b;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.85);
}

.about-image > span {
  position: absolute;
  bottom: 18px;
  left: 18px;
  color: white;
  text-shadow: 0 2px 12px #000;
}

.about-copy {
  max-width: 540px;
  padding-top: 10px;
}

.about-copy p {
  font-size: 14px;
  line-height: 1.9;
  color: #b9b7b1;
  margin: 0 0 22px;
}

.about-copy .about-lead {
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.5;
  color: var(--fg);
  letter-spacing: -.025em;
}

.inline-link {
  display: inline-flex;
  gap: 24px;
  border-bottom: 1px solid #777;
  padding: 12px 0;
  margin-top: 12px;
  font-size: 13px;
}

/* SERVICES */

.discipline-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 90px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.discipline-list > div > span {
  color: var(--muted);
}

.discipline-list h2 {
  font-size: 24px;
  letter-spacing: -.05em;
  font-weight: 500;
  margin: 6px 0 8px;
}

.discipline-list p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* =====================================
   PROJECTS
===================================== */

.projects-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.projects-intro h1 {
  flex-basis: 100%;
}

.projects-intro > p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  max-width: 350px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 75px 22px;
}

.project-card {
  min-width: 0;
}

.project-large {
  grid-column: span 8;
}

.project-small {
  grid-column: span 5;
}

/* Mise en page éditoriale répétée tous les 6 projets (classes posées par script.js) */

.slot-1 {
  grid-column: 1 / span 8;
}

.slot-2 {
  grid-column: 9 / span 4;
  margin-top: 130px;
}

.slot-3 {
  grid-column: 2 / span 5;
}

.slot-4 {
  grid-column: 7 / span 6;
  margin-top: 100px;
}

.slot-5 {
  grid-column: 1 / span 6;
}

.slot-6 {
  grid-column: 8 / span 5;
  margin-top: 80px;
}

.project-image {
  width: 100%;
  height: clamp(280px, 45vw, 600px);
  padding: 0;
  border: 0;
  background: #1d1d1d;
  display: block;
  overflow: hidden;
}

.project-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--muted);
}

.state-message {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.project-small .project-image {
  height: clamp(250px, 34vw, 460px);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
  filter: brightness(.9);
}

.project-image:hover img {
  transform: scale(1.035);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-top: 14px;
}

.project-meta > div > span,
.project-meta > span {
  color: var(--muted);
  font-size: 9px;
}

.project-meta h2 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.04em;
  margin: 6px 0;
}

/* =====================================
   PROJECT DETAIL
===================================== */

.back-link {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 40px;
  transition: color .25s;
}

.back-link:hover {
  color: var(--fg);
}

.project-header {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 340px);
  gap: 40px 8vw;
  align-items: end;
}

.project-header .eyebrow,
.project-header h1 {
  grid-column: 1 / -1;
}

.project-header h1 {
  margin-top: 0;
}

.project-description p {
  font-size: 15px;
  line-height: 1.8;
  color: #b9b7b1;
  margin: 0 0 14px;
  max-width: 620px;
}

.project-description p:last-child {
  margin-bottom: 0;
}

.project-facts {
  display: flex;
  gap: 50px;
  margin: 0;
}

.project-facts dt {
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--muted);
}

.project-facts dd {
  margin: 8px 0 0;
  font-size: 13px;
  color: #d0cec8;
}

.project-gallery {
  columns: 2;
  column-gap: 22px;
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  margin: 0 0 22px;
  background: #1d1d1d;
  break-inside: avoid;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(.92);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s;
}

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

.project-pager {
  margin-top: 90px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.project-pager:empty {
  display: none;
}

.pager-next {
  display: block;
  text-align: right;
}

.pager-next .eyebrow {
  color: var(--muted);
}

.pager-title {
  display: block;
  font-size: clamp(38px, 6vw, 90px);
  font-weight: 500;
  letter-spacing: -.07em;
  line-height: .9;
  margin-top: 18px;
  transition: color .25s;
}

.pager-title em {
  font-family: Georgia, serif;
  font-weight: 400;
}

.pager-next:hover .pager-title {
  color: #aaa;
}

/* =====================================
   CONTACT
===================================== */

.contact-page {
  min-height: calc(100vh - var(--footer-h));
  min-height: calc(100svh - var(--footer-h));
  flex-direction: column;
}

.contact-page.active {
  display: flex;
}

.contact-page .page-intro {
  border: 0;
  margin: 0;
  padding: 0;
}

.contact-page .page-intro h1 {
  font-size: clamp(56px, min(12vw, 15vh), 170px);
}

.contact-content {
  margin: clamp(24px, 4vh, 50px) 0 0 auto;
  max-width: 560px;
  width: 55%;
}

.contact-content > p {
  font-size: 18px;
  line-height: 1.7;
  color: #b9b7b1;
  max-width: 420px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  font-size: clamp(19px, 3vw, 34px);
  border-bottom: 1px solid #777;
  padding: 15px 0;
  margin-top: 20px;
  letter-spacing: -.04em;
}

.contact-details {
  display: flex;
  gap: 70px;
  margin-top: clamp(24px, 5vh, 85px);
}

.contact-details span {
  color: var(--muted);
  font-size: 9px;
}

.contact-details p {
  font-size: 12px;
  color: #d0cec8;
}

/* Sur ordinateur : le texte de contact à côté du titre plutôt qu'en
   dessous, pour que la page tienne dans l'écran avec le pied de page. */
@media (min-width: 761px) {

  .contact-page {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    align-content: center;
    gap: 40px 5vw;
  }

  .contact-page .contact-content {
    margin: 0;
    width: 42%;
  }
}

/* FOOTER */

.site-footer {
  height: var(--footer-h);
  border-top: 1px solid var(--line);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  white-space: nowrap;
  color: var(--muted);
  font-size: 9px;
}

.site-footer a {
  color: var(--fg);
}

/* =====================================
   LIGHTBOX
===================================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.97);
  z-index: 60;

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

  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  max-width: 84vw;
  max-height: 84vh;
  object-fit: contain;
  transform: scale(.94);
  transition: transform .35s;
}

.lightbox.open .lightbox-image {
  transform: scale(1);
}

.lightbox button {
  position: absolute;
  border: 0;
  background: none;
  color: white;
  font-size: 34px;
}

.lightbox-close {
  top: 20px;
  right: 28px;
}

.lightbox-prev {
  left: 25px;
}

.lightbox-next {
  right: 25px;
}

.lightbox-counter {
  position: absolute;
  bottom: 22px;
  color: #aaa;
  font-size: 10px;
  letter-spacing: .1em;
}

body.locked {
  overflow: hidden;
}

/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media (max-width: 760px) {

  .site-header {
    padding: 0 5vw;
  }

  :root {
    --header-h: 66px;
    --footer-h: 46px;
    --hero-gap-top: 10px;
    --hero-gap-bottom: 10px;
  }

  .header-location {
    display: none;
  }

  .hero-frame {
    margin-left: 4vw;
    margin-right: 4vw;
  }

  .hero-name h1 {
    font-size: 8.5vw;
    margin: 20px 0;
  }

  .hero-kicker,
  .hero-bottomline {
    font-size: 8px;
  }

  .hero-discover {
    left: 18px;
    bottom: 20px;
  }

  .hero-index {
    right: 18px;
    bottom: 23px;
    font-size: 8px;
  }

  .content-page {
    padding: calc(var(--header-h) + clamp(24px, 5vh, 50px)) 6vw clamp(24px, 5vh, 50px);
  }

  .page-intro {
    margin-bottom: clamp(20px, 4vh, 35px);
  }

  .page-intro h1 {
    font-size: min(16vw, 11vh);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-image {
    height: 110vw;
    max-height: 570px;
  }

  .discipline-list {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 55px;
  }

  .discipline-list > div {
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }

  .discipline-list h2 {
    margin: 4px 0 5px;
  }

  .project-grid {
    display: block;
  }

  .project-card {
    margin: 0 0 42px;
    width: 100%;
  }

  .project-header {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .project-gallery {
    columns: 1;
  }

  .gallery-item {
    margin-bottom: 12px;
  }

  .project-pager {
    margin-top: 60px;
  }

  .project-image,
  .project-small .project-image {
    height: 105vw;
    max-height: 540px;
  }

  .projects-intro {
    display: block;
  }

  .projects-intro > p {
    margin-top: 25px;
  }

  .contact-content {
    width: 100%;
    margin: clamp(20px, 4vh, 50px) 0 0;
  }

  .contact-page .page-intro h1 {
    font-size: min(18vw, 12vh);
  }

  .contact-details {
    gap: 25px;
    flex-wrap: wrap;
    margin-top: clamp(24px, 5vh, 60px);
  }

  .site-footer {
    gap: 10px;
    font-size: 8px;
    letter-spacing: .08em;
  }

  .side-menu {
    padding: 25px 26px;
  }

  .side-nav a {
    font-size: 42px;
  }

  .lightbox-image {
    max-width: 90vw;
    max-height: 78vh;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }
}
