/* Hero drone & branding tweaks */
.tp-hero-ai-thumb-text {
  font-size: 50px;
  writing-mode: sideways-rl;
  position: absolute;
  margin-left: 25px;
}

.title-slide-gradient--hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.title-slide-gradient--hero .hero-shape {
  width: clamp(40px, 6vw, 90px);
  height: auto;
  margin-right: 0 !important;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .title-slide-gradient--hero {
    flex-wrap: wrap;
    gap: 8px;
  }
  .title-slide-gradient--about {
    font-size: clamp(28px, 10vw, 42px);
    line-height: 1.2;
    display: block;
    margin: 0 auto;
    text-align: center;
    padding: 0 0.2em;
  }
  .tp-about-ai-title--stack {
    justify-content: center;
  }
  .aleric-ai {
    display: none !important;
  }
}

@media only screen and (min-width: 1400px) and (max-width: 1599px) {
  .tp-hero-vp-title {
    margin-top: 50px;
    font-size: 380px;
  }
}

.tp-about-me-banner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.tp-about-me-banner .img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 767px) {
  .tp-about-me-banner {
    height: auto;
    min-height: 260px;
  }
  .tp-about-me-banner .img-cover {
    min-height: 260px;
  }
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.gallery-lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.gallery-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.gallery-lightbox__close {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.gallery-lightbox__close:hover {
  transform: scale(1.05);
}
@media (max-width: 767px) {
  .gallery-lightbox {
    padding: 10px;
  }
  .gallery-lightbox img {
    max-width: 100vw;
    max-height: 85vh;
  }
  .gallery-lightbox__close {
    top: 15px;
    right: 15px;
  }
}
.tp-perspective-slider .tp-perspective-inner .tp-perspective-image {
  background-position: center center;
  background-repeat: no-repeat;
}
.tp-perspective-lightbox-trigger {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
}
.tp-perspective-lightbox-trigger:focus-visible {
  outline: 2px solid var(--tp-common-white, #fff);
  outline-offset: 4px;
}
