/* AOYMA — early responsive preparation, FR and EN, 2026-10-03.
   Deliberately separate from the approved desktop rules. No decorative lines.
   This is a structural candidate, not final mobile art direction. */
@media (max-width:980px) {
 body.aoyma-finition .home-seasons .season-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 body.aoyma-finition .page3-process .process-row {
  grid-template-columns:minmax(0,1fr)!important;gap:22px!important;
 }
 body.aoyma-finition .page3-process .process-title {
  grid-template-columns:52px minmax(0,1fr)!important;gap:20px!important;align-items:baseline;
 }
 body.aoyma-finition .page3-process .process-label {
  max-width:none!important;width:auto!important;
 }
 body.aoyma-finition .page3-process .process-copy {
  min-width:0;max-width:65ch!important;
 }
 body.aoyma-finition .home-case .case-steps {
  grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:28px 24px!important;
 }
}
@media (max-width:720px) {
 /* Keep semantic groups, but stop desktop line boxes becoming narrow columns of words. */
 body.aoyma-finition :is(.home-hero .h1-primary,.page2-hero .h1-primary,.page3-hero .h1-primary,.page4-offer .h1-primary) {
  width:100%!important;max-width:100%!important;
  font-size:clamp(36px,9.9vw,50px)!important;line-height:1.06!important;letter-spacing:-.028em!important;
  text-wrap:balance;
 }
 body.aoyma-finition :is(.home-hero .h1-secondary,.page2-hero .h1-secondary,.page3-hero .h1-secondary,.page4-offer .h1-secondary) {
  width:100%!important;max-width:100%!important;
  font-size:clamp(34px,9.7vw,48px)!important;line-height:1.04!important;text-wrap:balance;
 }
 body.aoyma-finition .aoyma-line{white-space:normal!important;}
 body.aoyma-finition :is(.h1-secondary,.tech-title-secondary,.judgment-question,.role-impact,.case-impact,.process-close) .aoyma-line {
  display:inline!important;
 }
 body.aoyma-finition :is(.page3-tech .tech-title-primary,.page3-hero .experience-grid .strong) {
  width:auto!important;max-width:100%!important;
 }
 body.aoyma-finition .page3-tech .tech-title-secondary {
  max-width:100%!important;font-size:clamp(34px,9vw,46px)!important;line-height:1.04!important;text-wrap:balance;
 }
 body.aoyma-finition .page3-tech .judgment-question {
  max-width:100%!important;font-size:clamp(32px,8.6vw,42px)!important;line-height:1.08!important;text-wrap:balance;
 }
 body.aoyma-finition .page3-process .process-close {
  max-width:100%!important;font-size:clamp(32px,8.6vw,42px)!important;line-height:1.08!important;text-wrap:balance;
 }
 body.aoyma-finition .home-seasons .setup-row {gap:24px!important;}
 body.aoyma-finition .aoyma-footer-desc {white-space:normal;}
}
@media (max-width:640px) {
 body.aoyma-finition .home-seasons .season-grid,
 body.aoyma-finition .page2-hero .service-grid {
  grid-template-columns:minmax(0,1fr)!important;gap:44px!important;
 }
 body.aoyma-finition .page2-hero .service-grid h3 {
  max-width:none!important;font-size:28px!important;line-height:1.15!important;
 }
 body.aoyma-finition .page2-hero .service-grid .service-intro {
  max-width:none!important;margin-top:14px!important;
 }
 body.aoyma-finition .page2-hero .service-grid .bullets {margin-top:20px!important;}
 body.aoyma-finition .home-seasons .season-grid .formula {margin:0!important;min-width:0;}
 body.aoyma-finition .home-case .case-steps {grid-template-columns:minmax(0,1fr)!important;gap:24px!important;}
 body.aoyma-finition .home-case .case-steps>div {
  display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;align-items:baseline;
 }
 body.aoyma-finition .home-case .case-steps .num {font-size:30px!important;line-height:1.1!important;}
 body.aoyma-finition .home-case .case-steps .steptext {
  max-width:none!important;font-size:16px!important;line-height:1.5!important;padding:0!important;margin:0!important;
 }
 body.aoyma-finition .page2-case .case-outcomes {grid-template-columns:minmax(0,1fr)!important;gap:18px!important;}
 body.aoyma-finition .page3-process .process-row {margin-left:0!important;margin-right:0!important;}
 body.aoyma-finition .page3-process .process-label {font-size:26px!important;line-height:1.16!important;}
 body.aoyma-finition .page3-process .process-no {font-size:38px!important;line-height:1!important;}
}
@media (max-width:720px) {
 /* Section headlines keep their editorial role without filling a phone with a word column. */
 html body.aoyma-finition[data-language] :is(.home-problem,.home-services,.home-case,.home-proof,.home-local,.home-seasons,.home-contact,.page2-roles,.page2-case,.page2-cta,.page3-tech,.page3-process,.page3-cta,.page4-faq,.page4-contact) h2 {
  max-width:100%!important;width:auto!important;
  font-size:clamp(34px,9.7vw,44px)!important;line-height:1.08!important;letter-spacing:-.025em!important;text-wrap:balance;
 }
 body.aoyma-finition .page3-process .process-lead {
  max-width:100%!important;font-size:28px!important;line-height:1.2!important;
 }
 body.aoyma-finition .page3-process .process-preface {gap:28px!important;}
}
@media (max-width:640px) {
 /* Long translated links wrap within the text measure; their arrow stays functional. */
 body.aoyma-finition a.text-link {display:inline!important;max-width:100%!important;white-space:normal!important;}
}
