/* Portfolio update · 15 October 2026. Scoped styles preserve the existing site. */
.portfolio-filled{position:relative;isolation:isolate;background:#11181e}
.portfolio-filled:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 87% 70%,#35506455,transparent 55%),radial-gradient(ellipse at 8% 18%,#64849e24,transparent 46%)}
.portfolio-filled .portfolio-heading{align-items:flex-end;gap:32px}
.portfolio-intro{max-width:320px;color:#b7cad8;font-size:15px;line-height:1.7}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.project-card{min-width:0;overflow:hidden;border:1px solid #d8ecff33;border-radius:24px;background:linear-gradient(140deg,#ffffff12,#ffffff05);box-shadow:inset 0 1px 0 #ffffff20,0 20px 44px #0002;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.project-link{display:flex;flex-direction:column;height:100%;color:#f0f6fb;transition:background .2s}
.project-link:focus-visible{outline:3px solid #d1e7ff;outline-offset:-4px;border-radius:24px}
.project-image{overflow:hidden;aspect-ratio:1.25;background:#1b251f}
.project-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.project-image--alpha-dent{background:#0b1b1e;display:flex;align-items:center}
.project-image--alpha-dent img{object-fit:contain}
.project-content{padding:25px;display:flex;flex-direction:column;flex:1}
.project-meta{display:flex;justify-content:space-between;gap:16px;font-size:11px;line-height:1.6;letter-spacing:.06em;text-transform:uppercase;color:#b5cadb;margin-bottom:19px}
.project-content h3{font-size:clamp(24px,2.2vw,34px);line-height:1.12;letter-spacing:-.04em;color:#fff;text-wrap:balance}
.project-content>p{font-size:15px;line-height:1.65;margin-top:16px;margin-bottom:25px;color:#bdcbd6}
.project-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:20px;border-top:1px solid #d6e9ff24;flex-wrap:wrap}
.project-status{font-size:11px;color:#a9bdcd;line-height:1.5}
.project-more{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:44px;padding:10px 17px;border:1px solid #b6d4ed66;border-radius:999px;font-size:13px;line-height:1.5;color:#f3f8ff;background:#b5d4f00a;white-space:nowrap;transition:background .2s,color .2s}
.project-more>span{font-size:20px;line-height:1}
.project-link:hover{background:#d5eaff08}
.project-link:hover .project-image img{transform:scale(1.035)}
.project-link:hover .project-more{background:#deefff;color:#142534}
.portfolio-filled .portfolio-note{margin-top:26px;max-width:860px;color:#a9bfce;font-size:13px}

/* Case study pages */
.case-page{background:#f1f5f8;--case-accent:#b6cfe2}
.theme-nikol{--case-accent:#d4d2ac}.theme-alpha-dent{--case-accent:#8bdae0}.theme-tvoe-prostranstvo{--case-accent:#e0c895}
.case-page .header-inner{gap:30px}
.case-page .header-cta{white-space:nowrap}
.case-page .desktop-nav{gap:26px}
.case-opening{background:radial-gradient(ellipse at 85% 13%,#334f6245,transparent 50%),#11181e;color:#f3f8fc;padding:30px 0 65px}
.case-breadcrumb{display:flex;flex-wrap:wrap;gap:10px 16px;font-size:12px;line-height:1.7;color:#b4c5d1;margin-bottom:64px}
.case-breadcrumb a{display:inline-flex;min-height:32px;align-items:center;border-bottom:1px solid #a7bfd430}
.case-breadcrumb>span{display:inline-flex;align-items:center}
.case-breadcrumb a:hover{color:#fff}
.case-heading{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,.75fr);gap:64px;align-items:end}
.case-heading .eyebrow{margin-bottom:24px;color:var(--case-accent)}
.case-heading h1{font-size:clamp(46px,6.5vw,92px);line-height:1.04;font-weight:500;letter-spacing:-.06em;overflow-wrap:break-word;text-wrap:balance;max-width:960px}
.case-tagline{font-size:clamp(22px,2.35vw,33px);line-height:1.25;color:#b2c6d7;margin-top:26px;letter-spacing:-.03em}
.case-intro-card{padding:30px;border:1px solid #e1efff30;border-radius:22px;background:linear-gradient(135deg,#eef8ff12,#ffffff03);box-shadow:inset 0 1px 0 #ffffff20;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.case-chip{display:inline-block;padding:7px 12px;font-size:11px;line-height:1.5;border:1px solid #bed6eb50;border-radius:999px;color:var(--case-accent);margin-bottom:21px}
.case-intro-card>p{font-size:15px;line-height:1.7;color:#d0dce6}
.case-inline-link{display:flex;justify-content:space-between;align-items:center;min-height:44px;margin-top:23px;border-bottom:1px solid #cadcf94a;font-size:14px}
.case-inline-link span{font-size:23px;color:var(--case-accent)}
.case-facts{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px;padding:27px 0;margin:44px 0 40px;border-top:1px solid #e1efff26;border-bottom:1px solid #e1efff26}
.case-facts dt{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#a5bccf;margin-bottom:9px}
.case-facts dd{font-size:14px;line-height:1.6;margin:0;color:#e5eef6}
.case-figure{margin:0;min-width:0}
.case-image-link{position:relative;display:block;overflow:hidden;background:#dee5e9;border:1px solid #142a3e15;border-radius:18px;cursor:zoom-in}
.case-image-link img{width:100%;height:auto;display:block}
.case-image-link:focus-visible{outline:3px solid #397bb3;outline-offset:5px}
.zoom-hint{position:absolute;right:14px;bottom:14px;padding:8px 13px;border:1px solid #d8e9f455;border-radius:999px;color:#fff;background:#14222ce8;font-size:11px;line-height:1.5;box-shadow:0 3px 10px #0002;opacity:0;transition:opacity .15s}
.case-image-link:hover .zoom-hint,.case-image-link:focus-visible .zoom-hint{opacity:1}
.case-figure figcaption{display:flex;margin-top:14px;color:#536a7d;font-size:13px;line-height:1.6}
.case-hero-image figcaption{color:#aac0d2}
.case-hero-image .case-image-link{border-color:#d4e9ff33}
.case-story{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:95px;padding-top:92px;padding-bottom:92px}
.case-section-label .eyebrow{margin-bottom:26px}
.case-section-label h2{font-size:clamp(28px,3vw,43px);line-height:1.12;letter-spacing:-.045em}
.case-prose h3{font-size:20px;line-height:1.3;margin-bottom:15px;letter-spacing:-.025em}
.case-prose p{font-size:17px;line-height:1.8;color:#455c6f;max-width:720px}
.case-prose h3:not(:first-child){margin-top:30px}
.case-solutions{background:#e6eef4;border-top:1px solid #cad8e4;border-bottom:1px solid #cad8e4}
.solution-list{padding:0;margin:0;list-style:none}
.solution-list>li{display:grid;grid-template-columns:34px minmax(0,1fr);gap:20px;padding:25px 0;border-bottom:1px solid #bdd0de}
.solution-list>li:first-child{padding-top:0}
.solution-list>li:last-child{border-bottom:0;padding-bottom:0}
.solution-number{font-size:13px;color:#536e84;padding-top:5px}
.solution-list h3{font-size:23px;line-height:1.3;letter-spacing:-.03em}
.solution-list p{font-size:16px;line-height:1.75;color:#435e73;margin-top:13px}
.case-design{padding-top:92px;padding-bottom:92px}
.case-design-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:38px}
.case-design-heading .eyebrow{margin-bottom:22px}
.case-design-heading h2{font-size:clamp(30px,3.5vw,48px);line-height:1.12}
.case-design-heading>p{color:#536a7d;font-size:14px;line-height:1.7}
.case-palette{display:flex;align-items:center;justify-content:space-between;gap:30px;border-top:1px solid #c6d5e0;border-bottom:1px solid #c6d5e0;padding:24px 0;margin-bottom:38px}
.case-palette ul{display:flex;flex-wrap:wrap;gap:24px;list-style:none;margin:0;padding:0}
.case-palette li{display:flex;align-items:center;gap:12px;font-size:12px;color:#253f52}
.swatch{display:block;width:38px;height:38px;border-radius:50%;border:1px solid #182b4326;background:var(--swatch)}
.case-palette small{display:block;font-size:10px;letter-spacing:.06em;color:#516c80;margin-top:3px}
.case-palette>p{font-size:15px;line-height:1.6;color:#213a4c}
.case-palette>p>span{display:block;color:#587185;font-size:11px;margin-bottom:4px}
.case-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 24px}
.case-gallery .case-figure:first-child,.case-gallery .case-figure:last-child{grid-column:1/-1}
.case-cx{position:relative;background:radial-gradient(ellipse at 90% 60%,#3859705c,transparent 60%),#14202b;color:#f5f9fc;padding:86px 0}
.case-cx .eyebrow{color:var(--case-accent);margin-bottom:30px}
.case-cx h2{font-size:clamp(36px,4.7vw,66px);line-height:1.07}
.case-cx-copy{max-width:800px;font-size:18px;line-height:1.85;color:#c1d2df;margin-top:30px}
.cx-path{display:flex;flex-wrap:wrap;align-items:center;gap:15px;margin-top:36px;font-size:13px;color:#e0edf7}
.cx-path>span{padding:9px 17px;border:1px solid #b2d2ed55;border-radius:999px;background:#b4d7f40b}
.cx-path>i{font-style:normal;color:var(--case-accent)}
.case-prose .case-result-lead{font-size:20px;line-height:1.7;color:#253e52}
.case-prose .case-disclosure{font-size:13px;line-height:1.8;padding-top:23px;margin-top:27px;border-top:1px solid #c1d1dd;color:#536a7d}
.case-contact{border-top:1px solid #c3d3e1;display:flex;align-items:center;justify-content:space-between;gap:36px;padding-top:52px;padding-bottom:56px}
.case-contact .eyebrow{margin-bottom:22px}
.case-contact h2{font-size:clamp(28px,3.1vw,44px);line-height:1.1}
.case-contact p:not(.eyebrow){font-size:15px;line-height:1.7;max-width:570px;color:#536a7d;margin-top:20px}
.case-contact .button{flex-shrink:0;gap:20px}
.case-next{padding-top:30px;padding-bottom:40px;display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid #c3d3e1}
.case-next>a{min-height:44px;display:flex;flex-direction:column;justify-content:center;font-size:14px;color:#29475e}
.case-next>a:last-child{text-align:right}
.case-next small{font-size:11px;color:#5b7385;margin-bottom:7px}
.case-next>a>span{font-size:24px;letter-spacing:-.04em;line-height:1.25}
.case-next>a:hover{color:#0c1925}
.case-page .footer .shell{flex-wrap:wrap}
.case-page .footer .shell>a:not(.logo){font-size:12px;color:#c9dbe8;min-height:44px;display:flex;align-items:center}

/* The dialog enhances normal image links. Images remain accessible without JS. */
.case-lightbox{position:fixed;inset:0;width:min(1550px,96vw);max-width:none;height:94vh;max-height:94dvh;padding:0;border:1px solid #607b91;border-radius:18px;background:#101b24;color:#fff;box-shadow:0 20px 100px #0006}
.case-lightbox::backdrop{background:#07121ce8;backdrop-filter:blur(12px)}
.lightbox-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 20px;border-bottom:1px solid #536a7d}
.lightbox-toolbar p{font-size:14px;line-height:1.5}
.lightbox-close{display:flex;align-items:center;gap:20px;min-width:100px;min-height:44px;color:#fff;background:#233747;border:1px solid #5f7c93;border-radius:999px;padding:8px 16px;white-space:nowrap}
.lightbox-close>span{font-size:25px;line-height:1}
.lightbox-scroll{height:calc(100% - 70px);overflow:auto;padding:18px;overscroll-behavior:contain}
.lightbox-scroll img{display:block;margin:0 auto;width:auto;max-width:100%;height:auto}
.lightbox-caption{font-size:13px;line-height:1.7;color:#c0d2df;margin:20px auto;max-width:900px;text-align:center}
.case-page.has-lightbox{overflow:hidden}

@media(min-width:961px) and (max-width:1200px){.project-grid{gap:16px}.project-content{padding:22px}.project-bottom{align-items:flex-start;flex-direction:column}.project-content h3{font-size:27px}.case-heading{gap:36px}.case-story{gap:55px}.case-page .desktop-nav{gap:19px}}
@media(max-width:960px){.project-grid{grid-template-columns:minmax(0,1fr);max-width:700px;margin:0 auto;gap:28px}.project-image{aspect-ratio:1.5}.project-content{padding:28px}.project-content h3{font-size:34px}.project-bottom{flex-direction:row}.portfolio-filled .portfolio-heading{align-items:flex-start}.portfolio-intro{max-width:270px}.case-heading{grid-template-columns:1fr;gap:30px}.case-intro-card{max-width:650px}.case-heading h1{font-size:64px}.case-tagline{font-size:29px}.case-facts{grid-template-columns:1.4fr 1fr 1fr;gap:22px}.case-story{grid-template-columns:1fr;gap:36px;padding-top:65px;padding-bottom:65px}.case-section-label h2 br{display:none}.case-prose p{max-width:none}.case-design{padding-top:65px;padding-bottom:65px}.case-palette{align-items:flex-start;flex-direction:column}.case-contact{align-items:flex-start;flex-direction:column}.case-page .desktop-nav{gap:16px;font-size:12px}.case-page .header-inner{gap:20px}.case-page .header-cta{font-size:12px}}
@media(max-width:760px){.portfolio-filled .portfolio-heading{display:block}.portfolio-intro{max-width:480px;margin-top:22px}.portfolio-intro br{display:none}.case-opening{padding-top:20px;padding-bottom:42px}.case-breadcrumb{margin-bottom:38px;gap:8px 11px}.case-heading h1{font-size:clamp(38px,9vw,64px)}.case-tagline{font-size:25px}.case-intro-card{padding:25px}.case-facts{grid-template-columns:1fr;gap:20px;margin-top:32px;margin-bottom:28px}.case-facts>div{display:grid;grid-template-columns:110px 1fr;gap:16px}.case-facts dt{margin:0;padding-top:2px}.case-facts dd{font-size:13px}.case-design-heading{display:block}.case-design-heading>p{margin-top:20px}.case-design-heading>p br{display:none}.case-gallery{grid-template-columns:1fr;gap:28px}.case-gallery .case-figure{grid-column:auto}.case-cx{padding:60px 0}.case-cx-copy{font-size:17px}.case-cx h2{font-size:39px}.case-page .header-cta{font-size:13px}.case-page .case-contact .button{width:100%;min-height:54px}.case-palette ul{gap:18px}.zoom-hint{opacity:1;right:8px;bottom:8px;font-size:10px;padding:6px 10px}.case-lightbox{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.lightbox-toolbar{padding:10px 14px}.lightbox-toolbar p{font-size:12px}.lightbox-scroll{padding:12px}.lightbox-scroll img{max-width:none;width:1000px}.lightbox-caption{text-align:left}.case-image-link{border-radius:12px}}
@media(max-width:480px){.project-grid{gap:22px}.project-content{padding:23px}.project-content h3{font-size:31px}.project-content>p{font-size:15px}.project-meta{margin-bottom:16px}.project-bottom{gap:13px}.project-status{font-size:10px}.project-more{gap:12px;padding:9px 13px}.project-image{aspect-ratio:1.25}.case-heading h1{font-size:41px}.case-tagline{font-size:23px;line-height:1.3}.case-intro-card{padding:22px}.case-story{padding-top:52px;padding-bottom:52px;gap:30px}.case-section-label h2{font-size:31px}.case-prose p{font-size:16px;line-height:1.8}.case-design{padding-top:52px;padding-bottom:52px}.case-design-heading h2{font-size:33px}.solution-list>li{gap:13px;grid-template-columns:26px 1fr}.solution-list h3{font-size:22px}.solution-list p{font-size:15px}.case-palette li{font-size:11px;gap:9px}.swatch{width:30px;height:30px}.case-palette ul{gap:15px}.case-cx h2{font-size:35px}.cx-path{gap:9px;font-size:11px}.cx-path>span{padding:8px 11px}.case-prose .case-result-lead{font-size:18px}.case-prose .case-disclosure{font-size:12px}.case-next{align-items:flex-start}.case-next>a>span{font-size:20px}.case-next>a{font-size:12px}.case-next>a:last-child{max-width:60%}.case-page .header-inner{gap:15px}.case-page .header-cta{font-size:12px}.case-contact h2{font-size:31px}}
@media(prefers-reduced-motion:reduce){.project-link,.project-image img,.project-more,.zoom-hint{transition:none}.project-link:hover .project-image img{transform:none}.case-page{scroll-behavior:auto}}
