  /* ══════════════════════════════════════════════
     The Galena Cottage — Custom Styles
     Emerald + Cream Editorial Design
  ══════════════════════════════════════════════ */

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

  html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

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

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

  ::selection {
    background-color: #047857;
    color: #fdfcf8;
  }

  /* ── Scrollbar ── */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #faf8f0;
  }
  ::-webkit-scrollbar-thumb {
    background: #065f46;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #047857;
  }

  /* ── Header Scroll State ── */
  #site-header.scrolled {
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(4, 120, 87, 0.1);
  }

  #site-header.scrolled .font-serif {
    color: #064e3b !important;
  }

  /* ── Mobile Menu ── */
  #mobile-menu.open {
    transform: translateX(0);
  }

  #mobile-menu:not(.open) {
    transform: translateX(100%);
  }

  /* ── Menu Toggle Animation ── */
  #menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  #menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  #menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 1.25rem;
  }

  /* ── Scroll Reveal (progressive enhancement) ── */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                  transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
  }

  /* ── Focus Styles ── */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible {
    outline: 2px solid #047857;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* ── Form Inputs ── */
  input, textarea {
    font-family: 'Inter', system-ui, sans-serif;
  }

  /* ── Print Styles ── */
  @media print {
    #site-header, #menu-toggle, #mobile-menu {
      display: none !important;
    }
    body {
      color: #000;
      background: #fff;
    }
    a {
      color: #000;
    }
  }

  /* ── Reduced Motion ── */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    html {
      scroll-behavior: auto;
    }
  }
