/* Bounded source-derived worlds. Each family is enabled only after its film is ready. */
[data-motion-family] .header-stage{--header-progress:0}
[data-motion-family] .soft-art{transform-origin:center}
[data-motion-family] .header-film{object-position:var(--film-position,50% 50%)}
[data-motion-family] .header-light{background-position:var(--film-position,50% 50%);background-size:cover}
[data-motion-family] .header-stage .eyebrow{position:relative;padding-left:24px}
[data-motion-family] .header-stage .eyebrow::before{content:'';position:absolute;left:0;top:.55em;width:13px;height:2px;background:currentColor;border-radius:2px}

/* Worth: printed cover, warm window light, inset brass rules. */
[data-motion-family=allworth]{--film-position:22% center;--header-plate:url('/accountants/design-lab/assets/allworth-film-poster.webp')}
[data-motion-family=allworth] .header-stage .header-atmosphere{box-shadow:inset 0 1px #fff9,inset 0 -1px #bca8893b}
[data-motion-family=allworth] .header-light{opacity:.55}
[data-motion-family=allworth] .worth-hero .header-light{opacity:.78}
[data-motion-family=allworth] .worth-hero-text{padding-block:66px 74px}
[data-motion-family=allworth] .worth-hero h1{letter-spacing:-.04em;max-width:none}
[data-motion-family=allworth] .worth-hero-photo{border-left:7px solid #f7f3e9;box-shadow:-14px 0 30px #49351c13}
[data-motion-family=allworth] .core-hero.header-stage{border-radius:24px 60px 24px 24px;gap:6%;padding-block:54px}
[data-motion-family=allworth] .core-hero .header-atmosphere{inset:0}
[data-motion-family=allworth] .core-hero h1{font-size:clamp(48px,5vw,78px);max-width:none;line-height:1.01;letter-spacing:-.03em}
[data-motion-family=allworth] .core-hero .core-lead{max-width:37ch}
[data-motion-family=allworth] .core-hero figure{border:7px solid #f9f6ec;transform:none;border-radius:56px 22px 22px 22px;box-shadow:0 1px 0 #b5a184,0 18px 35px #49351c22}
[data-motion-family=allworth][data-page-role=about] .core-hero figure{border-radius:22px 72px 22px 22px}
[data-motion-family=allworth][data-page-role=service] .core-hero figure{border-radius:22px 22px 60px 22px}
[data-motion-family=allworth] .profile-opening{align-items:center;gap:7%}
[data-motion-family=allworth] .profile-opening h1{font-size:clamp(64px,7.4vw,112px);line-height:.95}
[data-motion-family=allworth] .profile-opening figure{border:8px solid #fffdf7;box-shadow:0 1px 0 #b5a184,0 16px 36px #35261d20;border-radius:70px 24px 24px 24px}
[data-motion-family=allworth] .profile-opening .soft-art>img{object-position:50% 55%;transform:scale(1.23);transform-origin:50% 80%}
[data-motion-family=allworth] .journal-opening{padding:68px 48px 58px;max-width:1280px}
[data-motion-family=allworth] .journal-opening h1{font-size:clamp(62px,8vw,122px);max-width:10ch;line-height:.98}
[data-motion-family=allworth] .journal-opening .header-light{opacity:.54}
[data-motion-family=allworth] .article-heading.header-stage{max-width:1080px;padding:65px 54px;margin-inline:auto}
[data-motion-family=allworth] .article-heading h1{font-size:clamp(48px,5.1vw,78px);max-width:19ch;line-height:1.04}
[data-motion-family=allworth] .contact-layout{gap:7%;align-items:start}
[data-motion-family=allworth] .contact-layout h1{font-size:clamp(52px,5.4vw,84px);max-width:10ch;line-height:1.02}
[data-motion-family=allworth] .contact-panel{border-top:3px solid #a48250;border-radius:28px 44px 22px 22px;box-shadow:0 3px 0 #d0c4b5,0 22px 40px #473b2b18}
[data-motion-family=allworth] .btn{--soft-shape:13px 24px 13px 13px}
[data-motion-family=allworth] .btn::before{box-shadow:inset 0 1px 1px #ffffffb0,inset 0 -3px 2px #0003,0 2px 0 #7f694638,0 8px 18px #473b2b20}

@media(max-width:760px){
 [data-motion-family=allworth]{--film-position:20% center}
 [data-motion-family=allworth] .worth-hero-text{padding:40px 25px}
 [data-motion-family=allworth] .worth-hero h1{font-size:47px;max-width:none}
 [data-motion-family=allworth] .core-hero.header-stage{padding:34px 20px;gap:30px}
 [data-motion-family=allworth] .core-hero h1{font-size:44px;max-width:14ch}
 [data-motion-family=allworth] .core-hero figure{border-width:5px;border-radius:40px 20px 20px 20px}
 [data-motion-family=allworth] .profile-opening h1{font-size:65px}
 [data-motion-family=allworth] .journal-opening.header-stage{padding:42px 22px}
 [data-motion-family=allworth] .journal-opening h1{font-size:64px}
 [data-motion-family=allworth] .article-heading.header-stage{padding:38px 22px}
 [data-motion-family=allworth] .article-heading h1{font-size:41px;max-width:18ch}
 [data-motion-family=allworth] .contact-layout h1{font-size:48px;max-width:12ch}
}

/* Horizon: open coastal light, sculpted glass rims and a lateral sense of space. */
[data-motion-family=iaderosa]{--film-position:68% center;--header-plate:url('/accountants/design-lab/assets/iaderosa-film-poster.webp')}
[data-motion-family=iaderosa] .header-light{opacity:.5}
[data-motion-family=iaderosa] .header-stage .eyebrow::before{width:7px;height:7px;top:.38em;border:1px solid currentColor;border-radius:50%;background:transparent}
[data-motion-family=iaderosa] .site-header{box-shadow:inset 0 1px #fff,0 1px 1px #a9c4cf88,0 9px 28px #3260760d}
[data-motion-family=iaderosa] .horizon-opening{padding-top:60px}
[data-motion-family=iaderosa] .horizon-title{grid-template-columns:1.4fr 1fr;gap:8%}
[data-motion-family=iaderosa] .horizon-title h1{font-size:clamp(44px,4.7vw,76px);line-height:1.06;letter-spacing:-.055em}
[data-motion-family=iaderosa] .horizon-title>div:last-child{padding-top:12px}
[data-motion-family=iaderosa] .horizon-hero-photo{border:6px solid #faffffe6;border-radius:25px 60px 25px 25px;box-shadow:0 2px 0 #9abdc9,0 23px 40px #30647b29}
[data-motion-family=iaderosa] .core-hero.header-stage{padding:54px 40px;gap:6%;border-radius:30px 65px 30px 30px;box-shadow:inset 0 1px #fff,inset 0 -1px #b8cfd96b}
[data-motion-family=iaderosa] .core-hero h1{font-size:clamp(44px,4.4vw,70px);letter-spacing:-.05em;line-height:1.04}
[data-motion-family=iaderosa] .core-hero .header-atmosphere{inset:0;border-radius:inherit}
[data-motion-family=iaderosa] .core-hero figure{transform:none;border:6px solid #ffffffde;border-radius:60px 22px 22px 22px;box-shadow:0 1px 0 #9cbdc7,0 22px 34px #32576824}
[data-motion-family=iaderosa][data-page-role=about] .core-hero figure{border-radius:22px 22px 60px 22px}
[data-motion-family=iaderosa][data-page-role=case] .core-hero figure{border-radius:22px 60px 22px 22px}
[data-motion-family=iaderosa] .core-hero .core-lead{max-width:38ch;font-size:18px}
[data-motion-family=iaderosa] .profile-opening{gap:8%;align-items:center}
[data-motion-family=iaderosa] .profile-opening h1{font-size:clamp(62px,6.5vw,98px);letter-spacing:-.065em;line-height:1}
[data-motion-family=iaderosa] .profile-opening figure{border:7px solid #fff;border-radius:24px 75px 24px 24px;box-shadow:0 1px 0 #9cbdc7,0 22px 34px #32576824}
[data-motion-family=iaderosa] .profile-opening .soft-art>img{object-position:50% 15%}
[data-motion-family=iaderosa] .journal-opening.header-stage{padding:64px 42px}
[data-motion-family=iaderosa] .journal-opening h1{font-size:clamp(56px,6.6vw,98px);letter-spacing:-.06em;line-height:1.01;max-width:12ch}
[data-motion-family=iaderosa] .journal-feature img{object-position:50% 0}
[data-motion-family=iaderosa] .article-heading.header-stage{max-width:1080px;padding:62px 50px;margin-inline:auto}
[data-motion-family=iaderosa] .article-heading h1{font-size:clamp(43px,4.4vw,70px);line-height:1.07;letter-spacing:-.05em;max-width:23ch}
[data-motion-family=iaderosa] .contact-layout{gap:7%;align-items:start}
[data-motion-family=iaderosa] .contact-layout h1{font-size:clamp(45px,4.8vw,74px);line-height:1.05;letter-spacing:-.05em}
[data-motion-family=iaderosa] .contact-panel{background:#faffffed;border:1px solid #d1e6ed;border-radius:28px 52px 24px 24px;box-shadow:inset 0 2px #fff,0 3px 0 #9ebfc750,0 22px 35px #38677721}
[data-motion-family=iaderosa] .btn{--soft-shape:15px 28px 15px 24px}
[data-motion-family=iaderosa] .btn::before{box-shadow:inset 0 1px 1px #ffffffe0,inset 0 -2px 2px #0737434a,0 1px 0 #88bfd299,0 8px 18px #315c6b23}
@media(max-width:760px){
 [data-motion-family=iaderosa]{--film-position:63% center}
 [data-motion-family=iaderosa] .horizon-opening{padding-top:34px}
 [data-motion-family=iaderosa] .horizon-title{grid-template-columns:1fr;gap:22px}
 [data-motion-family=iaderosa] .horizon-title h1{font-size:38px;line-height:1.08}
 [data-motion-family=iaderosa] .horizon-title>div:last-child{padding-top:0}
 [data-motion-family=iaderosa] .horizon-hero-photo{border-width:4px;border-radius:22px 40px 22px 22px}
 [data-motion-family=iaderosa] .core-hero.header-stage{padding:34px 19px;gap:28px}
 [data-motion-family=iaderosa] .core-hero h1{font-size:39px;line-height:1.09}
 [data-motion-family=iaderosa] .core-hero .core-lead{font-size:16px;line-height:1.7}
 [data-motion-family=iaderosa] .core-hero figure{border-width:4px;border-radius:40px 20px 20px 20px}
 [data-motion-family=iaderosa] .profile-opening h1{font-size:56px}
 [data-motion-family=iaderosa] .journal-opening.header-stage{padding:42px 22px}
 [data-motion-family=iaderosa] .journal-opening h1{font-size:53px}
 [data-motion-family=iaderosa] .article-heading.header-stage{padding:38px 22px}
 [data-motion-family=iaderosa] .article-heading h1{font-size:37px;line-height:1.12}
 [data-motion-family=iaderosa] .contact-layout h1{font-size:43px}
}

/* Alder: bookcloth cover, bronze edge light, photographic dossiers and quiet paper. */
[data-motion-family=bone]{--film-position:78% center;--header-plate:url('/accountants/design-lab/assets/bone-film-poster.webp')}
[data-motion-family=bone] .site-header{background:#eeede3e8;box-shadow:inset 0 1px #fff9,0 2px 0 #93887440,0 12px 25px #172b2026}
[data-motion-family=bone] .header-stage .eyebrow::before{width:12px;height:9px;top:.3em;border:1px solid currentColor;border-radius:3px 5px 2px 2px;background:transparent}
[data-motion-family=bone] .alder-title{padding-block:56px 64px;min-height:370px}
[data-motion-family=bone] .alder-title h1{font-size:clamp(54px,5.4vw,84px);line-height:1;letter-spacing:-.035em}
[data-motion-family=bone] .alder-title .header-light{opacity:.25}
[data-motion-family=bone] .alder-title .header-atmosphere{box-shadow:inset 0 1px #d3b78a80,inset 0 -1px #d3b78a33}
[data-motion-family=bone] .alder-title>div:nth-child(3){padding-left:36px;border-left-color:#d9c9b144}
[data-motion-family=bone] .core-hero.header-stage{padding:24px 24px 45px;gap:32px;border-radius:28px 50px 28px 28px}
[data-motion-family=bone] .core-hero .header-light{opacity:.2}
[data-motion-family=bone] .core-hero figure{border:4px solid #e8e0cd;border-radius:24px 38px 18px 18px;box-shadow:0 2px 0 #947a52,0 15px 28px #06160f40}
[data-motion-family=bone] .core-hero.header-stage .soft-art{height:285px}
[data-motion-family=bone] .core-hero.header-stage .soft-art>img{object-position:50% 25%}
[data-motion-family=bone] .core-hero.header-stage .core-hero-copy{padding:10px 35px 5px;gap:24px 65px;grid-template-columns:1.25fr 1fr}
[data-motion-family=bone] .core-hero h1{font-size:clamp(48px,4.7vw,76px);line-height:1.02;max-width:none}
[data-motion-family=bone] .core-hero .core-lead{font-size:16px;line-height:1.8;color:#e6e8df}
[data-motion-family=bone] .profile-opening.header-stage{padding:48px 42px;gap:7%;align-items:center;border-radius:26px 58px 26px 26px}
[data-motion-family=bone] .profile-opening h1{font-size:clamp(64px,7.6vw,116px);line-height:.95;letter-spacing:-.04em}
[data-motion-family=bone] .profile-opening figure{border:8px solid #f5f0e4;border-radius:55px 24px 24px 24px;box-shadow:0 1px 0 #aa9374,0 18px 36px #342d1f24}
[data-motion-family=bone] .profile-opening .header-light{opacity:.075}
[data-motion-family=bone] .journal-opening.header-stage{padding:62px 48px;background:#19352c;color:#f6f1e4;border-radius:28px 58px 28px 28px;box-shadow:inset 0 1px #d5c19d70,0 3px 0 #b5a28160}
[data-motion-family=bone] .journal-opening .header-light{opacity:.22}
[data-motion-family=bone] .journal-opening .eyebrow{color:#dcc7a3}
[data-motion-family=bone] .journal-opening h1{font-size:clamp(68px,8.4vw,124px);line-height:.98;letter-spacing:-.04em;max-width:10ch}
[data-motion-family=bone] .journal-opening>p:last-child{color:#e2e5da;max-width:32ch;font-size:18px}
[data-motion-family=bone] .article-heading.header-stage{max-width:1080px;padding:58px 50px 54px;margin-inline:auto;border:1px solid #c8b99e66;border-radius:26px 50px 26px 26px;box-shadow:inset 0 2px #fff8,0 9px 24px #42341f0c}
[data-motion-family=bone] .article-heading h1{font-size:clamp(49px,5.3vw,82px);line-height:1.04;letter-spacing:-.035em;max-width:23ch}
[data-motion-family=bone] .article-heading .header-light{opacity:.065}
[data-motion-family=bone] .contact-layout{gap:8%;align-items:start}
[data-motion-family=bone] .contact-layout h1{font-size:clamp(56px,5.6vw,88px);line-height:1;letter-spacing:-.04em;max-width:13ch}
[data-motion-family=bone] .contact-layout .header-light{opacity:.065}
[data-motion-family=bone] .contact-panel{background:#f4efe3;border:1px solid #cdbd9e;border-top:4px solid #9b7950;border-radius:26px 48px 22px 22px;box-shadow:inset 0 1px #fff,0 3px 0 #b3a28366,0 18px 35px #342d1f1c}
[data-motion-family=bone] .btn{--soft-shape:12px 24px 12px 18px}
[data-motion-family=bone] .btn::before{box-shadow:inset 0 1px #f7e2bfcc,inset 0 -3px 2px #36261055,0 2px 0 #79664b50,0 8px 17px #302e2520}
[data-motion-family=bone] .alder-entry .btn{--soft-shape:14px 26px 14px 14px}
@media(max-width:760px){
 [data-motion-family=bone]{--film-position:70% center}
 [data-motion-family=bone] .alder-title{padding:38px 25px 50px;min-height:0;gap:26px}
 [data-motion-family=bone] .alder-title h1{font-size:42px;line-height:1.06}
 [data-motion-family=bone] .alder-title>div:nth-child(3){padding:22px 0 0;border-left:0}
 [data-motion-family=bone] .core-hero.header-stage{padding:14px 14px 35px;gap:27px;border-radius:24px 38px 24px 24px}
 [data-motion-family=bone] .core-hero.header-stage .soft-art{height:235px}
 [data-motion-family=bone] .core-hero.header-stage .core-hero-copy{display:block;padding:0 10px}
 [data-motion-family=bone] .core-hero h1{font-size:44px;line-height:1.05}
 [data-motion-family=bone] .core-hero .core-lead{font-size:15px;line-height:1.8}
 [data-motion-family=bone] .profile-opening.header-stage{padding:34px 20px;gap:30px}
 [data-motion-family=bone] .profile-opening h1{font-size:64px}
 [data-motion-family=bone] .profile-opening figure{border-width:5px}
 [data-motion-family=bone] .journal-opening.header-stage{padding:42px 25px}
 [data-motion-family=bone] .journal-opening h1{font-size:66px}
 [data-motion-family=bone] .article-heading.header-stage{padding:38px 24px}
 [data-motion-family=bone] .article-heading h1{font-size:43px;line-height:1.08}
 [data-motion-family=bone] .contact-layout h1{font-size:50px}
}
