/* SAYVO v5 foundation: header, menu panel, finale footer, page transitions.
   Scoped to #top.v5 so it wins over the legacy direction layers while pages are rebuilt one by one. */
/* Manrope is declared here too so the standalone error pages (no style.css) render in the brand face. */
@font-face{font-family:Manrope;src:url('./manrope-cyrillic.c268b459a932.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;src:url('./manrope-latin.a30ddcd34970.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
:root{
  --v5-ink:#0d0e10;--v5-bg:#101113;--v5-graphite:#16171a;--v5-surface:#1d1f23;--v5-surface-2:#25282d;
  --v5-line:rgba(246,247,242,.11);--v5-line-strong:rgba(246,247,242,.22);
  --v5-chalk:#f6f7f2;--v5-muted:#a7aaa5;--v5-dim:#6f726e;--v5-lime:#cffc48;--v5-lime-ink:#101113;
  --v5-ease:cubic-bezier(.16,1,.3,1);--v5-ease-soft:cubic-bezier(.22,1,.36,1);
}
@view-transition{navigation:auto}

/* Shared primitives */
#top.v5 .pill{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--v5-line-strong);background:rgba(29,31,35,.72);color:var(--v5-chalk);font:600 13px/1 var(--font-body,Manrope),sans-serif;letter-spacing:0;text-transform:none;white-space:nowrap;cursor:pointer;transition:background-color .3s,border-color .3s,color .3s}
#top.v5 .pill:hover{border-color:var(--v5-lime)}
#top.v5 .pill .icon{width:14px;height:14px;flex:none}
#top.v5 .pill-lime{background:var(--v5-lime);border-color:var(--v5-lime);color:var(--v5-lime-ink)}
#top.v5 .pill-lime:hover{background:var(--v5-chalk);border-color:var(--v5-chalk)}
#top.v5 .roll{display:inline-block;overflow:hidden;vertical-align:bottom;line-height:1.25}
#top.v5 .roll>span{position:relative;display:block;transition:transform .55s var(--v5-ease)}
#top.v5 .roll>span::after{content:attr(data-t);position:absolute;left:0;top:100%}
#top.v5 a:hover>.roll>span,#top.v5 button:hover>.roll>span,#top.v5 a:focus-visible>.roll>span{transform:translate3d(0,-100%,0)}
#top.v5 .section-code{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted)}

/* Header */
#top.v5 .site-header{position:sticky;top:0;z-index:60;background:transparent;border-bottom:1px solid transparent;backdrop-filter:none;-webkit-backdrop-filter:none;view-transition-name:site-header;transition:background-color .5s var(--v5-ease),border-color .5s var(--v5-ease)}
#top.v5 .site-header.is-compact{background:rgba(16,17,19,.78);border-bottom-color:var(--v5-line);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
#top.v5 .header-inner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;height:auto;min-height:0;padding-block:18px;grid-template-columns:none;transition:padding .5s var(--v5-ease)}
#top.v5 .site-header.is-compact .header-inner{padding-block:10px}
#top.v5 .site-header .brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--v5-chalk);grid-column:auto}
#top.v5 .brand-mark{display:grid;place-items:center;width:32px;height:34px}
#top.v5 .brand-mark svg{width:100%;height:100%}
#top.v5 .site-header .brand-name{font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:21px;letter-spacing:-.045em;line-height:1}
#top.v5 .site-header .brand-name>span{display:block;margin-top:2px;font-family:var(--mono,"JetBrains Mono"),monospace;font-weight:400;font-size:8px;letter-spacing:.42em;text-transform:lowercase;color:var(--v5-muted);transition:opacity .4s var(--v5-ease)}
#top.v5 .site-header.is-compact .brand-name>span{opacity:0}
#top.v5 .header-actions{position:relative;display:flex;align-items:center;gap:8px;margin-left:auto}
#top.v5 .header-cta{width:auto;min-width:0;max-width:none;grid-column:auto;justify-self:auto}
#top.v5 .menu-toggle{display:inline-flex;flex-direction:row;flex:none;width:auto;min-width:0;height:auto;min-height:44px;padding:0 18px;border-radius:999px}
#top.v5 .menu-toggle>span{display:inline-grid;width:auto;height:auto;margin:0;background:none;transform:none}
#top.v5 .menu-toggle>.menu-word{display:inline-block;line-height:1}
#top.v5 .menu-toggle::before,#top.v5 .menu-toggle::after{content:none}
#top.v5 .menu-dots{display:inline-grid;grid-template-columns:repeat(2,3px);gap:3px;transition:transform .5s var(--v5-ease)}
#top.v5 .menu-dots i{display:block;width:3px;height:3px;border-radius:50%;background:currentColor}
#top.v5 .menu-toggle[aria-expanded=true]{background:var(--v5-chalk);color:var(--v5-lime-ink);border-color:var(--v5-chalk)}
#top.v5 .menu-toggle[aria-expanded=true] .menu-dots{transform:rotate(45deg)}
#top.v5 .menu-toggle[aria-expanded=true]>span:first-child,#top.v5 .menu-toggle[aria-expanded=true]>span:last-child{transform:none}
#top.v5 .menu-toggle[aria-expanded=true]>.menu-dots{transform:rotate(45deg)}

/* Menu panel (dropdown from the pill) */
#top.v5 .menu-panel{position:absolute;top:calc(100% + 10px);right:0;left:auto;z-index:70;display:grid;gap:2px;width:min(320px,calc(100vw - 32px));max-height:calc(100svh - 100px);overflow:auto;padding:10px;border:1px solid var(--v5-line);border-radius:20px;background:var(--v5-surface);box-shadow:0 30px 70px rgba(0,0,0,.5);font-size:16px;transform-origin:top right;animation:v5-panel-in .45s var(--v5-ease) both}
#top.v5 .menu-panel[hidden]{display:none}
#top.v5 .menu-panel>a:not(.menu-cta){display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:0 12px;border-radius:12px;font-family:var(--font-heading,Manrope),sans-serif;font-weight:600;font-size:16px;color:var(--v5-chalk);animation:v5-item-in .5s var(--v5-ease) both}
#top.v5 .menu-panel>a:nth-child(2){animation-delay:.04s}#top.v5 .menu-panel>a:nth-child(3){animation-delay:.08s}#top.v5 .menu-panel>a:nth-child(4){animation-delay:.12s}#top.v5 .menu-panel>a:nth-child(5){animation-delay:.16s}#top.v5 .menu-panel>a:nth-child(6){animation-delay:.2s}
#top.v5 .menu-panel>a:not(.menu-cta):hover,#top.v5 .menu-panel>a[aria-current=page]{background:var(--v5-surface-2)}
#top.v5 .menu-panel>a[aria-current=page] .menu-meta{color:var(--v5-lime)}
#top.v5 .menu-meta{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;color:var(--v5-dim)}
#top.v5 .menu-cta{display:grid;gap:4px;margin-top:8px;padding:14px;border-radius:14px;background:var(--v5-lime);color:var(--v5-lime-ink);animation:v5-item-in .55s var(--v5-ease) .22s both}
#top.v5 .menu-cta strong{font-size:16px}
#top.v5 .menu-cta span{font-size:12px;opacity:.72}
#top.v5 .menu-foot{display:flex;justify-content:space-between;gap:12px;margin:8px 4px 2px;font-family:var(--mono,"JetBrains Mono"),monospace;font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:var(--v5-dim)}
#top.v5 .menu-foot a{color:var(--v5-muted)}
@keyframes v5-panel-in{from{opacity:0;transform:translate3d(0,-8px,0) scale(.96)}to{opacity:1;transform:none}}
@keyframes v5-item-in{from{opacity:0;transform:translate3d(0,8px,0)}to{opacity:1;transform:none}}

/* Finale footer */
#top.v5 .site-footer.finale{position:relative;margin-top:0;padding:clamp(90px,12vw,170px) 0 28px;background:var(--v5-ink);border-top:1px solid var(--v5-line);border-radius:clamp(22px,4vw,48px) clamp(22px,4vw,48px) 0 0}
#top.v5 .finale-kicker{margin:0 0 18px}
#top.v5 .footer-statement{display:block;max-width:none;font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(48px,11vw,190px);line-height:.88;letter-spacing:-.07em;color:var(--v5-chalk);text-decoration:none}
#top.v5 .footer-statement .finale-line{display:block}
#top.v5 .footer-statement .finale-accent{display:block;color:var(--v5-lime);padding-left:.6em}
#top.v5 .footer-statement:hover .finale-accent{color:var(--v5-chalk)}
#top.v5 .finale-action{display:inline-flex;align-items:center;gap:10px;margin-top:clamp(18px,2.4vw,30px);min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--v5-line-strong);font-family:var(--font-body,Manrope),sans-serif;font-size:14px;font-weight:600;letter-spacing:0;line-height:1;color:var(--v5-chalk);transition:background-color .3s,border-color .3s,color .3s}
#top.v5 .finale-action .icon{width:14px;height:14px}
#top.v5 .footer-statement:hover .finale-action{background:var(--v5-lime);border-color:var(--v5-lime);color:var(--v5-lime-ink)}
#top.v5 .footer-statement:hover .finale-action .roll>span{transform:translate3d(0,-100%,0)}
#top.v5 .finale-accent .wd{display:inline-block;white-space:nowrap}
#top.v5 .finale-accent .sp{display:inline-block;width:.26em}
#top.v5 .finale-accent .ch{display:inline-block;will-change:transform;transform:translate3d(calc(var(--rx) * var(--k,0) * var(--spread,1)),calc(var(--ry) * var(--k,0) * var(--spread,1)),0) rotate(calc(var(--rr) * var(--k,0))) scale(calc(1 - var(--k,0) * .35));opacity:calc(1 - var(--k,0) * .85)}
#top.v5 .finale-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:end;margin-top:clamp(40px,6vw,80px)}
#top.v5 .footer-direct{display:grid;gap:6px;justify-items:start;font-family:var(--font-heading,Manrope),sans-serif;font-weight:600;font-size:clamp(18px,2vw,26px);letter-spacing:-.02em}
#top.v5 .footer-direct a{min-height:0;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1.3;letter-spacing:0;color:var(--v5-chalk)}
#top.v5 .footer-services a{border-top:0;margin:0}
#top.v5 .footer-direct a:hover{color:var(--v5-lime)}
#top.v5 .finale-place{margin-top:8px;font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;font-weight:400;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted)}
#top.v5 .finale-round{position:relative;display:grid;place-items:center;width:clamp(150px,16vw,220px);aspect-ratio:1;border-radius:50%;overflow:hidden;isolation:isolate;background:var(--v5-lime);color:var(--v5-lime-ink);text-align:center;font-weight:800;font-size:15px;line-height:1.2}
#top.v5 .finale-round::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:50%;background:var(--v5-chalk);transform:scale(0);transition:transform .6s var(--v5-ease)}
#top.v5 .finale-round:hover::before{transform:scale(1)}
#top.v5 .footer-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:clamp(56px,7vw,96px);border-top:1px solid var(--v5-line)}
#top.v5 .footer-services a{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:0 18px 0 0;border-bottom:1px solid var(--v5-line);color:#d6d8d2;font-size:15px}
#top.v5 .footer-services a+a{padding-left:18px;border-left:1px solid var(--v5-line)}
#top.v5 .footer-services a:hover,#top.v5 .footer-services a[aria-current=page]{color:var(--v5-lime)}
#top.v5 .footer-services .icon{width:13px;height:13px;flex:none}
#top.v5 .footer-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 28px;margin-top:28px;padding-top:0;border:0;font-size:13px;color:var(--v5-muted)}
#top.v5 .footer-brand{display:inline-flex;align-items:center;gap:8px;color:var(--v5-chalk)}
#top.v5 .footer-brand .brand-mark{width:24px;height:26px}
#top.v5 .footer-brand .brand-name{font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:17px;letter-spacing:-.04em}
#top.v5 .footer-brand .brand-name>span{display:none}
#top.v5 .footer-nav{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;padding:0;border:0;font-size:13px}
#top.v5 .footer-nav a{color:#d6d8d2}
#top.v5 .footer-nav a:hover{color:var(--v5-lime)}
#top.v5 .back-top{display:inline-flex;align-items:center;gap:8px;color:#d6d8d2}
#top.v5 .back-top .icon{width:12px;height:12px;transform:rotate(-45deg)}

/* Shared sections (home, services, cases): headings,sheets,process,FAQ,contact,Instagram */
#top.v5 main h2 em,#top.v5 main h1 em{font-family:inherit;font-style:normal;font-weight:inherit;color:var(--v5-lime)}
#top.v5 .section-kicker{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted)}
#top.v5 .button.button-lime{border-radius:999px}
#top.v5{overflow-x:clip}
/* Sheets: full-bleed rounded panels that slide over each other; content stays on the container grid. */
#top.v5 .services-home,#top.v5 .calculator-section,#top.v5 .home-process,#top.v5 .faq-section{position:relative;isolation:isolate;z-index:1;margin-block:0;padding-block:clamp(70px,9vw,130px);background:transparent;border:0;border-radius:0;box-shadow:none}
#top.v5 :is(.services-home,.calculator-section,.home-process,.faq-section)::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:50%;width:100vw;margin-left:-50vw;background:var(--v5-sheet,var(--v5-graphite));border-top:1px solid var(--v5-line);border-radius:clamp(22px,4vw,48px) clamp(22px,4vw,48px) 0 0;box-shadow:0 -30px 60px rgba(0,0,0,.35);pointer-events:none}
#top.v5 .services-home,#top.v5 .home-process{--v5-sheet:var(--v5-graphite)}
#top.v5 .calculator-section,#top.v5 .faq-section{--v5-sheet:var(--v5-surface)}
#top.v5 .v5-round{position:relative;display:grid;place-items:center;width:clamp(64px,6.4vw,96px);aspect-ratio:1;padding:0;border:1px solid var(--v5-line-strong);border-radius:50%;background:transparent;color:var(--v5-chalk);cursor:pointer;overflow:hidden;isolation:isolate;transition:color .3s,border-color .3s}
#top.v5 .v5-round::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:50%;background:var(--v5-lime);transform:scale(0);transition:transform .55s var(--v5-ease)}
#top.v5 .v5-round:hover,#top.v5 .v5-round:focus-visible{color:var(--v5-lime-ink);border-color:var(--v5-lime)}
#top.v5 .v5-round:hover::before,#top.v5 .v5-round:focus-visible::before{transform:scale(1)}
#top.v5 .v5-round .icon{width:18px;height:18px}
#top.v5 .v5-round-label{display:none}

/* Calculator / builder (prototype "Соберите свой сайт"): one ruled panel, pills, big Manrope result */
#top.v5 .calculator-section{display:block}
#top.v5 .calculator-section>*{grid-column:auto;max-width:none}
#top.v5 .calculator-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.7fr);grid-template-rows:auto 1fr;column-gap:24px;align-items:end;margin:0 0 clamp(36px,5vw,64px);padding:0;max-width:none}
#top.v5 .calculator-intro .section-kicker{grid-column:1;grid-row:1;margin:0}
#top.v5 .calculator-intro h2{grid-column:1;grid-row:2;margin:10px 0 0}
#top.v5 .calculator-intro .body-copy{grid-column:2;grid-row:1/3;align-self:end;max-width:36ch;margin:0;font-size:15px;color:var(--v5-muted)}
#top.v5 .calculator-section.has-builder>.builder{margin:0 0 clamp(28px,3vw,40px);padding:0}
#top.v5 .builder-skip{display:inline-flex;align-items:center;gap:10px;margin-bottom:18px;font-size:13px;color:#d6d8d2}
#top.v5 .builder-step{margin:0;padding:clamp(18px,2.4vw,30px);border:1px solid var(--v5-line);border-radius:20px;background:var(--v5-graphite)}
#top.v5 .builder-step-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:6px 16px;max-width:none;margin-bottom:18px}
#top.v5 .builder-step-head .section-kicker{grid-column:2;grid-row:1;margin:0}
#top.v5 .builder-step-head h3{grid-column:1;grid-row:1;margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-size:clamp(20px,1.8vw,24px);font-weight:700;letter-spacing:-.025em;line-height:1.15}
#top.v5 .builder-step-head>p:last-child{grid-column:1/-1;margin:0;font-size:13px;color:var(--v5-muted)}
#top.v5 .builder-filters{gap:6px;margin:0 0 16px}
#top.v5 .builder-filters button{min-height:40px;padding:0 16px;border:1px solid var(--v5-line-strong);border-radius:999px;background:transparent;color:#d6d8d2;font-size:13px;transition:background-color .25s,color .25s,border-color .25s}
#top.v5 .builder-filters button[aria-pressed=true]{background:var(--v5-lime);border-color:var(--v5-lime);color:var(--v5-lime-ink);font-weight:700}
#top.v5 .builder-grid{gap:10px;background:transparent;border:0}
@media(min-width:681px){#top.v5 .builder-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
#top.v5 .builder-card{overflow:hidden;border:1px solid var(--v5-line);border-radius:14px;background:var(--v5-surface);transition:opacity .35s var(--v5-ease),box-shadow .3s}
#top.v5 .builder-card-open{gap:0;padding:0}
#top.v5 .builder-card-media{border-radius:0}
#top.v5 .builder-card-text{gap:4px;padding:12px 56px 14px 14px}
#top.v5 .builder-card-text strong{font-family:var(--font-heading,Manrope),sans-serif;font-size:17px;font-weight:700}
#top.v5 .builder-check{top:10px;right:10px;bottom:auto;width:30px;height:30px;border-color:rgba(255,255,255,.6);background:rgba(16,17,19,.6);backdrop-filter:blur(6px);color:transparent}
#top.v5 .builder-check[aria-pressed=true]{background:var(--v5-lime);border-color:var(--v5-lime);color:var(--v5-lime-ink)}
#top.v5 .builder-card.is-selected{box-shadow:0 0 0 2px var(--v5-lime)}
#top.v5 .builder-style-choice span{min-height:40px;border-radius:999px;border-color:var(--v5-line-strong)}
#top.v5 .builder-style-choice input:checked+span{background:var(--v5-lime);border-color:var(--v5-lime);color:var(--v5-lime-ink);font-weight:700}
#top.v5 .calculator-section.has-builder>.builder-format-head{height:0;margin:0;padding:0;overflow:hidden;border:0;scroll-margin-top:110px}
#top.v5 .calculator-panel{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:1px;margin:0;padding:0;overflow:hidden;border:1px solid var(--v5-line);border-radius:20px;background:var(--v5-line)}
#top.v5 .calculator-panel>*{grid-column:auto;min-width:0;margin:0}
#top.v5 #calculator-form{display:grid;align-content:start;gap:24px;padding:clamp(18px,2.4vw,30px);border:0;background:var(--v5-graphite)}
#top.v5 .configurator-heading{display:flex;justify-content:space-between;gap:12px;margin:0;padding:0 0 14px;border-bottom:1px solid var(--v5-line);font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted)}
#top.v5 .configurator-status{display:inline-flex;align-items:center;gap:8px}
#top.v5 .configurator-status i{width:6px;height:6px;border-radius:50%;background:var(--v5-lime)}
#top.v5 #calculator-form fieldset{display:grid;gap:12px;min-width:0;margin:0;padding:0;border:0}
#top.v5 #calculator-form legend{float:left;width:100%;margin:0 0 12px;padding:0;font-family:var(--font-heading,Manrope),sans-serif;font-size:18px;font-weight:700;letter-spacing:-.02em;color:var(--v5-chalk)}
#top.v5 .brief-options{display:flex;flex-wrap:wrap;gap:6px;clear:both;margin:0;padding:0;border:0;background:none}
#top.v5 .brief-options label{position:relative;display:inline-flex;min-height:0;margin:0;padding:0;border:0;background:none;cursor:pointer}
#top.v5 .brief-options input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
#top.v5 .brief-options span{display:inline-flex;align-items:center;min-height:42px;padding:0 16px;border:1px solid var(--v5-line-strong);border-radius:999px;background:transparent;font-size:14px;color:#d6d8d2;transition:background-color .25s,color .25s,border-color .25s}
#top.v5 .brief-options span::before,#top.v5 .brief-options span::after{content:none}
#top.v5 .brief-options label:hover span{border-color:var(--v5-chalk)}
#top.v5 .brief-options input:checked+span{background:var(--v5-lime);border-color:var(--v5-lime);color:var(--v5-lime-ink);font-weight:700}
#top.v5 .brief-options input:focus-visible+span{outline:2px solid var(--v5-lime);outline-offset:3px}
#top.v5 #calculator-form>.button{justify-self:start;min-height:52px;padding:0 24px;border-radius:999px}
#top.v5 .estimate-result-slot{display:grid;align-content:start;padding:clamp(18px,2.4vw,30px);background:var(--v5-graphite)}
#top.v5 .estimate-placeholder{display:grid;gap:10px;color:var(--v5-muted)}
#top.v5 .estimate-placeholder strong{font-family:var(--font-heading,Manrope),sans-serif;font-size:clamp(36px,4.4vw,60px);font-weight:800;line-height:1;letter-spacing:-.05em;color:rgba(246,247,242,.18)}
#top.v5 .estimate-placeholder p{margin:0;font-size:13px}
#top.v5 .estimate-result-slot:has(#estimate-result:not([hidden])) .estimate-placeholder{display:none}
#top.v5 .estimate-result{display:grid;gap:10px;margin:0;padding:0;border:0;background:none}
#top.v5 .estimate-result[hidden]{display:none}
#top.v5 .estimate-result>p:not([class]){margin:0;font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted)}
#top.v5 #estimate-label{display:block;font-family:var(--font-heading,Manrope),sans-serif;font-size:clamp(36px,4.4vw,60px);font-weight:800;line-height:1;letter-spacing:-.05em;color:var(--v5-chalk)}
#top.v5 #estimate-explanation{margin:0;font-family:inherit;font-size:13px;text-transform:none;letter-spacing:0;color:var(--v5-muted)}
#top.v5 .builder-summary{margin:4px 0 0}
#top.v5 .estimate-result-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:10px;padding-top:16px;border-top:1px solid var(--v5-line)}
#top.v5 #estimate-whatsapp{display:inline-flex;align-items:center;gap:12px;min-height:52px;padding:0 24px;border:0;border-radius:999px;background:var(--v5-lime);color:var(--v5-lime-ink);font-weight:700}
#top.v5 #estimate-whatsapp[aria-disabled=true]{opacity:.5}
@media(min-width:1101px){#top.v5 #estimate-whatsapp{min-height:46px;padding:0 18px;font-size:13px;white-space:nowrap}}
#top.v5 #estimate-request{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0;border:0;background:none;font-size:13px;font-weight:600;color:var(--v5-chalk);cursor:pointer}
#top.v5 #estimate-request:disabled{color:var(--v5-muted);cursor:default}
#top.v5 .estimate-lead-panel{grid-column:1/-1;padding:clamp(18px,2.4vw,30px);border:0;background:var(--v5-graphite)}
#top.v5 .estimate-lead-panel[hidden]{display:none}
#top.v5 .calculator-section h2,#top.v5 .home-process h2,#top.v5 .faq-section h2,#top.v5 .contact-section h2,#top.v5 .services-section h2,#top.v5 .instagram-section h2{font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(36px,5.6vw,92px);line-height:.94;letter-spacing:-.06em}
#top.v5 .mobile-whatsapp{right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));gap:8px;min-height:44px;padding:0 16px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:0;text-transform:none;box-shadow:0 12px 30px rgba(0,0,0,.45)}
#top.v5 .mobile-whatsapp .icon{width:14px;height:14px}
#top.v5 .home-process .section-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.7fr);gap:24px;align-items:end;margin-bottom:clamp(36px,5vw,64px)}
#top.v5 .home-process .service-step-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:0;list-style:none;border-top:1px solid var(--v5-line)}
#top.v5 .home-process .service-step-list>li{display:grid;align-content:start;gap:14px;padding:28px 22px 10px;border-right:1px solid var(--v5-line)}
#top.v5 .home-process .service-step-list>li:first-child{padding-left:0}
#top.v5 .home-process .service-step-list>li:last-child{border-right:0}
#top.v5 .home-process .service-step-index{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;color:var(--v5-lime)}
#top.v5 .home-process h3{margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-size:24px;letter-spacing:-.03em}
#top.v5 .home-process li p{margin:0;font-size:14px;color:var(--v5-muted)}
#top.v5 .faq-section{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,5vw,80px)}
#top.v5 .faq-section>*{grid-column:auto;min-width:0;padding:0}
#top.v5 .faq-list details{border-top:1px solid var(--v5-line)}
#top.v5 .faq-list details:last-child{border-bottom:1px solid var(--v5-line)}
#top.v5 .faq-list summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:68px;padding-block:14px;font-family:var(--font-heading,Manrope),sans-serif;font-weight:600;font-size:clamp(17px,1.6vw,21px);letter-spacing:-.02em;cursor:pointer}
#top.v5 .faq-list summary>.detail-plus{position:static;inset:auto;margin:0;box-sizing:border-box;flex:none;width:28px;height:28px;padding:7px;border:1px solid var(--v5-line-strong);border-radius:50%;transition:transform .45s var(--v5-ease),background-color .3s,color .3s,border-color .3s}
#top.v5 .faq-list details[open] summary>.detail-plus{transform:rotate(45deg);background:var(--v5-lime);border-color:var(--v5-lime);color:var(--v5-lime-ink)}
#top.v5 .faq-list details>p{max-width:60ch;margin:0 0 22px;font-size:15px;line-height:1.7;color:var(--v5-muted)}
#top.v5 .contact-section{position:relative;z-index:1;margin-top:-1px;background:var(--v5-graphite);border:0;border-top:1px solid var(--v5-line);border-radius:clamp(22px,4vw,48px) clamp(22px,4vw,48px) 0 0}
#top.v5 .contact-inner{padding-block:clamp(70px,9vw,130px)}
#top.v5 .contact-copy .direct-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--v5-lime)}
#top.v5 .contact-section .lead-form{border-radius:20px;border-color:var(--v5-line);background:var(--v5-surface)}
#top.v5 .instagram-section{position:relative;z-index:1;margin-top:-1px;background:var(--v5-surface);border-top:1px solid var(--v5-line);border-radius:clamp(22px,4vw,48px) clamp(22px,4vw,48px) 0 0}
#top.v5 .instagram-account{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid var(--v5-line-strong);border-radius:999px}
@media(max-width:1000px){
  #top.v5 .calculator-intro{grid-template-columns:1fr;grid-template-rows:none}
  #top.v5 .calculator-intro>*{grid-column:1!important;grid-row:auto!important}
  #top.v5 .calculator-intro .body-copy{margin-top:16px}
  #top.v5 .calculator-panel{grid-template-columns:1fr}
  #top.v5 .home-process .section-heading{grid-template-columns:1fr}
  #top.v5 .home-process .service-step-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  #top.v5 .home-process .service-step-list>li:nth-child(2){border-right:0}
  #top.v5 .home-process .service-step-list>li:nth-child(3){padding-left:0}
  #top.v5 .home-process .service-step-list>li:nth-child(n+3){border-top:1px solid var(--v5-line)}
  #top.v5 .faq-section{grid-template-columns:1fr}
}
@media(max-width:680px){
  #top.v5 .home-process .service-step-list{grid-template-columns:1fr}
  #top.v5 .home-process .service-step-list>li{padding-left:0;border-right:0;border-top:1px solid var(--v5-line)}
}

/* Inner pages: editorial page intro and service pages (stage 3) */
#top.v5 .page-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.62fr);column-gap:clamp(24px,5vw,80px);align-items:end;padding-block:clamp(36px,6vw,90px) clamp(48px,6vw,90px);border-bottom:1px solid var(--v5-line)}
#top.v5 .page-intro .breadcrumbs{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px;line-height:24px;margin:0 0 clamp(28px,4vw,56px);font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-dim)}
#top.v5 .page-intro .breadcrumbs a{display:inline-flex;align-items:center;min-height:24px;color:var(--v5-muted)}
#top.v5 .page-intro .breadcrumbs a:hover{color:var(--v5-lime)}
#top.v5 .page-intro .breadcrumbs [aria-current]{color:var(--v5-chalk)}
#top.v5 .page-intro h1{grid-column:1;margin:0;max-width:17ch;font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(44px,7vw,124px);line-height:.9;letter-spacing:-.065em;text-wrap:balance}
#top.v5 .page-intro .page-intro-copy{grid-column:2;max-width:44ch;margin:0;font-size:15px;line-height:1.7;color:var(--v5-muted)}

/* Services hub: accordion rows */
#top.v5 .services-section:not(.services-home){display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,5vw,80px);padding-block:clamp(70px,9vw,130px)}
#top.v5 .services-section:not(.services-home)>*{grid-column:auto;min-width:0;padding:0}
#top.v5 .services-section:not(.services-home) .services-intro{position:sticky;top:110px;align-self:start;display:grid;gap:18px}
#top.v5 .service-list{display:grid;border-top:1px solid var(--v5-line)}
#top.v5 .service-list details.service{border-bottom:1px solid var(--v5-line)}
#top.v5 .service-list summary{display:flex;align-items:center;gap:clamp(14px,2vw,28px);min-height:clamp(84px,9vw,120px);padding:0;cursor:pointer;list-style:none;font-family:var(--font-heading,Manrope),sans-serif;font-weight:700;font-size:clamp(24px,3.2vw,48px);letter-spacing:-.045em;line-height:1;transition:color .3s}
#top.v5 .service-list summary::-webkit-details-marker{display:none}
#top.v5 .service-list summary:hover{color:var(--v5-lime)}
#top.v5 .service-list .service-number{position:static;inset:auto;flex:none;align-self:center;width:18px;margin:0;font-family:var(--mono,"JetBrains Mono"),monospace;font-weight:400;font-size:12px;letter-spacing:0;color:var(--v5-lime)}
#top.v5 .service-list .service-content{padding-left:calc(18px + clamp(14px,2vw,28px))}
@media(max-width:680px){#top.v5 .service-list .service-content{padding-left:0}}
#top.v5 .service-list summary>.detail-plus{margin-left:auto;box-sizing:border-box;flex:none;width:36px;height:36px;padding:10px;border:1px solid var(--v5-line-strong);border-radius:50%;transition:transform .45s var(--v5-ease),background-color .3s,color .3s,border-color .3s}
#top.v5 .service-list details[open] summary>.detail-plus{transform:rotate(45deg);background:var(--v5-lime);border-color:var(--v5-lime);color:var(--v5-lime-ink)}
#top.v5 .service-content{display:grid;gap:18px;padding:0 0 clamp(26px,3vw,40px) calc(12px + clamp(14px,2vw,28px) + 2ch);animation:v5-item-in .5s var(--v5-ease) both}
#top.v5 .service-content>p{max-width:56ch;margin:0;font-size:15px;line-height:1.7;color:var(--v5-muted)}
#top.v5 .service-tags{display:flex;flex-wrap:wrap;gap:6px}
#top.v5 .service-tags span{padding:6px 10px;border:1px solid var(--v5-line-strong);border-radius:999px;font-size:12px;color:#d6d8d2;background:none}
#top.v5 .service-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding-top:14px;border-top:1px solid var(--v5-line)}
#top.v5 .service-bottom .service-price{font-family:var(--font-heading,Manrope),sans-serif;font-weight:700;font-size:clamp(20px,2vw,28px);letter-spacing:-.03em;color:var(--v5-chalk)}

/* Packages */
#top.v5 .service-packages{padding-block:clamp(70px,9vw,130px)}
#top.v5 .service-packages .section-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.62fr);gap:24px;align-items:end;margin-bottom:clamp(36px,5vw,64px)}
#top.v5 .service-packages h2,#top.v5 .service-detail h2{font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(34px,5vw,84px);line-height:.94;letter-spacing:-.06em}
#top.v5 .package-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px;background:transparent;border:0;border-radius:0;overflow:visible}
#top.v5 .package-grid:has(>.package-card:only-child){max-width:620px}
@media(min-width:681px) and (max-width:1199px){#top.v5 .package-grid:has(>.package-card:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
#top.v5 .package-card{display:grid;align-content:start;gap:12px;padding:clamp(22px,2.6vw,34px);background:var(--v5-graphite);border:1px solid var(--v5-line);border-radius:22px;transition:background-color .4s var(--v5-ease),border-color .4s}
@media(min-width:681px){#top.v5 .package-grid:not(:has(>.package-card:only-child)) .package-card h3{min-height:2.1em}}
#top.v5 .package-card:hover{background:var(--v5-surface)}
#top.v5 .package-direction{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted)}
#top.v5 .package-card h3{margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-size:clamp(24px,2.4vw,34px);letter-spacing:-.04em}
#top.v5 .package-audience,#top.v5 .package-term{margin:0;color:var(--v5-muted);font-size:14px}
#top.v5 .package-price{margin:6px 0 0;font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(28px,3vw,44px);letter-spacing:-.04em;color:var(--v5-lime)}
#top.v5 .package-card .button{justify-self:start;margin-top:6px}
#top.v5 .package-list{margin-top:10px;padding-top:16px;border-top:1px solid var(--v5-line)}
#top.v5 .package-list h4{margin:0 0 10px;font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;font-weight:400;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted)}
#top.v5 .package-list dl{display:grid;gap:10px;margin:0}
#top.v5 .package-list dt{font-weight:600;font-size:14px;color:var(--v5-chalk)}
#top.v5 .package-list dd{margin:2px 0 0;font-size:13px;color:var(--v5-muted)}
#top.v5 .package-timeframe-note{margin:18px 0 0;font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.04em;color:var(--v5-muted)}

/* Service detail */
#top.v5 .service-offer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.62fr);gap:clamp(24px,5vw,80px);align-items:start;padding-block:clamp(56px,7vw,100px)}
#top.v5 .service-offer>*{grid-column:auto;min-width:0}
#top.v5 .service-intro{margin:0 0 24px;max-width:30ch;font-family:var(--font-heading,Manrope),sans-serif;font-weight:600;font-size:clamp(22px,2.4vw,36px);line-height:1.25;letter-spacing:-.03em;color:var(--v5-chalk)}
#top.v5 .service-price-panel{position:sticky;top:110px;display:grid;gap:16px;padding:clamp(22px,2.6vw,34px);border:1px solid var(--v5-line);border-radius:22px;background:var(--v5-surface)}
#top.v5 .service-detail-price{margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(34px,4vw,60px);line-height:1;letter-spacing:-.05em;color:var(--v5-lime)}
#top.v5 .service-price-note{margin:0;font-size:14px;color:var(--v5-muted)}
#top.v5 .service-price-panel .button{justify-self:start}
#top.v5 .service-detail-section,#top.v5 .service-detail-process,#top.v5 .service-exchange,#top.v5 .service-related{padding-block:clamp(70px,9vw,130px);border-top:1px solid var(--v5-line)}
#top.v5 .service-section-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.62fr);gap:24px;align-items:end;margin-bottom:clamp(36px,5vw,64px)}
#top.v5 .service-section-heading .body-copy{grid-column:2;margin:0;color:var(--v5-muted)}
#top.v5 .service-scope-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px;background:transparent;border:0;counter-reset:scope}
#top.v5 .service-scope-list article{border:1px solid var(--v5-line);border-radius:20px}
#top.v5 .service-scope-list article{display:grid;align-content:start;gap:10px;min-height:0;padding:clamp(20px,2.4vw,30px);background:var(--v5-bg);counter-increment:scope;transition:background-color .4s var(--v5-ease)}
#top.v5 .service-scope-list article::before{content:counter(scope,decimal-leading-zero);font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;color:var(--v5-lime)}
#top.v5 .service-scope-list article:hover{background:var(--v5-surface)}
#top.v5 .service-scope-list h3{margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-size:20px;letter-spacing:-.025em}
#top.v5 .service-scope-list p{margin:0;font-size:14px;color:var(--v5-muted)}
#top.v5 .service-body-sections{display:grid;gap:clamp(36px,5vw,64px);padding-block:clamp(56px,7vw,100px);border-top:1px solid var(--v5-line)}
#top.v5 .service-body-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:clamp(24px,5vw,80px)}
#top.v5 .service-body-section h2{margin:0;font-size:clamp(26px,3vw,46px);line-height:1.06;text-wrap:balance}
#top.v5 main :is(p,li,dd){text-wrap:pretty}
#top.v5 .service-body-section p{margin:0;max-width:62ch;font-size:16px;line-height:1.75;color:#cfd1cb}
#top.v5 .service-detail-process .service-step-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:0;margin:0;padding:0;list-style:none;border-top:1px solid var(--v5-line)}
#top.v5 .service-detail-process .service-step-list>li{display:grid;align-content:start;gap:12px;padding:26px 22px 10px;border-right:1px solid var(--v5-line)}
#top.v5 .service-detail-process .service-step-list>li:last-child{border-right:0}
#top.v5 .service-detail-process .service-step-index{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;color:var(--v5-lime)}
#top.v5 .service-detail-process h3{margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-size:22px;letter-spacing:-.03em}
#top.v5 .service-detail-process li p{margin:0;font-size:14px;color:var(--v5-muted)}
#top.v5 .service-exchange{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,5vw,80px)}
#top.v5 .service-exchange h2{font-size:clamp(28px,3.4vw,52px)}
#top.v5 .service-exchange dl{display:grid;gap:0;margin:24px 0 0;border-top:1px solid var(--v5-line)}
#top.v5 .service-exchange dl>div{padding:16px 0;border-bottom:1px solid var(--v5-line)}
#top.v5 .service-exchange dt{font-weight:600;color:var(--v5-chalk)}
#top.v5 .service-exchange dd{margin:4px 0 0;font-size:14px;color:var(--v5-muted)}
#top.v5 .service-related .section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:clamp(36px,5vw,64px)}
@media(max-width:1000px){
  #top.v5 .page-intro{grid-template-columns:1fr}
  #top.v5 .page-intro .page-intro-copy{grid-column:1;margin-top:24px}
  #top.v5 .services-section:not(.services-home),#top.v5 .service-offer,#top.v5 .service-exchange,#top.v5 .service-body-section{grid-template-columns:1fr}
  #top.v5 .services-section:not(.services-home) .services-intro,#top.v5 .service-price-panel{position:static}
  #top.v5 .service-packages .section-heading,#top.v5 .service-section-heading{grid-template-columns:1fr}
  #top.v5 .service-section-heading .body-copy{grid-column:1}
}
@media(max-width:680px){
  #top.v5 .service-content{padding-left:0}
  #top.v5 .service-detail-process .service-step-list>li{padding-left:0;border-right:0;border-top:1px solid var(--v5-line)}
  #top.v5 .service-related .section-heading{display:grid}
}

/* Stage 3 fixes: legacy 12-column placements must not leak into the new grids */
#top.v5 :is(.service-body-section,.service-section-heading,.service-exchange,.service-offer,.service-packages .section-heading,.service-related .section-heading,.services-intro,.service-content,.package-card,.service-price-panel)>*{grid-column:auto;grid-row:auto}
#top.v5 .service-section-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;max-width:none}
#top.v5 .service-section-heading h2{max-width:18ch}
#top.v5 .service-section-heading .body-copy{grid-column:auto;max-width:56ch}
#top.v5 .service-body-section h2{max-width:16ch}
#top.v5 .page-intro h1{hyphens:manual;overflow-wrap:normal;word-break:normal}
#top.v5 .service-detail-section{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,5vw,80px);align-items:start}
#top.v5 .service-detail-section>*{grid-column:auto;min-width:0}
#top.v5 .service-detail-section .service-section-heading{position:sticky;top:110px;margin:0}
#top.v5 .service-detail-section h2,#top.v5 .service-detail-process h2,#top.v5 .service-related h2{font-size:clamp(30px,3.8vw,60px);overflow-wrap:normal;hyphens:manual}
@media(max-width:1000px){#top.v5 .service-detail-section{grid-template-columns:1fr}#top.v5 .service-detail-section .service-section-heading{position:static}}

#top.v5 main h3 em{font-family:inherit;font-style:normal;font-weight:inherit;color:var(--v5-lime)}
#top.v5 .service-next-step{display:grid;gap:16px;align-content:start;padding:clamp(22px,2.6vw,34px);border:1px solid var(--v5-line);border-radius:22px;background:var(--v5-surface)}
#top.v5 .service-next-step h3{margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(28px,3vw,44px);line-height:1;letter-spacing:-.05em}
#top.v5 .service-next-step .button{justify-self:start}
#top.v5 .service-list summary>span:not(.service-number){font:inherit;letter-spacing:inherit;color:inherit}
@media(max-width:680px){
  #top.v5 .page-intro h1{font-size:clamp(28px,8.4vw,58px);line-height:.95;hyphens:manual;overflow-wrap:normal}
  #top.v5 .service-body-section h2{max-width:none}
  #top.v5 .service-intro{font-size:18px;line-height:1.45;font-weight:500}
  #top.v5 .service-body-section p{font-size:15px;line-height:1.7}
}

/* Stage 4: portfolio tiles,portfolio page and case page */
#top.v5 .v5-tag{display:inline-flex;align-items:center;padding:4px 8px;border:1px solid var(--v5-line-strong);border-radius:999px;font-family:var(--mono,"JetBrains Mono"),monospace;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted);white-space:nowrap}
#top.v5 .portfolio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,3vw,48px);row-gap:clamp(48px,6vw,96px);align-items:start;margin:0;padding:0}
#top.v5 .portfolio-grid>*{grid-column:auto;min-width:0;margin:0}
/* An odd last tile would sit alone in the left column: centre it across both columns instead. */
@media(min-width:681px) and (max-width:1099px){#top.v5 #portfolio-showcase[data-view=grid] .portfolio-grid>.v5-tile:last-child:nth-child(odd):not(:first-child),#top.v5 :is(.related-projects,.service-related) .portfolio-grid>.v5-tile:last-child:nth-child(odd):not(:first-child){grid-column:1/-1;justify-self:center;width:min(100%,66%)}#top.v5 .portfolio-grid>.v5-tile:only-child{grid-column:1/-1;width:min(100%,66%)}}
#top.v5 #portfolio-showcase[data-view=grid] .portfolio-grid>.v5-tile:nth-child(even),#top.v5 .related-projects .portfolio-grid>.v5-tile:nth-child(even),#top.v5 .service-related .portfolio-grid>.v5-tile:nth-child(even){margin-top:clamp(56px,9vw,150px)}
#top.v5 .v5-tile,#top.v5 .v5-tile:nth-child(n){position:relative;display:grid;gap:12px;align-content:start;padding:0;border:0;border-radius:0;background:none;box-shadow:none;transform:none;opacity:1;filter:none}
#top.v5 .v5-tile>*{min-width:0}
#top.v5 .v5-tile-link{display:grid;gap:10px;color:var(--v5-chalk)}
#top.v5 .v5-tile-media{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;border:1px solid var(--v5-line);border-radius:18px;background:var(--v5-surface)}
#top.v5 .v5-tile-media>img,#top.v5 .v5-tile-media>picture>img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .9s var(--v5-ease)}
#top.v5 .v5-tile-link:hover .v5-tile-media>img,#top.v5 .v5-tile-link:hover .v5-tile-media>picture>img{transform:scale(1.045)}
#top.v5 .v5-tile-phone{position:absolute;right:5%;bottom:-8%;width:22%;max-height:96%;overflow:hidden;border:5px solid #2a2d31;border-radius:18px;box-shadow:0 18px 40px rgba(0,0,0,.5);transition:transform .9s var(--v5-ease)}
#top.v5 .v5-tile-phone img{display:block;width:100%;height:auto}
#top.v5 .v5-tile-link:hover .v5-tile-phone{transform:translate3d(0,-12px,0)}
#top.v5 .v5-tile-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:6px}
#top.v5 .v5-tile-title{margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-weight:700;font-size:clamp(28px,3.2vw,48px);line-height:1;letter-spacing:-.045em}
#top.v5 .v5-tile-subtitle{max-width:52ch;font-size:15px;line-height:1.55;color:var(--v5-muted)}
#top.v5 .v5-tile-meta{white-space:normal;overflow-wrap:anywhere}
#top.v5 .v5-tile-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
#top.v5 .v5-tile-actions{display:flex;flex-wrap:wrap;gap:4px 22px}
#top.v5 .v5-tile-actions .text-link{min-height:40px;padding:0;color:var(--v5-lime);font-size:12px;border:0;background:none}
#top.v5 .v5-tile-actions .project-site-link{color:var(--v5-chalk)}

/* Portfolio toolbar and list view */
#top.v5 .portfolio-content{padding-block:clamp(40px,5vw,72px) clamp(80px,10vw,150px)}
#top.v5 .portfolio-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:clamp(36px,5vw,64px)}
#top.v5 .project-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0}
#top.v5 .project-filters a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1px solid var(--v5-line-strong);border-radius:999px;font-size:13px;color:#d6d8d2;transition:background-color .3s,color .3s,border-color .3s}
#top.v5 .project-filters a:hover{border-color:var(--v5-lime)}
#top.v5 .project-filters a.selected{background:var(--v5-lime);border-color:var(--v5-lime);color:var(--v5-lime-ink);font-weight:700}
#top.v5 .view-switcher{display:inline-flex;padding:3px;border:1px solid var(--v5-line-strong);border-radius:999px}
#top.v5 .view-switcher button{min-height:36px;padding:0 14px;border:0;border-radius:999px;background:transparent;color:var(--v5-muted);font-size:12px;cursor:pointer}
#top.v5 .view-switcher button[aria-pressed=true]{background:var(--v5-chalk);color:var(--v5-lime-ink)}
#top.v5 #portfolio-showcase[data-view=list] .portfolio-grid{grid-template-columns:1fr;row-gap:0;border-top:1px solid var(--v5-line)}
#top.v5 #portfolio-showcase[data-view=list] .v5-tile{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:18px 0;border-bottom:1px solid var(--v5-line)}
#top.v5 #portfolio-showcase[data-view=list] .v5-tile-link{grid-template-columns:clamp(110px,14vw,200px) minmax(0,1fr);grid-template-rows:auto auto;column-gap:clamp(16px,3vw,40px);align-items:center}
#top.v5 #portfolio-showcase[data-view=list] .v5-tile-media{grid-row:1/3;border-radius:12px}
#top.v5 #portfolio-showcase[data-view=list] .v5-tile-phone,#top.v5 #portfolio-showcase[data-view=list] .v5-tile-subtitle{display:none}
#top.v5 #portfolio-showcase[data-view=list] .v5-tile-head{margin:0}
/* «Показать ещё» instead of numbered pages (owner, 2026-11-26): the extra tiles join the grid as if they were always there. */
#top.v5 .portfolio-more{display:flex;justify-content:center;margin-top:clamp(36px,5vw,64px)}
#top.v5 .portfolio-more-button{min-width:min(100%,280px);justify-content:space-between;gap:24px;border:1px solid rgba(246,247,242,.6);border-radius:999px;background:rgba(246,247,242,.06);color:var(--v5-chalk);cursor:pointer}
#top.v5 .portfolio-more-button:is(:hover,:focus-visible){border-color:var(--v5-chalk);background:var(--v5-chalk);color:var(--v5-lime-ink)}

/* Case page: typography in the v5 voice; layout and gallery motion stay as built */
#top.v5 [data-case-gallery] .case-info h1{font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(46px,6.4vw,104px);line-height:.9;letter-spacing:-.065em}
#top.v5 [data-case-gallery] .case-subtitle{font-size:clamp(16px,1.4vw,19px);line-height:1.5;color:#d6d8d2}
#top.v5 [data-case-gallery] .case-index{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.06em;color:var(--v5-lime)}
#top.v5 [data-case-gallery] .case-passport dt{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted)}
#top.v5 [data-case-gallery] .case-story summary{font-family:var(--font-heading,Manrope),sans-serif;font-weight:700;letter-spacing:-.02em}
#top.v5 [data-case-gallery] .case-format-price strong,#top.v5 [data-case-gallery] .case-format-price p:not(:first-child){color:var(--v5-lime)}
#top.v5 [data-case-gallery] .case-actions .button{border-radius:999px}
#top.v5 [data-case-gallery] [data-gallery-open]{border-radius:16px}
#top.v5 [data-case-gallery] [data-gallery-next]{border-radius:16px}
#top.v5 .case-followup{padding-block:clamp(70px,9vw,130px)}
#top.v5 .case-followup h2,#top.v5 .related-projects h2{font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(34px,5vw,84px);line-height:.94;letter-spacing:-.06em}
#top.v5 .case-process .service-step-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:0;margin:0;padding:0;list-style:none;border-top:1px solid var(--v5-line)}
#top.v5 .case-process .service-step-list>li{display:grid;align-content:start;gap:12px;padding:26px 22px 10px;border-right:1px solid var(--v5-line)}
#top.v5 .case-process .service-step-list>li:last-child{border-right:0}
#top.v5 .case-process .service-step-index{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;color:var(--v5-lime)}
#top.v5 .case-process h3{margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-size:22px;letter-spacing:-.03em}
#top.v5 .case-process li p{margin:0;font-size:14px;color:var(--v5-muted)}
#top.v5 .related-projects{padding-block:clamp(70px,9vw,130px);border-top:1px solid var(--v5-line)}
#top.v5 .related-projects .section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:clamp(36px,5vw,64px)}
#top.v5 .related-projects .section-heading>*{grid-column:auto}
@media(max-width:680px){
  #top.v5 .portfolio-grid{grid-template-columns:1fr;row-gap:48px}
  #top.v5 #portfolio-showcase[data-view=grid] .portfolio-grid>.v5-tile:nth-child(even),#top.v5 .related-projects .portfolio-grid>.v5-tile:nth-child(even),#top.v5 .service-related .portfolio-grid>.v5-tile:nth-child(even){margin-top:0}
  #top.v5 .project-filters{flex-wrap:nowrap;overflow-x:auto;margin-inline:calc(var(--gutter) * -1);padding:2px var(--gutter) 6px;scroll-padding-inline:var(--gutter);scrollbar-width:none}
  #top.v5 .project-filters a{flex:0 0 auto;white-space:nowrap}
  #top.v5 .case-process .service-step-list>li{padding-left:0;border-right:0;border-top:1px solid var(--v5-line)}
  #top.v5 .related-projects .section-heading{display:grid}
  #top.v5 #portfolio-showcase[data-view=list] .v5-tile{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  #top.v5 .v5-tile-media>img,#top.v5 .v5-tile-media>picture>img,#top.v5 .v5-tile-phone{transition:none}
}

/* Stage 5: about,contacts,blog,article,legal and error pages */
#top.v5 .about-content{padding-block:clamp(56px,7vw,110px)}
#top.v5 .about-statement{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:clamp(28px,6vw,96px);align-items:start}
#top.v5 .about-statement>*{grid-column:auto;min-width:0}
#top.v5 .about-side{position:sticky;top:110px;display:grid;grid-template-columns:minmax(0,1fr);gap:26px}
#top.v5 .about-side>*,#top.v5 .studio-passport>div>*{grid-column:auto;min-width:0}
#top.v5 .studio-wordmark{position:relative;display:block;padding:0;font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(64px,9vw,150px);line-height:.85;letter-spacing:-.075em;color:var(--v5-chalk)}
#top.v5 .studio-wordmark::before{content:none}
#top.v5 .studio-wordmark>span{display:block;margin-top:12px;font-family:var(--mono,"JetBrains Mono"),monospace;font-weight:400;font-size:11px;letter-spacing:.5em;text-transform:lowercase;color:var(--v5-lime)}
#top.v5 .studio-passport{display:grid;margin:0;border-top:1px solid var(--v5-line)}
#top.v5 .studio-passport>div{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:12px;padding:14px 0;border-bottom:1px solid var(--v5-line)}
#top.v5 .studio-passport dt{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted)}
#top.v5 .studio-passport dd{margin:0;font-size:14px;color:var(--v5-chalk)}
#top.v5 .about-statement .prose{font-family:var(--font-heading,Manrope),sans-serif;font-weight:500;font-size:clamp(20px,2vw,30px);line-height:1.45;letter-spacing:-.02em;color:#e3e5df}
#top.v5 :is(.about-principles,.about-stack,.about-team,.about-testimonials,.about-legal){padding-block:clamp(70px,9vw,130px);border-top:1px solid var(--v5-line)}
#top.v5 :is(.about-principles,.about-stack,.about-team,.about-testimonials) .section-heading{display:grid;gap:14px;margin-bottom:clamp(36px,5vw,64px)}
#top.v5 :is(.about-principles,.about-stack,.about-team,.about-testimonials,.about-legal) h2{font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(34px,5vw,84px);line-height:.94;letter-spacing:-.06em}
#top.v5 .principle-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1px;background:var(--v5-line);border:1px solid var(--v5-line)}
#top.v5 .principle-grid article{display:grid;align-content:start;gap:12px;min-height:220px;padding:clamp(20px,2.4vw,30px);background:var(--v5-bg);transition:background-color .4s var(--v5-ease)}
#top.v5 .principle-grid article:hover{background:var(--v5-surface)}
#top.v5 .principle-grid .service-step-index{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;color:var(--v5-lime)}
#top.v5 .principle-grid h3{margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-size:22px;letter-spacing:-.03em}
#top.v5 .principle-grid p{margin:0;font-size:14px;color:var(--v5-muted)}
#top.v5 .studio-stack-list{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
#top.v5 .studio-stack-list li{padding:10px 18px;border:1px solid var(--v5-line-strong);border-radius:999px;font-size:15px;color:#d6d8d2}
#top.v5 .team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:clamp(20px,3vw,40px)}
#top.v5 .team-member img{width:100%;aspect-ratio:4/5;height:auto;object-fit:cover;border-radius:18px}
#top.v5 .team-member h3{margin:14px 0 4px;font-family:var(--font-heading,Manrope),sans-serif;font-size:24px;letter-spacing:-.03em}
#top.v5 .team-role{margin:0;font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-lime)}
#top.v5 .team-bio{margin:10px 0 0;font-size:14px;color:var(--v5-muted)}
#top.v5 .testimonial-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:1px;background:var(--v5-line);border:1px solid var(--v5-line)}
#top.v5 .testimonial{margin:0;padding:clamp(22px,2.6vw,34px);background:var(--v5-bg)}
#top.v5 .testimonial blockquote{margin:0 0 20px;font-family:var(--font-heading,Manrope),sans-serif;font-size:clamp(18px,1.6vw,22px);line-height:1.45;color:#e3e5df}
#top.v5 .about-legal{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,5vw,80px)}
#top.v5 .about-legal>*{grid-column:auto;min-width:0}
#top.v5 .about-legal dl{display:grid;margin:0;border-top:1px solid var(--v5-line)}
#top.v5 .about-legal dl>div{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:12px;padding:16px 0;border-bottom:1px solid var(--v5-line)}
#top.v5 .about-legal dt{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted)}
#top.v5 .about-legal dd{margin:0}

/* Contacts */
#top.v5 .contacts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-block:clamp(48px,6vw,90px);background:var(--v5-line);border:1px solid var(--v5-line);border-radius:22px;overflow:hidden}
#top.v5 .contacts-grid>*{grid-column:auto;min-width:0}
#top.v5 .contacts-grid{padding:0}
#top.v5 [data-case-gallery] .case-info .case-passport+.case-story{margin-top:0}
#top.v5 [data-case-gallery] .case-info .case-passport+.case-story>details:first-child{border-top:0}
#top.v5 .contact-card{min-height:clamp(150px,13vw,190px);gap:24px}
#top.v5 .contact-copy .direct-link{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 20px;border:1px solid rgba(207,252,72,.5);border-radius:999px;font-weight:700;color:var(--v5-lime);transition:background-color .3s,color .3s}
#top.v5 .contact-copy .direct-link:hover{background:var(--v5-lime);color:var(--v5-lime-ink)}
#top.v5 .contact-copy .contact-email{font-size:17px;font-weight:600;color:var(--v5-chalk)}
#top.v5 .contact-copy .contact-location{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted)}
#top.v5 .lead-form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select){border-radius:12px}
#top.v5 form.contact-form .lead-context:not([hidden]){display:inline-flex;align-items:center;gap:8px;margin:0 0 18px;padding:8px 14px;border:1px solid rgba(207,252,72,.4);border-radius:999px;background:rgba(207,252,72,.08);color:var(--v5-chalk);font-size:13px;line-height:1.4}
#top.v5 form.contact-form .lead-context:not([hidden])::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--v5-lime)}
#top.v5 .case-format-price strong{font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(28px,3vw,44px);line-height:1;letter-spacing:-.04em;text-transform:none}
#top.v5 .contact-card{position:relative;display:grid;align-content:space-between;gap:40px;min-height:clamp(200px,20vw,280px);padding:clamp(22px,2.6vw,36px);background:var(--v5-bg);border:0;border-radius:0;color:var(--v5-chalk);transition:background-color .45s var(--v5-ease),color .45s var(--v5-ease)}
#top.v5 .contact-card span{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted);transition:color .45s}
#top.v5 .contact-card strong{font-family:var(--font-heading,Manrope),sans-serif;font-weight:700;font-size:clamp(18px,1.7vw,26px);letter-spacing:-.03em;line-height:1.15;overflow-wrap:break-word}
#top.v5 .contact-card .icon{position:absolute;top:clamp(22px,2.6vw,36px);right:clamp(22px,2.6vw,36px);width:22px;height:22px;transition:transform .5s var(--v5-ease)}
#top.v5 .contact-card:hover{background:var(--v5-lime);color:var(--v5-lime-ink)}
#top.v5 .contact-card:hover span{color:var(--v5-lime-ink)}
#top.v5 .contact-card:hover .icon{transform:translate3d(4px,-4px,0)}

/* Blog hub and cards */
#top.v5 .blog-hub{padding-block:clamp(48px,6vw,90px) clamp(80px,10vw,140px)}
#top.v5 .blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:clamp(20px,3vw,40px);row-gap:clamp(40px,5vw,72px)}
#top.v5 .blog-grid>*{grid-column:auto;min-width:0}
#top.v5 .article-card-link{display:grid;gap:16px;color:var(--v5-chalk)}
#top.v5 .article-card-media{margin:0;aspect-ratio:16/10;overflow:hidden;border:1px solid var(--v5-line);border-radius:18px;background:var(--v5-surface)}
#top.v5 .article-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--v5-ease)}
#top.v5 .article-card-link:hover .article-card-media img{transform:scale(1.045)}
#top.v5 .article-card-title{margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-weight:700;font-size:clamp(22px,2vw,30px);line-height:1.1;letter-spacing:-.035em;transition:color .3s}
#top.v5 .article-card-link:hover .article-card-title{color:var(--v5-lime)}
#top.v5 .article-card-excerpt{margin:0;font-size:14px;line-height:1.6;color:var(--v5-muted)}
#top.v5 .article-card-meta{display:flex;align-items:center;gap:14px;font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.04em;color:var(--v5-dim)}
#top.v5 .article-card-arrow{margin-left:auto;width:16px;height:16px;color:var(--v5-chalk)}
#top.v5 .blog-empty{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);align-items:end;gap:18px clamp(24px,5vw,80px);max-width:none;margin-block:clamp(40px,5vw,72px) clamp(70px,9vw,130px);padding:clamp(28px,4vw,56px);border:1px solid var(--v5-line);border-radius:24px;background:var(--v5-graphite);color:var(--v5-muted)}
#top.v5 .blog-empty h2{grid-row:1/3;margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(34px,4.6vw,72px);line-height:.95;letter-spacing:-.055em;color:var(--v5-chalk)}
#top.v5 .blog-empty p{margin:0;font-size:15px;line-height:1.7}
#top.v5 .blog-empty .text-link{justify-self:start;display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 24px;border-radius:999px;background:var(--v5-lime);color:var(--v5-lime-ink);font-weight:700}
@media(max-width:800px){#top.v5 .blog-empty{grid-template-columns:1fr}#top.v5 .blog-empty h2{grid-row:auto}}

/* Article */
#top.v5 .article-header{display:grid;gap:22px;padding-block:clamp(36px,6vw,90px) clamp(36px,5vw,64px);border-bottom:1px solid var(--v5-line)}
#top.v5 .article-header>*{grid-column:auto;min-width:0}
#top.v5 .article-header .breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;line-height:24px;margin:0;font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase}
#top.v5 .article-header .breadcrumbs a{color:var(--v5-muted)}
#top.v5 .article-header h1{max-width:20ch;margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(38px,5.6vw,96px);line-height:.95;letter-spacing:-.06em;text-wrap:balance}
#top.v5 .article-deck{max-width:56ch;margin:0;font-size:clamp(17px,1.5vw,21px);line-height:1.55;color:#d6d8d2}
#top.v5 .article-meta{display:flex;flex-wrap:wrap;gap:8px 20px;font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--v5-muted)}
#top.v5 .article-cover{margin-block:clamp(28px,4vw,56px) 0}
#top.v5 .article-cover img{width:100%;height:auto;border-radius:22px}
#top.v5 .article-layout{display:grid;grid-template-columns:minmax(0,.32fr) minmax(0,1fr);gap:clamp(28px,5vw,80px);align-items:start;padding-block:clamp(48px,6vw,90px)}
#top.v5 .article-layout>*{grid-column:auto;min-width:0}
#top.v5 .article-layout-without-toc{grid-template-columns:minmax(0,1fr)}
#top.v5 .article-toc{position:sticky;top:110px;display:grid;gap:10px;padding:20px;border:1px solid var(--v5-line);border-radius:18px;background:var(--v5-surface);font-size:14px}
#top.v5 .article-toc a{color:#d6d8d2}
#top.v5 .article-toc a:hover{color:var(--v5-lime)}
#top.v5 .article-content{max-width:68ch;font-size:17px;line-height:1.8;color:#d9dbd5}
#top.v5 .article-content h2{margin:2em 0 .6em;font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(26px,2.6vw,38px);line-height:1.1;letter-spacing:-.04em;color:var(--v5-chalk)}
#top.v5 .article-content h3{margin:1.6em 0 .5em;font-family:var(--font-heading,Manrope),sans-serif;font-size:clamp(20px,1.8vw,26px);letter-spacing:-.03em;color:var(--v5-chalk)}
#top.v5 .article-content a{color:var(--v5-lime);text-decoration:underline;text-underline-offset:3px}
#top.v5 .article-content blockquote{margin:1.6em 0;padding:4px 0 4px 22px;border-left:2px solid var(--v5-lime);font-family:var(--font-heading,Manrope),sans-serif;font-size:1.15em;color:var(--v5-chalk)}
#top.v5 .article-content :is(ul,ol){padding-left:1.2em}
#top.v5 .article-content li::marker{color:var(--v5-lime)}
#top.v5 .article-content code{padding:2px 6px;border-radius:6px;background:var(--v5-surface);font-family:var(--mono,"JetBrains Mono"),monospace;font-size:.88em}
#top.v5 .article-cta{display:grid;gap:16px;margin-top:clamp(40px,5vw,64px);padding:clamp(24px,3vw,40px);border-radius:22px;background:var(--v5-lime);color:var(--v5-lime-ink)}
#top.v5 .article-cta :is(h2,h3,p){color:var(--v5-lime-ink);margin:0}
#top.v5 .article-cta-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px}
#top.v5 .article-cta .button{background:var(--v5-lime-ink);color:var(--v5-chalk)}
#top.v5 .article-cta .text-link{color:var(--v5-lime-ink)}
#top.v5 .article-related{padding-block:clamp(70px,9vw,130px);border-top:1px solid var(--v5-line)}

/* Privacy and other legal copy */
#top.v5 .legal-layout{padding-block:clamp(48px,6vw,90px)}
#top.v5 .legal-copy{max-width:72ch;font-size:16px;line-height:1.8;color:#d9dbd5}
#top.v5 .legal-copy :is(h2,h3){margin:1.8em 0 .5em;font-family:var(--font-heading,Manrope),sans-serif;letter-spacing:-.03em;color:var(--v5-chalk)}
#top.v5 .legal-copy .legal-section{display:grid;gap:10px;padding-block:clamp(20px,2.4vw,30px);border-top:1px solid var(--v5-line)}
#top.v5 .legal-copy .legal-section h2{margin:0;font-size:clamp(20px,1.8vw,26px);font-weight:700;line-height:1.2}
#top.v5 .legal-copy .legal-section p{margin:0}
#top.v5 .legal-layout aside p{color:#d6d8d2}
body.v5-error .error-home{text-decoration:none}
@media(max-width:680px){#top.v5 [data-case-gallery] [data-gallery-item] figcaption{min-height:0}}

/* Error pages (standalone layout) */
body.v5-error{margin:0;min-height:100svh;background:var(--v5-bg);color:var(--v5-chalk);font-family:var(--font-body,Manrope),sans-serif;display:grid}
body.v5-error .error-page{display:grid;align-content:center;gap:20px;max-width:1100px;margin:0 auto;padding:40px max(20px,env(safe-area-inset-left,0px))}
body.v5-error .error-code{margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(120px,26vw,340px);line-height:.8;letter-spacing:-.08em;color:var(--v5-lime)}
body.v5-error h1{margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-weight:800;font-size:clamp(34px,5vw,72px);line-height:.95;letter-spacing:-.05em}
body.v5-error p{margin:0;max-width:52ch;color:var(--v5-muted);font-size:16px;line-height:1.6}
body.v5-error nav{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px;font-size:0}
body.v5-error nav a{font-size:15px}
body.v5-error nav .text-link{display:inline-flex;align-items:center;min-height:52px;padding:0 20px;border:1px solid var(--v5-line-strong);border-radius:999px;font-weight:600;text-decoration:none}
body.v5-error nav .text-link:hover{border-color:var(--v5-lime)}
body.v5-error a{color:var(--v5-chalk)}
body.v5-error a:hover{color:var(--v5-lime)}
body.v5-error .error-home{display:inline-flex;align-items:center;min-height:52px;padding:0 24px;border-radius:999px;background:var(--v5-lime);color:var(--v5-lime-ink);font-weight:700}
body.v5-error .error-home:hover{background:var(--v5-chalk);color:var(--v5-lime-ink)}

@media(max-width:1000px){
  #top.v5 .about-statement,#top.v5 .about-legal,#top.v5 .article-layout{grid-template-columns:1fr}
  #top.v5 .about-side,#top.v5 .article-toc{position:static}
  #top.v5 .contacts-grid{grid-template-columns:1fr}
}

/* Page change: a graphite curtain with a lime edge rises over the old page (which lifts and darkens), then lifts off
   the new content. The header stays in place. The curtain is part of the new page, shown by the pagereveal hook. */
::view-transition-old(root){animation:v5-page-lift .55s cubic-bezier(.76,0,.24,1) both}
::view-transition-new(root){animation:v5-page-rise .55s cubic-bezier(.76,0,.24,1) both}
::view-transition-group(site-header){animation-duration:0s}
@keyframes v5-page-lift{to{transform:translate3d(0,-12vh,0);filter:brightness(.4)}}
@keyframes v5-page-rise{from{transform:translate3d(0,100%,0)}}
.page-curtain{display:none}
html.is-arriving .page-curtain{position:fixed;inset:0;z-index:59;display:block;pointer-events:none;background:var(--v5-bg);box-shadow:inset 0 6px 0 var(--v5-lime),inset 0 -6px 0 var(--v5-lime);animation:v5-curtain-lift .75s cubic-bezier(.76,0,.24,1) .5s both}
@keyframes v5-curtain-lift{to{transform:translate3d(0,-100%,0)}}
/* Opening or leaving a case: the project images morph between the pages, so the content only fades and slides. */
html.is-morphing::view-transition-old(root){animation:v5-page-out .32s cubic-bezier(.22,1,.36,1) both}
html.is-morphing::view-transition-new(root){animation:v5-page-in .6s cubic-bezier(.16,1,.3,1) both}
@keyframes v5-page-out{to{opacity:0;transform:translate3d(0,-24px,0)}}
@keyframes v5-page-in{from{opacity:0;transform:translate3d(0,36px,0)}}

@media(max-width:900px){
  #top.v5 .footer-services{grid-template-columns:repeat(2,minmax(0,1fr))}
  #top.v5 .footer-services a:nth-child(3){padding-left:0;border-left:0}
}
@media(max-width:680px){
  #top.v5 .header-inner{padding-block:12px}
  #top.v5 .header-cta{display:none}
  #top.v5 .menu-panel{position:fixed;top:calc(64px + env(safe-area-inset-top,0px));left:16px;right:16px;width:auto}
  #top.v5 .finale-row{grid-template-columns:1fr;gap:24px;margin-top:32px}
  #top.v5 .site-footer.finale{padding-top:64px}
  #top.v5 .finale-round{width:140px}
  #top.v5 .footer-statement .finale-accent{padding-left:0}
  #top.v5 .footer-services{grid-template-columns:1fr}
  #top.v5 .footer-services a,#top.v5 .footer-services a+a{padding-left:0;border-left:0}
}
@media(prefers-reduced-motion:reduce){
  @view-transition{navigation:none}
  #top.v5 .menu-panel,#top.v5 .menu-panel>a,#top.v5 .menu-cta{animation:none}
  #top.v5 .roll>span,#top.v5 .site-header,#top.v5 .header-inner{transition:none}
  #top.v5 .finale-accent .ch{transform:none;opacity:1}
  html.is-arriving .page-curtain{display:none}
}

/* Fit pass (2026-11-11): every block fits one desktop screen (1440x900 and 1366x768). Sizes follow the viewport height. */
@media(min-width:681px){
  #top.v5 .services-home,#top.v5 .calculator-section,#top.v5 .home-process,#top.v5 .faq-section{padding-block:clamp(44px,7svh,96px)}
  #top.v5 .calculator-section h2,#top.v5 .home-process h2,#top.v5 .faq-section h2,#top.v5 .contact-section h2,#top.v5 .services-section h2,#top.v5 .instagram-section h2,#top.v5 .service-packages h2,#top.v5 .service-detail h2{font-size:clamp(34px,min(5vw,8.4svh),84px)}
  #top.v5 .home-process .section-heading{margin-bottom:clamp(20px,3.4svh,48px)}
  #top.v5 .home-process .service-step-list>li{gap:10px;padding-top:clamp(16px,2.6svh,28px)}
  #top.v5 .home-process .service-step-list svg{width:56px;height:44px}
  #top.v5 .contact-inner{padding-block:clamp(44px,7svh,96px)}
  #top.v5 .contact-section .lead-form{padding:clamp(18px,2.6svh,30px)}
  #top.v5 .contact-section .lead-form :is(input:not([type=checkbox]),select){min-height:46px}
  #top.v5 .contact-section .lead-form textarea{min-height:76px;height:76px}
  #top.v5 .site-footer.finale{padding-top:clamp(48px,8svh,110px)}
  #top.v5 .footer-statement{font-size:clamp(48px,min(9.6vw,15svh),170px)}
  #top.v5 .finale-row{margin-top:clamp(20px,3svh,44px)}
  #top.v5 .finale-round{width:clamp(130px,min(13vw,20svh),190px)}
  #top.v5 .footer-services{margin-top:clamp(24px,4svh,56px)}
  #top.v5 .footer-services a{min-height:52px}
  #top.v5 .service-packages{padding-block:clamp(44px,7svh,96px)}
  #top.v5 .service-packages .section-heading{margin-bottom:clamp(20px,3.4svh,48px)}
  #top.v5 .service-list summary{min-height:clamp(64px,10svh,104px)}
  #top.v5 .page-intro{padding-block:clamp(24px,5svh,72px) clamp(28px,5svh,64px)}
  #top.v5 .page-intro h1{font-size:clamp(40px,min(7vw,11svh),124px)}
}
/* Portfolio grids: three tiles per row on desktop so a row reads as one screen. */
@media(min-width:1100px){
  #top.v5 .portfolio-grid{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:clamp(18px,2vw,32px);row-gap:clamp(40px,6svh,72px)}
  #top.v5 #portfolio-showcase[data-view=grid] .portfolio-grid>.v5-tile:nth-child(n),#top.v5 :is(.related-projects,.service-related) .portfolio-grid>.v5-tile:nth-child(n){margin-top:0;grid-column:auto;width:auto;justify-self:stretch}
  #top.v5 #portfolio-showcase[data-view=grid] .portfolio-grid>.v5-tile:nth-child(3n+2),#top.v5 :is(.related-projects,.service-related) .portfolio-grid>.v5-tile:nth-child(3n+2){margin-top:clamp(24px,5svh,56px)}
}
/* Calculator: intro on top, then the portfolio base (left) and the configurator with its result (right) in one row. */
@media(min-width:1101px){
  #top.v5 .calculator-section.has-builder{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,2fr);column-gap:14px;align-items:start}
  #top.v5 .calculator-section.has-builder>.calculator-intro{grid-column:1/-1;margin-bottom:clamp(20px,3.6svh,48px)}
  #top.v5 .calculator-section.has-builder>.builder{grid-column:1;grid-row:2;margin:0}
  #top.v5 .calculator-section.has-builder>.calculator-panel{grid-column:2;grid-row:2}
  #top.v5 .calculator-section.has-builder>.builder-format-head{position:absolute}
  #top.v5 .calculator-section.has-builder .builder-skip{display:none}
  #top.v5 .calculator-section.has-builder .builder-step{padding:18px}
  #top.v5 .calculator-section.has-builder .builder-step-head{margin-bottom:12px}
  #top.v5 .calculator-section.has-builder .builder-step-head>p:last-child{display:none}
  #top.v5 .calculator-section.has-builder .builder-filters{flex-wrap:wrap;margin-bottom:12px}
  #top.v5 .calculator-section.has-builder .builder-filters button{min-height:34px;padding:0 12px;font-size:12px}
  #top.v5 .calculator-section.has-builder .builder-grid{grid-template-columns:1fr;gap:8px}
  #top.v5 .calculator-section.has-builder .builder-card-open{grid-template-columns:112px minmax(0,1fr);align-items:center;gap:12px;padding:8px}
  #top.v5 .calculator-section.has-builder .builder-card-media{border-radius:8px}
  #top.v5 .calculator-section.has-builder .builder-card-text{padding:0 40px 0 0}
  #top.v5 .calculator-section.has-builder .builder-card-text strong{font-size:16px}
  #top.v5 .calculator-section.has-builder .builder-check{top:50%;right:12px;transform:translateY(-50%)}
  #top.v5 #calculator-form{gap:16px}
  #top.v5 #calculator-form legend{margin-bottom:8px;font-size:16px}
  #top.v5 .brief-options span{min-height:38px;padding:0 14px;font-size:13px}
  #top.v5 #estimate-label,#top.v5 .estimate-placeholder strong{font-size:clamp(34px,min(3.6vw,6.4svh),56px)}
}
/* Case page: the info column stays compact enough to read next to the gallery. */
@media(min-width:1024px){
  #top.v5 [data-case-gallery] .case-info h1{font-size:clamp(44px,min(5.2vw,10svh),96px)}
  #top.v5 [data-case-gallery] .case-info .case-back{margin-bottom:8px}
}
@media(min-width:681px){
  #top.v5 .footer-statement{font-size:clamp(44px,min(7vw,11svh),130px)}
  #top.v5 .about-content{padding-block:clamp(32px,6svh,80px)}
}
@media(min-width:1024px){
  #top.v5 [data-case-gallery] .case-info .case-back{display:none}
  #top.v5 [data-case-gallery] .case-info .case-actions{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 20px}
  #top.v5 [data-case-gallery] .case-info .case-actions .button{width:auto;flex:0 0 auto}
  #top.v5 [data-case-gallery] .case-info .case-format-price{margin-top:14px}
  #top.v5 [data-case-gallery] .case-info .case-passport{margin-top:14px}
}
@media(min-width:1100px){#top.v5 .portfolio-grid>.v5-tile:only-child{width:min(100%,33%)}}
@media(min-width:681px){
  #top.v5 .services-section:not(.services-home),#top.v5 :is(.related-projects,.service-related){padding-block:clamp(40px,6svh,90px)}
  #top.v5 .service-list summary{min-height:clamp(56px,8svh,104px)}
  #top.v5 .service-packages{padding-block:clamp(40px,6svh,90px)}
  #top.v5 .package-card{gap:8px;padding:clamp(18px,2.4svh,28px)}
  #top.v5 .services-home,#top.v5 .calculator-section,#top.v5 .home-process,#top.v5 .faq-section{padding-block:clamp(40px,6svh,90px)}
  #top.v5 .calculator-section.has-builder>.calculator-intro{margin-bottom:clamp(16px,2.6svh,40px)}
  #top.v5 .footer-statement .finale-accent{padding-left:.4em}
}
@media(min-width:1100px){
  #top.v5 :is(.related-projects,.service-related) .portfolio-grid>.v5-tile:nth-child(3n+2){margin-top:0}
}
@media(min-width:1101px){
  #top.v5 .calculator-section.has-builder .builder-step{padding:14px}
  #top.v5 .calculator-section.has-builder .builder-card-open{grid-template-columns:96px minmax(0,1fr);padding:6px}
}
@media(min-width:1024px){
  #top.v5 [data-case-gallery] .case-info .case-index{margin-block:8px 6px}
  #top.v5 [data-case-gallery] .case-info .case-passport>div{padding-block:7px}
  #top.v5 [data-case-gallery] .case-info .case-format-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
  #top.v5 [data-case-gallery] .case-info .case-format-price strong{font-size:clamp(24px,2.4vw,34px)}
  #top.v5 [data-case-gallery] .case-info .case-format-price>p{flex-basis:100%;margin:0}
  #top.v5 [data-case-gallery] .case-info .case-actions .text-link{font-size:13px}
}
#top.v5 .footer-statement{padding:0}
/* Short laptop screens (≤ 820px tall): tighter rhythm so blocks still fit. */
@media(min-width:681px) and (max-height:820px){
  #top.v5 .services-home,#top.v5 .calculator-section,#top.v5 .home-process,#top.v5 .faq-section,#top.v5 .services-section:not(.services-home),#top.v5 :is(.related-projects,.service-related),#top.v5 .service-packages{padding-block:32px}
  #top.v5 .contact-inner{padding-block:36px}
  #top.v5 .about-content{padding-block:20px}
  #top.v5 .site-footer.finale{padding-top:36px}
  #top.v5 .finale-row{margin-top:14px}
  #top.v5 .finale-action{margin-top:12px}
  #top.v5 .footer-services{margin-top:18px}
  #top.v5 .footer-services a{min-height:44px}
  #top.v5 .footer-bottom{margin-top:16px}
  #top.v5 .service-list summary{min-height:52px}
  #top.v5 .calculator-section.has-builder .builder-card-open{grid-template-columns:84px minmax(0,1fr)}
  #top.v5 #calculator-form{gap:12px;padding:16px 20px}
  #top.v5 .estimate-result-slot{padding:16px 20px}
  #top.v5 #portfolio-showcase{padding-bottom:40px}
}
#top.v5 #portfolio-showcase{padding-top:clamp(24px,4svh,48px);padding-bottom:clamp(40px,6svh,90px)}
@media(min-width:1100px) and (max-height:820px){#top.v5 .v5-tile-media{aspect-ratio:16/10}#top.v5 #portfolio-showcase[data-view=grid] .portfolio-grid>.v5-tile:nth-child(3n+2){margin-top:24px}}

@media(min-width:1024px){
  #top.v5 [data-case-gallery] .case-info .case-subtitle{font-size:17px;line-height:1.45;margin-block:8px 0}
  #top.v5 [data-case-gallery] .case-info h1{margin-bottom:6px}
  #top.v5 [data-case-gallery] .case-info .case-story details>p{font-size:14px;line-height:1.6}
  #top.v5 [data-case-gallery] .case-info .case-story summary{min-height:44px}
  #top.v5 [data-case-gallery] .case-info .case-actions .button{min-height:46px;padding:0 20px;font-size:13px}
}

/* Owner review 2 (2026-11-11) */
/* 1. No cursor-following lime border on cards. */
#top.v5 :is(.service,.project-card,.project-tile,.calculator-panel,.package-card,.audience-card)::after{content:none}
/* 2. Buttons: a fill that grows from the cursor instead of rolling text; the arrow nudges toward its direction. */
#top.v5 .roll>span,#top.v5 a:hover>.roll>span,#top.v5 button:hover>.roll>span,#top.v5 a:focus-visible>.roll>span,#top.v5 .footer-statement:hover .finale-action .roll>span{transform:none}
#top.v5 .roll>span::after{content:none}
#top.v5 :is(.pill,.button-lime,.finale-action,#estimate-whatsapp,.blog-empty .text-link,.contact-copy .direct-link){position:relative;overflow:hidden;isolation:isolate;transition:color .45s var(--v5-ease),border-color .45s var(--v5-ease),box-shadow .45s var(--v5-ease)}
#top.v5 :is(.pill,.button-lime,.finale-action,#estimate-whatsapp,.blog-empty .text-link,.contact-copy .direct-link)::before{content:"";position:absolute;z-index:-1;inset:auto;height:auto;opacity:1;filter:none;mask:none;-webkit-mask:none;left:var(--mx,50%);top:var(--my,50%);width:240%;aspect-ratio:1;border-radius:50%;background:var(--v5-lime);transform:translate(-50%,-50%) scale(0);transition:transform .6s var(--v5-ease);pointer-events:none}
#top.v5 :is(.pill-lime,.button-lime,#estimate-whatsapp,.blog-empty .text-link)::before{background:var(--v5-ink,#0d0e10)}
#top.v5 :is(.pill,.button-lime,.finale-action,#estimate-whatsapp,.blog-empty .text-link,.contact-copy .direct-link):is(:hover,:focus-visible)::before{transform:translate(-50%,-50%) scale(1)}
#top.v5 .pill:not(.pill-lime):is(:hover,:focus-visible),#top.v5 .finale-action:hover,#top.v5 .footer-statement:hover .finale-action,#top.v5 .contact-copy .direct-link:hover{color:var(--v5-lime-ink);border-color:var(--v5-lime);background:transparent}
#top.v5 :is(.pill-lime,.button-lime,#estimate-whatsapp,.blog-empty .text-link):is(:hover,:focus-visible){color:var(--v5-lime);background:var(--v5-lime);border-color:var(--v5-lime)}
#top.v5 .pill-lime:hover{background:var(--v5-lime)}
#top.v5 :is(.pill,.button-lime,.finale-action,#estimate-whatsapp,.text-link) .icon{transition:transform .45s var(--v5-ease)}
#top.v5 :is(.pill,.button-lime,.finale-action,#estimate-whatsapp,.text-link):is(:hover,:focus-visible) .icon{transform:translate3d(3px,-3px,0)}
#top.v5 .menu-toggle .menu-dots{transition:transform .45s var(--v5-ease)}
#top.v5 .menu-toggle:hover .menu-dots{transform:rotate(90deg)}
#top.v5 .menu-panel a:hover{padding-left:18px}
@media(prefers-reduced-motion:reduce){#top.v5 :is(.pill,.button-lime,.finale-action,#estimate-whatsapp)::before{transition:none}}
/* 3. Contact cards: readable text on the lime hover. */
#top.v5 .contact-card:hover :is(strong,span,.icon){color:var(--v5-lime-ink)}
/* 4. Calculator result: long quotes ("Индивидуальный расчёт") and the WhatsApp button stay inside the column. */
#top.v5 #estimate-label.is-quote{font-size:clamp(24px,min(2.4vw,4.6svh),36px);line-height:1.05;letter-spacing:-.035em;hyphens:manual;overflow-wrap:normal}
#top.v5 .estimate-result-actions{display:grid;justify-items:stretch}
#top.v5 #estimate-whatsapp,#top.v5 #estimate-whatsapp:is(*){width:100%;justify-content:space-between;white-space:normal;text-align:left;line-height:1.25;padding-block:12px}
#top.v5 #estimate-request{justify-self:start}
/* 5. Sheets read as separate rounded panels with a gap between them. */
#top.v5 :is(.services-home,.calculator-section,.home-process,.faq-section)::before{border-radius:clamp(22px,4vw,48px);border:1px solid var(--v5-line);box-shadow:none}
#top.v5 :is(.services-home,.calculator-section,.home-process,.faq-section,.contact-section,.instagram-section){margin-top:14px}
#top.v5 :is(.contact-section,.instagram-section){border:1px solid var(--v5-line);border-radius:clamp(22px,4vw,48px)}
#top.v5 .site-footer.finale{margin-top:14px}
/* 6. Lead dialog: rounded panel and a slim lime scrollbar. */
#top.v5 .lead-dialog,#top.v5 .brief-dialog{border-radius:24px;overflow:hidden}
#top.v5 :is(.lead-dialog,.brief-dialog) .dialog-inner{scrollbar-width:thin;scrollbar-color:var(--v5-lime) transparent}
#top.v5 :is(.lead-dialog,.brief-dialog) .dialog-inner::-webkit-scrollbar{width:6px}
#top.v5 :is(.lead-dialog,.brief-dialog) .dialog-inner::-webkit-scrollbar-track{background:transparent;margin-block:18px}
#top.v5 :is(.lead-dialog,.brief-dialog) .dialog-inner::-webkit-scrollbar-thumb{border-radius:999px;background:var(--v5-lime)}
#top.v5 :is(.lead-dialog,.brief-dialog) .dialog-close{border-radius:50%}
/* 7. Process steps: hover draws a lime rule on top, redraws the diagram and lifts it. */
#top.v5 .home-process .service-step-list>li{position:relative;transition:background-color .5s var(--v5-ease)}
#top.v5 .home-process .service-step-list>li::before{content:"";position:absolute;left:0;right:0;top:-1px;height:2px;background:var(--v5-lime);transform:scaleX(0);transform-origin:left;transition:transform .7s var(--v5-ease)}
#top.v5 .home-process .service-step-list>li:hover{background:linear-gradient(180deg,rgba(207,252,72,.06),transparent 75%)}
#top.v5 .home-process .service-step-list>li:hover::before{transform:scaleX(1)}
#top.v5 .home-process .service-step-list svg{transition:transform .6s var(--v5-ease)}
#top.v5 .home-process .service-step-list>li:hover svg{transform:translate3d(0,-4px,0) scale(1.08)}
#top.v5 .home-process .service-step-list>li:hover svg :is(path,rect,circle,line){stroke-dasharray:1;animation:v5-redraw 1.2s var(--v5-ease) both}
#top.v5 .home-process .service-step-list>li:hover svg .diagram-accent{stroke:var(--v5-lime)}
#top.v5 .home-process .service-step-list>li h3{transition:color .4s}
#top.v5 .home-process .service-step-list>li:hover h3{color:var(--v5-lime)}
@keyframes v5-redraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){#top.v5 .home-process .service-step-list>li:hover svg :is(path,rect,circle,line){animation:none}}
/* 8. Lime threads drawn on scroll (audiences, services, process, contact). */
#top.v5 .v5-thread{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;z-index:0}
#top.v5 .v5-thread path{fill:none;stroke:var(--v5-lime);stroke-width:3;stroke-linecap:round;vector-effect:non-scaling-stroke;opacity:.95;filter:drop-shadow(0 0 6px rgba(207,252,72,.55))}
#top.v5 .v5-thread-services{height:min(100%,620px)}
#top.v5 .v5-thread-process path,#top.v5 .v5-thread-contact path{opacity:.7}
#top.v5 :is(.services-home,.home-process,.contact-section)>:not(.v5-thread){position:relative;z-index:1}
/* 9. Builder preview dialog: rounded panel, live site frame (desktop width or a phone frame), soft close. */
#top.v5 .builder-dialog-panel{border-radius:24px;border-color:var(--v5-line-strong);background:var(--v5-graphite)}
#top.v5 .builder-dialog-close{border-radius:50%;background:var(--v5-surface);transition:background-color .3s,color .3s,transform .4s var(--v5-ease)}
#top.v5 .builder-dialog-close:hover{background:var(--v5-lime);color:var(--v5-lime-ink);transform:rotate(90deg)}
#top.v5 .builder-device-switch{padding:3px;border-radius:999px;border-color:var(--v5-line-strong)}
#top.v5 .builder-device-switch button{border-radius:999px;min-height:36px}
#top.v5 .builder-device-switch button[aria-pressed=true]{background:var(--v5-chalk);color:var(--v5-lime-ink)}
#top.v5 .builder-dialog-stage{border-radius:16px;overflow:hidden}
/* No ancestor of the live iframe clips it (overflow + border-radius): on iPhone Safari such a rounded clip stops the
   embedded site from scrolling under a finger. The iframe and the screenshots round their own corners instead. */
#top.v5 .builder-dialog-stage[data-live]{display:block;height:min(64svh,680px);padding:12px;background:#0d0e10;overflow:visible}
#top.v5 .builder-live{--live-radius:10px;position:relative;height:100%;width:100%;margin-inline:auto;border-radius:var(--live-radius);background:#fff;transition:width .6s var(--v5-ease)}
#top.v5 .builder-dialog-stage[data-device=mobile] .builder-live{--live-radius:24px;width:min(390px,100%);border:6px solid #2a2d31;border-radius:30px}
#top.v5 .builder-live::before{content:"Загружаем сайт…";position:absolute;z-index:3;left:50%;bottom:14px;padding:7px 14px;border-radius:999px;background:rgba(16,17,19,.82);color:var(--v5-chalk);font-size:12px;transform:translateX(-50%);transition:opacity .4s}
/* Screenshot placeholders under the live frame (shown for the selected device until the site has loaded). */
#top.v5 .builder-live-shot{position:absolute;inset:0;z-index:1;display:none;margin:0;overflow:hidden;border-radius:var(--live-radius)}
#top.v5 .builder-dialog-stage .builder-live-shot :is(picture,img){display:block;width:100%;height:100%;max-width:none;max-height:none;border-radius:var(--live-radius);object-fit:cover;object-position:top center}
#top.v5 .builder-dialog-stage[data-device=desktop] .builder-live-shot[data-device=desktop],#top.v5 .builder-dialog-stage[data-device=mobile] .builder-live-shot[data-device=mobile]{display:block}
#top.v5 .builder-live.is-loaded .builder-live-shot{visibility:hidden;transition:visibility 0s .4s}
#top.v5 .builder-live.is-loaded::before{opacity:0;pointer-events:none}
#top.v5 .builder-live iframe{position:relative;z-index:2;display:block;width:100%;height:100%;border:0;border-radius:var(--live-radius);background:#fff;opacity:0;transition:opacity .35s var(--v5-ease)}
#top.v5 .builder-live.is-loaded iframe{opacity:1}
#top.v5 .builder-dialog.is-closing::backdrop{animation:v5-backdrop-out .26s ease forwards}
@keyframes v5-backdrop-out{to{opacity:0}}
#top.v5 :is(.lead-dialog,.brief-dialog) .lead-form{border-radius:18px}
#top.v5 .service-detail .service-body-section h2{font-size:clamp(26px,3vw,46px);overflow-wrap:normal}
/* 10. Analytics consent banner in the v5 look: a compact rounded card that slides in, pill buttons with the cursor fill. */
#top.v5 .cookie-banner{left:max(16px,env(safe-area-inset-left,0px));right:auto;bottom:max(16px,env(safe-area-inset-bottom,0px));transform:none;width:min(480px,calc(100% - 32px));max-width:none;display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px 14px;padding:18px 18px 16px;border:1px solid var(--v5-line-strong);border-radius:22px;background:rgba(22,23,26,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 24px 60px rgba(0,0,0,.5);animation:v5-cookie-in .7s var(--v5-ease) both}
#top.v5 .cookie-banner[hidden]{display:none}
#top.v5 .cookie-banner::before{content:"";grid-row:1;width:34px;height:34px;border-radius:50%;background:radial-gradient(circle at 50% 50%,var(--v5-lime) 0 5px,rgba(207,252,72,.16) 6px 100%);box-shadow:0 0 0 1px rgba(207,252,72,.35)}
#top.v5 .cookie-banner p{grid-column:2;margin:0;font-size:13px;line-height:1.55;color:#d6d8d2}
#top.v5 .cookie-banner a{color:var(--v5-chalk);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(246,247,242,.4)}
#top.v5 .cookie-banner a:hover{color:var(--v5-lime);text-decoration-color:var(--v5-lime)}
#top.v5 .cookie-banner button{grid-row:2;position:relative;overflow:hidden;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:1px solid var(--v5-lime);border-radius:999px;background:var(--v5-lime);color:var(--v5-lime-ink);font:700 13px/1 var(--font-body,Manrope),sans-serif;letter-spacing:0;text-transform:none;cursor:pointer;transition:color .45s var(--v5-ease),border-color .45s var(--v5-ease)}
#top.v5 .cookie-banner button[data-consent=yes]{grid-column:1/2;justify-self:stretch;width:max-content}
#top.v5 .cookie-banner button[data-consent=yes]{grid-column:1/3;justify-self:start}
#top.v5 .cookie-banner button[data-consent=no]{grid-row:2;grid-column:1/3;justify-self:end;border-color:var(--v5-line-strong);background:transparent;color:var(--v5-chalk);font-weight:600;margin-left:0}
#top.v5 .cookie-banner button::before{content:"";position:absolute;z-index:-1;left:var(--mx,50%);top:var(--my,50%);width:240%;aspect-ratio:1;border-radius:50%;background:var(--v5-ink);transform:translate(-50%,-50%) scale(0);transition:transform .6s var(--v5-ease);pointer-events:none}
#top.v5 .cookie-banner button[data-consent=no]::before{background:var(--v5-lime)}
#top.v5 .cookie-banner button:is(:hover,:focus-visible)::before{transform:translate(-50%,-50%) scale(1)}
#top.v5 .cookie-banner button[data-consent=yes]:is(:hover,:focus-visible){color:var(--v5-lime)}
#top.v5 .cookie-banner button[data-consent=no]:is(:hover,:focus-visible){color:var(--v5-lime-ink);border-color:var(--v5-lime)}
@keyframes v5-cookie-in{from{opacity:0;transform:translate3d(0,24px,0) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:680px){
  #top.v5 .cookie-banner{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom,0px));width:auto;padding:16px}
  #top.v5 .cookie-banner button[data-consent=yes],#top.v5 .cookie-banner button[data-consent=no]{grid-column:auto;justify-self:stretch;width:auto;padding:0 12px}
  #top.v5 .cookie-banner{grid-template-columns:auto minmax(0,1fr) minmax(0,1fr)}
  #top.v5 .cookie-banner p{grid-column:2/4}
  #top.v5 .cookie-banner button[data-consent=yes]{grid-column:1/3}
  #top.v5 .cookie-banner button[data-consent=no]{grid-column:3/4}
}
@media(prefers-reduced-motion:reduce){#top.v5 .cookie-banner{animation:none}#top.v5 .cookie-banner button::before{transition:none}}
#top.v5 .cookie-banner button::before{inset:auto;right:auto;bottom:auto;height:auto;max-width:none;max-height:none;min-width:0;min-height:0;opacity:1;filter:none;mask:none;-webkit-mask:none;left:var(--mx,50%);top:var(--my,50%);width:240%;aspect-ratio:1}
@media(max-width:680px){
  #top.v5 .cookie-banner{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
  #top.v5 .cookie-banner::before{display:none}
  #top.v5 .cookie-banner p{grid-column:1/-1}
  #top.v5 .cookie-banner button[data-consent=yes]{grid-column:1/2}
  #top.v5 .cookie-banner button[data-consent=no]{grid-column:2/3}
  #top.v5 .cookie-banner button{font-size:12.5px;white-space:nowrap;padding:0 10px}
}
/* 11. Custom cursor: never blurs or covers text. A small dot over links and buttons (they have their own fill),
   a rounded label pill over project cards. */
#top.v5 .tactile-cursor{backdrop-filter:none;-webkit-backdrop-filter:none;background:transparent;width:12px;height:12px;margin:-6px 0 0 -6px}
#top.v5 .tactile-cursor.is-link{width:6px;height:6px;margin:-3px 0 0 -3px;border-color:transparent;background:var(--v5-lime)}
#top.v5 .tactile-cursor.is-case,#top.v5 .tactile-cursor.is-choice{border-radius:999px;height:40px;margin-top:-20px;box-shadow:0 10px 30px rgba(0,0,0,.35)}
/* C1: consent buttons may wrap on narrow phones instead of being clipped; very narrow screens stack them. */
@media(max-width:680px){
  #top.v5 .cookie-banner button{white-space:normal;line-height:1.2;text-align:center;padding:8px 10px}
}
@media(max-width:360px){
  #top.v5 .cookie-banner{grid-template-columns:1fr}
  #top.v5 .cookie-banner button[data-consent=yes],#top.v5 .cookie-banner button[data-consent=no]{grid-column:1/-1;grid-row:auto}
}
/* C3/C4 phones: no text below 12px; every link or button at least 44px tall to tap. */
@media(max-width:680px){
  #top.v5 :is(.breadcrumbs,.breadcrumbs a,.case-passport dt,.v5-tag,.section-kicker,.section-code,.hero-facts,.hero-meta,.hero-eyebrow,.hero-start-price,.s-labels,.finale-place,.contact-location,.builder-card-meta,.configurator-heading,.finale-kicker,.v5-reel-hud,.audience-index,.service-step-index,.service-list .service-number,.package-direction){font-size:12px}
  #top.v5 :is(.breadcrumbs,.case-passport dt,.v5-tag,.hero-facts,.s-labels,.builder-card-meta){font-size:12px}
  #top.v5 :is(.breadcrumbs a,.footer-nav a,.back-top,.footer-direct a,.contact-copy .contact-email,.footer-brand,.text-link,.project-site-link){display:inline-flex;align-items:center;min-height:44px}
  #top.v5 .footer-nav{gap:0 20px}
  #top.v5 :is(.consent-check a,.cookie-banner p a,.legal-copy a,.case-info p a){display:inline-block;padding-block:12px;margin-block:-12px}
}
@media(max-width:680px){
  #top.v5 :is(.case-index,.case-passport dt,[data-gallery-counter],[data-gallery-counter] *,.service-step-index,.case-process .service-step-index,.text-link,.direct-link,.back-top,.footer-nav a,.project-site-link,.case-back){font-size:max(12px,var(--v5-min-fs,12px))!important}
  #top.v5 .case-info .case-passport dt,#top.v5 .case-index{font-size:12px!important}
}
@media(max-width:680px){#top.v5 :is(.service-price small,.instagram-account,.package-timeframe-note,.contact-card span,.svc-price small){font-size:12px!important}}
@media(max-width:680px){
  #top.v5 .page-intro .breadcrumbs a,#top.v5 .article-header .breadcrumbs a{min-height:44px}
  #top.v5 :is(.footer-services a,.menu-panel a){min-height:48px}
  #top.v5 main dt,#top.v5 .studio-wordmark span{font-size:12px!important}
  #top.v5 .legal-layout aside a{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
  #top.v5 :is(.builder-filters button,.project-filters a,.view-switcher button){min-height:44px}
  #top.v5 .builder-check{width:36px;height:36px}
  #top.v5 .builder-check::before{inset:-6px}
}
@media(max-width:680px){#top.v5 .v5-svc h3 a{display:inline-block;padding-block:6px}}
/* C6: the case H1 is the largest first-screen element: show it at once (no clip-in). Scroll reveals are short. */
#top.v5 [data-case-gallery].is-gallery-ready .case-info h1,#top.v5 [data-case-gallery] .case-info h1{animation:none;clip-path:none}
#top.v5 .v5-rv{transition-duration:.4s,.45s;transition-delay:min(var(--d,0s),.1s)}
/* Menu scroll lock on <body> only: hiding overflow on <html> too made <body> its own scroller, so the sticky header and its menu slid off-screen and the page looked frozen. */
html.menu-open body{overflow-y:hidden;overscroll-behavior:none}
html{scrollbar-gutter:stable}

/* Owner review 3 (2026-11-12) */
/* Desktop navigation instead of the menu button; "Работы" opens a flyout with small project tiles. */
#top.v5 .desktop-nav{display:none}
@media(min-width:1101px){
  #top.v5 .desktop-nav{display:flex;align-items:center;gap:2px;margin:0 14px 0 auto}
  #top.v5 .menu-toggle{display:none}
  #top.v5 .desktop-nav-item{position:relative}
  #top.v5 .desktop-nav-link{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border-radius:999px;font-size:14px;font-weight:600;color:#cfd1cb;transition:color .3s,background-color .3s}
  #top.v5 .desktop-nav-link:hover,#top.v5 .desktop-nav-item:focus-within>.desktop-nav-link{color:var(--v5-chalk);background:rgba(246,247,242,.06)}
  #top.v5 .desktop-nav-link[aria-current=page]{color:var(--v5-chalk)}
  #top.v5 .desktop-nav-link[aria-current=page]::after{content:"";position:absolute;left:50%;bottom:6px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:var(--v5-lime)}
  #top.v5 .nav-caret{width:10px;height:10px;transition:transform .35s var(--v5-ease)}
  #top.v5 .has-works:is(:hover,:focus-within) .nav-caret{transform:rotate(180deg)}
  #top.v5 .works-flyout{position:absolute;z-index:60;top:calc(100% + 10px);left:-10px;display:none;grid-template-columns:repeat(3,210px);gap:8px;padding:10px;border:1px solid var(--v5-line-strong);border-radius:16px;background:rgba(20,21,24,.97);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 30px 70px rgba(0,0,0,.55)}
  #top.v5 .works-flyout::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
  #top.v5 .has-works:is(:hover,:focus-within) .works-flyout{display:grid;animation:v5-flyout .32s var(--v5-ease) both}
  #top.v5 .works-flyout-tile{display:grid;gap:8px;padding:6px;border-radius:10px;color:var(--v5-chalk);transition:background-color .25s}
  #top.v5 .works-flyout-tile:hover,#top.v5 .works-flyout-tile:focus-visible{background:var(--v5-surface-2)}
  #top.v5 .works-flyout-media{display:block;aspect-ratio:16/10;overflow:hidden;border-radius:8px;background:var(--v5-surface)}
  #top.v5 .works-flyout-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .6s var(--v5-ease)}
  #top.v5 .works-flyout-tile:hover .works-flyout-media img{transform:scale(1.05)}
  #top.v5 .works-flyout-text{display:grid;gap:2px;padding:0 4px 4px}
  #top.v5 .works-flyout-text strong{font-size:15px;font-weight:700;letter-spacing:-.02em}
  #top.v5 .works-flyout-text span{font-size:12px;color:var(--v5-muted)}
  #top.v5 .works-flyout-all{grid-column:1/-1;justify-self:end;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;font-size:13px;font-weight:600;color:var(--v5-chalk)}
  #top.v5 .works-flyout-all:hover{color:var(--v5-lime)}
}
@keyframes v5-flyout{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){#top.v5 .has-works:is(:hover,:focus-within) .works-flyout{animation:none}}

/* Blocks are flat: no rounded section panels; neighbouring sections blend through soft vertical gradients. */
#top.v5 :is(.services-home,.calculator-section,.home-process,.faq-section){margin-top:0}
#top.v5 :is(.services-home,.calculator-section,.home-process,.faq-section)::before{border:0;border-radius:0;box-shadow:none;background:linear-gradient(180deg,rgba(16,17,19,0) 0,var(--v5-sheet) 180px,var(--v5-sheet) calc(100% - 180px),rgba(16,17,19,0) 100%)}
#top.v5 .contact-section{margin-top:0;border:0;border-radius:0;background:linear-gradient(180deg,rgba(16,17,19,0) 0,var(--v5-graphite) 180px,var(--v5-graphite) calc(100% - 180px),rgba(16,17,19,0) 100%)}
#top.v5 .instagram-section{margin-top:0;border:0;border-radius:0;background:linear-gradient(180deg,rgba(16,17,19,0) 0,var(--v5-surface) 180px,var(--v5-surface) calc(100% - 180px),rgba(16,17,19,0) 100%)}
#top.v5 .site-footer.finale{margin-top:0;border-top:0;border-radius:0;background:linear-gradient(180deg,var(--v5-bg) 0,var(--v5-ink) 220px)}
/* Calmer corners on components (one modest radius instead of large pillowy cards). */
#top.v5 :is(.calculator-panel,.builder-step,.contacts-grid,.package-card,.lead-form,.service-next-step,.blog-empty,.v5-tile-media,.v5-work-media,.service-scope-list article,.builder-dialog-panel){border-radius:14px}
#top.v5 .v5-svc{border-radius:16px}

/* iPhone-proof form controls: our own checkbox and select arrow instead of the system ones. */
#top.v5 input[type=checkbox]{appearance:none;-webkit-appearance:none;flex:none;display:inline-grid;place-content:center;width:22px;height:22px;margin:0;border:1.5px solid var(--v5-line-strong);border-radius:6px;background:transparent;cursor:pointer;transition:background-color .2s,border-color .2s}
#top.v5 input[type=checkbox]::before{content:"";width:11px;height:6px;border-left:2px solid var(--v5-lime-ink);border-bottom:2px solid var(--v5-lime-ink);transform:translateY(-1px) rotate(-45deg) scale(0);transition:transform .2s var(--v5-ease)}
#top.v5 input[type=checkbox]:checked{background:var(--v5-lime);border-color:var(--v5-lime)}
#top.v5 input[type=checkbox]:checked::before{transform:translateY(-1px) rotate(-45deg) scale(1)}
#top.v5 input[type=checkbox]:focus-visible{outline:2px solid var(--v5-lime);outline-offset:3px}
#top.v5 .brief-options input[type=checkbox]{position:absolute;inset:0;width:100%;height:100%;opacity:0;border:0}
#top.v5 select{appearance:none;-webkit-appearance:none;padding-right:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23cffc48' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:12px 8px}

/* Calculator v6: numbered steps with prices on the left, the estimate pinned on the right (2026-11-12). */
#top.v5 #calculator.calc-v6{display:block}
#top.v5 #calculator.calc-v6>.calculator-intro{grid-column:auto;margin-bottom:clamp(24px,3.4vw,44px)}
#top.v5 #calculator.calc-v6 .calc-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);gap:clamp(14px,1.8vw,24px);align-items:start}
#top.v5 #calculator.calc-v6 .calc-main{display:grid;gap:12px;min-width:0}
#top.v5 #calculator.calc-v6 #calculator-form{display:grid;gap:12px;padding:0;border:0;background:none}
#top.v5 #calculator.calc-v6 .calc-step{display:block;min-width:0;margin:0;padding:clamp(18px,2vw,26px);border:1px solid var(--v5-line);border-radius:14px;background:var(--v5-graphite)}
#top.v5 #calculator.calc-v6 #calculator-form legend,#top.v5 #calculator.calc-v6 .calc-step-title{float:left;display:flex;flex-wrap:wrap;align-items:center;gap:4px 0;width:100%;margin:0 0 16px;padding:0;font-family:var(--font-heading,Manrope),sans-serif;font-size:18px;font-weight:700;letter-spacing:-.02em;line-height:1.25;color:var(--v5-chalk)}
#top.v5 #calculator.calc-v6 .calc-step-title{float:none}
#top.v5 #calculator.calc-v6 .calc-step-n{display:inline-grid;place-items:center;flex:0 0 26px;width:26px;height:26px;margin-right:12px;border-radius:50%;background:var(--v5-lime);color:var(--v5-lime-ink);font-family:var(--mono,"JetBrains Mono"),monospace;font-size:12px;font-weight:700;line-height:1}
#top.v5 #calculator.calc-v6 .calc-step-note{margin-left:10px;font-family:var(--font-body,Manrope),sans-serif;font-size:13px;font-weight:500;letter-spacing:0;color:var(--v5-muted)}
#top.v5 #calculator.calc-v6 .calc-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px;clear:both}
#top.v5 #calculator.calc-v6 .calc-options label{display:block;border-radius:12px}
#top.v5 #calculator.calc-v6 .calc-options span{display:grid;gap:5px;align-content:center;min-height:70px;height:100%;padding:12px 40px 12px 14px;border:1px solid var(--v5-line-strong);border-radius:12px;background:transparent;text-align:left;transition:background-color .3s var(--v5-ease),border-color .3s var(--v5-ease),color .3s var(--v5-ease)}
#top.v5 #calculator.calc-v6 .calc-options b{font-size:15px;font-weight:700;line-height:1.25;color:var(--v5-chalk);transition:color .3s var(--v5-ease)}
#top.v5 #calculator.calc-v6 .calc-options small{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:12px;letter-spacing:-.01em;color:var(--v5-muted);transition:color .3s var(--v5-ease)}
#top.v5 #calculator.calc-v6 .calc-options span::after{content:"";position:absolute;top:14px;right:14px;width:16px;height:16px;border:1.5px solid var(--v5-line-strong);border-radius:50%;background:transparent no-repeat center/11px;transition:background-color .3s var(--v5-ease),border-color .3s var(--v5-ease)}
#top.v5 #calculator.calc-v6 .calc-options input[type=checkbox]+span::after{border-radius:5px}
#top.v5 #calculator.calc-v6 .calc-options label:hover span{border-color:var(--v5-chalk)}
#top.v5 #calculator.calc-v6 .calc-options input:checked+span{background:var(--v5-lime);border-color:var(--v5-lime)}
#top.v5 #calculator.calc-v6 .calc-options input:checked+span :is(b,small){color:var(--v5-lime-ink)}
#top.v5 #calculator.calc-v6 .calc-options input:checked+span::after{border-color:var(--v5-lime-ink);background-color:var(--v5-lime-ink);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23cffc48' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
#top.v5 #calculator.calc-v6 .calc-options input:focus-visible+span{outline:2px solid var(--v5-lime);outline-offset:3px}
#top.v5 #calculator.calc-v6 .calc-wishes textarea{display:block;width:100%;min-height:96px;margin:0;padding:14px 16px;border:1px solid var(--v5-line-strong);border-radius:12px;background:var(--v5-bg);color:var(--v5-chalk);font:inherit;font-size:15px;line-height:1.5;resize:vertical;transition:border-color .3s var(--v5-ease)}
#top.v5 #calculator.calc-v6 .calc-wishes textarea::placeholder{color:var(--v5-dim)}
#top.v5 #calculator.calc-v6 .calc-wishes textarea:hover{border-color:var(--v5-muted)}
#top.v5 #calculator.calc-v6 .calc-wishes textarea:focus{outline:0;border-color:var(--v5-lime)}
#top.v5 #calculator.calc-v6 .calc-submit{display:none}
/* Optional example and design inside step 4: compact cards, image on top. */
#top.v5 #calculator.calc-v6 .builder{display:grid;gap:22px;margin:0;padding:0}
#top.v5 #calculator.calc-v6 .builder-step{margin:0;padding:0;border:0;border-radius:0;background:none}
#top.v5 #calculator.calc-v6 .builder-step-head{display:grid;gap:4px;margin:0 0 12px;max-width:none}
#top.v5 #calculator.calc-v6 .builder-step-head h4{margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-size:15px;font-weight:700;letter-spacing:-.01em;color:var(--v5-chalk)}
#top.v5 #calculator.calc-v6 .builder-step-head>p:last-child{display:block;margin:0;font-size:13px;line-height:1.5;color:var(--v5-muted)}
#top.v5 #calculator.calc-v6 .builder-filters{flex-wrap:wrap;margin:0 0 12px}
#top.v5 #calculator.calc-v6 .builder-filters button{min-height:36px;padding:0 14px;font-size:13px}
#top.v5 #calculator.calc-v6 .builder-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#top.v5 #calculator.calc-v6 .builder-card{border-radius:12px}
#top.v5 #calculator.calc-v6 .builder-card-open{display:grid;grid-template-columns:none;align-items:stretch;gap:0;padding:0}
#top.v5 #calculator.calc-v6 .builder-card-media{aspect-ratio:16/10;border-radius:0}
#top.v5 #calculator.calc-v6 .builder-card-text{gap:3px;padding:10px 46px 12px 12px}
#top.v5 #calculator.calc-v6 .builder-card-text strong{font-size:15px}
#top.v5 #calculator.calc-v6 .builder-card-meta{font-size:10px}
#top.v5 #calculator.calc-v6 .builder-check{top:auto;right:10px;bottom:10px;width:30px;height:30px;transform:none}
#top.v5 #calculator.calc-v6 .builder-grid.has-selection .builder-card:not(.is-selected){opacity:.55}
#top.v5 #calculator.calc-v6 .builder-summary{margin:4px 0 0;padding-top:12px;font-size:13px;line-height:1.6}
/* The estimate follows the steps on wide screens; it lets go once the call-back form is open (it may be taller than the screen). */
#top.v5 #calculator.calc-v6 .calc-side{position:sticky;top:92px;min-width:0}
#top.v5 #calculator.calc-v6 .calc-side:has(.estimate-lead-panel[open]){position:static}
#top.v5 #calculator.calc-v6 .calc-side-panel{display:grid;overflow:hidden;border:1px solid var(--v5-line);border-radius:14px;background:var(--v5-graphite)}
#top.v5 #calculator.calc-v6 .estimate-result-slot{min-height:0;padding:clamp(20px,2vw,28px);background:none}
#top.v5 #calculator.calc-v6 .estimate-result-slot .estimate-result{padding-top:0}
#top.v5 #calculator.calc-v6 .calc-side-label{margin:0;font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted)}
#top.v5 #calculator.calc-v6 :is(#estimate-label,.estimate-placeholder strong){font-size:clamp(34px,3.2vw,48px);overflow-wrap:anywhere}
#top.v5 #calculator.calc-v6 #estimate-label.is-quote{font-size:clamp(26px,2.4vw,34px);line-height:1.1}
#top.v5 #calculator.calc-v6 .estimate-result-actions{display:grid;gap:6px;justify-items:stretch}
#top.v5 #calculator.calc-v6 #estimate-whatsapp{justify-content:space-between;min-height:52px;padding:0 22px;font-size:14px;white-space:normal}
#top.v5 #calculator.calc-v6 #estimate-request{justify-self:start}
#top.v5 #calculator.calc-v6 #estimate-request[aria-expanded=true]{display:none}
#top.v5 #calculator.calc-v6 .estimate-lead-panel{padding:0 clamp(20px,2vw,28px) clamp(20px,2vw,28px);background:none}
#top.v5 #calculator.calc-v6 .estimate-lead-panel>summary{display:none}
#top.v5 #calculator.calc-v6 .estimate-lead-panel>p{margin:0 0 12px;padding-top:16px;border-top:1px solid var(--v5-line);font-size:13px;color:var(--v5-muted)}
@media(max-width:1100px){
  #top.v5 #calculator.calc-v6 .calc-layout{grid-template-columns:minmax(0,1fr) minmax(270px,320px)}
  #top.v5 #calculator.calc-v6 .calc-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  #top.v5 #calculator.calc-v6 .builder-filters{margin-inline:0;padding-inline:0}
  #top.v5 #calculator.calc-v6 .builder-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(66vw,240px);gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;margin-inline:calc(clamp(18px,2vw,26px) * -1);padding:2px clamp(18px,2vw,26px) 4px;scroll-padding-inline:clamp(18px,2vw,26px)}
  #top.v5 #calculator.calc-v6 .builder-grid::-webkit-scrollbar{display:none}
  #top.v5 #calculator.calc-v6 .builder-card{scroll-snap-align:start}
}
/* Phones and small tablets: steps 1–3, then the estimate, then the optional step 4. */
@media(max-width:860px){
  #top.v5 #calculator.calc-v6 .calc-layout{display:flex;flex-direction:column;gap:12px;align-items:stretch}
  #top.v5 #calculator.calc-v6 .calc-main{display:contents}
  #top.v5 #calculator.calc-v6 #calculator-form{order:1}
  #top.v5 #calculator.calc-v6 .calc-side{order:2;position:static}
  #top.v5 #calculator.calc-v6 .calc-step-builder{order:3}
}
@media(max-width:680px){
  #top.v5 #calculator.calc-v6 .calc-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  #top.v5 #calculator.calc-v6 .calc-options span{min-height:64px;padding:10px 34px 10px 12px}
  #top.v5 #calculator.calc-v6 .calc-options b{font-size:14px}
  #top.v5 #calculator.calc-v6 .calc-options span::after{top:11px;right:10px}
  #top.v5 #calculator.calc-v6 .calc-step-note{display:block;width:100%;margin:6px 0 0 38px}
  #top.v5 #calculator.calc-v6 #calculator-form legend,#top.v5 #calculator.calc-v6 .calc-step-title{font-size:17px}
}
@media(max-width:360px){#top.v5 #calculator.calc-v6 .calc-options{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#top.v5 #calculator.calc-v6 :is(.calc-options span,.calc-options b,.calc-options small,.calc-options span::after,.calc-wishes textarea){transition:none}}

/* Case page v6: the screens and the passport side by side; task, solution and result open in one row below (2026-11-12). */
#top.v5 [data-case-gallery] .case-gallery-dots{display:none}
#top.v5 [data-case-gallery] .case-gallery-controls{justify-content:space-between}
#top.v5 [data-case-gallery] .case-info .case-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px}
/* width, not flex-basis: the actions switch to a column on tablets, where a 100% basis stretched the button to the column's height. */
#top.v5 [data-case-gallery] .case-info .case-actions .button{flex:0 0 auto;width:100%;justify-content:space-between;max-width:340px}
/* The live site: an outlined chalk button right under the main action, filling chalk on hover (owner, 2026-11-26). */
#top.v5 [data-case-gallery] .case-info .case-actions .case-site-button{border:1px solid rgba(246,247,242,.6);border-radius:999px;background:rgba(246,247,242,.06);color:var(--v5-chalk)}
#top.v5 [data-case-gallery] .case-info .case-actions .case-site-button:is(:hover,:focus-visible){border-color:var(--v5-chalk);background:var(--v5-chalk);color:var(--v5-lime-ink)}
#top.v5 [data-case-gallery] .case-info .case-format-price{display:grid;gap:6px;margin-top:22px;padding-top:18px;border-top:1px solid var(--v5-line)}
#top.v5 [data-case-gallery] .case-info .case-format-price>span{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted)}
#top.v5 [data-case-gallery] .case-info .case-format-price>p{margin:0;font-size:13px;line-height:1.5;color:var(--v5-muted)}
#top.v5 .case-story-row{position:relative;padding-block:clamp(48px,6vw,96px) 0}
#top.v5 .case-story-row .case-story{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:0;margin:0;padding:0;border-top:1px solid var(--v5-line)}
#top.v5 .case-story-row .case-story-item{grid-column:auto;grid-template-columns:none;border-top:0;display:grid;align-content:start;gap:12px;min-width:0;padding:clamp(22px,2.6vw,34px) clamp(20px,2.4vw,32px) clamp(22px,2.6vw,34px) 0}
#top.v5 .case-story-row .case-story-item+.case-story-item{padding-left:clamp(20px,2.4vw,32px);border-left:1px solid var(--v5-line)}
#top.v5 .case-story-row .case-story-item>*{grid-column:auto;max-width:none}
#top.v5 .case-story-label{display:flex;align-items:center;gap:12px;margin:0;font-family:var(--mono,"JetBrains Mono"),monospace;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted)}
#top.v5 .case-story-label span{color:var(--v5-lime)}
#top.v5 .case-story-row .case-story-item h2{grid-column:auto;padding:0;text-align:left;margin:0;font-family:var(--font-heading,Manrope),sans-serif;font-size:clamp(22px,2vw,30px);font-weight:700;letter-spacing:-.03em;line-height:1.15;color:var(--v5-chalk)}
#top.v5 .case-story-row .case-story-item p:not(.case-story-label){grid-column:auto;padding:0;max-width:58ch;margin:0;font-size:16px;line-height:1.65;color:#d6d8d2}
#top.v5 .case-next{margin:0 0 clamp(56px,7vw,110px)}
#top.v5 .case-next a{display:grid;grid-template-columns:auto 120px minmax(0,1fr) auto auto;align-items:center;gap:clamp(14px,2vw,28px);padding:16px clamp(16px,2vw,24px);border:1px solid var(--v5-line);border-radius:14px;background:var(--v5-graphite);color:var(--v5-chalk);transition:border-color .4s var(--v5-ease),background-color .4s var(--v5-ease)}
#top.v5 .case-next-label,#top.v5 .case-next-kind{font-family:var(--mono,"JetBrains Mono"),monospace;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--v5-muted)}
#top.v5 .case-next-media{display:block;aspect-ratio:16/10;overflow:hidden;border-radius:8px;background:var(--v5-surface)}
#top.v5 .case-next-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .7s var(--v5-ease)}
#top.v5 .case-next strong{font-family:var(--font-heading,Manrope),sans-serif;font-size:clamp(24px,2.6vw,40px);font-weight:800;letter-spacing:-.05em;line-height:1}
#top.v5 .case-next .icon{width:22px;height:22px;color:var(--v5-lime);transition:transform .5s var(--v5-ease)}
@media(hover:hover) and (pointer:fine){
  #top.v5 .case-next a:hover{border-color:rgba(207,252,72,.5);background:var(--v5-surface)}
  #top.v5 .case-next a:hover img{transform:scale(1.05)}
  #top.v5 .case-next a:hover .icon{transform:translate3d(4px,-4px,0)}
}
#top.v5 .case-next a:focus-visible{outline:2px solid var(--v5-lime);outline-offset:3px}
#top.v5 .case-story-row+.case-lightbox+.case-followup,#top.v5 .case-followup{padding-top:clamp(48px,6vw,96px)}
@media(max-width:860px){
  #top.v5 .case-story-row .case-story-item,#top.v5 .case-story-row .case-story-item+.case-story-item{padding:22px 0;border-left:0}
  #top.v5 .case-story-row .case-story-item+.case-story-item{border-top:1px solid var(--v5-line)}
  #top.v5 .case-next a{grid-template-columns:96px minmax(0,1fr) auto;grid-template-areas:"media label icon" "media title icon";row-gap:4px}
  #top.v5 .case-next-label{grid-area:label}
  #top.v5 .case-next-media{grid-area:media}
  #top.v5 .case-next strong{grid-area:title;font-size:24px}
  #top.v5 .case-next-kind{display:none}
  #top.v5 .case-next .icon{grid-area:icon}
  #top.v5 [data-case-gallery] .case-info .case-actions .button{max-width:none}
}
@media(prefers-reduced-motion:reduce){#top.v5 .case-next :is(a,img,.icon){transition:none}}

/* Phones and tablets: nothing decorative or floating covers content (2026-11-12). */
#top.v5 .mobile-whatsapp{display:none;place-items:center;width:52px;height:52px;min-height:0;padding:0;gap:0;border-radius:50%}
#top.v5 .mobile-whatsapp-glyph{width:24px;height:24px}
@media(max-width:900px){
  #top.v5 .mobile-whatsapp{display:grid;position:fixed;z-index:60;animation:v5-wa-in .45s var(--v5-ease) both}
  /* body.cookie-open is set by site.js while the consent banner shows: a body-level :has() re-checked the whole page on every class change while scrolling. */
  #top.v5:is(.form-in-view,.dialog-open) .mobile-whatsapp,html.menu-open #top.v5 .mobile-whatsapp,#top.v5.cookie-open .mobile-whatsapp{display:none}
}
@keyframes v5-wa-in{from{opacity:0;transform:translate3d(0,12px,0) scale(.9)}to{opacity:1;transform:none}}
@media(max-width:1100px){#top.v5 .v5-thread{display:none}}
@media(prefers-reduced-motion:reduce){#top.v5 .mobile-whatsapp{animation:none}}

/* Cursor label pill: the v5 dot size (12px) overrode the pill width, so «Смотреть» spilled out of a thin lime bar. */
#top.v5 .tactile-cursor.is-case{width:132px;height:40px;margin:-20px 0 0 -66px;padding:0 14px;border-color:var(--v5-lime);border-radius:999px;background:var(--v5-lime)}
#top.v5 .tactile-cursor.is-case>span{font-family:var(--font-heading,Manrope),sans-serif;font-size:12px;font-weight:700;letter-spacing:0;color:var(--v5-lime-ink);opacity:1}
/* Calculator tiles and filters already look selectable: the cursor stays a small dot there instead of covering the text. */
#top.v5 .tactile-cursor.is-choice{width:6px;height:6px;margin:-3px 0 0 -3px;border-color:transparent;border-radius:50%;background:var(--v5-lime);box-shadow:none}
#top.v5 .tactile-cursor.is-choice>span{opacity:0}
/* Standalone /kalkulyator: the page intro already introduces the calculator, so the sheet starts closer to it. */
#top.v5 .calculator-section.is-page{padding-top:clamp(28px,3.5vw,48px)}

/* "Example and design" cards (owner request 2026-11-12): the screenshot rests blurred and comes into focus under the
   pointer while the whole card grows a little; a click opens the preview. The chosen card stays sharp. Keyboard focus
   (:focus-visible) sharpens too, but the focus a closed dialog hands back after a mouse click does not. Touch screens
   have no hover, so their cards stay sharp. */
@media (hover:hover) and (pointer:fine){
  #top.v5 .builder-card{transition:opacity .35s var(--v5-ease),box-shadow .35s var(--v5-ease),transform .45s var(--v5-ease)}
  #top.v5 .builder-card:hover .builder-card-open{transform:none}
  #top.v5 .builder-card-media img{filter:blur(8px) saturate(.8);transform:scale(1.08);transition:filter .45s var(--v5-ease),transform .6s var(--v5-ease)}
  #top.v5 .builder-card:is(:hover,.is-selected,:not([data-focus-returned]):has(:focus-visible)) .builder-card-media img{filter:none;transform:none}
  #top.v5 .builder-card:is(:hover,:not([data-focus-returned]):has(:focus-visible)){z-index:2;transform:translateY(-4px) scale(1.04);box-shadow:0 24px 56px rgba(0,0,0,.5)}
  #top.v5 .builder-card.is-selected:is(:hover,:not([data-focus-returned]):has(:focus-visible)){box-shadow:0 0 0 2px var(--v5-lime),0 24px 56px rgba(0,0,0,.5)}
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:reduce){
  #top.v5 .builder-card,#top.v5 .builder-card-media img{transition:none}
  #top.v5 .builder-card:is(:hover,:not([data-focus-returned]):has(:focus-visible)){transform:none}
}
@media (hover:hover) and (pointer:fine) and (max-width:1100px){#top.v5 #calculator.calc-v6 .builder-grid{padding-block:12px}}

/* Reading progress line: a real element moved with a direct transform. It used to be the header's ::after driven by an
   inherited custom property, so every scroll frame restyled the whole header (including the works flyout). */
.direction-tactile .site-header:after{content:none}
.site-header .read-progress{position:absolute;left:0;bottom:-1px;width:100%;height:1px;transform-origin:left;transform:scaleX(0);background:var(--lime,#cffc48);pointer-events:none;will-change:transform}

/* Builder dialog, wider (owner request 2026-11-14): nearly the full window, up to 1400px. With a live site the panel takes
   the full window height and the site fills all space left between the heading and the buttons, so nothing scrolls. */
#top.v5 .builder-dialog{width:min(1400px,calc(100vw - 48px))}
#top.v5 .builder-dialog-panel:has(>.builder-dialog-stage[data-live]){display:flex;flex-direction:column;gap:10px;height:calc(100svh - 32px);overflow:visible;padding:22px 24px}
#top.v5 .builder-dialog-panel:has(>.builder-dialog-stage[data-live])>*{flex:none}
#top.v5 .builder-dialog-panel:has(>.builder-dialog-stage[data-live])>.builder-dialog-stage{flex:1 1 auto;height:auto;min-height:220px}
#top.v5 .builder-dialog-panel:has(>.builder-dialog-stage[data-live]) .builder-device-switch{align-self:flex-start}
#top.v5 .builder-dialog-panel:has(>.builder-dialog-stage[data-live]) h3{font-size:clamp(24px,2.4vw,34px)}
#top.v5 .builder-dialog-panel:has(>.builder-dialog-stage[data-live]) .builder-dialog-actions{margin-top:2px}
@media(max-height:700px) and (min-width:681px){
  #top.v5 .builder-dialog-panel:has(>.builder-dialog-stage[data-live]){padding:16px 20px;gap:8px}
  #top.v5 .builder-dialog-panel:has(>.builder-dialog-stage[data-live]) .builder-dialog-description{display:none}
}
@media(max-width:680px){
  #top.v5 .builder-dialog{width:100vw}
  #top.v5 .builder-dialog-panel:has(>.builder-dialog-stage[data-live]){height:calc(100svh - 12px);padding:18px 14px calc(14px + env(safe-area-inset-bottom))}
}

/* Motion layer (motion.js, 2026-11-22). Inertial scrolling replaces the browser's own smooth scroll, which would fight it. */
html.has-smooth-scroll,html.has-smooth-scroll.builder-smooth{scroll-behavior:auto}
/* Heading words rise out of a mask line by line (motion.js). The mask clips only vertically, so a word wider than its
   column stays whole, and leaves room for descenders. !important: some headings style every inner span. */
#top.v5 .title-word{display:inline-block!important;overflow:visible clip;padding-bottom:.14em;margin-bottom:-.14em;vertical-align:top;color:inherit}
#top.v5 .title-word>span{display:inline-block!important;color:inherit}
#top.v5 .is-title-pending .title-word>span{transform:translate3d(0,112%,0);transition:transform 1s cubic-bezier(.16,1,.3,1) var(--d,0ms)}
#top.v5 .is-title-pending.is-title-shown .title-word>span{transform:none}
/* Service detail headings sit in a narrow sticky column: the size follows the width so a long word ("разрабатываем.") never spills out of it. */
#top.v5 .service-detail-section .service-section-heading h2{font-size:clamp(32px,calc(5.2vw - 8px),72px)}

/* Stage 5 (2026-11-22), shared by every page. Process timeline: with v5-home.js a lime line fills across the steps while scrolling and each
   step brightens once the line reaches it. Without JS or under reduced motion the steps stay as they are. */
#top.v5 .service-step-list.is-timeline>li{position:relative;transition:opacity .6s var(--v5-ease)}
#top.v5 .service-step-list.is-timeline>li::before{content:"";position:absolute;left:0;right:0;top:-1px;height:2px;background:var(--v5-lime);transform:scaleX(var(--lp,0));transform-origin:0 50%}
#top.v5 .service-step-list.is-timeline>li:not(.is-lit){opacity:.42}
#top.v5 .service-step-list.is-timeline>li .service-step-index{justify-self:start;margin-left:-6px;padding:2px 6px;border-radius:6px;transition:color .4s,background-color .4s}
#top.v5 .service-step-list.is-timeline>li.is-lit .service-step-index{color:var(--v5-lime-ink);background:var(--v5-lime)}
#top.v5 .service-step-list.is-timeline>li.is-lit h3{color:var(--v5-chalk)}

/* Services: the whole card answers the pointer, not only its round button. */
@media(hover:hover) and (pointer:fine){
  #top.v5 .v5-svc h3 a{display:inline-block;transition:color .35s,transform .6s var(--v5-ease)}
  #top.v5 .v5-svc:hover h3 a{color:var(--v5-lime);transform:translate3d(12px,0,0)}
  #top.v5 .v5-svc .v5-chips span{transition:border-color .35s,color .35s,background-color .35s}
  #top.v5 .v5-svc:hover .v5-chips span{border-color:rgba(207,252,72,.55);color:var(--v5-chalk)}
  #top.v5 .v5-svc:hover .v5-chips span:nth-child(1){transition-delay:.04s}
  #top.v5 .v5-svc:hover .v5-chips span:nth-child(2){transition-delay:.08s}
  #top.v5 .v5-svc:hover .v5-chips span:nth-child(3){transition-delay:.12s}
  #top.v5 .v5-svc:hover .v5-round{color:var(--v5-lime-ink);border-color:var(--v5-lime)}
  #top.v5 .v5-svc:hover .v5-round::before{transform:scale(1)}
  #top.v5 .v5-svc .v5-round .icon{transition:transform .5s var(--v5-ease)}
  #top.v5 .v5-svc:hover .v5-round .icon{transform:rotate(45deg)}
}

/* Capability band: two rows of pills that slide in opposite directions while scrolling (v5-home.js). Static and wrapped
   without JS or under reduced motion. */
#top.v5 .v5-capabilities{display:grid;gap:12px;padding:clamp(36px,6svh,72px) 0;overflow:hidden;border-block:1px solid var(--v5-line)}
#top.v5 .v5-capabilities-row{padding:0 var(--gutter,24px)}
#top.v5 .v5-capabilities-list{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
#top.v5 .v5-capabilities-list>li{display:inline-flex;align-items:center;gap:12px;min-height:48px;padding:0 22px;border:1px solid var(--v5-line-strong);border-radius:999px;font-family:var(--font-heading,Manrope),sans-serif;font-size:clamp(16px,1.5vw,22px);font-weight:600;letter-spacing:-.02em;white-space:nowrap;color:var(--v5-chalk)}
#top.v5 .v5-capabilities-list>li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--v5-lime)}
#top.v5 .v5-capabilities-list>li[aria-hidden]{display:none}
#top.v5 .v5-capabilities-row:nth-child(3) .v5-capabilities-list>li{border-color:transparent;background:var(--v5-surface);color:var(--v5-muted)}
#top.v5 .v5-capabilities.is-moving .v5-capabilities-row{padding:0}
#top.v5 .v5-capabilities.is-moving .v5-capabilities-list{flex-wrap:nowrap;width:max-content;transform:translate3d(var(--x,0px),0,0);will-change:transform}
#top.v5 .v5-capabilities.is-moving .v5-capabilities-list>li[aria-hidden]{display:inline-flex}
#top.v5 .v5-capabilities:not(.is-moving) .v5-capabilities-row+.v5-capabilities-row{display:none}

/* Dot field (hero-dots.js, 2026-11-22): behind the home hero (one screen, sticks while it is pinned) and the inner pages' intro. */
#top.v5 :is(.hero.hero-tactile,.page-intro){isolation:isolate}
#top.v5 .page-intro{position:relative}
/* On an inner page the field fades towards the edges of the intro. */
#top.v5 .page-intro>.hero-dots{-webkit-mask-image:radial-gradient(120% 90% at 50% 30%,#000 45%,transparent 100%);mask-image:radial-gradient(120% 90% at 50% 30%,#000 45%,transparent 100%)}
#top.v5 .hero-dots{position:sticky;top:0;z-index:-1;height:var(--dots-h,100svh);margin-bottom:calc(-1 * var(--dots-h,100svh));pointer-events:none;opacity:0;transition:opacity 1.2s var(--v5-ease)}
#top.v5 .hero-dots.is-on{opacity:1}
#top.v5 .hero-dots canvas{display:block;width:100%;height:100%}
/* The whole footer statement is one link: hovering it darkens the button text, so the lime fill must come with it
   (it only grew under the button itself, leaving dark text on a dark button), and the arrow follows the text colour. */
/* #top#top: the shared fill rule carries an id inside :is() (#estimate-whatsapp), so these need the same weight. */
#top#top.v5 .footer-statement:hover .finale-action::before{transform:translate(-50%,-50%) scale(1)}
#top#top.v5 :is(.finale-action:hover,.footer-statement:hover .finale-action) .icon{color:currentColor}

/* Calculator receipt ("Смета-чек", receipt.js, owner's choice 2026-11-26). */
#top.v5 #calculator.calc-v6 .calc-receipt{padding:16px 16px 0}
#top.v5 .receipt-paper{--zig:9px;position:relative;padding:20px 18px calc(26px + var(--zig));background:var(--v5-chalk);color:var(--v5-lime-ink);font-family:var(--mono,"JetBrains Mono"),monospace;font-size:12px;line-height:1.45;border-radius:6px 6px 0 0;-webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - var(--zig)) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/calc(var(--zig) * 2) var(--zig) repeat-x;mask:linear-gradient(#000 0 0) top/100% calc(100% - var(--zig)) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/calc(var(--zig) * 2) var(--zig) repeat-x}
#top.v5 .receipt-head{display:grid;gap:2px;padding-bottom:12px;border-bottom:1px dashed rgba(16,17,19,.35);text-align:center;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#55584f}
#top.v5 .receipt-brand{font-family:var(--font-heading,Manrope),sans-serif;font-size:15px;font-weight:800;letter-spacing:.02em;color:var(--v5-lime-ink)}
#top.v5 .receipt-lines{display:grid;margin:10px 0;padding:0;list-style:none}
#top.v5 .receipt-line{display:grid;grid-template-rows:1fr;transition:grid-template-rows .3s var(--v5-ease),opacity .3s}
#top.v5 .receipt-line-in{display:flex;align-items:baseline;gap:6px;min-height:0;overflow:hidden;padding:3px 0}
#top.v5 .receipt-name{max-width:66%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#top.v5 .receipt-dots{flex:1;min-width:12px;border-bottom:1px dotted rgba(16,17,19,.45);transform:translate3d(0,-3px,0)}
#top.v5 .receipt-price{font-weight:700;white-space:nowrap}
#top.v5 .receipt-line.is-printing .receipt-line-in{animation:receipt-print .28s cubic-bezier(.2,.7,.2,1) both}
@keyframes receipt-print{from{clip-path:inset(0 0 100% 0);transform:translate3d(0,-7px,0)}to{clip-path:inset(0);transform:none}}
#top.v5 .receipt-line.is-leaving{grid-template-rows:0fr;opacity:0}
#top.v5 .receipt-line.is-leaving .receipt-name{text-decoration:line-through}
#top.v5 .receipt-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px dashed rgba(16,17,19,.35);font-size:11px;letter-spacing:.1em;text-transform:uppercase}
#top.v5 .receipt-total strong{display:inline-flex;align-items:flex-end;font-family:var(--font-heading,Manrope),sans-serif;font-size:clamp(26px,2.3vw,34px);font-weight:800;letter-spacing:-.035em;text-transform:none;white-space:nowrap;transition:opacity .25s}
#top.v5 .calc-receipt.is-pending .receipt-total strong{opacity:.35}
#top.v5 .odo-char{white-space:pre;text-transform:none}
#top.v5 .receipt-total strong *{text-transform:none}
/* A custom quote: the stamp takes the total's place. */
#top.v5 .calc-receipt.is-quote .receipt-total strong{visibility:hidden}
#top.v5 .odo-digit{display:inline-block;height:1.1em;overflow:hidden;line-height:1.1;font-variant-numeric:tabular-nums}
#top.v5 .odo-strip{display:block;transform:translate3d(0,calc(var(--d,0) * -10%),0);transition:transform .7s cubic-bezier(.2,.85,.25,1)}
#top.v5 .odo-strip>span{display:block;height:1.1em}
#top.v5 .odo-digit:nth-child(2) .odo-strip{transition-delay:.03s}
#top.v5 .odo-digit:nth-child(3) .odo-strip{transition-delay:.06s}
#top.v5 .odo-digit:nth-child(4) .odo-strip{transition-delay:.09s}
#top.v5 .receipt-note{margin:8px 0 0;font-size:10.5px;color:#55584f}
#top.v5 .receipt-stamp{position:absolute;right:16px;bottom:calc(46px + var(--zig));padding:7px 11px;border:2px solid var(--v5-lime-ink);border-radius:6px;background:var(--v5-lime);color:var(--v5-lime-ink);font:800 11px/1.15 var(--font-heading,Manrope),sans-serif;letter-spacing:.04em;text-transform:uppercase;pointer-events:none;opacity:0;transform:rotate(-9deg) scale(1.7);transition:opacity .15s,transform .2s}
#top.v5 .calc-receipt.is-quote .receipt-stamp{opacity:1;transform:rotate(-9deg) scale(1);transition:opacity .15s,transform .4s cubic-bezier(.2,1.5,.4,1)}
/* The receipt shows the result; the original block keeps only the actions (its label stays for screen readers). */
#top.v5 #calculator.calc-v6 .calc-receipt~.estimate-result-slot .estimate-placeholder{display:none}
#top.v5 #calculator.calc-v6 .calc-receipt~.estimate-result-slot #estimate-result[hidden]{display:block}
#top.v5 #calculator.calc-v6 .calc-receipt~.estimate-result-slot #estimate-result>:is(.calc-side-label,#estimate-label,#estimate-explanation,.builder-summary){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Phone bar: the receipt's count and total at the bottom while the calculator is on screen (receipt.js). */
#top.v5 .receipt-bar{position:fixed;left:12px;right:76px;bottom:max(12px,env(safe-area-inset-bottom,0px));z-index:55;display:flex;align-items:center;gap:7px;min-height:52px;padding:0 16px;border:0;border-radius:999px;background:var(--v5-chalk);color:var(--v5-lime-ink);font:600 13px/1 var(--font-heading,Manrope),sans-serif;box-shadow:0 18px 40px -12px rgba(0,0,0,.6);cursor:pointer;animation:receipt-bar-in .35s var(--v5-ease) both}
#top.v5 .receipt-bar[hidden]{display:none}
#top.v5 .receipt-bar strong{margin-left:auto;font-size:15px;font-weight:800;white-space:nowrap}
#top.v5 .receipt-bar .icon{width:16px;height:16px;transform:rotate(180deg)}
#top.v5 .receipt-bar:focus-visible{outline:2px solid var(--v5-lime);outline-offset:3px}
#top.v5.cookie-open .receipt-bar{display:none}
@keyframes receipt-bar-in{from{opacity:0;transform:translate3d(0,16px,0)}}
@media(prefers-reduced-motion:reduce){#top.v5 .odo-strip,#top.v5 .receipt-line,#top.v5 .receipt-stamp{transition:none}#top.v5 .receipt-line.is-printing .receipt-line-in,#top.v5 .receipt-bar{animation:none}}
