/* Stable FAQ space: one answer opens inside the reserved section height. */
#faq .faq-heading { position: static; }
#faq .accordion { min-height: var(--faq-reserved-height, auto); overflow-anchor: none; }
#faq .accordion summary { overflow-wrap: anywhere; }
.offer-controls { display: none; }
.gallery-filter .filter-brand { white-space: nowrap; }

/* The SVG keeps every menu stroke on the same pixel grid. */
.site-header .menu-toggle .menu-icon { width: 24px; height: 24px; flex: none; color: var(--pine); }
.menu-icon path { transform-origin: 12px 12px; transition: transform .22s ease, opacity .18s ease; }
.menu-icon path:first-child { transform: translateY(-6px); }
.menu-icon path:last-child { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] .menu-icon path:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon path:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon path:last-child { transform: rotate(-45deg); }

@media (max-width: 720px) {
  /* Shorter transitions between sections; the full-height start area stays intact. */
  main .section { padding-block: 36px !important; }
  main .hours.section, main .reservation.section { padding-block: 32px !important; }
  main .location.section.section-tint { padding-block: 32px !important; }
  main .about-section { padding-bottom: 24px !important; }
  .about-section .about-values { display: none !important; }
  .section .section-heading { margin-bottom: 24px; }
  .about-section .about-layout, .split-heading, .faq .faq-grid { gap: 24px !important; }

  #faq .faq-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; }
  #faq .accordion details summary { padding: 16px 30px 16px 0 !important; }

  /* One row of equally sized offer cards, controlled with arrows or a swipe. */
  .offer .offer-grid {
    position: relative;
    display: flex !important;
    gap: 12px !important;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .offer .offer-grid::-webkit-scrollbar { display: none; }
  .offer .offer-card {
    flex: 0 0 100%;
    min-width: 0;
    min-height: 0 !important;
    scroll-snap-align: start;
    opacity: 1;
    transform: none !important;
  }
  .offer .offer-icon { width: 68px; height: 68px; margin-bottom: 24px; }
  .offer .offer-icon svg { width: 40px; }
  .offer .offer-card p:last-child { margin-bottom: 0; }
  .offer-controls { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; margin-top: 8px; }
  .offer-controls p { margin: 0; text-align: center; font-variant-numeric: tabular-nums; }
  .offer .offer-note { margin-top: 16px; padding: 12px; }

  /* A regular six-cell filter grid replaces the irregular pills. */
  .gallery-section .gallery-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
  .gallery-section .gallery-filter { width: 100%; min-height: 52px; padding: 8px; border-radius: 10px; font-size: .78rem; line-height: 1.3; }
  .gallery-section .gallery-heading h2 { margin-bottom: 20px; }
  .gallery-section .gallery-track { padding-block: 8px; }
  .gallery-section .gallery-slide figcaption { min-height: 2.7rem; margin-top: 10px; font-size: .95rem; line-height: 1.4; }
  .gallery-section .gallery-controls { margin-top: 0; }

  /* Two rows: address and logo, then contact and information. */
  .site-footer { padding: 32px 0 20px; }
  .site-footer .footer-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas: "visit brand" "contact information";
    gap: 24px 16px !important;
    align-items: start;
  }
  .site-footer .footer-brand { grid-area: brand; min-width: 0; justify-self: start; }
  .site-footer .footer-brand > p { display: none; }
  .site-footer .footer-visit { grid-area: visit; min-width: 0; }
  .site-footer .footer-contact { grid-area: contact; min-width: 0; }
  .site-footer .footer-information { grid-area: information; min-width: 0; }
  .site-footer .footer-grid h2 { margin-bottom: 12px; font-size: .72rem; letter-spacing: .12em; }
  .site-footer .footer-grid a, .site-footer .footer-grid address { font-size: clamp(.78rem, 3.5vw, .92rem) !important; overflow-wrap: anywhere; }
  .site-footer .footer-brand .brand-footer { margin: 0 !important; padding: 8px 10px !important; }
  .site-footer .footer-brand .footer-logo-custom { height: auto !important; width: 92px !important; max-width: 100% !important; }
  .site-footer .footer-bottom { margin-top: 24px; padding-top: 16px; gap: 4px; }
  .site-footer .footer-bottom p { font-size: .75rem !important; }
}
