/* ==========================================================================
   Provas Sdn Bhd — Full-Screen Scroll-Driven Landing Experience
   Tech Stack: HTML5 / CSS3 / ES6+ JavaScript / Express
   Typography: Outfit (Headings), Plus Jakarta Sans (Body), Space Grotesk
   Brand Palette: Deep Industrial Slate/Navy (#080c14, #0f172a), Brand Blue (#2563eb, #3b82f6), High-contrast White (#ffffff)
   ========================================================================== */

/* ---------- Root Canvas & Scroll Track ---------- */
body.landing-body {
  background-color: #080c14;
  color: #f8fafc;
  overflow-x: hidden;
}

.landing-scroll-track {
  position: relative;
  width: 100%;
  min-height: 400vh;
  background-color: #080c14;
  user-select: none;
  -webkit-user-select: none;
  overflow-x: hidden;
}

/* ---------- Custom Cursor (Desktop Only) ---------- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  background: rgba(255, 255, 255, 0.92);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              opacity 0.3s ease;
  opacity: 0;
  will-change: transform, width, height;
}

.custom-cursor__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #2563eb;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.custom-cursor.is-hovering {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 1);
}

.custom-cursor.is-active-card {
  width: 80px;
  height: 80px;
  background: rgba(37, 99, 235, 0.85);
  mix-blend-mode: normal;
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.6);
}

@media (hover: none) or (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}

/* ---------- Fixed Full-Bleed Video Background ---------- */
.hero-video-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  z-index: 1;
  background: #080c14;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.hero-video-fixed.is-loaded {
  opacity: 1;
}

.hero-video-fixed video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.02);
  will-change: transform;
}

/* Gradient Vignette & Cinematic Tint */
.hero-video-fixed__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 20, 0.78) 0%,
    rgba(15, 23, 42, 0.58) 35%,
    rgba(15, 23, 42, 0.72) 65%,
    rgba(8, 12, 20, 0.92) 85%,
    rgba(8, 12, 20, 0.99) 96%,
    #080c14 100%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-video-fixed__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    transparent 40%,
    rgba(5, 8, 14, 0.75) 100%
  );
  pointer-events: none;
  z-index: 3;
}

/* ---------- Fixed Overlaid UI (Header, Info, CTA, Scrubber HUD) ---------- */
.hero-overlay-ui {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 15;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(16px, 3vw, 36px);
  box-sizing: border-box;
  color: #ffffff;
}

/* Make interactive controls clickable */
.hero-overlay-ui a,
.hero-overlay-ui button,
.hero-overlay-ui .interactive {
  pointer-events: auto;
}

/* Top Bar: Brand Logo, Tagline, Navigation */
.hero-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  transition: opacity 0.3s ease;
}

/* Brand Identity (Top Left) */
.hero-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(-16px);
  animation: heroFadeSlideIn 0.8s 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-brand__logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-brand__logo-wrap:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.6);
}

.hero-brand__logo {
  height: clamp(32px, 4vw, 44px);
  width: auto;
  border-radius: 6px;
  display: block;
}

.hero-brand__name {
  font-family: var(--font-head, 'Outfit', 'Space Grotesk', sans-serif);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  white-space: nowrap;
}

.hero-brand__tagline {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  font-weight: 500;
  color: #e2e8f0;
  max-width: 380px;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 24px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(-10px);
  animation: heroFadeSlideIn 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-brand__tagline span {
  color: #60a5fa;
  font-weight: 600;
}

/* Header Nav (Top Right) */
.hero-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(-16px);
  animation: heroFadeSlideIn 0.8s 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Primary menu links (desktop) */
.hero-nav__links {
  display: none;
  align-items: center;
  gap: 5px;
}

@media (min-width: 1024px) {
  .hero-nav__links {
    display: flex;
  }
}

.hero-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head, 'Outfit', sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f8fafc;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(10, 15, 27, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease;
}

.hero-nav__link:hover {
  background: rgba(37, 99, 235, 0.25);
  border-color: rgba(96, 165, 250, 0.5);
  color: #ffffff;
}

.hero-nav__link.is-active {
  background: rgba(37, 99, 235, 0.3);
  border-color: rgba(96, 165, 250, 0.55);
  color: #ffffff;
}

.hero-nav__dropdown {
  position: relative;
  pointer-events: auto;
}

.hero-nav__chevron {
  transition: transform 0.2s;
}

.hero-nav__dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 280px;
  background: rgba(13, 19, 31, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-nav__dropdown:hover .hero-nav__dropdown-panel,
.hero-nav__dropdown:focus-within .hero-nav__dropdown-panel,
.hero-nav__dropdown.is-open .hero-nav__dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero-nav__dropdown:hover .hero-nav__chevron,
.hero-nav__dropdown:focus-within .hero-nav__chevron,
.hero-nav__dropdown.is-open .hero-nav__chevron {
  transform: rotate(180deg);
}

.hero-nav__dropdown-item {
  display: block;
  padding: 9px 14px;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.88rem;
  color: #cbd5e1;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.hero-nav__dropdown-item:hover {
  background: rgba(37, 99, 235, 0.2);
  color: #ffffff;
  transform: translateX(2px);
}

.hero-nav__dropdown-item--head {
  font-weight: 700;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px 8px 0 0;
  margin-bottom: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-nav__dropdown-group {
  display: block;
  padding: 10px 14px 4px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.hero-nav__btn-quote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: 1px solid rgba(147, 197, 253, 0.4);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-nav__btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.55);
}

.hero-nav__hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  color: #ffffff;
  transition: all 0.2s ease;
}

.hero-nav__hamburger:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(96, 165, 250, 0.5);
}

