@charset "UTF-8";

/* =========================
   GALLERY SECTION
========================= */

.gallery {
  position: relative;
  padding: 140px 28px;
  background:
    radial-gradient(circle at top left, rgba(32, 110, 170, 0.16) 0%, transparent 28%),
    radial-gradient(circle at bottom right, rgba(112, 52, 160, 0.16) 0%, transparent 30%),
    linear-gradient(180deg, #050608 0%, #0b1018 38%, #101722 100%);
  overflow: hidden;
  isolation: isolate;
}

.gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent);
  pointer-events: none;
  z-index: 1;
}

.gallery__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

.gallery__orb--one {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -100px;
  background: rgba(0, 153, 255, 0.18);
}

.gallery__orb--two {
  width: 360px;
  height: 360px;
  bottom: -100px;
  right: -80px;
  background: rgba(163, 82, 255, 0.18);
}

.gallery__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

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

.gallery__header {
  max-width: 920px;
  margin: 0 auto 84px;
  text-align: center;
}

.gallery__eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(120, 190, 255, 0.9);
}

.gallery__h2 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -2px;
  color: #ffffff;
}

.gallery__accentLine {
  width: 120px;
  height: 2px;
  margin: 32px auto 30px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(0, 153, 255, 0) 0%,
      rgba(0, 153, 255, 1) 20%,
      rgba(173, 120, 255, 1) 50%,
      rgba(0, 204, 255, 1) 80%,
      rgba(0, 204, 255, 0) 100%
    );
  box-shadow:
    0 0 25px rgba(0, 153, 255, 0.4),
    0 0 40px rgba(173, 120, 255, 0.2);
}

.gallery__lead {
  margin: 0 auto;
  max-width: 780px;
  font-size: 18px;
  line-height: 1.9;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
}

/* =========================
   GRID
========================= */

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
}

.gallery__item {
  grid-column: span 4;
  position: relative;
}

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

.gallery__item--wide {
  grid-column: span 8;
}

.gallery__trigger {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 30px;
  background: rgba(12, 16, 22, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  appearance: none;
  transition:
    transform 0.55s ease,
    border-color 0.45s ease,
    box-shadow 0.55s ease;
}

.gallery__trigger img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition:
    transform 1.1s ease,
    filter 0.6s ease;
}

.gallery__item--large .gallery__trigger img,
.gallery__item--wide .gallery__trigger img {
  min-height: 520px;
}

.gallery__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.04) 0%,
      rgba(0,0,0,0.2) 42%,
      rgba(0,0,0,0.82) 100%
    );
}

.gallery__tag {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,12,16,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

.gallery__content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery__title {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.gallery__text {
  display: block;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
}

.gallery__view {
  position: absolute;
  top: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,12,16,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    border-color 0.4s ease,
    background 0.4s ease;
}

.gallery__trigger:hover,
.gallery__trigger:focus-visible {
  transform: translateY(-10px);
  border-color: rgba(110, 180, 255, 0.28);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.45),
    0 0 0 1px rgba(110,180,255,0.12),
    0 0 50px rgba(110,180,255,0.12);
}

.gallery__trigger:hover img,
.gallery__trigger:focus-visible img {
  transform: scale(1.06);
  filter: brightness(1.06);
}

.gallery__trigger:hover .gallery__view,
.gallery__trigger:focus-visible .gallery__view {
  opacity: 1;
  transform: translateY(0);
}

.gallery__trigger:focus-visible {
  outline: 2px solid rgba(110,180,255,0.8);
  outline-offset: 4px;
}

/* =========================
   VIDEO
========================= */

.gallery__videoRow {
  margin-top: 120px;
}

.gallery__videoIntro {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.gallery__videoIntro h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.1;
  font-weight: 300;
  color: #ffffff;
}

.gallery__videoFrame {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.02)
    );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 30px 90px rgba(0,0,0,0.45);
}

.gallery__video {
  display: block;
  width: 100%;
  border-radius: 24px;
  background: #000000;
}

.gallery__videoCaption {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.56);
}

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,4,8,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.lightbox__dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
}

.lightbox.is-open .lightbox__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.lightbox__mediaWrap {
  overflow: hidden;
  border-radius: 30px;
  background: #050608;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.55);
}

.lightbox__image {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #050608;
}

.lightbox__meta {
  padding-top: 24px;
  text-align: center;
}

.lightbox__caption {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
}

.lightbox__close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 3;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  background: rgba(12,16,22,0.78);
  color: #ffffff;
  font-size: 34px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  transform: scale(1.06);
  border-color: rgba(110,180,255,0.5);
  background: rgba(20,24,30,0.95);
  outline: none;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10,12,16,0.72);
  color: #ffffff;
  font-size: 30px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  border-color: rgba(110,180,255,0.45);
  background: rgba(18,22,28,0.95);
  outline: none;
}

.lightbox__nav--prev {
  left: -30px;
}

.lightbox__nav--next {
  right: -30px;
}

/* =========================
   REVEAL
========================= */

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   BODY LOCK
========================= */

