/* The public frame uses the agency's task document as its organizing idea.
   Legacy token names stay compatible; home, orbit and brief own their geometry. */
:root,.studio{--public-ground:var(--ak-paper);--public-surface:var(--ak-surface);--public-panel:var(--ak-panel);--public-ink:var(--ak-ink);--public-muted:var(--ak-muted);--public-accent:var(--ak-signal);--public-hover:var(--ak-signal-hover);--public-border-strong:var(--ak-rule);--studio-paper:var(--public-ground);--studio-white:var(--public-surface);--studio-forest:var(--public-ink);--studio-deep:var(--ak-ink);--studio-secondary:var(--public-muted);--studio-lime:var(--public-panel);--studio-rule:var(--ak-soft-rule);--studio-font:var(--ak-font);--studio-gutter:var(--ak-gutter);--corporate-column-gap:24px;--ink:var(--public-ink);--muted:var(--public-muted);--line:var(--studio-rule);--studio:var(--public-ground);--surface:var(--ak-surface);--soft:var(--ak-panel);--fire:var(--public-accent)}
html,body,.studio{background:var(--public-ground);color:var(--public-ink)}
body .own-projects,body .product-page{--product-paper:var(--public-surface);--product-ink:var(--public-ink);--product-muted:var(--public-muted);--product-action:var(--public-accent);--product-line:var(--studio-rule);--product-accent:var(--ak-panel)}
body .journey-page{--journey-ink:var(--public-ink);--journey-rule:var(--studio-rule);--journey-accent:var(--ak-panel)}
body{font-family:var(--studio-font);font-size:16px;line-height:1.6}
body h1,body h2,body h3{font-family:var(--studio-font);letter-spacing:-.04em}
body h3{letter-spacing:-.025em}
body .eyebrow{font-size:14px;letter-spacing:0;text-transform:none;line-height:1.5;color:var(--public-muted)}
::selection{background:var(--ak-signal-tint);color:var(--public-ink)}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--public-accent);outline-offset:4px}
body .skip{background:var(--public-accent);color:var(--public-surface)}
body .studio .content .cta,body .studio .studio-header .cta,body .cta{background:var(--public-accent);color:var(--public-surface);border-color:transparent;border-radius:0;box-shadow:none;font-size:15px;min-height:48px}
body .studio .content .cta:hover,body .studio .studio-header .cta:hover,body .cta:hover{background:var(--public-hover);border-color:transparent;color:var(--public-surface)}
body .studio .content .pill:hover,body .pill:hover{background:var(--public-panel);color:var(--public-ink);border-color:var(--studio-rule)}
body .text-link:hover{color:var(--public-accent)}
/* The permanent six-section index preserves every current route/highlight. */
body .studio-header.corporate-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(20px,2.2vw,36px);min-height:96px;height:auto;padding:18px var(--studio-gutter);border:0;border-bottom:1px solid var(--studio-rule);background:var(--public-ground)}
body .corporate-header .studio-header-brand{grid-column:1;grid-row:1;justify-self:start;min-width:0}
body .corporate-header .logo{font-size:clamp(25px,2.25vw,34px);font-weight:600;letter-spacing:.025em;grid-column:auto;grid-row:auto;line-height:1;gap:0;color:var(--public-ink)}
/* Beat the legacy home route's body[data-page-kind] header .logo color only. */
body .studio .corporate-header .logo{color:var(--public-ink)}
body .corporate-header .mini-core,body .menu-head .mini-core{display:none}
body .corporate-header .studio-nav{grid-column:2;grid-row:1;display:flex;justify-content:center;gap:clamp(14px,1.6vw,26px);min-width:0}
body .corporate-header .studio-nav a{font-size:14px;min-height:44px;letter-spacing:-.015em;white-space:nowrap;border:0;text-decoration:none}
body .corporate-header .studio-nav a[aria-current=page]{font-weight:600;text-decoration:underline;text-decoration-color:var(--public-accent);text-decoration-thickness:2px;text-underline-offset:7px}
body .corporate-header .studio-header-actions{grid-column:3;grid-row:1;display:flex!important;gap:20px;justify-self:end;align-items:center}
body .corporate-header [data-menu]{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 0;font-size:14px;white-space:nowrap;background:transparent;color:var(--public-ink);border:0;border-radius:0}
body .corporate-header .studio-header-actions .cta{font-size:14px;min-height:48px;padding:13px 18px;gap:16px}
body .corporate-header .time{display:none}
/* Context is a filled working strip, with an independent narrow-screen scroller. */
body .corporate-section-nav{display:flex;align-items:center;gap:32px;padding:0 var(--studio-gutter);min-height:54px;border:0;border-bottom:1px solid var(--studio-rule);background:transparent;font-size:14px;line-height:1.45}
.corporate-section-label{flex:none;color:var(--public-muted);font-weight:500}
.corporate-section-links{display:flex;align-items:center;gap:26px;min-width:0;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain}
body .corporate-section-nav a{display:inline-flex;align-items:center;min-height:54px;flex:none;font-size:14px;white-space:nowrap;text-decoration:none;border:0}
body .corporate-section-nav a[aria-current]{font-weight:600}
body .corporate-section-nav a:focus-visible{outline-offset:-4px}
body .breadcrumbs{font-size:14px;margin-bottom:28px;gap:8px}
body .breadcrumbs a{min-height:44px}
body .page-jump{gap:0 28px;margin:24px 0 40px;padding:0;border:0}
body .page-jump a{font-size:15px;min-height:48px}
body .content>h1{font-size:clamp(40px,5.4vw,80px);font-weight:500;line-height:1.06;max-width:22ch;letter-spacing:-.055em}
body .content>h2{font-size:clamp(28px,3vw,44px);font-weight:500;margin-top:64px;line-height:1.15}
body .content>p:not(.eyebrow){font-size:16px}
body .content>.lead{font-size:clamp(18px,1.5vw,22px)}
body .assistant-inline{margin-top:28px;font-size:15px}
.corporate-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--corporate-column-gap)}
.corporate-grid>.corporate-index{grid-column:span 3;min-width:0}.corporate-grid>.corporate-main{grid-column:span 9;min-width:0}.corporate-grid>.corporate-half{grid-column:span 6;min-width:0}.corporate-grid>.corporate-full{grid-column:1/-1;min-width:0}
/* Full-screen navigation is an index, never a scaled page or decorative panel. */
body .menu-overlay{background:var(--public-ground);color:var(--public-ink);padding:132px var(--studio-gutter) 48px;transition:none;box-shadow:none}
body .menu-head{top:28px;left:var(--studio-gutter);right:var(--studio-gutter);gap:24px;background:var(--public-ground);padding:0;min-height:48px}
body .menu-head .logo{font-family:var(--studio-font);color:var(--public-ink);font-size:32px;font-weight:600;letter-spacing:.025em;gap:0;display:inline-flex}
body .menu-head .pill{background:transparent;color:var(--public-ink);border:0;font-size:15px;min-height:48px;padding:10px 0}
body .menu-head .cta{background:var(--public-accent);color:var(--public-surface);border:0;font-size:15px}
body .menu-head .cta:hover{background:var(--public-hover)}
body .menu-links{gap:12px}
body .menu-links a{border-bottom:1px solid var(--studio-rule);font-family:var(--studio-font);font-size:clamp(32px,4.4vw,64px);font-weight:500;line-height:1.1;letter-spacing:-.045em;color:var(--public-ink);border:0;padding-block:8px;min-height:56px}
body .menu-aside{background:var(--public-panel);padding:32px;color:var(--public-ink);border:0}
body .menu-team-title{font-size:20px;line-height:1.3;margin:0 0 22px;font-weight:600}
body .menu-cabinet,body .menu-aside .text-link{color:var(--public-ink);font-size:16px;border:0;min-height:44px}
body .menu-aside p,body .menu-secondary a,body .menu-dirs a{font-size:15px;line-height:1.6;color:var(--public-muted)}
body .menu-secondary a,body .menu-dirs a{min-height:44px;display:inline-flex;align-items:center}
body .menu-dirs a{border:0;border-radius:0;background:var(--public-panel);padding:12px 14px;color:var(--public-ink)}
body .menu-overlay .menu-dirs .pill{background:var(--public-panel);color:var(--public-ink);border:0;font-size:15px}
body .menu-overlay .menu-dirs .pill:hover,body .menu-overlay .menu-head .pill:hover{background:var(--public-surface);color:var(--public-ink);border-color:transparent}
body .menu-links a:hover{color:var(--public-accent)}
body .menu-overlay :focus-visible{outline-color:var(--public-accent)}
body .menu-directions{border:0;margin-top:26px}.menu-directions summary{font-size:16px;min-height:44px;padding-block:10px}
body .menu-secondary{border:0;gap:10px 28px}
/* The full directory closes with the agency's name, without claimed achievements. */
body .studio .footer.portal-footer{background:var(--public-ink);color:var(--ak-paper);padding:80px var(--studio-gutter) 28px;border:0}
body .portal-footer .footer-intro{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:48px;align-items:end;padding-bottom:48px;border:0}
body .portal-footer .footer-brand{font-size:clamp(56px,8.8vw,136px);font-weight:600;letter-spacing:-.04em;line-height:.92;color:var(--ak-paper)}
body .portal-footer .footer-intro p{font-size:18px;line-height:1.6;max-width:38ch;margin:0;color:var(--ak-paper)}
body .portal-footer .footer-groups{padding:28px 0 40px;gap:32px;border:0}
body .portal-footer .footer-groups h2{font-size:16px;font-weight:600;margin-bottom:16px;letter-spacing:-.02em;text-transform:none;color:var(--ak-paper)}
body .portal-footer .footer-groups a{font-size:15px;min-height:44px;color:var(--ak-paper)}
body .portal-footer .footer-groups a:hover{text-decoration:underline;text-decoration-color:var(--ak-soft-rule)}
body .portal-footer .footer-bottom{font-size:14px;padding-top:24px;border:0;border-top:1px solid var(--ak-muted);color:var(--ak-soft-rule)}
body .portal-footer :focus-visible{outline-color:var(--ak-signal-tint)}
@media(hover:hover) and (pointer:fine){body .corporate-header [data-menu]:hover,body .corporate-header .studio-nav a:hover,body .corporate-section-nav a:hover{color:var(--public-accent)}}
@media(min-width:768px) and (max-width:1279px){
 body .studio-header.corporate-header{grid-template-columns:minmax(0,1fr) auto;gap:12px 24px;padding-block:18px 8px;min-height:96px}
 body .corporate-header .studio-header-actions{grid-column:2;grid-row:1}
 body .corporate-header .studio-nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;gap:clamp(24px,4vw,48px);border:0;margin:0;overflow-x:auto}
 body .corporate-header .studio-nav a{font-size:15px;min-height:48px;flex:none}
}
@media(max-width:767px){
 :root{--corporate-column-gap:16px}
 body .studio-header.corporate-header{grid-template-columns:minmax(0,1fr) auto;min-height:76px;padding:16px var(--studio-gutter);gap:12px}
 body .corporate-header .studio-header-brand{grid-column:1;grid-row:1}
 body .corporate-header .studio-header-actions{grid-column:2;grid-row:1;gap:0}
 body .corporate-header .studio-nav,body .corporate-header .studio-header-actions .cta{display:none!important}
 body .corporate-header .logo{font-size:26px}
 body .corporate-header [data-menu]{min-width:44px;font-size:14px}
 body .corporate-section-nav{gap:18px;min-height:48px}
 body[data-page-kind=home] .corporate-section-label{display:none}
 .corporate-section-label{font-size:13px;max-width:34%;line-height:1.4}.corporate-section-links{gap:22px}
 body .corporate-section-nav a{font-size:14px;min-height:48px}
 .corporate-grid>.corporate-index,.corporate-grid>.corporate-main,.corporate-grid>.corporate-half{grid-column:1/-1}
 body .content>h1{font-size:clamp(32px,8.5vw,46px);max-width:100%;letter-spacing:-.035em}
 body .content>h2{font-size:28px;margin-top:36px}.breadcrumbs{margin-bottom:20px}
 body .page-jump{margin:20px 0 32px;gap:0 22px}
 body .menu-overlay{padding-top:104px;padding-bottom:32px;display:block}
 body .menu-head{top:18px;gap:16px;display:flex;justify-content:space-between}
 body .menu-head .logo{font-size:25px}.menu-head .cta{display:none}
 body .menu-links{margin:0;gap:12px}
 body .menu-links a{border-bottom:1px solid var(--studio-rule);font-size:clamp(28px,7vw,44px);min-height:52px;padding-block:8px}
 body .menu-aside{padding:24px;margin-top:32px}.menu-secondary{margin-top:24px;display:flex;flex-wrap:wrap;gap:4px 24px}
 body .studio .footer.portal-footer{padding-top:40px}
 body .portal-footer .footer-intro{grid-template-columns:1fr;gap:24px;padding-bottom:28px}
 body .portal-footer .footer-brand{font-size:clamp(40px,13.5vw,84px);line-height:1}
 body .portal-footer .footer-intro p{font-size:16px;max-width:36ch}
 body .portal-footer .footer-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px;padding-top:16px}
 body .portal-footer .footer-groups a{font-size:14px}.portal-footer .footer-bottom{align-items:start;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.corporate-section-links{scroll-behavior:auto}}

