/* About GadgEon page: phone and tablet layout (900px and below). Desktop (901px+) is untouched.
   Loaded after about-gadgeon.css so these rules win without editing the desktop sheet. */

@media(max-width:900px){
 /* overflow:hidden on .pf-page stops position:sticky; clip keeps the same clipping and lets the cards pin */
 .pf-page.ab-page{overflow:clip}

 /* ---------- Success drivers: Vision, Mission, Attributes and Values stack over each other as you scroll ---------- */
 .ab-driver-grid{gap:20px}
 .ab-driver{box-shadow:0 0 0 1px var(--pf-line),0 -16px 32px -24px rgb(24 26 36 / .35);border:0}
 .ab-driver:hover{transform:none;box-shadow:0 0 0 1px var(--pf-line),0 -16px 32px -24px rgb(24 26 36 / .35)}
 .ab-driver-grid.is-stacked .ab-driver{position:sticky;top:var(--top,80px);transform-origin:50% 0;transform:scale(calc(1 - var(--cover,0) * .05));transition:none}

 /* ---------- What GadgEon engineers: one column of tiles that stack over each other the same way ---------- */
 .ab-practice .ab-grid{grid-template-columns:1fr;gap:20px}
 .ab-tile{box-shadow:0 0 0 1px var(--pf-line),0 -16px 32px -24px rgb(24 26 36 / .35)}
 .ab-tile:hover{transform:none;box-shadow:0 0 0 1px var(--pf-line),0 -16px 32px -24px rgb(24 26 36 / .35)}
 .ab-practice .ab-grid.is-stacked .ab-tile{position:sticky;top:var(--top,80px);transform-origin:50% 0;transform:scale(calc(1 - var(--cover,0) * .05));transition:none}
}
