:root {
  --black: #050505;
  --dark: #0d0d0d;
  --white: #ffffff;
  --gray: #b9b9b9;
  --red: #e21b23;
  --purple: #8b2cff;
  --border: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  font-family: "Montserrat", Arial, sans-serif;

  background:
    radial-gradient(
      circle at 30% 48%,
      rgba(116, 33, 170, 0.28),
      transparent 29%
    ),
    linear-gradient(
      180deg,
      #030303 0%,
      #080808 100%
    );

  color: var(--white);

  min-height: 100vh;
  min-height: 100dvh;

  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;

  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}


/* =========================
   HEADER
   ========================= */

.gallery-header {
  width: min(95%, 1880px);
  margin: 0 auto;
  min-height: 92px;

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

  gap: 30px;

  position: relative;
  z-index: 20;
}

.gallery-brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gallery-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.gallery-nav a {
  font-size: 0.86rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.gallery-nav a:hover {
  color: var(--purple);
}

.gallery-book-button {
  background: var(--red);
  padding: 13px 22px;
}

.gallery-book-button:hover {
  background: #b80f16;
  color: #fff !important;
}


/* =========================
   MAIN PAGE
   ========================= */

.gallery-page {
  width: 100%;
  min-height: 0;
  display: grid;
}

.gallery-stage {
  width: min(97%, 1900px);
  height: 100%;
  min-height: 0;

  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1.48fr;

  align-items: center;
  gap: 0;

  position: relative;
}


/* =========================
   LEFT SIDE
   ========================= */

.gallery-intro {
  position: relative;

  min-height: 720px;

  display: flex;
  align-items: flex-end;

  overflow: visible;
}

.gallery-copy {
  position: absolute;

  left: 0;
  top: 105px;

  width: 285px;

  z-index: 10;
}

.gallery-hello {
  color: var(--purple);

  font-size: 3rem;
  font-style: italic;

  margin-bottom: 8px;
}

.gallery-copy h1 {
  font-size: clamp(
    2rem,
    2.65vw,
    3.25rem
  );

  line-height: 1.02;

  text-transform: uppercase;

  letter-spacing: -0.04em;
}

.gallery-copy h1 span {
  display: block;
  color: var(--white);
}

.gallery-instructions {
  margin-top: 30px;

  max-width: 235px;

  color: #d8d8d8;

  font-size: 1rem;
  line-height: 1.55;
}

.gallery-instructions strong {
  color: var(--purple);
}


/* =========================
   MODEL - LOCKED
   ========================= */

.gallery-model-wrap {
  position: absolute;

  left: 150px;
  right: -90px;

  top: 0;
  bottom: 0;

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

  overflow: visible;

  z-index: 4;
}

.gallery-model-wrap::before {
  content: "";

  position: absolute;

  width: 82%;
  height: 88%;

  right: 0;
  bottom: 0;

  background:
    radial-gradient(
      circle at center,
      rgba(132, 46, 210, 0.54),
      transparent 63%
    );

  filter: blur(42px);

  z-index: -1;
}

.gallery-model {
  width: auto !important;

  height: clamp(
    700px,
    76dvh,
    900px
  ) !important;

  max-height: none !important;
  max-width: none !important;

  object-fit: contain;
  object-position: bottom center;

  filter:
    drop-shadow(
      0 30px 50px
      rgba(0, 0, 0, 0.75)
    )
    drop-shadow(
      0 0 24px
      rgba(115, 28, 180, 0.30)
    );
}


/* =========================
   HEAD PLAY BUTTON
   ========================= */

.gallery-head-play-wrap {
  position: absolute;

 left: 102%;
  top: -95px;

  transform: translateX(-50%);

  width: 260px;

  display: flex;
  flex-direction: column;
  align-items: center;

  z-index: 15;
}

.gallery-head-play {
  width: 72px;
  height: 72px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  border: 2px solid #d6a7ff;

  background: rgba(116, 33, 170, 0.16);

  color: #ffffff;

  font-size: 1.65rem;

  cursor: pointer;

  box-shadow:
    0 0 12px rgba(139, 44, 255, 0.8),
    0 0 34px rgba(139, 44, 255, 0.4);

  transition: 0.25s ease;
}

.gallery-head-play:hover {
  transform: scale(1.06);
}

.gallery-head-play-wrap p {
  margin-top: 10px;

  color: #d5d5d5;

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.09em;

  text-transform: uppercase;

  text-align: center;
}/* =========================
   CAMERA
   ========================= */

.camera-gallery {
  position: relative;
  align-self: center;
}

.camera-wrap {
  position: relative;

  width: 100%;
  max-width: 1400px;

  margin: 0 auto;
}

.camera-body {
  width: 100%;

  position: relative;

  z-index: 4;
}


/* =========================
   CAMERA LCD - LOCKED
   ========================= */

.camera-screen {
  position: absolute;

  left: 16.55%;
  top: 43.6%;

  width: 52.9%;
  height: 50.2%;

  overflow: hidden;

  background: #060606;

  z-index: 6;

  cursor: zoom-in;
}

.camera-screen img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  display: block;

  transition:
    opacity 0.35s ease,
    transform 0.6s ease;
}

