  /* ========================================
     Brooks Trading Post — Custom Styles
     ======================================== */

  /* Base / Reset */
  *, *::before, *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }

  body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #d1fae5;
  }
  ::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #047857;
  }

  /* Selection */
  ::selection {
    background: #059669;
    color: #fff;
  }

  /* ========================================
     Navigation
     ======================================== */
  .nav-header {
    transition: box-shadow 0.3s ease, background 0.3s ease;
  }

  .nav-header.scrolled {
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.1);
    background: rgba(253, 252, 250, 0.98) !important;
  }

  .nav-link {
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #059669;
    border-radius: 1px;
    transition: width 0.2s ease;
  }

  .nav-link:hover::after {
    width: 60%;
  }

  .mobile-nav-link {
    display: block;
  }

  /* ========================================
     Hero Section
     ======================================== */
  .hero-section {
    position: relative;
  }

  /* ========================================
     Reveal Animations (progressive enhancement)
     ======================================== */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

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

    /* Stagger children when they have a data-delay attribute */
    .reveal[data-delay="1"] { transition-delay: 0.1s; }
    .reveal[data-delay="2"] { transition-delay: 0.2s; }
    .reveal[data-delay="3"] { transition-delay: 0.3s; }
    .reveal[data-delay="4"] { transition-delay: 0.4s; }
    .reveal[data-delay="5"] { transition-delay: 0.5s; }
    .reveal[data-delay="6"] { transition-delay: 0.6s; }
  }

  /* Default state: always visible for accessibility */
  .reveal {
    opacity: 1;
    transform: none;
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
    }
  }

  /* ========================================
     Cards & Interactive Elements
     ======================================== */
  .department-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .department-card:hover {
    transform: translateY(-4px);
  }

  /* ========================================
     Button Focus States
     ======================================== */
  a:focus-visible, button:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* ========================================
     Mobile Menu Animation
     ======================================== */
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
    opacity: 0;
  }

  #mobile-menu.open {
    max-height: 400px;
    opacity: 1;
  }

  /* ========================================
     Responsive Utilities
     ======================================== */
  @media (max-width: 640px) {
    .font-serif {
      line-height: 1.15;
    }
  }

  @media (min-width: 1024px) {
    /* Subtle parallax on hero image */
    .hero-section img {
      will-change: transform;
    }
  }

  /* ========================================
     Print Styles
     ======================================== */
  @media print {
    .nav-header, .hero-section, .reveal {
      display: block !important;
      opacity: 1 !important;
    }
    body {
      background: white !important;
      color: black !important;
    }
  }