/* The home has its own direction map; the repeated section strip is kept on inner pages. */
body[data-page-kind=home] .corporate-section-nav{display:none}
body .page-jump{border-bottom:1px solid var(--studio-rule)}
body .page-jump a{color:var(--public-muted)}
body .page-jump a:hover{color:var(--public-accent)}
body .content>.lead{max-width:62ch;color:var(--public-muted)}
body .menu-links a{border-bottom:1px solid var(--studio-rule);padding-block:16px}
@media(max-width:767px){body .studio-header.corporate-header{min-height:72px}body .studio .footer.portal-footer{padding-top:48px}body .portal-footer .footer-groups{gap:32px 20px}}

/* Bring the existing editorial routes into the same palette without changing their content. */
body .studio .agency-about-map,body[data-page-kind="how-we-work"] .process-route,body[data-page-kind="how-we-work"] .process-page .process-data,body[data-page-kind="how-we-work"] .process-page .public-intake-note,body[data-page-kind="yadro"] .studio-core-map,body[data-page-kind="blog"] .editorial-reading>div:first-child,body .journey-page .journey-responsibility{background:var(--public-panel);color:var(--public-ink);border-color:var(--studio-rule)}
body .studio .portal-ecosystem{color:var(--public-ink)}
body .studio .ecosystem-entry,body .studio .ecosystem-entry--x10{background:var(--public-panel)}
body .studio :is(.agency-about-map-label,.agency-about-map-core>p,.agency-about-number,.agency-about-product-stage,.agency-faq-heading .lead,.agency-faq-index-label,.agency-faq-answer>p,.agency-faq-followup>div>p:not(.eyebrow),.ecosystem-current,.ecosystem-x10-flow small){color:var(--public-muted)}
body[data-page-kind="how-we-work"] :is(.process-route-label,.process-route li>span,.process-route-foot,.process-step-number,.process-page .process-owner,.process-page .process-output>span,.process-page .process-output>p,.process-data-rules p,.public-intake-note .eyebrow){color:var(--public-muted)}
body .journey-page :is(.journey-hero h1 span,.entry-note,.journey-section-heading>p,.journey-service-list p,.journey-work p,.journey-responsibility p,.journey-responsibility li span){color:var(--public-muted)}
body .journey-page .journey-map,body[data-page-kind="yadro"] .studio-core-intelligence{background:var(--public-ink);color:var(--public-surface)}
body .journey-route small,body .journey-map-foot,body[data-page-kind="yadro"] .studio-core-intelligence p{color:var(--ak-soft-rule)}
body .journey-page .cta{background:var(--public-accent);border-color:var(--public-accent);color:var(--public-surface)}
body .journey-page .cta:hover{background:var(--public-hover);border-color:var(--public-hover)}
body .contacts-paths a:hover,body .journey-page .journey-service-list>a:hover{background:var(--public-panel)}

