  /* ===== Base & Utilities ===== */
  *, *::before, *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

  body {
    margin: 0;
    overflow-x: hidden;
  }

  ::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #f8fafc;
  }

  /* ===== Scrollbar ===== */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #070f14;
  }
  ::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
  }

  /* ===== Hero Animations ===== */
  .hero-elem {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.8s ease forwards;
  }
  .hero-elem:nth-child(1) { animation-delay: 0.1s; }
  .hero-elem:nth-child(2) { animation-delay: 0.3s; }
  .hero-elem:nth-child(3) { animation-delay: 0.5s; }
  .hero-elem:nth-child(4) { animation-delay: 0.7s; }
  .hero-elem:nth-child(5) { animation-delay: 0.9s; }

  @keyframes heroReveal {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-orb {
    animation: orbFloat 8s ease-in-out infinite;
  }
  .orb-2 { animation-delay: -3s; animation-duration: 10s; }
  .orb-3 { animation-delay: -5s; animation-duration: 12s; }

  @keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
  }

  .scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
  }

  @keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
  }

  /* ===== Reveal on Scroll ===== */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal:nth-child(2) { transition-delay: 0.1s; }
  .reveal:nth-child(3) { transition-delay: 0.2s; }

  /* ===== Service Cards ===== */
  .service-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  }
  .service-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(13, 148, 136, 0.08);
  }

  /* ===== Gallery ===== */
  .gallery-item {
    cursor: pointer;
  }
  .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: border-color 0.4s ease;
    pointer-events: none;
  }
  .gallery-item:hover::after {
    border-color: rgba(245, 200, 66, 0.3);
  }

  /* ===== Navbar ===== */
  #navbar.scrolled {
    background: rgba(4, 10, 14, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(13, 148, 136, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }
  #navbar.scrolled .menu-line {
    background: #f8fafc;
  }

  /* ===== Mobile Menu ===== */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }
  #mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
  }
  .mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
  }
  #mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
  }
  #mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
  #mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
  #mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
  #mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
  #mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

  /* ===== Mobile Toggle Animation ===== */
  #mobile-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  #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.5rem;
  }

  /* ===== Gold shimmer on headline ===== */
  @keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
  }
  .text-transparent.bg-clip-text.bg-gradient-to-r.from-brand-cream {
    background-image: linear-gradient(90deg, #f8fafc, #f5c842, #f8fafc);
    background-size: 200% auto;
    animation: shimmer 5s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
  }

  /* ===== Input autofill override ===== */
  input:-webkit-autofill,
  textarea:-webkit-autofill,
  select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0f172a inset !important;
    -webkit-text-fill-color: #f8fafc !important;
  }
