/* Malvern Wells detailed case study — isolated theme preview */
body.aa-migrated .aa-case-film-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding:20px 0 65px}
body.aa-migrated .aa-case-film-card{background:#f5f7f2;border:1px solid #d8e2d3;min-width:0;overflow:hidden}
body.aa-migrated .aa-case-film-media{background:#1d2a1e;aspect-ratio:16/9}
body.aa-migrated .aa-case-film-media iframe{display:block;width:100%;height:100%;border:0;aspect-ratio:16/9}
body.aa-migrated .aa-case-film-text{padding:25px}
body.aa-migrated .aa-case-film-text>span{font-size:11px;font-weight:800;letter-spacing:.13em;color:#618e45}
body.aa-migrated .aa-case-film-text h3{font-size:clamp(22px,2vw,28px);line-height:1.15;letter-spacing:-.03em;margin:12px 0}
body.aa-migrated .aa-case-film-text p{font-size:14px;margin:0;line-height:1.65;color:#52624e}
@media(max-width:700px){body.aa-migrated .aa-case-film-grid{grid-template-columns:1fr;gap:18px;padding-bottom:35px}body.aa-migrated .aa-case-film-text{padding:21px}}

body.aa-migrated .aa-case-hero{background:#263e2a;color:#fff;padding:clamp(68px,8vw,120px) 0}
body.aa-migrated .aa-case-hero-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(265px,.6fr);gap:clamp(32px,6vw,95px);align-items:end}
body.aa-migrated .aa-case-hero .aa-kicker{color:#b8d5a7;letter-spacing:.15em}
body.aa-migrated .aa-case-hero h1{font-size:clamp(48px,6.7vw,92px);line-height:1.01;letter-spacing:-.06em;color:white;margin:15px 0 24px}
body.aa-migrated .aa-case-hero h1 em{font-style:normal;color:#afd092}
body.aa-migrated .aa-case-hero .aa-lead{color:#e0eade;font-size:clamp(17px,1.8vw,21px);max-width:720px;line-height:1.6;margin:0 0 27px}
body.aa-migrated .aa-case-hero .aa-button-outline{color:#fff!important;border-color:#b8d5a7!important}
body.aa-migrated .aa-case-hero-stats{border-top:1px solid #719070}
body.aa-migrated .aa-case-hero-stats div{border-bottom:1px solid #719070;padding:16px 0;display:flex;flex-direction:column;gap:5px}
body.aa-migrated .aa-case-hero-stats span{font-size:11px;letter-spacing:.15em;color:#b7d2a8;font-weight:750}
body.aa-migrated .aa-case-hero-stats strong{color:#fff;font-size:15px;line-height:1.4}
body.aa-migrated .aa-case-image-section{background:#edf2e9;padding:36px 0 18px}
body.aa-migrated .aa-case-hero-photo{margin:0}
body.aa-migrated .aa-case-hero-photo img{display:block;width:100%;height:clamp(300px,48vw,620px);object-fit:cover;object-position:center}
body.aa-migrated .aa-case-hero-photo figcaption{font-size:12px;color:#51634d;padding:12px 0}
body.aa-migrated .aa-case-split{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,7vw,105px)}
body.aa-migrated .aa-case-intro h2,body.aa-migrated .aa-case-services h2,body.aa-migrated .aa-case-section-heading h2,body.aa-migrated .aa-case-video-anchor h2,body.aa-migrated .aa-case-summary h2,body.aa-migrated .aa-case-next h2{font-size:clamp(35px,4.6vw,62px);line-height:1.09;letter-spacing:-.05em;margin:12px 0 18px}
body.aa-migrated .aa-case-intro p,body.aa-migrated .aa-case-services p,body.aa-migrated .aa-case-journey p,body.aa-migrated .aa-case-video-anchor p,body.aa-migrated .aa-case-next p{font-size:16px;color:#536250;line-height:1.75}
body.aa-migrated .aa-case-intro .aa-text-link{display:inline-block;margin-top:12px}
body.aa-migrated .aa-case-journey{background:#edf2e9}
body.aa-migrated .aa-case-section-heading{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:35px}
body.aa-migrated .aa-case-section-heading>p{max-width:370px}
body.aa-migrated .aa-case-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
body.aa-migrated .aa-case-steps article{background:#fff;border-top:4px solid #618e45;border-left:1px solid #d8e2d1;border-right:1px solid #d8e2d1;border-bottom:1px solid #d8e2d1;padding:clamp(23px,2.6vw,34px);min-height:260px}
body.aa-migrated .aa-case-steps article>span{font-size:11px;font-weight:800;letter-spacing:.1em;color:#618e45}
body.aa-migrated .aa-case-steps h3{font-size:clamp(22px,2vw,28px);line-height:1.18;letter-spacing:-.025em;margin:22px 0 12px}
body.aa-migrated .aa-case-steps p{font-size:14px;margin:0}
body.aa-migrated .aa-case-video-anchor{background:#fff;padding-bottom:0}
body.aa-migrated .aa-case-video-anchor .aa-kicker{color:#618e45}
body.aa-migrated .aa-case-video-anchor>div>p:last-of-type{max-width:690px}
body.aa-migrated .aa-case-video-anchor .aa-video-section{background:transparent;padding:17px 0 45px}
body.aa-migrated .aa-case-video-anchor .aa-video-section>.aa-container{width:100%;max-width:none;padding:0}
body.aa-migrated .aa-case-video-anchor .aa-video-section>.aa-container>h2,body.aa-migrated .aa-case-video-anchor .aa-video-section>.aa-container>p{display:none}
body.aa-migrated .aa-case-services{background:#f4f6f1}
body.aa-migrated .aa-case-service-links{border-top:1px solid #cedaca}
body.aa-migrated .aa-case-service-links a{display:grid;grid-template-columns:35px 1fr auto;gap:16px;text-decoration:none;color:#263e2a;border-bottom:1px solid #cedaca;padding:21px 0}
body.aa-migrated .aa-case-service-links a>span{font-size:12px;font-weight:700;color:#618e45}
body.aa-migrated .aa-case-service-links h3{font-size:20px;margin:0 0 8px}
body.aa-migrated .aa-case-service-links p{font-size:14px;margin:0}
body.aa-migrated .aa-case-summary{background:#263e2a}
body.aa-migrated .aa-case-summary-inner{color:#fff;display:flex;justify-content:space-between;align-items:center;gap:35px}
body.aa-migrated .aa-case-summary-inner>div{max-width:760px}
body.aa-migrated .aa-case-summary .aa-kicker{color:#b6d29f}
body.aa-migrated .aa-case-summary h2{color:#fff}
body.aa-migrated .aa-case-summary h2 em{font-style:normal;color:#b8d69f}
body.aa-migrated .aa-case-summary p{color:#e5eee0;font-size:16px;line-height:1.7}
body.aa-migrated .aa-case-summary .aa-button{flex-shrink:0;background:#fff!important;color:#263e2a!important;border-color:#fff!important}
body.aa-migrated .aa-case-next{background:#edf2e9}
body.aa-migrated .aa-case-next .aa-container>div{max-width:850px}
body.aa-migrated .aa-case-next .aa-actions{margin-top:25px}
@media(max-width:950px){body.aa-migrated .aa-case-steps{grid-template-columns:repeat(2,minmax(0,1fr))}body.aa-migrated .aa-case-hero-grid{grid-template-columns:1fr}body.aa-migrated .aa-case-hero-stats{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}}
@media(max-width:700px){body.aa-migrated .aa-case-split{grid-template-columns:1fr}body.aa-migrated .aa-case-section-heading,body.aa-migrated .aa-case-summary-inner{flex-direction:column;align-items:stretch}body.aa-migrated .aa-case-steps{grid-template-columns:1fr}body.aa-migrated .aa-case-steps article{min-height:0}body.aa-migrated .aa-case-hero h1{font-size:clamp(44px,10vw,65px)}body.aa-migrated .aa-case-hero .aa-actions,body.aa-migrated .aa-case-next .aa-actions{display:flex;flex-direction:column;align-items:stretch}body.aa-migrated .aa-case-hero .aa-button,body.aa-migrated .aa-case-next .aa-button,body.aa-migrated .aa-case-summary .aa-button{width:100%;text-align:center;white-space:normal}body.aa-migrated .aa-case-hero-photo img{height:280px}body.aa-migrated .aa-case-service-links a{grid-template-columns:27px 1fr 15px;gap:9px}body.aa-migrated .aa-case-hero-stats{grid-template-columns:1fr 1fr}}