.hero-nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Bottom Bar: Product/Service Info Block & Scroll-Driven CTA */
.hero-bottom-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 20px;
  position: relative;
  z-index: 15;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Product / Service Info Block (Unified Card: Label + Title + Badges) */
.hero-info-block {
  max-width: 720px;
  width: 100%;
  background: rgba(10, 15, 27, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.4vw, 40px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 24px rgba(15, 23, 42, 0.4);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeSlideIn 0.8s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.hero-info-block__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head, 'Outfit', sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #dbeafe;
  margin-bottom: 10px;
}

.hero-info-block__label svg {
  color: #93c5fd;
  flex-shrink: 0;
}

.hero-info-block__title {
  font-family: var(--font-head, 'Outfit', 'Space Grotesk', sans-serif);
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0 0 16px 0;
  display: block;
}

.hero-info-block__title span {
  color: #93c5fd;
  font-weight: 700;
}

/* Badge Row: Unified with the block, adequate vertical clearance */
.hero-info-block__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2px;
}

.hero-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-info-badge:hover {
  border-color: rgba(37, 99, 235, 0.7);
  background: #f1f5f9;
}

.hero-info-badge svg {
  color: #2563eb;
  flex-shrink: 0;
}

/* Responsive adjustment for Hero Bottom Bar */
@media (max-width: 1023px) {
  .hero-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero-info-block {
    max-width: 100%;
    padding: 16px 20px;
  }

  .hero-info-block__title {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .hero-info-block__badges {
    padding-top: 10px;
    gap: 6px 8px;
  }

  .hero-info-badge {
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  .hero-scroll-cta {
    align-self: flex-start;
    padding: 12px 22px;
    font-size: 0.88rem;
  }
}

/* Scroll-Driven Scale-in CTA Button (Bottom Right) */
.hero-scroll-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 1px solid rgba(191, 219, 254, 0.5);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.45), 0 0 20px rgba(37, 99, 235, 0.3);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transform-origin: bottom right;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease;
  will-change: transform, opacity;
  flex-shrink: 0;
}

.hero-scroll-cta:hover {
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.65), 0 0 30px rgba(96, 165, 250, 0.5);
}

.hero-scroll-cta svg {
  transition: transform 0.2s ease;
}

.hero-scroll-cta:hover svg {
  transform: translateX(4px);
}

/* Keyframe for initial load slide */
@keyframes heroFadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Full-Screen Sliding Gallery Panel (Phase 2) ---------- */
.gallery-slide-panel {
  position: relative;
  width: 100%;
  min-height: 100vh;
  z-index: 20;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 60%), #080c14;
  border-top: none;
  box-shadow: 0 -40px 100px rgba(0, 0, 0, 0.95);
  transform: translateY(100vh);
  will-change: transform;
  padding: clamp(70px, 9vw, 110px) clamp(16px, 2.5vw, 36px) 120px;
}