body.lightbox-open {
  overflow: hidden;
}



/* =========================
   1920px
========================= */

@media (max-width: 1920px) {

  .gallery {
    padding: 140px 34px;
  }

  .gallery__container {
    max-width: 1520px;
  }

  .gallery__grid {
    gap: 28px;
  }

}

/* =========================
   1600px
========================= */

@media (max-width: 1600px) {

  .gallery {
    padding: 130px 30px;
  }

  .gallery__header {
    margin-bottom: 78px;
  }

  .gallery__grid {
    gap: 24px;
  }

  .gallery__trigger img {
    min-height: 380px;
  }

  .gallery__item--large .gallery__trigger img,
  .gallery__item--wide .gallery__trigger img {
    min-height: 480px;
  }

  .gallery__title {
    font-size: 24px;
  }

  .gallery__text {
    font-size: 14px;
    line-height: 1.75;
  }

}

/* =========================
   1400px
========================= */

@media (max-width: 1400px) {

  .gallery {
    padding: 120px 26px;
  }

  .gallery__h2 {
    letter-spacing: -1.5px;
  }

  .gallery__lead {
    max-width: 720px;
    font-size: 17px;
  }

  .gallery__grid {
    gap: 22px;
  }

  .gallery__trigger {
    border-radius: 26px;
  }

  .gallery__trigger img {
    min-height: 340px;
  }

  .gallery__item--large .gallery__trigger img,
  .gallery__item--wide .gallery__trigger img {
    min-height: 430px;
  }

  .gallery__content {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .gallery__title {
    font-size: 22px;
  }

  .gallery__videoRow {
    margin-top: 100px;
  }

  .lightbox__dialog {
    max-width: 1180px;
  }

  .lightbox__nav--prev {
    left: 10px;
  }

  .lightbox__nav--next {
    right: 10px;
  }

}

/* =========================
   1200px
========================= */

@media (max-width: 1200px) {

  .gallery {
    padding: 110px 24px;
  }

  .gallery::before {
    background-size: 60px 60px;
  }

  .gallery__header {
    margin-bottom: 70px;
  }

  .gallery__h2 {
    font-size: clamp(2.7rem, 5vw, 4.4rem);
    line-height: 1.05;
  }

  .gallery__lead {
    font-size: 16px;
    line-height: 1.85;
  }

  .gallery__grid {
    gap: 20px;
  }

  .gallery__item {
    grid-column: span 6;
  }

  .gallery__item--large,
  .gallery__item--wide {
    grid-column: span 12;
  }

  .gallery__trigger img {
    min-height: 320px;
  }

  .gallery__item--large .gallery__trigger img,
  .gallery__item--wide .gallery__trigger img {
    min-height: 450px;
  }

  .gallery__tag {
    top: 20px;
    left: 20px;
    padding: 9px 16px;
  }

  .gallery__view {
    top: 20px;
    right: 20px;
  }

  .gallery__title {
    font-size: 22px;
  }

  .gallery__videoFrame {
    padding: 18px;
    border-radius: 28px;
  }

  .lightbox {
    padding: 28px 20px;
  }

  .lightbox__dialog {
    max-width: 100%;
  }

  .lightbox__mediaWrap {
    border-radius: 26px;
  }

  .lightbox__image {
    max-height: 76vh;
  }

}

/* =========================
   900px
========================= */

@media (max-width: 900px) {

  .gallery {
    padding: 100px 20px;
  }

  .gallery__header {
    margin-bottom: 60px;
  }

  .gallery__eyebrow {
    margin-bottom: 16px;
    letter-spacing: 2.5px;
  }

  .gallery__lead {
    max-width: 640px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .gallery__item,
  .gallery__item--large,
  .gallery__item--wide {
    grid-column: auto;
  }

  .gallery__trigger {
    border-radius: 24px;
  }

  .gallery__trigger img {
    min-height: 300px;
  }

  .gallery__item--large .gallery__trigger img,
  .gallery__item--wide .gallery__trigger img {
    min-height: 340px;
  }

  .gallery__content {
    left: 22px;
    right: 22px;
    bottom: 22px;
    gap: 8px;
  }

  .gallery__title {
    font-size: 20px;
  }

  .gallery__text {
    font-size: 14px;
    line-height: 1.7;
  }

  .gallery__videoRow {
    margin-top: 82px;
  }

  .gallery__videoIntro {
    margin-bottom: 28px;
  }

  .lightbox__close {
    top: -10px;
    right: -4px;
  }

}

/* =========================
   768px
========================= */

@media (max-width: 768px) {

  .gallery {
    padding: 90px 18px;
  }

  .gallery::before {
    opacity: 0.4;
    background-size: 42px 42px;
  }

  .gallery__orb--one {
    width: 260px;
    height: 260px;
    top: -60px;
    left: -80px;
  }

  .gallery__orb--two {
    width: 220px;
    height: 220px;
    bottom: -60px;
    right: -60px;
  }

  .gallery__header {
    margin-bottom: 52px;
  }

  .gallery__eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .gallery__h2 {
    font-size: clamp(2.3rem, 7vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -1px;
  }

  .gallery__accentLine {
    width: 90px;
    margin: 26px auto 24px;
  }

  .gallery__lead {
    font-size: 15px;
    line-height: 1.8;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery__trigger {
    border-radius: 22px;
  }

  .gallery__trigger img,
  .gallery__item--large .gallery__trigger img,
  .gallery__item--wide .gallery__trigger img {
    min-height: 300px;
  }

  .gallery__tag {
    top: 18px;
    left: 18px;
    font-size: 10px;
    letter-spacing: 1.6px;
  }

  .gallery__view {
    opacity: 1;
    transform: translateY(0);
    top: 18px;
    right: 18px;
    min-width: 72px;
    height: 38px;
    font-size: 10px;
    letter-spacing: 1.6px;
  }

  .gallery__content {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .gallery__title {
    font-size: 20px;
    line-height: 1.15;
  }

  .gallery__text {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.7;
  }

  .gallery__videoRow {
    margin-top: 72px;
  }

  .gallery__videoFrame {
    padding: 14px;
    border-radius: 24px;
  }

  .gallery__video {
    border-radius: 18px;
  }

  .gallery__videoCaption {
    font-size: 13px;
  }

  .lightbox {
    padding: 18px 12px;
  }

  .lightbox__mediaWrap {
    border-radius: 22px;
  }

  .lightbox__image {
    max-height: 68vh;
  }

  .lightbox__caption {
    font-size: 15px;
    line-height: 1.7;
  }

  .lightbox__close {
    width: 48px;
    height: 48px;
    font-size: 28px;
  }

  .lightbox__nav {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .lightbox__nav--prev {
    left: 4px;
  }

  .lightbox__nav--next {
    right: 4px;
  }

}

/* =========================
   480px
========================= */

@media (max-width: 480px) {

  .gallery {
    padding: 82px 16px;
  }

  .gallery__header {
    margin-bottom: 46px;
  }

  .gallery__eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .gallery__h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.1;
  }

  .gallery__accentLine {
    width: 74px;
    margin: 22px auto 20px;
  }

  .gallery__lead {
    font-size: 14px;
    line-height: 1.75;
  }

  .gallery__grid {
    gap: 16px;
  }

  .gallery__trigger {
    border-radius: 20px;
  }

  .gallery__trigger img,
  .gallery__item--large .gallery__trigger img,
  .gallery__item--wide .gallery__trigger img {
    min-height: 250px;
  }

  .gallery__tag {
    top: 14px;
    left: 14px;
    padding: 8px 14px;
  }

  .gallery__view {
    top: 14px;
    right: 14px;
    min-width: 64px;
    height: 34px;
    padding: 0 14px;
  }

  .gallery__content {
    left: 16px;
    right: 16px;
    bottom: 16px;
    gap: 6px;
  }

  .gallery__title {
    font-size: 18px;
  }

  .gallery__text {
    font-size: 13px;
    line-height: 1.65;
  }

  .gallery__videoRow {
    margin-top: 60px;
  }

  .gallery__videoIntro {
    margin-bottom: 22px;
  }

  .gallery__videoFrame {
    padding: 12px;
    border-radius: 22px;
  }

  .gallery__videoCaption {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.6;
  }

  .lightbox__image {
    max-height: 60vh;
  }

  .lightbox__caption {
    font-size: 14px;
  }

  .lightbox__close {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .lightbox__nav {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

}

/* =========================
   300px
========================= */

@media (max-width: 300px) {

  .gallery {
    padding: 70px 10px;
  }

  .gallery__header {
    margin-bottom: 38px;
  }

  .gallery__h2 {
    font-size: 1.8rem;
    letter-spacing: -0.5px;
  }

  .gallery__lead {
    font-size: 13px;
    line-height: 1.7;
  }

  .gallery__trigger {
    border-radius: 18px;
  }

  .gallery__trigger img,
  .gallery__item--large .gallery__trigger img,
  .gallery__item--wide .gallery__trigger img {
    min-height: 210px;
  }

  .gallery__tag {
    top: 12px;
    left: 12px;
    padding: 7px 12px;
    font-size: 9px;
  }

  .gallery__view {
    top: 12px;
    right: 12px;
    min-width: 58px;
    height: 30px;
    font-size: 9px;
  }

  .gallery__content {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .gallery__title {
    font-size: 16px;
  }

  .gallery__text {
    font-size: 12px;
    line-height: 1.6;
  }

  .gallery__videoFrame {
    padding: 10px;
    border-radius: 18px;
  }

  .gallery__video {
    border-radius: 14px;
  }

  .lightbox {
    padding: 12px 6px;
  }

  .lightbox__mediaWrap {
    border-radius: 18px;
  }

  .lightbox__image {
    max-height: 54vh;
  }

  .lightbox__caption {
    font-size: 13px;
    line-height: 1.6;
  }

  .lightbox__close {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .lightbox__nav {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

}