/*!
 * Autumn Ads Home Experience — responsive.css
 * Dedicated tablet and phone compositions, touch rules and reduced motion.
 */

/* ------------------------------------------------------------ large desktop */
@media (min-width:1800px){
	.aa-home{--aa-pad:clamp(90px,7vw,160px);}
}

/* ------------------------------------------------------------ laptop */
@media (max-width:1280px){
	.aa-home__row{grid-template-columns:44px 120px minmax(0,1fr) minmax(200px,30ch);}
	.aa-home__steps{gap:0 1.2vw;}
}

/* ------------------------------------------------------------ small laptop / tablet landscape */
@media (max-width:1100px){
	.aa-home__reasons{grid-template-columns:repeat(2,minmax(0,1fr));}
	.aa-home__row{grid-template-columns:40px minmax(0,1fr);grid-template-areas:"num verb" "num title" "num text";}
	.aa-home__row-num{grid-area:num;}
	.aa-home .aa-home__row-verb{grid-area:verb;margin-bottom:10px;}
	.aa-home .aa-home__row-title{grid-area:title;}
	.aa-home .aa-home__row-text{grid-area:text;margin-top:14px;max-width:46ch;}
	.aa-home__scene{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);align-content:center;gap:5vh;}
	.aa-home__scene-visual{grid-column:1;grid-row:1;height:34vh;}
	.aa-home__scene-copy{grid-column:1;grid-row:2;}
	.aa-home .aa-home__scene-name{margin-right:0;}
}

/* ------------------------------------------------------------ tablet portrait & phones */
@media (max-width:900px){
	.aa-home{--aa-pad:clamp(20px,6vw,48px);}
	.aa-home__hero{padding-top:calc(var(--aa-header-offset) + 18vh);}
	.aa-home__hero-foot{grid-template-columns:minmax(0,1fr);gap:28px;}
	.aa-home__hero-foot .aa-home__lede,.aa-home__actions{grid-column:1;grid-row:auto;}
	.aa-home__about-head,.aa-home__services-head,.aa-home__why-head,.aa-home__industries-head,.aa-home__projects-head{grid-template-columns:minmax(0,1fr);gap:28px;}
	.aa-home__why-head > .aa-home__lede,.aa-home__projects-head > .aa-home__lede{grid-column:1;margin-top:0;}
	.aa-home__about{padding-top:22vh;}
	.aa-home__about-head > .aa-home__lede{grid-column:1;grid-row:auto;}
	.aa-home__bloom-view{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:2vh;padding-top:calc(var(--aa-header-offset) + 2vh);padding-bottom:9vh;}
	.aa-home__plant{height:100%;min-height:0;overflow:hidden;}
	.aa-home__bloom-cards{height:clamp(220px,34vh,300px);}
	.aa-home__bloom-dots{bottom:0;gap:14px;}
	.aa-home .aa-home__bloom-dots li{font-size:14px;}
	.aa-home .aa-home__svc{grid-template-columns:minmax(0,1fr);width:90vw;min-height:0;border-radius:26px;}
	.aa-home .aa-home__svc-title{margin-top:4vh;font-size:clamp(44px,13vw,80px);}
	.aa-home .aa-home__svc-list,.aa-home .aa-home__svc-text{grid-column:1;margin-top:3vh;}
	.aa-home .aa-home__svc-list li{padding:10px 0;font-size:15px;}
	.aa-home__stack{height:calc(var(--n,6) * 48vh + var(--aa-stage-h));}
	.aa-home__services,.aa-home__why,.aa-home__industries,.aa-home__projects{padding-top:22vh;}
	.aa-home__services-head,.aa-home__why-head{margin-bottom:10vh;}
	.aa-home__industries-head .aa-home__display{grid-column:1;grid-row:auto;text-align:left;}
	.aa-home__industries-head .aa-home__display .aa-home__line{padding-left:0;}
	.aa-home__industries-head .aa-home__lede{grid-row:auto;}
	.aa-home__walk-head{grid-template-columns:minmax(0,1fr);gap:18px;}
	.aa-home__walk-view{padding-top:calc(var(--aa-header-offset) + 5vh);}
	.aa-home .aa-home__step-title{display:none;}
	.aa-home__walk{height:calc(var(--n,8) * 36vh + var(--aa-stage-h));}
	.aa-home__projects-head{margin-bottom:4vh;}
	.aa-home__rail{bottom:18px;gap:12px;}
	.aa-home__rail-track{width:48px;}
	.aa-home__rail-name{font-size:17px;}
	.aa-home__bars i{height:6vh;}
	.aa-home__cue{display:none;}
	/* lighter compositing on phones and tablets: fewer full-screen blend layers */
	.aa-home__grain,.aa-home__rays{display:none;}
	.aa-home__fog--near,.aa-home__fog--far{mix-blend-mode:normal;}
}