/* Seamless feathered gradient blend reaching upwards into the video stage */
.gallery-slide-panel::before {
  content: '';
  position: absolute;
  top: -180px;
  left: 0;
  right: 0;
  height: 182px;
  background: linear-gradient(
    to bottom,
    rgba(8, 12, 20, 0) 0%,
    rgba(8, 12, 20, 0.25) 25%,
    rgba(8, 12, 20, 0.65) 55%,
    rgba(8, 12, 20, 0.92) 80%,
    #080c14 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Soft internal downward fade easing from the transition seam into content */
.gallery-slide-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 20, 0.96) 0%,
    rgba(8, 12, 20, 0.5) 45%,
    rgba(8, 12, 20, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.gallery-container {
  max-width: 1580px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Gallery Section Header */
.gallery-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(40px, 6vw, 76px);
}

.gallery-header__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head, 'Outfit', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #60a5fa;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.35);
  margin-bottom: 16px;
}

.gallery-header__title {
  font-family: var(--font-head, 'Outfit', 'Space Grotesk', sans-serif);
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
}

.gallery-header__title span {
  color: #3b82f6;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gallery-header__lede {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  color: #94a3b8;
  line-height: 1.6;
}

/* ---------- Scattered / Offset Dynamic Grid Layout ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Scattered / Offset Algorithm Classes */
.gallery-card {
  position: relative;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.48);
  transform: scale(0);
  opacity: 0;
  will-change: transform, opacity;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  aspect-ratio: 4 / 4.9;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gallery-card:hover {
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 22px 52px rgba(37, 99, 235, 0.32), 0 0 28px rgba(59, 130, 246, 0.22);
}

/* Offset positioning row by row to create scattered depth */
@media (min-width: 1024px) {
  .gallery-card:nth-child(4n + 1) {
    margin-top: 0px;
    transform-origin: left bottom;
  }
  .gallery-card:nth-child(4n + 2) {
    margin-top: 40px;
    transform-origin: center bottom;
  }
  .gallery-card:nth-child(4n + 3) {
    margin-top: -24px;
    transform-origin: center top;
  }
  .gallery-card:nth-child(4n + 4) {
    margin-top: 28px;
    transform-origin: right bottom;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .gallery-card:nth-child(3n + 1) {
    margin-top: 0px;
    transform-origin: left center;
  }
  .gallery-card:nth-child(3n + 2) {
    margin-top: 32px;
    transform-origin: center bottom;
  }
  .gallery-card:nth-child(3n + 3) {
    margin-top: -16px;
    transform-origin: right center;
  }
}

@media (max-width: 639px) {
  .gallery-card:nth-child(2n + 1) {
    margin-top: 0px;
    transform-origin: left center;
  }
  .gallery-card:nth-child(2n + 2) {
    margin-top: 24px;
    transform-origin: right center;
  }
}

.gallery-card__img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.gallery-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.gallery-card:hover .gallery-card__img {
  transform: scale(1.08);
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 20, 0.08) 0%,
    rgba(8, 12, 20, 0.38) 38%,
    rgba(8, 12, 20, 0.93) 100%
  );
  z-index: 2;
  transition: background 0.3s ease;
}

.gallery-card:hover .gallery-card__overlay {
  background: linear-gradient(
    180deg,
    rgba(8, 12, 20, 0.04) 0%,
    rgba(15, 23, 42, 0.28) 35%,
    rgba(15, 23, 42, 0.96) 100%
  );
}

.gallery-card__body {
  position: relative;
  z-index: 3;
  padding: clamp(16px, 2.2vw, 24px);
  color: #ffffff;
}

.gallery-card__tag {
  display: inline-block;
  font-family: var(--font-head, 'Outfit', sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #93c5fd;
  margin-bottom: 7px;
}

.gallery-card__title {
  font-family: var(--font-head, 'Outfit', 'Space Grotesk', sans-serif);
  font-size: clamp(1.12rem, 1.45vw, 1.4rem);
  font-weight: 700;
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: 6px;
}

.gallery-card__desc {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(0.88rem, 1.05vw, 0.95rem);
  color: #cbd5e1;
  line-height: 1.48;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Outro Overlay & Final CTA Phase ---------- */
.gallery-outro-wrap {
  margin-top: clamp(80px, 12vw, 140px);
  position: relative;
  text-align: center;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 40px);
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-outro-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-outro__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head, 'Outfit', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #60a5fa;
  margin-bottom: 16px;
}

.gallery-outro__title {
  font-family: var(--font-head, 'Outfit', 'Space Grotesk', sans-serif);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 860px;
  margin: 0 auto 20px;
}

.gallery-outro__title span {
  color: #3b82f6;
  background: linear-gradient(135deg, #93c5fd, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gallery-outro__text {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.gallery-outro__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.gallery-outro__btn-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(191, 219, 254, 0.4);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-outro__btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(37, 99, 235, 0.65);
}

.gallery-outro__btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.85);
  color: #f8fafc;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.gallery-outro__btn-sec:hover {
  background: rgba(51, 65, 85, 0.95);
  border-color: rgba(96, 165, 250, 0.5);
  transform: translateY(-2px);
}

/* Footer Section inside Gallery */
.landing-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .landing-footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

.landing-footer__copy {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.85rem;
  color: #94a3b8;
}

.landing-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.landing-footer__links a {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.landing-footer__links a:hover {
  color: #60a5fa;
}

/* ---------- Full Slide-Over Navigation Drawer ---------- */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.35s ease;
}

.nav-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nav-drawer.is-open .nav-drawer__backdrop {
  opacity: 1;
}

.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: #0d131f;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.nav-drawer.is-open .nav-drawer__panel {
  transform: translateX(0);
}

.nav-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.nav-drawer__close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-drawer__close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
}

.nav-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nav-drawer__item {
  font-family: var(--font-head, 'Outfit', sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-drawer__item:hover {
  color: #60a5fa;
  transform: translateX(6px);
}

.nav-drawer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 12px 0;
}

.nav-drawer__subheading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #64748b;
  margin-bottom: 8px;
}

.nav-drawer__sublinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.nav-drawer__sublink {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.88rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-drawer__sublink:hover {
  color: #93c5fd;
}

.nav-drawer__footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  .hero-video-fixed,
  .hero-brand,
  .hero-brand__tagline,
  .hero-nav,
  .hero-info-block,
  .hero-scroll-cta,
  .gallery-slide-panel,
  .gallery-card,
  .gallery-outro-wrap,
  .nav-drawer__panel {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .gallery-slide-panel {
    position: relative !important;
    transform: none !important;
  }
}
