.gl-hero {
  padding: 110px 0 104px;
  background:
    radial-gradient(ellipse 34% 70% at 50% 50%, rgba(18, 17, 15, 0.78), rgba(18, 17, 15, 0.3) 100%),
    linear-gradient(180deg, rgba(18, 17, 15, 0.3), rgba(18, 17, 15, 0.55)),
    url("../assets/gallery/at-the-keys.jpg") center 18% / cover no-repeat,
    #1c1b19;
  text-align: center;
}

@media (max-width: 700px) {
  .gl-hero {
    background-position: center, center, 22% 18%, center;
  }
}

.gl-hero .sv-eyebrow {
  margin-bottom: 12px;
}

.sv-page .gl-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
}

.gl-hero__rule {
  display: block;
  width: 56px;
  height: 2px;
  margin: 22px auto 26px;
  background: var(--sv-gold);
}

.gl-hero__text {
  max-width: 560px;
  margin: 0 auto;
  color: #e6ddcc;
  font-size: 17px;
}

.gl-section {
  padding: 80px 0 110px;
  background: var(--sv-cream);
}

.gl-head {
  margin-bottom: 30px;
}

.gl-head__eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 14px;
  color: #c8973f;
  font-family: var(--sv-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.gl-head__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.sv-page .gl-head__title {
  margin: 0;
  color: var(--sv-ink);
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
}

.gl-head__text {
  margin: 12px 0 0;
  color: #3b352e;
  font-family: var(--sv-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

/* Videos */
.gl-videos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px 20px;
}

@media (min-width: 700px) {
  .gl-videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gl-videos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gl-video {
  margin: 0;
}

.gl-video__frame {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 10px 24px rgba(20, 16, 10, 0.12);
}

.gl-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.gl-video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.gl-video__play i {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding-left: 4px;
  border-radius: 50%;
  background: rgba(250, 245, 236, 0.94);
  color: #c8973f;
  font-size: 30px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease;
}

.gl-video__play:hover {
  background: rgba(0, 0, 0, 0.18);
}

.gl-video__play:hover i,
.gl-video__play:focus-visible i {
  transform: scale(1.08);
}

.gl-video__play:focus-visible {
  outline: 3px solid var(--sv-gold);
  outline-offset: -3px;
}

.gl-video__time {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-family: var(--sv-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  pointer-events: none;
}

.gl-video.is-started .gl-video__play,
.gl-video.is-started .gl-video__time {
  display: none;
}

.gl-video figcaption {
  padding-top: 16px;
}

.sv-page .gl-video__title {
  margin: 0;
  color: var(--sv-ink);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
}

.gl-video__sub {
  margin: 6px 0 0;
  color: #6b645b;
  font-family: var(--sv-serif);
  font-size: 15px;
  line-height: 1.4;
}

/* Photos */
.gl-photos-shell {
  width: min(1680px, calc(100% - 48px));
}

@media (min-width: 1100px) {
  .gl-photos-shell {
    width: min(1680px, calc(100% - 96px));
  }
}
.sv-page .gl-photos-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 100px 0 44px;
  color: var(--sv-ink);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 500;
}

.gl-photos-title i {
  color: #c8973f;
  font-size: 0.8em;
  line-height: 1;
}

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

@media (min-width: 900px) {
  .gl-photos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

.gl-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #1d1b18;
  cursor: zoom-in;
}

.gl-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gl-photo:hover img,
.gl-photo:focus-visible img {
  transform: scale(1.05);
}

.gl-photo:focus-visible {
  outline: 3px solid var(--sv-gold);
  outline-offset: 3px;
}

.gl-photo__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 12px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  color: #fff;
  font-family: var(--sv-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-align: left;
}

/* Lightbox */
.gl-lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 9, 8, 0.94);
  color: #fff;
}

.gl-lightbox[open] {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.gl-lightbox::backdrop {
  background: rgba(10, 9, 8, 0.94);
}

.gl-lightbox figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px 0;
}

.gl-lightbox img {
  max-width: min(1100px, 100%);
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
}

.gl-lightbox figcaption {
  max-width: 720px;
  padding: 0 16px;
  color: #e6ddcc;
  font-family: var(--sv-sans);
  font-size: 15px;
  text-align: center;
}

.gl-lightbox__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 16px;
  border: 1px solid rgba(241, 207, 137, 0.4);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #f1cf89;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.gl-lightbox__btn:hover {
  background: rgba(241, 207, 137, 0.15);
}

.gl-lightbox__close {
  position: absolute;
  top: 20px;
  right: 4px;
}

@media (max-width: 699px) {
  .gl-lightbox__btn {
    width: 40px;
    height: 40px;
    margin: 0 6px;
  }
}
