/* Case study uses the workboard's surfaces, palette and navigation. */
.case-page{--case-surface:rgba(255,255,255,.55);--case-border:rgba(255,255,255,.85);--case-muted:#686271;--case-accent:#eee8f8;--case-green:#eaf2d2;background-color:var(--paper);background-image:radial-gradient(circle at 1px 1px,rgba(178,178,190,.16) 0 2px,transparent 3px),linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:80px 80px;color:var(--ink)}
[data-theme="dark"] .case-page{--case-surface:rgba(48,45,56,.64);--case-border:rgba(255,255,255,.14);--case-muted:#c6c0cf;--case-accent:#eee5fc;background-color:#19191f;background-image:radial-gradient(circle at 1px 1px,#ffffff08 0 2px,transparent 3px),linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px)}
.case-page:before,.case-page:after{content:'';position:fixed;left:0;right:0;pointer-events:none;height:180px;z-index:2}.case-page:before{top:0;background:linear-gradient(#e6daf48c,transparent)}.case-page:after{bottom:0;background:linear-gradient(transparent,#e6daf460)}[data-theme="dark"] .case-page:before{background:linear-gradient(#0c0c0fcc,transparent)}[data-theme="dark"] .case-page:after{background:linear-gradient(transparent,#0c0c0f80)}
.case-page .icon-menu{gap:10px;background:none;border:0;box-shadow:none;padding:0}.case-page .icon-menu a{width:44px;height:44px;border-radius:50%;border:1px solid var(--case-border);background:var(--case-surface);color:var(--ink);backdrop-filter:blur(20px)}.case-page .icon-menu svg{fill:currentColor;stroke:none}.case-page .icon-menu a:hover{background:var(--case-accent);color:#252422}.case-page .theme-toggle{width:36px;height:36px;top:24px;right:24px}
.case-page .case{max-width:1180px;padding:110px 32px 48px;position:relative;z-index:1}.case-back{display:inline-flex;padding:11px 16px;border-radius:14px;background:var(--case-surface);border:1px solid var(--case-border);backdrop-filter:blur(20px);font-size:12px;margin-bottom:24px}.case-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;align-items:stretch}.case-intro,.case-page .case-visual,.case-page .case-block{border-radius:28px;border:1px solid var(--case-border);box-shadow:inset 0 1px 0 #ffffff10,0 8px 24px #00000008;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.case-intro{padding:32px;background:var(--case-accent);color:#252422;display:flex;flex-direction:column}.case-tags{display:flex;flex-wrap:wrap;gap:8px}.case-tags span{background:#ffffff55;border:1px solid #ffffff30;padding:8px 11px;border-radius:12px;font-size:11px;line-height:1.4}.case-page .case h1{font-size:clamp(32px,3.5vw,48px);line-height:1.12;letter-spacing:-.045em;margin:32px 0 20px;max-width:none}.case-page .case h1 em{font:inherit;color:#706383}.case-intro>p{font-size:15px;line-height:1.7;margin:0 0 32px;max-width:48ch}.case-facts{display:grid;gap:8px;margin-top:auto}.case-facts>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:11px 13px;border-radius:12px;background:#ffffff40;font-size:12px;line-height:1.5}.case-facts span{color:#6b6475}.case-facts strong{text-align:right;font-weight:500}
.case-page .case-visual{margin:0;min-width:0;overflow:hidden;background:var(--case-surface);display:flex;flex-direction:column;justify-content:center;gap:24px;padding:32px 20px}.case-page .case-visual .phones{padding:12px 0 24px;gap:12px;min-width:0}.case-page .phones img{width:28%;max-width:140px;border-width:4px;border-radius:22px;box-shadow:0 14px 24px #00000020}.case-page .case-visual figcaption{color:var(--case-muted);text-align:center;font-size:12px;line-height:1.5;padding:0 12px}
.case-story{display:grid;gap:20px;margin-top:20px}.case-page .case-block{padding:32px;grid-template-columns:minmax(0,.75fr) minmax(0,1.4fr);gap:40px;background:var(--case-surface)}.case-page .case-block h2{font-size:26px;line-height:1.2;letter-spacing:-.03em;max-width:16ch}.case-page .case-block p,.case-page .case-block li{font-size:14px;line-height:1.8}.case-page .case-block p:last-child{margin-bottom:0}.case-page .case-block h3{font-size:17px;line-height:1.4;margin:24px 0 10px;letter-spacing:-.02em}.case-page .case-block ul{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:10px}.case-page .case-block li{padding:14px 16px;border-radius:14px;background:#ffffff0c;border:1px solid var(--case-border)}.case-page .case-block:nth-child(2){background:var(--case-green);color:#252422}.case-page .case-block:last-child{background:var(--case-accent);color:#252422}
.case-end{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:32px 4px 8px}.case-end p{font-size:18px;font-weight:600}.case-end a{font-size:13px;font-weight:600;padding:14px 20px;border-radius:16px;background:var(--case-green);color:#252422}.case-page .case-footer{position:relative;z-index:3;max-width:1180px;margin:auto;padding:24px 32px 32px;border-top:1px solid var(--line);font-size:11px;display:flex;gap:16px;color:var(--case-muted)}.case-page a:focus-visible,.case-page button:focus-visible{outline:3px solid #a89ac5;outline-offset:5px}.case-page .case-back:hover,.case-page .case-end a:hover{color:inherit;filter:brightness(1.06)}
@media(max-width:800px){.case-page .case{padding:100px 24px 32px}.case-hero{grid-template-columns:1fr}.case-page .case-visual{padding:28px 20px}.case-page .phones img{max-width:150px}.case-page .case-block{grid-template-columns:1fr;gap:20px}.case-page .case-block h2{max-width:none}.case-page .case-block h2 br{display:none}}
@media(max-width:500px){.case-page .case{padding:96px 16px 24px}.case-intro,.case-page .case-block{padding:24px;border-radius:22px}.case-page .case-visual{border-radius:22px}.case-page .case h1{font-size:34px;margin-top:24px}.case-facts>div{flex-direction:column;gap:2px}.case-facts strong{text-align:left}.case-page .case-block h2{font-size:23px}.case-page .phones img{border-radius:17px;border-width:3px}.case-page .case-visual .phones{gap:8px}.case-end{align-items:flex-start;flex-direction:column;gap:4px}.case-page .case-footer{padding:24px 16px;flex-wrap:wrap}.case-page .theme-toggle{right:16px;width:32px;height:32px}.case-page .icon-menu a{width:38px;height:38px}}
.case-page>.footer-contact{position:fixed;top:24px;left:24px;z-index:11;display:flex;gap:8px}.case-page>.footer-contact a{width:40px;height:40px;background:var(--case-surface);border-color:var(--case-border);color:var(--ink)}
@media(max-width:500px){.case-page>.footer-contact{left:12px;top:24px;gap:5px}.case-page>.footer-contact a{width:30px;height:30px}.case-page .icon-menu{gap:6px}}
.case-page>.footer-contact a,.case-page .theme-toggle{background:#ffffff12;border-color:#ffffff25}
[data-theme="dark"] .case-page>.footer-contact a,[data-theme="dark"] .case-page .theme-toggle{background:#ffffff08;border-color:#ffffff16}

/* Reveal navigation on upward scrolling, with a calm fade. */
.case-page>.icon-menu,.case-page>.footer-contact,.case-page>.theme-toggle{transition:opacity .32s ease,visibility .32s ease}
.case-page.case-nav-hidden>.icon-menu,.case-page.case-nav-hidden>.footer-contact,.case-page.case-nav-hidden>.theme-toggle{opacity:0;visibility:hidden;pointer-events:none}
.case-page.case-nav-hidden>.icon-menu:focus-within,.case-page.case-nav-hidden>.footer-contact:focus-within,.case-page.case-nav-hidden>.theme-toggle:focus{opacity:1;visibility:visible;pointer-events:auto}
@media(prefers-reduced-motion:reduce){.case-page>.icon-menu,.case-page>.footer-contact,.case-page>.theme-toggle{transition:none}}

.case-page .try-app{align-self:center;padding:13px 22px;border:1px solid #ffffff50;border-radius:16px;background:#eaf2d2;color:#252422;font:600 13px Arial,Helvetica,sans-serif;transition:filter .2s ease,transform .2s ease}.case-page .try-app:hover{filter:brightness(1.05);transform:translateY(-2px)}
.app-preview{width:min(480px,calc(100% - 32px));max-width:none;height:min(850px,90dvh);max-height:90dvh;padding:0;border:1px solid #ffffff30;border-radius:28px;background:#292730;color:#f0edf5;box-shadow:0 24px 80px #00000050;overflow:hidden}.app-preview::backdrop{background:#111117a6;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.app-preview-surface{display:flex;flex-direction:column;height:100%;padding:16px;gap:12px}.app-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 4px 0}.app-preview h2{font-size:18px;line-height:1.3;letter-spacing:-.02em}.app-preview-heading a{font-size:11px;white-space:nowrap;color:#eaf2d2;padding:8px 10px;border-radius:12px;background:#ffffff0c}.app-preview iframe{display:block;width:100%;flex:1;min-height:0;border:0;border-radius:22px;background:#19191f}.app-preview p{font-size:10px;line-height:1.5;text-align:center;color:#c6c0cf;margin:0}.app-preview-open{overflow:hidden}
@media(max-width:500px){.app-preview{width:calc(100% - 16px);height:92dvh;max-height:92dvh;border-radius:22px}.app-preview-surface{padding:12px;gap:10px}}
@media(prefers-reduced-motion:reduce){.case-page .try-app{transition:none}}

/* Crop the Figma presentation to its phone, without the surrounding panel. */
.app-preview{width:min(360px,calc(86dvh * .485),calc(100vw - 32px));height:auto;aspect-ratio:407/840;max-height:86dvh;border:0;border-radius:48px;background:transparent;box-shadow:0 24px 70px #00000040;overflow:hidden}
.app-preview .app-preview-surface{position:relative;width:100%;height:100%;padding:0;display:block}
.app-preview .app-preview-heading,.app-preview .app-preview-surface>p{display:none}
.app-preview .app-preview-surface>iframe{position:absolute;left:50%;top:50%;width:220%;height:130%;max-width:none;border:0;border-radius:0;transform:translate(-50%,-50%);background:transparent}
@media(max-width:500px){.app-preview{width:min(calc(86dvh * .485),calc(100vw - 32px));height:auto;max-height:86dvh;border-radius:42px}.app-preview .app-preview-surface{padding:0}}

/* A visible device bezel protects the prototype from edge clipping. */
.app-preview{width:min(376px,calc(86dvh * .485),calc(100vw - 32px));aspect-ratio:407/840;padding:9px;border:2px solid #93938e;border-radius:48px;background:#171918;box-shadow:inset 0 0 0 2px #393c38,0 24px 70px #00000050;overflow:hidden}
.app-preview .app-preview-surface{border-radius:37px;overflow:hidden;background:#000}
.app-preview .app-preview-surface>iframe{width:200%;height:118%;left:50%;top:50%;transform:translate(-50%,-50%)}
@media(max-width:500px){.app-preview{padding:8px;border-radius:42px}.app-preview .app-preview-surface{border-radius:32px}}

/* Staggered floating phones, preserving their existing rotations. */
@keyframes case-phone-float{0%,100%{translate:0 0}50%{translate:0 -10px}}
.case-page .case-visual .phones img{animation:case-phone-float 9s ease-in-out infinite}
.case-page .case-visual .phones img:nth-child(2){animation-duration:10s;animation-delay:-3s}
.case-page .case-visual .phones img:nth-child(3){animation-duration:11s;animation-delay:-6s}
@media(prefers-reduced-motion:reduce){.case-page .case-visual .phones img{animation:none}}

/* Keep only the device frame supplied by the Figma prototype. */
.app-preview{border:0;background:transparent;box-shadow:none}
.app-preview .app-preview-surface{background:transparent}

/* Loading feedback and a separate action below the phone. */
.app-preview{width:min(376px,calc((86dvh - 64px) * .485),calc(100vw - 32px));height:auto;max-height:90dvh;aspect-ratio:auto;padding:0;border-radius:0;overflow:visible;text-align:center}
.app-preview .app-preview-surface{width:100%;height:auto;aspect-ratio:407/840;position:relative;overflow:hidden;border-radius:37px}
.prototype-loading{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:24px;border-radius:37px;background:rgba(41,39,48,.96);color:#f0edf5;font-size:12px;line-height:1.5}
.prototype-loading[hidden]{display:none}
.prototype-spinner{width:30px;height:30px;border:3px solid #ffffff26;border-top-color:#eaf2d2;border-radius:50%;animation:prototype-spin 1s linear infinite}
@keyframes prototype-spin{to{transform:rotate(360deg)}}
.app-preview .prototype-figma-link{display:inline-flex;align-items:center;justify-content:center;margin-top:14px;padding:12px 20px;border:1px solid #ffffff50;border-radius:15px;background:#eaf2d2;color:#252422;font-size:12px;font-weight:600;line-height:20px}
.app-preview .prototype-figma-link:hover{background:#f3f8e5;color:#252422}
@media(max-width:500px){.app-preview{width:min(calc((86dvh - 64px) * .485),calc(100vw - 32px));padding:0;border-radius:0}.app-preview .app-preview-surface{border-radius:32px}}
@media(prefers-reduced-motion:reduce){.prototype-spinner{animation:none}}

/* Figma initializes after iframe load; feedback remains outside the screen. */
.app-preview{width:min(376px,calc((86dvh - 104px) * .485),calc(100vw - 32px))}
.app-preview>.prototype-loading{position:static;inset:auto;display:flex;flex-direction:row;gap:10px;justify-content:center;margin-top:12px;padding:0;background:none;border-radius:0;min-height:20px;font-size:11px;color:#f0edf5}
.app-preview>.prototype-loading[hidden]{display:none}
.app-preview>.prototype-loading .prototype-spinner{width:18px;height:18px;border-width:2px;flex-shrink:0}
@media(max-width:500px){.app-preview{width:min(calc((86dvh - 104px) * .485),calc(100vw - 32px))}}

/* Center loading feedback inside the phone, without blocking interactions. */
.app-preview .app-preview-surface>.prototype-loading{position:absolute;inset:auto;left:50%;top:43%;transform:translate(-50%,-50%);z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:max-content;max-width:calc(100% - 36px);min-height:85px;padding:18px 20px;border-radius:18px;background:rgba(255,255,255,.94);color:#302d38;font-size:12px;line-height:1.5;text-align:center;pointer-events:none;box-shadow:0 4px 20px #00000008}
.app-preview .app-preview-surface>.prototype-loading[hidden]{display:none}
.app-preview .prototype-spinner{width:28px;height:28px;border:3px solid #302d3820;border-top-color:#706383;animation:prototype-spin 1s linear infinite}
@media(prefers-reduced-motion:reduce){.app-preview .prototype-spinner{animation:none}}

/* Overlay belongs to the dialog, above the iframe's stacking context. */
.app-preview>.prototype-loading{position:absolute;left:50%;top:43%;inset:auto;left:50%;top:43%;transform:translate(-50%,-50%);z-index:100;display:flex;flex-direction:column;gap:14px;width:max-content;max-width:calc(100% - 32px);margin:0;padding:18px 20px;border-radius:18px;background:#fffffff2;color:#302d38;font-size:12px;line-height:1.5;pointer-events:none;box-shadow:0 4px 20px #00000012}
.app-preview>.prototype-loading[hidden]{display:none}
.app-preview>.prototype-loading .prototype-spinner{width:28px;height:28px;border:3px solid #302d3820;border-top-color:#706383;animation:prototype-spin 1s linear infinite}
@media(prefers-reduced-motion:reduce){.app-preview>.prototype-loading .prototype-spinner{animation:none}}

.app-preview .prototype-figma-link{background:#eee5fc;color:#252422}.app-preview .prototype-figma-link:hover{background:#f4edff;color:#252422}

/* Bottom navigation matches the soft action button and circular controls. */
.case-page .case-end{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:20px;padding:32px 0 12px}
.case-page .case-end .case-projects-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:linear-gradient(180deg,#eaf2d2,#d6ddc3);padding:16px 24px;border:1px solid #ffffff38;border-radius:22px;color:#252422;font-size:14px;font-weight:600}
.case-projects-button svg,.case-top-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.case-page .case-end .case-top-button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--case-border);border-radius:50%;background:var(--case-surface);color:var(--ink);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:inset 0 1px 0 #ffffff18;flex-shrink:0}
.case-page .case-end .case-top-button:hover{background:#ffffff22}
@media(max-width:500px){.case-page .case-end .case-projects-button{padding:14px 18px;gap:8px;font-size:12px;border-radius:18px}.case-page .case-end{gap:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}.comparison-grid figure{margin:0;min-width:0;padding:18px;background:#ffffff08;border:1px solid var(--case-border);border-radius:20px;display:flex;flex-direction:column;align-items:center;gap:18px}.comparison-grid figcaption{font-size:12px;line-height:1.5;text-align:center;color:var(--case-muted)}.comparison-grid img{display:block;width:min(100%,180px);height:auto;border-radius:22px}.comparison-placeholder{flex:1;width:100%;min-height:280px;display:grid;place-items:center;padding:20px;border:1px dashed var(--case-border);border-radius:16px;font-size:12px;line-height:1.5;text-align:center;color:var(--case-muted)}
@media(max-width:450px){.comparison-grid{grid-template-columns:1fr}.comparison-placeholder{min-height:220px}}

.case-page .case-methods .case-method-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}.case-page .case-methods .case-method-list li{display:flex;align-items:center;min-height:48px;margin:0;padding:12px 16px;border:1px solid var(--case-border);border-radius:14px;background:#ffffff08;font-size:13px;line-height:1.5}
@media(max-width:500px){.case-page .case-methods .case-method-list{grid-template-columns:1fr}}

.case-page .bilka-concept{min-height:300px;align-items:center;text-align:center;background:var(--case-surface);padding:40px}.bilka-concept>span{font-size:12px;color:var(--case-muted)}.bilka-concept>strong{font-size:28px;line-height:1.2;letter-spacing:-.03em}

.case-page .bilka-concept{gap:22px;padding:28px;background:var(--case-surface)}.bilka-concept>img{display:block;width:min(100%,230px);height:auto;border-radius:22px}.bilka-video-button{padding:13px 20px;border:1px solid #ffffff50;border-radius:16px;background:#eee8f8;color:#252422;font-size:13px;font-weight:600}.bilka-video-button:hover{color:#252422;background:#f5efff}.bilka-principles{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.bilka-principles span{padding:10px 14px;background:#ffffff55;border-radius:14px;font-size:12px}.bilka-flow{display:grid;gap:10px;list-style:none;padding:0;margin:22px 0 0}.bilka-flow li{display:flex;flex-direction:column;gap:6px;padding:16px;border-radius:14px;background:#ffffff08;border:1px solid var(--case-border)}.bilka-flow strong{font-size:15px}.bilka-flow span{font-size:13px;line-height:1.6}

.bilka-video{width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:18px;background:#111}.bilka-video iframe{display:block;width:100%;height:100%;border:0}.case-page .bilka-concept:has(.bilka-video){justify-content:center;padding:24px}
@media(max-width:500px){.case-page .bilka-concept:has(.bilka-video){padding:16px}.bilka-video{border-radius:14px}}

button.bilka-video-button{font-family:inherit;cursor:pointer}.video-lightbox{width:min(900px,calc(100vw - 32px));max-width:none;max-height:90dvh;padding:20px;border:1px solid #ffffff24;border-radius:24px;background:#292730;box-shadow:0 24px 80px #00000050;color:#f0edf5}.video-lightbox::backdrop{background:#111117a6;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.video-lightbox-content{display:flex;flex-direction:column;align-items:center;gap:18px}.video-lightbox .bilka-video{max-height:calc(90dvh - 110px)}.video-lightbox .bilka-video-button{display:inline-flex;align-items:center;justify-content:center}
@media(max-width:500px){.video-lightbox{padding:12px;border-radius:20px}}

.bilka-video video{display:block;width:100%;height:100%;object-fit:contain;background:#111}

.case-page .bilka-architecture{grid-template-columns:1fr;gap:20px}.architecture-heading{display:grid;grid-template-columns:.75fr 1.4fr;gap:40px}.case-page .architecture-heading h2{max-width:none}.case-page .architecture-heading p{margin:0}.bilka-flow-image{display:block;overflow:hidden;border-radius:16px;border:1px solid var(--case-border)}.bilka-flow-image img{display:block;width:100%;height:auto}.case-page .architecture-content .flow-hint{font-size:11px;color:var(--case-muted);margin:10px 0 28px}.bilka-ia-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.bilka-ia-grid>section{padding:18px;background:#ffffff08;border:1px solid var(--case-border);border-radius:18px}.bilka-ia-grid h4{font-size:16px;margin:0 0 16px}.case-page .bilka-ia-grid ul{gap:8px;margin:0}.case-page .bilka-ia-grid li{padding:9px 11px;font-size:12px;line-height:1.5;background:#ffffff08;border:0;border-radius:10px}
@media(max-width:800px){.architecture-heading{grid-template-columns:1fr;gap:16px}}@media(max-width:600px){.bilka-ia-grid{grid-template-columns:1fr}.bilka-flow-image{overflow-x:auto}.bilka-flow-image img{min-width:900px}}

button.bilka-flow-image{width:100%;padding:0;font:inherit;background:none;cursor:pointer}.bilka-app-dialog{width:min(350px,calc(86dvh * 9 / 19.5),calc(100vw - 32px));height:auto;max-width:none;max-height:90dvh;padding:0;border:0;background:transparent;overflow:visible}.bilka-app-dialog::backdrop{background:#111117a6;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.bilka-phone-mockup{aspect-ratio:9/19.5;padding:8px;border:2px solid #888984;border-radius:42px;background:#171918;box-shadow:inset 0 0 0 2px #393c38,0 24px 70px #00000050;overflow:hidden}.bilka-phone-mockup video{width:100%;height:100%;display:block;object-fit:contain;background:#000;border-radius:32px}

.bilka-app-dialog{width:min(350px,calc((86dvh - 96px) * 9 / 19.5),calc(100vw - 32px));max-height:94dvh;text-align:center}.bilka-phone-mockup{aspect-ratio:141/313}.bilka-screen{display:block;width:100%;height:100%;padding:0;border:0;border-radius:32px;overflow:hidden;background:#111;cursor:pointer}.bilka-screen img{display:block;width:100%;height:100%;object-fit:fill}.bilka-screen-controls{display:flex;justify-content:center;gap:8px;margin-top:14px}.bilka-screen-controls button{font:600 12px Arial,sans-serif;padding:10px 12px;border:1px solid #ffffff30;border-radius:13px;background:#eee8f8;color:#252422;cursor:pointer}.bilka-screen-controls button:disabled{opacity:.4;cursor:default}.bilka-screen-caption{margin:10px 0 0;color:#f0edf5;font-size:11px;line-height:1.5}

.bilka-flow-stack{display:flex;flex-direction:column;align-items:center;gap:18px;width:240px;max-width:100%;margin:24px auto 32px;padding:0;border:0;background:none;color:var(--ink);font:inherit;cursor:pointer}.flow-card-deck{position:relative;display:block;width:210px;height:240px;max-width:100%}.flow-card-deck img{position:absolute;width:98px;height:218px;object-fit:cover;border:3px solid #34362f;border-radius:15px;box-shadow:0 8px 22px #00000030;transition:transform .3s ease}.flow-card-deck img:nth-child(1){left:105px;top:14px;transform:rotate(12deg);z-index:1}.flow-card-deck img:nth-child(2){left:4px;top:14px;transform:rotate(-12deg);z-index:2}.flow-card-deck img:nth-child(3){left:56px;top:0;z-index:3}.flow-stack-label{display:inline-flex;padding:12px 22px;border-radius:15px;background:#eee8f8;color:#252422;font-size:13px;font-weight:600;border:1px solid #ffffff40}.bilka-flow-stack:hover .flow-card-deck img:nth-child(1){transform:translateX(5px) rotate(16deg)}.bilka-flow-stack:hover .flow-card-deck img:nth-child(2){transform:translateX(-5px) rotate(-16deg)}.bilka-flow-stack:hover .flow-card-deck img:nth-child(3){transform:translateY(-5px)}
@media(prefers-reduced-motion:reduce){.flow-card-deck img{transition:none}.bilka-flow-stack:hover .flow-card-deck img:nth-child(1){transform:rotate(12deg)}.bilka-flow-stack:hover .flow-card-deck img:nth-child(2){transform:rotate(-12deg)}.bilka-flow-stack:hover .flow-card-deck img:nth-child(3){transform:none}}

/* Continuous numbering across Mission, Point and Belønning. */
.bilka-ia-grid{counter-reset:bilka-step}.case-page .bilka-ia-grid li{counter-increment:bilka-step;display:flex;align-items:center;gap:10px}.case-page .bilka-ia-grid li::before{content:counter(bilka-step,decimal-leading-zero);font-size:10px;font-variant-numeric:tabular-nums;color:#857493;flex-shrink:0}[data-theme="dark"] .case-page .bilka-ia-grid li::before{color:#c6b7dc}

/* Vertical architecture overview beside the flow preview. */
.architecture-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start}.architecture-split .bilka-ia-grid{grid-template-columns:1fr;gap:14px}.architecture-left,.architecture-right{min-width:0}.architecture-right{position:sticky;top:100px}.case-page .architecture-split h3{margin-top:0}.architecture-split .bilka-flow-stack{margin-top:32px}.architecture-split .flow-card-deck{width:250px;height:310px}.architecture-split .flow-card-deck img{width:124px;height:276px}.architecture-split .flow-card-deck img:nth-child(1){left:126px;top:20px}.architecture-split .flow-card-deck img:nth-child(2){left:0;top:20px}.architecture-split .flow-card-deck img:nth-child(3){left:63px}
@media(max-width:700px){.architecture-split{grid-template-columns:1fr;gap:28px}.architecture-right{position:static}.architecture-split .bilka-flow-stack{margin-bottom:12px}}

/* Compact phase cards leave room for the flow deck on the right. */
.architecture-split{grid-template-columns:minmax(0,3fr) minmax(220px,1fr);gap:24px;align-items:center}.architecture-split .bilka-ia-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:0}.architecture-split .bilka-ia-grid>section{padding:14px;border-radius:16px}.architecture-split .bilka-ia-grid h4{font-size:14px;margin-bottom:12px}.case-page .architecture-split .bilka-ia-grid ul{gap:7px}.case-page .architecture-split .bilka-ia-grid li{padding:8px;gap:6px;font-size:11px;line-height:1.4;border-radius:9px}.case-page .architecture-split .bilka-ia-grid li::before{font-size:9px}.architecture-right{position:static}.architecture-split .bilka-flow-stack{width:210px;margin:16px auto}.architecture-split .flow-card-deck{width:210px;height:240px}.architecture-split .flow-card-deck img{width:98px;height:218px}.architecture-split .flow-card-deck img:nth-child(1){left:105px;top:14px}.architecture-split .flow-card-deck img:nth-child(2){left:4px;top:14px}.architecture-split .flow-card-deck img:nth-child(3){left:56px;top:0}
@media(max-width:950px){.architecture-split{grid-template-columns:1fr;gap:24px}}@media(max-width:550px){.architecture-split .bilka-ia-grid{grid-template-columns:1fr}.case-page .architecture-split .bilka-ia-grid li{font-size:12px}}

/* Quieter compact phases with more space around the flow preview. */
.architecture-split{grid-template-columns:minmax(0,2.5fr) minmax(260px,1fr);gap:40px}.architecture-split .bilka-ia-grid>section{padding:12px}.case-page .architecture-split .bilka-ia-grid li{padding:7px;font-size:10px;gap:5px}.architecture-split .bilka-ia-grid h4{font-size:13px}
.architecture-split .bilka-ia-grid>section:nth-child(1){background:rgba(190,174,219,.18);border-color:rgba(190,174,219,.32)}
.architecture-split .bilka-ia-grid>section:nth-child(2){background:rgba(151,190,211,.18);border-color:rgba(151,190,211,.32)}
.architecture-split .bilka-ia-grid>section:nth-child(3){background:rgba(189,207,148,.18);border-color:rgba(189,207,148,.32)}
@media(max-width:950px){.architecture-split{grid-template-columns:1fr;gap:28px}}@media(max-width:550px){.case-page .architecture-split .bilka-ia-grid li{font-size:12px}}

/* Compact Bilka methods into three columns to reduce section height. */
.case-page .case-methods{grid-template-columns:1fr;gap:22px;padding:26px}
.case-page .case-methods h2{max-width:none}
.case-page .case-methods .case-method-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.case-page .case-methods .case-method-list li{min-height:46px;padding:12px 16px;border-radius:13px;font-size:13px;line-height:1.4;overflow-wrap:break-word}
@media(max-width:800px){.case-page .case-methods{grid-template-columns:1fr;gap:18px}}
@media(max-width:550px){.case-page .case-methods{padding:22px}.case-page .case-methods .case-method-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:350px){.case-page .case-methods .case-method-list{grid-template-columns:1fr}}

/* Match the portfolio palette and place the flow introduction below its title. */
.bilka-page .architecture-heading{grid-template-columns:1fr;gap:14px}
.bilka-page .architecture-split .bilka-ia-grid>section:nth-child(1){background:#eee5fc;border-color:#eee5fc;color:#25242a}
.bilka-page .architecture-split .bilka-ia-grid>section:nth-child(2){background:#26252d;border-color:#ffffff24;color:#f4f1f8}
.bilka-page .architecture-split .bilka-ia-grid>section:nth-child(3){background:#eaf2d2;border-color:#eaf2d2;color:#25242a}
.bilka-page .architecture-split .bilka-ia-grid li{background:#ffffff35;color:inherit}
.bilka-page .architecture-split .bilka-ia-grid>section:nth-child(2) li{background:#ffffff08}
.bilka-page .architecture-split .bilka-ia-grid li::before{color:#796c8b}
.bilka-page .architecture-split .bilka-ia-grid>section:nth-child(2) li::before{color:#c6b7dc}

/* Concept cover displayed in a phone without the exported blue surround. */
.bilka-concept-phone{position:relative;width:min(100%,190px);padding:8px;border:2px solid #737378;border-radius:34px;background:#171719;box-shadow:0 16px 28px #00000035;overflow:hidden}
.bilka-concept-phone img{display:block;width:100%;height:auto;border-radius:24px}

/* Aurora uses the shared case layout and original prototype screens. */
.case-page .aurora-visual{align-items:center;gap:20px;justify-content:center}
.aurora-visual>img{display:block;width:min(100%,270px);height:auto}
.aurora-visual .bilka-video-button{text-decoration:none;text-align:center}
.aurora-screen-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}
.aurora-screen-grid figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:12px}
.aurora-screen-grid img{display:block;width:100%;max-width:230px;height:350px;object-fit:contain}
.aurora-screen-grid figcaption{font-size:13px;color:var(--case-muted)}
.aurora-page .case-block .bilka-video-button{display:inline-block;text-decoration:none;margin-top:12px}
@media(max-width:500px){.aurora-screen-grid{gap:12px}.aurora-screen-grid img{height:270px}}

/* Show the check-in sequence across the full section width. */
.aurora-page .aurora-checkin{grid-template-columns:1fr;gap:18px}
.aurora-page .aurora-checkin h2{max-width:none}
.aurora-checkin .aurora-screen-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.aurora-checkin .aurora-screen-grid img{height:320px}
.aurora-page .aurora-visual{gap:12px}
.aurora-visual>img{margin-bottom:-64px}
.aurora-visual>.try-app{position:relative;z-index:1;margin-top:0}
@media(max-width:650px){.aurora-checkin .aurora-screen-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aurora-checkin .aurora-screen-grid img{height:280px}}

/* Keep Aurora flow screens close together instead of spreading over the section. */
.aurora-checkin .aurora-screen-grid{grid-template-columns:repeat(4,minmax(0,180px));justify-content:center;gap:4px;width:100%;max-width:732px;margin:24px auto 0}
@media(max-width:650px){.aurora-checkin .aurora-screen-grid{grid-template-columns:repeat(2,minmax(0,180px));max-width:364px;gap:12px 4px}}

/* Make the UngeKræfter design rationale readable alongside the methods. */
.participation-model{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0;padding:20px;border:1px solid #25242218;border-radius:18px;background:#ffffff40}
.participation-model span{display:flex;flex-direction:column;gap:6px}.participation-model strong{font-size:20px}.participation-model small{font-size:12px}.participation-model>b{font-size:24px;font-weight:400}
.case-page .research-decisions{grid-template-columns:1fr;gap:18px}.case-page .research-decisions h2{max-width:none}
.insight-table{margin-top:24px}.insight-row{display:grid;grid-template-columns:1.2fr 1.2fr .7fr;gap:24px;padding:18px 0;border-bottom:1px solid var(--case-border);font-size:14px;line-height:1.6}.insight-head{font-size:11px;color:var(--case-muted);padding-top:0}.insight-row>strong{align-self:center;background:#eee5fc;color:#252422;border-radius:12px;padding:10px 14px;font-size:13px}
.feature-explanations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}.feature-explanations article,.test-change-list article{border:1px solid var(--case-border);border-radius:16px;padding:20px;background:#ffffff08}.case-page .feature-explanations h3{margin:0 0 12px;font-size:16px}.case-page .feature-explanations p{margin:0}
.test-change-list{display:grid;gap:14px}.case-page .test-change-list p{margin:0 0 10px}.case-page .test-change-list p:last-child{margin-bottom:0}.test-result{padding-top:10px;border-top:1px solid var(--case-border)}
.case-page .comparison-thesis,.case-page .learning-statement{font-size:20px;line-height:1.5;font-weight:600}.case-page .comparison-grid figure>p{font-size:13px;line-height:1.6;margin-top:16px}
@media(max-width:600px){.insight-row{grid-template-columns:1fr;gap:10px}.insight-head{display:none}.insight-row>span:nth-child(1)::before{content:'Indsigt · ';font-weight:600}.insight-row>span:nth-child(2)::before{content:'Designbeslutning · ';font-weight:600}.feature-explanations{grid-template-columns:1fr}.participation-model{padding:14px;gap:8px}.participation-model strong{font-size:16px}.participation-model small{font-size:10px}}

/* Keep the participation introduction directly beneath its heading. */
.case-page .participation-section{grid-template-columns:1fr;gap:18px}
.case-page .participation-section h2{max-width:none}

/* Participation spectrum: one shared line, three equally valid ways to join. */
.case-page .participation-spectrum{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:0;margin:28px 0;padding:24px 0;background:none;border:0;border-radius:0}
.participation-level{position:relative;padding:0 24px 0 0;min-width:0}
.case-page .participation-level h3{display:inline-flex;align-items:center;justify-content:center;min-width:100px;margin:0 0 40px;padding:16px 24px;border-radius:18px;background:#eee5fc;color:#252422;font-size:17px;font-weight:600}
.case-page .participation-level:nth-child(2) h3{background:#c7d3b7}
.case-page .participation-level:nth-child(3) h3{background:#35433c;color:#fff}
.participation-level::before{content:'';position:absolute;top:79px;left:50px;right:-50px;height:1px;background:#35433c80}
.participation-level:last-child::before{display:none}
.participation-level::after{content:'';position:absolute;top:73px;left:50px;width:1px;height:13px;background:#35433c}
.case-page .participation-level ul{display:block;list-style:none;padding:0;margin:0}
.case-page .participation-level li{padding:0;margin:0 0 6px;border:0;border-radius:0;background:none;font-size:14px;line-height:1.5;color:inherit}
@media(max-width:600px){.case-page .participation-spectrum{grid-template-columns:1fr;gap:24px;padding:8px 0}.participation-level{padding:0 0 0 26px;border-left:1px solid #35433c60}.case-page .participation-level h3{margin:0 0 12px;padding:12px 20px}.participation-level::before{display:none}.participation-level::after{top:22px;left:-5px;width:9px;height:9px;border-radius:50%}.case-page .participation-level li{font-size:13px}}

/* Original concept overview from slide 7. */
.case-page .concept-overview{grid-template-columns:1fr;gap:18px}
.case-page .concept-overview h2{max-width:none}
.unge-concept-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:26px;align-items:start}
.unge-concept-grid figure{margin:0;overflow:hidden;border-radius:18px;background:#eaf2d2}
.unge-concept-grid img{display:block;width:100%;height:auto}
@media(max-width:900px){.unge-concept-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:550px){.unge-concept-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}

/* Standalone concept mockups with editable captions. */
.unge-concept-grid figure{overflow:visible;border-radius:0;background:transparent}
.unge-concept-grid img{height:330px;object-fit:contain;object-position:top}
.unge-concept-grid figcaption{padding:12px 6px 0;text-align:left}
.case-page .unge-concept-grid h3{margin:0 0 8px;font-size:16px;line-height:1.3}
.case-page .unge-concept-grid figcaption p{margin:0;font-size:13px;line-height:1.6;color:var(--case-muted)}
@media(max-width:550px){.unge-concept-grid img{height:280px}}

.unge-concept-grid .concept-phone{position:relative;width:100%;max-width:160px;margin:auto;padding:7px;background:#20211f;border-radius:27px;box-shadow:0 8px 18px #00000020}
.unge-concept-grid .concept-phone::after{content:'';position:absolute;top:11px;left:50%;transform:translateX(-50%);width:32%;height:12px;border-radius:12px;background:#080908}
.unge-concept-grid .concept-phone img{display:block;width:100%;height:auto;border-radius:20px;object-fit:contain}

/* Insights from participants' stories, placed before the participation model. */
.case-page .narrative-insight-list{display:grid;gap:12px;list-style:none;margin:22px 0;padding:0}
.case-page .narrative-insight-list li{position:relative;padding:0 0 0 22px;border:0;border-radius:0;background:none;font-size:14px;line-height:1.6}
.narrative-insight-list li::before{content:'';position:absolute;left:0;top:8px;width:8px;height:8px;border-radius:50%;background:#a995c5}
.case-page .narrative-takeaway{font-weight:600;font-size:17px;line-height:1.5}

.letter-heading{display:flex;flex-direction:column;gap:24px;align-items:flex-start}
.letter-mockup{margin:0;width:min(100%,220px)}
.letter-phone{position:relative;padding:9px;border-radius:36px;background:#20211f;box-shadow:0 12px 24px #00000020}
.letter-phone img{display:block;width:100%;height:auto;border-radius:27px}
.letter-phone::after{content:'';position:absolute;left:50%;top:15px;transform:translateX(-50%);width:32%;height:16px;border-radius:14px;background:#080908}
@media(max-width:800px){.letter-heading{align-items:center}.case-page .letter-heading h2{align-self:flex-start}}

.letter-illustration{margin:0;width:min(100%,300px)}
.letter-illustration img{display:block;width:100%;height:auto}

/* Test iterations sit side by side across the section. */
.case-page .test-changes{grid-template-columns:1fr;gap:22px}
.case-page .test-changes h2{max-width:none}
.test-change-list{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.test-change-list article{display:flex;flex-direction:column}
.case-page .test-change-list .test-result{margin-top:auto}
@media(max-width:700px){.test-change-list{grid-template-columns:1fr}}

/* Compact concept row with concise, single-line captions. */
.unge-concept-grid{max-width:960px;margin-left:auto;margin-right:auto;gap:10px}
.unge-concept-grid figcaption{padding-left:0;padding-right:0}
.case-page .unge-concept-grid figcaption p{white-space:nowrap;font-size:11px;line-height:1.5}
@media(max-width:900px){.unge-concept-grid{max-width:620px}}
@media(max-width:550px){.unge-concept-grid{max-width:380px}.case-page .unge-concept-grid figcaption p{font-size:10px}}

/* Align the explanation cards with the centre of the letter itself. */
.case-page .letter-feature{grid-template-columns:1fr;gap:24px}
.case-page .letter-section-heading h2{max-width:none;margin-bottom:16px}
.case-page .letter-section-heading p{margin:0}
.letter-feature-content{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.4fr);gap:40px;align-items:center}
.letter-feature-content .letter-illustration{justify-self:center}
.letter-feature-content .feature-explanations{margin-top:0}
@media(max-width:800px){.letter-feature-content{grid-template-columns:1fr;gap:24px}}

.case-page .concept-overview{gap:12px}
.case-page .concept-overview>div>p:first-child{margin-top:0}

/* Centre each concept caption beneath its phone mockup. */
.unge-concept-grid figcaption{text-align:center}

/* Group each concept title and description closely with its mockup. */
.unge-concept-grid figcaption{padding-top:8px}
.case-page .unge-concept-grid h3{margin-bottom:3px}
.case-page .unge-concept-grid figcaption p{margin:0;line-height:1.35}

/* Keep stacked section headings close to their introductory text. */
.case-page .letter-section-heading h2{margin-bottom:6px}
.case-page .letter-section-heading>p{margin-top:0}
.case-page .concept-overview,.case-page .participation-section,.case-page .research-decisions{row-gap:6px}
.case-page .concept-overview>h2,.case-page .participation-section>h2,.case-page .research-decisions>h2{margin-bottom:0}
.case-page .concept-overview>div>p:first-child,.case-page .participation-section>div>p:first-child,.case-page .research-decisions>div>p:first-child{margin-top:0}

/* Place the before/after introduction directly under its heading. */
.case-page .case-comparison{grid-template-columns:1fr;gap:6px}
.case-page .case-comparison h2{max-width:none;margin-bottom:0}
.case-page .case-comparison>div>.comparison-thesis{margin-top:0;margin-bottom:8px}
.case-page .case-comparison>div>.comparison-thesis+p{margin-top:0}

/* Two research insights share a row, with headings above their text. */
.research-insight-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.case-page .research-insight-pair .case-block{grid-template-columns:1fr;gap:16px;align-content:start;background:var(--case-green);color:#252422}
.case-page .research-insight-pair .geographic-insights{background:var(--case-accent)}
.case-page .research-insight-pair h2{max-width:none;margin-bottom:0}
.case-page .research-insight-pair .case-block>div>p:first-child{margin-top:0}
@media(max-width:800px){.research-insight-pair{grid-template-columns:1fr}}

.case-page .concept-carousel{display:block;padding:32px;overflow:hidden}
.concept-carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.concept-carousel-track::-webkit-scrollbar{display:none}
.concept-detail-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;padding:0 2px}
.concept-detail-slide .letter-section-heading{margin-bottom:26px}
.case-page .concept-detail-slide h2{max-width:none}
.concept-detail-phone{margin:0;justify-self:center;width:min(100%,220px)}
.concept-detail-phone .concept-phone{position:relative;padding:9px;border-radius:36px;background:#20211f}
.concept-detail-phone img{display:block;width:100%;border-radius:27px}
.concept-detail-phone .concept-phone::after{content:'';position:absolute;top:15px;left:50%;transform:translateX(-50%);width:32%;height:16px;border-radius:14px;background:#080908}
.concept-carousel-nav,.concept-carousel-dots{display:flex;align-items:center;justify-content:center;gap:12px}
.concept-carousel-nav{margin-top:24px}
.concept-carousel-nav>button{width:36px;height:36px;border-radius:50%;border:1px solid var(--case-border);background:var(--case-surface);color:var(--ink);cursor:pointer}
.concept-carousel-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#a995c566;cursor:pointer}
.concept-carousel-dots button[aria-pressed=true]{background:#a995c5;transform:scale(1.3)}
@media(max-width:500px){.case-page .concept-carousel{padding:24px}}

.case-practice-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.case-practice-card{display:flex;flex-direction:column;align-items:flex-start;padding:28px;border:1px solid #ffffff20;border-radius:28px;background:#26252d;color:#eaf2d2;min-height:240px}
.case-practice-card:nth-child(2){background:#393044;color:#f4effa}.case-practice-card:nth-child(3){background:#eee5fc;color:#252422}
.case-practice-card h2{font-size:24px;line-height:1.2;margin:0 0 14px}.case-practice-card p{font-size:15px;line-height:1.5;margin:0 0 28px}
.case-practice-card button{margin-top:auto;padding:14px 18px;border:0;border-radius:20px;background:#eaf2d2;color:#252422;font-family:inherit;font-size:13px;font-weight:700;line-height:1.4;cursor:pointer}
.practice-dialog{width:min(900px,calc(100% - 40px));max-height:85dvh;overflow:auto;padding:40px;border:1px solid #ffffff30;border-radius:28px;background:#39353f;color:#fff;box-shadow:0 24px 80px #0005}
.practice-dialog::backdrop{background:#17151d88;backdrop-filter:blur(12px)}.practice-close{position:absolute;right:16px;top:12px;background:transparent;color:inherit;border:0;font-size:28px;cursor:pointer}.practice-content h2{margin:0 0 24px}.practice-content .case-method-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;padding:0}.practice-content .case-method-list li{padding:16px;border:1px solid #ffffff25;border-radius:16px;background:#ffffff08}.practice-content .tool-dock{display:flex;flex-wrap:wrap;gap:24px}.practice-content .tool{display:grid;justify-items:center;gap:10px}.practice-content .tool svg{width:30px;height:45px}.practice-content .adobe-mark,.practice-content .codex-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#252422;font:bold 24px/1 sans-serif}
@media(max-width:700px){.case-practice-row{grid-template-columns:1fr}.case-practice-card{min-height:190px}.practice-dialog{padding:32px 24px}.practice-content .case-method-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

.participation-selector{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:40px;align-items:center;margin:28px 0}
.participation-panel{min-height:210px;padding:24px 28px;border:1px solid var(--case-border);border-radius:24px;background:#ffffff05}
.participation-panel[hidden]{display:none}.case-page .participation-panel h3{font-size:24px;margin:0 0 16px}.participation-panel ul{list-style:none;padding:0;margin:0;display:grid;gap:12px}.participation-panel li{font-size:17px;line-height:1.5}
.participation-menu{display:grid;gap:10px}.participation-menu button{font-family:inherit;font-size:17px;font-weight:700;padding:16px 20px;border:1px solid transparent;border-radius:20px;cursor:pointer;opacity:.55;transition:opacity .18s,transform .18s}.participation-menu button:nth-child(1){background:#eee5fc;color:#252422}.participation-menu button:nth-child(2){background:#c8d2b8;color:#252422}.participation-menu button:nth-child(3){background:#35423b;color:#fff}.participation-menu button[aria-selected="true"]{opacity:1;box-shadow:0 0 0 2px #b29dcc;transform:translateX(-4px)}.participation-menu button:hover{opacity:1}.participation-menu button:focus-visible{outline:3px solid #b29dcc;outline-offset:4px}
@media(max-width:550px){.participation-selector{grid-template-columns:minmax(0,1fr) 100px;gap:14px}.participation-panel{padding:20px 16px;min-height:250px}.participation-panel li{font-size:14px}.participation-menu button{font-size:14px;padding:14px 10px}}
@media(prefers-reduced-motion:reduce){.participation-menu button{transition:none}}
/* Comparison keeps its own surface when the story order changes. */
.case-page .case-story>.case-comparison{background:var(--case-surface);color:var(--ink)}

.case-page .case-story>.core-insights{background:var(--case-surface);color:var(--ink);align-items:center}
.core-insight-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.core-insight-buttons button{padding:24px;border:1px solid #ffffff30;border-radius:22px;background:#eaf2d2;color:#252422;font-family:inherit;font-size:18px;line-height:1.4;font-weight:700;text-align:left;cursor:pointer;transition:transform .18s}
.core-insight-buttons button:nth-child(2){background:#eee5fc}.core-insight-buttons button:hover{transform:translateY(-3px)}.core-insight-buttons button:focus-visible{outline:3px solid #b29dcc;outline-offset:4px}
.practice-content p{line-height:1.8}.practice-content .narrative-insight-list{list-style:none;padding:0;display:grid;gap:14px}.practice-content .narrative-insight-list li{display:flex;align-items:baseline;gap:12px;line-height:1.6}.practice-content .narrative-insight-list li::before{content:'•';color:#b29dcc}
@media(max-width:550px){.core-insight-buttons{grid-template-columns:1fr}.core-insight-buttons button{padding:20px;font-size:16px}}
@media(prefers-reduced-motion:reduce){.core-insight-buttons button{transition:none}}
/* Compact participation selector: plain content and clear, readable controls. */
.case-page .participation-section{padding:26px;gap:6px}
.case-page .participation-selector{grid-template-columns:minmax(0,1fr) 126px;gap:24px;margin:18px 0;max-width:700px}
.case-page .participation-panel{min-height:178px;padding:18px 20px;border-radius:18px;background:#ffffff04}
.case-page .participation-panel h3{font-size:20px;margin:0 0 12px}
.case-page .participation-panel ul{margin:0;padding:0;gap:7px}
.case-page .participation-panel li{padding:0;border:0;background:none;border-radius:0;font-size:14px;line-height:1.55;display:flex;gap:10px;align-items:baseline}
.case-page .participation-panel li::before{content:'•';color:#b29dcc}
.participation-menu{gap:8px}
.participation-menu button{min-height:44px;padding:10px 16px;font-size:14px;border-radius:14px;opacity:1;transform:none;box-shadow:none}
.participation-menu button:not([aria-selected="true"]){background:#ffffff08;color:var(--ink);border-color:var(--case-border)}
.participation-menu button[aria-selected="true"]{transform:none;box-shadow:inset 0 0 0 2px #b29dcc}
.participation-menu button:hover{box-shadow:inset 0 0 0 1px #b29dcc}
.case-page .participation-section>div>p:last-child{max-width:82ch;font-size:13px;line-height:1.65}
@media(max-width:550px){.case-page .participation-section{padding:22px}.case-page .participation-selector{grid-template-columns:minmax(0,1fr) 90px;gap:12px}.case-page .participation-panel{padding:16px 14px;min-height:210px}.case-page .participation-panel li{font-size:13px}.participation-menu button{padding:10px 8px;font-size:13px}}

/* Participation as a continuous, equally valid spectrum. */
.participation-art{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:30px 0 24px;padding:0 8px}
.participation-art-connection{position:absolute;top:43px;left:16.67%;right:16.67%;height:2px;background:linear-gradient(90deg,#b6a5d0,#c8d2b8,#859a8c);display:flex;justify-content:space-around;align-items:center}
.participation-art-connection span{display:grid;place-items:center;width:30px;height:26px;border-radius:20px;background:var(--case-surface);color:#c8c4d0;font-size:20px}
.participation-art-stage{position:relative;min-width:0;text-align:center}
.participation-art-symbol{display:grid;place-items:center;width:86px;height:86px;margin:0 auto 16px;border-radius:28px;background:#eee5fc;color:#56466a;border:1px solid #ffffff40}
.participation-art-stage.light .participation-art-symbol{background:#c8d2b8;color:#435140}.participation-art-stage.active .participation-art-symbol{background:#35423b;color:#eaf2d2}
.participation-art-symbol svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.case-page .participation-art-stage h3{font-size:21px;margin:0 0 3px;line-height:1.3}
.case-page .participation-art-stage .participation-art-caption{font-size:13px;color:var(--case-muted);margin:0 0 18px;line-height:1.4}
.case-page .participation-art-stage ul{list-style:none;padding:16px 0 0;margin:0;border-top:1px solid var(--case-border);gap:7px;text-align:left}
.case-page .participation-art-stage li{font-size:13px;line-height:1.55;padding:0;border:0;background:none;border-radius:0}
@media(max-width:600px){.participation-art{grid-template-columns:1fr;gap:24px;padding:0;margin-top:24px}.participation-art-connection{display:none}.participation-art-stage{display:grid;grid-template-columns:64px minmax(0,1fr);gap:0 18px;text-align:left}.participation-art-symbol{grid-column:1;grid-row:1/4;width:64px;height:64px;border-radius:22px;margin:0}.case-page .participation-art-stage h3{grid-column:2}.case-page .participation-art-stage .participation-art-caption{grid-column:2;margin-bottom:12px}.case-page .participation-art-stage ul{grid-column:2;padding-top:12px}.participation-art-symbol svg{width:26px;height:26px}}

.case-block .case-role-title{white-space:nowrap}

/* Insight previews share the Workboard's frosted preference popup design. */
.practice-dialog.insight-popup{position:fixed;inset:auto;margin:0;z-index:30;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:22px;border-radius:22px;background:rgba(65,63,70,.48);color:#f4f4f4;border:1px solid #ffffff33;backdrop-filter:blur(32px) saturate(160%);-webkit-backdrop-filter:blur(32px) saturate(160%);box-shadow:inset 0 1px 0 #ffffff1a,0 24px 70px #0005}
.insight-popup .practice-content h2{font-size:24px;margin:0 24px 16px 0;line-height:1.25}
.insight-popup .practice-content p{font-size:14px;line-height:1.6}
.insight-popup .practice-content li{background:#ffffff08;border:0;border-radius:14px;padding:10px 14px}
.core-insight-buttons button{border-radius:22px;box-shadow:inset 0 1px 0 #ffffff30;background:linear-gradient(180deg,#d8dfc8,#eaf2d2 65%)}
.core-insight-buttons button:nth-child(2){background:linear-gradient(180deg,#d4cfde,#eee5fc 65%)}

/* The process cards use the same previews as the insight cards. */
.case-practice-card{cursor:pointer;transition:transform .18s}
.case-practice-card:hover{transform:translateY(-3px)}
.insight-popup .practice-content .case-method-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.insight-popup .practice-content h2{margin-right:0}
@media(prefers-reduced-motion:reduce){.case-practice-card{transition:none}}

/* Restore the original popup dimensions while retaining hover previews. */
.practice-dialog.insight-popup{width:min(900px,calc(100% - 40px));max-height:85dvh;padding:40px;border-radius:28px}
.insight-popup .practice-content .case-method-list{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){.practice-dialog.insight-popup{padding:32px 24px}.insight-popup .practice-content .case-method-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Mask only the black surround; retain the Figma device and its side buttons at their original scale. */
.app-preview .app-preview-surface{clip-path:inset(2.8% 1.5% 2.5% 1.5% round 44px);border-radius:0;background:transparent}
@media(max-width:500px){.app-preview .app-preview-surface{clip-path:inset(2.8% 1.5% 2.5% 1.5% round 36px)}}

.case-block .case-research-title{white-space:nowrap}

/* Overlapping participation circles, inspired by the supplied model. */
.participation-model{width:min(100%,620px);margin:28px auto 20px;color:var(--ink)}
.participation-model svg{display:block;width:100%;height:auto;overflow:visible}
.model-circle{stroke:#ffffff30;stroke-width:1.5}
.model-passive,.model-active{fill:#eaf2d240}
.model-light{fill:#eee5fc50}
.model-axis{fill:none;stroke:currentColor;stroke-width:2;opacity:.8}
.model-points{fill:currentColor}
.model-labels{fill:currentColor;font-family:inherit;font-size:28px;font-weight:700;letter-spacing:1px}
.model-labels .model-caption{font-size:19px;font-weight:400;letter-spacing:0}
.participation-model-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.participation-model-details>div{padding:18px;border-radius:20px;background:#ffffff08;border:1px solid var(--case-border)}
.participation-model-details h3{font-size:16px;margin:0 0 12px}
.case-page .participation-model-details ul{margin:0;gap:8px}
.case-page .participation-model-details li{padding:0;border:0;background:none;font-size:14px;line-height:1.5}
@media(max-width:650px){.participation-model-details{grid-template-columns:1fr}.participation-model{margin-top:20px}}

/* Unboxed model with annotations distributed around the circles. */
.participation-model{width:min(100%,900px);margin:32px auto}
.model-side-notes{fill:currentColor;font-family:inherit;font-size:18px}
.model-side-notes text:nth-child(4n+1){font-size:22px;font-weight:700}
.model-labels{font-size:30px;font-weight:500}
.model-labels .model-caption{font-size:20px}

.participation-model{width:100%;max-width:1100px}
.model-side-notes text{font-size:18px;font-weight:400}
.model-side-notes text:nth-child(3n+1){font-size:22px;font-weight:700}
.model-direction-caption{fill:currentColor;font-family:inherit;font-size:17px;letter-spacing:1px}

.case-page .participation-model{display:block;padding:0;background:none;border:0;border-radius:0;box-shadow:none}

/* Compact diagram with readable, wrapping text below each participation level. */
.case-page .participation-model{max-width:780px;margin:24px auto 12px}
.participation-readable-notes{max-width:780px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.participation-readable-notes section{min-width:0}
.participation-readable-notes h3{font-size:16px;line-height:1.4;margin:0 0 12px}
.case-page .participation-readable-notes ul{margin:0;gap:8px}
.case-page .participation-readable-notes li{padding:0;border:0;border-radius:0;background:none;font-size:14px;line-height:1.55;overflow-wrap:break-word}
.case-page .participation-direction-note{text-align:center;font-size:13px;margin:24px 0 0;max-width:none}
@media(max-width:600px){.participation-readable-notes{grid-template-columns:1fr;gap:20px}}

.model-bubble-text{fill:currentColor;font-family:inherit;font-size:20px;font-weight:400}

.model-bubble-text{font-size:16px}

/* Thin device bezel and physical buttons, with no extra outer surround. */
.case-page .device-showcase{gap:18px;align-items:center}
.showcase-device{--device-angle:0deg;position:relative;flex:0 1 28%;width:28%;max-width:150px;padding:4px;border:1.5px solid #b7b8b3;border-radius:25px;background:#080909;box-shadow:inset 0 0 0 1px #ffffff35,0 12px 24px #0003;transform:rotate(var(--device-angle));animation:showcase-device-float 9s ease-in-out infinite}
.showcase-device:first-child{--device-angle:-9deg;animation-delay:-2s}
.showcase-device:last-child{--device-angle:9deg;animation-delay:-5s}
.showcase-device::before{content:"";position:absolute;left:-3px;top:21%;width:2px;height:5%;border-radius:2px;background:linear-gradient(90deg,#60615e,#d9dad3);box-shadow:0 30px 0 #b7b8b3,0 58px 0 #b7b8b3}
.showcase-device::after{content:"";position:absolute;right:-3px;top:34%;width:2px;height:12%;border-radius:2px;background:linear-gradient(90deg,#d9dad3,#60615e)}
.showcase-device-screen{position:relative;border-radius:20px;overflow:hidden}
.case-page .case-visual .device-showcase img{display:block;width:100%;max-width:none;border:0;border-radius:0;box-shadow:none;transform:none;animation:none}
.showcase-island{position:absolute;left:50%;top:2.6%;transform:translateX(-50%);width:29%;height:3.5%;border-radius:30px;background:#000}
.showcase-island::after{content:"";position:absolute;right:10%;top:30%;width:12%;height:40%;border-radius:50%;background:#111827;box-shadow:inset 0 0 1px #466291}
@keyframes showcase-device-float{0%,100%{transform:rotate(var(--device-angle)) translateY(0)}50%{transform:rotate(var(--device-angle)) translateY(-6px)}}
@media(max-width:500px){.case-page .device-showcase{gap:10px}.showcase-device{padding:3px;border-radius:20px}.showcase-device-screen{border-radius:16px}.showcase-device::before{box-shadow:0 20px 0 #b7b8b3,0 39px 0 #b7b8b3}}
@media(prefers-reduced-motion:reduce){.showcase-device{animation:none}}

/* Transparent vector illustration in a horizontal card beside the participation content. */
.case-page .insight-map-section{grid-template-columns:1fr;gap:16px}
.case-page .insight-map-section h2{max-width:none;margin:0}
.insight-map{display:block;width:100%;height:auto;background:none}
.insight-map-connections{fill:none;stroke:#bcb2cc;stroke-width:2.5;opacity:.75}
.insight-map-node rect{stroke:#ffffff50;stroke-width:1.5}
.insight-map-node.lavender rect{fill:#ece5fa}
.insight-map-node.green rect{fill:#ebf2d5}
.insight-map-node.dark rect{fill:#35313e}
.insight-map-node text{fill:#28262d;font:21px Arial,Helvetica,sans-serif}
.insight-map-node.main text{font-size:26px;font-weight:700}
.insight-map-node.dark text{fill:#f4f1f8;font-size:32px}
@media(max-width:700px){.insight-map-section>div{overflow-x:auto}.insight-map{min-width:760px}}

.core-insight-buttons.core-insight-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.core-insight-three button:nth-child(3){background:linear-gradient(180deg,#d8dfc8,#eaf2d2 65%)}
@media(max-width:800px){.core-insight-buttons.core-insight-three{grid-template-columns:1fr}}

.case-page .participation-model{max-width:640px}

.case-page .insight-map{width:100%;max-width:820px;min-width:0;margin:0 auto}

.core-insight-buttons.core-insight-three{grid-template-columns:repeat(3,minmax(0,1fr)) 44px;align-items:center}
.insight-map-button{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#ffffff0d;border:1px solid var(--case-border);color:var(--ink);transition:background .18s,transform .18s}
.insight-map-button svg{width:25px;height:25px;fill:currentColor;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.insight-map-button .map-icon-center{fill:none}
.insight-map-button:hover{background:#ffffff20;transform:translateY(-2px)}
#insight-map-overview{scroll-margin-top:100px}
@media(max-width:800px){.core-insight-buttons.core-insight-three{grid-template-columns:1fr}.insight-map-button{justify-self:end}}

.core-insight-buttons.core-insight-three{align-items:stretch}
.core-insight-three .insight-map-button{height:auto;align-self:stretch}
@media(max-width:800px){.core-insight-three .insight-map-button{height:72px}}

.core-insight-buttons.core-insight-three{grid-template-columns:repeat(3,minmax(0,1fr)) max-content}
.core-insight-three .insight-map-button{width:auto;padding:24px;border-radius:22px}
@media(max-width:800px){.core-insight-buttons.core-insight-three{grid-template-columns:1fr}}
@media(max-width:550px){.core-insight-three .insight-map-button{padding:20px}}

.practice-content .narrative-insight-horizontal{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0;list-style:none}
.practice-content .narrative-insight-horizontal li{min-width:0;height:100%;line-height:1.5}
@media(max-width:600px){.practice-content .narrative-insight-horizontal{grid-template-columns:1fr}}

.core-insight-buttons button.insight-map-button{display:grid;place-items:center;background:#ffffff0d;color:var(--ink);padding:24px;font:inherit;border:1px solid var(--case-border)}
.practice-content .insight-map{max-width:100%;margin:0 auto}
@media(max-width:550px){.core-insight-buttons button.insight-map-button{padding:20px}}

/* Participation uses the same title/content columns as the surrounding cards. */
.case-page .case-story>.participation-section{grid-template-columns:minmax(0,.75fr) minmax(0,1.4fr);gap:40px;padding:32px;align-items:start}
.case-page .participation-section>h2{margin:0}
.case-page .participation-section>div>p:first-child{margin-top:0}
@media(max-width:800px){.case-page .case-story>.participation-section{grid-template-columns:1fr;gap:20px}}
@media(max-width:500px){.case-page .case-story>.participation-section{padding:24px}}

.participation-text-row{display:flex;align-items:flex-start;gap:24px}
.case-page .participation-text-row>p{margin:0;flex:1;min-width:0}
.participation-text-row>.insight-map-button{flex:0 0 auto;width:73px;height:73px;padding:24px;border-radius:22px;cursor:pointer}
@media(max-width:550px){.participation-text-row{gap:16px}.participation-text-row>.insight-map-button{width:65px;height:65px;padding:20px}}

/* Editorial prototype section using the existing case palette and device frame. */
.case-page .case-story>.prototype-feature{display:grid;grid-template-columns:1fr 1fr;padding:0;gap:0;overflow:hidden;background:var(--case-surface)}
.prototype-feature-copy{padding:36px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0}
.prototype-feature-copy>.care-letter-topic{margin:0 0 4px}
.case-page .prototype-feature .prototype-feature-copy>h2{margin:0 0 18px}
.case-page .prototype-feature .prototype-feature-copy>p{margin:0 0 28px}
.prototype-feature-copy>.care-letter-quote{margin:0 0 36px}
.prototype-feature-label{font-size:11px;line-height:1.5;letter-spacing:.5px;color:var(--case-muted)}
.case-page .prototype-feature h2{max-width:none;margin:0;font-size:clamp(26px,3vw,38px);line-height:1.15;letter-spacing:-1px}
.case-page .prototype-feature p{margin:0;font-size:15px;line-height:1.65}
.prototype-feature-copy .try-app{margin:4px 0 0;padding:14px 20px;border:1px solid #ffffff30;border-radius:17px;background:var(--case-green);color:#252422;font:600 13px Arial;cursor:pointer}
.prototype-feature-visual{display:grid;place-items:center;padding:40px;min-height:430px;background:var(--care-visual-background);border-radius:28px;border:1px solid var(--case-border)}
.case-page .case-visual:has(.device-showcase)>.try-app{background:var(--care-visual-background);color:var(--ink);border-color:var(--case-border)}
.prototype-feature-visual .showcase-device{width:180px;max-width:180px;flex:none;--device-angle:0deg;animation:none}
.prototype-feature-visual img{display:block;width:100%;height:auto}
@media(max-width:700px){.case-page .case-story>.prototype-feature{grid-template-columns:1fr}.prototype-feature-copy{padding:28px}.prototype-feature-visual{min-height:380px;padding:30px}}

.prototype-feature-visual{grid-column:1;grid-row:1}
.prototype-feature-copy{grid-column:2;grid-row:1}
@media(max-width:700px){.prototype-feature-visual{grid-column:1;grid-row:1}.prototype-feature-copy{grid-column:1;grid-row:2}}

.prototype-feature-letter>img{width:min(100%,360px);height:auto;object-fit:contain;filter:drop-shadow(0 16px 24px #0002);animation:care-letter-float 6s ease-in-out infinite;will-change:transform}
@keyframes care-letter-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-12px) rotate(1deg)}}
@media(prefers-reduced-motion:reduce){.prototype-feature-letter>img{animation:none;will-change:auto}}

.care-letter-quote{margin:0;font-size:clamp(18px,2.5vw,24px);line-height:1.2;font-weight:700;letter-spacing:-.6px}
.case-page .prototype-feature .care-letter-tags{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.case-page .prototype-feature .care-letter-tags li{padding:10px 13px;background:#ebf2d518;border:1px solid #ebf2d522;border-radius:15px;font-size:13px;line-height:1.4}

.care-letter-topic{font-size:11px;font-weight:600;letter-spacing:1.5px;line-height:1.4}

/* Temporary, switchable pixel annotations requested for the care-letter block. */
.prototype-feature{position:relative}
.prototype-feature-copy{position:relative}
.spacing-toggle{position:absolute;top:10px;left:10px;z-index:5;padding:8px 12px;border:1px solid #b8a6d0;border-radius:10px;background:#28262d;color:#ece5fa;font:12px Arial;cursor:pointer}
.show-spacing-grid{background-image:linear-gradient(#b8a6d01a 1px,transparent 1px),linear-gradient(90deg,#b8a6d01a 1px,transparent 1px);background-size:4px 4px}
.spacing-overlay{position:absolute;inset:0;pointer-events:none;z-index:4}
.spacing-overlay[hidden]{display:none}
.show-spacing-grid>.care-letter-topic,.show-spacing-grid>h2,.show-spacing-grid>p,.show-spacing-grid>.care-letter-quote,.show-spacing-grid>.care-letter-tags{outline:1px dashed #b8a6d0;outline-offset:0;height:auto;flex-shrink:0}
.spacing-gap-line{position:absolute;width:6px;border:1px solid #ebf2d5;border-left:0}
.spacing-px-label{position:absolute;padding:2px 5px;border-radius:4px;background:#ebf2d5;color:#28262d;font:11px/14px Arial;white-space:nowrap}
@media print{.spacing-toggle,.spacing-overlay{display:none}.show-spacing-grid{background-image:none}}

/* Full-page spacing inspection; overlays never intercept page interactions. */
.spacing-toggle{position:fixed;top:auto;left:auto;right:20px;bottom:20px;z-index:10002;box-shadow:0 4px 20px #0005}
.page-px-grid{position:fixed;inset:0;pointer-events:none;z-index:9998;background-image:linear-gradient(#b8a6d01a 1px,transparent 1px),linear-gradient(90deg,#b8a6d01a 1px,transparent 1px);background-size:4px 4px}
.page-px-overlay{position:absolute;inset:0;pointer-events:none;z-index:9999}
.page-px-grid[hidden],.page-px-overlay[hidden]{display:none}
.page-px-active .px-measured{outline:1px dashed #b8a6d0;outline-offset:0}
.page-px-overlay .spacing-px-label{font-size:10px;line-height:12px;opacity:.95}
@media print{.page-px-grid,.page-px-overlay{display:none}.page-px-active .px-measured{outline:none}}

/* Feature slides retain the established care-letter layout and spacing. */
.case-page .case-story>.feature-carousel{display:block;padding:0;overflow:hidden}
.feature-carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;cursor:grab}
.feature-carousel-track::-webkit-scrollbar{display:none}
.feature-carousel-track>.prototype-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:0;gap:0;flex:0 0 100%;min-width:0;margin:0;scroll-snap-align:start;scroll-snap-stop:always;border:0;border-radius:0;background:transparent;box-shadow:none}
.feature-carousel-track .prototype-feature-copy{min-width:0}
.feature-carousel-track .prototype-feature-visual{border-radius:28px;min-width:0}
.feature-carousel-track .prototype-feature-letter>img{max-height:420px;object-fit:contain;user-select:none}
.feature-carousel-nav{display:flex;align-items:center;justify-content:center;gap:18px;padding:16px 24px}
.feature-carousel-nav button{border:1px solid var(--case-border);background:#ffffff0c;color:var(--ink);border-radius:12px;min-width:38px;height:34px;cursor:pointer;font-size:18px}
.feature-carousel-nav button:disabled{opacity:.3;cursor:default}
.feature-carousel-dots{display:flex;align-items:center;gap:10px}
.feature-carousel-dots button{min-width:9px;width:9px;height:9px;padding:0;border-radius:50%;background:#b8a6d055}
.feature-carousel-dots button[aria-pressed="true"]{background:#b8a6d0}
.feature-carousel-nav button:focus-visible,.feature-carousel-track:focus-visible{outline:2px solid #b8a6d0;outline-offset:-3px}
@media(max-width:700px){.feature-carousel-track>.prototype-feature{grid-template-columns:minmax(0,1fr)}.feature-carousel-track .prototype-feature-visual{min-height:330px}.feature-carousel-track .prototype-feature-letter>img{max-height:300px}}

.feature-feed-art{width:min(100%,280px);display:flex;flex-direction:column;gap:18px;animation:care-letter-float 6s ease-in-out infinite;filter:drop-shadow(0 16px 24px #0002)}
.feature-feed-art>img{width:100%;height:auto;border-radius:18px}
@media(prefers-reduced-motion:reduce){.feature-feed-art{animation:none}}
.feature-carousel-track .prototype-feature-letter>img[src$="unge-feature-moedestedet.png"]{width:min(100%,310px)}
.feature-carousel-track .prototype-feature-letter>img[src$="unge-feature-besked.svg"],.feature-carousel-track .prototype-feature-letter>img[src$="unge-feature-vi-er-her.png"]{width:min(100%,340px)}
@media(max-width:700px){.feature-feed-art{width:min(100%,230px);gap:15px}.feature-carousel-track .prototype-feature-letter>img[src$="unge-feature-moedestedet.png"]{width:min(100%,270px)}}

/* Prevent legacy positional case-card colors from changing feature slides. */
.case-page .feature-carousel .feature-carousel-track>.prototype-feature{background:transparent;color:var(--ink)}

.app-preview .prototype-zoom-toolbar{position:sticky;top:0;z-index:10;display:flex;justify-content:center;padding:0 0 10px;background:transparent}
.prototype-zoom-toggle{display:flex;align-items:center;gap:8px;padding:10px 16px;border:1px solid #ffffff40;border-radius:14px;background:#302d38;color:#f0edf5;font:600 12px Arial;cursor:pointer}
.prototype-zoom-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.prototype-zoom-toggle:focus-visible{outline:2px solid #b8a6d0;outline-offset:3px}
 .prototype-zoom-toggle select{border:0;border-radius:8px;background:#ffffff12;color:#f0edf5;padding:6px 8px;font:600 12px Arial;cursor:pointer}
.prototype-zoom-toggle select option{background:#302d38;color:#f0edf5}
.app-preview.prototype-zoomed{width:calc(var(--prototype-base-width) * var(--prototype-scale));max-height:94dvh;overflow:auto;background:transparent;transform:none;scrollbar-width:thin}
.app-preview.prototype-zoomed .app-preview-surface{width:var(--prototype-base-width);margin:0 auto calc(var(--prototype-base-width) * 840 / 407 * (var(--prototype-scale) - 1));transform:scale(var(--prototype-scale));transform-origin:top center}
.app-preview.prototype-zoomed .prototype-zoom-toolbar{background:transparent;padding:0 0 10px}

.feature-carousel .prototype-feature-visual{position:relative}
.feature-risk-button{position:absolute;right:18px;bottom:18px;display:grid;place-items:center;width:40px;height:40px;padding:8px;border:0;border-radius:0;background:transparent;color:var(--ink);cursor:pointer}
.feature-risk-button svg{width:24px;height:24px}
.feature-risk-button:hover{color:#b8a6d0}
.feature-risk-button:focus-visible{outline:2px solid #b8a6d0;outline-offset:3px}

.feature-carousel .prototype-feature-copy>.care-letter-tags{width:calc(100% - 44px)}
.feature-carousel .prototype-feature-copy>.feature-risk-button{right:16px;bottom:36px}
@media(max-width:700px){.feature-carousel .prototype-feature-copy>.feature-risk-button{right:12px;bottom:28px}}

.practice-dialog.insight-popup.risk-popup{width:min(340px,calc(100vw - 32px));padding:28px}
.risk-popup .practice-content h2{font-size:20px}
@media(min-width:951px){
 .bilka-page .architecture-split{grid-template-columns:minmax(0,1.7fr) minmax(280px,1.2fr);gap:40px}
 .bilka-page .architecture-split .bilka-flow-stack{width:260px}
 .bilka-page .architecture-split .flow-card-deck{width:250px;height:310px}
 .bilka-page .architecture-split .flow-card-deck img{width:124px;height:276px}
 .bilka-page .architecture-split .flow-card-deck img:nth-child(1){left:126px;top:20px}
 .bilka-page .architecture-split .flow-card-deck img:nth-child(2){left:0;top:20px}
 .bilka-page .architecture-split .flow-card-deck img:nth-child(3){left:63px;top:0}
}

.case-facts .case-figma-tool{display:flex;align-items:center;justify-content:flex-end}
.case-figma-tool svg{display:block;width:18px;height:27px;fill:currentColor}

.bilka-page .case-intro>.bilka-hmw{line-height:normal}
.bilka-research-basis{display:grid}
.bilka-research-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bilka-research-stats>div{display:flex;align-items:center;padding:20px;border:1px solid var(--case-border);border-radius:20px;background:#ffffff08;font-size:16px;line-height:1.4;font-weight:600}
.interview-reveal{display:flex;flex-direction:column;align-items:flex-end;gap:10px;margin:16px 0 0}
.interview-toggle{display:grid;place-items:center;width:40px;height:40px;padding:8px;border:0;background:transparent;color:inherit;cursor:pointer}
.interview-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
.interview-toggle:hover{color:#b8a6d0}
.interview-toggle:focus-visible{outline:2px solid #b8a6d0;outline-offset:2px;border-radius:8px}
.interview-quotes{width:min(100%,460px);padding:24px;border:1px solid #ffffff33;border-radius:24px;background:rgba(65,63,70,.48);backdrop-filter:blur(32px) saturate(160%);box-shadow:0 12px 36px #0003}
.interview-quotes[hidden]{display:none}
.practice-content .interview-quotes h3{margin:0 0 16px;font-size:18px}
.interview-quotes blockquote{margin:0;font-size:14px;line-height:1.7;font-style:italic}
.interview-quotes blockquote+blockquote{margin-top:16px}
.practice-content .interview-quotes>p{font-size:14px;margin:0 0 16px}
@media(max-width:600px){.bilka-research-stats{grid-template-columns:1fr}.interview-quotes{padding:20px}}

.core-insight-buttons.core-insight-three.bilka-insight-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}
.practice-content .bilka-insight-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;padding:0;margin:24px 0 0}
.practice-content .bilka-insight-cards li{min-width:0;padding:18px;border:1px solid #ffffff25;border-radius:16px;background:#ffffff08}
.practice-content .bilka-insight-cards h3{margin:0 0 8px;font-size:16px;line-height:1.4}
.practice-content .bilka-insight-cards p{margin:0;font-size:14px;line-height:1.6}
@media(max-width:600px){.practice-content .bilka-insight-cards{grid-template-columns:1fr}.core-insight-buttons.core-insight-three.bilka-insight-buttons{grid-template-columns:1fr}}

.bilka-page .bilka-turning-point{display:grid}
.bilka-turning-point .turning-point-content{min-width:0}
.case-page .bilka-turning-point .turning-point-content>h3{margin:0 0 24px;font-size:20px;line-height:1.35}
.turning-point-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.turning-point-comparison>div{padding:22px;border:1px solid var(--case-border);border-radius:20px;background:#ffffff08}
.turning-point-comparison>div:first-child{background:#eee5fc12}
.turning-point-comparison>div:last-child{background:#eaf2d212}
.turning-point-comparison h4{margin:0 0 12px;font-size:16px;line-height:1.4}
.case-page .bilka-turning-point .turning-point-comparison p{margin:0}
.turning-point-takeaway{margin-top:28px}
.case-page .bilka-turning-point .turning-point-takeaway p{margin:0;font-size:clamp(20px,2.2vw,26px);font-weight:700;line-height:1.3;letter-spacing:-.03em}
.case-page .bilka-turning-point .turning-point-takeaway p+p{margin-top:8px}
@media(max-width:650px){.turning-point-comparison{grid-template-columns:1fr;gap:14px}}

.bilka-page .case-story>.bilka-principle-map{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.4fr);gap:40px;align-items:start}
.principle-map-kicker{display:block;color:var(--case-muted);font-size:11px;letter-spacing:1.5px;font-weight:600;margin-bottom:10px}
.case-page .bilka-principle-map h2{max-width:none;margin:0 0 12px}
.case-page .bilka-principle-map .principle-map-heading>p{margin:0 0 28px;color:var(--case-muted)}
.principle-map-rows{display:grid;gap:14px}
.principle-map-row{display:grid;grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);gap:14px;align-items:stretch}
.principle-map-card{display:flex;gap:18px;align-items:center;padding:20px;border:1px solid var(--case-border);border-radius:20px;background:#ffffff06;min-width:0}
.principle-map-card>div{min-width:0}
.principle-map-icon{display:grid;place-items:center;flex:0 0 50px;height:50px;border-radius:15px;background:linear-gradient(180deg,#d8dfc8,#eaf2d2);color:#252422;box-shadow:inset 0 1px 0 #ffffff40}
.principle-map-row:nth-child(even) .principle-map-card:first-child .principle-map-icon,.principle-map-row:nth-child(odd) .principle-map-card:last-child .principle-map-icon{background:linear-gradient(180deg,#d4cfde,#eee5fc)}
.principle-map-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.case-page .bilka-principle-map .principle-map-card h3{margin:0 0 7px;font-size:17px;line-height:1.35}
.case-page .bilka-principle-map .principle-map-card p{margin:0;font-size:14px;line-height:1.6;color:var(--case-muted)}
.principle-map-arrow{width:100%;height:24px;align-self:center;fill:none;stroke:#b8a6d0;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:800px){.principle-map-row{grid-template-columns:minmax(0,1fr);gap:10px}.principle-map-arrow{width:44px;justify-self:center;transform:rotate(90deg);margin:6px 0}.principle-map-card{padding:18px}}

.core-insight-buttons.core-insight-three.bilka-insight-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.bilka-insight-four button:nth-child(4){background:linear-gradient(180deg,#d4cfde,#eee5fc 65%)}
.interview-quotes:has(.interview-evidence){width:100%;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:28px}
.interview-quotes[hidden]{display:none}
.interview-citations,.interview-evidence{min-width:0}
.practice-content .interview-evidence>p{margin:0 0 20px;font-size:14px;line-height:1.7}
.practice-content .interview-evidence h3{margin:0 0 14px;font-size:17px;line-height:1.4}
.practice-content .interview-evidence ul{padding:0 0 0 20px;margin:0;display:grid;gap:12px;list-style:disc}
.practice-content .interview-evidence li{font-size:14px;line-height:1.7}
@media(max-width:800px){.core-insight-buttons.core-insight-three.bilka-insight-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.interview-quotes:has(.interview-evidence){grid-template-columns:1fr;gap:24px}}
@media(max-width:550px){.core-insight-buttons.core-insight-three.bilka-insight-four{grid-template-columns:1fr}}

.bilka-page .case-story>.bilka-serviceflow{display:block}
.case-page .bilka-serviceflow h2{margin:0 0 12px;max-width:none}
.case-page .bilka-serviceflow .serviceflow-heading p{margin:0 0 28px;color:var(--case-muted)}

.case-page .bilka-serviceflow .serviceflow-steps{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(3,minmax(64px,auto));gap:14px 12px;list-style:none;padding:32px 0 44px;margin:0;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),var(--case-border) calc(25% - 1px),var(--case-border) 25%);border-inline:1px dashed var(--case-border)}
.case-page .bilka-serviceflow .serviceflow-steps li{display:flex;align-items:center;justify-content:center;gap:10px;padding:16px 18px;border:1px solid var(--case-border);border-radius:999px;background:#38373e;text-align:center;min-width:0;grid-column:1 / span 2;grid-row:1}
.case-page .bilka-serviceflow .serviceflow-steps li:nth-child(2){grid-column:3 / span 3;grid-row:1;background:#eaf2d2;color:#252422}
.case-page .bilka-serviceflow .serviceflow-steps li:nth-child(3){grid-column:4 / span 3;grid-row:2;background:#eee5fc;color:#252422}
.case-page .bilka-serviceflow .serviceflow-steps li:nth-child(4){grid-column:7 / span 3;grid-row:2}
.case-page .bilka-serviceflow .serviceflow-steps li:nth-child(5){grid-column:8 / span 2;grid-row:3;background:#eaf2d2;color:#252422}
.case-page .bilka-serviceflow .serviceflow-steps li:nth-child(6){grid-column:10 / span 3;grid-row:3;background:#eee5fc;color:#252422}
.case-page .bilka-serviceflow .serviceflow-number{flex:0 0 auto;font-size:12px;font-weight:500;opacity:.6}
.case-page .bilka-serviceflow .serviceflow-steps h3{margin:0;font-size:14px;font-weight:500;line-height:1.4;color:inherit}
.serviceflow-note{display:flex;align-items:center;gap:18px;margin-top:24px;padding:18px 20px;border:1px solid var(--case-border);border-radius:20px;background:#ffffff06}
.serviceflow-note>span{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#b8a6d022;font-size:18px}
.case-page .bilka-serviceflow .serviceflow-note p{margin:0;color:var(--case-muted)}
@media(max-width:700px){.case-page .bilka-serviceflow .serviceflow-steps{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(6,auto);gap:12px;padding:20px 0;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(33.333% - 1px),var(--case-border) calc(33.333% - 1px),var(--case-border) 33.333%)}.case-page .bilka-serviceflow .serviceflow-steps li:nth-child(n){grid-column:1 / span 3;grid-row:auto;padding:14px 16px}.case-page .bilka-serviceflow .serviceflow-steps li:nth-child(even){grid-column:2 / span 3}}


.bilka-principle-map .principle-map-rows{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.principle-flip{perspective:1200px;cursor:pointer;min-width:0;border-radius:20px}
.principle-flip-inner{display:grid;transform-style:preserve-3d;transition:transform .85s cubic-bezier(.45,0,.2,1)}
.principle-flip.is-flipped .principle-flip-inner{transform:rotateY(180deg)}
.principle-flip-front,.principle-flip-back{grid-area:1/1;backface-visibility:hidden;-webkit-backface-visibility:hidden;display:flex;min-width:0}
.principle-flip-back{transform:rotateY(180deg)}
.principle-flip .principle-map-card{width:100%;min-height:140px;padding:16px;gap:14px;background:var(--case-surface)}
.principle-flip .principle-map-icon{flex-basis:40px;height:40px;border-radius:12px}
.principle-flip .principle-map-icon svg{width:23px;height:23px}
.case-page .bilka-principle-map .principle-flip .principle-map-card h3{font-size:15px;margin-bottom:5px}
.case-page .bilka-principle-map .principle-flip .principle-map-card p{font-size:13px;line-height:1.5}
.principle-flip-back .principle-map-card{background:rgba(184,166,208,.13)}
.principle-flip:nth-child(even) .principle-flip-front .principle-map-icon,.principle-flip:nth-child(odd) .principle-flip-back .principle-map-icon{background:linear-gradient(180deg,#d4cfde,#eee5fc)}
.principle-flip:focus-visible{outline:2px solid #b8a6d0;outline-offset:4px}
@media(max-width:650px){.bilka-principle-map .principle-map-rows{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.principle-flip-inner{transition:none}}
@media(max-width:800px){.bilka-page .case-story>.bilka-principle-map{grid-template-columns:1fr;gap:20px}}

/* Service blueprint: expandable journey matrices in the portfolio palette. */
.bilka-page .case-story>.bilka-blueprint{display:block}
.case-page .bilka-blueprint h2{max-width:none;margin:0 0 12px}
.case-page .bilka-blueprint .blueprint-heading p{margin:0 0 28px;color:var(--case-muted)}
.blueprint-panels{display:grid;gap:16px}
.blueprint-panel{border:1px solid var(--case-border);border-radius:24px;background:#ffffff04;overflow:hidden}
.blueprint-panel summary{display:flex;align-items:center;gap:20px;padding:22px 24px;cursor:pointer;list-style:none;font-size:14px;line-height:1.5;color:var(--case-muted)}
.blueprint-panel summary::-webkit-details-marker{display:none}
.blueprint-badge{flex:0 0 80px;padding:10px 16px;border-radius:999px;text-align:center;font-size:17px;font-weight:600;color:#252422;background:#eee5fc}
.blueprint-efter .blueprint-badge{background:#eaf2d2}
.blueprint-chevron{margin-left:auto;font-size:24px;transition:transform .2s}
.blueprint-panel[open] .blueprint-chevron{transform:rotate(180deg)}
.blueprint-panel summary:focus-visible,.blueprint-scroll:focus-visible{outline:2px solid #b8a6d0;outline-offset:-4px}
.blueprint-scroll{overflow-x:auto;padding:0 20px 20px;scrollbar-color:#b8a6d0 transparent}
.blueprint-scroll table{width:100%;min-width:1050px;border-collapse:separate;border-spacing:6px;table-layout:fixed;font-size:12px;line-height:1.5}
.blueprint-scroll th,.blueprint-scroll td{padding:16px 12px;border:1px solid var(--case-border);border-radius:14px;vertical-align:top;text-align:left;overflow-wrap:break-word}
.blueprint-scroll thead th{background:#eee5fc;color:#252422;font-weight:600;border-color:transparent}
.blueprint-efter thead th{background:#eaf2d2}
.blueprint-step{display:block;margin-bottom:8px;font-size:10px;letter-spacing:.08em;opacity:.6}
.blueprint-scroll th:first-child{width:110px;position:sticky;left:0;z-index:1}
.blueprint-scroll tbody th{background:#34323b;color:var(--ink);font-weight:600;vertical-align:middle}
.blueprint-scroll td{background:#ffffff04;color:var(--case-muted)}
.blueprint-scroll tbody tr:last-child td{background:#eee5fc12;color:var(--ink)}
.blueprint-efter tbody tr:last-child td{background:#eaf2d212}
.blueprint-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:600px){.blueprint-panel summary{gap:12px;padding:16px;align-items:flex-start}.blueprint-badge{flex-basis:64px;padding:8px 12px;font-size:15px}.blueprint-scroll{padding:0 10px 10px}.blueprint-scroll table{min-width:1000px}.blueprint-chevron{font-size:20px}}
@media(prefers-reduced-motion:reduce){.blueprint-chevron{transition:none}}

.bilka-page .case-story>.bilka-flow-gallery{display:block}
.flow-gallery-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}
.case-page .bilka-flow-gallery h2{max-width:none;margin:0 0 12px}
.case-page .bilka-flow-gallery .flow-gallery-heading p{margin:0;color:var(--case-muted)}
.flow-gallery-controls{display:flex;gap:8px;flex-shrink:0}
.flow-gallery-controls button{width:40px;height:40px;border:1px solid var(--case-border);border-radius:14px;background:#ffffff08;color:var(--ink);font-size:22px;cursor:pointer}
.flow-gallery-controls button:disabled{opacity:.3;cursor:default}
.case-page .bilka-flow-gallery .flow-gallery-track{display:flex;align-items:center;gap:16px;overflow-x:auto;list-style:none;margin:0;padding:24px 2px;scrollbar-color:#b8a6d0 transparent;min-height:510px}
.flow-gallery-card{flex:0 0 170px;transition:flex-basis .3s ease}
.flow-gallery-card:is(:hover,:focus-within,.is-expanded){flex-basis:250px}
.flow-gallery-card button{display:flex;flex-direction:column;width:100%;padding:18px;border:1px solid var(--case-border);border-radius:24px;background:#ffffff05;color:var(--ink);text-align:left;cursor:pointer;transition:background .3s,border-color .3s}
.flow-gallery-card:is(:hover,:focus-within,.is-expanded) button{background:#eee5fc0d;border-color:#b8a6d0}
.flow-gallery-meta{display:flex;justify-content:space-between;gap:8px;margin-bottom:18px;font-size:11px;line-height:1.4;color:var(--case-muted)}
.flow-gallery-meta>span:last-child{color:#b8a6d0;font-size:17px}
.flow-gallery-card img{display:block;width:100%;height:240px;object-fit:contain;transition:height .3s ease}
.flow-gallery-card:is(:hover,:focus-within,.is-expanded) img{height:330px}
.flow-gallery-copy{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.flow-gallery-copy strong{font-size:14px;line-height:1.4}
.flow-gallery-copy>span{font-size:12px;line-height:1.5;color:var(--case-muted)}
.flow-gallery-card button:focus-visible,.flow-gallery-controls button:focus-visible{outline:2px solid #b8a6d0;outline-offset:3px}
@media(max-width:600px){.flow-gallery-heading{flex-direction:column;gap:16px}.case-page .bilka-flow-gallery .flow-gallery-track{min-height:480px}.flow-gallery-card{flex-basis:165px}.flow-gallery-card:is(:hover,:focus-within,.is-expanded){flex-basis:220px}.flow-gallery-card:is(:hover,:focus-within,.is-expanded) img{height:300px}}
@media(prefers-reduced-motion:reduce){.flow-gallery-card,.flow-gallery-card button,.flow-gallery-card img{transition:none}}

/* Keep wide infographic and carousel content inside the page's grid tracks. */
.bilka-page .case-story{grid-template-columns:minmax(0,1fr);min-width:0}
.bilka-page .case-story>.case-block,.bilka-page .case-block>*,.bilka-page .case-hero>*,.bilka-page .blueprint-panels,.bilka-page .blueprint-panel,.bilka-page .blueprint-scroll,.bilka-page .flow-gallery-track{min-width:0;max-width:100%;box-sizing:border-box}
.bilka-page .case-hero{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.bilka-page .flow-gallery-card{box-sizing:border-box}
.blueprint-status{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;font-weight:700;font-size:14px;line-height:1;margin-bottom:10px}
.blueprint-pain .blueprint-status{background:#f2a3ad;color:#60202c}
.blueprint-solved .blueprint-status{background:#c5e5b6;color:#234d29}
.blueprint-scroll td.blueprint-pain{border-color:#f2a3ad66;background:#f2a3ad0a}
.blueprint-scroll td.blueprint-solved{border-color:#c5e5b666;background:#c5e5b60a}
@media(max-width:800px){.bilka-page .case-hero{grid-template-columns:minmax(0,1fr)}}

/* Compact blueprint fits the desktop content width; scroll remains local on mobile. */
.bilka-page .blueprint-scroll{padding:0 12px 12px}
.bilka-page .blueprint-scroll table{min-width:0;width:100%;border-spacing:4px;font-size:11px;line-height:1.45}
.bilka-page .blueprint-scroll th,.bilka-page .blueprint-scroll td{padding:12px 8px;border-radius:10px}
.bilka-page .blueprint-scroll th:first-child{width:82px}
.bilka-page .blueprint-step{margin-bottom:6px;font-size:9px}
.bilka-page .blueprint-status{width:18px;height:18px;font-size:12px;margin-bottom:7px}
.bilka-page .blueprint-panel summary{padding:18px 20px;gap:16px;font-size:13px}
.bilka-page .blueprint-badge{flex-basis:70px;padding:8px 14px;font-size:16px}
@media(max-width:800px){.bilka-page .blueprint-scroll table{min-width:760px}.bilka-page .blueprint-panel summary{padding:16px}.bilka-page .blueprint-scroll{padding:0 8px 8px}}

/* Four visible flow cards, with a single surface per card. */
.case-page .bilka-flow-gallery .flow-gallery-track{padding:24px 0;scroll-snap-type:x mandatory}
.case-page .bilka-flow-gallery .flow-gallery-track>.flow-gallery-card{flex:0 0 calc((100% - 48px)/4);min-width:0;padding:0;border:0;border-radius:0;background:none;scroll-snap-align:start;transition:none}
.case-page .bilka-flow-gallery .flow-gallery-track>.flow-gallery-card button{box-sizing:border-box;padding:18px 14px;border-radius:20px}
.case-page .bilka-flow-gallery .flow-gallery-card img{height:240px}
.case-page .bilka-flow-gallery .flow-gallery-card:is(:hover,:focus-within,.is-expanded) img{height:310px}
@media(max-width:700px){.case-page .bilka-flow-gallery .flow-gallery-track{gap:10px}.case-page .bilka-flow-gallery .flow-gallery-track>.flow-gallery-card{flex-basis:calc((100% - 30px)/4)}.case-page .bilka-flow-gallery .flow-gallery-track>.flow-gallery-card button{padding:12px 6px;border-radius:12px}.case-page .bilka-flow-gallery .flow-gallery-card img{height:160px}.case-page .bilka-flow-gallery .flow-gallery-card:is(:hover,:focus-within,.is-expanded) img{height:200px}.case-page .bilka-flow-gallery .flow-gallery-copy strong{font-size:11px}.case-page .bilka-flow-gallery .flow-gallery-copy>span{font-size:10px}.case-page .bilka-flow-gallery .flow-gallery-meta{flex-direction:column;font-size:9px;gap:4px}}

/* Let the actual prototype occupy the card width. */
.case-page .bilka-flow-gallery .flow-gallery-track>.flow-gallery-card button{padding:12px 8px 16px}
.case-page .bilka-flow-gallery .flow-gallery-meta{flex-direction:row;align-items:center;margin:0 6px 12px;gap:8px;font-size:10px}
.case-page .bilka-flow-gallery .flow-gallery-meta>span:last-child{font-size:13px}
.case-page .bilka-flow-gallery .flow-gallery-card img{width:100%;height:auto;max-height:390px;object-fit:contain;transition:transform .25s ease;transform-origin:center}
.case-page .bilka-flow-gallery .flow-gallery-card:is(:hover,:focus-within,.is-expanded) img{height:auto;transform:scale(1.025)}
.case-page .bilka-flow-gallery .flow-gallery-copy{margin:14px 6px 0;gap:5px}
.case-page .bilka-flow-gallery .flow-gallery-copy strong{font-size:13px;line-height:1.35}
.case-page .bilka-flow-gallery .flow-gallery-copy>span{font-size:11px;line-height:1.45}
@media(max-width:700px){.case-page .bilka-flow-gallery .flow-gallery-track>.flow-gallery-card button{padding:10px 4px 12px}.case-page .bilka-flow-gallery .flow-gallery-meta{margin:0 2px 8px;font-size:8px;gap:3px}.case-page .bilka-flow-gallery .flow-gallery-meta>span:last-child{font-size:11px}.case-page .bilka-flow-gallery .flow-gallery-copy{margin:10px 2px 0}.case-page .bilka-flow-gallery .flow-gallery-copy strong{font-size:10px}.case-page .bilka-flow-gallery .flow-gallery-copy>span{font-size:9px}}
@media(prefers-reduced-motion:reduce){.case-page .bilka-flow-gallery .flow-gallery-card img{transition:none}}

/* Calm emphasis within the four fixed carousel slots. */
.case-page .bilka-flow-gallery .flow-gallery-track{padding:32px 0;align-items:center}
.case-page .bilka-flow-gallery .flow-gallery-track>.flow-gallery-card button{transform:scale(.88);opacity:.76;transform-origin:center;transition:transform 420ms cubic-bezier(.22,1,.36,1),opacity 320ms ease,background 320ms ease,border-color 320ms ease}
.case-page .bilka-flow-gallery .flow-gallery-track>.flow-gallery-card:is(:hover,:focus-within,.is-expanded) button{transform:scale(1);opacity:1}
.case-page .bilka-flow-gallery .flow-gallery-card:is(:hover,:focus-within,.is-expanded) img{transform:none}
@media(hover:none){.case-page .bilka-flow-gallery .flow-gallery-track>.flow-gallery-card button{opacity:1;transform:scale(.94)}.case-page .bilka-flow-gallery .flow-gallery-track>.flow-gallery-card:is(:focus-within,.is-expanded) button{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.case-page .bilka-flow-gallery .flow-gallery-track>.flow-gallery-card button{transition:none}}

/* Start sits on the page centre; the right edge hints at the continuing flow. */
.flow-gallery-window{position:relative;min-width:0;max-width:100%}
.flow-gallery-window::after{content:'';position:absolute;right:0;top:0;bottom:0;width:64px;pointer-events:none;background:linear-gradient(90deg,transparent,var(--case-surface));transition:opacity .25s ease}
.flow-gallery-window.is-at-end::after{opacity:0}
.case-page .bilka-flow-gallery .flow-gallery-track::before,.case-page .bilka-flow-gallery .flow-gallery-track::after{content:'';flex:0 0 calc((100% - (100% - 48px)/4)/2 - 16px)}
.case-page .bilka-flow-gallery .flow-gallery-track>.flow-gallery-card{scroll-snap-align:center}
@media(max-width:700px){.case-page .bilka-flow-gallery .flow-gallery-track::before,.case-page .bilka-flow-gallery .flow-gallery-track::after{flex-basis:calc((100% - (100% - 30px)/4)/2 - 10px)}.flow-gallery-window::after{width:40px}}
@media(prefers-reduced-motion:reduce){.flow-gallery-window::after{transition:none}}

.case-section-disclosure{min-width:0}
.section-disclosure-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;cursor:pointer;list-style:none}
.section-disclosure-heading::-webkit-details-marker{display:none}
.section-disclosure-heading>span:first-child{min-width:0}
.section-disclosure-chevron{flex-shrink:0;font-size:26px;color:var(--case-muted);transition:transform .25s ease}
.case-section-disclosure[open]>.section-disclosure-heading .section-disclosure-chevron{transform:rotate(180deg)}
.section-disclosure-heading:focus-visible{outline:2px solid #b8a6d0;outline-offset:8px;border-radius:8px}
.case-page .bilka-serviceflow .serviceflow-heading p,.case-page .bilka-flow-gallery .flow-gallery-title p{margin:0;color:var(--case-muted)}
.case-section-disclosure[open]>.section-disclosure-heading{margin-bottom:24px}
.bilka-flow-gallery .flow-gallery-controls{justify-content:flex-end;margin-bottom:0}
@media(prefers-reduced-motion:reduce){.section-disclosure-chevron{transition:none}}

.service-combined-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px}
.service-combined-heading>div:first-child{min-width:0}
.case-page .bilka-service-combined .service-view-description{margin:0;color:var(--case-muted)}
.service-view-tabs{display:flex;gap:8px;flex-shrink:0}
.service-view-tabs button{padding:10px 16px;border:1px solid var(--case-border);border-radius:999px;background:#ffffff06;color:var(--ink);font:inherit;font-size:12px;cursor:pointer;transition:background .2s,color .2s}
.service-view-tabs button[aria-selected="true"]{background:#eee5fc;color:#252422;border-color:transparent}
.service-view-tabs button:focus-visible{outline:2px solid #b8a6d0;outline-offset:3px}
.bilka-service-combined [role="tabpanel"][hidden]{display:none}
@media(max-width:800px){.service-combined-heading{flex-direction:column;gap:18px}.service-view-tabs{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.service-view-tabs button{transition:none}}

/* User's text-only journey cards. */
.userflow-layout{display:grid;grid-template-columns:110px minmax(0,1fr);gap:24px;align-items:start}
.case-page .bilka-service-combined .userflow-legend{display:grid;gap:12px;margin:10px 0 0;padding:0;list-style:none}
.case-page .bilka-service-combined .userflow-legend li{display:flex;align-items:center;gap:10px;padding:0;background:none;border:0;border-radius:0;font-size:12px;line-height:1.4}
.userflow-dot{display:inline-block;flex:0 0 12px;width:12px;height:12px;border-radius:50%;background:#ddd2f5}
.userflow-dot.child{background:#eef5df}
.userflow-dot.experience{background:#b3b3b3}
.userflow-text-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0}
.userflow-text-card{background:#ebe5f7;color:#0c0c0c;border-radius:20px;padding:22px;min-width:0}
.userflow-text-card header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:28px}
.userflow-text-card header>div{display:flex;align-items:baseline;gap:8px}
.userflow-card-number{font-size:28px;font-weight:700;line-height:1}
.case-page .bilka-service-combined .userflow-text-card h3{margin:0;font-size:17px;font-weight:500;line-height:1.3;color:#0c0c0c;letter-spacing:0}
.userflow-place{background:#d6cde5;border-radius:999px;padding:4px 12px;font-size:11px;line-height:1.4}
.case-page .bilka-service-combined .userflow-text-card ul{display:flex;flex-direction:column;align-items:flex-start;gap:9px;margin:0;padding:0;list-style:none}
.case-page .bilka-service-combined .userflow-text-card li{display:flex;align-items:center;gap:12px;max-width:100%;box-sizing:border-box;padding:11px 15px;border:0;border-radius:999px;background:#343434;color:#fff;font-size:12px;line-height:1.45}
.userflow-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:800px){.userflow-layout{grid-template-columns:minmax(0,1fr);gap:20px}.case-page .bilka-service-combined .userflow-legend{display:flex;flex-wrap:wrap;margin:0;gap:16px}}
@media(max-width:550px){.userflow-text-cards{grid-template-columns:minmax(0,1fr)}.userflow-text-card{padding:20px}}

/* Userflow cards form one continuous horizontal journey. */
.bilka-page .userflow-layout{grid-template-columns:minmax(0,1fr);gap:20px}
.case-page .bilka-service-combined .userflow-legend{display:flex;flex-wrap:wrap;gap:18px;margin:0}
.bilka-page .userflow-text-cards{display:flex;flex-wrap:nowrap;align-items:stretch;gap:18px;overflow-x:auto;padding-bottom:14px;scroll-snap-type:x proximity;scrollbar-color:#b8a6d0 transparent}
.bilka-page .userflow-text-card{flex:0 0 calc((100% - 36px)/3);box-sizing:border-box;scroll-snap-align:start}
@media(max-width:800px){.bilka-page .userflow-text-card{flex-basis:300px}}
@media(max-width:550px){.bilka-page .userflow-text-card{flex-basis:85%}}

/* More compact text-only userflow cards. */
.bilka-page .userflow-text-cards{gap:14px}
.bilka-page .userflow-text-card{flex-basis:250px;padding:18px;border-radius:16px}
.bilka-page .userflow-text-card header{gap:8px;margin-bottom:20px}
.bilka-page .userflow-card-number{font-size:24px}
.case-page .bilka-service-combined .userflow-text-card h3{font-size:15px}
.bilka-page .userflow-place{font-size:10px;padding:3px 10px}
.case-page .bilka-service-combined .userflow-text-card li{padding:9px 12px;gap:9px;font-size:11px}
.bilka-page .userflow-text-card .userflow-dot{width:10px;height:10px;flex-basis:10px}
@media(max-width:550px){.bilka-page .userflow-text-card{flex-basis:230px}}

/* Match the supplied card composition and proportions. */
.bilka-page .userflow-layout{grid-template-columns:96px minmax(0,1fr);gap:24px}
.case-page .bilka-service-combined .userflow-legend{display:grid;gap:10px;margin:8px 0 0;align-content:start}
.case-page .bilka-service-combined .userflow-legend li{font-size:10px;gap:8px}
.bilka-page .userflow-text-cards{gap:16px;align-items:stretch}
.bilka-page .userflow-text-card{flex:0 0 250px;min-height:230px;padding:20px 16px 24px;border-radius:12px}
.bilka-page .userflow-text-card header{flex-wrap:nowrap;align-items:center;gap:8px;margin-bottom:34px}
.bilka-page .userflow-text-card header>div{gap:5px;align-items:baseline;white-space:nowrap}
.bilka-page .userflow-card-number{font-size:25px;line-height:1;font-weight:700}
.case-page .bilka-service-combined .userflow-text-card h3{font-size:14px;line-height:1.2;font-weight:500;letter-spacing:-.02em}
.bilka-page .userflow-place{flex-shrink:0;padding:3px 9px;font-size:9px;line-height:1.3;white-space:nowrap}
.case-page .bilka-service-combined .userflow-text-card ul{gap:8px}
.case-page .bilka-service-combined .userflow-text-card li{padding:9px 11px;font-size:10px;line-height:1.4;gap:10px}
.bilka-page .userflow-text-card .userflow-dot{width:12px;height:12px;flex-basis:12px}
@media(max-width:650px){.bilka-page .userflow-layout{grid-template-columns:minmax(0,1fr);gap:18px}.case-page .bilka-service-combined .userflow-legend{display:flex;flex-wrap:wrap;margin:0;gap:14px}}

/* Card headings must not inherit the site's navigation-header spacing. */
.bilka-page .userflow-text-card header{padding:0;margin:0 0 30px;border:0;max-width:none;width:100%;min-height:0;box-shadow:none;background:none;align-items:center;justify-content:space-between}
.bilka-page .userflow-text-card header::before,.bilka-page .userflow-text-card header::after{content:none;display:none}

.userflow-card-rows{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;min-width:0}
.bilka-page .userflow-green-card{background:#eaf2d2}
.bilka-page .userflow-green-card .userflow-place{background:#d7e0c2}

/* Blueprint2 shares the userflow card identity, with aligned service layers. */
.blueprint2-track{display:flex;gap:16px;overflow-x:auto;align-items:stretch;padding-bottom:14px;scroll-snap-type:x proximity;scrollbar-color:#b8a6d0 transparent}
.bilka-page .blueprint2-card{flex:0 0 250px;scroll-snap-align:start}
.bilka-page .blueprint2-card header{margin-bottom:24px}
.blueprint2-cell{margin-bottom:10px;min-height:102px}
.blueprint2-layer{display:block;font-size:10px;font-weight:600;margin-bottom:6px;color:#252422}
.blueprint2-layer small{font-weight:400;font-size:9px;margin-left:6px;opacity:.65}
.case-page .bilka-service-combined .blueprint2-cell p{display:flex;align-items:center;min-height:62px;margin:0;padding:10px 14px;box-sizing:border-box;border-radius:18px;background:#343434;color:#fff;font-size:11px;line-height:1.45}
.blueprint2-line{border-top:1px dashed #81748f;color:#6f627d;font-size:9px;padding-top:5px;margin:4px 0 12px;min-height:20px}
.blueprint2-risks{margin-top:20px;padding:20px;border:1px dashed #dba4b4;border-radius:18px}
.case-page .bilka-service-combined .blueprint2-risks h3{display:flex;align-items:center;gap:10px;margin:0 0 16px;font-size:14px}
.blueprint2-risks h3>span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e4b6c4;color:#4d2733;font-size:13px}
.case-page .bilka-service-combined .blueprint2-risks ul{display:flex;flex-wrap:wrap;gap:10px;margin:0}
.case-page .bilka-service-combined .blueprint2-risks li{padding:10px 14px;border:0;border-radius:999px;background:#e4b6c4;color:#39222b;font-size:11px;line-height:1.4}
.service-view-tabs{flex-wrap:wrap;justify-content:flex-end;max-width:100%}
@media(max-width:1000px){.service-combined-heading{flex-direction:column}.service-view-tabs{justify-content:flex-start}}

/* Blueprint2 is a continuous service matrix, rather than individual journey cards. */
.blueprint2-matrix-scroll{max-width:100%;min-width:0;overflow-x:auto;scrollbar-color:#b8a6d0 transparent;padding-bottom:10px}
.blueprint2-matrix{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:6px;font-size:11px;line-height:1.45}
.blueprint2-matrix th,.blueprint2-matrix td{vertical-align:middle;text-align:left;padding:12px 10px;border-radius:12px}
.blueprint2-matrix thead th{background:#ebe5f7;color:#17141c}
.blueprint2-matrix thead th:first-child{background:transparent;color:var(--case-muted)}
.blueprint2-matrix th:first-child{width:120px}
.blueprint2-matrix thead th:not(:first-child)>span{display:block}
.blueprint2-matrix .userflow-card-number{font-size:20px;margin-bottom:6px}
.blueprint2-matrix tbody th{background:#ebe5f7;color:#252422;font-weight:600}
.blueprint2-matrix tbody th small{display:block;margin-top:5px;font-size:9px;font-weight:400;opacity:.7}
.blueprint2-matrix tbody td{background:#343434;border:1px solid var(--case-border);color:#f4f0f8}
.blueprint2-matrix tbody tr:last-child td{background:#eaf2d212}
.blueprint2-matrix .blueprint2-boundary td{background:none;border:0;border-radius:0;padding:10px 0;color:#b8a6d0}
.blueprint2-boundary span{display:flex;align-items:center;gap:12px;font-size:10px;letter-spacing:.02em}
.blueprint2-boundary span::before{content:'';width:120px;border-top:1px dashed #b8a6d080}
.blueprint2-boundary span::after{content:'';flex:1;border-top:1px dashed #b8a6d080}
.blueprint2-matrix-scroll:focus-visible{outline:2px solid #b8a6d0;outline-offset:4px;border-radius:12px}
@media(max-width:800px){.blueprint2-matrix{min-width:850px}}

@media(max-width:950px){.blueprint2-matrix{min-width:980px}}

.userflow-flip{flex:0 0 250px;perspective:1200px;scroll-snap-align:start;cursor:pointer}
.userflow-flip-inner{display:grid;transform-style:preserve-3d;transition:transform 550ms cubic-bezier(.22,1,.36,1)}
.userflow-flip.is-flipped .userflow-flip-inner{transform:rotateY(180deg)}
.userflow-flip-front,.userflow-flip-back{grid-area:1/1;backface-visibility:hidden;-webkit-backface-visibility:hidden;display:flex}
.userflow-flip-back{transform:rotateY(180deg)}
.bilka-page .userflow-flip .userflow-text-card{width:100%;flex:1;box-sizing:border-box}
.userflow-flip:focus-visible{outline:2px solid #b8a6d0;outline-offset:4px;border-radius:12px}
@media(prefers-reduced-motion:reduce){.userflow-flip-inner{transition:none}}

/* Compact, direct slide navigation above the playable mockup. */
.bilka-app-dialog{width:min(700px,calc(100vw - 32px));max-height:94dvh;overflow-y:auto;scrollbar-width:thin}
.bilka-app-dialog .bilka-phone-mockup{width:min(300px,calc((86dvh - 160px)*141/313));margin:0 auto}
.bilka-slide-menu{display:flex;justify-content:center;gap:6px;margin:0 auto 18px;padding:8px 4px;overflow-x:auto;max-width:100%;scrollbar-width:thin}
.bilka-slide-menu button{flex:0 0 52px;display:flex;flex-direction:column;align-items:center;gap:7px;padding:8px 2px;border:0;border-radius:10px;background:transparent;color:#f0edf5;opacity:.6;cursor:pointer;transition:opacity .2s,background .2s}
.bilka-slide-menu svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bilka-slide-menu span{font-size:9px;white-space:nowrap}
.bilka-slide-menu button[aria-current="step"]{opacity:1;background:#eee5fc;color:#252422}
.bilka-slide-menu button:hover{opacity:1}
.bilka-slide-menu button:focus-visible{outline:2px solid #b8a6d0;outline-offset:2px}
@media(max-width:650px){.bilka-slide-menu{justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){.bilka-slide-menu button{transition:none}}

.bilka-slide-menu{gap:4px;margin-bottom:14px;padding:6px 2px}
.bilka-slide-menu button{flex-basis:44px;gap:5px;padding:6px 2px;border-radius:8px}
.bilka-slide-menu svg{width:17px;height:17px}
.bilka-slide-menu span{font-size:8px}

.bilka-slide-menu button[aria-current="step"]{background:transparent;color:#eee5fc;opacity:1}
.bilka-slide-menu button[aria-current="step"] svg{fill:currentColor}

/* Slide navigation runs vertically at the viewport's right edge. */
.bilka-app-dialog .bilka-slide-menu{position:fixed;right:24px;top:50%;transform:translateY(-50%);flex-direction:column;justify-content:flex-start;align-items:center;gap:4px;margin:0;padding:6px 2px;max-height:calc(100dvh - 48px);max-width:70px;overflow-x:hidden;overflow-y:auto}
.bilka-app-dialog .bilka-slide-menu button{flex:0 0 auto;width:58px;padding:6px 2px}
@media(max-width:650px){.bilka-app-dialog{width:calc(100vw - 100px);margin-left:16px;margin-right:84px}.bilka-app-dialog .bilka-slide-menu{right:10px}.bilka-app-dialog .bilka-phone-mockup{max-width:100%}}

/* Centre the mockup itself alongside the vertically centred icon menu. */
.bilka-app-dialog{position:fixed;top:50%;bottom:auto;left:50%;right:auto;transform:translate(-50%,-50%);margin:0;padding:0 0 92px;overflow:visible}
.bilka-app-dialog .bilka-slide-menu{top:calc(50% - 46px);right:calc((700px - 100vw)/2 + 24px);transform:translateY(-50%)}
@media(max-width:732px){.bilka-app-dialog .bilka-slide-menu{right:8px}}
.bilka-app-dialog{padding-bottom:0}
.bilka-app-dialog .bilka-screen-controls{position:absolute;top:100%;left:0;right:0;margin-top:14px}
.bilka-app-dialog .bilka-screen-caption{position:absolute;top:calc(100% + 54px);left:0;right:0;margin:10px 0 0}
.bilka-app-dialog .bilka-slide-menu{top:50%}
@media(max-width:650px){.bilka-app-dialog{left:calc(50% - 34px);margin:0}.bilka-app-dialog .bilka-slide-menu{right:-68px}}

.bilka-app-dialog .bilka-screen-controls button{background:var(--care-visual-background);color:var(--ink);border:1px solid var(--case-border);border-radius:16px;box-shadow:inset 0 1px 0 #ffffff12;font:600 12px Arial,sans-serif;padding:12px 18px;transition:filter .2s ease,border-color .2s ease}
.bilka-app-dialog .bilka-screen-controls button[data-flow-prev],.bilka-app-dialog .bilka-screen-controls button[data-flow-next]{min-width:42px;padding:10px 12px;font-size:19px;line-height:1}
.bilka-app-dialog .bilka-screen-controls button:hover:not(:disabled){filter:brightness(1.12);border-color:#ffffff50}
.bilka-app-dialog .bilka-screen-controls button:focus-visible{outline:2px solid #b8a6d0;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.bilka-app-dialog .bilka-screen-controls button{transition:none}}

/* UX-work composition: step menu beside a single large prototype. */
.flow-work-layout{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.6fr);gap:20px;align-items:stretch}
.flow-work-sidebar{padding:22px;border:1px solid var(--case-border);border-radius:22px;background:#ffffff04}
.flow-work-menu{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;border:0}
.flow-work-menu button{display:flex;align-items:center;gap:12px;padding:7px 0;border:0;background:none;color:var(--case-muted);font:inherit;font-size:12px;text-align:left;cursor:pointer;transition:color .2s}
.flow-work-number{display:grid;place-items:center;flex:0 0 30px;height:30px;border:1px solid var(--case-border);border-radius:9px;background:#ffffff06;font-size:12px}
.flow-work-menu button[aria-current="step"]{color:var(--ink);font-weight:600}
.flow-work-menu button[aria-current="step"] .flow-work-number{background:#eaf2d2;color:#252422;border-color:transparent}
.case-page .bilka-flow-gallery .flow-work-description{margin:20px 0 0;font-size:12px;line-height:1.6;color:var(--case-muted)}
.flow-work-preview{display:flex;flex-direction:column;gap:12px;min-width:0}
.flow-work-stage{position:relative;flex:1;display:grid;place-items:center;min-height:490px;padding:28px;border:1px solid var(--case-border);border-radius:22px;background:var(--care-visual-background)}
.flow-work-phase{position:absolute;top:20px;left:22px;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--case-muted)}
.flow-work-phone{width:min(215px,100%);padding:6px;border:2px solid #888984;border-radius:30px;background:#171918;box-shadow:0 20px 45px #00000030}
.flow-work-phone img{display:block;width:100%;height:auto;border-radius:22px}
.flow-work-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border:1px solid var(--case-border);border-radius:18px;background:#ffffff04}
.flow-work-controls>button{width:32px;height:32px;border-radius:50%;border:1px solid var(--case-border);background:none;color:var(--ink);font-size:19px;cursor:pointer}
.flow-work-controls>button:disabled{opacity:.3;cursor:default}
.flow-work-dots{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}
.flow-work-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#b8a6d055;cursor:pointer}
.flow-work-dots button[aria-current="step"]{background:#eaf2d2}
.flow-work-layout button:focus-visible{outline:2px solid #b8a6d0;outline-offset:4px}
@media(max-width:700px){.flow-work-layout{grid-template-columns:minmax(0,1fr)}.flow-work-menu{flex-direction:row;overflow-x:auto}.flow-work-menu button{flex:0 0 auto;padding:6px;max-width:170px}.flow-work-stage{min-height:450px}.flow-work-sidebar{padding:16px}}
@media(prefers-reduced-motion:reduce){.flow-work-menu button{transition:none}}

.bilka-page .case-story>.bilka-user-journey{display:block}
.case-page .bilka-user-journey h2{max-width:none;margin:0 0 12px}
.case-page .bilka-user-journey .journey-intro{margin:0 0 28px;color:var(--case-muted)}
.journey-route{position:relative;padding:0 48px}
.journey-route-line{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;fill:none;stroke:#b8a6d055;stroke-width:1.4;vector-effect:non-scaling-stroke}
.case-page .bilka-user-journey ol{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(140px,auto));gap:0 24px;list-style:none;margin:0;padding:0}
.case-page .bilka-user-journey li{padding:12px 0 20px;border:0;background:none;border-radius:0;min-width:0}
.journey-route li:nth-child(4){grid-column:3;grid-row:2}.journey-route li:nth-child(5){grid-column:2;grid-row:2}.journey-route li:nth-child(6){grid-column:1;grid-row:2}.journey-route li:nth-child(7){grid-column:1;grid-row:3}
.journey-pill{display:flex;align-items:center;gap:8px;width:fit-content;padding:6px 16px 6px 6px;border-radius:999px;background:#34323b;border:1px solid var(--case-border);color:var(--ink)}
.journey-step{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:50%;background:#eee5fc;color:#252422;font-size:11px;font-weight:600}
.journey-route li:nth-child(even) .journey-step{background:#eaf2d2}
.case-page .bilka-user-journey .journey-pill h3{margin:0;font-size:13px;line-height:1.3;letter-spacing:0}
.journey-place{display:block;font-size:10px;margin:10px 0 5px;color:#b8a6d0}
.case-page .bilka-user-journey li p{margin:0;font-size:12px;line-height:1.5;color:var(--case-muted);max-width:24ch}
@media(max-width:650px){.journey-route{padding:0}.journey-route-line{display:none}.case-page .bilka-user-journey ol{grid-template-columns:minmax(0,1fr);grid-template-rows:none;gap:16px}.case-page .bilka-user-journey li:nth-child(n){grid-column:1;grid-row:auto;padding:0 0 16px;border-bottom:1px dashed var(--case-border)}.case-page .bilka-user-journey li p{max-width:none}}

.bilka-page .prototype-feature-visual.bilka-list-feature{padding:0;overflow:hidden}
.bilka-list-feature>img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}

/* Reuse the UngeKræfter mockup frame for the Bilka prototype displays. */
.bilka-page .flow-work-phone.showcase-device,.bilka-page .bilka-phone-mockup.showcase-device{--device-angle:0deg;animation:none;transform:none;padding:5px;border:1.5px solid #b7b8b3;border-radius:30px;background:#080909;box-shadow:inset 0 0 0 1px #ffffff35,0 12px 24px #0003;overflow:visible;flex:none}
.bilka-page .flow-work-phone.showcase-device{width:min(215px,100%);max-width:215px}
.bilka-page .bilka-phone-mockup.showcase-device{max-width:none}
.bilka-page .flow-work-phone .showcase-device-screen,.bilka-page .bilka-phone-mockup .showcase-device-screen{border-radius:24px;position:relative;overflow:hidden}
.bilka-page .flow-work-phone img{border-radius:0}
.bilka-page .bilka-phone-mockup .showcase-island{pointer-events:none}

/* iPhone 14 Pro display proportions: 393 × 852 logical points. */
.bilka-page .flow-work-phone.showcase-device,.bilka-page .bilka-phone-mockup.showcase-device{aspect-ratio:403/862;padding:5px;border-radius:34px}
.bilka-page .flow-work-phone .showcase-device-screen,.bilka-page .bilka-phone-mockup .showcase-device-screen{width:100%;height:100%;aspect-ratio:393/852;border-radius:28px;background:#080909}
.bilka-page .flow-work-phone .showcase-device-screen img,.bilka-page .bilka-phone-mockup .showcase-device-screen img{display:block;width:100%;height:100%;object-fit:cover}
.bilka-page .flow-work-phone .showcase-island,.bilka-page .bilka-phone-mockup .showcase-island{top:1.3%;width:30%;height:3.7%}
.bilka-app-dialog .bilka-phone-mockup.showcase-device{width:min(300px,calc((86dvh - 160px)*403/862))}

.bilka-page .prototype-feature-visual.bilka-universe-feature{padding:24px;overflow:hidden}
.bilka-universe-feature>img{display:block;width:100%;height:auto;max-width:100%;border-radius:14px;animation:none;transform:none}

.bilka-page .prototype-feature-visual.bilka-universe-feature{position:relative;padding:0;overflow:hidden}
.bilka-page .bilka-universe-feature>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;border-radius:0;animation:none;transform:none}

/* Context follows the currently displayed prototype in the flow player. */
.bilka-step-explanation{position:absolute;right:calc(50% + 190px);top:10%;width:clamp(220px,25vw,330px);padding:28px;text-align:left;border:1px solid var(--case-border);border-radius:24px;background:var(--care-visual-background);box-shadow:inset 0 1px 0 #ffffff12;box-sizing:border-box}
.bilka-step-kicker{display:block;font-size:10px;line-height:1.5;letter-spacing:.12em;color:#c9bfd7;font-weight:600}
.bilka-step-explanation h2{margin:12px 0 18px;color:#f0edf5;font-size:25px;line-height:1.2;letter-spacing:-.03em}
.bilka-step-explanation p{margin:0;font-size:14px;line-height:1.7;color:#e0dce6}
@media(max-width:1050px){.bilka-step-explanation{right:calc(50% + 140px);width:210px;padding:20px}.bilka-step-explanation h2{font-size:21px}.bilka-step-explanation p{font-size:12px}}
@media(max-width:750px){.bilka-step-explanation{position:static;width:100%;margin:0 0 18px;padding:18px}.bilka-app-dialog:has(.bilka-step-explanation){max-height:82dvh;overflow-y:auto;padding-bottom:100px}.bilka-step-explanation h2{margin:8px 0 10px;font-size:20px}.bilka-app-dialog:has(.bilka-step-explanation) .bilka-screen-controls{position:static}.bilka-app-dialog:has(.bilka-step-explanation) .bilka-screen-caption{position:static}}

/* Flow player: aligned context/menu and a scrolling prototype journey. */
#bilka-app-dialog{position:fixed;inset:0;transform:none;margin:auto;width:min(1260px,calc(100vw - 64px));height:fit-content;max-height:92dvh;padding:20px;overflow-y:auto;overflow-x:hidden;box-sizing:border-box}
.bilka-player-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.6fr);gap:40px;align-items:center}
.bilka-player-context{min-width:0}
#bilka-app-dialog .bilka-step-explanation{position:static;inset:auto;width:100%;margin:0;padding:28px}
#bilka-app-dialog .bilka-slide-menu{position:static;inset:auto;transform:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 4px;max-width:none;max-height:none;overflow:visible;margin:20px 0 0;padding:0}
#bilka-app-dialog .bilka-slide-menu button{width:100%;min-width:0;padding:8px 0;flex:auto}
#bilka-app-dialog .bilka-slide-menu span{font-size:8px;white-space:normal}
.bilka-player-stage{min-width:0}
.bilka-player-progress{display:grid;grid-template-columns:5fr 2fr 5fr;gap:14px;margin:0 12px 24px;text-align:left}
.bilka-player-progress>div>span{display:block;font-size:11px;color:var(--case-muted);margin-bottom:9px}
.bilka-player-progress .is-current>span{color:#eee5fc}
.bilka-progress-line{height:2px;background:#ffffff25;overflow:hidden}
.bilka-progress-line i{display:block;height:100%;width:0;background:#d8e8bd;transition:width .35s ease}
.bilka-player-track{--player-phone-width:min(240px,calc((75dvh - 140px)*403/862));display:flex;align-items:center;gap:26px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:14px 0 20px;min-width:0}
.bilka-player-track::-webkit-scrollbar{display:none}
.bilka-player-track::before,.bilka-player-track::after{content:'';flex:0 0 max(0px,calc((100% - var(--player-phone-width))/2 - 26px))}
#bilka-app-dialog .bilka-carousel-phone{flex:0 0 var(--player-phone-width);width:var(--player-phone-width);max-width:none;position:relative;padding:5px;aspect-ratio:403/862;border:1.5px solid #b7b8b3;border-radius:32px;background:#080909;box-shadow:inset 0 0 0 1px #ffffff35;animation:none;transform:scale(.9);opacity:.25;transition:opacity .4s ease,transform .4s cubic-bezier(.22,1,.36,1);cursor:pointer;scroll-snap-align:center}
#bilka-app-dialog .bilka-carousel-phone.is-active{opacity:1;transform:scale(1)}
.bilka-carousel-phone .showcase-device-screen{display:block;width:100%;height:100%;border-radius:26px;overflow:hidden;aspect-ratio:393/852}
.bilka-carousel-phone img{display:block;width:100%;height:100%;object-fit:cover;user-select:none}
#bilka-app-dialog .bilka-screen-controls{position:static;margin:14px 0 0}
#bilka-app-dialog .bilka-screen-caption{position:static;margin:12px 0 0}
.bilka-player-track:focus-visible,#bilka-app-dialog .bilka-carousel-phone:focus-visible{outline:2px solid #b8a6d0;outline-offset:3px}
@media(max-width:800px){#bilka-app-dialog{width:calc(100vw - 24px);padding:14px}.bilka-player-layout{grid-template-columns:minmax(0,1fr);gap:24px}#bilka-app-dialog .bilka-step-explanation{padding:20px}#bilka-app-dialog .bilka-slide-menu{grid-template-columns:repeat(6,minmax(0,1fr));margin-top:12px}.bilka-player-track{--player-phone-width:190px}.bilka-player-progress{margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){#bilka-app-dialog .bilka-carousel-phone,.bilka-progress-line i{transition:none}}

.bilka-player-context>.bilka-player-progress{margin:0 0 24px}

.bilka-screen-controls .ph{display:inline-block;width:22px;height:22px;vertical-align:middle;background:currentColor;-webkit-mask:url('assets/ph-arrow-right.svg') center/contain no-repeat;mask:url('assets/ph-arrow-right.svg') center/contain no-repeat}
.bilka-screen-controls .ph-arrow-left{transform:rotate(180deg)}

/* Filled icons share each phase's progress colour. */
#bilka-app-dialog{--mission-colour:#ddd2f5;--point-colour:#c5c8d0;--reward-colour:#eaf2d2;--active-phase-colour:var(--mission-colour)}
#bilka-app-dialog[data-active-phase="1"]{--active-phase-colour:var(--point-colour)}
#bilka-app-dialog[data-active-phase="2"]{--active-phase-colour:var(--reward-colour)}
.bilka-menu-icon{display:block;flex-shrink:0;width:19px;height:19px;background:currentColor;mask:var(--menu-icon) center/contain no-repeat;-webkit-mask:var(--menu-icon) center/contain no-repeat}
#bilka-app-dialog .bilka-slide-menu button{color:#a8a6af;opacity:1}
#bilka-app-dialog .bilka-slide-menu button[aria-current="step"]{color:var(--active-phase-colour);background:transparent}
.bilka-player-progress [data-player-phase="0"]{--phase-colour:var(--mission-colour)}
.bilka-player-progress [data-player-phase="1"]{--phase-colour:var(--point-colour)}
.bilka-player-progress [data-player-phase="2"]{--phase-colour:var(--reward-colour)}
.bilka-player-progress .is-current>span{color:var(--phase-colour)}
.bilka-player-progress .bilka-progress-line i{background:var(--phase-colour)}

/* Show only the selected prototype; retain step-by-step navigation. */
#bilka-app-dialog .bilka-carousel-phone{visibility:hidden;opacity:0;pointer-events:none;transform:none}
#bilka-app-dialog .bilka-carousel-phone.is-active{visibility:visible;opacity:1;pointer-events:auto;transform:none}

/* Bring the explanation and phone closer; flank the phone with navigation. */
.bilka-player-layout{grid-template-columns:minmax(240px,.9fr) minmax(0,1.25fr);gap:24px}
.bilka-player-stage{position:relative}
#bilka-app-dialog .bilka-screen-controls [data-flow-prev],#bilka-app-dialog .bilka-screen-controls [data-flow-next]{position:absolute;top:calc((100% - 94px)/2);transform:translateY(-50%);z-index:2}
#bilka-app-dialog .bilka-screen-controls [data-flow-prev]{right:calc(50% + min(120px,calc((75dvh - 140px)*403/862/2)) + 16px)}
#bilka-app-dialog .bilka-screen-controls [data-flow-next]{left:calc(50% + min(120px,calc((75dvh - 140px)*403/862/2)) + 16px)}
@media(max-width:800px){.bilka-player-layout{grid-template-columns:minmax(0,1fr);gap:20px}#bilka-app-dialog .bilka-screen-controls [data-flow-prev]{right:calc(50% + 107px)}#bilka-app-dialog .bilka-screen-controls [data-flow-next]{left:calc(50% + 107px)}}

/* The prototype is the primary focus; supporting copy stays compact. */
.bilka-player-layout{grid-template-columns:minmax(220px,.72fr) minmax(0,1.5fr);gap:16px}
#bilka-app-dialog .bilka-step-explanation{padding:22px;background:#ffffff04;box-shadow:none;border-color:#ffffff1a}
#bilka-app-dialog .bilka-step-explanation h2{font-size:22px;margin:10px 0 14px}
#bilka-app-dialog .bilka-step-explanation p{font-size:13px;line-height:1.65;color:#c4bfcd}
#bilka-app-dialog .bilka-step-kicker{font-size:9px;color:#a9a0b5}
.bilka-player-track{--player-phone-width:min(320px,calc((84dvh - 110px)*403/862))}
#bilka-app-dialog .bilka-screen-controls [data-flow-prev]{right:calc(50% + min(160px,calc((84dvh - 110px)*403/862/2)) + 16px)}
#bilka-app-dialog .bilka-screen-controls [data-flow-next]{left:calc(50% + min(160px,calc((84dvh - 110px)*403/862/2)) + 16px)}
@media(max-width:800px){.bilka-player-layout{grid-template-columns:minmax(0,1fr);gap:20px}.bilka-player-track{--player-phone-width:min(280px,calc(62dvh*403/862))}#bilka-app-dialog .bilka-screen-controls [data-flow-prev]{right:calc(50% + min(140px,calc(62dvh*403/862/2)) + 10px)}#bilka-app-dialog .bilka-screen-controls [data-flow-next]{left:calc(50% + min(140px,calc(62dvh*403/862/2)) + 10px)}}

#bilka-app-dialog .bilka-screen-controls [data-flow-prev],#bilka-app-dialog .bilka-screen-controls [data-flow-next]{width:32px;min-width:32px;height:32px;padding:7px;border-radius:11px}
#bilka-app-dialog .bilka-screen-controls .ph{width:17px;height:17px}
#bilka-app-dialog .bilka-screen-controls{height:0;margin:0}
#bilka-app-dialog .bilka-screen-controls [data-flow-prev],#bilka-app-dialog .bilka-screen-controls [data-flow-next]{top:calc((100% - 40px)/2)}

/* Restore breathing room between supporting context and the main mockup. */
.bilka-player-layout{grid-template-columns:minmax(240px,.85fr) minmax(0,1.4fr);gap:48px;align-items:center}
.bilka-player-context{align-self:center}
@media(max-width:1000px) and (min-width:801px){.bilka-player-layout{gap:32px}}
@media(max-width:800px){.bilka-player-layout{grid-template-columns:minmax(0,1fr);gap:28px}}

/* Keep the context and phone together around the centre of the viewport. */
#bilka-app-dialog .bilka-player-layout{width:min(920px,100%);margin-inline:auto;grid-template-columns:minmax(240px,360px) minmax(0,440px);justify-content:center;gap:36px}
@media(max-width:800px){#bilka-app-dialog .bilka-player-layout{width:100%;grid-template-columns:minmax(0,1fr);gap:28px}}

#bilka-app-dialog .bilka-screen-controls [data-flow-prev],#bilka-app-dialog .bilka-screen-controls [data-flow-next]{display:grid;place-items:center;padding:0;line-height:1}
#bilka-app-dialog .bilka-screen-controls .ph{display:block;margin:0;vertical-align:initial}
#bilka-app-dialog .bilka-screen-caption{display:flex;align-items:center;justify-content:center;gap:12px;margin:14px 0 0;font-size:11px;line-height:1.4;color:#aaa4b5;min-height:28px}
.bilka-caption-count{display:inline-flex;align-items:baseline;gap:5px;font-variant-numeric:tabular-nums;letter-spacing:.04em}
.bilka-caption-count strong{font-size:14px;font-weight:600;color:#eee5fc}
.bilka-caption-count>span{font-size:10px;color:#a29aaE}
.bilka-caption-label{padding-left:12px;border-left:1px solid #ffffff25;font-size:11px;color:#c8c1d2}

#bilka-app-dialog .bilka-screen-controls [data-flow-prev],#bilka-app-dialog .bilka-screen-controls [data-flow-next]{width:32px;min-width:32px;max-width:32px;height:32px;min-height:32px;max-height:32px;aspect-ratio:1;box-sizing:border-box;border-radius:50%;padding:0;display:grid;place-items:center}

/* Navigation shares the supporting text card's quiet surface. */
#bilka-app-dialog .bilka-screen-controls [data-flow-prev],#bilka-app-dialog .bilka-screen-controls [data-flow-next]{background:#ffffff04;border-color:#ffffff1a;box-shadow:none;color:#c4bfcd}
#bilka-app-dialog .bilka-screen-controls button:hover:not(:disabled){background:#ffffff09;border-color:#ffffff30;filter:none}

#bilka-app-dialog .bilka-player-track{padding-bottom:8px}
#bilka-app-dialog .bilka-screen-caption{margin-top:2px}

#service-architecture-panel .architecture-heading{margin-bottom:28px}
#service-architecture-panel .architecture-heading h2{font-size:22px}
#service-architecture-panel .architecture-split{margin-top:0}

.bilka-page .case-story>.bilka-prototype-preview{align-items:center}
.bilka-prototype-preview .architecture-right{display:flex;justify-content:center;min-width:0}
#service-architecture-panel .architecture-left{width:100%;min-width:0}

#service-architecture-panel .architecture-split{grid-template-columns:minmax(0,1fr)}

/* Restore the original tall, solid-colour flow model. */
:is(#service-architecture-panel,#bilka-flow-overview) .bilka-ia-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;align-items:stretch}
:is(#service-architecture-panel,#bilka-flow-overview) .bilka-ia-grid>section{aspect-ratio:.86;min-height:0;padding:20px;border-radius:26px;box-sizing:border-box;box-shadow:none;background-image:none}
:is(#service-architecture-panel,#bilka-flow-overview) .bilka-ia-grid>section:nth-child(1){background:#eee5fc;color:#25242a;border:1px solid #eee5fc}
:is(#service-architecture-panel,#bilka-flow-overview) .bilka-ia-grid>section:nth-child(2){background:#26252d;color:#f4f1f8;border:1px solid #ffffff24}
:is(#service-architecture-panel,#bilka-flow-overview) .bilka-ia-grid>section:nth-child(3){background:#eaf2d2;color:#25242a;border:1px solid #eaf2d2}
:is(#service-architecture-panel,#bilka-flow-overview) .bilka-ia-grid>section::before,:is(#service-architecture-panel,#bilka-flow-overview) .bilka-ia-grid>section::after{display:none}
:is(#service-architecture-panel,#bilka-flow-overview) .bilka-ia-grid h4{font-size:21px;line-height:1.3;margin:0 0 22px}
:is(#service-architecture-panel,#bilka-flow-overview) .bilka-ia-grid ul{display:grid;gap:12px;margin:0}
:is(#service-architecture-panel,#bilka-flow-overview) .bilka-ia-grid li{padding:12px 11px;font-size:14px;line-height:1.45;gap:8px;border-radius:14px;background:#ffffff35}
:is(#service-architecture-panel,#bilka-flow-overview) .bilka-ia-grid li::before{font-size:12px}
:is(#service-architecture-panel,#bilka-flow-overview) .bilka-ia-grid>section:nth-child(2) li{background:#ffffff08}
@media(max-width:600px){:is(#service-architecture-panel,#bilka-flow-overview) .bilka-ia-grid{grid-template-columns:1fr}:is(#service-architecture-panel,#bilka-flow-overview) .bilka-ia-grid>section{aspect-ratio:auto;min-height:320px}}

/* Research turning point and the concept's wider potential. */
.bilka-page .case-story>.bilka-research-shift{display:block}
.case-page .bilka-research-shift>h2{max-width:none;margin:0 0 24px}
.case-page .bilka-research-shift .turning-point-content>h3{margin:0 0 20px;font-size:clamp(24px,3vw,34px);line-height:1.2;max-width:36ch}
.case-page .bilka-research-shift .research-shift-intro{max-width:88ch;margin:0 0 28px;color:var(--case-muted)}
.research-shift-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.research-shift-cards>div{padding:22px;border:1px solid var(--case-border);border-radius:20px;background:#ffffff05;min-width:0}
.research-shift-cards>div:nth-child(2){background:#eee5fc0c}
.research-shift-cards>div:nth-child(3){background:#eaf2d20c}
.research-shift-step{display:block;color:#b8a6d0;font-size:11px;font-variant-numeric:tabular-nums;margin-bottom:14px}
.research-shift-cards>div:nth-child(3) .research-shift-step{color:#d8e8bd}
.research-shift-cards h4{font-size:16px;line-height:1.4;margin:0 0 12px}
.case-page .bilka-research-shift .research-shift-cards p{margin:0;color:var(--case-muted)}
.bilka-research-shift .turning-point-takeaway{padding-top:24px;margin-top:28px;border-top:1px solid var(--case-border)}
.case-page .bilka-concept-potential>h2{max-width:18ch;margin:0}
.case-page .bilka-concept-potential .concept-potential-intro{margin:0 0 22px;color:var(--case-muted)}
.concept-potential-cards{display:grid;gap:18px}
.concept-potential-cards>div{padding-left:18px;border-left:2px solid #b8a6d055}
.case-page .bilka-concept-potential .concept-potential-cards h3{margin:0 0 7px;font-size:16px}
.case-page .bilka-concept-potential .concept-potential-cards p{margin:0;color:var(--case-muted)}
@media(max-width:700px){.research-shift-cards{grid-template-columns:minmax(0,1fr)}.research-shift-cards>div{padding:20px}}

/* Potential presented as three lavender title-and-copy cards. */
.bilka-page .case-story>.bilka-concept-potential{display:block}
.case-page .bilka-concept-potential>h2{max-width:none;margin:0 0 16px}
.bilka-concept-potential .concept-potential-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.bilka-concept-potential .concept-potential-cards>div{padding:26px 24px;min-height:230px;border:0;border-radius:20px;background:#ebe5f7;color:#252422;box-sizing:border-box}
.case-page .bilka-concept-potential .concept-potential-cards h3{margin:0 0 24px;font-size:21px;line-height:1.25;color:#252422}
.case-page .bilka-concept-potential .concept-potential-cards p{margin:0;font-size:14px;line-height:1.65;color:#39343f}
@media(max-width:700px){.bilka-concept-potential .concept-potential-cards{grid-template-columns:minmax(0,1fr)}.bilka-concept-potential .concept-potential-cards>div{min-height:0;padding:24px}}

/* Preserve the carousel's original surface when its section order changes. */
.bilka-page .case-story>.feature-carousel{background:var(--case-surface);color:var(--ink)}

/* Bilka feature carousel: risk above, progress in the lower right corner. */
.bilka-page .case-story>.feature-carousel{position:relative}
.bilka-page .feature-carousel .prototype-feature-copy{position:relative}
.bilka-page .feature-carousel .feature-risk-button{top:20px;right:20px;bottom:auto}
.bilka-page .feature-carousel .feature-carousel-nav{position:absolute;right:32px;bottom:24px;padding:0;gap:0;z-index:2}
@media(max-width:700px){.bilka-page .feature-carousel .feature-carousel-nav{right:24px;bottom:20px}.bilka-page .feature-carousel .feature-risk-button{top:14px;right:14px}}

/* A small explicit hint makes both sides of the cards discoverable. */
.bilka-principle-map .principle-flip .principle-map-card{position:relative}
.principle-flip-hint{position:absolute;right:16px;bottom:9px;display:inline-flex;align-items:center;gap:5px;color:var(--case-muted);font-size:9px;line-height:1.3;font-weight:400}
.principle-flip-hint svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.bilka-principle-map .principle-flip:hover .principle-map-card{border-color:#b8a6d080}

.bilka-principle-map .principle-flip-back .principle-map-card{background:#1b1a20}

.bilka-player-progress-row{display:flex;align-items:center;gap:12px;margin-bottom:24px;min-width:0}
.bilka-player-progress-row>.bilka-player-progress{flex:1;min-width:0;margin:0}
.bilka-flow-overview-trigger{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;padding:0;border:0;background:none;color:#c4bfcd;cursor:pointer}
.bilka-flow-overview-trigger .ph-path{width:20px;height:20px;background:currentColor;mask:url('assets/ph-path-filled.svg') center/contain no-repeat;-webkit-mask:url('assets/ph-path-filled.svg') center/contain no-repeat}
.bilka-flow-overview-trigger:hover{color:#eee5fc}
.bilka-flow-overview-trigger:focus-visible{outline:2px solid #b8a6d0;outline-offset:3px;border-radius:6px}
.bilka-flow-overview{width:min(1000px,calc(100vw - 40px));max-height:90dvh;overflow:auto;padding:28px;border:1px solid var(--case-border);border-radius:28px;background:#26252d;color:#f0edf5}
.bilka-flow-overview::backdrop{background:#111117b3;backdrop-filter:blur(8px)}
.bilka-overview-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}
.bilka-overview-heading h2{margin:0;font-size:26px}
.bilka-overview-heading button{width:32px;height:32px;border:1px solid #ffffff24;border-radius:50%;background:none;color:inherit;font-size:22px;cursor:pointer}
.bilka-flow-overview .bilka-overview-content{display:block}
@media(max-width:600px){.bilka-flow-overview{padding:20px}}

/* Concept video and interactive prototype sit side by side in the hero. */
.case-page .bilka-hero-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:center;padding:28px 20px}
.bilka-video-preview,.bilka-prototype-hero-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;min-width:0}
.bilka-hero-previews .bilka-flow-stack{margin:0;width:100%;gap:20px}
.bilka-hero-previews .bilka-concept-phone{width:min(100%,155px)}
.bilka-hero-previews .flow-card-deck{width:180px;height:340px;max-width:100%}
.bilka-hero-previews .flow-card-deck img{width:112px;height:250px;top:45px}
.bilka-hero-previews .flow-card-deck img:nth-child(1){left:62px;top:54px}
.bilka-hero-previews .flow-card-deck img:nth-child(2){left:0;top:54px}
.bilka-hero-previews .flow-card-deck img:nth-child(3){left:32px;top:40px}
.bilka-hero-previews .bilka-video-button,.bilka-hero-previews .flow-stack-label{font-size:12px;padding:12px 14px;white-space:nowrap}
@media(max-width:500px){.case-page .bilka-hero-previews{gap:12px;padding:24px 14px}.bilka-hero-previews .flow-card-deck{transform:scale(.85);transform-origin:center}.bilka-hero-previews .bilka-video-button,.bilka-hero-previews .flow-stack-label{font-size:10px;padding:10px}}

.bilka-page .blueprint-chevron.ph-arrow-down,.bilka-page .section-disclosure-chevron.ph-arrow-down{display:inline-block;flex:0 0 18px;width:18px;height:18px;background:currentColor;mask:url('assets/ph-arrow-down-bold.svg') center/contain no-repeat;-webkit-mask:url('assets/ph-arrow-down-bold.svg') center/contain no-repeat}

/* Keep cloned flow lists aligned with the headings inside the popup. */
#bilka-flow-overview .bilka-ia-grid{width:100%;min-width:0;box-sizing:border-box}
#bilka-flow-overview .bilka-ia-grid>section{min-width:0}
#bilka-flow-overview .bilka-ia-grid ul{list-style:none;padding:0;margin:0;width:100%;box-sizing:border-box;align-content:start}
#bilka-flow-overview .bilka-ia-grid li{width:100%;min-width:0;margin:0;box-sizing:border-box;min-height:44px;align-items:center;font-size:13px;line-height:1.45}
#bilka-flow-overview .bilka-ia-grid h4{margin:0 0 22px}

/* Let the concept video share the prototype player's blurred backdrop. */
#bilka-video-dialog{background:transparent;border-color:transparent;box-shadow:none}
#bilka-video-dialog::backdrop{background:#111117a6;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}

/* Use the prototype player's silver phone shell in both hero previews. */
.bilka-hero-previews .bilka-concept-phone.showcase-device,.bilka-hero-previews .bilka-deck-phone.showcase-device{--device-angle:0deg;animation:none;padding:4px;border:1.5px solid #b7b8b3;border-radius:25px;background:#080909;box-shadow:inset 0 0 0 1px #ffffff35,0 12px 24px #0003;overflow:visible;aspect-ratio:403/862;max-width:none;box-sizing:border-box}
.bilka-hero-previews .bilka-concept-phone.showcase-device{width:min(100%,155px);transform:none}
.bilka-hero-previews .showcase-device-screen{display:block;width:100%;height:100%;aspect-ratio:393/852;border-radius:20px;overflow:hidden}
.bilka-hero-previews .bilka-concept-phone img,.bilka-hero-previews .flow-card-deck img{position:static;display:block;width:100%;height:100%;border:0;border-radius:0;box-shadow:none;object-fit:cover;transform:none;transition:none}
.bilka-hero-previews .flow-card-deck .bilka-deck-phone{position:absolute;display:block;width:112px;height:auto;top:45px;transition:transform .3s ease}
.bilka-hero-previews .bilka-deck-phone:nth-child(1){left:62px;top:54px;transform:rotate(12deg);z-index:1}
.bilka-hero-previews .bilka-deck-phone:nth-child(2){left:0;top:54px;transform:rotate(-12deg);z-index:2}
.bilka-hero-previews .bilka-deck-phone:nth-child(3){left:32px;top:40px;transform:none;z-index:3}
.bilka-hero-previews .bilka-flow-stack:hover .flow-card-deck img{transform:none}
.bilka-hero-previews .bilka-flow-stack:hover .bilka-deck-phone:nth-child(1){transform:translateX(5px) rotate(16deg)}
.bilka-hero-previews .bilka-flow-stack:hover .bilka-deck-phone:nth-child(2){transform:translateX(-5px) rotate(-16deg)}
.bilka-hero-previews .bilka-flow-stack:hover .bilka-deck-phone:nth-child(3){transform:translateY(-5px)}
@media(prefers-reduced-motion:reduce){.bilka-hero-previews .flow-card-deck .bilka-deck-phone{transition:none}}

#bilka-video-dialog a.bilka-video-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 18px;border:1px solid #ffffff1a;border-radius:999px;background:#ffffff04;box-shadow:none;color:#c4bfcd;font-weight:400;font-size:13px;line-height:1.4}
#bilka-video-dialog a.bilka-video-button:hover{background:#ffffff09;border-color:#ffffff30;color:#eee5fc}
#bilka-video-dialog .ti-brand-youtube{display:block;width:20px;height:20px;flex-shrink:0;background:currentColor;mask:url('assets/ti-brand-youtube.svg') center/contain no-repeat;-webkit-mask:url('assets/ti-brand-youtube.svg') center/contain no-repeat}

#bilka-video-dialog .bilka-video{position:relative}
.bilka-video-play-overlay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:68px;height:68px;padding:0;border:1px solid #ffffff28;border-radius:50%;background:#17151d30;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#eee5fce0;cursor:pointer;transition:background .2s,color .2s}
.bilka-video-play-overlay[hidden]{display:none}
.bilka-video-play-overlay .ph-play-circle{display:block;width:42px;height:42px;background:currentColor;mask:url('assets/ph-play-circle-filled.svg') center/contain no-repeat;-webkit-mask:url('assets/ph-play-circle-filled.svg') center/contain no-repeat}
.bilka-video-play-overlay:hover{background:#17151d55;color:#fff}
.bilka-video-play-overlay:focus-visible{outline:2px solid #ddd2f5;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.bilka-video-play-overlay{transition:none}}

#bilka-video-dialog .bilka-video.is-thumbnail video{filter:blur(.7px) brightness(.96)}
#bilka-video-dialog .bilka-video.is-thumbnail .bilka-video-play-overlay{z-index:1}

/* Hero actions share the understated YouTube button appearance. */
.bilka-hero-previews .bilka-video-button,.bilka-hero-previews .flow-stack-label{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 18px;border:1px solid #ffffff1a;border-radius:999px;background:#ffffff04;box-shadow:none;color:#c4bfcd;font-size:13px;font-weight:400;line-height:1.4;font-family:inherit}
.bilka-hero-previews .bilka-video-button:hover,.bilka-hero-previews .bilka-flow-stack:hover .flow-stack-label{background:#ffffff09;border-color:#ffffff30;color:#eee5fc}
.bilka-hero-previews button.bilka-concept-phone{display:block;cursor:pointer;font:inherit;color:inherit}
.bilka-hero-previews button.bilka-concept-phone:focus-visible{outline:2px solid #b8a6d0;outline-offset:5px}
@media(max-width:500px){.bilka-hero-previews .bilka-video-button,.bilka-hero-previews .flow-stack-label{font-size:10px;padding:10px}}

.bilka-video-actions{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;width:100%}
.bilka-video-actions>a{grid-column:2}
.bilka-video-actions>[data-video-to-prototype]{grid-column:3;justify-self:end}
.bilka-video-actions .ph-arrow-right{display:inline-block;flex-shrink:0;width:18px;height:18px;background:currentColor;-webkit-mask:url("assets/ph-arrow-right.svg") center/contain no-repeat;mask:url("assets/ph-arrow-right.svg") center/contain no-repeat}
@media(max-width:650px){.bilka-video-actions{grid-template-columns:1fr;justify-items:center}.bilka-video-actions>a,.bilka-video-actions>[data-video-to-prototype]{grid-column:1;justify-self:center}}
#bilka-video-dialog .bilka-video-actions .bilka-video-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 18px;border:1px solid #ffffff1a;border-radius:999px;background:#ffffff04;box-shadow:none;color:#c4bfcd;font-family:inherit;font-weight:400;font-size:13px;line-height:1.4;cursor:pointer}
#bilka-video-dialog .bilka-video-actions .bilka-video-button:hover{background:#ffffff09;border-color:#ffffff30;color:#eee5fc}

#bilka-app-dialog .bilka-back-to-video{display:inline-flex;align-items:center;justify-content:center;gap:9px;margin:18px 0 0;padding:11px 18px;border:1px solid #ffffff1a;border-radius:999px;background:#ffffff04;box-shadow:none;color:#c4bfcd;font-size:13px;line-height:1.4;font-weight:400;font-family:inherit;cursor:pointer}
#bilka-app-dialog .bilka-back-to-video:hover{background:#ffffff09;border-color:#ffffff30;color:#eee5fc}
.bilka-back-to-video .ph-arrow-left{display:inline-block;width:18px;height:18px;background:currentColor;transform:rotate(180deg);-webkit-mask:url('assets/ph-arrow-right.svg') center/contain no-repeat;mask:url('assets/ph-arrow-right.svg') center/contain no-repeat}

.app-preview .prototype-zoom-toolbar { align-items:center; gap:12px; }
.app-preview .prototype-zoom-toggle { gap:8px; padding:8px 12px; border-radius:16px; background:#ffffff0d; font-weight:400; }
.app-preview .prototype-zoom-toggle select { padding:0; background:transparent; font-weight:400; }
.app-preview .prototype-zoom-toolbar .prototype-figma-link { position:static; transform:none; display:inline-flex; align-items:center; justify-content:center; margin:0; padding:12px; border:1px solid #ffffff40; border-radius:16px; background:#ffffff0d; color:#f0edf5; font:12px/1.4 Arial,sans-serif; white-space:nowrap; }
