/* Shared publication masthead and project layouts. Scoped independently of older page families. */
body .wr-shell-header .brandmark{display:inline-grid;place-items:center;margin-right:.48rem;width:2.12rem;height:2.12rem;border-radius:.6rem;background:#6127ce;color:#fff;font:700 1rem/1 Familjen,Arial,sans-serif;letter-spacing:-.08em;vertical-align:middle}
.wr-shell-header .studio-brand{white-space:nowrap}
body.wr-studio{background:#fff;color:#19182b}
body .studio{--ink:#171629;--plum:#5530a5;--line:#dedce4;--measure:75rem;font-family:Familjen,Arial,sans-serif;background:#fff;color:var(--ink);overflow:clip}
.studio :is(div,section,header,figure,article,nav,details){box-sizing:border-box}
body .studio :is(h1,h2,h3,p,figure){margin:0;color:inherit;background:none}
body .studio :is(h1,h2,h3){font-family:Familjen,Arial,sans-serif;font-weight:600;text-wrap:balance;letter-spacing:-.045em;line-height:1.07}
body .studio h1{font-size:clamp(2.8rem,5.4vw,5.7rem)}
body .studio h2{font-size:clamp(2rem,3.3vw,3.5rem)}
body .studio h3{font-size:clamp(1.45rem,2vw,2.1rem)}
body .studio p{font-size:clamp(1.04rem,1.45vw,1.25rem);line-height:1.55;max-width:65ch}
body .studio .st-category{color:var(--plum);font-size:.94rem;letter-spacing:.025em;font-weight:700;margin:0 0 1rem}
body .studio a{text-underline-offset:.21em}
body .studio .st-text{display:inline-flex;align-items:center;min-height:44px;color:var(--plum);font-weight:700;text-decoration:underline}
body .studio .st-button{display:inline-flex;min-height:48px;padding:.82rem 1.4rem;align-items:center;justify-content:center;font-weight:700;border-radius:100px;background:#5829b3;color:#fff;text-decoration:none}
body .studio .st-button:hover{background:#382074}
body .studio .st-actions{display:flex;align-items:center;justify-content:center;gap:1.4rem;flex-wrap:wrap;margin-top:1.6rem}
body .studio :is(.st-hero,.st-price-line,.st-feature,.st-section,.st-tools,.st-projects,.st-service-links,.st-story,.st-return){width:min(calc(100% - 3rem),var(--measure));margin-inline:auto}
body .studio .st-hero{display:grid;grid-template-columns:1.04fr 1fr;gap:clamp(2rem,4vw,5rem);align-items:center;padding-block:clamp(2.4rem,5.5vw,6rem) 2.7rem}
body .studio .st-intro{text-align:center}
body .studio .st-intro h1 em{font-style:normal;color:var(--plum)}
body .studio .st-intro>p:not(.st-category),body .studio .st-title>p:last-child{margin:1.25rem auto 0;color:#4c4a5c}
body .studio img{display:block;max-width:100%;height:auto;object-fit:cover}
body .studio .st-cover img{width:100%;aspect-ratio:1.17;object-fit:cover;border-radius:1rem}
body .studio .st-cover figcaption{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem .1rem 0;color:#4c4a5c;background:none;font-size:.95rem}
body .studio .st-cover figcaption a{color:var(--ink);font-weight:700}
body .studio .st-price-line{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:2rem;border-block:1px solid var(--line);padding:1.35rem 0}
body .studio .st-price-line h2{font-size:1.45rem}
body .studio .st-price-line p{font-size:1rem}
body .studio .st-feature{padding-block:clamp(3rem,7vw,7rem);display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(2rem,6vw,6rem);align-items:center}
body .studio .st-feature p:not(.st-category),body .studio .st-heading p{margin:1rem 0}
body .studio .st-screen{background:linear-gradient(135deg,#ede8fb,#dcd2f1);padding:clamp(1rem,3vw,2.8rem);border-radius:.85rem}
body .studio .st-screen img{box-shadow:0 .7rem 2rem #27124630;border-radius:.3rem;width:100%}
body .studio .st-diagnose,body .studio .st-end{background:#201c36;color:#fff}
body .studio .st-split{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(2rem,6vw,7rem);padding-block:clamp(3rem,7vw,6rem)}
body .studio details{padding:.12rem 0;box-shadow:none;background:none;color:inherit;border:0;border-bottom:1px solid #757086;border-radius:0}
body .studio summary{display:block;position:relative;padding:1rem 2.6rem 1rem .1rem;font-size:1.18rem;line-height:1.3;font-weight:600;list-style:none;cursor:pointer}
body .studio summary::-webkit-details-marker{display:none}
body .studio summary::after{content:'+';position:absolute;right:.35rem;top:.85rem;font-size:1.35rem}
body .studio details[open]>summary::after{content:'−'}
body .studio details p{margin:.1rem .1rem .85rem}
body .studio .st-diagnose .st-text{color:#e2d3ff}
body .studio .st-service-links{padding:1.3rem 0;display:flex;gap:.2rem 1.4rem;flex-wrap:wrap;justify-content:center;border-bottom:1px solid var(--line)}
body .studio .st-service-links a{color:var(--plum);padding:.7rem 0;font-weight:600}
body .studio .st-tools{display:grid;grid-template-columns:1fr 1fr;gap:2rem;padding:clamp(2.5rem,5vw,5rem) 0}
body .studio .st-tools>div{padding:clamp(1.4rem,3vw,3rem);background:#f5f3f9;border-radius:.8rem}
body .studio .st-tools h2{font-size:clamp(1.6rem,2.5vw,2.45rem)}
body .studio .st-tools p{margin:.8rem 0}
body .studio .st-questions{max-width:52rem;padding-bottom:4rem}
body .studio .st-questions h2{margin-bottom:1rem}
body .studio .st-questions>.st-text{margin-top:.75rem}
body .studio .st-end{text-align:center;padding:clamp(3rem,6vw,5.8rem) 1.5rem;background:linear-gradient(120deg,#201c36,#38245b)}
body .studio .st-end p{margin:1rem auto 1.5rem;color:#eee7fb}
body .studio .st-end .light{color:#251436;background:white}
body .studio .st-title{text-align:center;padding:clamp(2.8rem,6vw,5rem) 1.4rem;max-width:70rem;margin:auto;position:static;height:auto;box-shadow:none}
body .studio .st-projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;padding-bottom:1rem}
body .studio .st-projects .st-photo{display:block}
body .studio .st-projects img{width:100%;aspect-ratio:4/3;border-radius:.65rem}
body .studio .st-projects .st-category{margin:1.2rem 0 .4rem}
body .studio .st-projects h3 a{color:var(--ink)}
body .studio .st-projects article>p:last-child{margin-top:.6rem}
body .studio .st-wide-photo{max-width:64rem;width:calc(100% - 3rem);margin:auto}
body .studio .st-wide-photo img{width:100%;max-height:38rem;object-fit:contain;background:#f5f3f9;border-radius:.8rem}
body .studio .st-story{max-width:49rem;padding:2.5rem 0}
body .studio .st-story p{margin:.8rem 0 1.75rem}
body .studio .st-shot{width:min(calc(100% - 3rem),65rem);margin:auto}
body .studio .st-return{text-align:center;padding:2rem 0}
body .studio :focus-visible{outline:3px solid #b375ff;outline-offset:4px}
@media(max-width:800px){body .studio .st-hero,body .studio .st-feature,body .studio .st-split,body .studio .st-tools,body .studio .st-projects{grid-template-columns:1fr}body .studio .st-hero{padding-top:2.3rem;gap:1.6rem}body .studio .st-cover img{aspect-ratio:1.9}body .studio .st-feature{gap:1.5rem}body .studio .st-projects{max-width:40rem}body .studio .st-price-line{grid-template-columns:1fr;gap:.35rem}body .studio .st-split{gap:1.2rem}body .studio .st-price-line .st-text{justify-self:start}body .studio .st-tools{gap:1rem}body .studio :is(.st-hero,.st-price-line,.st-feature,.st-section,.st-tools,.st-projects,.st-service-links,.st-return){width:calc(100% - 2.5rem)}}
#sw-inquiry select{font:inherit;width:100%;min-height:46px;padding:.65rem .8rem;border:1px solid #888096;border-radius:.5rem;background:#fff;color:#1d192c}
body .studio .st-planner{padding:1rem 0}
.st-offer [data-needs-workspace]{padding:1rem;background:#f6f3fb;border-radius:.8rem;margin-bottom:1rem}
.st-offer fieldset{border:0;padding:0;margin:0 0 1rem}
.st-offer label,.st-offer legend{display:block;padding:.5rem 0}
.st-offer input{width:1.1rem;height:1.1rem;vertical-align:middle;accent-color:#5530a5}
.st-plan-nodes{display:flex;gap:1rem;flex-wrap:wrap;padding:0;list-style:none;font-size:.95rem}
.st-plan-summary{border-top:1px solid #dad5e5;padding:1rem 0 0}
.st-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body .wr-shell-header,body.wr-rebuild .wr-shell-header{background:#17162a;color:#fff;border-bottom:1px solid #3e3851}
body .wr-shell-header .nav-wrap{max-width:80rem;margin:auto;padding-inline:1.25rem;min-height:70px}
body .wr-shell-header .logo.studio-brand,body.wr-rebuild .wr-shell-header .logo.studio-brand{display:inline-flex;align-items:center;position:static;width:auto;min-width:0;height:auto;flex:0 1 auto;background:none;font:700 1.35rem/1 Familjen,Arial,sans-serif;color:#fff;letter-spacing:-.055em;text-decoration:none}
body .wr-shell-header .studio-brand::before,body.wr-rebuild .wr-shell-header .studio-brand::before{display:none}
body .wr-shell-header a:not(.nav-button),body .wr-shell-header .menu{color:#fff}
body .wr-shell-header .nav-button{background:#6331bc;color:#fff;border-radius:2rem}
body.wr-studio .wr-shell-footer{background:#17162a;color:#fff;padding-block:3rem;text-align:center}
body.wr-studio .wr-shell-footer a,body.wr-studio .wr-shell-footer p{color:#ded8ea}
body.wr-studio .wr-shell-footer .logo,body.wr-studio .wr-shell-footer h2{color:#fff}
body.wr-rebuild #main-content :is(.rp-opening,.rq-hero,.ed-about-hero,.so-hero,.rar-intro,.rloc-hero,.in-hero,.ra-hero,.cs-hero){border-radius:0;background:linear-gradient(115deg,#f6f3fc,#fff)!important;color:#211c35;color-scheme:light}
body.wr-rebuild #main-content :is(.rp-opening,.rq-hero,.ed-about-hero,.so-hero,.rar-intro,.rloc-hero,.in-hero,.ra-hero,.cs-hero) :is(h1,h2,p,strong,div,em,small){color:#252139}
body.wr-rebuild #main-content :is(.rp-opening,.rq-hero,.ed-about-hero,.so-hero,.rar-intro,.rloc-hero,.in-hero,.ra-hero,.cs-hero) :is(a:not([class*="button"]),[class$="-kicker"]){color:#4d258d}
body.wr-rebuild #main-content :is(.rp-opening,.rq-hero,.ed-about-hero,.so-hero,.rar-intro,.rloc-hero,.in-hero,.ra-hero,.cs-hero) a[class*="button"]{background:#502791;color:white}
@media(max-width:1100px){body .wr-shell-header #wr-main-nav.open{background:#211c35}body .wr-shell-header .menu{background:#231d37}}
/* Keep the entire masthead on the same surface, including the inner navigation. */
body .header.wr-shell-header,body .header.wr-shell-header .nav-wrap,body .header.wr-shell-header nav,body .header.wr-shell-header #wr-main-nav{background:#17162a!important}
body .header.wr-shell-header .logo.studio-brand,body .header.wr-shell-header a:not(.nav-button),body .header.wr-shell-header .menu{color:#fff!important}
body .studio .st-intro h1 em{display:block}
body .studio :is(.st-button,.st-text):hover{filter:brightness(.91)}
body .studio .st-projects h2{font-size:clamp(1.45rem,2vw,2.1rem)}
body .studio .st-projects h2 a{color:var(--ink)}
body.wr-rebuild #main-content .rq-hero .rq-price{background:#f1ecf8;color:#271f3e;border-color:#c6b8da}
body.wr-rebuild #main-content .rq-hero .rq-price :is(p,span,strong,b){color:#271f3e}
.wr-nav-group{position:relative}
.wr-nav-group>summary{cursor:pointer;display:flex;align-items:center;gap:.45rem;min-height:44px;color:#fff;font-weight:600;list-style:none}
.wr-nav-group summary::-webkit-details-marker{display:none}
.wr-nav-group>summary::after{content:'';width:.44rem;height:.44rem;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-top:-.2rem}
.wr-nav-group[open]>summary::after{transform:rotate(225deg);margin-top:.2rem}
.wr-shell-header .wr-nav-links{position:absolute;z-index:3;top:100%;left:-.85rem;display:grid;gap:0;padding:.4rem .6rem;min-width:15rem;border-radius:.65rem;background:#29243b;box-shadow:0 .55rem 1.3rem #17162a26;text-align:left}
.wr-shell-header .wr-nav-links a{display:flex;align-items:center;min-height:44px;padding:.5rem .65rem;border-radius:.3rem;text-decoration:none}
.wr-shell-header .wr-nav-links a:hover,.wr-shell-header .wr-nav-links a:focus-visible{background:#443663}
@media(max-width:1100px){.wr-shell-header .wr-nav-group>summary{justify-content:center}.wr-shell-header .wr-nav-links{position:static;min-width:0}.wr-shell-header .wr-nav-group{width:100%}.wr-shell-header #wr-main-nav.open{overflow-y:auto;max-height:70vh}}
