/* ═══════════════════════════════════════════════════════
   RESPONSIVE — The Saracen's Head Inn
   Mobile-first breakpoints and adaptive layouts
   ═══════════════════════════════════════════════════════ */

/* ── Tablet (max-width: 1024px) ── */
@media (max-width: 1024px) {
  .story__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .story__decorative {
    flex-direction: row;
    justify-content: center;
    padding: var(--space-md) 0;
  }

  .story__decorative svg {
    max-width: 120px;
  }

  .pub__cards,
  .food__cards,
  .rooms__grid,
  .events__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .find-us__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .find-us__map {
    height: 300px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .hero__hops-left,
  .hero__hops-right {
    width: 70px;
  }
}

/* ── Mobile Large (max-width: 768px) ── */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  /* Hide custom cursor on touch devices */
  .custom-cursor {
    display: none !important;
  }

  body {
    cursor: auto;
  }

  a, button, .btn, .nav__book, .nav__hamburger {
    cursor: pointer;
  }

  /* Nav */
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__logo-text {
    font-size: var(--text-base);
  }

  /* Hero */
  .hero__timber-left,
  .hero__timber-right {
    width: 40px;
  }

  .hero__hops-left,
  .hero__hops-right,
  .hero__ghost-wisp {
    display: none;
  }

  /* Info Bar */
  .info-bar__grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  /* Cards */
  .pub__cards,
  .food__cards,
  .events__grid {
    grid-template-columns: 1fr;
  }

  .rooms__grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }

  .footer__brand {
    align-items: center;
  }

  .footer__logo {
    justify-content: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__nav-list {
    align-items: center;
  }

  .footer__contact {
    text-align: center;
  }

  /* Ornate rules */
  .ornate-rule svg {
    max-width: 300px;
  }

  /* Floating CTA */
  .floating-cta {
    bottom: var(--space-sm);
    right: var(--space-sm);
  }

  /* Ambient leaves — reduce on mobile */
  .ambient-leaf:nth-child(even) {
    display: none;
  }

  /* Compass */
  .find-us__compass {
    display: none;
  }

  /* Reveal — simpler animations */
  .reveal {
    transform: translateY(20px);
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(20px);
  }

  .reveal-scale {
    transform: scale(0.98);
  }

  /* Rooms nearby */
  .rooms__nearby-list {
    flex-direction: column;
    align-items: center;
  }
}

/* ── Mobile Small (max-width: 480px) ── */
@media (max-width: 480px) {
  .hero__title {
    font-size: var(--text-3xl);
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__ctas .btn {
    text-align: center;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .pull-quote {
    font-size: var(--text-xl);
  }

  .nav__drawer {
    width: 100%;
  }

  .entrance-overlay__title {
    font-size: var(--text-3xl);
  }

  .find-us__map {
    height: 250px;
  }

  .room__card-visual {
    height: 200px;
  }
}

/* ── Very Small (max-width: 375px) ── */
@media (max-width: 375px) {
  .hero__title {
    font-size: var(--text-2xl);
  }

  .container {
    padding: 0 var(--space-sm);
  }
}

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

  .reveal,
  .reveal-scale,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }

  .entrance-overlay {
    display: none !important;
  }

  .custom-cursor {
    display: none !important;
  }

  body {
    cursor: auto;
  }

  a, button {
    cursor: pointer;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ── High contrast ── */
@media (prefers-contrast: high) {
  :root {
    --ink: #000000;
    --cream: #ffffff;
    --parchment: #f5f5f0;
  }

  .nav.scrolled {
    border-bottom-width: 2px;
  }
}
