/* One navigation breakpoint for phones, tablets and compact desktop windows. */
@media (max-width: 1099px) {
    .site-header .nav-menu,
    .site-header .btn-header-reserve,
    .pc-scroll-progress { display: none !important; }
    .site-header #macaronNavToggle {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 0 0 46px;
        width: 46px !important;
        height: 46px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        z-index: 10006 !important;
    }
    #macaronNavToggle:focus-visible {
        outline: 2px solid #486d64 !important;
        outline-offset: 4px !important;
    }
    #macaronNavToggle .slim-nav-lines {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-end !important;
        width: 26px !important;
        height: 18px !important;
        gap: 7px !important;
    }
    #macaronNavToggle .slim-nav-line {
        display: block;
        width: 22px;
        height: 1px;
        background: #30271f;
        transform-origin: center;
        transition: transform .25s ease, width .25s ease;
    }
    #macaronNavToggle .bottom-line { width: 15px; background: #b59871; }
    #macaronNavToggle.active .top-line {
        width: 22px !important;
        transform: translateY(4px) rotate(45deg) !important;
        background: #30271f !important;
    }
    #macaronNavToggle.active .bottom-line {
        width: 22px !important;
        transform: translateY(-4px) rotate(-45deg) !important;
        background: #b59871 !important;
    }
    #macaronDrawerOverlay {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 10000 !important;
        overflow: hidden !important;
        overscroll-behavior: contain;
        background: #f7f3ec !important;
        background-image: radial-gradient(ellipse at 50% 8%, #fffdf9, #f2ede4) !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .28s ease, visibility .28s ease;
    }
    #macaronDrawerOverlay.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    #macaronDrawerOverlay .macaron-drawer-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        width: 100% !important;
        max-width: 440px !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: 100% !important;
        margin: 0 auto !important;
        padding: calc(90px + env(safe-area-inset-top, 0px)) 20px calc(110px + env(safe-area-inset-bottom, 0px)) !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    #macaronDrawerOverlay .macaron-drawer-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 7px;
        margin: 6px 0 14px;
        padding: 0;
    }
    #macaronDrawerOverlay .macaron-drawer-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px;
        min-height: 44px;
        padding: 9.5px 16px;
        box-sizing: border-box;
        border-radius: 10px;
        text-decoration: none;
    }
    #macaronDrawerOverlay .macaron-drawer-link .en { flex: 0 0 auto; }
    #macaronDrawerOverlay .macaron-drawer-link .ja { text-align: right; }
    #macaronDrawerOverlay .drawer-sns-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 400px !important;
        margin-inline: auto !important;
    }
    #macaronDrawerOverlay .drawer-sns-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 44px;
        padding: 9px 8px;
        box-sizing: border-box;
        border-radius: 999px;
        font-size: 12px;
        text-decoration: none;
    }
    #macaronDrawerOverlay .drawer-sticky-reserve-zone {
        position: absolute !important;
        inset: auto 0 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: auto !important;
        min-height: 76px;
        padding: 12px 28px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
        box-sizing: border-box;
        z-index: 10020 !important;
        background: #f7f3ec !important;
        border-top: 1px solid #d7c3aa59;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
    #macaronDrawerOverlay .btn-drawer-reserve {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        max-width: 334px !important;
        margin: 0 auto !important;
        height: auto !important;
        max-height: none !important;
        box-sizing: border-box;
    }
    .mobile-sticky-cta {
        display: flex !important;
        visibility: visible !important;
        pointer-events: auto !important;
        position: fixed !important;
        inset: auto 0 0 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: auto !important;
        min-height: 76px;
        padding: 12px 28px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
        box-sizing: border-box;
        z-index: 9999 !important;
        background: #fffffffA !important;
        border-top: 1px solid #d7c3aa59;
    }
    body.menu-open .mobile-sticky-cta {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}
@media (min-width: 641px) and (max-width: 1099px) {
    .site-header .header-container { width: 100%; max-width: 1200px; padding-inline: 32px !important; box-sizing: border-box; }
}
@media (min-width: 1100px) {
    .site-header .header-container {
        display: flex !important;
        gap: 22px;
        width: 100%;
        max-width: 1240px !important;
        padding-inline: 32px !important;
        box-sizing: border-box;
    }
    .site-header .nav-menu {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        min-width: 0;
        gap: clamp(12px, 1.1vw, 20px) !important;
        margin: 0 !important;
    }
    .site-header .nav-link { font-size: 13px !important; letter-spacing: .06em !important; white-space: nowrap; }
    .site-header .logo { flex: 0 0 auto; }
    .site-header .btn-header-reserve { display: inline-flex !important; flex: 0 0 auto; margin-left: 0 !important; padding-inline: 18px !important; }
    .site-header #macaronNavToggle,
    #macaronDrawerOverlay,
    .mobile-sticky-cta { display: none !important; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
    .site-header .header-container { gap: 16px; }
    .site-header .nav-link { font-size: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
    #macaronDrawerOverlay,
    #macaronNavToggle .slim-nav-line { transition: none !important; }
}
@media (forced-colors: active) {
    #macaronDrawerOverlay,
    #macaronDrawerOverlay .drawer-sticky-reserve-zone,
    .mobile-sticky-cta { background: Canvas !important; color: CanvasText; }
    #macaronNavToggle .slim-nav-line { background: ButtonText !important; }
}

/* Keep the hero clear; use the drawer or a quiet footer control. */
.drawer-motion-slot, .lani-footer-motion-slot { display: none; }
@media (max-width: 1099px) {
 #macaronDrawerOverlay .drawer-motion-slot { display: flex; justify-content: center; margin: 22px 0 8px; }
 #macaronDrawerOverlay .drawer-motion-slot .lani-motion-toggle { position: static; min-height: 44px; padding: 10px 18px; border: 1px solid #b6a48d99; border-radius: 999px; background: #fffdf8; color: #655448; font: 11px/1.7 var(--font-sans); letter-spacing: .025em; cursor: pointer; }
 #macaronDrawerOverlay .drawer-motion-slot .lani-motion-toggle:focus-visible { outline: 2px solid #486d64; outline-offset: 4px; }
}
@media (forced-colors: active) {
 #macaronDrawerOverlay .drawer-motion-slot .lani-motion-toggle { background: ButtonFace; color: ButtonText; border-color: ButtonText; }
}

@media (min-width: 1100px) {
 .site-footer .lani-footer-motion-slot { display: block; margin-top: 8px; }
 .site-footer .lani-motion-toggle { position: static; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 0; background: transparent; color: #e9e0d4; font: 10.5px/1.8 var(--font-sans); letter-spacing: .025em; text-decoration: underline; text-decoration-color: #bfad9680; text-underline-offset: 4px; cursor: pointer; }
 .site-footer .lani-motion-toggle:focus-visible { outline: 2px solid #e9e0d4; outline-offset: 3px; }
}
@media (forced-colors: active) { .site-footer .lani-motion-toggle { color: ButtonText; background: ButtonFace; text-decoration-color: ButtonText; } }
