/* Shared device and touch refinements. Load after page-specific styles. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
main{overflow-wrap:break-word}
.site-header .services-nav,.slide-button,.rotation-toggle{min-height:44px}
.slide-button,.rotation-toggle{min-width:44px;height:44px}
.slide-buttons{flex-wrap:wrap}
.site-header .menu-toggle{flex:0 0 44px;width:44px;height:44px}
.contact-compact .form-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.contact-form label,.contact-form fieldset,.contact-methods>div>div,
.website-pages-list li>div:last-child,.website-care-grid article>div,
.journey-steps li>div:last-child{min-width:0}
.contact-compact .contact-form input:not([type=radio]),
.contact-compact .contact-form select,.contact-compact .contact-form textarea{
  min-width:0;max-width:100%;min-height:48px;font-size:16px;
}
.contact-compact .contact-form textarea{max-height:none}
.contact-compact .contact-form .button{min-height:48px}
.contact-compact .contact-form .radio-label{min-height:44px;padding-block:6px;cursor:pointer}
.contact-methods strong,.email-address-example{overflow-wrap:anywhere}
.email-address-example{white-space:normal}
@media(max-width:1100px){
  .header-inner{gap:16px}
  .site-header .brand{min-width:0;flex-shrink:1}
  .site-header nav{max-height:calc(100vh - 96px);max-height:calc(100dvh - 96px);overflow-y:auto;overscroll-behavior-y:contain}
  .site-header nav>a,.site-header nav .services-nav,.dropdown a{min-height:44px}
  .hero{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .hero,.website-package-hero,.email-hero{grid-template-columns:minmax(0,1fr);gap:28px}
  .hero-copy{padding-right:0}
  .showcase .website-scene{height:auto;min-height:0;padding:28px 0}
  .showcase .browser-preview{width:86%}
  .website-price-panel{width:100%}
  .email-hero-copy>p{max-width:680px}
}
@media(max-width:800px){
  .about-page .value-layout,.about-page .experience-band .value-layout,
  .about-page .package-layout,.home-package .package-layout{grid-template-columns:minmax(0,1fr);gap:30px}
  .about-page .about-principles,.about-page .local-band .value-layout>div:last-child,
  .about-page .package-layout>div:last-child,.home-package .package-layout>div:last-child{border-left:0;padding-left:0}
  .about-page .about-principles,.about-page .local-band .value-layout>div:last-child{border-top:1px solid var(--line);padding-top:28px}
  .about-page .package-layout>div:last-child,.home-package .package-layout>div:last-child{border-top:1px solid var(--footer-divider);padding-top:28px}
}
@media(max-width:600px){
  .contact-compact .form-row,.contact-compact .form-row.availability-row{grid-template-columns:minmax(0,1fr);gap:0}
  .contact-compact .contact-form fieldset{gap:4px 16px}
}
@media(max-width:360px){
  .site-header .brand-logo{width:min(183px,100%)}
  .hero-actions .button,.website-price-panel .button{width:100%;gap:12px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .button{transition:none}
}