.camera-screen img.gallery-changing {
  opacity: 0;

  transform: scale(1.015);
}


/* =========================
   CLICK LCD TO ENLARGE
   ========================= */

.gallery-enlarge-hotspot {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;

  background: transparent;

  cursor: zoom-in;

  z-index: 10;
}


/* =========================
   CAMERA HOTSPOTS
   ========================= */

.camera-hotspot {
  position: absolute;

  z-index: 12;

  border: 0;

  background: transparent;

  cursor: pointer;
}

.camera-play-hotspot {
  right: 4.8%;
  bottom: 8.5%;

  width: 5.5%;
  height: 6.8%;

  border-radius: 50%;
}

.camera-play-hotspot:hover {
  box-shadow:
    0 0 26px
    rgba(139, 44, 255, 0.75);
}

.camera-prev-hotspot {
  right: 11.5%;
  bottom: 15.5%;

  width: 4.5%;
  height: 6%;
}

.camera-next-hotspot {
  right: 4.8%;
  bottom: 15.5%;

  width: 4.5%;
  height: 6%;
}


/* =========================
   GALLERY CONTROLS
   ========================= */

.gallery-controls {
  width: min(76%, 880px);

  margin: 8px auto 0;

  display: grid;
  grid-template-columns: 1fr auto 1fr;

  align-items: center;

  gap: 28px;
}

.gallery-control-button {
  border: 0;

  background: transparent;

  color: var(--white);

  font-size: 0.95rem;
  font-weight: 700;

  cursor: pointer;

  transition: 0.25s ease;
}

.gallery-control-button:first-child {
  justify-self: start;
}

.gallery-control-button:last-child {
  justify-self: end;
}

.gallery-control-button:hover {
  color: var(--purple);
}

.gallery-main-play {
  width: 82px;
  height: 82px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  border: 2px solid #d6a7ff;

  background: rgba(116, 33, 170, 0.16);

  color: var(--white);

  font-size: 1.8rem;

  cursor: pointer;

  box-shadow:
    0 0 12px rgba(139, 44, 255, 0.8),
    0 0 34px rgba(139, 44, 255, 0.4);

  transition: 0.25s ease;
}

.gallery-main-play:hover {
  transform: scale(1.06);
}

.gallery-status {
  text-align: center;

  margin-top: 8px;

  font-size: 0.8rem;
  font-weight: 700;

  letter-spacing: 0.09em;

  text-transform: uppercase;

  color: #d5d5d5;
}


/* =========================
   FOOTER - LOCKED
   ========================= */

.gallery-footer {
  width: min(97%, 1900px);

  margin: 0 auto;

  min-height: 115px;

  display: grid;

  grid-template-columns:
    auto
    1fr
    auto;

  align-items: center;

  gap: 35px;

  border-top: 1px solid var(--border);
}

.gallery-footer-logo img {
  width: 170px;
}

.gallery-social {
  display: flex;

  align-items: center;

  gap: 18px;

  flex-wrap: wrap;

  color: var(--gray);

  font-size: 0.82rem;
}

.gallery-social span {
  color: var(--white);

  font-weight: 700;

  text-transform: uppercase;
}

.gallery-social a:hover {
  color: var(--purple);
}

.gallery-domain {
  color: var(--purple);

  font-weight: 700;

  letter-spacing: 0.07em;
}


/* ==================================================
   FULL IMAGE LIGHTBOX
   ================================================== */

.gallery-lightbox {
  position: fixed;

  inset: 0;

  width: 100vw;
  height: 100vh;
  height: 100dvh;

  display: grid;

  grid-template-columns:
    minmax(70px, 0.15fr)
    minmax(0, 1fr)
    minmax(70px, 0.15fr);

  grid-template-rows:
    1fr
    auto;

  align-items: center;

  padding: 55px 35px 28px;

  z-index: 9999;

  isolation: isolate;
}


/* DARK BACKGROUND */

.lightbox-background {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;

  background: rgba(0, 0, 0, 0.94);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  cursor: zoom-out;

  z-index: -1;
}


/* FULL PHOTO */

.lightbox-image-wrap {
  grid-column: 2;
  grid-row: 1;

  width: 100%;
  height: 100%;

  min-width: 0;
  min-height: 0;

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

  position: relative;

  z-index: 2;
}

.lightbox-image-wrap img {
  display: block;

  width: auto;
  height: auto;

  max-width: 100%;
  max-height: calc(100dvh - 125px);

  object-fit: contain;
  object-position: center;

  box-shadow:
    0 20px 80px
    rgba(0, 0, 0, 0.85);

  user-select: none;
}


/* CLOSE BUTTON */

