/* Touch-first enhancements to the existing Papyon public site. */
@media (max-width: 760px) {
    html { scroll-padding-top: 100px; }
    main .rhythm-story.rhythm-cinema { height: auto; min-height: 0; margin-top: 64px; }
    main .rhythm-cinema-stage { position: relative; height: auto; min-height: 0; padding: 32px 20px; }
    main .rhythm-cinema-visuals, main .rhythm-cinema-wash, main .rhythm-progress { display: none; }
    main .rhythm-cinema .rhythm-story-intro { position: relative; inset: auto; width: auto; padding: 0 0 28px; background: none; }
    main .rhythm-cinema-chapters { position: relative; inset: auto; display: flex; width: 100%; min-height: 0; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0; padding-bottom: 12px; }
    main .rhythm-cinema-chapter { position: relative; inset: auto; flex: 0 0 90%; min-width: 0; min-height: 370px; padding: 28px 20px; display: flex; flex-direction: column; justify-content: flex-end; visibility: visible; opacity: 1; transform: none; pointer-events: auto; scroll-snap-align: start; background-color: #0B1B57; background-image: linear-gradient(0deg,rgba(11,27,87,.97),rgba(11,27,87,.25)),var(--chapter-photo,none); background-position: center; background-size: cover; border: 1px solid #C2CEF2; }
    main .rhythm-cinema-chapter h3 { font-size: clamp(36px,10vw,54px); }
    main .rhythm-cinema-chapter a { align-self: flex-start; min-height: 48px; }
    .cinema-swipe-hint { margin: 0 0 18px; color: #C2CEF2; font-size: 12px; }
    .mobile-dock > a, .mobile-dock > button { color: #C2CEF2; }
    .mobile-dock > * > small { font-size: 9px; }
    .day-tabs button, .hero-dots button, .review-controls button { min-height: 44px; }
    .hero-dots button { border-top: 20px solid transparent; border-bottom: 20px solid transparent; background-clip: content-box; }
    .lesson-row > a { min-width: 44px; min-height: 44px; display: grid; place-items: center; }
    .contact-sheet { max-height: calc(100svh - 95px); overflow-y: auto; overscroll-behavior: contain; }
    footer { padding-bottom: calc(105px + env(safe-area-inset-bottom)); }
    input, select, textarea { font-size: 16px; }
    .mobile-menu nav > a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    main .rhythm-story.rhythm-cinema { height: auto; min-height: 0; }
    main .rhythm-cinema-stage { height: auto; min-height: 0; }
    main .rhythm-cinema-chapters { display: grid; overflow: visible; scroll-snap-type: none; }
    main .rhythm-cinema-chapter { min-height: 0; }
    .cinema-swipe-hint { display: none; }
}
@media (max-width:760px) {
    .contact-sheet-handle { position: relative; touch-action: none; }
    .contact-sheet-handle::before { content: ''; position: absolute; inset: -10px -24px; }
    .contact-sheet-head h2 { font-size: clamp(25px,7vw,31px); line-height: 1.12; }
    .contact-sheet-head button { min-width: 48px; min-height: 48px; }
    .contact-sheet-intro { opacity: .85; font-size: 13px; }
    .contact-sheet-primary small, .contact-sheet-grid small, .contact-sheet-hours { font-size: 11px; opacity: .85; }
    .contact-sheet-grid strong { font-size: 14px; }
    .contact-lesson-summary { margin: 0 0 16px; padding: 14px 16px; border: 1px solid #8DB4E6; border-radius: 14px; background: rgba(194,206,242,.08); }
    .contact-lesson-summary small { display: block; margin-bottom: 6px; color: #C2CEF2; font-size: 11px; }
    .contact-lesson-summary strong { font-size: 16px; line-height: 1.5; }
    .contact-lesson-summary[hidden] { display: none; }
    body.contact-open .mobile-dock { pointer-events: none; }
    .day-tabs { scroll-padding-inline: 20px; }
}