/* Local font subsets do not contain U+2197: SVG arrows preserve every CTA label. */
.direction-arrow{display:inline-block;flex:none;vertical-align:middle}

/* Editorial typography applies to every real public template, without changing
   the route's content or its functional layout. Headings wrap at word boundaries, with an emergency break for enlarged words wider than their container. */
body h1,body h2,body h3,body h4{hyphens:none;word-break:normal;overflow-wrap:break-word;text-wrap:balance}
body h1,body h2{font-weight:650;letter-spacing:-.045em}
body h3,body h4{font-weight:650;letter-spacing:-.025em}
body .content{max-width:var(--ak-content);margin-inline:auto}
body .content>h1{font-weight:650;max-width:23ch;font-size:clamp(36px,5.2vw,76px)}
body .studio .content :is(.service-hero h1,.direction-hero h1,.reading-hero h1,.reading-article h1,.contacts-hero h1,.agency-about-hero h1,.journey-hero h1){hyphens:none;word-break:normal;overflow-wrap:break-word;font-family:var(--ak-font);font-weight:650;letter-spacing:-.045em}
body .studio .content :is(.service-blueprint,.direction-blueprint){background:var(--ak-panel);border:1px solid var(--ak-rule);box-shadow:none}
body .corporate-header .logo,body .menu-head .logo{font-size:24px;font-weight:800;letter-spacing:.045em}
body .studio-header.corporate-header{min-height:86px}
body .cta,body .studio .content .cta,body .studio .studio-header .cta{border-radius:var(--ak-radius);font-weight:650}
body .cta:active,body .home-entry-action:active{background:var(--ak-ink)}
body .studio .portal-footer{background:var(--ak-ink)}
body .content :is(input,textarea,select){border-color:var(--ak-control-border);border-radius:var(--ak-radius);font-family:var(--ak-font);font-size:16px;background:var(--ak-surface)}
body .content textarea{min-height:8rem}
body .content :is(input,textarea,select):focus-visible{outline-color:var(--ak-signal)}
@media(max-width:767px){body .studio-header.corporate-header{min-height:76px}body .content>h1{max-width:100%;font-size:clamp(32px,8vw,48px)}}

