/* Left-to-right curtain with independent content and image entrances. */
#mobile-menu { padding: 0; overflow: hidden; background: transparent; }
#mobile-menu::backdrop { background: rgba(250,248,245,.12); }
#mobile-menu .menu-sheet { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); padding: 120px var(--gutter) 32px; }
#mobile-menu .menu-layout { min-height: calc(100svh - 222px); }
#mobile-menu .menu-close { top: 27px; left: clamp(22px,3.35vw,64px); right: auto; padding: 10px 0; min-height: 44px; gap: 16px; background: transparent; color: var(--ink); }
#mobile-menu .menu-close > span { font-size: 13px; letter-spacing: 1px; }
#mobile-menu .menu-close-lines { position: relative; display: block; width: 36px; height: 14px; }
#mobile-menu .menu-close-lines i { position: absolute; left: 0; top: 6px; width: 36px; height: 1px; background: currentColor; transform: rotate(45deg); }
#mobile-menu .menu-close-lines i:last-child { transform: rotate(-45deg); }
#mobile-menu .menu-brand { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 3; }
#mobile-menu .menu-brand img { width: 88px; height: 67px; object-fit: contain; }
#mobile-menu .menu-contact { font-size: 14px; flex-wrap: wrap; gap: 14px 30px; }
#mobile-menu .menu-bottom { font-size: 12px; line-height: 1.6; }
#mobile-menu .menu-feature .eyebrow { font-size: 12px; }
#mobile-menu .menu-feature-title { font-family: var(--editorial,Georgia,serif); font-size: 32px; }
#mobile-menu .menu-section > summary small { font-size: 11px; }
#mobile-menu[data-menu-phase="opening"] .menu-sheet,
#mobile-menu[data-menu-phase="closing"] .menu-sheet { will-change: transform, clip-path; }
#mobile-menu[data-menu-phase="opening"]::backdrop { animation: menu-veil-in .65s ease both; }
#mobile-menu[data-menu-phase="closing"]::backdrop { animation: menu-veil-out .44s ease both; }
@keyframes menu-veil-in { from {background: transparent;} to {background: rgba(250,248,245,.12);} }
@keyframes menu-veil-out { from {background: rgba(250,248,245,.12);} to {background: transparent;} }
@media(max-width:979px) {
 #mobile-menu .menu-sheet { padding-top: 112px; }
 #mobile-menu .menu-layout { grid-template-columns: 1fr; min-height: 0; }
 #mobile-menu .menu-feature { display: none; }
 #mobile-menu .menu-bottom { margin-top: 38px; }
}
@media(max-width:760px) {
 #mobile-menu .menu-close { top: 19px; left: 20px; gap: 10px; }
 #mobile-menu .menu-close > span { font-size: 12px; }
 #mobile-menu .menu-close-lines,#mobile-menu .menu-close-lines i { width: 27px; }
 #mobile-menu .menu-brand { top: 16px; }
 #mobile-menu .menu-brand img { width: 64px; height: 49px; }
 #mobile-menu .menu-bottom { font-size: 11px; letter-spacing: .7px; }
}
@media(prefers-reduced-motion:reduce) {
 #mobile-menu::backdrop { animation: none !important; }
}
/* Keep the close control and logo legible while long menus scroll beneath them. */
#mobile-menu::before { content: ''; position: absolute; inset: 0 0 auto; height: 100px; z-index: 2; background: var(--paper); pointer-events: none; }
#mobile-menu[data-menu-phase="opening"]::before { animation: menu-top-in .4s ease both; }
#mobile-menu[data-menu-phase="closing"]::before { animation: menu-top-in .3s ease reverse both; }
@keyframes menu-top-in { from { opacity: 0; } to { opacity: 1; } }
@media(max-width:760px) { #mobile-menu::before { height: 82px; } }
@media(prefers-reduced-motion:reduce) { #mobile-menu::before { animation: none !important; } }
