:root{
  color-scheme:light;
  --paper:#f7f9fd;--white:#fff;--ink:#132039;--muted:#45566e;
  --blue:#205ba9;--blue-deep:#173d79;--blue-pale:#eaf3fe;--line:#d5e2f1;
  --gutter:clamp(20px,4.3vw,64px);--bar:61px;--max:1240px;
  --space:clamp(59px,6.4vw,99px);
  --display:Inter,Arial,"Segoe UI",system-ui,sans-serif;
  --body:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--bar) + 20px)}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 var(--body);-webkit-font-smoothing:antialiased}
body.dialog-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
button:not(:disabled),summary{cursor:pointer}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,p,figure,ul,ol{margin:0}
h1,h2,h3{font-family:var(--display);font-weight:750}
h1,h2,h3,strong{overflow-wrap:break-word}
h2{font-size:clamp(35px,4.2vw,62px);line-height:1.02;letter-spacing:-.052em}
h3{line-height:1.13;letter-spacing:-.037em}
svg{display:block;flex:none}
:focus-visible{outline:2px solid #2465bc;outline-offset:4px}
::selection{background:#cbe1ff;color:#172d51}
.skip-link{position:fixed;left:var(--gutter);top:7px;z-index:90;transform:translateY(-150%);background:#fff;color:var(--blue-deep);padding:10px 17px;border-radius:999px;font-weight:700}
.skip-link:focus{transform:none}
.wrap{width:min(calc(100% - 2 * var(--gutter)),var(--max));margin-inline:auto}
.section{padding-block:var(--space)}
.eyebrow{font-size:11px;font-weight:690;letter-spacing:.10em;line-height:1.45;text-transform:uppercase;color:#42618a;margin-bottom:16px}
.two-col{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:clamp(26px,7vw,100px);align-items:start}
.section-head{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:end;gap:clamp(22px,6vw,85px);margin-bottom:clamp(23px,3.4vw,43px)}
.section-head>p,.section-aside>p:not(.eyebrow){color:var(--muted);font-size:clamp(15px,1.15vw,17px);line-height:1.62;max-width:48ch}
.text-action{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding-block:8px;border-bottom:1px solid currentColor;color:var(--blue-deep);font-size:14px;font-weight:720}
.text-action:hover{color:#377abf}
.button{
  display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;
  padding:10px 16px;border:1px solid transparent;border-radius:999px;font-weight:690;font-size:14px;line-height:1.2;
  transition:background-color .18s,border-color .18s,color .18s
}
.button-accent{background:var(--blue);color:#fff;border-color:var(--blue)}
.button-accent:hover{background:#184984;border-color:#184984}
.button-line{background:transparent;color:var(--blue-deep);border-color:#8daed5}
.button-line:hover{background:#dcecff;border-color:#4b7fbc}

/* Compact masthead */
.site-header{position:sticky;top:0;z-index:20;background:#f9fbff;border-bottom:1px solid #d9e5f3}
.header-inner{height:var(--bar);display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:11px;min-width:0;min-height:44px;white-space:nowrap}
.brand img{width:42px;height:42px;flex:none}
.brand-divider{align-self:center;flex:none;width:1px;height:26px;background:#a6c0df}
.brand strong{font-size:18px;line-height:1.13;letter-spacing:-.033em;font-weight:720}
.main-nav{display:flex;align-items:center;gap:clamp(17px,2.65vw,40px)}
.main-nav>a{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap;font-size:14px;font-weight:590;color:#273b5a}
.main-nav>a:hover{color:#145aa8;text-decoration:underline;text-underline-offset:5px}
.menu-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:44px;height:44px;padding:0;border:1px solid #9cb5d6;border-radius:50%;background:#fff;flex:none}
.menu-toggle span{width:17px;height:1.5px;background:currentColor;transition:transform .2s}
.menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(3.25px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-3.25px) rotate(-45deg)}

/* Intro and portfolio */
.hero{background:var(--blue-pale);padding-block:clamp(32px,3.8vw,54px) clamp(30px,3.4vw,49px)}
.hero-inner{display:grid;grid-template-columns:minmax(0,1.24fr) minmax(0,.76fr);gap:clamp(25px,5vw,71px);align-items:center}
.hero h1{font-size:clamp(48px,5.22vw,76px);line-height:.98;letter-spacing:-.063em}
.hero h1 span{color:#255b9e}
.hero .eyebrow{margin-bottom:13px}
.hero-lead{max-width:51ch;margin-top:21px;color:#263e5e;font-size:clamp(16px,1.37vw,19px);line-height:1.49;text-wrap:pretty}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:21px}
.hero-actions .button{justify-content:center;text-align:center;padding-inline:17px}

.hero-compare{width:min(100%,440px);min-width:0;justify-self:end}
.hero-compare-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:3px}
.hero-compare-head h2{font-size:clamp(16px,1.55vw,20px);line-height:1.18;letter-spacing:-.025em}
.hero-compare-case{
  display:inline-flex;align-items:center;min-height:44px;flex:none;
  color:var(--blue-deep);font-size:12px;font-weight:690;text-decoration:underline;text-decoration-color:#90aece;text-underline-offset:4px
}
.hero-compare-case:hover,.hero-compare-case:focus-visible{text-decoration-color:currentColor}
.hero-compare-card{overflow:hidden;border:1px solid #bacee8;border-radius:12px;background:#f8fbff}
.hero-compare-labels{
  display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 11px;
  min-height:29px;color:#415875;font-size:12px;line-height:1.25;font-weight:670
}
.hero-compare-labels>span:last-child{margin-inline-start:auto;color:var(--blue-deep)}
.hero-compare-view{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:1.96;background:#18212a}
.hero-compare-view>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:left top;pointer-events:none}
.hero-compare-before{clip-path:inset(0 calc(100% - var(--compare-cut)) 0 0)}
.hero-compare-range{
  position:absolute;inset:0;z-index:2;width:100%;height:100%;margin:0;padding:0;border:0;
  appearance:none;background:none;opacity:0;cursor:ew-resize;touch-action:pan-y
}
.hero-compare-range::-webkit-slider-runnable-track{height:100%}
.hero-compare-range::-webkit-slider-thumb{appearance:none;width:1px;height:100%;border:0}
.hero-compare-range::-moz-range-track{height:100%}
.hero-compare-range::-moz-range-thumb{width:1px;height:100%;border:0}
.hero-compare-divider{position:absolute;inset:0;z-index:1;pointer-events:none}
.hero-compare-divider::before{
  content:"";position:absolute;inset-block:0;left:var(--compare-cut);width:2px;
  transform:translateX(-50%);background:#fff;box-shadow:0 0 0 1px #172b4e54
}
.hero-compare-handle{
  position:absolute;top:50%;left:clamp(22px,var(--compare-cut),calc(100% - 22px));transform:translate(-50%,-50%);
  display:grid;place-items:center;width:38px;height:38px;border:1px solid #c0d0e5;border-radius:50%;
  background:#fff;color:var(--blue-deep);box-shadow:0 2px 8px #182f5254
}
.hero-compare-range:hover+.hero-compare-divider .hero-compare-handle{background:#edf5ff}
.hero-compare-range:focus-visible+.hero-compare-divider .hero-compare-handle{outline:2px solid #2465bc;outline-offset:2px}
.hero-compare-caption{min-block-size:56px;padding:8px 11px 10px;color:#314967;font-size:12px;line-height:1.39;text-wrap:pretty}
#hero-compare-tip{margin-bottom:3px;color:#4b6483;font-size:11px;line-height:1.3}

.projects{padding-top:clamp(33px,3.65vw,52px)}
.editorial-head{display:grid;grid-template-columns:minmax(0,.59fr) minmax(0,1.41fr);align-items:start;gap:26px;margin-bottom:29px}
.editorial-head>.eyebrow{padding-top:5px}
.portfolio-heading h2{font-size:clamp(37px,4.02vw,59px)}
@media(min-width:781px){
  .portfolio-heading{align-items:center}
  .portfolio-heading>.eyebrow{padding-top:0;margin-bottom:0}
  .portfolio-heading h2{justify-self:end;text-align:right;text-wrap:balance}
}
.work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(15px,1.7vw,25px)}
.work-card{min-width:0;border:1px solid var(--case-border);border-radius:20px;background:var(--case-card);color:var(--case-ink);overflow:hidden}
.work-card:focus-within{outline:2px solid var(--blue);outline-offset:3px}
.work-feature,.work-short{grid-column:1/-1}
.card-link{display:grid;grid-template-rows:auto 1fr;min-width:0;height:100%;position:relative}
.card-link:focus-visible{outline:none}
.card-art{position:relative;overflow:hidden;min-width:0;background:var(--case-media);aspect-ratio:1.86}
.card-art .art-primary{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .45s cubic-bezier(.2,.6,.25,1)}
.card-link:hover .art-primary{transform:scale(1.025)}
.card-content{display:grid;align-content:center;justify-items:start;gap:clamp(15px,2vw,27px);min-width:0;padding:clamp(21px,3vw,44px)}
.status{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--case-muted);font-weight:680;line-height:1.35}
.status>span{display:block;width:7px;height:7px;border-radius:50%;background:var(--case-mark);flex:none}
.card-kind{font-size:12px;color:var(--case-muted);letter-spacing:.025em}
.card-link h3{font-size:clamp(33px,4.2vw,62px);letter-spacing:-.057em;line-height:.98;margin-top:7px}
.card-brief{max-width:44ch;color:var(--case-muted);font-size:clamp(15px,1.29vw,18px);line-height:1.48;margin-top:12px}
.card-points{display:flex;flex-wrap:wrap;align-items:center;gap:7px 14px;padding:0;list-style:none;color:var(--case-muted)}
.card-points li{display:flex;align-items:baseline;gap:7px;font-size:12px;line-height:1.26}
.card-points li::before{content:"";display:inline-block;background:var(--case-mark);width:4px;height:4px;border-radius:50%;flex:none;align-self:center}
.card-action{display:inline-flex;align-items:center;gap:13px;min-height:41px;border:1px solid var(--case-ring);border-radius:999px;padding:8px 13px;font-size:13px;color:var(--case-ink);font-weight:720;transition:background .2s,border-color .2s,color .2s}
.card-link:hover .card-action{background:var(--case-ink);border-color:var(--case-ink);color:var(--case-card)}
.work-feature .card-link{grid-template-columns:minmax(0,.79fr) minmax(0,1.21fr);grid-template-rows:minmax(395px,auto);grid-template-areas:"content art"}
.work-feature .card-content{grid-area:content}
.work-feature .card-art{grid-area:art;aspect-ratio:auto}
.work-lestarov .card-link{grid-template-rows:minmax(clamp(390px,40vw,570px),auto)}
.work-feature-photo .card-art .art-primary{position:absolute;inset:0;object-position:50% 55%}
.work-restaw h3{font-size:clamp(52px,6.1vw,89px)}
.work-lestarov h3{font-size:clamp(43px,5.0vw,72px);max-width:10ch}
.work-pstg .card-link{grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);grid-template-areas:"art content";grid-template-rows:minmax(338px,auto)}
.work-pstg h3{font-size:clamp(40px,4.5vw,67px)}
.art-inset{position:absolute;width:clamp(85px,18%,165px);z-index:1;background:#fff;padding:5px;border-radius:10px;box-shadow:0 14px 35px #16273b42}
.art-inset img{width:100%;height:auto;border-radius:6px}
.art-inset span{display:block;text-align:center;padding:6px 1px 3px;color:#3d4a58;font-size:10px;line-height:1.2}
.card-art-lestarov .art-inset{left:clamp(16px,3vw,43px);bottom:clamp(17px,3vw,41px);width:clamp(115px,24%,182px);border-radius:9px;background:#f8f1e4}
.card-art-lestarov .art-inset img{border-radius:5px}
.card-art-restaw,.card-art-pstg{display:grid;align-items:center;justify-items:start;padding:clamp(19px,3.25vw,46px)}
.card-art-restaw .art-primary,.card-art-pstg .art-primary{width:91%;height:auto;border-radius:10px;box-shadow:0 14px 35px #14233135}
.card-art-restaw .art-inset,.card-art-pstg .art-inset{right:clamp(13px,3vw,37px);bottom:clamp(20px,3.4vw,45px)}
.card-art-restaw .art-inset img,.card-art-pstg .art-inset img{max-height:clamp(148px,18vw,263px);object-fit:cover;object-position:top}
.card-art-pstg .art-primary{width:86%}
.card-art-well-welding-rus{display:grid;align-items:center;padding:6.2% 6.8%}
.card-art-well-welding-rus .art-primary{height:auto;width:91%;object-fit:contain;border-radius:8px;box-shadow:0 8px 22px #2443662b}
.card-art-well-welding-rus .art-inset{right:5%;bottom:10%;width:24%;padding:4px}
.card-art-well-welding-rus .art-inset span{display:none}
.card-art-global-systems .art-primary{object-position:center top}
.card-art-school494 .art-primary,.card-art-football .art-primary{object-position:center top}
.work-short .card-link{grid-template-columns:minmax(160px,239px) minmax(0,1fr);grid-template-rows:auto}
.work-wedding .card-link{grid-template-columns:minmax(170px,.29fr) minmax(0,.71fr)}
.work-short .card-art{aspect-ratio:auto}
.work-short .card-art img{position:absolute;inset:0;object-position:center}
.work-wedding .card-art{display:grid;place-items:center;padding:clamp(8px,1.35vw,18px)}
.work-wedding .card-art .art-primary{position:static;height:auto;border-radius:5px}
.work-short .card-content{grid-template-columns:minmax(0,1fr) auto;gap:11px 26px;align-items:center;padding:24px 28px}
.work-short .status{grid-column:1/-1}
.work-short .card-link h3{font-size:clamp(28px,3.15vw,43px)}
.work-short .card-points{display:none}
.work-short .card-brief{margin-top:7px}
.work-short .card-action{grid-column:2;grid-row:2}

.theme-industrial{--case-card:#e6eef7;--case-ink:#13283e;--case-muted:#3a5269;--case-mark:#2d5d8b;--case-border:#cbddec;--case-ring:#88a6c4;--case-media:#c8dbed;--case-stage:#1e3044}
.theme-well{--case-card:#edf5ff;--case-ink:#152e51;--case-muted:#435a79;--case-mark:#4078be;--case-border:#cbdcf3;--case-ring:#8eaed5;--case-media:#d9e8f9;--case-stage:#dce9fa}
.theme-global{--case-card:#eff4fa;--case-ink:#183149;--case-muted:#466179;--case-mark:#45779b;--case-border:#cedcea;--case-ring:#91aec5;--case-media:#e1edf5;--case-stage:#e0eaf3}
.theme-photo{--case-card:#eee6d9;--case-ink:#27251f;--case-muted:#595247;--case-mark:#85664b;--case-border:#d9ccb9;--case-ring:#a89780;--case-media:#c7bda9;--case-stage:#e9dfd0}
.theme-engineering{--case-card:#eaf2fc;--case-ink:#1a3656;--case-muted:#405b76;--case-mark:#4d76a5;--case-border:#c7daef;--case-ring:#8ca9ca;--case-media:#cddff1;--case-stage:#d6e4f5}
.theme-school{--case-card:#eff5fc;--case-ink:#233a54;--case-muted:#475d76;--case-mark:#5675a2;--case-border:#cfdff1;--case-ring:#94aecb;--case-media:#d9e6f3;--case-stage:#e0ebf9}
.theme-sport{--case-card:#eaf1fb;--case-ink:#1c3350;--case-muted:#405871;--case-mark:#5076a2;--case-border:#cbdcee;--case-ring:#90acca;--case-media:#d5e2f4;--case-stage:#d8e5f6}
.theme-wedding{--case-card:#f1ece1;--case-ink:#374237;--case-muted:#52604f;--case-mark:#687f61;--case-border:#d9d4c5;--case-ring:#9da18c;--case-media:#e3dfcf;--case-stage:#e8e3d4}

/* Services, process and contacts */
.services{background:#edf4fe}
.section-aside{position:sticky;top:calc(var(--bar) + 24px)}
.section-aside h2{margin-bottom:17px}
.section-aside .text-action{margin-top:14px}
.service-list,.faq-list{border-top:1px solid #adc4e0}
.service-row,.faq-row{border-bottom:1px solid #adc4e0}
.service-row summary,.faq-row summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:59px;list-style:none;padding:7px 0}
summary::-webkit-details-marker{display:none}
.service-name,.faq-row summary{font-weight:710;font-size:clamp(17px,1.63vw,23px);line-height:1.2;letter-spacing:-.027em}
summary:hover .plus{background:#dceaff;border-color:#8baed8}
.plus{width:33px;height:33px;position:relative;border:1px solid #a7bedc;background:#f8fbff;color:#214d83;border-radius:50%}
.plus::before,.plus::after{content:"";width:12px;height:1.5px;position:absolute;top:50%;left:50%;background:currentColor;transform:translate(-50%,-50%);transition:transform .18s ease}
.plus::after{transform:translate(-50%,-50%) rotate(90deg)}
details[open] .plus::after{transform:translate(-50%,-50%) rotate(0deg)}
details[open] .plus{background:#255ca1;color:#fff;border-color:#255ca1}
.service-body,.faq-row p{padding:0 40px 18px 0;color:#374f70;font-size:15px}
.service-body p{font-size:16px;font-weight:580}
.service-body ul{padding-left:18px;margin-top:10px}
.service-body li+li{margin-top:5px}
.process{background:#f8faff}
.process-tabs{display:none}
.process-layout[data-enhanced]{display:grid;grid-template-columns:minmax(235px,.65fr) minmax(0,1.35fr);gap:clamp(15px,3.5vw,48px);align-items:stretch}
.process-layout[data-enhanced] .process-tabs{display:flex;flex-direction:column;gap:6px}
.step-tab{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;padding:9px 15px;text-align:left;border:1px solid #cfdef1;border-radius:999px;background:#f8fbff;color:#304d71;font-size:14px;line-height:1.24;font-weight:650;transition:background-color .18s,border-color .18s,color .18s}
.step-tab:hover{background:#e6f0ff;border-color:#b9d2f4}
.step-tab[aria-selected="true"]{background:#dbeaff;color:#183d70;border-color:#96baea}
.stage-compact{display:none}
.process-panels{display:grid;gap:9px;min-width:0}
.step-panel{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:clamp(16px,2.4vw,32px);border-radius:22px;background:#eaf3ff;border:1px solid #cfdef2;padding:clamp(23px,4vw,54px)}
.step-panel>.eyebrow{margin-bottom:0}
.step-copy h3{font-size:clamp(30px,4vw,58px);line-height:1.03;letter-spacing:-.05em;max-width:16ch}
.step-copy p{max-width:52ch;margin-top:11px;color:#344f74;font-size:clamp(15px,1.24vw,18px)}
.step-result{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 12px;border-radius:13px;padding:10px 12px;background:#f6faff}
.step-result span{font-size:12px;font-weight:620;color:#465e7e}
.step-result strong{font-size:14px;font-weight:700}
.process-layout[data-enhanced] .step-panel:not([hidden]){animation:stage-in .21s ease both}
@keyframes stage-in{from{opacity:.83;transform:translateY(3px)}to{opacity:1;transform:none}}
.about{background:#edf4fe;padding-bottom:clamp(43px,5.4vw,77px)}
.about-copy>p{font-size:16px;color:var(--muted);max-width:60ch}
.about-copy>p+p{margin-top:14px}
.about-copy .about-intro{font-size:clamp(22px,2.55vw,37px);line-height:1.24;font-family:var(--display);font-weight:700;letter-spacing:-.036em;color:var(--ink)}
.faq{background:#edf4fe;padding-top:0}
.faq .two-col{padding-top:clamp(38px,4.5vw,62px);border-top:1px solid var(--line)}
.faq-row summary{font-size:17px;letter-spacing:-.015em}
.contact-section{background:#1b3d71;color:#fff;padding-block:clamp(49px,6vw,88px)}
.contact-section .eyebrow{color:#cee2fc}
.contact-section :focus-visible{outline-color:#dceaff}
.contact-layout{display:grid;grid-template-columns:minmax(0,.89fr) minmax(0,1.11fr);gap:clamp(24px,7vw,90px);align-items:center}
.contact-layout h2{font-size:clamp(48px,6.1vw,88px)}
.contact-layout p:not(.eyebrow){color:#e0ebfc;max-width:43ch;margin-top:15px}
.contact-links{display:grid;gap:7px}
.contact-link{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;gap:8px;min-height:53px;padding:8px 15px;border:1px solid #6888b7;border-radius:999px;transition:background-color .2s}
.contact-link:hover{background:#28518e}
.contact-label{color:#d8e6fc;font-size:13px}
.contact-link strong{font-size:clamp(14px,1.19vw,17px);font-weight:700;overflow-wrap:anywhere}
.site-footer{background:var(--paper)}
.footer-inner{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 20px;min-height:66px;color:#4a5c74;font-size:13px}
.footer-inner a{display:inline-flex;align-items:center;min-height:44px;font-weight:650;color:var(--blue-deep)}

/* Editorial case pages */
.case-head{background:var(--case-card);color:var(--case-ink);padding:22px 0 clamp(39px,5vw,70px)}
.case-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--case-muted)}
.back-link{display:inline-flex;align-items:center;gap:7px;min-height:40px;border-radius:999px;border:1px solid var(--case-ring);padding:7px 12px;font-size:13px;font-weight:670;white-space:nowrap;transition:background .2s}
.back-link:hover{background:#fff9}
.back-link svg{width:16px;height:16px}
.case-lead-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(18px,5.2vw,73px);align-items:end;padding-top:clamp(25px,3.2vw,45px)}
.case-head .eyebrow{color:var(--case-muted);margin-bottom:11px}
.case-head h1{font-size:clamp(48px,6.95vw,99px);line-height:.94;letter-spacing:-.061em}
.case-head.theme-industrial h1{font-size:clamp(61px,8.7vw,125px)}
.case-head.theme-well h1,.case-head.theme-engineering h1{font-size:clamp(42px,5.9vw,83px)}
.case-brief{font-size:clamp(16px,1.6vw,22px);line-height:1.43;color:var(--case-ink);max-width:42ch}
.case-facts{display:flex;flex-wrap:wrap;gap:6px 13px;padding:0;list-style:none;color:var(--case-muted);font-size:12px;margin-top:13px}
.case-facts li{display:flex;align-items:center;gap:6px}
.case-facts li::before{content:"";width:4px;height:4px;display:block;background:var(--case-mark);border-radius:50%}
.case-showcase{margin-top:clamp(19px,3.15vw,43px);padding:clamp(13px,2.6vw,36px);background:var(--case-stage);border-radius:21px;min-width:0}
.showcase-mixed{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.26fr);gap:clamp(12px,3vw,42px);align-items:end}
.theme-well .showcase-mixed{grid-template-columns:minmax(0,1fr) minmax(120px,.37fr)}
.case-showcase .shot-link{box-shadow:0 11px 29px #16263826}
.case-showcase .shot-phone{width:min(100%,227px);justify-self:center}
.case-showcase .shot-phone img{max-height:470px;object-fit:cover;object-position:top}
.case-showcase .shot-interface{align-self:center}
.theme-industrial .case-showcase figcaption{color:#dceaf9}
.showcase-solo .shot-wide{width:min(100%,1030px);margin-inline:auto}
.showcase-graphic .shot-wide{width:min(100%,910px);margin-inline:auto}
.theme-wedding .showcase-graphic .shot-wide{width:min(100%,730px)}
.shot{min-width:0}
.shot-link{display:block;position:relative;overflow:hidden;border-radius:11px;background:#e4eef8;box-shadow:0 10px 27px #16263819}
.shot-link img{width:100%;height:auto}
.shot-zoom{position:absolute;bottom:8px;right:8px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#f9fcff;color:#153a69;box-shadow:0 4px 15px #172e522d;opacity:0;transform:translateY(3px);transition:opacity .18s,transform .18s}
.shot-zoom svg{width:19px;height:19px}
.shot-link:hover .shot-zoom,.shot-link:focus-visible .shot-zoom{opacity:1;transform:none}
.shot figcaption{padding:8px 1px 0;color:#405974;font-size:13px;line-height:1.36}
.case-showcase figcaption{color:var(--case-muted)}
.case-story,.case-chapter,.case-work,.case-result{padding-block:clamp(34px,5.15vw,75px)}
.story-layout{display:grid;grid-template-columns:minmax(0,1fr);align-items:center}
.story-layout>div{max-width:810px}
.story-archive{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:clamp(24px,7vw,92px)}
.story-archive .shot-archive{width:min(100%,390px);justify-self:end}
.case-page h2{font-size:clamp(33px,4.1vw,59px);line-height:1.03}
.case-copy,.chapter-copy>p:not(.eyebrow){font-size:clamp(16px,1.4vw,20px);color:var(--muted);line-height:1.58;margin-top:13px;max-width:63ch}
.case-chapter{background:#edf4fd}
.case-chapter+.case-chapter{background:#f7faff}
.case-chapter+.case-chapter+.case-chapter{background:#edf4fd}
.chapter-copy{max-width:770px}
.chapter-copy .eyebrow{margin-bottom:10px}
.chapter-visual{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:clamp(12px,2.5vw,34px);margin-top:clamp(18px,3vw,38px)}
.chapter-offset .chapter-visual{grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr)}
.chapter-offset .chapter-visual>.shot:nth-child(2){margin-top:clamp(20px,5vw,70px)}
.chapter-offset .shot-lead img{max-height:590px;object-fit:cover;object-position:top}
.theme-photo .chapter-offset .chapter-visual{grid-template-columns:minmax(0,1.28fr) minmax(160px,.42fr);gap:clamp(15px,5vw,62px);max-width:1080px}
.theme-photo .chapter-offset .chapter-visual .shot-phone{width:min(100%,249px)}
.chapter-trio .chapter-visual{grid-template-columns:repeat(3,minmax(0,1fr))}
.chapter-split .chapter-inner,.chapter-phone .chapter-inner,.chapter-phones .chapter-inner{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);align-items:center;gap:clamp(23px,5.3vw,74px)}
.chapter-split .chapter-visual,.chapter-phone .chapter-visual,.chapter-phones .chapter-visual{margin-top:0}
.chapter-split .chapter-visual,.chapter-phone .chapter-visual{grid-template-columns:minmax(0,1fr)}
.chapter-phone .shot{width:min(100%,255px);justify-self:center}
.chapter-phones .chapter-visual{grid-template-columns:repeat(2,minmax(0,230px));justify-content:center}
.chapter-phones .shot:nth-child(2){margin-top:25px}
.structure-route{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:23px}
.structure-route article{padding:17px;border:1px solid #c9daed;border-radius:13px;background:#f9fbff}
.structure-route p{color:var(--muted);margin-top:6px;font-size:14px}
.case-work{background:#f9fbff}
.case-points{border-top:1px solid #b6cce6}
.case-point{padding:13px 0 15px;border-bottom:1px solid #b6cce6}
.case-point h3{font-size:clamp(19px,2.1vw,28px)}
.case-point p{color:#425874;font-size:15px;line-height:1.54;margin-top:6px}
.case-result{background:#e7f0fd}
.theme-global .ges-showcase,.theme-wedding .wedding-showcase{padding:clamp(9px,1.5vw,22px)}
.theme-global .ges-showcase{background:#15263a}
.theme-global .ges-showcase figcaption{color:#d1dfed}
.theme-global .ges-wide{grid-template-columns:minmax(0,1fr)}
.theme-global .case-chapter.ges-detail{background:#122338;color:#f3f8fd}
.theme-global .ges-detail .eyebrow{color:#edd07c}
.theme-global .ges-detail .chapter-copy>p:not(.eyebrow),.theme-global .ges-detail figcaption{color:#cedcea}
.theme-global .ges-detail .shot-link{background:#0b1725;border:1px solid #354d65}
.theme-wedding .wedding-showcase .shot-wide{width:min(100%,1060px);margin-inline:auto}
.theme-wedding .wedding-chapter{background:#f2eee4;color:var(--case-ink)}
.theme-wedding .wedding-chapter .eyebrow,.theme-wedding .wedding-chapter .chapter-copy>p:not(.eyebrow),.theme-wedding .wedding-chapter figcaption{color:var(--case-muted)}
.theme-wedding .wedding-chapter .shot-link{background:#f5f1e6}
.theme-wedding .wedding-views{grid-template-columns:minmax(0,1fr) minmax(170px,.32fr);align-items:center}
.theme-wedding .wedding-phone{width:min(100%,255px);justify-self:center}
.theme-wedding .wedding-result{background:#e7e8da;color:var(--case-ink)}
.theme-wedding .wedding-result .case-copy{color:var(--case-muted)}
@media(max-width:780px){
  .theme-global .ges-approach .chapter-inner,.theme-wedding .wedding-views{grid-template-columns:minmax(0,1fr)}
  .theme-wedding .wedding-phone{width:min(100%,238px)}
}
.result-layout{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:end}
.result-layout>div{max-width:790px}
.result-layout .button{justify-self:start}
.case-nav{background:#f7faff}
.case-nav-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-block:24px}
.case-nav a{border:1px solid #c9daed;border-radius:14px;padding:14px clamp(12px,2.35vw,26px);min-width:0;display:flex;flex-direction:column;gap:7px;min-height:81px;transition:background .2s}
.case-nav a+a{text-align:right;align-items:end}
.case-nav a span{display:flex;align-items:center;gap:7px;color:#45638a;font-size:12px}
.case-nav a span svg{width:15px;height:15px}
.case-nav a strong{font-size:clamp(17px,2.6vw,32px);line-height:1.08;letter-spacing:-.045em}
.case-nav a:hover{background:#e5effd}
.gallery-dialog{padding:0;border:1px solid #819bc0;border-radius:17px;color:var(--ink);background:#f2f7ff;max-width:min(1250px,calc(100vw - 38px));max-height:calc(100dvh - 32px)}
.gallery-dialog::backdrop{background:#122541c9}
.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px 6px 15px;font-size:14px;font-weight:650}
.dialog-close{width:44px;height:44px;padding:0;background:#fff;border:1px solid #aac2df;border-radius:50%;font-size:25px;line-height:1;flex:none}
.dialog-close:hover{background:#dfebfd}
.dialog-image{max-height:calc(100dvh - 110px);max-width:100%;object-fit:contain;margin:auto}
.not-found{background:#eaf3ff;padding-block:clamp(70px,13vw,157px)}
.not-found h1{font-size:clamp(41px,7.9vw,99px);line-height:1;letter-spacing:-.064em}
.not-found p:not(.eyebrow){color:var(--muted);margin-top:12px}
[data-inview]{animation:enter-accent .34s ease both}
@keyframes enter-accent{from{opacity:.87;transform:translateY(5px)}to{opacity:1;transform:none}}

@media(max-width:1020px){
  .hero h1{font-size:clamp(43px,5.45vw,59px)}
  .hero-inner{gap:24px}
  .work-feature .card-link{grid-template-rows:minmax(347px,auto)}
  .work-pstg .card-link{grid-template-rows:minmax(299px,auto)}
}
@media(max-width:900px){
  :root{--bar:57px}
  .header-inner{gap:10px}
  .brand{gap:9px}
  .brand img{width:36px;height:36px}
  .brand-divider{height:21px}
  .brand strong{font-size:16px}
  .site-header:not(.has-menu){position:relative}
  .site-header:not(.has-menu) .header-inner{height:auto;flex-wrap:wrap;min-height:var(--bar);padding-block:6px}
  .site-header:not(.has-menu) .main-nav{order:3;width:100%;flex-wrap:wrap;gap:0 15px}
  .has-menu .menu-toggle{display:flex}
  .has-menu .main-nav{display:none;position:absolute;top:calc(100% + 5px);right:var(--gutter);width:min(332px,calc(100% - 2 * var(--gutter)));flex-direction:column;align-items:stretch;gap:0;padding:6px 13px;background:#f9fbff;border:1px solid #c3d5ed;border-radius:15px;box-shadow:0 14px 30px #172b4e26}
  .has-menu .main-nav.is-open{display:flex}
  .has-menu .main-nav>a{display:flex;justify-content:space-between;min-height:46px}
  .has-menu .main-nav>a+a{border-top:1px solid var(--line)}
  .card-content{padding:18px 22px}
  .case-lead-grid{gap:21px}
}
@media(max-width:780px){
  .section-head,.two-col,.contact-layout,.case-lead-grid,.story-archive,.result-layout{grid-template-columns:minmax(0,1fr);gap:17px}
  .hero-actions{margin-top:15px}
  .editorial-head{grid-template-columns:minmax(0,1fr);gap:0}
  .editorial-head>.eyebrow{padding:0;margin-bottom:9px}
  .portfolio-heading h2{max-width:18ch}
  .section-aside{position:static}
  .case-head h1{font-size:clamp(45px,8.9vw,83px)}
  .case-head.theme-well h1,.case-head.theme-engineering h1{font-size:clamp(41px,7.6vw,73px)}
  .case-brief{max-width:58ch}
  .story-archive .shot-archive{justify-self:start;width:min(100%,335px)}
  .result-layout{align-items:start}
  .result-layout .button{margin-top:3px}
  .contact-layout{gap:21px}
}
@media(max-width:700px){
  .hero-inner{grid-template-columns:minmax(0,1fr);gap:17px}
  .hero h1{font-size:clamp(43px,7.85vw,60px)}
  .hero-lead{max-width:56ch}
  .hero-compare{justify-self:start}
}
@media(max-width:650px){
  :root{--gutter:16px;--space:47px}
  .hero{padding-block:28px 27px}
  .hero .eyebrow{margin-bottom:9px}
  .eyebrow{margin-bottom:10px;font-size:10px}
  .hero h1{font-size:clamp(35px,9.5vw,48px);letter-spacing:-.053em;line-height:1.015}
  .hero-inner{gap:19px}
  .hero-lead{margin-top:16px;font-size:15px}
  .hero-actions{margin-top:13px;gap:6px}
  .hero-actions .button{font-size:12px;padding:8px 13px;min-height:44px}
  .hero-compare-head h2{font-size:17px}
  .hero-compare-view{aspect-ratio:2.12}
  .projects{padding-top:28px}
  .editorial-head{margin-bottom:16px}
  .portfolio-heading h2{font-size:clamp(32px,8.5vw,45px)}
  .work-grid{grid-template-columns:minmax(0,1fr);gap:13px}
  .work-card{grid-column:1/-1;border-radius:15px}
  .work-feature .card-link,.work-pstg .card-link,.work-short .card-link{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;grid-template-areas:"art" "content"}
  .work-feature .card-art,.work-short .card-art{grid-area:art;min-height:0;aspect-ratio:1.86}
  .work-lestarov .card-art{aspect-ratio:1.47}
  .work-short .card-art{aspect-ratio:2.35}
  .work-wedding .card-art{padding:0}
  .work-wedding .card-art .art-primary{position:absolute;height:100%;object-position:center 41%;border-radius:0}
  .work-feature .card-content,.work-short .card-content{grid-area:content}
  .card-content,.work-short .card-content{grid-template-columns:minmax(0,1fr);justify-items:start;gap:12px;padding:15px 16px 17px}
  .work-short .card-action{grid-column:auto;grid-row:auto}
  .card-link h3,.work-pstg h3{font-size:clamp(32px,9vw,48px)}
  .work-lestarov h3{max-width:none;font-size:clamp(33px,9.2vw,52px)}
  .work-restaw h3{font-size:clamp(42px,12vw,67px)}
  .card-brief{font-size:14px;margin-top:7px}
  .card-kind,.status,.card-points li{font-size:11px}
  .card-action{font-size:12px;min-height:39px}
  .card-art-restaw,.card-art-pstg{padding:13px 15px}
  .card-art-restaw .art-primary,.card-art-pstg .art-primary{max-height:100%;width:92%;object-fit:contain}
  .card-art-restaw .art-inset,.card-art-pstg .art-inset{width:22%;min-width:57px;right:12px;bottom:12px;padding:3px;border-radius:7px}
  .card-art-restaw .art-inset img,.card-art-pstg .art-inset img{max-height:clamp(108px,33vw,160px)}
  .card-art-lestarov .art-inset{width:26%;min-width:70px;bottom:13px;left:13px;padding:4px}
  .art-inset span{font-size:9px;padding:4px 1px 2px}
  .section-aside h2{margin-bottom:11px}
  .service-row summary,.faq-row summary{min-height:53px}
  .service-body,.faq-row p{font-size:14px;padding-right:5px}
  .service-body p{font-size:15px}
  .process-layout[data-enhanced]{grid-template-columns:minmax(0,1fr);gap:10px}
  .process-layout[data-enhanced] .process-tabs{display:flex;flex-direction:row;flex-wrap:wrap;gap:5px}
  .step-tab{width:auto;min-height:40px;font-size:12px;padding:7px 9px}
  .stage-name{display:none}
  .stage-compact{display:block}
  .step-panel{min-height:235px;gap:14px;padding:17px;border-radius:15px}
  .step-copy h3{font-size:clamp(26px,7.45vw,40px)}
  .step-copy p{margin-top:8px}
  .step-result strong{font-size:13px}
  .footer-inner{font-size:12px}
  .footer-inner>span:nth-child(2){display:none}
  .contact-link{min-height:49px;grid-template-columns:70px minmax(0,1fr);padding-inline:11px}
  .contact-label{font-size:12px}
  .case-head{padding:13px 0 24px}
  .case-lead-grid{padding-top:19px;gap:10px}
  .case-head .eyebrow{margin-bottom:7px}
  .case-head h1{font-size:clamp(43px,11vw,67px)}
  .case-head.theme-industrial h1{font-size:clamp(57px,14vw,86px)}
  .case-head.theme-well h1,.case-head.theme-engineering h1{font-size:clamp(36px,9.4vw,61px)}
  .case-brief{font-size:15px}
  .case-facts{font-size:11px;margin-top:8px}
  .case-showcase{padding:10px;border-radius:13px;margin-top:15px}
  .showcase-mixed,.theme-well .showcase-mixed{grid-template-columns:minmax(0,1fr);position:relative;align-items:end}
  .showcase-mixed .shot-lead{grid-area:1/1;padding-bottom:0}
  .showcase-mixed .shot-phone,.showcase-mixed .shot-interface{grid-area:1/1;z-index:1;justify-self:end;align-self:end;width:25%;min-width:64px;margin:0 4px 23px 0}
  .showcase-mixed .shot-interface{width:29%}
  .showcase-mixed .shot-phone figcaption,.showcase-mixed .shot-interface figcaption{display:none}
  .showcase-mixed .shot-phone img{max-height:calc(clamp(99px,36vw,170px))}
  .shot-link{border-radius:7px}
  .shot-zoom{width:28px;height:28px;right:4px;bottom:4px;opacity:1;transform:none}
  .shot-zoom svg{width:14px;height:14px}
  .shot figcaption{padding-top:6px;font-size:12px}
  .case-page h2{font-size:clamp(29px,8.4vw,44px)}
  .case-story,.case-chapter,.case-work,.case-result{padding-block:37px}
  .case-copy,.chapter-copy>p:not(.eyebrow){font-size:15px;margin-top:9px}
  .chapter-visual,.chapter-offset .chapter-visual,.theme-photo .chapter-offset .chapter-visual,.chapter-trio .chapter-visual,.chapter-split .chapter-inner,.chapter-phone .chapter-inner,.chapter-phones .chapter-inner{grid-template-columns:minmax(0,1fr);gap:13px}
  .chapter-offset .chapter-visual>.shot:nth-child(2){margin-top:0}
  .chapter-offset .shot-phone{justify-self:center}
  .chapter-phones .chapter-visual{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .chapter-phones .shot:nth-child(2){margin-top:11px}
  .chapter-phone .shot{width:min(100%,238px)}
  .structure-route{grid-template-columns:minmax(0,1fr);gap:8px}
  .case-nav-grid{gap:6px;padding-block:14px}
  .case-nav a{min-height:70px;padding:10px 8px;border-radius:9px}
  .case-nav a span{font-size:10px;gap:4px}
  .case-nav a span svg{width:13px;height:13px}
  .gallery-dialog{max-width:calc(100vw - 22px)}
}
@media(max-width:350px){
  :root{--gutter:13px}
  .hero h1{font-size:33px}
  .hero h1 span{font-size:.87em}
  .hero-inner:not(.section) .hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero-actions .button{font-size:11px;gap:5px;padding-inline:8px}
  .contact-link{grid-template-columns:61px minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}
  .card-link:hover .art-primary{transform:none}
}

/* Services disclosure uses native details, with the same navigation style. */
.nav-services{position:relative;flex:none;color:#273b5a}
.nav-services>summary{list-style:none;display:flex;align-items:center;gap:5px;min-height:44px;font-size:14px;font-weight:590;white-space:nowrap}
.nav-services>summary::marker{content:""}
.nav-services>summary svg{color:var(--blue);transition:transform .18s}
.nav-services[open]>summary svg{transform:rotate(180deg)}
.nav-services>summary:hover,.nav-services[open]>summary{color:#145aa8}
.nav-service-links{list-style:none;margin:0;padding:5px;position:absolute;top:calc(100% + 6px);left:-14px;min-width:306px;max-width:calc(100vw - 34px);color:var(--ink);background:#f9fcff;border:1px solid #c3d5ed;border-radius:13px;box-shadow:0 14px 27px #172b4e20}
.nav-services:not([open]) .nav-service-links{display:none}
.nav-service-links a{display:flex;align-items:center;min-height:44px;padding:8px 10px;border-radius:7px;font-size:14px;line-height:1.35;font-weight:630;color:var(--blue-deep)}
.nav-service-links a:hover,.nav-service-links a:focus-visible{background:#e5f0ff}
.nav-service-links a:focus-visible{outline-offset:-2px}
.nav-services-overview{border-top:1px solid var(--line);margin-top:3px;padding-top:3px}
.nav-services-overview a{font-weight:700}
@media(max-width:900px){
  .has-menu .main-nav{max-height:calc(100vh - var(--bar) - 10px);max-height:calc(100dvh - var(--bar) - 10px);overflow-y:auto;overscroll-behavior:contain}
  .has-menu .nav-services+a{border-top:1px solid var(--line)}
  .nav-services>summary{justify-content:space-between;min-height:46px;padding-inline-end:2px}
  .nav-services>summary:focus-visible,.has-menu .main-nav>a:focus-visible{outline-offset:-2px}
  .nav-service-links{position:static;min-width:0;max-width:none;margin:0 0 7px;padding:3px 5px;background:#eaf3ff;border-radius:9px;box-shadow:none}
  .nav-service-links a{padding-inline:7px}
  .site-header:not(.has-menu) .nav-services{width:100%}
}

/* Gallery links retain their original hit area; only the media responds. */
.case-chapter .shot-link[data-gallery]{transition:box-shadow .22s}
.case-chapter .shot-link[data-gallery]:focus-visible{box-shadow:0 10px 25px #1a365538}
@media(hover:hover) and (pointer:fine){
  .case-chapter .shot-link[data-gallery]:hover{box-shadow:0 12px 31px #1a36553a}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .case-chapter .shot-link[data-gallery] img{transition:transform .28s ease}
  .case-chapter .shot-link[data-gallery]:hover img{transform:scale(1.015)}
}
@media(hover:none){
  .case-chapter .shot-link[data-gallery] .shot-zoom{opacity:1;transform:none}
}