body .studio :is(h1,h2,h3,h4){hyphens:none;word-break:normal;overflow-wrap:break-word}

/* Breadcrumb separators and labels share one baseline on wrapped lines. */
body .breadcrumbs{align-items:center;column-gap:8px;row-gap:0}

/* Informational service navigation and promised output use neutral surfaces;
   a precontract description does not represent a successful paid outcome. */
body .studio .content .page-jump a{background:var(--ak-panel);border-color:var(--ak-soft-rule);border-radius:var(--ak-radius);color:var(--ak-ink)}
body .studio .content .page-jump a:hover{background:var(--ak-signal-tint);border-color:var(--ak-rule);color:var(--ak-ink)}
body .studio .content .service-result{background:var(--ak-surface);border-radius:var(--ak-radius);border-color:var(--ak-rule)}

/* Intrinsic text growth must not overlap navigation or hide enlarged labels. */
body .corporate-header .studio-nav{flex-wrap:wrap}
body .corporate-header .studio-header-actions{flex-wrap:wrap;min-width:0}
body .corporate-section-label{min-width:0;max-width:none;overflow-wrap:break-word}
body .menu-head{flex-wrap:wrap}
body .menu-head .logo{min-width:0;max-width:100%;overflow-wrap:anywhere}
body .menu-links a{overflow-wrap:anywhere}
@media(max-width:767px){
 body .studio-header.corporate-header{display:flex;flex-wrap:wrap}
 body .corporate-header .studio-header-brand{flex:1 0 auto;max-width:100%}
 body .corporate-header .studio-header-actions{flex:0 0 auto;max-width:100%;margin-left:auto}
 body .menu-overlay{padding-top:max(104px,6em)}
}

