  /* ── Custom Styles for Socrata ── */

  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }

  /* Selection color */
  ::selection {
    background-color: #C9A84C;
    color: #091A30;
  }

  /* Floating animations for hero cards */
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

  @keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
  }

  .animate-float {
    animation: float 6s ease-in-out infinite;
  }

  .animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1.5s;
  }

  /* Navigation scroll state */
  nav.scrolled {
    background-color: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(15, 39, 68, 0.08);
  }

  nav.scrolled .nav-link {
    color: rgba(15, 39, 68, 0.85) !important;
  }

  nav.scrolled .menu-line {
    background-color: #0F2744 !important;
  }

  /* Active nav link highlighting */
  .nav-link.active {
    color: #C9A84C !important;
  }

  .nav-link.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #C9A84C;
    margin-top: 4px;
    border-radius: 1px;
  }

  /* Reveal on scroll */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Mobile menu transitions */
  #mobile-menu.open {
    opacity: 1 !important;
    pointer-events: all !important;
  }

  #mobile-menu .mobile-link {
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  #mobile-menu.open .mobile-link {
    transform: translateY(0);
    opacity: 1;
  }

  #mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
  #mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
  #mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
  #mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
  #mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

  /* Hamburger animation */
  #mobile-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  #mobile-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
  }

  #mobile-toggle.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.25rem;
  }

  /* Custom select arrow */
  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230F2744' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
  }

  /* Gold accent line under section headers */
  .section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C9A84C, #D4AF5A);
    margin-top: 16px;
    border-radius: 2px;
  }

  /* Subtle pattern overlay */
  .pattern-grid {
    background-image: radial-gradient(circle, rgba(201, 168, 76, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
  }

  /* Focus visible for accessibility */
  :focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 2px;
  }

  /* Reduce motion for users who prefer it */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .animate-float,
    .animate-float-delayed { animation: none; }
    .reveal { transition: none; }
  }
