/* Local decorative stages: existing text/control geometry remains usable without JS. */
.aik-cast-scene {position:relative;isolation:isolate;width:100%;max-width:100%;margin:1.5rem auto;box-sizing:border-box;overflow:clip;}
.aik-cast-slot {display:block;position:relative;pointer-events:none;user-select:none;min-width:0;perspective:800px;}
.aik-cast-slot .aik-cast-img {display:block;position:relative;width:100%;height:auto;aspect-ratio:1;object-fit:contain;margin:0!important;border:0;box-shadow:none!important;pointer-events:none;transform-origin:50% 75%;}
.aik-cast-img[data-failed] {visibility:hidden;}
#aik-home-intro [data-aik-cast-owner] {translate:none!important;scale:none!important;}
#aik-home-intro .aik-home-inner>.wp-block-group__inner-container:has(.aik-cast-scene--recipe) {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:center;column-gap:24px;}
#aik-home-intro .aik-home-inner>.wp-block-group__inner-container:has(.aik-cast-scene--recipe)>:not(.aik-cast-scene) {grid-column:2;}
.aik-cast-scene--recipe {grid-column:1;grid-row:1/5;height:400px;margin:0!important;}
.aik-cast-scene--recipe .aik-cast-slot {width:min(100%,400px);height:100%;margin:auto;}
.aik-cast-scene--recipe .aik-cast-img {height:100%;}
/* A physical sill behind the fingers, with the torso clipped behind its front face. */
.aik-cast-scene--peek {--peek-width:320px;max-width:640px!important;display:grid;grid-template-columns:1fr;justify-items:center;padding:12px 20px 0;border:1px solid #a77962;border-radius:22px;background:#f4e5d2;}
.aik-cast-slot--above {width:var(--peek-width);height:calc(var(--peek-width)*.59);overflow:hidden;}
.aik-cast-slot--above:before {content:"";position:absolute;z-index:0;left:0;right:0;top:calc(var(--peek-width)*.553);height:14px;border-top:4px solid #a77962;background:#dfc09b;border-radius:3px;}
.aik-cast-slot--above .aik-cast-img {z-index:1;width:var(--peek-width);transform-origin:50% 55%;}
.aik-cast-slot--below {width:260px;justify-self:end;margin-top:-5px;}
.aik-cast-scene--peek .aik-beginner-actions {position:relative;z-index:3;justify-content:center!important;width:100%;margin:14px 0 0!important;min-width:0;}
.aik-cast-scene--peek .wp-block-button {margin:auto!important;}
.aik-cast-scene--peek a {position:relative;}
/* Shared title is above the pair at all widths: both gestures lead up and inward. */
.aik-cast-scene--editors {display:grid;grid-template-columns:1fr 1fr;align-items:end;max-width:760px!important;gap:0 12px;}
.aik-cast-scene--editors .c-pageTitle {grid-column:1/-1;grid-row:1;position:relative;z-index:2;min-width:0;margin:0 0 6px!important;text-align:center;}
.aik-cast-scene--editors .aik-cast-slot--left {grid-column:1;grid-row:2;}
.aik-cast-scene--editors .aik-cast-slot--right {grid-column:2;grid-row:2;}
.aik-cast-scene--editors .aik-cast-slot {width:100%;max-width:360px;}
.aik-cast-scene--echo {display:flex;justify-content:center;align-items:center;gap:18px;min-height:320px;border-top:1px solid #cbb29d;padding:24px 4px;}
.aik-cast-slot--tiny {width:170px;flex:0 0 170px;border:2px solid #a77962;border-bottom-width:7px;border-radius:22px;background:#f4e5d2;overflow:hidden;align-self:center;}
.aik-cast-slot--echo {width:300px;flex:0 1 300px;}
.aik-cast-scene--contact {display:grid;grid-template-columns:minmax(0,1fr) 250px;align-items:center;gap:8px 20px;padding:16px 0;}
.aik-cast-scene--contact h2 {grid-column:1/-1;grid-row:1;margin:0!important;}
.aik-cast-scene--contact p {grid-column:1;grid-row:2;margin:0!important;}
.aik-cast-slot--guide {grid-column:2;grid-row:2;width:250px;}
.aik-cast-scene a:focus-visible {outline:3px solid #70402b;outline-offset:5px;}
@media(hover:hover) and (pointer:fine){.aik-cast-scene--peek a:hover{background:#fff8ef!important;color:#79462f!important;border-color:#79462f!important;}}
@media(max-width:599px){
 #aik-home-intro .aik-home-inner>.wp-block-group__inner-container:has(.aik-cast-scene--recipe){display:block;}
 .aik-cast-scene--recipe{height:290px;max-width:320px!important;}
 .aik-cast-scene--peek{--peek-width:min(270px,82vw);padding:8px 12px 0;}
 .aik-cast-slot--below{width:220px;max-width:85%;}
 .aik-cast-scene--editors{gap:0;margin:1rem auto!important;}
 .aik-cast-scene--editors .aik-cast-slot{width:calc(100% + 24px);max-width:none;}
 .aik-cast-scene--editors .aik-cast-slot--left{margin-right:-12px;}
 .aik-cast-scene--editors .aik-cast-slot--right{margin-left:-12px;}
 .aik-cast-scene--echo{min-height:240px;gap:2px;padding:18px 0;}
 .aik-cast-slot--tiny{width:130px;flex-basis:130px;}
 .aik-cast-slot--echo{width:210px;min-width:0;flex:0 1 210px;}
 .aik-cast-scene--contact{grid-template-columns:1fr;gap:0;}
 .aik-cast-scene--contact h2{grid-column:1;grid-row:1;}
 .aik-cast-slot--guide{grid-column:1;grid-row:2;width:220px;justify-self:end;}
 .aik-cast-scene--contact p{grid-column:1;grid-row:3;}
}
@media(prefers-reduced-motion:reduce){.aik-cast-img{transform:none!important;opacity:1!important;}}
/* Final contact geometry: the sill is the actual upper edge of the CTA panel. */
.aik-cast-scene--peek {border:0;background:none;}
.aik-cast-scene--peek:before {content:"";position:absolute;z-index:0;left:0;right:0;top:calc(var(--peek-width)*.553 + 12px);bottom:0;border:1px solid #a77962;border-top:4px solid #a77962;border-radius:4px 4px 22px 22px;background:#f4e5d2;pointer-events:none;}
.aik-cast-slot--above:before {display:none;}
.aik-cast-slot--below {z-index:1;justify-self:center;margin-left:120px;width:240px;}
@media(max-width:599px){
 .aik-cast-scene--peek:before {top:calc(var(--peek-width)*.553 + 8px);}
 .aik-cast-slot--below{width:220px;margin-left:40px;}
 .aik-cast-scene--contact{display:flow-root;}
 .aik-cast-scene--contact h2{margin-bottom:16px!important;}
 .aik-cast-scene--contact .aik-cast-slot--guide{float:right;width:46%;max-width:180px;margin:0 0 8px 12px;}
 .aik-cast-scene--contact p{margin:0!important;}
}
.aik-cast-scene--editors .c-pageTitle__inner {margin-inline:auto;}
@media(max-width:599px){.aik-cast-scene--contact .aik-cast-slot--guide{width:38%;min-width:110px;max-width:150px;}}

/* One shared tabletop, no individual box; the small performer remains in front. */
.aik-cast-scene--echo{align-items:end;gap:12px;min-height:360px;padding:40px 16px 28px;border:0;background:radial-gradient(ellipse at 50% 95%,#d7b08a 0%,#f0d7b9 43%,transparent 44%);}
.aik-cast-scene--echo:before{content:"";position:absolute;z-index:-1;left:5%;right:5%;bottom:25px;height:40%;border-bottom:2px solid #b68c69;border-radius:50%;background:repeating-linear-gradient(0deg,transparent 0 22px,#ba947032 23px 24px);pointer-events:none;}
.aik-cast-scene--echo .aik-cast-slot--tiny{width:190px;flex:0 0 190px;align-self:end;margin-bottom:8px;border:0;border-radius:0;background:none;overflow:visible;z-index:2;}
.aik-echo-pair{position:relative;display:block;width:320px;min-width:0;flex:0 1 320px;pointer-events:none;}
.aik-echo-pair .aik-cast-slot--echo{width:100%;}
.aik-echo-pair .aik-cast-slot--watch{position:absolute;inset:0;opacity:0;pointer-events:none;}
@media(max-width:599px){.aik-cast-scene--echo{gap:0;min-height:260px;padding:36px 0 22px;}.aik-cast-scene--echo .aik-cast-slot--tiny{width:125px;flex-basis:125px;}.aik-echo-pair{width:210px;flex-basis:210px;}}
/* Keep the visual cue adjacent to the reading entry, without moving the control. */
#aik-home-intro .aik-home-actions{position:relative;}
@media(prefers-reduced-motion:reduce){.aik-echo-pair .aik-cast-slot--watch{display:none;}}
/* A continuous elliptical tabletop, not a clipped rectangular backdrop. */
.aik-cast-scene--echo{background:none;}
.aik-cast-scene--echo:before{height:42%;background:repeating-linear-gradient(0deg,transparent 0 22px,#ba947032 23px 24px),linear-gradient(#f4e2c9,#ddba94);}
@media(max-width:599px){
 #aik-home-intro .aik-home-inner>.wp-block-group__inner-container:has(.aik-cast-scene--recipe){display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr);gap:10px;align-items:center;}
 #aik-home-intro .aik-home-inner>.wp-block-group__inner-container:has(.aik-cast-scene--recipe)>:not(.aik-cast-scene){grid-column:1/-1;}
 #aik-home-intro .aik-cast-scene--recipe{grid-column:1;grid-row:4;height:200px;min-width:0;}
 #aik-home-intro .aik-home-inner>.wp-block-group__inner-container:has(.aik-cast-scene--recipe)>.aik-home-actions{grid-column:2;grid-row:4;flex-direction:column;align-items:stretch;gap:12px;}
 #aik-home-intro .aik-home-actions .wp-block-button{width:100%;margin:0;}
 #aik-home-intro .aik-home-actions a{white-space:normal;padding-inline:10px;}
}

@media(max-width:599px){#aik-home-intro .aik-home-actions a{min-width:0!important;width:100%;max-width:100%;box-sizing:border-box;}#aik-home-intro .aik-home-actions .wp-block-button{min-width:0;max-width:100%;}}

/* Beginner CTA: keep the sill, copy and hit area stationary in every state. */
.aik-cast-scene--peek .aik-cast-slot--above .aik-cast-img{transform-origin:50% 55.3%;}
.aik-cast-scene--peek .aik-cast-slot--below .aik-cast-img{transform-origin:50% 82%;}
.aik-cast-scene--peek,
.aik-cast-scene--peek .aik-beginner-actions,
.aik-cast-scene--peek a{transform:none!important;translate:none!important;scale:none!important;}

/* Center the existing guide title between the two inward-facing presenters. */
.aik-cast-scene--editors .c-pageTitle__inner{float:none;margin-inline:auto;}

/* Desktop only: place the existing reading controls near the lowered spatula. */
@media(min-width:1024px){
 #aik-home-intro .aik-home-actions{justify-content:flex-start!important;}
 #aik-home-intro .aik-home-actions .wp-block-button{margin-inline:0!important;}
}
