  /* ===== Custom styles for Yesler Apartments ===== */

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

  /* Focus visible */
  :focus-visible {
    outline: 2px solid #7B2D3B;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* ===== Badge ===== */
  .badge-hero {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 9999px;
    background: #fce4e8;
    color: #7B2D3B;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid #f9c5cc;
  }

  /* ===== Navigation links ===== */
  .nav-link {
    display: inline-block;
    padding: 8px 16px;
    color: #5e1f28;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: background 0.2s, color 0.2s;
  }

  .nav-link:hover {
    background: #fce4e8;
    color: #7B2D3B;
  }

  /* ===== Mobile nav links ===== */
  .mobile-nav-link {
    display: block;
    color: #5e1f28;
    font-weight: 500;
    border-radius: 12px;
    transition: background 0.15s, color 0.15s;
  }

  .mobile-nav-link:hover {
    background: #fce4e8;
    color: #7B2D3B;
  }

  /* ===== Card hover ===== */
  .card-hover {
    will-change: transform;
  }

  /* ===== Input fields ===== */
  .input-field {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #f9c5cc;
    border-radius: 12px;
    background: #fdf8f6;
    color: #3a0f14;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    appearance: none;
  }

  .input-field::placeholder {
    color: #c08496;
  }

  .input-field:hover {
    border-color: #d94055;
    background: #fef0eb;
  }

  .input-field:focus {
    outline: none;
    border-color: #7B2D3B;
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.12);
    background: #fff;
  }

  /* ===== Primary button ===== */
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 9999px;
    background: #7B2D3B;
    color: #FDE8E0;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(123, 45, 59, 0.3);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  }

  .btn-primary:hover {
    background: #941c2e;
    box-shadow: 0 6px 20px rgba(123, 45, 59, 0.4);
    transform: translateY(-1px);
  }

  .btn-primary:active {
    background: #5e1f28;
    transform: translateY(0);
  }

  /* ===== Scroll reveal (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);
    }

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

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