body .studio :is(h1,h2,h3,h4){width:100%;min-width:0}
body .studio .ecosystem-entry h3 a{min-width:0;overflow-wrap:anywhere}
/* Enlarged text must remain in the actual footer/nav/control surface too. */
body .corporate-section-nav{flex-wrap:wrap}
body .corporate-section-links{flex:1 1 20em;flex-wrap:wrap;overflow:visible}
body .corporate-section-nav a{max-width:100%;white-space:normal;overflow-wrap:break-word}
body .portal-footer .footer-intro>*{min-width:0;max-width:100%}
body .portal-footer .footer-brand{overflow-wrap:anywhere}
body .portal-footer .footer-groups nav{min-width:0}
body .portal-footer .footer-groups a{max-width:100%;overflow-wrap:anywhere}
body .studio .agency-submit .cta{max-width:100%;white-space:normal;flex-wrap:wrap;overflow-wrap:break-word}
@media(max-width:767px){body .portal-footer .footer-groups{grid-template-columns:repeat(auto-fit,minmax(min(100%,12em),1fr))}}

/* Mobile: section navigation as a single scrollable row */
@media(max-width:767px){
 body .corporate-section-nav{flex-wrap:nowrap;overflow-x:auto;gap:18px;min-height:46px;padding:0 var(--studio-gutter);scrollbar-width:none;-ms-overflow-style:none}
 body .corporate-section-nav::-webkit-scrollbar{display:none}
 body .corporate-section-label{display:none}
 body .corporate-section-nav .corporate-section-links{display:flex;gap:18px;flex-wrap:nowrap;align-items:center}
 body .corporate-section-nav a{min-height:46px;font-size:13px;white-space:nowrap;flex:none}
}
