/* ================================================================
   COSO Agency — Global Styles
   Design System: "The Fluid Architect"
   ================================================================ */

/* ---- Material Symbols ---- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ---- Custom Utility Classes ---- */

/* Nexus gradient: Primary → Primary Container at 135° ("midnight silk") */
.nexus-gradient {
  background: linear-gradient(135deg, #021541 0%, #1a2b56 100%);
}

/* Glass panel effect */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Editorial gradient (bottom fade for hero images) */
.editorial-gradient {
  background: linear-gradient(180deg, rgba(2, 21, 65, 0) 0%, rgba(2, 21, 65, 0.8) 100%);
}

/* Fluid blob shape for images */
.fluid-blob {
  border-radius: 64% 36% 27% 73% / 55% 58% 42% 45%;
}

/* Tonal shift transition */
.tonal-shift {
  transition: background-color 0.3s ease;
}

/* ---- Connection Path Animation ---- */
.connection-path {
  stroke-dasharray: 10;
  animation: dash 20s linear infinite;
}

@keyframes dash {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}

/* ---- Scroll-triggered fade-in ---- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Hide scrollbar ---- */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ---- Mobile Menu Overlay ---- */
.mobile-menu-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-panel {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-overlay.active .mobile-menu-panel {
  transform: translateX(0);
}

/* ---- Smooth active nav link ---- */
.nav-link-active {
  color: #021541;
  font-weight: 700;
  border-bottom: 2px solid #00658d;
  padding-bottom: 4px;
}

/* ---- Filter Chips (Portfolio) ---- */
.filter-chip {
  transition: all 0.25s ease;
}
.filter-chip.active {
  background-color: #021541;
  color: #ffffff;
}

/* ---- Ambient shadow utility ---- */
.shadow-ambient {
  box-shadow: 0 12px 48px rgba(2, 21, 65, 0.06);
}
.shadow-ambient-lg {
  box-shadow: 0 24px 64px rgba(2, 21, 65, 0.08);
}