/* ------------------------------------------------------------ phones */
@media (max-width:600px){
	.aa-home .aa-home__display{font-size:clamp(44px,13.4vw,76px);letter-spacing:-.02em;}
	.aa-home .aa-home__display--hero{font-size:clamp(50px,15.2vw,88px);}
	.aa-home .aa-home__display--light{font-size:clamp(34px,10.6vw,60px);}
	.aa-home .aa-home__display--final{font-size:clamp(46px,14vw,82px);}
	.aa-home .aa-home__kicker{font-size:10px;letter-spacing:.24em;gap:10px;}
	.aa-home__kicker::before{width:24px;}
	.aa-home__hero{padding-bottom:12vh;}
	.aa-home__actions{gap:6px 28px;}
	.aa-home__reasons{grid-template-columns:minmax(0,1fr);gap:7vh;}
	.aa-home .aa-home__approach-intro .aa-home__lede{display:none;}
	.aa-home .aa-home__walk-num{font-size:64px;}
	.aa-home__walk-card{flex-direction:column;gap:6px;}
	.aa-home .aa-home__walk-title{font-size:clamp(40px,12vw,64px);}
	.aa-home .aa-home__step-num{font-size:13px;}
	.aa-home__row{padding:26px 0;}
	.aa-home .aa-home__row-title{font-size:clamp(44px,13vw,70px);}
	.aa-home__scene{padding:calc(var(--aa-header-offset) + 12vh) var(--aa-pad) 16vh;gap:4vh;}
	.aa-home__scene-visual{height:26vh;}
	.aa-home .aa-home__scene-name{font-size:clamp(34px,10vw,72px);overflow-wrap:anywhere;}
	.aa-home__scene-facts{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:4vh;}
	.aa-home__reel{height:calc(var(--n,5) * 60vh + var(--aa-stage-h));}
	.aa-home__reel-foot{justify-content:space-between;right:calc(var(--aa-pad) + 50px);gap:18px;}
	.aa-home__rail-num{display:none;}
}

/* ------------------------------------------------------------ touch: no hover-only states, no cursor */
@media (hover:none),(pointer:coarse){
	.aa-home__cursor{display:none;}
	.aa-home .aa-home__row:hover .aa-home__row-title span{color:inherit;letter-spacing:inherit;}
}

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion:reduce){
	.aa-home.is-ready .aa-home__camera,
	.aa-home__clouds::before,.aa-home__fog::before,.aa-home__fog::after,
	.aa-home__grain,.aa-home__cta-ring,.aa-home__cue i::after{animation:none!important;}
	.aa-home__line-in,.aa-home__intro,.aa-home [data-aa-reveal]{transition-duration:.01s!important;transition-delay:0s!important;}
	.aa-home__hero-inner,.aa-home__scene-copy,.aa-home__scene-img,.aa-home__scene-glow{transform:none!important;}
	.aa-home .aa-home__scene-mono{transform:translate(-50%,-50%)!important;}
	.aa-home__cursor{display:none;}
	.aa-home__bars{display:none;}
}

@media (max-width:900px){
	.aa-home__callout{--len:56px;}
	.aa-home__callout-label em{font-size:20px;}
}

/* ------------------------------------------------------------ phones & tablets: smooth, flicker-free rendering */
@media (max-width:900px),(hover:none) and (pointer:coarse){
	/* frosted glass is very expensive on mobile GPUs (and flickers in iOS Safari): solid tinted glass instead */
	.aa-home .aa-home__glass,.aa-home .aa-home__svc,.aa-home__scene-visual,.aa-home .aa-home__sound{
		-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(20,17,13,.66)!important;}
	.aa-home .aa-home__glass::before{display:none;}
	/* no full-screen blend modes */
	.aa-home__light,.aa-home__grade,.aa-home__fog,.aa-home__flash{mix-blend-mode:normal!important;}
	.aa-home__grade{opacity:.5;}
	.aa-home__light{opacity:.55;}
	.aa-home__clouds::before{filter:none;}
	/* pinned scenes fit the smallest visible screen (browser bars shown) and clear a theme's bottom bar */
	.aa-home{--aa-view-h:calc(100vh - var(--aa-bottom-offset));}
	@supports (height:100svh){ .aa-home{--aa-view-h:calc(100svh - var(--aa-bottom-offset));} }
	.aa-home .aa-home__sound{bottom:calc(14px + var(--aa-bottom-offset));right:14px;width:42px;height:42px;padding:0;justify-content:center;gap:0;}
	.aa-home .aa-home__sound-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
	.aa-home .aa-home__svc::after{content:"";position:absolute;inset:0;border-radius:inherit;background:#000;opacity:var(--aa-dim,0);pointer-events:none;z-index:5;}
	/* one drifting fog sheet per layer instead of two, and the far sheet without a mask (fewer full-screen layers) */
	.aa-home__fog--far::after{display:none;}
	.aa-home__fog--far{-webkit-mask-image:none;mask-image:none;}
	.aa-home__fog--far::before{opacity:.75;}
	/* fewer GPU layers: only elements that really move keep their own layer */
	.aa-home__plates,.aa-home__plate,.aa-home__clouds,.aa-home__fog,.aa-home__shade i,.aa-home__hero-inner{will-change:auto;}
	/* cheap text legibility: no large blurred shadows */
	.aa-home__chapters{text-shadow:0 1px 3px rgba(8,6,4,.55);}
	/* reveals without blur filters */
	.aa-home [data-aa-reveal],.aa-home [data-aa-reveal] *,.aa-home .aa-w,.aa-home__intro,.aa-home__walk-card,.aa-home__bloom-card,.aa-home__lily{filter:none!important;}
	.aa-home.is-ready .aa-home__camera{animation-name:aa-camera-settle-m;}
	@keyframes aa-camera-settle-m{from{transform:scale(1.08);opacity:.4;}to{transform:none;opacity:1;}}
	.aa-home__cursor{display:none;}
}
@media (max-width:900px),(hover:none) and (pointer:coarse){
	.aa-home .aa-home__svc{background:linear-gradient(160deg,#27221b,#100e0b)!important;}
}
