/* My Schedule website. Tokens are the Recess design system's (core/designsystem), trimmed to what these two pages use. */

@font-face{font-family:"Baloo 2";src:url("fonts/Baloo2.woff2") format("woff2");font-weight:400 800;font-display:swap}
@font-face{font-family:"Figtree";src:url("fonts/Figtree-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Figtree";src:url("fonts/Figtree-SemiBold.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Figtree";src:url("fonts/Figtree-Bold.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Roboto";src:url("fonts/Roboto-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Roboto";src:url("fonts/Roboto-SemiBold.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Roboto";src:url("fonts/Roboto-Bold.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"M PLUS Rounded 1c";src:url("fonts/MPLUSRounded1c-ExtraBold.woff2") format("woff2");font-weight:800;font-display:swap}
@font-face{font-family:"Jua";src:url("fonts/Jua.woff2") format("woff2");font-weight:400 800;font-display:swap}
@font-face{font-family:"Baloo Bhaijaan 2";src:url("fonts/BalooBhaijaan2.woff2") format("woff2");font-weight:400 800;font-display:swap}

:root{
  --primary:#762FD1;--on-surface:#3C254A;--on-surface-variant:#6B527A;--surface:#FFF3FF;
  --outline-variant:#C59FDB;--secondary-container:#EAC4FF;--on-secondary-container:#652A8C;
  --surface-container-lowest:#FFFFFF;--surface-container-low:#FCECFF;--surface-container-highest:#F1D2FF;
  --ink:#221839;--ink-soft:#3A2470;--ink-deep:#321B5E;
  --grape:#7A4AE1;--grape-sh:#4C24A8;--grape-tint:#E4D9FF;
  --sunshine:#FFC53D;--coral:#FF6857;--teal:#00A29B;--sky:#4E86FF;--bubblegum:#FF5C9E;--aqua:#18B2D4;
  --star:#FFD34D;--butter:#FFE07A;

  --font-display:"Baloo 2","M PLUS Rounded 1c",system-ui,sans-serif;
  --font-title:"Figtree",system-ui,sans-serif;
  --font-body:"Roboto",system-ui,sans-serif;

  /* Hard shadows are filters, not box-shadows: a box-shadow is clipped to outside the border box, so the border's
     antialiased edge mixes with the page behind it and leaves a light seam. drop-shadow paints under the element. */
  --hard-1:drop-shadow(2px 3px 0 var(--ink));--hard-2:drop-shadow(3px 4px 0 var(--ink));--hard-3:drop-shadow(5px 6px 0 var(--ink));
  --press-x:2px;--press-y:3px;
  --ds-rest-fill:var(--surface-container-lowest);
  --ds-rest-border:1.5px solid var(--outline-variant);
  --ds-rest-shadow:drop-shadow(0 3px 0 color-mix(in srgb,var(--outline-variant) 70%,transparent));
  --nb-band:var(--surface-container-low);
  --ease-pop:cubic-bezier(.34,1.56,.64,1);
  /* Graph-paper page */
  --bg-paper:linear-gradient(var(--surface-container-highest) 1px,transparent 1px) 0 0/23.333px 23.333px,linear-gradient(90deg,var(--surface-container-highest) 1px,transparent 1px) 20px 0/23.333px 23.333px,var(--surface);
  --clip-sparkle:polygon(50% 0%,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0% 50%,39% 39%);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--surface);font-family:var(--font-body);color:var(--on-surface)}
a{color:var(--primary);overflow-wrap:anywhere}
a:hover{color:var(--grape-sh)}
a:focus-visible,button:focus-visible{outline:3px solid var(--ink);outline-offset:2px;border-radius:4px}
img{display:block}
.page{min-width:0;overflow:hidden}
.wrap{max-width:1200px;margin:0 auto}
.icon{display:inline-block;flex-shrink:0;fill:currentColor}
.i20{font-size:20px;width:20px;height:20px}.i22{font-size:22px;width:22px;height:22px}.i24{font-size:24px;width:24px;height:24px}

/* Top bar and footer */
.bar{background:var(--grape);padding:0 24px;border-bottom:1px solid rgb(255 255 255 / .2)}
.bar a{text-decoration:none}
.bar-in{height:80px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.bar.slim .bar-in{height:72px}
.brand{display:flex;align-items:center;gap:12px;color:#fff}
.brand img{width:48px;height:48px;padding:2px;border-radius:13px;background:var(--ink);filter:var(--hard-1)}
.brand span{font:800 26px/1 var(--font-display);white-space:nowrap}
.bar.slim .brand img{width:44px;height:44px;border-radius:12px}
.bar.slim .brand span{font-size:24px}
.nav{display:flex;align-items:center;gap:28px}
.nav-links{display:flex;gap:28px;font:600 16px/1 var(--font-title)}
.nav-links a,.back{color:#fff}
.back{display:inline-flex;align-items:center;gap:6px;min-height:48px;font:600 16px/1 var(--font-title)}
.foot{background:var(--ink);color:#E4D9FF;padding:40px 24px}
.foot a{color:#fff;min-height:48px;display:inline-flex;align-items:center}
.foot-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 32px}
.foot-brand{display:flex;align-items:center;gap:12px}
.foot-brand img{width:40px;height:40px;padding:2px;border-radius:11px;background:var(--ink)}
.foot-brand b{font:800 20px/1 var(--font-display);color:#fff}
.foot-brand small{font:400 14px/1 var(--font-body)}
.foot-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px;font:500 15px/1 var(--font-body)}
.foot.slim{padding:32px 24px}
.foot.slim .foot-in{gap:12px 32px;line-height:1.4}

/* Links on dark surfaces stay white; hover underlines, press dims */
.bar a:not(.cta):not(.brand):not(.back):hover,.foot a:hover,.hero-actions .more:hover{color:#fff;text-decoration:underline;text-underline-offset:5px}
.bar .back:hover,.bar .brand:hover,.bar .brand:active{color:#fff}
.bar .back:hover .backlabel{text-decoration:underline;text-underline-offset:5px}
.bar a:not(.cta):active,.foot a:active,.hero-actions .more:active{color:#fff;opacity:.75}
.bar a:focus-visible,.foot a:focus-visible,.hero-actions .more:focus-visible{outline-color:#fff}

/* Buttons */
.cta{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 20px;border-radius:999px;background:var(--star);color:var(--ink);border:2px solid var(--ink);filter:var(--hard-2);font:800 17px/1 var(--font-display);text-decoration:none;transition:transform .12s,filter .12s,background-color .12s}
.cta:hover{color:var(--ink);background:var(--butter)}
.cta:active,.cta.big:active{transform:translate(var(--press-x),var(--press-y));filter:none}
.cta.big{gap:10px;min-height:60px;padding:0 28px;filter:var(--hard-3);font-size:22px;--press-x:5px;--press-y:6px}
.cta.grape{background:var(--grape);color:#fff}
.cta.grape:hover{color:#fff;background:color-mix(in srgb,var(--grape) 84%,#fff)}

/* Sticker pieces */
.sticker{display:inline-flex;align-items:center;white-space:nowrap;font-family:var(--font-display);font-weight:800;line-height:1;background:var(--c,var(--star));color:var(--ink-c,var(--ink-soft));font-size:calc(var(--s)*1px);gap:calc(var(--s)*.3px);padding:calc(var(--s)*.48px) calc(var(--s)*1.04px) calc(var(--s)*.4px);border-radius:999px;border:max(2px,calc(var(--s)*1px/6)) solid #fff;filter:drop-shadow(calc(var(--s)*.2px) calc(var(--s)*.24px) 0 rgb(0 0 0 / .25));transform:rotate(var(--t,8deg))}
.sticker .sparkle{--s:20;--c:var(--grape);--t:0deg}
.sticker.float{animation:float 3.2s ease-in-out infinite}
.sparkle{display:inline-block;flex-shrink:0;background:var(--c,var(--star));clip-path:var(--clip-sparkle);width:calc(var(--s)*1px);height:calc(var(--s)*1px);transform:rotate(var(--t,-14deg))}
.sparkle.twinkle{animation:float 2.6s ease-in-out infinite}
.ring{display:block;border-radius:50%;border:calc(var(--w)*1px) solid var(--c);width:calc(var(--s)*1px);height:calc(var(--s)*1px)}
.dot{display:block;border-radius:50%;background:var(--c);width:calc(var(--s)*1px);height:calc(var(--s)*1px)}
.burst{border-radius:50%;width:calc(var(--s)*1px);height:calc(var(--s)*1px);background:repeating-conic-gradient(var(--c) 0deg calc(var(--r)*1deg),transparent calc(var(--r)*1deg) calc((var(--r) + var(--g))*1deg))}
.deco{position:absolute;pointer-events:none}
@keyframes float{0%,100%{transform:translateY(0) rotate(var(--t,0deg))}50%{transform:translateY(-6px) rotate(var(--t,0deg))}}

/* Section label on tape */
.tape-h{position:relative;display:inline-block;margin:0;font:800 21px/1.15 var(--font-display);padding:6px 14px 4px;color:var(--ink)}
.tape-h::before{content:"";position:absolute;inset:0;background:var(--tape,var(--star));border-radius:4px;clip-path:polygon(2% 0,98% 6%,100% 94%,0 100%);transform:rotate(-2deg)}
.tape-h span{position:relative}
.policy-doc section>.tape-h{align-self:flex-start}

/* Hand-drawn highlighter under a word */
.taper{position:relative;display:inline-block}
.taper::after{content:"";position:absolute;left:-2px;top:calc(100% - 2px);width:calc(100% + 6px);height:26px;background:url("img/taper.svg") 0 0/100% 100% no-repeat;pointer-events:none}

/* Phone frame: --w is the width, --k = width / 980 */
.phone{position:relative;width:calc(var(--k)*980px);border:calc(var(--k)*20px) solid var(--ink);border-radius:calc(var(--k)*116px);background:var(--ink);transform:rotate(var(--t,5deg));filter:drop-shadow(calc(var(--k)*40px) calc(var(--k)*52px) 0 rgb(0 0 0 / .2))}
.phone-screen{position:relative;overflow:hidden;width:100%;aspect-ratio:1080/2340;border-radius:calc(var(--k)*96px);background:#fff}
.phone-screen img{display:block;width:100%;height:auto}  /* the aspect ratio hides the gesture bar (bottom 60px); the status bar is painted out by screenshots/web-hero.py */
.phone-tape{position:absolute;top:calc(var(--k)*-36px);width:calc(var(--k)*300px);height:calc(var(--k)*78px);background:rgb(255 255 255 / .5);border-radius:8px}
.phone-tape.l{left:calc(var(--k)*-80px);transform:rotate(-36deg)}
.phone-tape.r{right:calc(var(--k)*-80px);transform:rotate(36deg)}

/* Home: shared section rhythm. Every section uses the same container, padding and heading block,
   the way rockenbergstudio.com does: eyebrow, headline, one intro line, then the content. */
.sect{padding:112px 24px}
.sect.tint{background:var(--surface-container-low)}
.head{max-width:720px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.head.left{margin:0;align-items:flex-start;text-align:start}
.h2{margin:0;font:800 clamp(38px,4.6vw,56px)/1.06 var(--font-display);color:var(--on-surface);text-wrap:balance}
.sub{margin:0;max-width:560px;font:400 18px/1.6 var(--font-body);color:var(--on-surface-variant)}
.eyebrow{margin:0;font:700 14px/1 var(--font-body);letter-spacing:.08em;text-transform:uppercase;color:var(--primary)}

/* Home: hero (centred copy, phones cropped by the band's bottom edge) */
.hero{position:relative;background:var(--grape);padding:72px 24px 0;overflow:hidden}
.hero-in{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px}
.hero h1{margin:0;font:800 clamp(56px,8.5vw,104px)/1 var(--font-display);letter-spacing:-.01em;color:#fff;text-shadow:6px 6px 0 var(--grape-sh);text-wrap:balance}
.lede{margin:0;max-width:640px;text-wrap:balance;font:700 clamp(21px,2.2vw,26px)/1.35 var(--font-display);color:var(--grape-tint)}
.hero-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px 28px;padding-top:8px}
.hero-actions .more{display:inline-flex;align-items:center;min-height:48px;color:#fff;font:600 17px/1 var(--font-title);text-decoration:underline;text-underline-offset:5px}
.stage{position:relative;width:100%;height:540px;margin-top:48px;display:flex;justify-content:center;align-items:flex-start}
.phone{position:relative;flex:none;border:10px solid var(--ink);border-radius:46px;background:var(--ink);filter:drop-shadow(14px 18px 0 rgb(0 0 0 / .2))}
.phone-screen{overflow:hidden;aspect-ratio:1080/2340;border-radius:36px;background:#fff}
.phone-screen img{display:block;width:100%;height:auto}
.phone.back{width:290px;margin:70px -36px 0 0;transform:rotate(-6deg)}
.phone.front{z-index:2;width:320px;border-width:11px;border-radius:50px;transform:rotate(4deg)}
.phone.front .phone-screen{border-radius:39px}

/* Home: features gallery */
.gallery{max-width:1200px;margin:64px auto 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.shot{border-radius:28px;overflow:hidden;background:var(--grape);border:2px solid var(--ink);filter:var(--hard-3);aspect-ratio:1290/2796}
.shot img{display:block;width:100%;height:100%;object-fit:cover}

/* Home: video tour */
.split{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:80px;align-items:center}
.demo-frame{width:340px;max-width:100%;padding:8px;border-radius:40px;background:var(--ink);transform:rotate(2deg);filter:drop-shadow(14px 18px 0 rgb(60 37 74 / .18))}
.demo-video{display:block;width:100%;height:auto;aspect-ratio:9/16;object-fit:contain;border-radius:32px;background:var(--ink)}
.demo-video:fullscreen{border-radius:0}
.demo-video:-webkit-full-screen{border-radius:0}

/* Home: privacy promise */
.trio{max-width:1200px;margin:56px auto 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.trio li{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:28px;border-radius:28px;background:var(--ds-rest-fill);border:var(--ds-rest-border);filter:var(--ds-rest-shadow)}
.badge{flex:none;width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--c);color:var(--ink);border:2px solid var(--ink);transform:rotate(var(--t))}
.trio .badge{width:52px;height:52px}
.trio strong{font:700 21px/1.25 var(--font-title)}
.trio small{font:400 16px/1.55 var(--font-body);color:var(--on-surface-variant)}
.read{display:inline-flex;align-items:center;gap:6px;min-height:48px;font:600 17px/1 var(--font-title);text-decoration:none}
.read:hover{text-decoration:underline}
.sect .read{display:flex;width:max-content;max-width:100%;margin:32px auto 0}

/* Home: closing call to action (the one loud band) */
.closing{position:relative;background:var(--sunshine);padding:112px 24px;overflow:hidden;text-align:center}
.closing-in{position:relative;max-width:760px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:24px}
.closing-in img{width:120px;height:120px;padding:3px;border-radius:28px;background:var(--ink);filter:var(--hard-3);transform:rotate(-4deg)}
.closing h2{margin:0;font:800 clamp(44px,6vw,72px)/1.04 var(--font-display);color:var(--ink-deep);text-wrap:balance}
.closing p{margin:0;font:700 22px/1.4 var(--font-display);color:var(--ink-soft)}
.closing .cta{margin-top:8px}

/* Home: footer (brand + link columns + legal row) */
.foot.home{padding:72px 24px 40px}
.foot-grid{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));gap:40px}
.foot-about{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.foot-about p{margin:0;max-width:300px;font:400 15px/1.55 var(--font-body)}
.foot.home .foot-brand img{background:var(--ink-soft)}
.foot-col{display:flex;flex-direction:column;align-items:flex-start;font:400 15px/1 var(--font-body)}
.foot-col h3{margin:0 0 4px;font:700 13px/1 var(--font-body);letter-spacing:.08em;text-transform:uppercase;color:var(--grape-tint)}
.foot-col a{min-height:40px;text-decoration:none}
.foot-legal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 32px;margin-top:48px;padding-top:24px;border-top:1px solid var(--ink-soft);font:400 14px/1.4 var(--font-body)}
.foot-legal a{min-height:0;display:inline}

@media (max-width:900px){
.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.split{grid-template-columns:minmax(0,1fr);gap:48px;justify-items:center}
.trio{grid-template-columns:minmax(0,1fr)}
.foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
.sect,.closing{padding-top:72px;padding-bottom:72px}
.hero{padding-top:48px}
.stage{height:360px;margin-top:32px}
.phone{border-width:7px;border-radius:32px}
.phone-screen{border-radius:25px}
.phone.back{width:180px;margin:44px -24px 0 0}
.phone.front{width:200px;border-width:7px;border-radius:32px}
.phone.front .phone-screen{border-radius:25px}
.gallery{display:flex;gap:16px;margin:48px -16px 0;padding:4px 16px 12px;overflow-x:auto;scroll-snap-type:x mandatory}
.gallery>.shot{flex:0 0 72%;scroll-snap-align:center}
.foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px}
.foot-about{grid-column:1/-1}
.demo-frame{width:260px;border-radius:34px}
.demo-video{border-radius:27px}
.split{gap:40px}
}

/* Privacy policy */
.policy-page{background:var(--bg-paper)}
.band{position:relative;background:var(--nb-band);padding:48px 24px 28px}
.band-in{max-width:800px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.band-text{display:flex;flex-direction:column;gap:14px}
.band-text[hidden]{display:none}
.band .eyebrow{line-height:1.4;font-size:13px}
.band h1{margin:0 0 26px;font:800 clamp(30px,8vw,52px)/1.15 var(--font-display)}
.taper.s11::after{height:22px}
.band .intro{margin:0;max-width:680px;font:400 17px/1.65 var(--font-body);color:var(--on-surface)}
.updated{margin:0;font:500 15px/1.4 var(--font-body);color:var(--on-surface-variant)}
.langpick{display:inline-flex;align-items:center;gap:10px;font:600 14px/20px var(--font-body)}
.langpick[hidden]{display:none}
.langpick select{height:44px;padding:0 40px 0 18px;border-radius:999px;appearance:none;-webkit-appearance:none;cursor:pointer;background:var(--ds-rest-fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233C254A'%3E%3Cpath d='M8.12 9.29 12 13.17l3.88-3.88a1 1 0 1 1 1.41 1.41l-4.59 4.59a1 1 0 0 1-1.41 0L6.7 10.7a1 1 0 0 1 1.41-1.41z'/%3E%3C/svg%3E") no-repeat right 12px center/20px;color:var(--on-surface);border:var(--ds-rest-border);filter:var(--ds-rest-shadow);font:600 15px/20px var(--font-body)}
[dir="rtl"] .langpick select{padding:0 18px 0 40px;background-position:left 12px center}
.langpick select:focus-visible{outline:3px solid var(--primary);outline-offset:2px}
.band .langpick{padding-top:10px}
.policy{padding:40px 24px 96px}
.policy-in{max-width:800px;margin:0 auto}
.policy-doc{display:flex;flex-direction:column;gap:32px}
.policy-doc[hidden]{display:none}
.policy-doc[lang="ja"],.band-text[lang="ja"]{word-break:normal;line-break:strict;overflow-wrap:anywhere}
/* Other scripts: Baloo 2 has no Korean, Arabic or Chinese. Korean and Arabic get a rounded display face of their own, Chinese the system one.
   Korean breaks between words, and Arabic letters must join, so no letter-spacing there. */
:root:lang(ko){--font-display:"Baloo 2","Jua",system-ui,sans-serif}
:root:lang(ar){--font-display:"Baloo Bhaijaan 2",system-ui,sans-serif}
:root:lang(ko) body{word-break:keep-all;overflow-wrap:anywhere}
:root:lang(zh-CN) body,:root:lang(zh-TW) body{line-break:strict;overflow-wrap:anywhere}
:root:lang(ar) *{letter-spacing:0!important}
@supports (word-break:auto-phrase){.policy-doc[lang="ja"],.band-text[lang="ja"]{word-break:auto-phrase}}
.short{position:relative;padding:24px 28px;border-radius:20px;background:var(--surface-container-lowest);border:2px solid var(--ink);filter:var(--hard-3)}
.short .sparkle{position:absolute;right:-14px;top:-18px}
.short .tape-h{margin-top:-28px}
.short ul{margin:4px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:14px 24px}
.short li{display:flex;align-items:center;gap:14px}
.short .badge{width:44px;height:44px;border-radius:12px}
.short li span.txt{min-width:0;font:600 16px/1.35 var(--font-title)}
.policy-doc section{display:flex;flex-direction:column;gap:14px}
.sec-body{padding:24px 26px;border-radius:16px;background:var(--ds-rest-fill);border:var(--ds-rest-border);filter:var(--ds-rest-shadow);display:flex;flex-direction:column;gap:14px;font:400 16px/1.65 var(--font-body)}
.sec-body p{margin:0}
.sec-body ul{margin:0;padding-inline-start:22px;display:flex;flex-direction:column;gap:8px}
.sec-body li::marker{color:var(--primary)}
.sec-body li b{font-weight:600}
.sec-body a{font-weight:500}

@media (max-width:720px){.nav-links{display:none}}
@media (max-width:560px){
.gutter{padding-left:16px;padding-right:16px}
.navcta{display:none}
.wordmark{font-size:22px}
.bar.slim .wordmark{font-size:20px}
.backlabel{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.back{flex:none;justify-content:center;min-width:48px;white-space:nowrap}
.card-pad{padding:20px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}


/* ── Placements ─────────────────────────────────
   Per-element positions, sizes and tints that used to be style="" attributes, kept here so the
   Content-Security-Policy can use style-src 'self' without 'unsafe-inline'. Doubled class = the
   specificity those inline values need to win over the component rules above. */
.p1.p1{left:50%;bottom:-760px;margin-left:-750px}
.p2.p2{--s:1500;--r:9;--g:13;--c:rgb(255 255 255 / .1)}
.p13.p13{--s:24;--t:-4deg;--c:var(--star);--ink-c:var(--ink-soft)}
.p18.p18{--tape:var(--butter)}
.p19.p19{--c:var(--star);--t:-6deg}
.p20.p20{--c:var(--coral);--t:6deg}
.p21.p21{--c:var(--teal);--t:-6deg}
.p22.p22{left:50%;top:50%;margin:-700px 0 0 -700px}
.p23.p23{--s:1400;--r:8;--g:12;--c:rgb(255 255 255 / .22)}
.p28.p28{--s:40;--t:-12deg;--c:var(--star)}
.p29.p29{--tape:var(--star)}
.p30.p30{--c:var(--sky);--t:6deg}
.p31.p31{--tape:var(--grape-tint)}

/* ── Motion ──────────────────────────────────────
   Same choreography as rockenbergstudio.com, in this site's bouncier voice (--ease-pop):
   one hero entrance, a reveal per section, hover lifts, a slow drift on the hero and closing decorations.
   Everything sits behind prefers-reduced-motion; the page is complete and static without it.
   Uses the individual transform properties (translate / scale / rotate) so they compose with the
   transform: rotate() the phones, stickers and floats already use. */
@media (prefers-reduced-motion:no-preference){
  /* 1. Hero: copy fades up in order, then the phones rise into their tilt */
  .hero-in>:not(.stage){animation:ms-up .7s cubic-bezier(.2,.8,.2,1) backwards}
  .hero-in>:nth-child(2){animation-delay:.06s}
  .hero-in>:nth-child(3){animation-delay:.12s}
  .hero-in>:nth-child(4){animation-delay:.18s}
  @keyframes ms-up{from{opacity:0;translate:0 18px}}
  .stage>.phone{animation:ms-rise .9s var(--ease-pop) backwards}
  .stage>.phone:nth-child(1){animation-delay:.25s}
  .stage>.phone:nth-child(2){animation-delay:.4s}
  @keyframes ms-rise{from{opacity:0;translate:0 140px}}

  /* 2. Reveal once on scroll (motion-flag.js adds .ms-motion to <html>, site.js adds .is-in) */
  .ms-motion [data-reveal]{opacity:0;translate:0 28px;transition:opacity .7s cubic-bezier(.2,.8,.2,1),translate .8s var(--ease-pop);transition-delay:var(--d,0s)}
  .ms-motion [data-reveal].is-in{opacity:1;translate:0 0}
  .gallery>.shot:nth-child(3n+2),.trio>li:nth-child(2){--d:.1s}
  .gallery>.shot:nth-child(3n),.trio>li:nth-child(3){--d:.2s}
  .ms-motion [data-reveal].is-settled{--d:0s}

  /* 3. Hover: screenshots and hero phones lift, the hard shadow grows with them */
  .stage>.phone{transition:translate .45s var(--ease-pop)}
  .shot,.ms-motion .shot[data-reveal]{transition:opacity .7s cubic-bezier(.2,.8,.2,1),translate .8s var(--ease-pop),rotate .45s var(--ease-pop),filter .45s cubic-bezier(.2,.8,.2,1)}
  .shot:hover,.ms-motion .shot[data-reveal].is-in:hover{translate:0 -10px;rotate:-1.2deg;filter:drop-shadow(8px 12px 0 var(--ink));transition-delay:0s}
  .gallery>.shot:nth-child(even):hover{rotate:1.2deg}
  .stage>.phone:hover{translate:0 -12px}

  /* 4. The hero and closing sunbursts drift a few pixels with scroll (site.js sets --drift) */
  .hero .deco,.closing .deco{translate:0 calc(var(--drift,0)*1px)}
}
[dir="rtl"] .read svg,[dir="rtl"] .back svg{transform:scaleX(-1)}
