/* Four source-preserving header worlds. Generated light describes physical material. */
[data-header-edition]{--header-plate:url('/accountants/design-lab/assets/finwise-light.webp');--plate-opacity:.48;--soft-shape:18px 30px 18px 12px;--header-light-ink:#24202d;--light-tint:#faf8fd}
[data-material=allworth]{--header-plate:url('/accountants/design-lab/assets/allworth-light.webp');--plate-opacity:.36;--soft-shape:15px 15px 28px 15px;--header-light-ink:#253441;--light-tint:#f6f1e5}
[data-material=iaderosa]{--header-plate:url('/accountants/design-lab/assets/iaderosa-light.webp');--plate-opacity:.35;--soft-shape:24px 14px 24px 14px;--header-light-ink:#16384d;--light-tint:#f1f9fc}
[data-material=bone]{--header-plate:url('/accountants/design-lab/assets/bone-light.webp');--plate-opacity:.64;--soft-shape:15px 24px 15px 15px;--header-light-ink:#193b31;--light-tint:#ece7db}
.header-stage{position:relative;isolation:isolate}
.header-stage>*:not(.header-atmosphere){position:relative;z-index:1;min-width:0}
.header-atmosphere{position:absolute;inset:0 -3%;z-index:-1;pointer-events:none;overflow:hidden;border-radius:32px 60px 32px 32px;contain:paint}
.header-light{position:absolute;inset:-18px;background-image:var(--header-plate);background-size:cover;background-position:center;opacity:var(--plate-opacity);transform:translate3d(0,0,0)}
.header-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;pointer-events:none;transition:opacity .8s}
.header-film.is-ready{opacity:1}
@media(prefers-reduced-motion:reduce){.header-film{display:none}}
.header-stage h1{text-wrap:balance;max-width:100%;font-kerning:normal}
.header-stage .eyebrow{letter-spacing:.14em;font-weight:500}
.motion-toggle{border:1px solid #78717c4d;background:#ffffffd9;color:#3a3a3c;border-radius:12px;padding:8px 10px;font-size:10px;line-height:1.2;min-height:36px;cursor:pointer;white-space:nowrap;flex:none;box-shadow:inset 0 1px white}
.motion-toggle:focus-visible{outline:3px solid #a65b1d;outline-offset:4px}
.motion-toggle[hidden]{display:none}
[data-header-edition] .site-header{gap:18px}
[data-header-edition] .site-header nav{margin-left:auto}
[data-header-edition] .site-header nav>a:not(.btn){position:relative}
[data-header-edition] .site-header nav>a:not(.btn)::after{content:'';position:absolute;bottom:4px;left:0;right:0;height:2px;border-radius:4px;background:currentColor;transform:scaleX(0);transform-origin:0 50%;transition:transform .25s}
[data-header-edition] .site-header nav>a:is(:hover,:focus-visible)::after{transform:scaleX(1)}

/* Native surfaces: genuine soft contours, contact relief and a calm label zone. */
[data-header-edition] :is(.btn,.guide-launch,.menu-toggle,[data-next],[data-back],[data-guide-topic]){--hx:35%;border-radius:var(--soft-shape)!important;transform:none;min-height:48px;transition:color .22s}
[data-header-edition] :is(.btn,.guide-launch,.menu-toggle,[data-next],[data-back],[data-guide-topic])::before{clip-path:none;border-radius:inherit;background-image:radial-gradient(ellipse 110px 14px at var(--hx) 0%,#ffffffa0,transparent 95%),linear-gradient(130deg,#ffffff12,transparent 52%,#00000013),var(--surface-grain),linear-gradient(var(--control-top),var(--control-bottom));background-blend-mode:normal,normal,multiply,normal;background-size:auto,auto,190px,auto;box-shadow:inset 0 1px 1px #ffffffb0,inset 0 -3px 2px #00000022,0 1px 2px #2d24301a,0 7px 12px #30243812;transition:transform .25s,filter .25s,box-shadow .25s}
[data-header-edition] :is(.btn,.guide-launch,.menu-toggle,[data-next],[data-back],[data-guide-topic])::after{clip-path:none;bottom:-2px;left:10px;right:10px;border-radius:50%;height:5px;filter:blur(3px);opacity:.6}
[data-header-edition] :is(.btn,.guide-launch,.menu-toggle,[data-next],[data-back],[data-guide-topic]):active::before{transform:translateY(2px);box-shadow:inset 0 1px 3px #0002,0 2px 4px #30243818}
[data-header-edition] .btn:is(.outline,.nav-action){--soft-shape:14px 20px 14px 14px}
[data-header-edition] .menu-toggle{--soft-shape:14px;min-width:48px}
[data-header-edition] .guide-launch{--soft-shape:22px 22px 12px 22px}
[data-header-edition] .btn svg{transition:transform .25s}
[data-header-edition] .btn:is(:hover,:focus-visible) svg{transform:translateX(3px)}
[data-header-edition] :is(.introduction-form,.contact-panel,.practice-guide){border-radius:24px}
[data-header-edition] :is(input,textarea,select){border-radius:10px!important}
[data-header-edition] .service-tabs [role=tab]{border-radius:14px 14px 8px 8px}
[data-header-edition] :is(.industry-card,.service-card,.article-card,.document-card,.service-entry,.core-principles article){border-radius:20px}
[data-header-edition] :is(.industry-card,.document-card)::after{display:none}
[data-header-edition] .folder-tab{clip-path:none;border-radius:18px 30px 0 0}
[data-header-edition] :is(.core-hero figure,.profile-opening figure){border-radius:24px 40px 24px 24px}
[data-header-edition] :is(.soft-media,.media-viewport){border-radius:inherit}
[data-header-edition] .soft-art{transform-origin:50% 60%}
[data-header-edition] .soft-art img{height:100%;width:100%;object-fit:cover}

/* FinWise: the two-column opening and asymmetric photograph spread remain. */
[data-material=finwise][data-header-edition]{padding:3.5vw;background:#e4e1e8}
[data-material=finwise] .canvas{border-radius:32px}
[data-material=finwise] .hero{padding-top:64px;padding-bottom:70px}
[data-material=finwise] .hero .header-atmosphere{inset:0 -6.2%;border-radius:0;mask-image:linear-gradient(#000 85%,transparent)}
[data-material=finwise] .hero h1{font-size:clamp(45px,4.8vw,81px);line-height:1.05;letter-spacing:-.045em}
[data-material=finwise] .hero-copy{grid-template-columns:1.3fr .85fr;gap:6%}
[data-material=finwise] .hero-copy p{font-size:clamp(15px,1.17vw,18px);line-height:1.7}
[data-material=finwise] .hero-right{padding-top:10px}
[data-material=finwise] .hero-right .actions{margin-top:30px;gap:14px}
[data-material=finwise] .hero-media{margin-top:48px;gap:24px}
[data-material=finwise] .hero-media figure{border-radius:22px 22px 48px 22px;height:clamp(280px,26vw,455px)}
[data-material=finwise] .hero-media aside{border-radius:24px 38px 24px 24px;overflow:hidden;transform:translateY(22px)}
[data-material=finwise] .hero-media aside p{padding:5px 18px 15px;margin:8px 0 0;font-size:13px;color:#40344f}
[data-material=finwise] .material-prop{width:172px;height:188px;right:-9px;top:-78px}
[data-material=finwise] .page-intro.header-stage{padding:62px 38px 62px;margin-top:24px;margin-bottom:35px}
[data-material=finwise] .page-intro .header-atmosphere{inset:0}
[data-material=finwise] .page-intro h1{font-size:clamp(43px,5vw,80px);max-width:970px;line-height:1.06;letter-spacing:-.04em}
[data-material=finwise] :is(.service-hero,.profile-hero).header-stage{margin-top:24px;padding:45px 30px 45px;gap:6%;margin-bottom:50px}
[data-material=finwise] .service-hero h1{font-size:clamp(42px,4.7vw,72px);line-height:1.06;letter-spacing:-.035em}
[data-material=finwise] .service-hero figure{border:5px solid #ffffffe0;border-radius:26px 38px 26px 26px;box-shadow:0 18px 35px #44374b22;height:440px}
[data-material=finwise] .profile-hero figure{border-radius:30px;overflow:hidden;box-shadow:0 12px 28px #372e4922}
[data-material=finwise] .article-opening.header-stage{padding:65px 35px 50px;margin-top:24px;margin-bottom:32px}
[data-material=finwise] .article-opening h1{font-size:clamp(40px,4.8vw,74px);letter-spacing:-.035em}
[data-material=finwise] .contact-layout.header-stage{padding:45px 30px;margin-top:24px;margin-bottom:45px}
[data-material=finwise] .contact-layout h1{font-size:clamp(42px,4.5vw,68px);line-height:1.08}

/* Worth: type set like a considered printed cover, photographed surface underneath. */
[data-material=allworth] .worth-hero{border-radius:0 0 42px 42px;overflow:hidden;grid-template-columns:1.05fr 1fr}
[data-material=allworth] .worth-hero .header-atmosphere{inset:0;border-radius:0;right:48%}
[data-material=allworth] .worth-hero .header-light{background-position:left center;background-size:auto 115%;opacity:.68}
[data-material=allworth] .worth-hero-text{padding-block:70px 80px;padding-right:40px}
[data-material=allworth] .worth-hero h1{font-size:clamp(58px,6.3vw,105px);line-height:.98;letter-spacing:-.055em;max-width:660px}
[data-material=allworth] .worth-hero-text>p:not(.eyebrow){max-width:410px;font-size:17px;line-height:1.75}
[data-material=allworth] .worth-hero-photo{border-radius:100px 0 0 0;border-left-width:8px}
[data-material=allworth] .worth-hero-photo .photo-label{border-radius:14px;background:#153248d6;backdrop-filter:blur(12px);padding:15px 20px;color:white;bottom:30px;right:25px}
[data-material=allworth] .worth-hero-photo .material-prop{left:0;bottom:12px;width:145px;height:165px}
[data-material=allworth] .core-hero.header-stage{margin-top:28px;margin-bottom:45px;padding:48px 36px;gap:45px}
[data-material=allworth] .core-hero h1{font-size:clamp(48px,5.4vw,84px);line-height:1.02;letter-spacing:-.045em}
[data-material=allworth] .core-hero figure{transform:rotate(1deg);border-radius:22px 50px 22px 22px}
[data-material=allworth] .core-hero .header-atmosphere{inset:0;border-radius:30px 70px 30px 30px}
[data-material=allworth] .core-hero-copy::after{border-radius:3px;background:linear-gradient(90deg,#a9834f,#dac19b);height:4px;width:76px}
[data-material=allworth] .profile-opening.header-stage{padding:48px 30px;margin-top:25px;margin-bottom:40px}
[data-material=allworth] .profile-opening h1{font-size:clamp(54px,6.6vw,104px);letter-spacing:-.05em;line-height:1}

/* Horizon: clear typesetting, a porcelain frame and light moving beneath the glass. */
[data-material=iaderosa] .site-header{border-radius:22px;background:#f4f8fce8;backdrop-filter:blur(14px)}
[data-material=iaderosa] .horizon-opening{padding-top:58px;padding-bottom:55px}
[data-material=iaderosa] .horizon-opening .header-atmosphere{inset:0 -4%;border-radius:0 0 44px 44px;mask-image:linear-gradient(#000 80%,transparent)}
[data-material=iaderosa] .horizon-title{grid-template-columns:1.45fr 1fr;gap:50px}
[data-material=iaderosa] .horizon-title h1{font-size:clamp(40px,4.7vw,76px);letter-spacing:-.055em;line-height:1.07}
[data-material=iaderosa] .horizon-title>div:last-child{max-width:390px}
[data-material=iaderosa] .horizon-hero-photo{border:7px solid #ffffffb8;border-radius:28px 56px 28px 28px;height:470px;box-shadow:0 2px 0 #b5cbd4,0 22px 35px #28455c22}
[data-material=iaderosa] .horizon-hero-photo figcaption{border:1px solid #ffffff89;border-radius:14px;background:#143f50b8;backdrop-filter:blur(12px);color:white;padding:16px 22px;right:auto;bottom:25px;left:25px}
[data-material=iaderosa] .material-prop{width:185px;height:132px;left:auto;right:30px;bottom:32px}
[data-material=iaderosa] .core-hero.header-stage{padding:48px 35px;margin-top:25px;margin-bottom:45px;gap:45px}
[data-material=iaderosa] .core-hero h1{font-size:clamp(40px,4.3vw,66px);line-height:1.1;letter-spacing:-.055em}
[data-material=iaderosa] .core-hero figure{border-radius:45px 25px 45px 25px;border-color:#ffffffb8}
[data-material=iaderosa] .profile-opening.header-stage{padding:45px 32px;margin-top:25px;margin-bottom:40px}

/* Alder: linen and bronze, with cream ink and grounded document geometry. */
[data-material=bone] .site-header{border-radius:22px;background:#e9ecdfed;backdrop-filter:blur(14px)}
[data-material=bone] .alder-photo{border-radius:28px 28px 0 0;overflow:hidden}
[data-material=bone] .alder-title{border-radius:0 0 38px 38px;min-height:400px;padding-top:58px;padding-bottom:65px}
[data-material=bone] .alder-title .header-atmosphere{inset:0;border-radius:inherit}
[data-material=bone] .alder-title h1{font-size:clamp(48px,5.2vw,82px);line-height:1.02;letter-spacing:-.03em;font-weight:500}
[data-material=bone] .alder-title .eyebrow{color:#d8c4a1}
[data-material=bone] .alder-title>div:nth-child(3){border-left:1px solid #ffffff2a;padding-left:38px;align-self:center}
[data-material=bone] .alder-title>div:nth-child(2){border:0;padding-left:0;display:block}
[data-material=bone] .alder-title>div:nth-child(3)>p{color:#e4e7dd;line-height:1.8;font-size:15px}
[data-material=bone] .alder-entry .btn{min-height:70px;--control-top:#3b5646;--control-bottom:#263d32;--control-ink:#f6f3e9}
[data-material=bone] .alder-title .material-prop{right:22px;bottom:-65px;width:108px;height:130px}
[data-material=bone] .core-hero.header-stage{padding:48px 40px;gap:45px;margin-top:28px;margin-bottom:45px;color:#f5f1e6;background:#18352b;border-radius:28px 55px 28px 28px}
[data-material=bone] .core-hero .header-atmosphere{inset:0;border-radius:inherit}
[data-material=bone] .core-hero h1{font-size:clamp(49px,5.5vw,86px);line-height:1.02;font-weight:500;letter-spacing:-.03em}
[data-material=bone] .core-hero .core-lead{color:#e0e5dc}
[data-material=bone] .core-hero .eyebrow{color:#dcc3a0}
[data-material=bone] .core-hero figure{border:6px solid #e6dec8;border-radius:24px 38px 24px 24px;box-shadow:0 14px 30px #03170f55}
[data-material=bone] .profile-opening.header-stage{padding:45px 35px;margin-top:24px;margin-bottom:40px}
[data-material=bone] .profile-opening .header-light{opacity:.09}
[data-material=bone] .profile-opening h1{font-size:clamp(54px,6.5vw,102px);letter-spacing:-.035em;font-weight:500}

/* Article and contact openings have their own quiet material composition. */
[data-header-edition] :is(.journal-opening,.article-heading).header-stage{padding:60px 40px;margin-top:25px;margin-bottom:40px}
[data-header-edition] :is(.journal-opening,.article-heading).header-stage h1{font-size:clamp(42px,5.1vw,82px);line-height:1.06;max-width:1000px;letter-spacing:-.035em}
[data-material=bone] :is(.journal-opening,.article-heading).header-stage .header-light{opacity:.1}
[data-material=allworth] :is(.journal-opening,.article-heading).header-stage .header-light{background-position:left center;background-size:130% auto;opacity:.38}
[data-header-edition] .contact-layout.header-stage{padding:48px 35px;margin-top:25px;margin-bottom:45px}
[data-header-edition] .contact-layout.header-stage h1{font-size:clamp(43px,4.7vw,76px);line-height:1.06;letter-spacing:-.035em}
[data-material=bone] .contact-layout .header-light{opacity:.1}
[data-header-edition] .contact-panel{background:#ffffffe8;backdrop-filter:blur(14px);box-shadow:inset 0 1px white,0 16px 40px #3d364315}
[data-header-edition] .contact-panel .introduction-form{box-shadow:none;border:0;background:transparent}
[data-header-edition] :is(.article-photo,.article-cover){border-radius:24px;overflow:hidden}
[data-header-edition] :is(.article-photo,.article-cover) .soft-art{height:100%}
[data-header-edition] .journal-feature img{border-radius:24px}

@media(hover:hover) and (pointer:fine){[data-header-edition] :is(.btn,.guide-launch,.menu-toggle,[data-next],[data-back],[data-guide-topic]):hover::before{transform:translateY(-1px);filter:brightness(1.035);box-shadow:inset 0 1px 1px #ffffffc0,inset 0 -3px 2px #00000020,0 10px 17px #30243820}}
@media(max-width:1050px){[data-header-edition] .site-header{gap:10px}.motion-toggle{font-size:9px;padding:8px}.header-stage .header-atmosphere{inset-inline:-2%}[data-material=allworth] .worth-hero h1{font-size:68px}[data-material=allworth] .worth-hero-text{padding-right:25px}[data-header-edition] .core-hero.header-stage{gap:25px;padding-inline:25px}}
@media(max-width:760px){
 [data-header-edition] .motion-toggle{margin-left:auto;min-height:40px;font-size:10px}
 [data-header-edition] .site-header .menu-toggle{order:3;margin-left:0}
 [data-header-edition] .site-header nav{margin:0}
 [data-header-edition] .site-header{position:relative}
 [data-header-edition] .header-atmosphere{inset:0 -4%;border-radius:24px}
 [data-header-edition] .header-light{background-position:35% center;opacity:calc(var(--plate-opacity) * .78)}
 [data-header-edition] .header-stage h1{overflow-wrap:normal;word-break:normal}
 [data-header-edition] :is(.core-hero,.profile-opening,.service-hero,.profile-hero,.contact-layout).header-stage{padding:32px 17px;margin-top:22px;margin-bottom:35px;gap:32px}
 [data-header-edition] :is(.journal-opening,.article-heading,.article-opening,.page-intro).header-stage{padding:38px 20px;margin-top:22px;margin-bottom:30px}
 [data-header-edition] :is(.core-hero,.contact-layout,.journal-opening,.article-heading,.page-intro,.service-hero).header-stage h1{font-size:clamp(38px,9.8vw,52px);letter-spacing:-.035em;line-height:1.07}
 [data-header-edition] .core-hero figure{transform:none}
 [data-header-edition] .header-stage figure{margin:0}
 [data-header-edition] .contact-panel{padding:22px 18px}
 [data-material=finwise][data-header-edition]{padding:12px}
 [data-material=finwise] .canvas{border-radius:24px}
 [data-material=finwise] .hero{padding-top:32px;padding-bottom:55px}
 [data-material=finwise] .hero-copy{grid-template-columns:1fr;gap:24px}
 [data-material=finwise] .hero h1{font-size:44px;letter-spacing:-.04em;line-height:1.07}
 [data-material=finwise] .hero-copy p{font-size:15px}
 [data-material=finwise] .hero-right{padding-top:0}
 [data-material=finwise] .hero-right .actions{margin-top:22px}
 [data-material=finwise] .hero-media{gap:18px;margin-top:40px}
 [data-material=finwise] .hero-media figure{height:280px;border-radius:20px 20px 35px 20px}
 [data-material=finwise] .hero-media aside{transform:none;border-radius:22px}
 [data-material=finwise] .hero-media aside p{padding:10px 15px 15px;font-size:13px}
 [data-material=finwise] .material-prop{width:95px;height:110px;top:-50px;right:-7px}
 [data-material=finwise] .service-hero figure{height:300px;border-radius:24px}
 [data-material=allworth] .worth-hero{grid-template-columns:1fr;border-radius:0 0 28px 28px}
 [data-material=allworth] .worth-hero .header-atmosphere{right:0;bottom:40%;border-radius:0}
 [data-material=allworth] .worth-hero-text{padding:45px 25px 40px}
 [data-material=allworth] .worth-hero h1{font-size:59px;line-height:1;letter-spacing:-.045em}
 [data-material=allworth] .worth-hero-text>p:not(.eyebrow){font-size:16px}
 [data-material=allworth] .worth-hero-photo{border-radius:55px 0 0 0;height:340px}
 [data-material=allworth] .worth-hero-photo .material-prop{left:auto;right:0;bottom:10px;width:95px;height:120px}
 [data-material=allworth] .photo-label{max-width:65%;font-size:9px}
 [data-material=iaderosa] .horizon-opening{padding-top:35px;padding-bottom:35px}
 [data-material=iaderosa] .horizon-title{grid-template-columns:1fr;gap:25px}
 [data-material=iaderosa] .horizon-title h1{font-size:40px;line-height:1.09}
 [data-material=iaderosa] .horizon-hero-photo{height:335px;border-radius:22px 38px 22px 22px;border-width:4px}
 [data-material=iaderosa] .horizon-hero-photo figcaption{padding:12px 14px;bottom:16px;left:14px;max-width:70%;font-size:8px}
 [data-material=iaderosa] .material-prop{width:105px;height:80px;right:3px;bottom:18px}
 [data-material=bone] .alder-title{padding:38px 25px 50px;min-height:0;border-radius:0 0 28px 28px;gap:30px}
 [data-material=bone] .alder-title h1{font-size:46px;line-height:1.05;letter-spacing:-.025em}
 [data-material=bone] .alder-title>div:nth-child(3){border-left:0;border-top:1px solid #ffffff2a;padding:23px 0 0}
 [data-material=bone] .alder-title .material-prop{width:78px;height:94px;bottom:-45px;right:18px}
 [data-material=bone] .alder-entry .btn{min-height:58px;padding-inline:15px}
 [data-material=bone] .core-hero.header-stage{border-radius:24px}
}
@media(prefers-reduced-motion:reduce){.header-light,.soft-art,.material-prop{transform:none!important}[data-header-edition] *,[data-header-edition] *::before,[data-header-edition] *::after{transition:none!important;animation:none!important}}
[data-motion=off] .header-light,[data-motion=off] .soft-art,[data-motion=off] .material-prop{transform:none!important}
[data-motion=off] *,[data-motion=off] *::before,[data-motion=off] *::after{transition:none!important;animation:none!important}
@media print{.header-atmosphere,.motion-toggle{display:none}.header-stage{color:#111!important;background:white!important}}
[data-header-edition] .header-stage>.material-prop{position:absolute;z-index:3}
/* Phone composition corrections after actual rendered inspection. */
[data-material=allworth] .worth-hero h1{font-size:clamp(54px,5.6vw,92px)}
[data-material=bone] .alder-title .header-light,[data-material=bone] .core-hero .header-light{opacity:.24}
[data-material=bone] .core-hero.header-stage .soft-art{height:285px}
[data-material=bone] .core-hero.header-stage figure img{height:100%}
[data-material=bone] .core-hero.header-stage .core-hero-copy{background:transparent;padding:0 25px 8px}
[data-material=bone] .core-hero figcaption{color:#4c5c4e}
@media(max-width:760px){
 [data-material=allworth] .worth-hero h1{font-size:47px;line-height:1.06}
 [data-material=iaderosa] .horizon-title h1{font-size:36px}
 [data-material=bone] .alder-title h1{font-size:40px;line-height:1.08}
 [data-material=bone] .core-hero.header-stage .soft-art{height:235px}
 [data-material=bone] .core-hero.header-stage .core-hero-copy{padding:0 5px 5px}
 [data-material=bone] .alder-title h1 br{display:none}
}
[data-header-edition] .guide-launch{display:inline-flex;align-items:center;gap:10px}
[data-header-edition] .guide-icon{width:19px;height:19px;flex:none}
[data-header-edition] .guide-label{font-size:12px;color:inherit}
@media(max-width:760px){
 [data-header-edition] .motion-toggle{font-size:0;width:36px;min-width:36px;padding:0;min-height:40px}
 [data-header-edition] .motion-toggle::after{content:'Ⅱ';font-size:15px}
 [data-header-edition] .motion-toggle[aria-pressed=true]::after{content:'▷'}
 [data-header-edition] .motion-toggle:disabled::after{content:'—'}
 [data-header-edition] .guide-launch{min-height:52px;width:52px;padding:14px;justify-content:center;--soft-shape:18px 18px 10px 18px}
 [data-header-edition] .guide-label{display:none}
 [data-header-edition] .guide-icon{width:22px;height:22px}
}