.lightbox-close {
  position: absolute;

  top: 22px;
  right: 30px;

  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.32);

  border-radius: 50%;

  background: rgba(10, 10, 10, 0.55);

  color: var(--white);

  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;

  z-index: 10;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.08);

  border-color: var(--purple);

  color: #c992ff;
}


/* PREVIOUS / NEXT */

.lightbox-arrow {
  width: 70px;
  height: 70px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.25);

  border-radius: 50%;

  background: rgba(15, 15, 15, 0.55);

  color: var(--white);

  font-size: 3rem;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;

  z-index: 5;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

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

  border-color: var(--purple);

  color: #d4aeff;

  box-shadow:
    0 0 25px
    rgba(139, 44, 255, 0.35);
}

.lightbox-prev {
  grid-column: 1;
  grid-row: 1;

  justify-self: center;
}

.lightbox-next {
  grid-column: 3;
  grid-row: 1;

  justify-self: center;
}


/* PHOTO COUNTER */

.lightbox-counter {
  grid-column: 1 / 4;
  grid-row: 2;

  justify-self: center;

  padding-top: 14px;

  color: rgba(255, 255, 255, 0.78);

  font-size: 0.82rem;

  font-weight: 700;

  letter-spacing: 0.12em;
}


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

@media (max-width: 1250px) {

  .gallery-stage {
    grid-template-columns:
      1fr
      1.35fr;
  }

  .gallery-intro {
    min-height: 700px;
  }

  .gallery-model-wrap {
    left: 125px;
    right: -45px;
  }

  .gallery-model {
    height: clamp(
      620px,
      72dvh,
      820px
    ) !important;
  }

  .camera-wrap {
    max-width: 1160px;
  }
}


@media (max-width: 900px) {

  body {
    min-height: 100vh;
    min-height: 100dvh;

    display: grid;

    grid-template-rows:
      auto
      auto
      auto;
  }

  .gallery-header {
    padding: 18px 0;

    flex-direction: column;
  }

  .gallery-nav {
    flex-wrap: wrap;

    justify-content: center;

    gap: 18px;
  }

  .gallery-page {
    display: block;
  }

  .gallery-stage {
    height: auto;

    display: grid;

    grid-template-columns: 1fr;
  }

  .gallery-intro {
    min-height: 700px;
  }

  .gallery-copy {
    width: 42%;
    top: 40px;
  }

  .gallery-model-wrap {
    left: 100px;
    right: -20px;
  }

  .gallery-model {
    height: 630px !important;
  }

  .camera-gallery {
    margin-top: 18px;
  }

  .gallery-footer {
    grid-template-columns: 1fr;

    text-align: center;

    justify-items: center;

    padding: 28px 0;
  }

  .gallery-social {
    justify-content: center;
  }


  /* LIGHTBOX */

  .gallery-lightbox {
    grid-template-columns:
      55px
      minmax(0, 1fr)
      55px;

    padding: 60px 8px 22px;
  }

  .lightbox-arrow {
    width: 48px;
    height: 48px;

    font-size: 2.2rem;
  }

  .lightbox-close {
    top: 12px;
    right: 14px;

    width: 44px;
    height: 44px;

    font-size: 1.8rem;
  }

  .lightbox-image-wrap img {
    max-height: calc(100dvh - 115px);
  }
}


@media (max-width: 600px) {

  .gallery-header {
    width: 92%;
  }

  .gallery-book-button {
    width: 100%;

    text-align: center;
  }

  .gallery-intro {
    min-height: 600px;
  }

  .gallery-copy {
    position: relative;

    width: 100%;

    top: 0;

    padding-top: 20px;
  }

  .gallery-model-wrap {
    left: 70px;
    right: -20px;
  }

  .gallery-model {
    height: 505px !important;

    opacity: 0.86;
  }

  .gallery-copy h1 {
    max-width: 280px;
  }

.gallery-controls {
  width: 95%;
  min-height: 64px;
}

  .gallery-main-play {
    width: 64px;
    height: 64px;
  }

  .gallery-footer-logo img {
    width: 130px;
  }


  /* MOBILE LIGHTBOX */

  .gallery-lightbox {
    grid-template-columns:
      44px
      minmax(0, 1fr)
      44px;

    padding: 58px 4px 18px;
  }

  .lightbox-arrow {
    width: 38px;
    height: 38px;

    font-size: 1.8rem;
  }

  .lightbox-image-wrap img {
    max-height: calc(100dvh - 105px);
  }

  .lightbox-counter {
    font-size: 0.7rem;
  }
}

@media (max-width: 600px) {

  .gallery-head-play-wrap {
    left: 27%;
    top: 125px;
    width: 170px;
    transform: translateX(-50%);
    align-items: center;
  }

  .gallery-head-play {
    display: none;
  }

  .gallery-head-play-wrap p {
    margin: 0;
    font-size: 0;
    text-align: center;
  }

  .gallery-head-play-wrap p::after {
    content: "Scroll Down To View Gallery";
    display: block;
    color: #ffffff;
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
  }

}
