/* Screen width, not device name, drives folded/unfolded layouts. */
html{scrollbar-gutter:stable}body{overflow-wrap:break-word}main,section,form,.form-grid>*,.inquiry-layout>*,.location-layout>*{min-width:0}img{max-width:100%}
.hero{height:100svh}.menu{min-width:44px;min-height:44px}.menu-panel{overscroll-behavior:contain;max-height:100dvh}.menu-panel.open{touch-action:pan-y}.site-directory a,.footer-links a{display:inline-flex;align-items:center;min-height:44px}
.course-grid,.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}form input,form select{min-height:48px}form textarea{min-height:160px}.consent{min-height:44px;align-items:center}.submit{min-height:48px}.hero-sub{flex-wrap:wrap}
@media(min-width:600px) and (max-width:1023px){
 :root{--pad:clamp(28px,5vw,48px)}
 header,header.scrolled{height:72px}header nav{display:none}.progress{display:none}
 .hero{min-height:580px;padding-top:115px}.hero h1{font-size:clamp(48px,7.5vw,74px)}
 .scene{min-height:620px;height:auto;padding-top:100px;padding-bottom:115px}.scene h2{font-size:clamp(40px,6vw,62px)}.event .scene-copy{width:75%;max-width:600px}
 .intro-lower,.tech-head{gap:30px}.tech-row{grid-template-columns:35px 1fr 1fr 28px;gap:15px}.tech-row h3{font-size:22px}
 .detail-hero,.detail-hero.has-photo{padding-top:135px;padding-bottom:55px;min-height:470px}.detail-hero h1{font-size:clamp(42px,6.5vw,64px);margin-bottom:42px}
 .detail-section{padding-top:60px;padding-bottom:60px}
 .course-grid,.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.course-grid h2{font-size:26px}.photo-grid figure:nth-child(5n+1){grid-column:1/-1}
 .inquiry-layout{grid-template-columns:1fr;gap:40px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .location-layout{grid-template-columns:1fr 1fr;gap:24px}.location-layout h2{font-size:30px}.location-panel{padding:35px 24px}.location-panel strong{font-size:25px}
 .expanded-menu{grid-template-columns:1fr 1fr;gap:0 28px}.expanded-menu a{font-size:24px}.detail-cta{flex-wrap:wrap}.contact-main{flex-wrap:wrap}
}
@media(max-width:599px){
 :root{--pad:22px}header,header.scrolled{height:68px}header nav{display:none}.progress{display:none}
 .hero{min-height:570px;padding-top:100px;padding-bottom:95px}.hero h1{font-size:clamp(38px,10vw,58px)}.hero-copy p{font-size:16px}.hero-bottom{letter-spacing:.8px;gap:15px}.hero-index{display:none}
 .intro,.tech,.contact{padding:65px var(--pad)}.intro-lower,.tech-head{grid-template-columns:1fr;gap:28px}.business-line{grid-template-columns:1fr;margin-top:40px}.business-line a,.business-line a+a{border-left:0;border-bottom:1px solid #b8bebd;padding:22px 0}
 .scene{height:auto;min-height:590px;padding:90px var(--pad) 110px}.event .scene-copy{width:100%;max-width:none}.scene h2{font-size:clamp(35px,9vw,50px)}.scene-foot{flex-wrap:wrap;gap:10px}
 .tech-row{grid-template-columns:24px minmax(0,1fr) 24px;gap:12px}.tech-row p{grid-column:2;grid-row:2}.tech-row b{grid-column:3;grid-row:1}.tech-row h3{font-size:22px}
 .contact-main{display:block}.contact-main>a{margin-top:25px}.contact-meta{flex-wrap:wrap;gap:20px}
 .detail-hero,.detail-hero.has-photo{padding:120px var(--pad) 45px;min-height:420px}.detail-hero h1{font-size:clamp(36px,10vw,50px);margin:30px 0 40px}
 .course-grid,.photo-grid,.form-grid,.inquiry-layout,.location-layout{grid-template-columns:minmax(0,1fr)}.course-grid,.photo-grid{gap:20px}.photo-grid figure:nth-child(5n+1){grid-column:auto}.form-grid{gap:0}.inquiry-layout{gap:35px}
 .expanded-menu{grid-template-columns:1fr}.expanded-menu a{font-size:24px}.detail-cta{display:block}.detail-cta>a{margin-top:25px}.submit{width:100%}.history-list h2{font-size:28px}.hero-sub{font-size:14px;gap:15px}.site-directory{gap:8px 18px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
