/* ========================================
   LUNE CAFE — レスポンシブ
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .concept__visual {
    order: -1;
  }

  .concept__frame {
    aspect-ratio: 16 / 9;
    clip-path: ellipse(96% 92% at 50% 50%);
  }

  .menu-editorial {
    grid-template-columns: 1fr;
  }

  .space-editorial {
    grid-template-columns: 1fr;
  }

  .space-editorial__hero {
    min-height: 320px;
  }

  .space-editorial__pair {
    flex-direction: row;
  }

  .scene-editorial {
    grid-template-columns: 1fr;
  }

  .scene-piece {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .visit-panel__grid {
    grid-template-columns: 1fr 1fr;
  }

  .visit-panel__cta {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding-left: 0;
    padding-top: 1.5rem;
  }

  .footer--editorial .footer__mast {
    grid-template-columns: 1fr;
  }

  .space-detail,
  .space-detail--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .nav__list {
    display: none;
  }

  .header__reserve--desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --section-padding: clamp(3rem, 10vw, 5rem);
  }

  .hero__stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .hero__visual {
    order: -1;
    padding: calc(var(--header-height) + 0.5rem) 1.25rem 0;
    min-height: 42vh;
  }

  .hero__visual-frame {
    clip-path: ellipse(98% 92% at 50% 55%);
  }

  .hero__visual-frame .img-wrap {
    min-height: 38vh;
  }

  .hero__lunar {
    top: auto;
    bottom: 12%;
    left: 8%;
  }

  .hero__ghost {
    font-size: clamp(5rem, 28vw, 9rem);
    top: 38%;
  }

  .hero__copy {
    padding: 2rem 1.25rem 4.5rem;
    padding-left: 1.25rem;
  }

  .hero__headline-cafe {
    margin-left: 1.5rem;
  }

  .hero__middle {
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-end;
  }

  .hero__cta {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hero-cta {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
  }

  .hero-cta:last-child {
    border-bottom: none;
    padding-left: 0;
  }

  .hero__scroll {
    display: none;
  }

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

  .btn {
    width: 100%;
    padding: 1rem 1.5rem;
  }

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

  .space-preview__sub {
    flex-direction: column;
  }

  .sec-head__title-accent {
    margin-left: 1rem;
  }

  .sec-head__desc {
    margin-left: 1rem;
  }

  .concept__copy {
    flex-direction: column;
  }

  .concept__lead-vert {
    writing-mode: horizontal-tb;
    border-left: none;
    border-top: 1px solid rgba(201, 162, 39, 0.4);
    padding-left: 0;
    padding-top: 1rem;
  }

  .space-list {
    grid-template-columns: 1fr;
  }

  .space-list__item:nth-child(odd) {
    border-right: none;
  }

  .visit-panel__grid {
    grid-template-columns: 1fr;
  }

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

  .menu-item,
  .menu-item--with-image {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .menu-item__image .img-wrap {
    width: 100%;
    height: 200px;
  }

  .menu-item__price {
    justify-self: start;
  }

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

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

  .gallery__item:nth-child(1) {
    grid-column: span 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .confirm-modal__actions {
    flex-direction: column;
  }

  .confirm-modal__actions .btn {
    width: 100%;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero__headline-lune {
    letter-spacing: 0.1em;
  }

  .hero__tagline-vertical {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
  }

  .hero__meta-orbit {
    width: 88px;
    height: 88px;
  }

  .logo__name {
    font-size: 1.1rem;
    letter-spacing: 0.15em;
  }

  .page-hero {
    padding-top: calc(var(--header-height) + 3rem);
  }

  .page-hero--editorial .sec__ghost {
    font-size: 3.5rem;
    opacity: 0.5;
  }

  .sec__ghost {
    display: none;
  }

  .scene-card {
    padding: 2rem 1.5rem;
  }

  .sns-section {
    padding: 2rem 1.5rem;
  }
}

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

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .hero__ghost,
  .hero__orbit-ring,
  .hero__lunar-glow,
  .hero__scroll-line,
  .hero__eyebrow-dot {
    animation: none;
  }

  .hero__eyebrow,
  .hero__headline-row--1,
  .hero__headline-row--2,
  .hero__tagline-vertical,
  .hero__meta-orbit,
  .hero__cta,
  .hero__visual-frame,
  .hero__lunar,
  .hero__scroll {
    opacity: 1;
    animation: none;
    transform: none;
  }
}
