/* CraftyWand public site scale. The homepage is the reference. */
:root{--cw-site-font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--cw-site-width:1600px;--cw-site-gutter:64px;--cw-site-title:clamp(48px,5vw,72px);--cw-site-section:clamp(36px,3.5vw,56px);--cw-site-body:18px}
body{font-family:var(--cw-site-font)}
@media(min-width:1051px){
body .modes-container.cw-library-v2{width:calc(100% - var(--cw-site-gutter));max-width:var(--cw-site-width);padding-left:0;padding-right:0}
body .bl-search-panel{padding:40px 32px;gap:48px}
body .bl-search-title h1{font-size:var(--cw-site-title);font-weight:560;line-height:1.08;letter-spacing:-.035em}
body .bl-search-copy>p{font-size:18px;line-height:1.65}
body .bl-library-head h2{font-size:34px;line-height:1.2}
body .bl-library-layout{max-width:var(--cw-site-width)}
body .bl-family-button{font-size:15px}
body .bl-library-head [role=status]{font-size:16px}
body .about-page{width:calc(100% - var(--cw-site-gutter));max-width:var(--cw-site-width);margin:0 auto;padding:64px 0 80px;display:block}
body .about-page .about-hero{max-width:1000px;margin:0 auto 48px;padding:0;position:static}
body .about-page .about-hero h1{font-size:var(--cw-site-title);font-weight:560;line-height:1.08;letter-spacing:-.035em}
body .about-page .about-hero p{font-size:24px;line-height:1.55;margin-top:24px}
body .about-page .about-body{width:auto;max-width:1000px;margin:0 auto}
body .about-page .about-body p{font-size:20px;line-height:1.7}
body .about-page .about-body h2{font-size:34px;line-height:1.2;margin:1.4em 0 .5em}
body main.ai-gallery-page{width:calc(100% - var(--cw-site-gutter));max-width:var(--cw-site-width);margin:0 auto;padding-left:0;padding-right:0}
body .ai-gallery-hero h1{max-width:1100px;font-size:var(--cw-site-title);font-weight:560;line-height:1.08;letter-spacing:-.035em}
body .ai-gallery-hero>p{font-size:20px;line-height:1.65}
body .ai-gallery__heading h2{font-size:var(--cw-site-section);line-height:1.1}
body main.wrap{width:calc(100% - var(--cw-site-gutter));max-width:var(--cw-site-width);padding-left:0;padding-right:0;margin-left:auto;margin-right:auto;font-size:18px;line-height:1.65}
body main.wrap>article>h1,body main.wrap>.g-hero h1,body main.wrap>h1{font-size:var(--cw-site-title);font-weight:560;line-height:1.08;letter-spacing:-.035em;max-width:1300px;margin:24px 0}
body main.wrap>article>p,body main.wrap>article>ul,body main.wrap>article>ol{max-width:85ch;font-size:20px;line-height:1.7}
body main.wrap>article>.lede,body main.wrap>.g-hero .lede{font-size:22px;line-height:1.6;max-width:1000px}
body main.wrap h2{font-size:34px;line-height:1.2}
body main.wrap h3{font-size:24px;line-height:1.3}
body main.wrap .breadcrumb,body main.wrap .crumbs,body main.wrap .box-crumbs{font-size:15px}
body main.wrap .g-hero{padding-top:36px;padding-bottom:36px}
body main.wrap .g-grid{gap:28px}
body main.wrap .g-card .meta{font-size:17px;line-height:1.45}
body main.wrap .detail,body main.wrap .box-hero{gap:64px;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
body main.wrap .detail h1,body main.wrap .box-hero h1{font-size:clamp(40px,3.1vw,56px);font-weight:560;line-height:1.1;letter-spacing:-.025em}
body main.wrap .detail .lede,body main.wrap .box-lede{font-size:20px;line-height:1.65}
body main.wrap .box-tags,body main.wrap .spec,body main.wrap .box-specs{font-size:16px}
body main.wrap .actions a,body main.wrap .box-action,body main.wrap .cta-block a{font-size:16px;min-height:50px}
body main.wrap .box-sections{gap:40px}
body main.wrap .box-grid{gap:28px}
body main.wrap .box-card h2,body main.wrap .box-card h3{font-size:22px}
}
@media(min-width:701px) and (max-width:1050px){body .about-page{max-width:calc(100% - 64px)}body .about-page .about-hero h1,body main.wrap>.g-hero h1,body main.wrap>article>h1{font-size:48px;line-height:1.1}body .about-page .about-body p{font-size:18px}}
@media(max-width:700px){body main.wrap h1,body .about-page .about-hero h1{font-size:36px;line-height:1.12}body main.wrap .detail h1,body main.wrap .box-hero h1{font-size:32px}body main.wrap h2{font-size:28px;line-height:1.2}body main.wrap>article>p,body .about-page .about-body p{font-size:17px;line-height:1.7}}

/* Public partner pages use the homepage's desktop width and type scale. */
@media(min-width:1051px){
body .cw-designers{font-size:18px}
body .cw-d-wrap{width:calc(100% - var(--cw-site-gutter));max-width:var(--cw-site-width)}
body .cw-d-eyebrow{font-size:15px;line-height:1.5}
body .cw-d-intro{grid-template-columns:1fr 1fr;gap:64px;padding-top:56px;padding-bottom:60px;min-height:650px}
body .cw-d-intro h1{font-size:clamp(56px,4.4vw,72px);line-height:1.08;letter-spacing:-2.4px}
body .cw-d-lead{font-size:20px;line-height:1.65;max-width:640px;margin:28px 0 32px!important}
body .cw-d-artwall{height:510px}
body .cw-d-primary,body .cw-d-secondary{font-size:16px;min-height:52px;padding:14px 25px}
body .cw-d-section-heading h2,body .cw-d-about h2,body .cw-d-how h2{font-size:clamp(40px,3.5vw,56px);line-height:1.1;letter-spacing:-1.7px}
body .cw-d-section-heading{margin-bottom:32px}
body .cw-d-section-heading>p{font-size:18px}
body .cw-d-tools{padding:24px;gap:20px}
body .cw-d-tools label{font-size:15px}
body .cw-d-tools input,body .cw-d-tools select{font-size:17px;height:54px}
body .cw-d-results{font-size:16px}
body .cw-d-grid{gap:30px}
body .cw-d-card-info{padding:28px}
body .cw-d-identity{gap:16px}
body .cw-d-identity .cw-d-avatar{width:64px;height:64px}
body .cw-d-identity h3{font-size:28px;line-height:1.2}
body .cw-d-identity p{font-size:16px;line-height:1.5}
body .cw-d-card-description{font-size:18px;line-height:1.6}
body .cw-d-tags{gap:8px}
body .cw-d-tags span,body .cw-d-location{font-size:14px}
body .cw-d-card-open{font-size:16px}
body .cw-d-art span{font-size:14px}
body .cw-d-back{font-size:16px;margin-bottom:32px}
body .cw-d-profile-head{padding-top:40px;padding-bottom:52px}
body .cw-d-profile-summary{grid-template-columns:minmax(0,1fr) 300px;gap:64px}
body .cw-d-identity-large{gap:26px}
body .cw-d-identity-large .cw-d-avatar{width:120px;height:120px}
body .cw-d-identity-large h1{font-size:var(--cw-site-title);line-height:1.08;letter-spacing:-2px}
body .cw-d-identity-large .cw-d-eyebrow{font-size:15px;margin-bottom:10px!important}
body .cw-d-identity-large p{font-size:20px}
body .cw-d-profile-intro{font-size:24px;line-height:1.6;max-width:950px;margin:28px 0 24px!important}
body .cw-d-profile-contact{font-size:16px;gap:18px}
body .cw-d-profile-work{padding-top:48px;padding-bottom:80px}
body .cw-d-project-tabs{gap:12px;margin-bottom:32px}
body .cw-d-project-tabs button{font-size:16px;min-height:48px;padding:11px 18px}
body .cw-d-project-tabs button span{font-size:13px}
body .cw-d-projects{gap:36px 28px}
body .cw-d-project-caption h3{font-size:21px;line-height:1.3}
body .cw-d-project-caption p{font-size:16px;line-height:1.5}
body .cw-d-load-more{font-size:16px}
body .cw-d-about{grid-template-columns:1fr 1.55fr;gap:80px;padding:72px 0}
body .cw-d-about>div>p:not(.cw-d-eyebrow){font-size:20px;line-height:1.7;margin-bottom:22px}
body .cw-d-about-services{gap:40px;margin-top:36px}
body .cw-d-about-services h3{font-size:20px}
body .cw-d-about-services ul{font-size:17px;line-height:1.9}
body .cw-d-collaborate{padding:56px;margin-bottom:80px;gap:48px}
body .cw-d-collaborate h2{font-size:44px;line-height:1.12}
body .cw-d-collaborate p{font-size:18px;line-height:1.65}
body .cw-d-how{padding-top:64px;padding-bottom:80px;grid-template-columns:1fr 1.5fr;gap:64px}
body .cw-d-how>div{gap:32px}
body .cw-d-how h3{font-size:22px;line-height:1.25}
body .cw-d-how p{font-size:17px;line-height:1.65}
body .cw-d-how article>span{font-size:16px}
}
@media(min-width:1600px){body .cw-d-artwall{height:540px}body .cw-d-intro{min-height:680px}}

/* Match the public partner page scale to the homepage. */
@media(min-width:1051px){
body .cw-collab-page .cw-d-wrap{width:calc(100% - var(--cw-site-gutter));max-width:var(--cw-site-width)}
body .cw-collab-hero h1{font-size:clamp(56px,4.4vw,72px);line-height:1.08}
body .cw-collab-hero .cw-collab-lead{font-size:24px;line-height:1.55}
body .cw-collab-page h2{font-size:clamp(40px,3.5vw,56px);line-height:1.1}
body .cw-collab-page h3{font-size:24px;line-height:1.25}
body .cw-collab-page .cw-d-eyebrow{font-size:15px}
body .cw-collab-section-intro,body .cw-collab-opening{font-size:20px;line-height:1.65}
body .cw-collab-jump a{font-size:16px}
body .cw-collab-feature-tab{font-size:18px}
body .cw-collab-feature-tab strong{font-size:24px}
body .cw-collab-feature-tab small{font-size:15px}
body .cw-collab-feature figcaption{font-size:16px}
body .cw-collab-page .cw-d-primary,body .cw-collab-page .cw-d-secondary{font-size:16px}
}

@media(min-width:1051px){body .cw-d-intro h1,body .cw-d-identity-large h1,body .cw-collab-hero h1{font-weight:560}}

@media(min-width:1051px){body .bl-model-title{font-size:18px;line-height:1.4}body .ai-gallery-page article>strong{font-size:18px}}

/* Shared text roles, including navigation within catalogues and legal pages. */
:root{--cw-site-control:16px;--cw-site-meta:14px;--cw-site-card-title:18px}
body .modes-container :is(.bl-category-button,.dl-category-button,.bl-family-button,.bl-model-action,.dl-model-action,.bl-save-model),
body .ai-gallery-page :is(button,input,select,.ai-gallery__heading>a,.ai-gallery-browse__chips a){font-family:var(--cw-site-font);font-size:var(--cw-site-control);line-height:1.45}
body .modes-container :is(.bl-category-button,.dl-category-button){min-height:52px;height:auto}
body .modes-container :is(.bl-category-count,.bl-total,.bl-model-size,.dl-model-number){font-size:var(--cw-site-meta);line-height:1.5}
body .modes-container :is(.dl-category-heading,.bl-library-head>span){font-size:16px;line-height:1.5}
body .modes-container :is(.bl-model-title,.dl-model-title){font-size:var(--cw-site-card-title);line-height:1.4;min-height:2.8em;height:auto}
body .modes-container .dl-card-tags{flex-wrap:wrap}
body .modes-container .dl-card-tags span{font-size:12px;line-height:1.4}
body .modes-container :is(.bl-model-action,.dl-model-action,.bl-save-model){min-height:44px;padding:10px 16px}
body .modes-container .ant-pagination :is(a,span){font-family:var(--cw-site-font);font-size:16px}
body .modes-container .ant-pagination-item{min-width:40px;height:40px;line-height:38px}
body .ai-gallery-page :is(.ai-gallery-hero__notice,.ai-gallery__toolbar,.ai-gallery-pagination__status,.ai-gallery-search){font-size:16px;line-height:1.6}
body .ai-gallery-page .ai-gallery-hero__notice :is(strong,span){font-size:inherit}
body .ai-gallery-page .ai-gallery-pagination button{min-width:40px;min-height:40px}
body main:has(>.updated){width:calc(100% - var(--cw-site-gutter));max-width:var(--cw-site-width);margin:0 auto;padding:64px 0 80px;font-family:var(--cw-site-font);font-size:20px;line-height:1.7}
body main:has(>.updated)>h1{font-size:var(--cw-site-title);font-weight:560;line-height:1.08;letter-spacing:-.035em;margin:16px 0 24px}
body main:has(>.updated)>h2{font-size:34px;line-height:1.2;margin:40px 0 16px}
body main:has(>.updated)>:is(p,ul,ol){max-width:85ch;font-size:20px;line-height:1.7}
body main:has(>.updated)>.updated{font-size:var(--cw-site-meta)}
@media(max-width:700px){
 body .modes-container :is(.bl-model-title,.dl-model-title){font-size:16px}
 body .modes-container :is(.bl-model-action,.dl-model-action,.bl-save-model){padding:8px 10px}
 body main:has(>.updated){width:auto;margin:0;padding:32px 20px 48px}
 body main:has(>.updated)>h1{font-size:36px}
 body main:has(>.updated)>h2{font-size:28px}
 body main:has(>.updated)>:is(p,ul,ol){font-size:17px}
}

/* Layout continuity: homepage containers and normal reading flow. */
@media(min-width:1051px){body .about-page .about-closing{max-width:1000px;margin:48px auto 0}body .about-page .landing-faq{max-width:1000px;width:100%;margin:64px auto 0;padding:0}body .about-page .about-closing :is(p,li){font-size:18px;line-height:1.65}body .about-page .about-closing h2{font-size:34px;line-height:1.2}body :is(.bl-library-layout,.dl-library-layout,.cw-d-intro,.cw-d-about,.cw-d-how,.cw-collab-hero,.detail,.box-hero)>*{min-width:0}body :is(.bl-family-list,.bl-library-tools,.dl-card-tags,.cw-d-tags,.cw-d-project-tabs){flex-wrap:wrap}}
@media(min-width:1051px) and (max-width:1180px){:root{--cw-site-gutter:40px;--cw-site-width:1100px}}

/* Shared shell proportions for generated public pages. */
body .site-header{padding:0;height:auto;min-height:0;font-family:var(--cw-site-font);background:#fff;border-bottom:1px solid #ececf0}
body .site-header :is(.site-header__inner,.wrap.nav){width:100%;max-width:none;min-height:78px;padding:12px 32px;margin:0;display:flex;align-items:center;gap:40px;box-sizing:border-box}
body .site-header .brand{display:flex;flex:none;align-items:center}
body .site-header .brand img{content:url("/craftywand-art/branding/craftywand-nav-logo-owner.png?v=20260929");width:230px;height:48px;max-width:100%;object-fit:contain}
body .site-header :is(nav.nav,.navlinks){display:flex;align-items:center;gap:24px;margin:0 auto 0 0;flex-wrap:wrap}
body .site-header :is(nav.nav,.navlinks) a{font-family:var(--cw-site-font);font-size:14px;font-weight:500;line-height:1.5;white-space:nowrap}
body .site-header .signin{font-family:var(--cw-site-font);font-size:14px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:10px 16px}
body:has(>main>.updated){background:#fff}
body main:has(>.updated){border:0;border-radius:0;box-shadow:none;background:#fff}
body main:has(>.updated)>:is(h1,h2,p,ul,ol){max-width:1000px;margin-left:auto;margin-right:auto}
@media(min-width:1051px){body .modes-container.dielines-container{width:calc(100% - var(--cw-site-gutter));max-width:var(--cw-site-width);margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}}
@media(max-width:700px){body .site-header :is(.site-header__inner,.wrap.nav){padding:12px 16px;gap:12px 20px;flex-wrap:wrap}body .site-header .brand img{width:184px;height:38px}body .site-header :is(nav.nav,.navlinks){order:3;width:100%;gap:10px 18px}body .site-header .nav-actions{margin-left:auto}body .site-header :is(nav.nav,.navlinks) a{font-size:14px}body .site-header .signin{padding:8px 12px}body main.wrap :is(.actions,.box-actions){flex-wrap:wrap}}

/* Use the homepage responsive heading scale for public landing-page titles. */
:root{--cw-site-title:clamp(48px,5.1vw,72px)}
@media(min-width:1051px){body :is(.cw-d-intro,.cw-d-identity-large,.cw-collab-hero) h1{font-size:var(--cw-site-title)}}
@media(min-width:701px) and (max-width:1050px){body :is(.bl-search-title,.ai-gallery-hero,.cw-d-intro,.cw-d-identity-large,.cw-collab-hero) h1{font-size:48px;line-height:1.1}}
@media(max-width:700px){body :is(.bl-search-title,.ai-gallery-hero,.cw-d-intro,.cw-d-identity-large,.cw-collab-hero) h1{font-size:36px;line-height:1.12}body .site-header .nav-actions{order:2;flex:0 0 auto;width:auto}}

/* About: bounded two-column story with large, scroll-linked packaging artwork. */
body .about-page .cw-about-art{position:relative;isolation:isolate;margin:28px 0 0;height:clamp(180px,calc(100vh - 430px),430px);overflow:hidden;border-radius:24px;background:radial-gradient(ellipse at 30% 25%,#eeeaff 0,transparent 65%),linear-gradient(135deg,#faf9fd,#eef5f7)}
body .about-page .cw-about-art__image{position:absolute;inset:-8%;width:116%;height:116%;max-width:none;object-fit:contain;mix-blend-mode:multiply;will-change:opacity,transform;pointer-events:none}
@media(min-width:1051px){body .about-page .cw-about-story{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(48px,5vw,96px);align-items:start}body .about-page .cw-about-story .about-hero{position:sticky;top:110px;max-width:none;margin:0;min-width:0}body .about-page .cw-about-story .about-body{max-width:none;min-width:0;margin:0}body .about-page .cw-about-story .about-hero h1{font-size:var(--cw-site-title)}body .about-page .cw-about-story .about-hero p{font-size:clamp(20px,1.5vw,24px);line-height:1.5;margin-top:24px}body .about-page .about-closing{margin-top:72px}}
@media(min-width:1051px) and (max-height:700px){body .about-page .cw-about-story .about-hero{top:94px}body .about-page .cw-about-story .about-hero h1{font-size:48px}body .about-page .cw-about-story .about-hero p{font-size:18px;margin-top:16px}body .about-page .cw-about-art{margin-top:20px;height:clamp(150px,calc(100vh - 360px),300px)}}
@media(max-width:1050px){body .about-page .cw-about-story{display:block}body .about-page .cw-about-story .about-hero{position:static;margin:0 auto 40px}body .about-page .cw-about-art{height:320px;max-width:650px;margin:24px auto 0}}
@media(max-width:700px){body .about-page .cw-about-art{height:270px;border-radius:18px}}
@media(prefers-reduced-motion:reduce){body .about-page .cw-about-art__image{will-change:auto;transform:none!important}}
