/* Keep the three introductory paragraphs the same size on every viewport. */
body .hero-bottom p,
body .idea-copy > .shell > p{font-size:22px!important}
/* Homepage simplification: apply to both stored block content and the fallback. */
.home .idea-label,.home .process .step-number,.home .services>.eyebrow,.home .service-list .number{display:none}
.home .process .step-card{border-top:0;justify-content:flex-end}
.home .service-list article{grid-template-columns:1.25fr 1fr}
.home .contact>.eyebrow{font-family:var(--vrisak-font-body,golos-text,Arial,sans-serif);font-weight:400;font-size:clamp(22px,2vw,30px);line-height:1.35;letter-spacing:0;text-transform:none}
@media(max-width:700px){.home .service-list article{grid-template-columns:1fr}.home .service-list article h3,.home .service-list article p{grid-column:1}}
/* Homepage refinements, November 2026. */
.home .intro>.eyebrow,.home .idea-arrow{display:none}
.home .idea-copy>.shell{grid-template-columns:1fr;gap:24px}
.home .services-copy{row-gap:24px}
.home .services-copy>p,.home .services-copy>div{grid-column:2}
.home .services-copy>p{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;letter-spacing:0;color:inherit;max-width:none}
.home .stories .all-stories{display:flex;width:max-content;max-width:100%;margin-left:auto;margin-right:0}
@media(max-width:700px){.home .services-copy{grid-template-columns:1fr}.home .services-copy>p,.home .services-copy>div{grid-column:1}}
.home .stories .all-stories{display:flex;width:max-content;margin-left:auto}
@media(max-width:700px){.home .services-copy{grid-template-columns:1fr}.home .services-copy>p,.home .services-copy>div{grid-column:1}}
/* Intro on the right; services in columns over a centered typographic backdrop. */
@media(min-width:901px){
 .home .intro{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:0}
 .home .intro .intro-text{grid-column:2;text-align:left}
}
.home .services{display:grid;grid-template-columns:minmax(0,1fr)}
.home .services>h2{grid-column:1;grid-row:1}
.home .services>.services-copy{grid-column:1;grid-row:2}
.home .services>.service-list{grid-column:1;grid-row:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}
.home .service-list article{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:22px;padding-block:32px;border-bottom:0}
.home .service-list h3{font-size:clamp(23px,2.1vw,34px);line-height:1.15}
.home .service-list p{max-width:none}
.home .services>.services-backdrop{grid-column:1;grid-row:3;position:relative;inset:auto;align-self:center;justify-self:center;transform:none;z-index:0;margin:0}
@media(max-width:1000px){.home .services>.service-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
@media(max-width:600px){.home .services>.service-list{grid-template-columns:1fr;gap:0}.home .service-list article{gap:16px}}
/* Keep the backdrop anchored; start service columns halfway down its lettering. */
.home .services>.services-backdrop{align-self:start}
.home .services>.service-list{align-self:start;margin-top:calc(clamp(160px,25vw,490px) * .425)}
@media(max-width:700px){.home .services>.service-list{margin-top:12.325vw}}
/* Raise the services group together and tighten the transition to stories. */
.home .services>.services-copy{margin-bottom:30px}
.home .services{padding-bottom:45px}
.home .stories{padding-top:45px}
@media(max-width:700px){.home .services>.services-copy{margin-bottom:20px}.home .services{padding-bottom:25px}.home .stories{padding-top:30px}}
/* Align the idea copy with the process heading and crossfade the whole viewport. */
.home .idea-copy>.shell,.home .process.shell{width:calc(100% - var(--pad)*2);max-width:1800px;margin-inline:auto}
.home .idea-circle{inset:0;width:100%;height:100%;border-radius:0;transform:none;opacity:var(--idea-crossfade,0);background:var(--cyan);will-change:opacity}
.home .services>.services-copy{margin-bottom:0}
@media(prefers-reduced-motion:reduce){.home .idea-circle{display:none}.home .idea-stage{background:var(--cyan)}}
/* The second thought sits below the first; words follow the same scroll crossfade. */
.home .idea-stage{display:flex;flex-direction:column;justify-content:center;gap:clamp(24px,5vh,60px);padding:7vh var(--pad)}
.home .idea-before,.home .idea-after{position:relative;inset:auto;display:block;opacity:1;transform:none;background:none;margin:0;padding:0;z-index:2}
.home .idea-stage h2{font-size:clamp(46px,8vw,140px);line-height:.96}
.home .idea-out-word,.home .idea-word{display:inline-block;transition:none}
.home .idea-after .idea-word{opacity:0}
@media(prefers-reduced-motion:reduce){.home .idea-after .idea-word,.home .idea-out-word{opacity:1!important;transform:none!important}.home .idea-before,.home .idea-before .dot{color:var(--ink)}}
/* Let the idea scene scroll naturally; no sticky hold or extra scroll distance. */
.home .idea{height:auto}
.home .idea-stage{position:relative;top:auto;height:auto;min-height:100svh}
.home .idea-circle{transition:none}
@media(prefers-reduced-motion:reduce){.home .idea-stage{min-height:0}}
/* White idea/process chapter, followed by the original dark services chapter. */
.home .idea-circle{background:#fff}
.home .idea-after{color:var(--ink)}
.home .idea-after .dot{color:var(--ink)}
.home .idea-copy{background:#fff;color:var(--ink)}
.home .process{color:var(--ink);--muted:#554d60;--line:#0b001926}
.home .process::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);background:#fff;z-index:-2;pointer-events:none}
.home .process .step-card p{color:#554d60}
.home .process .step-accent p{color:var(--ink)}
.home .process>.process-backdrop{font-size:clamp(160px,25vw,490px);bottom:calc(-170px - clamp(160px,25vw,490px) * .425);color:var(--paper);z-index:0}
@media(prefers-reduced-motion:reduce){.home .idea-stage{background:#fff}}
@media(max-width:700px){.home .process>.process-backdrop{bottom:calc(-170px - clamp(160px,25vw,490px) * .425)}}
/* A 10% cyan tint on white for the idea/process chapter. */
.home{--idea-paper:#f1fcfc}
.home .idea-circle,.home .idea-copy{background:var(--idea-paper)}
.home .process::before{background:var(--idea-paper)}
@media(prefers-reduced-motion:reduce){.home .idea-stage{background:var(--idea-paper)}}
/* Center the supporting copy beneath “To je samo ideja”. */
.home .idea-copy>.shell{justify-items:center;text-align:center}
.home .idea-copy>.shell>p{width:100%;max-width:610px;margin-inline:auto}
/* Attach the explanation directly to the second headline. */
.home .idea-after .idea-support{font-family:var(--vrisak-font-body,golos-text,Arial,sans-serif);font-size:22px;line-height:1.4;letter-spacing:0;text-align:center;max-width:610px;margin:28px auto 0;color:var(--ink)}
/* Chantal Light from the owner's Adobe web project; a progressive ink reveal. */
.home .idea-after .idea-support{font-family:chantal,cursive;font-weight:300;font-size:clamp(27px,2.6vw,40px);line-height:1.4;max-width:760px}
.home .idea-support .ink-word{display:inline-block;white-space:nowrap}
.home .idea-support .ink-letter{display:inline-block;clip-path:inset(0 100% 0 0);padding-block:.1em;margin-block:-.1em}
@media(prefers-reduced-motion:reduce){.home .idea-support .ink-letter{clip-path:none!important}}
/* Use the actual Chantal face published in the Adobe web project. */
.home .idea-after .idea-support,.home .idea-after .idea-support span{font-family:chantal,sans-serif;font-weight:300;font-style:normal;font-synthesis:none}
/* Original handwritten artwork, isolated from the supplied photo. */
.home .idea-after .idea-handwriting{width:min(100%,850px);max-width:850px;margin:24px auto 0;font-family:inherit}
.home .idea-handwriting .handwriting-art{display:block;width:100%;height:auto;overflow:visible}
@media(max-width:600px){.home .idea-after .idea-handwriting{width:100%;margin-top:20px}}
/* Keep the process copy within the left 75% of each text tile. */
.home .process .step-card{padding-right:25%}
/* Keep each service column's copy within 75% of its width. */
.home .service-list article{padding-right:25%}
/* New supplied hero photograph; retain the existing animation layers. */
.home .hero-art{background-image:url('assets/hero-office-2027.png');background-position:center center}
/* Local experiment: original doodle straddles the light/dark process boundary. */
.home .process::after{content:"";position:absolute;left:50%;bottom:-8vw;width:100vw;height:45vw;max-height:760px;transform:translateX(-50%);background:linear-gradient(to bottom,var(--ink) 0 calc(100% - 8vw),var(--cyan) calc(100% - 8vw) 100%);-webkit-mask:url('assets/process-doodle.png') center bottom/contain no-repeat;mask:url('assets/process-doodle.png') center bottom/contain no-repeat;opacity:.32;pointer-events:none;z-index:0}
.home .process .step-card:not(.step-accent){background:var(--idea-paper);border-radius:25px}
.home .process>.process-mosaic{z-index:1}
@media(max-width:600px){.home .process::after{bottom:-12vw;height:65vw;width:125vw;background:linear-gradient(to bottom,var(--ink) 0 calc(100% - 12vw),var(--cyan) calc(100% - 12vw) 100%)}}
/* Full ink contrast on the light surface, matching process text. */
.home .process::after{opacity:1}
/* Doodle ink overlays photos while text cards stay in front. */
.home .process>.process-mosaic{z-index:auto}
.home .process::after{z-index:1}
.home .process .step-card{position:relative;z-index:2}
/* Doodle drawing uses the isolated original ink with shuffled stroke masks. */
.home .process::after{display:none}
.home .process>.process-doodle-art{position:absolute;left:50%;bottom:-8vw;width:100vw;height:45vw;max-height:760px;transform:translateX(-50%);pointer-events:none;overflow:visible;z-index:0}
@media(max-width:600px){.home .process>.process-doodle-art{bottom:-12vw;height:65vw;width:125vw}}
/* Single raster alpha mask per ink layer prevents SVG mask rectangles and halos. */
.home .process>.process-doodle-art{overflow:hidden}
.home .process-doodle-art>.doodle-ink-stroke{position:absolute;inset:0;display:block;background:linear-gradient(to bottom,var(--ink) 0 calc(100% - 8vw),var(--cyan) calc(100% - 8vw) 100%);-webkit-mask:url('assets/process-doodle.png') center bottom/contain no-repeat;mask:url('assets/process-doodle.png') center bottom/contain no-repeat;mask-mode:alpha;pointer-events:none}
@media(max-width:600px){.home .process-doodle-art>.doodle-ink-stroke{background:linear-gradient(to bottom,var(--ink) 0 calc(100% - 12vw),var(--cyan) calc(100% - 12vw) 100%)}}
/* One line-height throughout the agency introduction and supporting paragraphs. */
.home .services-copy p{line-height:1.5}
/* Contact prompt without the decorative leading dot. */
.home .contact>.eyebrow>i{display:none}
/* Compact idea transition on phones, sized by its content rather than the viewport. */
@media(max-width:600px){
 .home .idea-stage{min-height:0;padding:48px var(--pad) 40px;gap:24px}
 .home .idea-stage h2{font-size:clamp(40px,10vw,60px)}
 .home .idea-after .idea-handwriting{margin-top:16px}
}
/* Mobile and tablet shift the image left to include the three left-hand dolls. */
@media(max-width:1024px){.home .hero-art{background-position:14% center}}
/* The phone hero fits one stable visible screen, including its inner padding. */
@media(max-width:600px){
 .home .hero.hero-logo-intro{height:100svh;min-height:100svh;box-sizing:border-box}
 .home .hero.hero-logo-intro .hero-content{height:100%;min-height:0}
}
/* Full-width phone idea typography and handwriting with a 10px safe edge. */
@media(max-width:600px){
 .home .idea-stage{padding-left:10px;padding-right:10px}
 .home .idea-before,.home .idea-after{width:100%}
 .home .idea-stage h2{font-size:clamp(48px,12.8vw,77px);width:100%;letter-spacing:-.045em}
 .home .idea-after .idea-handwriting{width:100%;max-width:none;margin-top:20px}
}
/* Match process and service descriptions at a readable 16px on phones. */
@media(max-width:600px){
 .home .process .step-card p,.home .service-list article p{font-size:16px;line-height:1.5}
}

/* New original notes span the viewport and continue farther into the dark chapter. */
.home .process>.process-doodle-art{width:100vw;height:65.27062vw;max-height:none;bottom:-18vw}
.home .process-doodle-art>.doodle-ink-stroke{background:linear-gradient(to bottom,var(--ink) 0 calc(100% - 18vw),var(--cyan) calc(100% - 18vw) 100%);-webkit-mask-image:url('assets/process-doodle-notes.png');mask-image:url('assets/process-doodle-notes.png');-webkit-mask-size:100% 100%;mask-size:100% 100%}
