/* Applied identity: 03A original at 0° with outlined custom lettering 02.
   Values come from the versioned brand kit; diagrams keep their data-specific scales. */
:root{
 --ground:var(--st-semantic-surface-base);--ink:var(--st-semantic-text-primary);
 --muted:var(--st-semantic-text-secondary);--accent:var(--st-semantic-brand-accent);
 --panel:var(--st-semantic-surface-group);--sans:var(--st-primitive-font-family);
 --error:var(--st-semantic-status-error);
}
body{background:var(--ground);color:var(--ink);font-family:var(--sans)}
.site-shell{max-width:var(--st-semantic-layout-content-max)}
.site-logo{--logo-edge:max(var(--gutter),calc((100vw - var(--st-semantic-layout-content-max))/2));position:fixed;z-index:15;top:28px;left:var(--logo-edge);display:inline-flex;align-items:center;width:216px;height:44px;line-height:1;letter-spacing:0;transition:left .4s cubic-bezier(.22,1,.36,1),width .4s cubic-bezier(.22,1,.36,1)}
.site-logo-slot{display:block;flex:0 0 216px;width:216px;height:44px}
.site-logo-art{display:block;width:216px;max-width:none;height:auto;flex:none;overflow:visible;pointer-events:none;transition:width .4s cubic-bezier(.22,1,.36,1),transform .4s cubic-bezier(.22,1,.36,1)}
.logo-lettering{transition:opacity .18s ease}
.is-logo-docked .site-logo{left:max(4px,calc(var(--gutter) - 56px));width:44px}
.is-logo-docked .site-logo-art{width:186px;transform:translateX(6px)}
.is-logo-docked .logo-lettering{opacity:0}
.site-logo .logo-tile{transform-box:fill-box;transform-origin:center}
.site-footer-logo{display:block;width:min(100%,900px);max-width:100%;margin-top:var(--st-primitive-space-64);line-height:1}
.site-footer-logo img{display:block;width:100%;height:auto}
.world-page .site-header{left:50%;right:auto;transform:translateX(-50%);width:calc(100% - var(--gutter)*2);max-width:var(--st-semantic-layout-content-max)}
.site-header nav a[aria-current=page]{text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:1px}
.site-header nav a.nav-contact{background:var(--st-component-button-background);color:var(--st-component-button-foreground);border-radius:var(--st-component-button-radius);min-height:var(--st-component-button-min-height);padding:10px 20px;gap:12px;white-space:nowrap;transition:background var(--st-primitive-motion-feedback)}
.site-header nav a.nav-contact:hover{background:var(--st-component-button-hover);color:var(--ground)}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:var(--st-component-focus-width) solid var(--st-component-focus-color);outline-offset:var(--st-component-focus-offset)}
.study-button,.case-page .brief .button{background:var(--st-component-button-background);color:var(--st-component-button-foreground);border-radius:var(--st-component-button-radius);min-height:var(--st-component-button-min-height)}
.study-button:hover,.case-page .brief .button:hover{background:var(--st-component-button-hover);color:var(--ground)}
.brief-field select,.brief-field textarea,.brief-field input{background:var(--st-component-field-background);border-color:var(--st-component-field-border);border-radius:var(--st-component-field-radius)}
.brief-field [aria-invalid=true]{border-color:var(--st-semantic-status-error)}
.brief-field :is(select,textarea,input):focus{outline:var(--st-component-focus-width) solid var(--st-component-focus-color);outline-offset:var(--st-component-focus-offset)}
.persona-detail :focus-visible{outline-color:var(--st-component-focus-color-on-light)}
/* On narrow screens the mark has a quiet top edge; content passes beneath it. */
@media(max-width:1199px){
 body:before{content:'';position:fixed;z-index:14;inset:0 0 auto;height:80px;background:linear-gradient(var(--ground) 0 68px,transparent);opacity:0;pointer-events:none;transition:opacity .25s ease}
 body.is-logo-docked:before{opacity:1}
 .is-logo-docked .site-logo{left:calc(var(--gutter) - 6px)}
 .world-simulation-ui{padding-top:90px}
}
@media(max-width:900px){.site-header{gap:24px}.site-header nav{column-gap:20px}.site-logo,.site-logo-slot{width:200px;flex-basis:200px}.site-logo-art{width:200px}.world-simulation-ui{padding-top:82px}}
@media(max-width:800px){.site-logo{top:23px}}
@media(max-width:600px){.site-header nav{gap:4px 12px}.site-header nav a.nav-contact{padding:8px 14px;min-height:44px}.site-footer-logo{margin-top:var(--st-primitive-space-48)}}
@media(max-width:480px){.site-logo{top:20px}}
/* Share the existing control row instead of adding height to the demo viewport. */
@media(max-width:1199px){
 .case-page .flow-control-foot{padding-left:54px}
 .case-page.is-case-controls-pinned:before{opacity:0}
 .case-page.is-case-controls-pinned .site-logo{top:12px}
}
@media(max-width:600px){.case-page.is-case-controls-pinned .site-logo{top:4px}}
@media(min-width:601px) and (max-width:800px) and (min-height:651px){.process-page:not(.is-process-static) .process-scene{padding-top:80px}}
@media(prefers-reduced-motion:reduce){.site-header nav a.nav-contact,.site-logo,.site-logo-art,.logo-lettering,body:before{transition:none}}
/* Secondary company links belong in the shared footer, without widening the navbar. */
.site-footer>div:first-child>div{flex-wrap:wrap;justify-content:flex-end;max-width:700px;gap:15px 28px}
@media(max-width:850px){.site-footer>div:first-child>div{gap:8px;align-items:flex-end}.site-footer>div:first-child>div>a{padding-block:4px}}
