  /* ── Custom Styles for Delicate Thrilling ── */

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

  /* Selection color */
  ::selection {
    background-color: rgba(194, 94, 62, 0.2);
    color: inherit;
  }

  /* ── Scroll Reveal Animations ── */
  /* Default: content is visible (progressive enhancement) */
  .reveal-up,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Animated states — applied via JS only */
  .reveal-up.animate-in {
    opacity: 0;
    transform: translateY(40px);
  }

  .reveal-left.animate-in {
    opacity: 0;
    transform: translateX(-40px);
  }

  .reveal-right.animate-in {
    opacity: 0;
    transform: translateX(40px);
  }

  /* Respect reduced motion preference */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    .reveal-up,
    .reveal-left,
    .reveal-right {
      opacity: 1;
      transform: none;
      transition: none;
    }
    .reveal-up.animate-in,
    .reveal-left.animate-in,
    .reveal-right.animate-in {
      opacity: 1;
      transform: none;
    }
  }

  /* ── Header scroll state ── */
  #site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  /* ── Mobile menu transitions ── */
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  #mobile-menu.open {
    max-height: 500px;
  }

  /* ── Form focus styles ── */
  input:focus,
  select:focus,
  textarea:focus {
    outline: none;
  }

  /* ── Custom scrollbar ── */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #1a1712;
  }

  ::-webkit-scrollbar-thumb {
    background: #5c574b;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #C25E3E;
  }

  /* ── Gallery image hover overlay ── */
  .rounded-2xl.overflow-hidden {
    position: relative;
  }

  .rounded-2xl.overflow-hidden::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 23, 18, 0);
    transition: background 0.4s ease;
    border-radius: inherit;
    pointer-events: none;
  }

  .rounded-2xl.overflow-hidden:hover::after {
    background: rgba(26, 23, 18, 0.1);
  }

  /* ── Button ripple-like glow ── */
  button[type="submit"]:hover {
    box-shadow: 0 0 40px rgba(194, 94, 62, 0.35) !important;
  }

  /* ── Floating card animation ── */
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  .floating-accent {
    animation: float 4s ease-in-out infinite;
  }

  /* ── Decorative line animation ── */
  @keyframes growLine {
    from { width: 0; }
    to { width: 48px; }
  }

  /* ── Mobile-specific adjustments ── */
  @media (max-width: 767px) {
    .floating-accent {
      display: none;
    }
  }

  /* ── Image loading placeholder ── */
  img {
    background-color: #e7e7e3;
  }

  /* ── Print styles ── */
  @media print {
    #site-header,
    #contact-form,
    button {
      display: none;
    }
    body {
      background: white;
      color: black;
    }
  }
