
@layer base{
  html,body{margin:0;padding:0;}
  body{overscroll-behavior:none;}
  main>:first-child{margin-top:0!important;}
  main>:last-child{margin-bottom:0!important;}
}
::-webkit-scrollbar{display:none;}

/* Luxurious Calm Motion Keyframes & Utilities */
@keyframes heroKenBurns {
  0% { transform: scale(1.0); }
  50% { transform: scale(1.045); }
  100% { transform: scale(1.0); }
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-bg-animated {
  animation: heroKenBurns 24s cubic-bezier(0.37, 0, 0.63, 1) infinite;
  will-change: transform;
}

.hero-stagger-1 {
  opacity: 0;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
.hero-stagger-2 {
  opacity: 0;
  animation: heroFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}
.hero-stagger-3 {
  opacity: 0;
  animation: heroFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}
.hero-stagger-4 {
  opacity: 0;
  animation: heroFadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}

/* Scroll reveal motion classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Architecture & Feature imagery subtle hover depth within framed masks */
.lux-img-zoom {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.group:hover .lux-img-zoom,
.lux-img-zoom:hover {
  transform: scale(1.025);
}

/* Subtle button lifts & arrow slides */
.lux-btn {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.lux-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -4px rgba(0, 39, 51, 0.18);
}
.lux-btn:active {
  transform: translateY(0);
}

.lux-arrow-hover .material-symbols-outlined {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.lux-arrow-hover:hover .material-symbols-outlined {
  transform: translateX(4px);
}

/* Nav Link Underline animation */
.nav-link-refined {
  position: relative;
  transition: color 0.25s ease;
}
.nav-link-refined::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background-color: #183d4a;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link-refined:hover::after {
  width: 100%;
}

/* Header transition */
header#main-header {
  transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-stagger-1,
  .hero-stagger-2,
  .hero-stagger-3,
  .hero-stagger-4 {
    opacity: 1 !important;
    animation: none !important;
  }
  .hero-bg-animated {
    animation: none !important;
  }
}


/* Original inline presentation rules. */
html [data-stitch-style="about-1"] {background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuC0IqquND32mhY5xWWWwH-RuY6nYy8g-ss1fJ1PYXRG82ZM4RNHp_ah7rJJPuvqrvQn6eCDC8aqmRhAv3LxYCr4aLcC1eQPoh4Viadi8SPk7epHLEpvbONB50iiC53LoU0aShK70xzdas64IEMXX0MnXBvlb_6TVm996rDsyUvO9q7aA0Td9kogR7Lp1jpa5uYtyEvlm-BMbJysx8u7AYmVqvDy2qN8r5EWKp0699Kq8YR03OJ2SAUb')}

/* Preserve full-span mobile rows without twelve horizontal gutters. */
@media (max-width: 389px) {
  main .grid.grid-cols-12.gap-8 {
    grid-template-columns: minmax(0, 1fr);
  }
  main .grid.grid-cols-12.gap-8 > * {
    grid-column: 1 / -1;
    min-width: 0;
  }
}

/* Keep the existing affiliation labels visible on the narrowest screens. */
@media (max-width: 389px) {
  main .pt-12.flex.justify-center.gap-8 {
    flex-wrap: wrap;
  }
}
