/* Core theme framework. No site-owned styles are modified. */
*{box-sizing:border-box}html{scroll-behavior:smooth}body.lio-theme{margin:0;color:#182331;background:#fff;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.6}
.lio-theme a{color:inherit;text-decoration:none}.lio-theme img{max-width:100%;height:auto}.lio-theme figure{margin:0}
.lio-theme h1,.lio-theme h2,.lio-theme h3{line-height:1.13;letter-spacing:-.035em;margin:0 0 .55em;font-weight:650}.lio-theme h1{font-size:clamp(2.7rem,5vw,5.4rem)}.lio-theme h2{font-size:clamp(1.6rem,3vw,2.75rem)}
.lio-theme .lio-brand{font-weight:800;font-size:1.22rem;letter-spacing:-.045em;white-space:nowrap}.lio-brand img{display:block;max-height:48px;max-width:180px;width:auto}
.lio-theme nav a{display:inline-flex;align-items:center;white-space:nowrap}.lio-theme nav a:hover{text-decoration:underline;text-underline-offset:5px}
.lio-theme .lio-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}.lio-theme .lio-cta{padding:12px 22px;font-weight:650;border-radius:5px;background:#252f3a;color:white}.lio-theme .lio-cta--secondary{background:transparent;color:inherit;outline:1px solid currentColor;outline-offset:-1px}
.lio-theme .lio-visual{overflow:hidden;position:relative;min-height:180px;background:#dbe4ea}.lio-theme .lio-visual img{height:100%;width:100%;object-fit:cover;display:block}
.lio-theme .lio-visual--empty{background:linear-gradient(135deg,#cbd6dc 0%,#97aebb 48%,#475e71 100%)}.lio-visual--empty span{display:block;position:absolute;width:60%;height:80%;border:1px solid #ffffff66;border-radius:45% 30% 16% 44%;top:15%;left:23%;transform:rotate(-18deg);box-shadow:0 0 0 30px #ffffff18}
.lio-theme .lio-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:26px 5vw;color:#65727c;font-size:.85rem;border-top:1px solid #dce3e7}
.lio-theme .lio-footer img{max-width:150px;max-height:36px}.lio-theme .lio-crumbs{display:flex;flex-wrap:wrap;gap:9px;font-size:.78rem;color:#6e7d86;margin-bottom:24px}
.lio-theme .lio-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.lio-theme .lio-card{display:flex;flex-direction:column;padding:26px;gap:12px;background:#f1f4f5;border:1px solid #e8ebec;min-width:0}
.lio-theme .lio-card img{width:100%;height:190px;object-fit:cover}.lio-theme .lio-card strong{font-size:1.25rem;line-height:1.3}.lio-theme .lio-card span{font-size:.9rem;color:#65717d}
.lio-theme .lio-card:hover{transform:translateY(-2px);transition:transform .2s}
.lio-theme .calm-body,.lio-theme .business-content,.lio-theme .industrial-copy,.lio-theme .editorial-body,.lio-theme .studio-content{overflow-wrap:anywhere}
.lio-theme .calm-body a,.lio-theme .business-content a,.lio-theme .industrial-copy a,.lio-theme .editorial-body a,.lio-theme .studio-content a{text-decoration:underline;text-underline-offset:3px}
.lio-theme .calm-body p,.lio-theme .business-content p,.lio-theme .industrial-copy p,.lio-theme .editorial-body p,.lio-theme .studio-content p{line-height:1.85}
.lio-theme .calm-body table,.lio-theme .business-content table,.lio-theme .industrial-copy table,.lio-theme .editorial-body table,.lio-theme .studio-content table{display:block;overflow-x:auto;max-width:100%;border-collapse:collapse}
@media(max-width:800px){.lio-theme .lio-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.lio-theme .lio-footer{flex-wrap:wrap}}
@media(max-width:520px){.lio-theme .lio-cards{grid-template-columns:1fr}.lio-theme .lio-card{padding:20px}.lio-theme .lio-actions{gap:8px}}
@media(prefers-reduced-motion:reduce){.lio-theme .lio-card:hover{transform:none;transition:none}html{scroll-behavior:auto}}

/* Universal keyboard and touch usability without changing site content. */
.lio-theme nav[aria-label="Основное меню"] a:focus-visible,
.lio-theme .lio-brand:focus-visible,.lio-theme .lio-cta:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:2px}
@media(max-width:900px){
  .lio-theme nav[aria-label="Основное меню"] a{min-height:44px;padding:10px 8px;white-space:normal;overflow-wrap:anywhere}
}

/* Site-owned header/footer data, shared by all built-in theme layouts. */
.lio-brand--with-tagline{display:inline-flex;flex-direction:column;align-items:flex-start;gap:3px;white-space:normal!important;min-width:0}
.lio-brand__main{display:block;max-width:100%;overflow-wrap:anywhere}
.lio-brand__tagline{display:block;max-width:250px;overflow-wrap:anywhere;font-size:.68rem;font-weight:450;letter-spacing:0;line-height:1.35;color:#6d817e}
.lio-theme .lio-footer--extended{display:block;min-width:0;padding:40px clamp(18px,5vw,80px) 20px}
.lio-footer__main{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));align-items:start;gap:32px 55px}
.lio-footer__identity{display:flex;flex-direction:column;align-items:flex-start;gap:9px;max-width:420px;min-width:0;overflow-wrap:anywhere}
.lio-footer__identity p{margin:0;line-height:1.65}
.lio-footer__identity address{font-style:normal;line-height:1.6}
.lio-footer__brand{font-size:1.1rem;font-weight:750;line-height:1.3;overflow-wrap:anywhere}
.lio-footer__brand img{max-width:180px;max-height:46px;width:auto;height:auto}
.lio-footer__column{min-width:0}
.lio-footer__column h3{font-size:1rem;letter-spacing:0;font-weight:700;margin:0 0 14px}
.lio-footer__column nav{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.lio-footer__column nav a{white-space:normal;overflow-wrap:anywhere}
.lio-footer__bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding-top:23px;margin-top:32px;border-top:1px solid #d5deda}
.lio-footer__social{display:flex;gap:5px 16px;flex-wrap:wrap}
.lio-footer__social a{white-space:normal}
.lio-theme--business .lio-footer--extended{background:#102d47;color:#eaf1f6}
.lio-theme--business .lio-footer--extended .lio-footer__bottom{border-color:#4a5d70}
.lio-theme--industrial .lio-footer--extended{background:#e3eae6;color:#243530}
.lio-theme--editorial .lio-footer--extended{font-family:Georgia,"Times New Roman",serif;border-top:2px solid currentColor}
.lio-theme--studio .lio-footer--extended{background:#e9e7df;color:#30332e}
.lio-theme--studio .lio-footer--extended .lio-brand__tagline{color:#6d7770}
@media(max-width:700px){
 .lio-theme .lio-footer--extended{padding:28px 20px 20px}
 .lio-footer__main{gap:22px}
 .lio-footer__column nav a,.lio-footer__social a{min-height:40px;display:inline-flex;align-items:center}
}

/* Real contact details are a separate footer column, even without link lists. */
.lio-footer__contacts{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0;overflow-wrap:anywhere}
.lio-footer__contacts h3{margin:0 0 6px;font-size:1rem;font-weight:700;letter-spacing:0}
.lio-footer__contacts address{font-style:normal;line-height:1.6}
.lio-footer__contacts a{overflow-wrap:anywhere;white-space:normal}
.lio-footer__contacts a:hover{text-decoration:underline;text-underline-offset:3px}

body.lio-theme--editorial{background:#fcfaf6;color:#212321;font-family:Georgia,"Times New Roman",serif}.editorial-header{padding:0 5vw;border-bottom:2px solid #1e241f}.editorial-topline{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #d7d7cf;font:700 .64rem system-ui;letter-spacing:.15em}
.editorial-masthead{text-align:center;padding:33px 0}.editorial-masthead .lio-brand{font-family:Georgia,serif;font-size:clamp(2.4rem,6vw,5.2rem);letter-spacing:-.055em;font-weight:700}.editorial-nav{padding:14px 0;display:flex;align-items:center;justify-content:center;gap:34px;border-top:1px solid #d7d7cf;font:650 .76rem system-ui;text-transform:uppercase;letter-spacing:.1em}
.editorial-main{max-width:1500px;margin:0 auto;padding:40px clamp(20px,5vw,80px)}.editorial-kicker,.editorial-tag{font:750 .66rem system-ui;letter-spacing:.15em;color:#a14539}.editorial-kicker{padding:0 0 24px}.editorial-lead{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;padding-bottom:50px;border-bottom:1px solid #b9c0b5}
.editorial-lead-copy{padding:30px 0}.editorial-lead h1{font-weight:500;line-height:1.03}.editorial-lead p{font-size:1.25rem;line-height:1.65;color:#61675e}.editorial-lead-media{height:420px;background:linear-gradient(140deg,#dfcdb4,#ab7f62,#4a5c52)}
.editorial-feed{padding:55px 0}.editorial-feedhead{display:flex;justify-content:space-between;align-items:flex-end;border-bottom:1px solid #c9cec6;margin-bottom:24px}.editorial-feedhead span{font:700 .65rem system-ui;letter-spacing:.12em;color:#89918b}
.editorial-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.editorial-cards .lio-card{background:transparent;border:none;border-top:3px solid #202d28;padding:20px 0}.editorial-cards .lio-card strong{font:500 1.55rem/1.2 Georgia,serif}.editorial-cards .lio-card img{height:170px}
.editorial-body{max-width:800px;margin:auto;font-size:1.17rem;line-height:1.9}.editorial-body h2{font-weight:500}.editorial-article{padding:10px 0 35px}.editorial-storyhead{text-align:center;max-width:960px;margin:0 auto;padding:45px 0}.editorial-storyhead h1{font-weight:480;margin:24px 0 30px}
.editorial-deck{font-size:1.37rem;line-height:1.6;color:#61675e}.editorial-storyhead time{display:block;color:#858980;font:650 .76rem system-ui;margin:18px}.editorial-storyhead .lio-crumbs{justify-content:center}
.editorial-article-media{height:460px;max-width:1160px;margin:0 auto 65px}.editorial-reading{display:grid;grid-template-columns:minmax(0,770px) 180px;gap:70px;justify-content:center}
.editorial-reading-aside{border-top:3px solid #343a35;padding-top:18px}.editorial-reading-aside>span{font:700 .7rem system-ui;letter-spacing:.12em}
.editorial-side-nav{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin-top:22px;font-size:.95rem}
@media(max-width:900px){.editorial-lead{grid-template-columns:1fr}.editorial-lead-media{height:320px}.editorial-reading{grid-template-columns:1fr}.editorial-reading-aside{display:none}.editorial-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.editorial-header{padding:0 20px}.editorial-nav{justify-content:flex-start;overflow-x:auto;gap:20px}.editorial-main{padding:26px 20px}.editorial-lead-media{height:240px}.editorial-article-media{height:250px;margin-bottom:30px}.editorial-cards{grid-template-columns:1fr}.editorial-storyhead{padding:25px 0}}

/* An editorial category is a readable index, not an article page. */
.editorial-section-heading{max-width:1040px;margin:0 auto;padding:40px 0 32px;border-bottom:1px solid #c8ccc4}
.editorial-section-heading h1{font-weight:500;margin:18px 0 24px}
.editorial-section-heading .editorial-deck{max-width:760px}
.editorial-category-feed{padding-top:35px}
@media(max-width:600px){.editorial-section-heading{padding:20px 0 25px}}

@media(max-width:900px){
 .editorial-nav{overflow:visible;flex-wrap:wrap;gap:0 12px;justify-content:center}
}
@media(max-width:600px){
 .editorial-nav{justify-content:flex-start;gap:0 10px}
}

/* Match the reading grid while retaining Editorial's full-width masthead. */
body.lio-theme--editorial .lio-footer{box-sizing:border-box;width:100%;max-width:var(--lio-content-width,1500px);margin-inline:auto;padding-inline:clamp(20px,5vw,80px)}

body.lio-theme{--lio-accent:#df763a;--lio-content-width:1600px;--lio-density:1;--lio-section-padding:55px;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif !important}body.lio-theme .lio-cta--primary{background:var(--lio-accent)}body.lio-theme :is(.calm-eyebrow,.business-sectionhead span,.industrial-code,.editorial-tag,.studio-eyebrow){color:var(--lio-accent)}body.lio-theme .calm-wrap,body.lio-theme .business-main,body.lio-theme .industrial-shell,body.lio-theme .editorial-main{max-width:var(--lio-content-width)}body.lio-theme--studio :is(.studio-caseintro,.studio-casebody,.studio-work,.studio-portfolio-intro){max-width:var(--lio-content-width)}body.lio-theme .calm-section,body.lio-theme .business-section,body.lio-theme .industrial-section,body.lio-theme .editorial-feed,body.lio-theme .studio-work{padding-top:var(--lio-section-padding);padding-bottom:var(--lio-section-padding)}body.lio-theme.lio-mode-dark{background:#1a2223;color:#e4eae8}body.lio-theme.lio-mode-dark :is(.calm-header,.studio-rail,.calm-section .lio-card,.calm-hero,.calm-article,.studio-main,.studio-case,.studio-hero){background:#202c2d;color:#e4eae8}body.lio-theme.lio-mode-dark :is(.calm-lead,.studio-hero p,.studio-caseintro p,.lio-card span){color:#b2c1bc}body.lio-theme.lio-mode-dark .lio-footer{background:#202c2d;color:#a7b8b2;border-color:#394a48}