@font-face{font-family:Onest;src:url('/assets/onest-cyrillic.woff2') format('woff2');font-weight:100 900;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Onest;src:url('/assets/onest-latin.woff2') format('woff2');font-weight:100 900;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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:100px}
body{margin:0;background:var(--canvas);color:var(--ink);font:400 1.0625rem/1.65 Onest,system-ui,sans-serif}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
img,svg{display:block;max-width:100%;height:auto}
p,ul,ol,figure{margin:0}
h1,h2,h3,h4{margin:0;line-height:1.1;letter-spacing:-.043em;font-weight:650;overflow-wrap:anywhere}
h1{font-size:clamp(2.25rem,5.4vw,4.95rem);max-width:19ch;text-wrap:balance}
h2{font-size:clamp(1.9rem,4.1vw,3.55rem);text-wrap:balance}
h3,.tile h2,.panel-heading{font-size:clamp(1.24rem,2.3vw,1.75rem);letter-spacing:-.028em;text-wrap:initial}
h4{font-size:1.18rem;letter-spacing:-.018em}
:focus-visible{outline:2px solid var(--context-focus,var(--focus));outline-offset:4px}
[hidden]{display:none!important}
.shell{width:min(calc(100% - 2 * var(--gutter)),var(--rail));margin-inline:auto}
.skip{position:absolute;top:8px;left:16px;z-index:10;translate:0 -160%;background:var(--neutral);padding:12px 18px;border-radius:999px}
.skip:focus{translate:0}
.header{position:relative;z-index:4;display:grid;align-items:center;grid-template-columns:auto 1fr auto;gap:20px;padding-block:15px}
.logo{display:inline-flex;align-items:center;min-height:44px;width:max-content;font-size:1.42rem;line-height:1;font-weight:760;letter-spacing:-.032em}
a.surface{--context-focus:var(--focus)}
.nav{display:flex;justify-content:center;align-items:center;gap:2px;flex-wrap:wrap}
.nav a,.chip,.icon-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:0;border-radius:999px;padding:8px 12px;font-size:.875rem;font-weight:620;white-space:nowrap}
.nav a:hover,.nav a[aria-current]{background:var(--soft)}
.header-actions{display:flex;gap:6px;align-items:center}
.brief-narrow{display:none}
.header .button{min-height:44px;padding-inline:15px;font-size:.855rem}.header .button.primary{background:var(--soft);color:var(--ink)}
.icon-button{min-width:44px;background:var(--soft)}
.icon-button svg{width:18px;height:18px}
.theme-popup{position:relative}
.theme-popup>summary{list-style:none;cursor:pointer}
.theme-popup>summary::-webkit-details-marker{display:none}
.theme-options{position:absolute;z-index:3;inset:calc(100% + 8px) 0 auto auto;min-width:148px;background:var(--neutral);border-radius:22px;padding:6px;box-shadow:0 4px 22px #0003}
.theme-options button{display:flex;width:100%;min-height:44px;justify-content:space-between;gap:12px;border:0;background:transparent;padding:7px 12px;border-radius:18px;text-align:left}
.theme-options button[aria-pressed="true"],.theme-options button:hover{background:var(--soft)}
.theme-options button[aria-pressed="true"]::after{content:'✓'}
.button,.round{display:inline-flex;align-items:center;justify-content:center;gap:11px;border:0;border-radius:999px;min-height:49px;padding:11px 19px;font-size:.94rem;font-weight:660;line-height:1.22;text-align:center;background:var(--action,var(--soft));color:var(--on-action,var(--ink));transition:translate .2s ease,filter .2s ease}
.button:hover,.round:hover{translate:0 -2px;filter:brightness(.94)}
.button:active,.round:active{translate:0 1px}
.button.primary{background:var(--accent);color:var(--on-accent)}
.button.outline-free{background:var(--surface,var(--neutral));color:var(--on-surface,var(--ink))}
.round{padding:0;min-width:46px;min-height:46px;width:46px;height:46px;flex-shrink:0;font-size:1.3rem}
.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.eyebrow,.kicker{font-weight:730;font-size:.79rem;line-height:1.4;letter-spacing:.105em;text-transform:uppercase;color:var(--on-surface-muted,var(--muted))}
.eyebrow{display:flex;align-items:center;gap:10px}
.lead{font-size:clamp(1.08rem,1.66vw,1.4rem);line-height:1.52;color:var(--on-surface-muted,var(--muted));max-width:59ch}
.hero{padding-block:clamp(36px,5.25vw,76px) clamp(29px,3.7vw,52px)}
.hero .eyebrow{margin-bottom:18px}
.hero .lead{margin-top:20px}
.hero .actions{margin-top:26px}
.hero.home{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:clamp(25px,5vw,76px);align-items:center;padding-block:clamp(56px,6vw,89px) clamp(50px,5.75vw,83px)}
.home-copy{min-width:0}
.home h1{font-size:clamp(2.45rem,4.65vw,4.65rem);font-weight:620;line-height:1.04;max-width:none;text-wrap:balance}
.home .lead{max-width:41ch;font-size:clamp(1.05rem,1.46vw,1.23rem)}
.home .button.primary{background:var(--ink);color:var(--canvas)}
.home .hero-secondary{background:var(--soft);color:var(--ink)}
.section{margin-block:clamp(52px,6.7vw,96px)}
.hero + .section{margin-top:12px}
.home + .section{margin-top:clamp(32px,3.8vw,54px)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}
.section-head p{max-width:38ch;color:var(--muted);font-size:1rem}
.project-grid,.case-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,3vw,42px)}
.project-card{min-width:0}
.project-link{display:block;border-radius:var(--radius)}
.project-image{position:relative;overflow:hidden;aspect-ratio:1.68;border-radius:var(--radius);background:var(--soft)}
.project-image--fleo{background:var(--studio-bg);color:var(--studio-fg)}
.project-image--restero{background:var(--academy-bg);color:var(--academy-fg)}
.project-image::before{content:'';position:absolute;inset:11% 9% -42%;border-radius:50%;background:currentColor;opacity:.07}
.project-image--restero::before{inset:-50% -12% 2% 25%}
.project-screen{position:absolute;overflow:hidden;background:#181a22;box-shadow:0 16px 42px #10121c24;transition:translate .24s ease}
.project-screen img{width:100%;height:auto}
.project-image--fleo .project-screen--web{top:20%;left:7%;width:73%;border-radius:clamp(14px,1.6vw,23px)}
.project-image--fleo .project-screen--phone{top:9%;left:67%;width:25%;z-index:1;border-radius:clamp(13px,2vw,27px)}
.project-image--restero .project-screen{top:12%;left:7%;width:86%;border-radius:clamp(14px,1.65vw,23px)}
.project-link:hover .project-screen{translate:0 -5px}
.project-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:17px}
.project-caption h2,.project-caption h3{font-size:clamp(1.85rem,3.15vw,2.95rem);font-weight:620;letter-spacing:-.04em;margin-top:5px}
.project-caption .round{background:var(--soft)}
.project-link>p{margin-top:6px;color:var(--muted)}
.case-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(23px,4.25vw,60px);align-items:center}
.case-hero h1{font-size:clamp(2.35rem,4.2vw,4.3rem);text-wrap:initial}
.case-hero .project-image{aspect-ratio:1.34}
.case-hero .project-image--restero .project-screen{top:50%;transform:translateY(-50%)}
.case-brief{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:clamp(20px,5vw,76px)}
.case-brief>p{font-size:clamp(1.1rem,2vw,1.55rem);max-width:49ch}
.case-brief .kicker{margin-bottom:8px}
.case-brief>div>p:last-child{color:var(--muted)}
.case-nav ul{display:flex;flex-wrap:wrap;gap:0 clamp(12px,2.4vw,32px);border-block:1px solid var(--soft);list-style:none;padding:8px 0}
.case-nav a{display:inline-flex;align-items:center;min-height:44px;color:var(--link);font-size:.94rem;font-weight:630}
.case-nav a:hover{text-decoration:underline;text-underline-offset:.2em}
.case-nav+.section{margin-top:clamp(32px,4vw,56px)}
.case-entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,3.5vw,50px)}
.case-entries article{padding-top:17px;border-top:1px solid var(--soft)}
.case-entries h3{font-size:clamp(1.12rem,1.8vw,1.45rem);text-wrap:balance}
.case-entries p{max-width:57ch;margin-top:8px;color:var(--muted)}
.case-portals article,.case-implementation{padding:clamp(20px,3.2vw,44px);border:0;border-radius:var(--radius);background:var(--studio-bg);color:var(--studio-fg)}
.case-portals article p,.case-implementation p{color:var(--studio-muted)}
.case-portals article+article{background:var(--academy-bg);color:var(--academy-fg)}
.case-portals article+article p{color:var(--academy-muted)}
.case-implementation{grid-template-columns:repeat(3,minmax(0,1fr))}
.case-implementation article{padding-top:0;border:0}
.case-automation{grid-template-columns:1fr;gap:0}
.case-automation article{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:clamp(8px,3vw,40px);padding-block:clamp(15px,2.2vw,28px)}
.case-automation p{margin-top:0}
.case-galleries{display:grid;gap:clamp(28px,5vw,66px)}
.case-gallery-group>h3{font-size:clamp(1.25rem,2.25vw,1.85rem)}
.case-gallery-group>p{margin-block:7px 22px;color:var(--muted)}
.case-screen{min-width:0}
.case-screen-frame{display:grid;place-items:center;background:var(--soft);border-radius:var(--radius);padding:clamp(12px,3vw,40px);min-height:100px}
.case-screen-frame img{border-radius:20px;box-shadow:var(--shadow)}
.case-gallery--phone{grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(12px,2vw,28px)}
.case-gallery--phone .case-screen-frame{padding:clamp(8px,1.45vw,19px)}
.case-gallery--phone .case-screen-frame img{width:100%;border-radius:16px}
.case-gallery--fleo.case-gallery--web .case-screen:first-child{grid-column:1/-1}
.case-gallery--fleo.case-gallery--web .case-screen-frame img{width:min(100%,1050px)}
.case-gallery--restero .case-screen-frame img{width:100%}
.case-screen figcaption{margin-top:11px}
.capability-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,3vw,40px)}
.capability{min-width:0}
.capability a:hover{text-decoration:underline;text-underline-offset:.16em}
.capability p{margin-top:9px;color:var(--muted);max-width:39ch}
.capability-grid--studio .capability{padding:clamp(19px,2.6vw,34px);border-radius:var(--radius);background:var(--studio-bg);color:var(--studio-fg);--context-focus:var(--focus)}
.capability-grid--studio .capability p{color:inherit}
.capability-grid--studio .capability:nth-child(2){background:var(--academy-bg);color:var(--academy-fg)}
.capability-grid--studio .capability:nth-child(3){background:var(--market-bg);color:var(--market-fg)}
.engineering-board{display:grid;gap:19px;min-width:0;padding:clamp(18px,3vw,40px);border-radius:var(--radius);background:var(--products-bg)}
.engineering-intro h2{font-size:clamp(1.6rem,3vw,2.65rem);font-weight:630;letter-spacing:-.038em;text-wrap:initial;margin-top:7px}
.js .js-only.engineering-controls{display:flex;flex-wrap:wrap;gap:6px}
.engineering-controls .button{min-height:44px;padding-inline:12px;background:var(--soft);color:var(--ink);font-size:.85rem}
.engineering-controls .button[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}
.engineering-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;padding:0}
.engineering-flow li{position:relative;display:grid;align-content:start;gap:6px;border-radius:19px;background:var(--neutral);padding:12px;overflow-wrap:anywhere;line-height:1.35}
.engineering-flow li:last-child{background:var(--studio-bg)}
[data-engineering-result="outage"] .engineering-flow li:last-child{background:var(--market-bg)}
.engineering-flow li:not(:last-child)::after{content:'';position:absolute;inset-inline-start:calc(100% + 4px);top:50%;width:5px;height:5px;border-radius:50%;background:var(--field)}
.engineering-flow li>span:last-child{font-size:.84rem;color:var(--muted)}
.engineering-node{width:max-content;max-width:100%;padding:3px 5px;border-radius:8px;background:var(--soft);color:var(--ink);font:650 .72rem/1.4 ui-monospace,monospace}
.engineering-result>p{margin-top:13px;color:var(--muted);font-size:.94rem;max-width:55ch}
.engineering-link{display:inline-flex;align-items:center;min-height:44px;justify-self:start;font-size:.92rem;font-weight:650}
.section-actions,.resource-next{margin-top:24px}
.resource-list li{padding-inline-start:.28em}
.resource-list li p{margin-top:3px}
.printable{margin-bottom:28px}
.grid,.bento{display:grid;gap:var(--gap);grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.bento{grid-template-columns:1.2fr 1fr 1fr}
.bento .feature{grid-row:span 2;min-height:350px}
.feature h3{font-size:clamp(1.8rem,3.45vw,3.05rem);max-width:12ch}
.feature .feature-mark{min-height:80px;justify-self:center;align-self:center;width:96px;height:96px;display:grid;place-items:center;border-radius:29px;background:var(--action);color:var(--on-action);font-size:3.6rem;line-height:1;transform:rotate(-11deg)}
.tone-studio{--surface:var(--studio-bg);--on-surface:var(--studio-fg);--on-surface-muted:var(--studio-muted)}
.tone-products{--surface:var(--products-bg);--on-surface:var(--products-fg);--on-surface-muted:var(--products-muted)}
.tone-market{--surface:var(--market-bg);--on-surface:var(--market-fg);--on-surface-muted:var(--market-muted)}
.tone-academy{--surface:var(--academy-bg);--on-surface:var(--academy-fg);--on-surface-muted:var(--academy-muted)}
.tone-labs{--surface:var(--labs-bg);--on-surface:var(--labs-fg);--on-surface-muted:var(--labs-muted)}
.tone-inverse{--surface:var(--inverse-bg);--on-surface:var(--inverse-fg);--on-surface-muted:var(--inverse-muted)}
.surface{--context-focus:var(--on-surface,var(--focus));--action:var(--on-surface,var(--ink));--on-action:var(--surface,var(--neutral));background:var(--surface,var(--neutral));color:var(--on-surface,var(--ink));border-radius:var(--radius);padding:clamp(20px,2.6vw,36px)}
.surface p,.surface li,.surface figcaption{color:var(--on-surface-muted,var(--muted))}
.tile{display:grid;justify-items:start;align-content:start;gap:12px;min-height:196px;grid-template-rows:auto auto 1fr auto;transition:translate .2s ease}
.tile:hover,.card:has(a:hover){translate:0 -3px}
.card{display:grid;grid-template-rows:auto auto auto 1fr auto;gap:12px;align-items:start;transition:translate .2s ease}
.card .round{justify-self:start}
.card:not(:has(.kicker)){grid-template-rows:auto auto 1fr auto}
.card :is(h2,h3){font-size:clamp(1.3rem,2.5vw,1.85rem);text-wrap:initial}
.cover{min-width:0;position:relative;isolation:isolate;display:grid;place-items:center;overflow:hidden;min-height:clamp(130px,14.8vw,210px);background:var(--on-surface,var(--ink));color:var(--surface,var(--neutral));border-radius:calc(var(--radius) - 4px)}
.cover strong{position:relative;max-width:100%;padding-inline:.25em;font-size:clamp(2.2rem,4.25vw,4.6rem);font-weight:700;letter-spacing:-.045em;line-height:1.08;text-align:center;overflow-wrap:anywhere}
.cover-art{position:absolute;inset:0;width:100%;height:100%;color:inherit;opacity:.33;pointer-events:none}
.cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;padding:clamp(23px,4.8vw,65px)}
.cta h2{max-width:16ch}
.cta p{margin-top:12px;max-width:52ch}
.split{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:clamp(18px,4vw,54px);align-items:start}
.split.equal{grid-template-columns:repeat(2,minmax(0,1fr))}
.split > *, .grid > *, .bento > *{min-width:0}
.stack{display:grid;gap:12px}
.editorial{display:grid;gap:24px}
.editorial h2 + p,.editorial h3 + p{margin-top:-9px}
.editorial p,.reading p,.reading li{color:var(--muted)}
.prose{max-width:70ch;overflow-wrap:anywhere}
.prose a,.text-link,.crumbs a{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:.065em}
.prose a:hover,.text-link:hover,.footer a:hover,.crumbs a:hover{color:var(--context-focus,var(--link))}
.list-row{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr) auto;gap:18px;align-items:center;background:var(--neutral);padding:15px 20px;border-radius:22px;min-height:83px}
.list-row.service-row{grid-template-columns:minmax(0,1fr) auto}
.list-row:hover{background:var(--soft)}
.list-row :is(h2,h3){font-size:clamp(1.16rem,2vw,1.55rem)}
.list-row p,.list-row small{color:var(--muted)}
.list-row p{font-size:.94rem;margin-top:4px}
.list-row small{font-size:.9rem}
.list-row .round,.inline-panel .round{--action:var(--ink);--on-action:var(--canvas)}
.inline-panel{display:grid;gap:12px}
.crumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:.88rem;margin-top:22px}
.crumbs a{display:inline-flex;align-items:center;min-height:44px}
.crumbs + .hero{padding-top:23px}
.compare-scroll,.reading .table-wrap{overflow:auto;border-radius:18px}
table{width:100%;border-spacing:0 5px;font-size:1rem}
table caption{text-align:left;font-weight:700;margin-bottom:8px}
th,td{background:var(--neutral);padding:13px 16px;text-align:start;vertical-align:top;min-width:12ch}
thead th{background:var(--soft)}
tr>*:first-child{border-radius:16px 0 0 16px}
tr>*:last-child{border-radius:0 16px 16px 0}
.flow{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px clamp(20px,4vw,60px);counter-reset:flow}
.flow li{counter-increment:flow;display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:baseline}
.flow li::before{content:counter(flow,decimal-leading-zero);font-size:.78rem;font-weight:750;color:var(--muted)}
.flow strong{display:block;font-size:1.08rem;line-height:1.3;margin-bottom:5px}
.flow p{color:var(--muted);font-size:.95rem}
details.disclosure{border-radius:19px;background:var(--neutral);padding-inline:17px}
details.disclosure summary{cursor:pointer;min-height:56px;display:flex;justify-content:space-between;align-items:center;gap:12px;list-style:none;font-weight:680;padding-block:10px}
.disclosure summary::-webkit-details-marker{display:none}
.disclosure summary::after{content:'+';flex:none;font-size:1.2rem}
.disclosure[open] summary::after{content:'−'}
.disclosure>p{padding:0 0 16px;color:var(--muted);max-width:70ch}
.filter{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:19px}
.filter .chip{background:var(--neutral)}
.filter .chip[aria-pressed=true]{background:var(--ink);color:var(--canvas);font-weight:750}
.filter .search{flex:1 1 200px;max-width:395px;margin-left:auto}
.filter-feedback{margin-bottom:14px;color:var(--muted)}
.js-only{display:none}
.js .js-only.filter{display:flex}
.js .js-only{display:block}
.reading-frame{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,255px);gap:clamp(28px,5vw,84px);align-items:start}
.reading-frame>*{min-width:0}
.reading{display:grid;gap:19px;max-width:70ch}
.reading h2{font-size:clamp(1.65rem,3.15vw,2.5rem);margin-top:27px;text-wrap:initial}
.reading h3{font-size:1.39rem;margin-top:12px}
.reading :is(ul,ol),.bullets{padding-inline-start:1.25em}
.reading li+li,.bullets li+li{margin-top:8px}
.reading pre{overflow:auto;background:var(--labs-bg);color:var(--labs-fg);border-radius:19px;padding:18px;margin:0;font:400 .88rem/1.7 ui-monospace,monospace}
.reading :not(pre)>code{background:var(--soft);color:var(--ink);padding:2px 5px;border-radius:6px}
.reading blockquote{padding:20px;background:var(--studio-bg);color:var(--studio-fg);border-radius:22px;margin:0}
.reading blockquote p{color:inherit}
.toc{position:sticky;inset-block-start:25px;padding:20px}
.toc summary{font-weight:760;cursor:pointer;min-height:44px}
.toc ul{padding-left:18px}
.toc a{display:inline-flex;align-items:center;min-height:44px;font-size:.91rem;line-height:1.32}
.toc a:hover{text-decoration:underline}
.article-feature{display:grid;grid-template-columns:1fr 1.2fr;gap:clamp(20px,4vw,55px);align-items:center}
.article-feature>div:not(.cover){display:grid;gap:14px}
.article-strip{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:.91rem;color:var(--muted);margin-top:16px}
.article-strip span+span::before{content:'·';margin-inline:2px 9px}
.article-banner{margin-bottom:34px}
.article-banner .cover{min-height:clamp(145px,22vw,300px)}
.form{display:grid;gap:17px}
.field{display:grid;gap:6px;min-width:0;font-size:.95rem;font-weight:690}
.field small{font-weight:400;color:var(--muted)}
input,select,textarea{width:100%;min-width:0;min-height:47px;border:0;border-radius:16px;background:var(--soft);padding:10px 13px;font-size:1rem}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
textarea{min-height:110px;resize:vertical}
.form .actions .button{width:auto}
.form .status,.form small{color:var(--muted)}
.form .status.error{color:var(--error)}
.form .status.success{color:var(--success)}
.output{overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--soft);color:var(--ink);padding:16px;border-radius:18px;margin:0;line-height:1.6}
.qr-output{background:white;border-radius:16px;padding:14px;width:max-content;max-width:100%}
.qr-output canvas{display:block;max-width:100%;height:auto;image-rendering:pixelated}
.diff-add{background:var(--studio-bg);color:var(--studio-fg);display:block}
.diff-remove{background:var(--market-bg);color:var(--market-fg);display:block}
.dialog{width:min(calc(100% - 32px),1040px);max-height:calc(100% - 32px);color:var(--ink);background:var(--neutral);border:0;border-radius:24px;padding:14px}
.dialog::backdrop{background:#101610c7}
.dialog form{display:flex;justify-content:end;margin-bottom:7px}
.dialog img{width:auto;max-height:calc(100dvh - 120px);margin-inline:auto;object-fit:contain}
figcaption{margin-top:8px;color:var(--muted);font-size:.875rem}
.footer{margin-block:clamp(55px,8.5vw,130px) 24px}
.footer-main{display:grid;grid-template-columns:1.3fr .9fr .9fr;gap:22px;align-items:start;padding-block:clamp(23px,4vw,54px)}
.footer .logo{font-size:clamp(1.5rem,3.2vw,2.8rem);margin-bottom:8px}
.footer p{max-width:36ch}
.footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 13px}
.footer-links a,.footer-langs a{display:inline-flex;align-items:center;min-height:44px;font-size:.93rem}
.footer-langs{margin-top:8px;display:flex;gap:19px}
.footer-langs [aria-current]{font-weight:780}
.footer .fineprint{font-size:.86rem;margin-top:12px}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:1120px){
  .header{gap:10px}
  .nav a{padding-inline:8px}
  .grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:860px){
  .header{grid-template-columns:auto 1fr;padding-block:8px;gap:3px 10px}
  .header-actions{justify-self:end}
  .nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;gap:1px}
  .nav a{padding-inline:9px}
  .hero:not(.home) h1{max-width:21ch}
  .case-hero{grid-template-columns:1fr}
  .bento{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bento .feature{grid-column:span 2;grid-row:auto;min-height:225px}
  .bento .feature .feature-mark{display:none}
  .reading-frame{grid-template-columns:1fr}
  .toc{position:static;grid-row:1}
  .footer-main{grid-template-columns:1fr 1fr}
  .footer-main>div:first-child{grid-column:1/-1}
}
@media(max-width:630px){
  :root{--radius:25px;--gap:14px}
  html{scroll-padding-top:18px}
  .logo{font-size:1.27rem}
  .header .button{padding-inline:13px}
  .brief-wide{display:none}
  .brief-narrow{display:inline}
  .nav{justify-content:space-between}
  .nav a{font-size:.79rem;padding-inline:6px}
  .hero.home,.grid,.grid.three,.split,.split.equal,.cta,.article-feature{grid-template-columns:1fr}
  .hero.home{gap:33px;padding-block:41px 35px}
  .home h1{font-size:clamp(2.15rem,9.25vw,3.4rem)}
  .project-grid,.case-brief,.capability-grid,.case-gallery--web{grid-template-columns:1fr}
  .project-grid{gap:29px}
  .engineering-board{gap:13px}
  .engineering-flow{gap:6px}
  .engineering-flow li{padding:8px}
  .engineering-flow li:not(:last-child)::after{inset-inline-start:calc(100% + 1px);width:4px;height:4px}
  .engineering-flow li strong{font-size:.86rem}
  .engineering-flow li>span:last-child{font-size:.78rem}
  .engineering-controls .button{padding-inline:8px;font-size:.8rem}
  .case-gallery--fleo{gap:12px}
  .case-gallery--fleo .case-screen-frame{padding:8px}
  .case-gallery--fleo .case-screen--phone img{border-radius:12px}
  .home .button{padding-inline:13px}
  .hero .lead{margin-top:14px}
  .hero .actions{margin-top:19px}
  .section-head{display:grid;gap:10px}
  .bento{grid-template-columns:1fr 1fr}
  .bento .feature{min-height:0}
  .tile{min-height:0;gap:9px}
  .bento .tile:not(.feature){padding:16px}
  .bento .tile:not(.feature) p{font-size:.92rem}
  .flow{grid-template-columns:1fr;gap:18px}
  .list-row{grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:12px 14px}
  .list-row small{grid-row:2;grid-column:1}
  .list-row .round{grid-column:2;grid-row:1/3}
  .list-row.service-row .round{grid-row:1}
  .filter .search{margin-left:0;max-width:none}
  .footer-main{grid-template-columns:1fr}
}
@media(max-width:780px){
  .case-entries,.case-automation article{grid-template-columns:1fr}
  .case-gallery--phone{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:370px){
  .bento{grid-template-columns:1fr}
  .bento .feature{grid-column:auto}
  .header-actions{gap:3px}
  .header{column-gap:5px}
  .header .logo{font-size:1.14rem}
  .header .button{padding-inline:9px}
  .nav a{padding-inline:5px;font-size:.75rem}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
@media print{
  body:has(.printable){background:#fff;color:#000;font:11pt/1.5 system-ui,sans-serif}
  body:has(.printable) :is(.header,.footer,.skip,.crumbs,.hero .actions,.resource-next){display:none!important}
  body:has(.printable) .shell{width:100%}
  body:has(.printable) .hero{padding:0 0 1rem}
  body:has(.printable) h1{font-size:24pt;max-width:none;letter-spacing:normal}
  body:has(.printable) :is(p,.lead,.eyebrow,.printable li){color:#000}
  .printable h2{font-size:16pt;break-after:avoid}
  .printable li{break-inside:avoid}
}
