/* Alphawave case study: the animated blocks (assets/js/aw-case.js). Each block is a stage at design size, scaled to its frame.
   Brand colours from the Figma variables: Dark green #1E3231, Warm Grey #F3F5E8, Neon Yellow #DFFA60, Deep Green #5B796F. Font: Swiza, as on the site. */
.cs-fig.aw-st{background:none}
/* the stages animate text that changes size every frame. Chrome's scroll anchoring would take that text as its anchor and move the whole page to keep it still: the page then goes up and down with the animation. Keep the stages out of it, and keep their layout apart from the page */
.aw-st,.aw-stage{overflow-anchor:none}
.aw-stage{contain:layout paint}
.aw-stage{position:absolute;left:0;top:0;transform-origin:0 0;overflow:hidden;font-family:"Swiza",system-ui,sans-serif}

/* logo */
.aw-logo{position:absolute;overflow:visible}
.aw-mk,.aw-wd{will-change:transform}

/* overview: one SVG at design size; the photos, bars and dots are moved by the script */
.aw-ov{position:absolute;left:0;top:0;overflow:visible}

/* tagline */
.aw-tg{position:absolute;inset:72px 96px;color:#F3F5E8}
.aw-tg-l{font-size:20px;font-weight:400;opacity:.6;margin-bottom:48px}
.aw-tg-c{display:grid;grid-template-columns:1fr 1fr;column-gap:80px}
.aw-tg ul{list-style:none}
.aw-tg li{font-size:30px;line-height:1.25;font-weight:400;padding:11px 0;border-top:1px solid rgba(243,245,232,.14);white-space:nowrap;text-decoration:line-through 2px transparent;transition:color .35s,opacity .35s,text-decoration-color .35s}
.aw-tg li.scan{color:#DFFA60}
.aw-tg li.off{opacity:.22;text-decoration-color:currentColor}
.aw-tg li.on{color:#DFFA60}

/* palette */
.aw-sw{position:absolute;overflow:hidden}
.aw-sw-f{position:absolute;inset:0;padding:22px 24px;display:flex;flex-direction:column;gap:4px;font-size:16px;line-height:1.3}
.aw-sw-f b{font-weight:500}
.aw-sw-f .w{display:inline-block;white-space:nowrap}
.aw-sw-f i{font-style:normal;display:inline-block}   /* no will-change per letter (iPhone memory, 2026-11-27) */

/* posters */
.aw-pc{position:absolute;top:0;display:flex;flex-direction:column;gap:32px;will-change:transform}
.aw-pc img{display:block;width:100%;object-fit:cover}

/* website: desktop frame and phone */
.aw-dk{position:absolute;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 30px 80px rgba(30,50,49,.18)}
.aw-dk-bar{height:40px;display:flex;align-items:center;gap:8px;padding:0 16px;background:#e9ebe0}
.aw-dk-bar i{width:11px;height:11px;border-radius:50%;background:#c9ccbf}
.aw-dk-bar span{margin-left:16px;font-size:14px;color:#5B796F}
.aw-dk-v,.aw-ph-v{position:relative;overflow:hidden}
.aw-dk-v img,.aw-ph-v img{display:block;width:100%;object-fit:cover;object-position:top;will-change:transform}
.aw-ph{position:absolute;padding:10px;border-radius:44px;background:#111;box-shadow:0 30px 80px rgba(30,50,49,.22)}
.aw-ph-v{border-radius:34px}

/* marquee */
.aw-mq{position:absolute;left:0;display:flex;gap:24px;will-change:transform}
.aw-mq img{display:block;height:100%;width:auto}

/* facts: archetype, voice, tagline. Plain text in the page grid, readable at every width */
.cs-fig.aw-facts{aspect-ratio:auto!important;background:#1E3231;color:#F3F5E8;border-radius:4px}
.aw-fx{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--grid-gutter,24px);padding:clamp(24px,5vw,72px)}
.aw-fx .label{display:block;color:#F3F5E8;opacity:.6;margin-bottom:var(--space-md,24px)}
.cs .aw-fx .aw-fx-big{font-size:clamp(28px,3vw,48px);line-height:1.1;font-weight:500}   /* .cs p sets every paragraph to body size: this one is the big value */
.aw-fx ul{list-style:none}
.cs .aw-fx li{font-size:var(--t-body-l,20px);line-height:1.4;padding:8px 0;border-top:1px solid rgba(243,245,232,.14)}
@media (max-width:760px){.aw-fx{grid-template-columns:minmax(0,1fr);row-gap:40px}}

/* voice: the words as pills (grey ground, deep green pills, Swiza Light as in the client's file) */
@font-face{font-family:"Swiza";font-weight:300;src:url('../fonts/swiza-300.woff2') format("woff2");font-display:swap}
.aw-vc-l{position:absolute;left:40px;top:41.9px;font-size:24px;line-height:1;font-weight:400;color:#5B796F}   /* same size, weight and baseline as the small "sage" / "explorer" of the archetype block (24px, 400, baseline y 62.4) */
.aw-vc-c{position:absolute;left:0;top:0;width:448px;height:357px;border-radius:32.74px;will-change:transform,opacity}
.aw-vc-w{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);text-align:center;font-size:42.4px;font-weight:300;line-height:1;color:#fff;white-space:nowrap}
.aw-vc-w i{font-style:normal;display:inline-block}   /* no will-change per letter (iPhone memory, 2026-11-27) */
.aw-vc-pl{position:absolute;width:85px;height:38px;border-radius:19px;background:#DFFA60;display:flex;align-items:center;justify-content:center;gap:5px}
.aw-vc-pl b{display:block;width:3px;height:3px;border-radius:1.5px;background:#1E3231}

/* morph: label top left, the statement in Swiza 72px (frame 1568 x 791, Swiza 104px, line-height 1.2; Figma trims the text to the cap height, so the box is 26px above the cap top at y 226 and the label 3.6px above y 40). The weight is a variable font, its own family so the static Swiza files keep working elsewhere */
@font-face{font-family:"SwizaVF";font-weight:300 600;src:url('../fonts/swiza-vf.woff2') format("woff2");font-display:swap}
.aw-mo-l{position:absolute;left:40px;top:36.4px;font-size:24px;line-height:1;font-weight:400;color:#fff}
.aw-mo-t{position:absolute;left:131px;top:200px;width:1306px;color:#fff;font-family:"SwizaVF","Swiza",system-ui,sans-serif;font-weight:300;font-variation-settings:'wght' 300}
.aw-mo-r{height:124.8px;font-size:104px;line-height:124.8px;white-space:pre}
.aw-mo-r i{font-style:normal}
