html,
body {
  min-height: 100%;
}

img,
iframe {
  max-width: 100%;
}

.site-main {
  height: 100vh;
  height: 100svh;
  min-height: 560px;
}

.site-nav-inner {
  gap: 0.75rem;
}

.site-logo {
  display: block;
  max-width: min(58vw, 260px);
}

.site-nav-link {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.hero-copy-shell {
  padding-top: clamp(7rem, 25vh, 13rem);
}

.hero-title {
  max-width: min(92vw, 650px);
  font-size: clamp(1.55rem, 6vw, 3rem);
  line-height: 1.18;
}

.panel-copy-shell {
  padding-top: clamp(6.75rem, 24vh, 13rem);
}

.panel-description {
  overflow-wrap: anywhere;
}

/* Progress Bar Fill Custom Property */
.timeline-fill {
  --progress: 0;
  transform: scaleX(var(--progress));
  transition: transform 0.08s linear;
}

/* Swiper default bullets reset so our flex layout applies correctly */
.swiper-pagination-bullet {
  background: transparent !important;
  opacity: 1 !important; 
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

.timeline-bullet,
.bullet-title {
  min-width: 0;
}

@media (min-width: 640px) {
  .site-nav-inner {
    gap: 1rem;
  }

  .site-nav-link {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }
}

@media (min-width: 768px) {
  .site-main {
    min-height: 620px;
  }

  .site-nav-link {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .site-logo {
    max-width: min(54vw, 178px);
  }

  .hero-copy-shell {
    padding-top: clamp(6.5rem, 23vh, 9.75rem);
  }

  .panel-copy-shell {
    padding-top: clamp(6.25rem, 21vh, 9rem);
  }

  .panel-content-area {
    max-width: min(88vw, 360px) !important;
  }

  #panelImages img {
    right: -42% !important;
    opacity: 0.9;
  }
}

@media (max-width: 360px) {
  .site-logo {
    max-width: 152px;
  }

  .site-nav-link {
    font-size: 0.54rem;
    letter-spacing: 0.06em;
  }
}

 /*  MOBILE RESPONSIVE FIXED CODE (IMAGE PANEL)*/  
   @media (max-width: 767px) {
    /* 1. Timeline Bar  */
    .swiper-pagination {
      gap: 8px !important;
    }
    
    .timeline-bullet {
      flex: 0 0 24px !important;
      transition: all 0.4s ease-in-out;
    }
    
    .timeline-bullet.swiper-pagination-bullet-active {
      flex: 1 1 0 !important;
      width: auto !important;
    }
    
    .timeline-bullet .bullet-title {
      display: none;
    }
    
    .timeline-bullet.swiper-pagination-bullet-active .bullet-title {
      display: block;
      text-align: left;
      margin-bottom: 6px;
    }
  
    /* 2. Original Image Panel Responsive Management */
    #panelOverlay {
      background-color: rgba(0, 0, 0, 0.75) !important; 
    }
  
    #panelImages img {
      width: 100% !important;
      min-width: 100vw !important;
      right: -15% !important; 
      object-fit: cover;
      opacity: 0.96 !important; 
    }
  
    .panel-content-area {
      max-width: 88% !important; 
      margin-left: auto;
      padding-right: 4px;
    }
  
    .panel-description {
      font-size: 0.92rem !important; /* Clean & readable text size */
      line-height: 1.6 !important;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9); 
    }
  }