/* Shared chapter/message hierarchy approved on UX Sprint. */
body.service-panel{--sprint-heading-en:clamp(35px,4.583333vw,66px);--sprint-heading-ja:clamp(28px,3.055556vw,44px);--sprint-heading-subtitle:24px;--sprint-heading-label:12px;--sprint-heading-gap:24px;--panel-gutter:2.222222vw}
body.service-panel main .sec-head{text-align:left!important}
body.service-panel main [data-sprint-heading] [data-heading-language="en"]{font-size:var(--sprint-heading-en)!important;font-weight:400;line-height:1.05!important;margin:0 0 var(--sprint-heading-gap);letter-spacing:-.035em}
body.service-panel main [data-sprint-heading] [data-heading-language="ja"]{font-size:var(--sprint-heading-subtitle)!important;line-height:1.4!important;margin:0;font-weight:500}
body.service-panel main [data-sprint-heading="message"] [data-heading-language="en"]{font-size:var(--sprint-heading-label)!important;line-height:1.3!important;letter-spacing:0}
body.service-panel main [data-sprint-heading="message"] [data-heading-language="ja"]{font-size:var(--sprint-heading-ja)!important}
body.service-panel main .sec-head>p:not([data-heading-language]){margin-top:var(--sprint-heading-gap)}
/* Keep one background for the entire open FAQ item. */
body.service-panel #faq{background:#3c3c3c;color:var(--on-dark);--border:rgba(245,245,246,.35)}
body.service-panel #faq .faq-item{transition:background-color .5s ease}
body.service-panel #faq .faq-q{background:transparent;color:inherit;transition:background-color .5s ease}
body.service-panel #faq .faq-q:hover,body.service-panel #faq .faq-item[open]{background-color:rgba(var(--site-black-rgb), .12)}
body.service-panel #faq .faq-item[open] .faq-q{background:transparent}
body.service-panel #faq .faq-icon{width:20px;height:20px;flex-basis:20px;border:0}
/* Match Sprint's compact outline CTA and lingering underline. */
body.service-panel footer.preserved-footer .footer-guideline{width:260px;max-width:100%;min-height:54px;background:transparent;font-size:16px}
body.service-panel footer.preserved-footer .footer-grid a{opacity:1;text-decoration:none}
body.service-panel footer.preserved-footer .footer-link-label{padding-bottom:3px;background:linear-gradient(currentColor,currentColor) left bottom/0% 1px no-repeat;box-decoration-break:clone;-webkit-box-decoration-break:clone;transition:background-size .65s cubic-bezier(.16,1,.3,1)}
body.service-panel footer.preserved-footer .footer-grid a:is(:hover,:focus-visible) .footer-link-label{background-size:100% 1px}
body.service-panel .site-back-to-top{width:52px;height:52px;border-radius:0;background:var(--ink);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
body.service-panel .site-back-to-top svg{width:20px;height:20px}
body.service-panel .site-back-to-top svg path{stroke-width:1.1;stroke-linecap:square;stroke-linejoin:miter}
@media(max-width:680px){
 body.service-panel{--panel-gutter:20px;--sprint-heading-en:35px;--sprint-heading-ja:28px;--sprint-heading-subtitle:18px;--sprint-heading-label:11px;--sprint-heading-gap:20px}
 body.service-panel .site-back-to-top{width:46px;height:46px;right:16px;bottom:16px}
}
@media(prefers-reduced-motion:reduce){body.service-panel #faq :is(.faq-item,.faq-q,.faq-icon),body.service-panel footer.preserved-footer .footer-link-label{transition:none}}

body.service-panel #faq .faq-card{padding:0;border-top:1px solid var(--border)}
body.service-panel #faq .faq-item{border-bottom:1px solid var(--border)}
body.service-panel #faq .faq-q{padding:32px;gap:24px}
body.service-panel #faq .faq-a{padding:0 32px 32px}
body.service-panel #contact .cta-inner>[data-heading-language="en"]{font-size:12px!important;line-height:1.3!important;letter-spacing:0}
@media(max-width:680px){body.service-panel #faq .faq-q{padding:24px var(--panel-gutter)}body.service-panel #faq .faq-a{padding:0 var(--panel-gutter) 24px}}

/* Full spatial adaptation: one edge, one rule, and open numbered rows. */
body.editorial-site.service-panel[data-site-page]{--panel-gutter:2.222222vw;--panel-cell:2.222222vw;--panel-section:120px;--border:#8a8f95;--dark-line:#8a8f95;--service-process-surface:var(--site-black);--panel-dark-surface:var(--site-black);--panel-cta-image:url('/assets/images/backgrounds/ux-sprint-cta-architecture.jpg')}
body.editorial-site.service-panel[data-site-page] main .sec-head{padding:120px var(--panel-gutter) 56px}
body.editorial-site.service-panel[data-site-page] main #about>.wrap>.sec-head{padding-top:120px}
body.editorial-site.service-panel[data-site-page] main [data-sprint-heading] [data-heading-language="ja"]{max-width:none}
/* Photo and information panel retain service copy, using Sprint's scale and plain edge. */
body.editorial-site.service-panel[data-site-page] :is(.service-wordmark,.hero-headline-en){font-size:clamp(48px,5.555556vw,80px);font-weight:500;line-height:1.05;letter-spacing:-.045em}
body.editorial-site.service-panel[data-site-page] .service-wordmark>span{display:inline;margin-right:.18em}
body.editorial-site.service-panel[data-site-page] .editorial-hero-panel{width:46%;min-width:520px;border:0;padding:32px;background:rgba(var(--site-black-rgb), .68);clip-path:none}
body.editorial-site.service-panel[data-site-page] .editorial-hero-panel h1{font-size:clamp(26px,2.222222vw,32px);line-height:1.4}
body.editorial-site.service-panel[data-site-page] .editorial-hero-panel .hero-cta{gap:12px}
body.editorial-site.service-panel[data-site-page] .editorial-hero-panel .panel-split-button{min-width:0;flex:1}
/* Challenge heading spans the page, with a balanced photo / ruled row split. */
body.editorial-site.service-panel[data-site-page] #challenge>.wrap{display:block}
body.editorial-site.service-panel[data-site-page] #challenge .challenge-stage{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--dark-line)}
body.editorial-site.service-panel[data-site-page] #challenge .challenge-main{display:block;position:relative;top:auto;height:auto;min-height:0}
body.editorial-site.service-panel[data-site-page] #challenge .challenge-photo{width:auto;max-width:none;height:100%;min-height:420px;aspect-ratio:auto;margin:0;padding:var(--panel-gutter);box-sizing:border-box}
body.editorial-site.service-panel[data-site-page] #challenge .challenge-photo :is(img,.photo-crop){position:static;width:100%;height:100%;object-fit:cover}
body.editorial-site.service-panel[data-site-page] #challenge :is(.prob-cards,.challenge-grid){grid-column:2;grid-row:1;display:block;padding:0;gap:0;border:0;border-left:1px solid var(--dark-line);counter-reset:none}
body.editorial-site.service-panel[data-site-page] #challenge :is(.prob-card,.challenge-card){display:grid;grid-template-columns:36px 88px minmax(0,1fr);align-items:start;align-content:center;gap:16px 24px;min-height:170px;aspect-ratio:auto;padding:32px var(--panel-gutter);border:0;border-bottom:1px solid var(--dark-line);background:transparent}
body.editorial-site.service-panel[data-site-page] #challenge :is(.prob-card,.challenge-card):last-child{border-bottom:0}
body.editorial-site.service-panel[data-site-page] #challenge .prob-card::before{content:none}
body.editorial-site.service-panel[data-site-page] #challenge .sprint-problem-icon{grid-column:2;grid-row:1;width:88px;height:88px;aspect-ratio:1;overflow:visible;margin:0;padding:0;background:transparent}
.sprint-problem-icon svg{display:block;width:100%;height:100%}
.sprint-problem-icon svg *{vector-effect:non-scaling-stroke}
.sprint-problem-icon .signal{stroke:var(--accent)}
body.editorial-site.service-panel[data-site-page] #challenge :is(.prob-card-txt,.challenge-card h3){grid-column:3;grid-row:1;font-size:20px;line-height:1.65;margin:0;font-weight:400}
body.editorial-site.service-panel[data-site-page] #challenge .prob-card-em{font-size:inherit;font-weight:500}
body.editorial-site.service-panel[data-site-page] #challenge .ch-cause{grid-column:3;padding:0;border:0}
body.editorial-site.service-panel[data-site-page] #challenge .ch-cause-text{font-size:14px;color:#c2c6cd}
.sprint-problem-icon.sprint-row-visible svg{animation:sprint-icon-enter 1s ease both}
@keyframes sprint-icon-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
/* Evidence is a continuous two-column grid with a single central rule. */
body.editorial-site.service-panel[data-site-page] #cases .case-grid{gap:0;padding:0 var(--panel-gutter) 80px;border-top:1px solid var(--border)}
body.editorial-site.service-panel[data-site-page] #cases .case{padding:28px 28px 0 0;border-bottom:0}
body.editorial-site.service-panel[data-site-page] #cases .case:nth-child(even){padding:28px 0 0 28px;border-left:1px solid var(--border)}
body.editorial-site.service-panel[data-site-page] #cases .case-photo{aspect-ratio:1.65}
body.editorial-site.service-panel[data-site-page] #cases .co{display:block;padding:24px;background:#eef0f1;border:0;margin-top:28px}
body.editorial-site.service-panel[data-site-page] #cases .cok{display:block;margin-bottom:12px;font-size:12px;color:var(--accent)}
/* Centered contact composition and a deeper background parallax. */
body.editorial-site.service-panel[data-site-page] .cta#contact::before{inset:-140px 0;background-position:center;background-size:cover;transform:translateY(var(--sprint-contact-y,0px));will-change:transform}
body.editorial-site.service-panel[data-site-page] .cta#contact::after{background:rgba(var(--site-black-rgb), .12)}
body.editorial-site.service-panel[data-site-page] .cta#contact .cta-inner{min-height:0;padding:120px var(--panel-gutter);align-items:center;text-align:center;gap:32px}
body.editorial-site.service-panel[data-site-page] .cta#contact h2{font-size:36px;line-height:1.5}
body.editorial-site.service-panel[data-site-page] .cta#contact .cta-brand--logo{display:inline-flex;vertical-align:bottom;margin-right:.3em}
body.editorial-site.service-panel[data-site-page] .cta#contact .cta-brand--logo img{height:1.5em}
body.editorial-site.service-panel[data-site-page] .cta#contact .cta-btns{justify-content:center;margin-top:8px}
body.editorial-site.service-panel[data-site-page] :is(#faq,#flow) .sec-head{padding-top:80px}
body.editorial-site.service-panel[data-site-page] #faq{padding-block:0 120px;border-top:0}
body.editorial-site.service-panel[data-site-page] #faq .faq-card{margin-top:80px}
.sprint-service-marquee{overflow:hidden;background:#e2e4e6;color:var(--site-black);border-block:1px solid #8a8f95;padding-block:20px}
.sprint-marquee-track{display:flex;width:max-content;animation:sprint-marquee 32s linear infinite}
.sprint-marquee-track>div{display:flex;flex-shrink:0}
.sprint-marquee-track span{white-space:nowrap;padding-right:80px;font:400 clamp(30px,3.333333vw,48px)/1.3 var(--site-font-latin);letter-spacing:-.035em}
@keyframes sprint-marquee{to{transform:translateX(-50%)}}
@media(max-width:980px){
 body.editorial-site.service-panel[data-site-page] #challenge :is(.prob-card,.challenge-card){grid-template-columns:28px 64px minmax(0,1fr);gap:16px;min-height:170px}
 body.editorial-site.service-panel[data-site-page] #challenge .sprint-problem-icon{width:64px;height:64px}
 body.editorial-site.service-panel[data-site-page] #challenge :is(.prob-card-txt,.challenge-card h3){font-size:18px}
 body.editorial-site.service-panel[data-site-page] .editorial-hero-panel{width:70%;min-width:0}
}
@media(max-width:680px){
 body.editorial-site.service-panel[data-site-page]{--panel-gutter:20px;--panel-cell:20px;--panel-section:80px}
 body.editorial-site.service-panel[data-site-page] main .sec-head{padding:80px var(--panel-gutter) 40px}
 body.editorial-site.service-panel[data-site-page] main #about>.wrap>.sec-head{padding-top:80px}
 body.editorial-site.service-panel[data-site-page] :is(.service-wordmark,.hero-headline-en){font-size:clamp(38px,9vw,56px)}
 body.editorial-site.service-panel[data-site-page] .editorial-hero-panel{width:100%;padding:24px 20px}
 body.editorial-site.service-panel[data-site-page] #challenge .challenge-stage{grid-template-columns:1fr}
 body.editorial-site.service-panel[data-site-page] #challenge .challenge-photo{min-height:0;height:260px}
 body.editorial-site.service-panel[data-site-page] #challenge :is(.prob-cards,.challenge-grid){grid-column:1;grid-row:2;border-left:0;border-top:1px solid var(--dark-line)}
 body.editorial-site.service-panel[data-site-page] #challenge :is(.prob-card,.challenge-card){padding:28px var(--panel-gutter);min-height:0;grid-template-columns:24px 56px minmax(0,1fr);gap:12px}
 body.editorial-site.service-panel[data-site-page] #challenge .sprint-problem-icon{width:56px;height:56px}
 body.editorial-site.service-panel[data-site-page] #challenge :is(.prob-card-txt,.challenge-card h3){font-size:17px}
 body.editorial-site.service-panel[data-site-page] #cases .case-grid{grid-template-columns:1fr;padding:0 var(--panel-gutter) 56px}
 body.editorial-site.service-panel[data-site-page] #cases .case,body.editorial-site.service-panel[data-site-page] #cases .case:nth-child(even){padding:24px 0;border-left:0;border-bottom:1px solid var(--border)}
 body.editorial-site.service-panel[data-site-page] .cta#contact .cta-inner{padding:80px var(--panel-gutter)}
 body.editorial-site.service-panel[data-site-page] .cta#contact h2{font-size:28px}
 body.editorial-site.service-panel[data-site-page] .cta#contact .cta-btns{flex-direction:column;width:100%}
 body.editorial-site.service-panel[data-site-page] :is(#faq,#flow) .sec-head{padding-top:56px}
 body.editorial-site.service-panel[data-site-page] #faq{padding-bottom:80px}
 body.editorial-site.service-panel[data-site-page] #faq .faq-card{margin-top:0}
 .sprint-service-marquee{padding-block:16px}.sprint-marquee-track span{padding-right:48px}
}
@media(prefers-reduced-motion:reduce){.sprint-marquee-track,.sprint-problem-icon.sprint-row-visible svg{animation:none}body.editorial-site.service-panel[data-site-page] .cta#contact::before{transform:none;will-change:auto}}
@media(min-width:681px){
 body.editorial-site.service-panel[data-site-page] #challenge .challenge-main{position:sticky;top:var(--header-h);align-self:start;height:calc(100svh - var(--header-h))}
 body.editorial-site.service-panel[data-site-page] #challenge .challenge-photo{height:100%;min-height:0}
}
/* Sprint indexes are small, quiet, and parenthesized. */
body.editorial-site.service-panel[data-site-page] #solutions .sol{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,2fr);gap:24px;padding-block:40px;color:inherit}
body.editorial-site.service-panel[data-site-page] #solutions .sol::before{content:'(' counter(service-solution,decimal-leading-zero) ')';font-size:14px;line-height:1.5;color:inherit}
body.editorial-site.service-panel[data-site-page] :is(.layer .ln,.about-step-num,.ms-dot,.why-num,.training-panel-index){font-size:14px;line-height:1.5;color:inherit}
body.editorial-site.service-panel[data-site-page] :is(.layer .ln,.about-step-num,.why-num)::before{content:'('}
body.editorial-site.service-panel[data-site-page] :is(.layer .ln,.about-step-num,.why-num)::after{content:')'}
@media(max-width:680px){body.editorial-site.service-panel[data-site-page] #solutions .sol{grid-template-columns:28px minmax(0,1fr);gap:16px;padding:32px var(--panel-gutter)}body.editorial-site.service-panel[data-site-page] #solutions .sol>:is(h3,.sk,p,.sol-list,.sol-btn){grid-column:2}}
/* Mid-page conversion uses Sprint's centered architectural image. */
body.editorial-site.service-panel[data-site-page] .midcta{padding-block:80px;background:var(--site-black);border:0}
body.editorial-site.service-panel[data-site-page] .midcta::before,body.editorial-site.service-panel[data-site-page] .midcta::after{content:none}
/* Resolve the legacy heading-size bridge for the first view and contact. */
body.editorial-site.service-panel[data-site-page] main :is(.service-wordmark,.hero-headline-en)[data-heading-language="en"]{font-size:clamp(48px,5.555556vw,80px)!important}
body.editorial-site.service-panel[data-site-page] main .editorial-hero-panel h1[data-heading-language="ja"]{font-size:clamp(26px,2.222222vw,32px)!important}
body.editorial-site.service-panel[data-site-page] .cta#contact{--panel-cta-image:none}
body.editorial-site.service-panel[data-site-page] .cta#contact h2[data-heading-language="ja"]{font-size:40px!important;text-align:center;line-height:1.4!important}
body.editorial-site.service-panel[data-site-page] .midcta .cta-inner{display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;isolation:isolate;overflow:hidden;padding:64px var(--panel-gutter);border:0;background:var(--site-black)}
body.editorial-site.service-panel[data-site-page] .midcta .cta-inner::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(rgba(60,60,60,.5),rgba(60,60,60,.5)),var(--service-midcta-image) center/cover no-repeat}
body.editorial-site.service-panel[data-site-page] .midcta .cta-logo img{width:180px}
body.editorial-site.service-panel[data-site-page] .midcta .cta-inner>p{font-size:30px}
body.editorial-site.service-panel[data-site-page] .midcta .cta-btns{justify-content:center}
@media(max-width:680px){
 body.editorial-site.service-panel[data-site-page] main :is(.service-wordmark,.hero-headline-en)[data-heading-language="en"]{font-size:clamp(38px,9vw,56px)!important}
 body.editorial-site.service-panel[data-site-page] main .editorial-hero-panel h1[data-heading-language="ja"]{font-size:26px!important}
 body.editorial-site.service-panel[data-site-page] .cta#contact h2[data-heading-language="ja"]{font-size:28px!important}
 body.editorial-site.service-panel[data-site-page] .midcta .cta-inner{padding:48px var(--panel-gutter)}
 body.editorial-site.service-panel[data-site-page] .midcta .cta-inner>p{font-size:24px}
}
/* White consultation cards, including labels and consent content on dark sections. */
body.editorial-site.service-panel[data-site-page] main :is(#diagnosis,#contact,#consult) .cform{background:#fff;color:var(--site-black);color-scheme:light;border:1px solid #8a8f95;padding:32px;box-shadow:none}
body.editorial-site.service-panel[data-site-page] main :is(#diagnosis,#contact,#consult) .cform :is(h3,h4,label,.hs-form-booleancheckbox-display,.hs-richtext,.hs-richtext p,.hs-richtext a,.submitted-message,.form-fallback){color:var(--site-black)}
body.editorial-site.service-panel[data-site-page] main :is(#diagnosis,#contact,#consult) .cform .hs-input:not([type=checkbox]):not([type=radio]){min-height:48px!important;padding:12px 16px!important;border:1px solid #8a8f95!important;border-radius:0!important;background:#fff!important;color:var(--site-black)!important;font-size:16px!important;line-height:1.5!important}
body.editorial-site.service-panel[data-site-page] main :is(#diagnosis,#contact,#consult) .cform textarea.hs-input{min-height:128px!important}
body.editorial-site.service-panel[data-site-page] main :is(#diagnosis,#contact,#consult) .cform .hs-input::placeholder{color:var(--form-placeholder-color, #767676);opacity:1}
body.editorial-site.service-panel[data-site-page] main :is(#diagnosis,#contact,#consult) .cform .hs-input option{background:#fff;color:var(--site-black)}
body.editorial-site.service-panel[data-site-page] main :is(#diagnosis,#contact,#consult) .cform :is(.hs-button,input[type=submit]){background:#bf012d!important;color:#f5f5f6!important;width:100%!important;border-radius:0!important}
body.editorial-site.service-panel[data-site-page] main :is(#diagnosis,#contact,#consult) .cform :is(.hs-button,input[type=submit]):hover{background:var(--site-black)!important}
body.editorial-site.service-panel[data-site-page] main :is(#diagnosis,#contact,#consult) .cform .hs-error-msg{color:#bf012d}
/* Shared heading bands are defined in site-headings.css. */
body.editorial-site.service-panel[data-site-page] .hero-copy{animation:none}
body.editorial-site.service-panel[data-site-page] .service-reveal-item,body.editorial-site.service-panel[data-site-page] .editorial-reveal{transform:none;transition:opacity .8s ease;clip-path:none}
body.editorial-site.service-panel[data-site-page] .sprint-problem-icon.sprint-row-visible svg{animation-duration:2s}
@media(prefers-reduced-motion:no-preference){
 body.editorial-site.service-panel[data-site-page] .editorial-hero-panel.editorial-reveal{clip-path:inset(0 100% 0 0);transition:clip-path 1s cubic-bezier(.53,0,0,1) .6s}
 body.editorial-site.service-panel[data-site-page] .editorial-hero-panel.editorial-visible{clip-path:inset(0)}
}
body.editorial-site.service-panel[data-site-page] .midcta .cta-inner::before{inset:-100px 0;transform:translateY(var(--sprint-contact-y,0px));will-change:transform}
body.editorial-site.service-panel[data-site-page] .sprint-parallax-hero{transform:translateY(var(--sprint-hero-y,0px));will-change:transform}
/* Keep the image covering the hero throughout its 100px parallax travel. */
body.editorial-site.service-panel[data-site-page] .hero-fig.sprint-parallax-hero{inset:-100px 0;height:calc(100% + 200px)}
@media(max-width:680px){body.editorial-site.service-panel[data-site-page] main :is(#diagnosis,#contact,#consult) .cform{padding:24px 16px}}
@media(prefers-reduced-motion:reduce){body.editorial-site.service-panel[data-site-page] :is(.midcta .cta-inner::before,.sprint-parallax-hero){transform:none;will-change:auto}}
/* Match Sprint's first-view type palette on both service hero layouts. */
body.editorial-site.service-panel[data-site-page] :is(.hero,.hero-training){color:#f5f5f6}
body.editorial-site.service-panel[data-site-page] :is(.hero,.hero-training) :is(.service-wordmark,.hero-headline-en,h1,h2,.hero-label,.hero-kicker,.hero-eyebrow,.hero-crumb,.crumb,.hero-scroll-cue){color:#f5f5f6!important}
body.editorial-site.service-panel[data-site-page] :is(.hero,.hero-training) :is(.service-wordmark,.hero-headline-en,h1,h2,.hero-label,.hero-kicker,.hero-eyebrow,.hero-crumb,.crumb,.hero-scroll-cue) :is(span,a,b,em,strong){color:inherit!important}
body.editorial-site.service-panel[data-site-page] :is(.hero,.hero-training) :is(.sub,.hero-lead>p,.workshop-hero-facts){color:#d9dbde!important}
body.editorial-site.service-panel[data-site-page] :is(.hero,.hero-training) :is(.sub,.hero-lead>p,.workshop-hero-facts) :is(span,b,em,strong){color:inherit!important}

/* Match Sprint's staggered icon part entrance. */
[data-problem-icon] .problem-motion-part {
  transform-box: fill-box;
  transform-origin: center;
  animation: infra-problem-part 2s var(--part-delay, 0s) both;
  animation-play-state: paused;
}
[data-problem-icon].sprint-row-visible .problem-motion-part { animation-play-state: running; }
@keyframes infra-problem-part {
  0% { opacity: 0; transform: translateY(10px) scale(0); }
  30%,100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-problem-icon] .problem-motion-part { animation: none; opacity: 1; transform: none; }
}

/* First-view content shares Sprint's bottom inset and fits the viewport. */
body.editorial-site.service-panel[data-site-page] :is(.hero,.hero-training) {
  min-height: 100svh;
  height: auto;
}
body.editorial-site.service-panel[data-site-page] :is(.hero-grid,.hero-training-grid) {
  min-height: 100svh;
  height: auto;
}
body.editorial-site.service-panel[data-site-page] .hero-grid,
body.editorial-site.service-panel[data-site-page] .hero-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  height: auto;
  padding: 112px var(--panel-gutter) var(--panel-gutter);
  box-sizing: border-box;
}
body.editorial-site.service-panel[data-site-page] :is(.hero-copy,.hero-top-row) {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}
body.editorial-site.service-panel[data-site-page] :is(.hero-label,.hero-eyebrow) {
  margin: 0 0 20px;
}
body.editorial-site.service-panel[data-site-page] :is(.service-wordmark,.hero-headline-en) {
  min-height: 0;
  height: auto;
  margin: 0;
  line-height: 1.05;
}
body.editorial-site.service-panel[data-site-page] .service-wordmark .heading-band-content > span,
body.editorial-site.service-panel[data-site-page] .hero-headline-line {
  display: inline;
  margin-right: .18em;
}
body.editorial-site.service-panel[data-site-page] .editorial-hero-panel {
  width: min(100%,556px);
  min-width: 0;
  margin: 36px 0 0;
  flex: none;
}
body.editorial-site.service-panel[data-site-page] .editorial-hero-panel .hero-desc {
  margin-top: 24px;
  line-height: 1.7;
}
body.editorial-site.service-panel[data-site-page] .editorial-hero-panel .hero-desc .br-pc { display: none; }
@media (max-width: 680px) {
  body.editorial-site.service-panel[data-site-page] .hero-grid,
  body.editorial-site.service-panel[data-site-page] .hero-main { padding: 100px 20px 20px; }
  body.editorial-site.service-panel[data-site-page] .editorial-hero-panel { margin-top: 24px; }
  body.editorial-site.service-panel[data-site-page] :is(.service-wordmark,.hero-headline-en) { overflow-wrap: normal; }
}
body.editorial-site.service-panel[data-site-page] .hero-grid > .hero-copy { display: contents; }
body.editorial-site.service-panel[data-site-page] .hero-grid .hero-label { order: 0; }
body.editorial-site.service-panel[data-site-page] .hero-grid .service-wordmark { order: 1; }
body.editorial-site.service-panel[data-site-page] .hero-grid .editorial-hero-panel { order: 2; align-self: flex-start; }
body.editorial-site.service-panel[data-site-page] .hero-top-row { translate: none; }

/* Shared photographic CTA backgrounds. */
body[data-site-page="ai-agent-infrastructure"]{--service-midcta-image:url('/assets/images/backgrounds/ux-sprint-cta-architecture.jpg')}
body[data-site-page="internalization"]{--service-midcta-image:url('/assets/images/backgrounds/ux-sprint-cta-architecture.jpg')}
