  /* ============================================
     The New Thai Chang Mi — Custom Styles
     ============================================ */

  :root {
    --terracotta: #B85C38;
    --terracotta-light: #D4845E;
    --terracotta-dark: #9A4B2C;
    --sand: #F5F0E8;
    --sand-light: #FAF7F2;
    --stone-800: #2D2A26;
    --stone-900: #1A1714;
    --font-playfair: 'Playfair Display', Georgia, serif;
    --font-lato: 'Lato', 'Helvetica Neue', sans-serif;
  }

  /* Custom Tailwind Config */
  @tailwind base;
  @tailwind components;
  @tailwind utilities;

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

    body {
      font-family: var(--font-lato);
      color: var(--stone-800);
      background-color: var(--sand-light);
      overflow-x: hidden;
    }

    ::selection {
      background-color: var(--terracotta);
      color: white;
    }
  }

  @layer components {
    .font-playfair {
      font-family: var(--font-playfair);
    }

    .font-lato {
      font-family: var(--font-lato);
    }

    .text-terracotta {
      color: var(--terracotta);
    }

    .text-terracotta-light {
      color: var(--terracotta-light);
    }

    .bg-terracotta {
      background-color: var(--terracotta);
    }

    .bg-terracotta-light {
      background-color: var(--terracotta-light);
    }

    .bg-terracotta-dark {
      background-color: var(--terracotta-dark);
    }

    .bg-sand {
      background-color: var(--sand);
    }
  }

  /* ============================================
     Header & Navigation
     ============================================ */
  #main-header {
    background: transparent;
    transition: background-color 0.5s ease, box-shadow 0.5s ease, padding 0.3s ease;
  }

  #main-header.scrolled {
    background-color: rgba(26, 23, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
  }

  #main-header.scrolled .font-playfair,
  #main-header.scrolled .font-lato {
    color: white;
  }

  /* Mobile Menu */
  #mobile-menu {
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  #mobile-menu.active {
    opacity: 1;
    pointer-events: all;
  }

  #mobile-menu.inactive {
    opacity: 0;
    pointer-events: none;
  }

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

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

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

  /* Hamburger Animation */
  #bar1.active {
    transform: rotate(45deg) translate(4px, 4px);
  }

  #bar2.active {
    opacity: 0;
  }

  #bar3.active {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.5rem;
  }

  /* ============================================
     Hero Section
     ============================================ */
  @keyframes heroSlowZoom {
    0%, 100% { transform: scale(1.05); }
    50% { transform: scale(1.1); }
  }

  .animate-hero-slow {
    animation: heroSlowZoom 20s ease-in-out infinite;
  }

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

  .animate-scroll-indicator {
    animation: scrollIndicator 2s ease-in-out infinite;
    transform-origin: top;
  }

  /* ============================================
     Scroll Animations
     ============================================ */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .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; }

  /* ============================================
     Menu Section — Hover Effects
     ============================================ */
  #menu .group:hover h4 {
    position: relative;
  }

  #menu .group:hover h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--terracotta-light);
    transform: scaleX(1);
    transition: transform 0.3s ease;
  }

  /* ============================================
     Buttons
     ============================================ */
  .group .relative.z-10 {
    transition: color 0.3s ease;
  }

  /* ============================================
     Testimonial Cards
     ============================================ */
  .bg-sand\/50 {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .bg-sand\/50:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(184, 92, 56, 0.12);
  }

  /* ============================================
     Form Styles
     ============================================ */
  #contact-form input:focus,
  #contact-form textarea:focus {
    border-color: var(--terracotta-light) !important;
    box-shadow: 0 0 0 3px rgba(212, 132, 94, 0.15) !important;
  }

  /* ============================================
     Image Aspect Ratios
     ============================================ */
  .aspect-\[4\/5\] {
    aspect-ratio: 4 / 5;
  }

  .aspect-\[3\/4\] {
    aspect-ratio: 3 / 4;
  }

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

  ::-webkit-scrollbar-track {
    background: var(--stone-900);
  }

  ::-webkit-scrollbar-thumb {
    background: var(--terracotta);
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--terracotta-light);
  }

  /* ============================================
     Responsive Adjustments
     ============================================ */
  @media (max-width: 768px) {
    #hero h1 {
      font-size: 2.75rem;
    }

    .font-playfair.text-4xl {
      font-size: 2.25rem;
    }

    .font-playfair.text-5xl {
      font-size: 2.5rem;
    }

    #about .absolute.-bottom-8.-right-8 {
      display: none;
    }

    #about .absolute.-top-6.-left-6 {
      display: none;
    }
  }

  @media (max-width: 640px) {
    #hero h1 {
      font-size: 2.25rem;
    }

    .font-playfair.text-3xl {
      font-size: 1.75rem;
    }

    .font-playfair.text-4xl {
      font-size: 2rem;
    }
  }

  /* ============================================
     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;
    }

    .animate-hero-slow {
      animation: none;
    }

    .reveal {
      opacity: 1;
      transform: none;
    }
  }
