/* Match the public opening's 96px desktop title offset, without changing typography. */
.landing .hero.hero-renewed{align-items:flex-start;padding-top:96px}
@media(max-width:760px){.landing .hero.hero-renewed{padding-top:64px;height:auto;min-height:calc(100svh - 80px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.landing .text-entry{opacity:1;transform:none;transition:none}.hero-art,.hero-line,.hero-message span{animation:none!important;transition:none!important}}
/* Keep the original three editorial lines at every viewport width. */
.landing .hero-renewed h1>.hero-line{white-space:nowrap}
@media(max-width:1000px){.landing .hero-renewed h1{font-size:7.8vw}}
/* Larger mobile opening: preserve the three lines and the desktop composition. */
@media(max-width:760px){
 .landing .hero-renewed h1{font-size:13vw;line-height:1.12;margin-bottom:32px}
 .landing .hero-renewed h1>.hero-line:first-child{font-size:9vw;line-height:1.3}
 .landing .hero-renewed h1>em.hero-line{font-size:1.08em;line-height:1.12;margin-top:0}
 .landing .hero-renewed .hero-message{font-size:17px;line-height:1.65}
}
/* Centered mobile composition, with a prominent title and supporting copy. */
@media(max-width:760px){
 .landing .hero.hero-renewed{text-align:center;padding-left:14px;padding-right:14px;align-items:center;padding-top:48px;padding-bottom:64px}
 .landing .hero-renewed h1{font-size:15vw;line-height:1.16;text-align:center;margin-bottom:34px}
 .landing .hero-renewed h1>.hero-line:first-child{font-size:9.4vw;line-height:1.3}
 .landing .hero-renewed h1>em.hero-line{font-size:1.02em;line-height:1.15}
 .hero-renewed h1>.hero-line,.hero-renewed .hero-message span{left:0}
 .landing .hero-renewed .hero-message{font-size:19px;line-height:1.6;text-align:center;margin-left:auto;margin-right:auto;max-width:360px}
}
/* Restore the former published mobile type scale and left-aligned composition. */
@media(max-width:760px){
 .landing .hero.hero-renewed{text-align:left;align-items:center;padding:45px 24px 55px;min-height:calc(100svh - 80px)}
 .landing .hero-renewed h1{font-size:clamp(44px,10.4vw,76px);line-height:1.04;text-align:left;margin:0 0 30px}
 .landing .hero-renewed h1>.hero-line:first-child{font-size:1em;line-height:inherit}
 .landing .hero-renewed h1>.hero-line{white-space:normal}
 .landing .hero-renewed h1>em.hero-line{font-size:1.2em;line-height:1.01;margin-top:.01em}
 .landing .hero-renewed .hero-message{font-size:17px;line-height:1.65;text-align:left;margin:0;max-width:650px}
}
/* Compact mobile opening: let content set the height instead of filling the screen. */
@media(max-width:760px){
 .landing .hero.hero-renewed{height:auto;min-height:0;max-height:none;align-items:flex-start;padding:48px 24px 46px}
 .landing .hero-renewed h1{margin-bottom:28px}
 .landing .hero-renewed .hero-message{font-size:17px;line-height:1.65}
}
@media(max-width:370px){.landing .hero.hero-renewed{padding:38px 22px 40px}}
/* Mobile text proportions matched to the supplied earlier-publication reference. */
@media(max-width:760px){
 .landing .hero.hero-renewed{padding:48px 6% 48px}
 .landing .hero-renewed h1{font-size:11.5vw;line-height:1.04;margin-bottom:34px}
 .landing .hero-renewed h1>.hero-line:first-child{font-size:1em;line-height:inherit}
 .landing .hero-renewed h1>em.hero-line{font-size:1.2em;line-height:1.06;margin-top:.12em}
 .landing .hero-renewed .hero-message{font-size:clamp(13px,3.65vw,17px);line-height:1.7}
}
/* One complete mobile opening screen; trajectory starts below the fold. */
@media(max-width:760px){
 .landing .hero.hero-renewed{min-height:calc(100svh - 80px);height:auto;align-items:flex-start;padding-top:48px;padding-bottom:48px}
}

.hero-mobile-cta{display:none!important}
@media(max-width:760px){
 .landing .hero.hero-renewed{padding:42px 6% 38px;align-items:stretch}
 .landing .hero-renewed-content{display:flex;flex-direction:column;justify-content:center;min-height:calc(100svh - 160px)}
 .landing .hero-renewed h1{font-size:13.3vw;line-height:1.04;margin-bottom:34px}
 .landing .hero-renewed h1>em.hero-line{font-size:1.06em;line-height:1.12;margin-top:.06em}
 .landing .hero-renewed .hero-message{font-size:18px;line-height:1.6}
 .landing .hero-renewed .hero-mobile-cta{display:flex!important;justify-content:space-between;align-items:center;width:100%;min-height:58px;margin-top:32px;padding:17px 22px;background:#f8faf9;color:#163d50;border-color:#f8faf9;font-size:18px}
}
@media(max-width:760px){
 .landing .hero-renewed-content{justify-content:flex-start;padding-top:52px}
 .landing .hero-renewed .hero-mobile-cta{width:auto;align-self:flex-start;min-width:154px;min-height:54px;border-radius:28px;padding:13px 26px;margin-top:30px}
}
/* Avoid oversized, animated SVG blur surfaces on mobile WebKit. */
@media(max-width:760px){
 .hero-renewed .hero-art svg,.hero-renewed .value-rings ellipse{filter:none!important}
 .hero-renewed .value-rings{animation:none!important;transform:translateY(30px) scale(.98) rotate(-12deg)}
 .services-new:not(.motion-visible) .ayg-service-art *{animation-play-state:paused!important}
}
