/* Mobile reading layout. Desktop keeps the approved editorial arrangement. */
.menu-label{display:none}.mobile-word{white-space:nowrap}
@media(max-width:900px){
 .brand-site #menu-toggle{display:flex;align-items:center;justify-content:center;gap:8px;width:86px;height:44px;padding:8px 10px;border:1px solid #b7a48f;border-radius:7px;background:#fffaf480;color:var(--ink);flex-shrink:0}
 #menu-toggle>span:not(.sr-only){height:auto;width:auto;background:none;margin:0;transform:none}
 #menu-toggle .menu-glyph{font-size:21px;line-height:1}
 #menu-toggle .menu-label{display:block;font-size:14px;line-height:1}
 #menu-toggle[aria-expanded="true"]>span:first-child,#menu-toggle[aria-expanded="true"]>span:nth-child(2){transform:none}
 .brand-site .site-header{gap:14px}
 .site-header .brand-horizontal{max-width:calc(100vw - 145px)}
 .brand-site #site-nav a{text-align:center;font-size:16px}
}
@media(max-width:600px){
 html{scroll-padding-top:90px}
 body.brand-site{height:100dvh;overflow:hidden;font-size:16px}
 .site-scroll{height:100dvh;overflow-y:auto;overflow-x:clip;scroll-behavior:smooth;scroll-padding-top:94px;overscroll-behavior-y:contain}
 .brand-site .site-header{height:80px;padding:0 20px;position:sticky;top:0;z-index:30}
 .brand-site #site-nav{top:80px;max-height:calc(100dvh - 180px);overflow:auto}
 .site-header .brand-horizontal{width:205px;max-width:calc(100vw - 145px)}
 .brand-site main{text-align:center}
 .brand-site main h1,.brand-site main h2,.brand-site main h3,.brand-site main p,.brand-site main figcaption{text-align:center}
 .brand-site main h1{font-size:clamp(26px,7vw,31px);line-height:1.5;letter-spacing:0;text-wrap:balance;max-width:100%;margin-left:auto;margin-right:auto}
 .brand-site main h2{font-size:clamp(24px,6.5vw,28px);line-height:1.55;letter-spacing:0;text-wrap:balance;max-width:100%;margin-left:auto;margin-right:auto}
 .brand-site main h3{font-size:23px;line-height:1.5}
 .brand-site main .phrase,.brand-site main .page-title h1 .phrase{display:inline-block;max-width:100%}
 .brand-site main .hero-intro .sentence{display:inline}
 .brand-site main p{font-size:16px;line-height:1.9;letter-spacing:0;max-width:100%;margin-left:auto;margin-right:auto;text-wrap:pretty;overflow-wrap:normal}
 .brand-site main .eyebrow{font-size:12px;line-height:1.7;letter-spacing:.12em;margin-bottom:18px}
 .brand-site main p+p{margin-top:20px}
 .brand-site .section,.brand-site .editorial-hero,.brand-site .page-title{padding:52px 22px}
 .brand-site .section-top{display:block;margin-bottom:30px}
 .brand-site .section-top>div{margin-top:22px;max-width:100%}
 .brand-site .section-top>.eyebrow{margin-bottom:16px}
 .brand-site .hero{padding:0;min-height:0;height:auto;overflow:hidden}
 .brand-site .hero-photo{position:relative;inset:auto;width:100%;height:clamp(350px,108vw,460px);object-fit:cover;object-position:77% top;z-index:auto}
 .brand-site .hero::before{display:none}
 .brand-site .hero-content{width:100%;max-width:none;min-height:0;padding:32px 22px 64px}
 .brand-site .hero-content h1{font-size:clamp(27px,7.3vw,32px);line-height:1.5}
 .brand-site .hero-intro{padding:0;margin:24px auto 0;max-width:100%}
 .brand-site .hero-intro p{font-size:16px;line-height:1.95}
 .brand-site .hero-line{font-size:12px;line-height:1.8;margin-top:24px}
 .brand-site .hero-curve{height:24px}
 .brand-site .button{font-size:15px;min-height:48px;padding:12px 16px;gap:12px;justify-content:center;line-height:1.6;max-width:100%}
 .brand-site .button span{font-size:18px;flex-shrink:0}
 .brand-site .actions,.brand-site .closing .actions,.brand-site .visit-copy .actions,.brand-site .booking-title .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch;margin:26px auto 0;width:100%;max-width:420px}
 .brand-site .actions .button,.brand-site .closing .actions .button{width:100%;max-width:none;min-width:0;font-size:14px;padding:12px 7px;gap:6px;margin:0;white-space:nowrap;letter-spacing:0}
 .brand-site .actions:has(>.button:only-child){grid-template-columns:1fr;max-width:300px}
 .brand-site .button.text-link{width:max-content;margin-left:auto;margin-right:auto}
 .brand-site .welcome-copy p,.brand-site .welcome-copy h2,.brand-site .editorial-copy,.brand-site .editorial-copy>p,.brand-site .closing p{max-width:100%;margin-left:auto;margin-right:auto}
 .brand-site .welcome-copy h2{margin-bottom:22px}
 .brand-site .home-space-copy,.brand-site .about-space-link>div,.brand-site .ziwei-hero>div{padding:48px 22px}
 .brand-site .process-heading{white-space:normal;max-width:none;font-size:clamp(24px,6.5vw,28px)}
 .brand-site .process-teaser li{justify-content:center;font-size:22px;gap:16px}
 .brand-site .about-title{padding-top:185px}
 .brand-site .about-title h1,.brand-site .editorial-copy h1,.brand-site .ziwei-hero h1,.brand-site .booking-title h1{font-size:clamp(26px,7vw,31px);max-width:100%}
 .brand-site .teacher-editorial,.brand-site .working-editorial,.brand-site .welcome-photo,.brand-site .space-visit figure,.brand-site .visit-entrance{margin-left:auto;margin-right:auto;width:100%}
 .brand-site .about-belief .brand-emblem{margin-left:auto;margin-right:auto}
 .brand-site .service-tabs,.brand-site .portfolio-toolbar{justify-content:center;gap:26px}
 .brand-site .service-tabs button{font-size:22px}.brand-site .service-tabs button span{font-size:12px;margin-left:8px}
 .brand-site .price-introduction{display:block;text-align:center}
 .brand-site .price-serif{font-size:42px;margin-bottom:16px}.brand-site .price-serif br{display:none}
 .brand-site .price-introduction p{max-width:100%;margin:16px auto}
 .brand-site .price-row{grid-template-columns:1fr;gap:8px;padding:25px 0}
 .brand-site .price-row p{max-width:100%;font-size:15px;margin:10px auto 0}
 .brand-site .price-row h3{font-size:23px}.brand-site .price-row strong{font-size:23px}
 .brand-site .price-notes h3{margin-bottom:12px}.brand-site .price-notes p{font-size:15px}
 .brand-site .steps>li,.brand-site .steps li:nth-child(n+4),.brand-site .booking-steps li{display:block;text-align:center}
 .brand-site .steps>li>span,.brand-site .booking-steps li>span{display:block;margin:0 0 12px;padding:0}
 .brand-site .steps h3,.brand-site .booking-steps h3{margin-bottom:12px}
 .brand-site .faq summary{justify-content:center;position:relative;padding:20px 28px;font-size:16px;text-align:center}
 .brand-site .faq summary>span{position:absolute;right:0}.brand-site .faq details p{font-size:15px}
 .brand-site .studio-points p{justify-content:center;gap:14px}
 .brand-site .case-meta{justify-items:center;text-align:center}.brand-site .case-meta p{font-size:15px}
 .brand-site .ziwei-services article{text-align:center}.brand-site .ziwei-services .index-number{display:block}.brand-site .ziwei-services strong{display:block}
 .brand-site .booking-topic>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:420px;margin:auto}
 .brand-site .booking-topic .button{font-size:14px;gap:6px;padding:12px 7px;letter-spacing:0}
 .brand-site .booking-topic .button:last-child{grid-column:1/-1;justify-self:center}
 .brand-site .visit-copy .text-link{display:inline-flex}
 .brand-site .review-card-top{justify-content:center;gap:12px}
 .brand-site .guest-quote blockquote p{font-size:18px;line-height:1.9}
 .brand-site .review-source-note,.brand-site .review-bottom p{font-size:13px}
 .brand-site .review-arrows{justify-content:center}.brand-site .review-count{min-width:60px}
 .brand-site .footer-main{text-align:center;justify-items:center}
 .brand-site .footer-main .brand-official{margin:auto}
 .brand-site .footer-main .footer-nav{width:100%;text-align:center;gap:8px 24px}
 .brand-site .footer-contact,.brand-site .footer-contact p{text-align:center}
 .brand-site .footer-contact>div{justify-content:center}
 .brand-site .footer-bottom{align-items:center;text-align:center}
 .brand-site .footer-bottom .footer-tagline{text-align:center}
 .brand-site .site-footer{padding:44px 22px 28px}
 /* Compact floating control; footer clearance lets all final content scroll above it. */
 .brand-site .site-footer{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
 .contact-widget{right:max(16px,env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom));width:52px;height:52px;padding:0;background:none;border:0;display:block}
 .contact-widget>summary,.contact-widget[open]>summary{width:52px;min-height:52px;height:52px;padding:0;margin:0;gap:0;border-radius:50%}
 .contact-widget .contact-open-label,.contact-widget[open] .contact-open-label{display:none}
 .contact-panel{right:0;bottom:66px;width:calc(100vw - 32px);max-width:380px;text-align:left;max-height:calc(100dvh - 126px - env(safe-area-inset-bottom))}

}
@media(max-width:359px){.brand-site .section,.brand-site .editorial-hero,.brand-site .page-title{padding-left:16px;padding-right:16px}.brand-site .hero-content{padding-left:16px;padding-right:16px}.brand-site .actions .button{font-size:13px;gap:4px}.brand-site .actions .button span{font-size:16px}.brand-site .hero-content h1{font-size:26px}.brand-site .site-header{padding-left:16px;padding-right:16px}.brand-site #menu-toggle{width:78px}.site-header .brand-horizontal{max-width:calc(100vw - 130px)}}
@media(prefers-reduced-motion:reduce){.site-scroll{scroll-behavior:auto}}
@media(max-width:359px){.brand-site .actions .button span{display:none}}

/* V9.1: discreet circular consultation trigger on all screen sizes. */
.contact-widget>summary{width:56px;height:56px;min-height:56px;padding:0;border-radius:50%;background:rgba(98,105,75,.78);box-shadow:0 4px 16px #42372e20}
.contact-widget .contact-open-label,.contact-widget[open] .contact-open-label{display:none}
.contact-widget>summary:hover,.contact-widget>summary:focus-visible,.contact-widget[open]>summary{background:rgba(98,105,75,.96)}
.contact-widget>summary:focus-visible{outline:2px solid var(--olive);outline-offset:4px}
@media(max-width:600px){.contact-widget>summary,.contact-widget[open]>summary{width:52px;height:52px;min-height:52px}}
