/* cm-semantic-heading-selectors-v1 */

/* CREAID MOTION V3 — Clear hierarchy + motion without compromising readability. */
:root{--site-narrow:1480px;--motion-ease:cubic-bezier(.22,1,.36,1)}
/* Story: one statement, one description, one visual. Extra labels removed from the scene. */
.service-story .section-number,.service-story .story-meta,.service-story .stage-steps{display:none!important}
.service-story .web-topline{top:calc(var(--header-height) + 19px);left:max(24px,4.4vw);right:max(24px,4.4vw);pointer-events:none}
.service-story .web-columns{padding-top:calc(var(--header-height) + 57px);padding-bottom:80px;gap:clamp(28px,4vw,72px);align-items:center;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)}
.service-story .copy-area{height:auto;max-height:none;min-width:0;justify-content:center;display:block}
.service-story .scene-stack{height:clamp(300px,39svh,385px);min-width:0}
.service-story .scene-copy{top:0;left:0;right:0;max-width:100%;will-change:transform,opacity}
.service-story .copy-area :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){font-size:clamp(44px,4.7vw,76px);line-height:1;max-width:540px;overflow-wrap:normal;hyphens:none}
.service-story .scene-kicker{font-size:10px;line-height:1.4;margin-bottom:17px}
.service-story .scene-copy p{margin-top:22px;font-size:clamp(15px,1.22vw,18px);max-width:370px;line-height:1.58}
.service-story .web-bottom{bottom:28px}
.service-story .progress-wrap{max-width:405px}
/* Gentle pointer-responsive light, never obscures text. */
.page-top,.service-detail,.service-closing,.service-story .web-pin{--mx:50%;--my:50%;isolation:isolate}
.page-top::after,.service-detail::after,.service-closing::after,.service-story .web-pin::after{content:"";pointer-events:none;position:absolute;inset:0;z-index:0;background:radial-gradient(430px circle at var(--mx) var(--my),rgba(250,34,91,.080),transparent 75%);opacity:0;transition:opacity .35s ease}
@media (hover:hover) and (pointer:fine) { .page-top:hover::after,.service-detail:hover::after,.service-closing:hover::after,.service-story .web-pin:hover::after{opacity:1} }
.page-top .service-hero-inner,.service-detail .container,.service-closing .container{position:relative;z-index:2}
.service-story .web-pin::after{z-index:0}
/* Detail chapter: a visually separate 100vh experience, allowed to grow on small devices. */
.service-detail{min-height:100svh;display:flex;align-items:center;position:relative;overflow:hidden;padding:clamp(65px,9vh,118px) 0;background:#f4f2ee}
.service-detail .container{position:relative;width:min(1480px,calc(100% - 112px));z-index:3}
.service-detail::before{content:"+";position:absolute;right:1vw;top:11%;font:200 clamp(110px,22vw,320px)/1 var(--font-body);color:rgba(250,34,91,.055);pointer-events:none;transform:translateY(var(--detail-drift,0px)) rotate(-12deg)}
.detail-top{margin-bottom:clamp(28px,5vh,56px)}
.detail-top :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){max-width:780px}
.detail-grid{position:relative}
.detail-card{position:relative;will-change:transform,opacity;transition:background .25s ease;border-top:2px solid transparent}
.detail-card:hover{background:#fff;border-color:var(--pink)}
.detail-card h3{font-size:clamp(25px,2.22vw,35px)}
.detail-card p{max-width:340px}
.detail-actions{margin-top:26px}
/* Reveal words are retained in real HTML text and the headings remain semantic. */
.motion-word{display:inline-block;will-change:transform,opacity}
.motion-ready .detail-kicker,.motion-ready .detail-top>p,.motion-ready .detail-actions{will-change:opacity,transform}
/* Final CTA is another full-screen chapter, not an ordinary static footer. */
.service-closing{min-height:100svh;display:flex;flex-direction:column;position:relative;overflow:hidden;padding:clamp(65px,8vh,105px) 0 35px;background:radial-gradient(ellipse at 78% 38%,rgba(94,19,48,.13),transparent 55%),#17181a}
.service-closing::before{content:"";position:absolute;width:min(58vw,720px);aspect-ratio:1;right:-15%;top:2%;border:1px solid rgba(250,34,91,.13);border-radius:50%;box-shadow:0 0 0 90px rgba(250,34,91,.018),0 0 0 190px rgba(250,34,91,.010);pointer-events:none;transform:translate3d(0,var(--closing-drift,0px),0)}
.service-closing .container{flex:1;display:flex;flex-direction:column;justify-content:space-between;position:relative;z-index:3}
.service-closing-inner{flex:1;min-height:clamp(390px,65svh,820px);align-items:center;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.65fr);gap:clamp(28px,5vw,90px);padding-bottom:clamp(35px,5vh,90px)}
.service-closing-inner :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){font-size:clamp(54px,6.4vw,104px);line-height:.99;max-width:880px}
.service-closing-inner .right{align-self:center;max-width:410px;margin-left:auto}
.service-closing .cta{transition:transform .3s var(--motion-ease),box-shadow .3s var(--motion-ease)}
.service-closing .cta:hover{transform:translateY(-6px);box-shadow:0 14px 40px rgba(250,34,91,.22)}
.service-closing .cta span{display:inline-block;transition:transform .3s var(--motion-ease)}
.service-closing .cta:hover span{transform:translate(4px,-4px)}
.service-closing .footer{margin-top:auto}
/* Breakpoints; clarity before effects. */
@media(max-width:1080px){.service-story .web-columns{padding-left:5vw;padding-right:5vw;gap:3vw}.service-detail .container{width:calc(100% - 68px)}.service-story .copy-area :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){font-size:clamp(41px,5vw,66px)} }
@media(max-width:900px){
 .service-story .web-topline{top:calc(var(--header-height) + 12px);left:6vw;right:6vw}
 .service-story .web-columns{display:flex;flex-direction:column;justify-content:space-between;gap:12px;padding:calc(var(--header-height) + 55px) 7vw 77px}
 .service-story .copy-area{height:auto;flex:none;width:100%}
 .service-story .scene-stack{height:clamp(165px,27svh,210px)}
 .service-story .copy-area :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){font-size:clamp(40px,6.6vw,65px);line-height:.98;max-width:650px}
 .service-story .scene-kicker{margin-bottom:10px}
 .service-story .scene-copy p{font-size:14px;line-height:1.45;margin-top:12px;max-width:580px}
 .service-story .visual-stage{height:min(45svh,400px);min-height:180px;align-self:center;flex:0 0 auto}
 .detail-top{grid-template-columns:1fr;gap:13px}
 .detail-grid{grid-template-columns:1fr}
 .detail-card{min-height:125px;padding:20px 24px}
 .detail-card h3{margin:14px 0 9px}
 .service-closing-inner{grid-template-columns:1fr;gap:15px;align-content:center;min-height:66svh}
 .service-closing-inner .right{max-width:560px;margin:0}
}
@media(max-width:560px){
 .service-story .web-columns{padding:calc(var(--header-height) + 48px) 20px 70px;gap:12px;justify-content:flex-start}
 .service-story .scene-stack{height:clamp(150px,24svh,202px)}
 .service-story .copy-area :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){font-size:clamp(37px,10vw,50px);line-height:1.01;letter-spacing:-.065em}
 .service-story .copy-area :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)) em{font-size:.76em}
 .service-story .scene-kicker{margin-bottom:7px;font-size:9px}
 .service-story .scene-copy p{font-size:13px;line-height:1.42;margin-top:9px;max-width:330px}
 .service-story .visual-stage{margin-top:7px;height:min(37svh,315px);min-height:152px}
 .service-story .web-bottom{bottom:12px}
 .service-detail{padding:60px 0 65px;min-height:100svh;align-items:center}
 .service-detail .container{width:calc(100% - 40px)}
 .detail-top{gap:8px;margin-bottom:26px}
 .detail-top :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){font-size:clamp(39px,10.4vw,48px)}
 .detail-top p{font-size:13px}
 .detail-card{min-height:115px;padding:18px 20px}
 .detail-card h3{font-size:25px;margin:11px 0 8px}
 .detail-card p{font-size:13px;line-height:1.45}
 .detail-actions{margin-top:22px;gap:16px}
 .service-closing{padding:65px 0 30px}
 .service-closing-inner{min-height:66svh;align-content:center}
 .service-closing-inner :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){font-size:clamp(43px,11.2vw,61px)}
 .service-closing .right p{font-size:14px;line-height:1.6}
}
@media(max-width:560px) and (max-height:730px){
 .service-story .web-columns{padding-top:calc(var(--header-height) + 38px);padding-bottom:56px;gap:0}
 .service-story .scene-stack{height:clamp(138px,23svh,155px)}
 .service-story .copy-area :is(h2:not(:where(.cm-semantic-heading)),:where(.cm-claim-h2)){font-size:clamp(36px,9.6vw,45px)}
 .service-story .visual-stage{height:min(33svh,250px);min-height:150px;margin-top:5px}
 .service-story .web-bottom{bottom:8px}
 .service-story .next-cta-icon{height:31px;width:31px}
 .detail-card{padding:14px 19px}
 .detail-card h3{margin:8px 0 7px;font-size:24px}
 .service-detail{padding:45px 0}
}
@media(prefers-reduced-motion:reduce){
 .motion-word{opacity:1!important;transform:none!important}
 .detail-card,.detail-top>* , .detail-actions,.service-closing-inner>* ,.service-closing .footer{opacity:1!important;transform:none!important}
 .page-top::after,.service-detail::after,.service-closing::after,.service-story .web-pin::after{display:none}
}

/* Keep section intros clear of the sticky site header on narrow displays. */
@media(max-width:560px){.service-detail{padding-top:calc(var(--header-height) + 31px)}.service-detail .detail-kicker{padding-top:0}}
/* Keep the responsive website visible inside the small laptop even as it moves left. */
@media(max-width:560px){.webdesign-story .laptop{width:82%;left:9%}}
