@font-face {
  font-family: Onest;
  src: url(/assets/fonts/onest-latin.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Onest;
  src: url(/assets/fonts/onest-cyrillic.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/assets/fonts/plex-latin.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url(/assets/fonts/plex-cyrillic.woff2) format("woff2");
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
:root {
  --ed-bg: #f2f1eb;
  --ed-paper: #fbfaf6;
  --ed-ink: #15191f;
  --ed-muted: #56616d;
  --ed-faint: #858f99;
  --ed-accent: #243eea;
  --ed-line: #d6d5cd;
  --ed-dark: #131820;
  --ed-dark-text: #bdc6d0;
  --ed-dark-line: #3c4859;
  --ed-gap: clamp(18px, 4.2vw, 62px);
  --ed-section: clamp(42px, 7vw, 105px);
  --ed-width: 1360px;
  --ed-fast: 180ms ease;
  --ed-h1: clamp(34px, 5.6vw, 76px);
  --ed-h2: clamp(29px, 4vw, 48px);
  --ed-h3: clamp(20px, 2.2vw, 27px);
  --ed-mono: "IBM Plex Mono", monospace;
  --ink: var(--ed-ink);
  --muted: var(--ed-muted);
  --blue: var(--ed-accent);
  --line: var(--ed-line);
  --pale: var(--ed-bg);
}
html { scroll-padding-top: 90px; }
html body.editorial-site { background: var(--ed-bg); font: 400 clamp(16px, 1.35vw, 18px)/1.6 Onest, system-ui, sans-serif; }
.editorial-site [hidden] { display: none !important; }
.editorial-site :focus-visible { outline: 2px solid var(--ed-accent); outline-offset: 4px; }
.editorial-site .skip:focus { position: fixed; z-index: 100; }
.editorial-site :is(h1,h2,h3) { color: inherit; font-weight: 650; overflow-wrap: break-word; }
.editorial-site h1 { font-size: var(--ed-h1); line-height: 1.04; letter-spacing: -.06em; }
.editorial-site h2 { font-size: var(--ed-h2); line-height: 1.12; letter-spacing: -.045em; }
.editorial-site h3 { font-size: var(--ed-h3); line-height: 1.23; letter-spacing: -.035em; }
.ed-wrap, .editorial-site .wrap {
  max-width: var(--ed-width);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--ed-gap);
}
.ed-label { font: 400 .75rem/1.5 var(--ed-mono); color: var(--ed-muted); letter-spacing: -.015em; }
.ed-measure { max-width: 68ch; }
.ed-section { padding-block: var(--ed-section); border-top: 1px solid var(--ed-line); }
.ed-section h2 { max-width: 25ch; margin: 0 0 clamp(24px, 4vw, 48px); }
.ed-section:nth-child(even) { background: var(--ed-paper); }
.ed-section.ed-dark { background: #edf0f2; color: var(--ed-ink); border-color: var(--ed-line); }
.ed-dark .ed-label { color: var(--ed-muted); }
.ed-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-block: 24px; }
.ed-button, .editorial-site .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  gap: 14px;
  padding: 10px 16px;
  border: 1px solid var(--ed-dark);
  background: var(--ed-dark);
  color: var(--ed-paper);
  border-radius: 4px;
  font-size: .875rem;
  line-height: 1.25;
  font-weight: 650;
  transition: color var(--ed-fast), background var(--ed-fast), border-color var(--ed-fast);
}
.ed-button-secondary { background: var(--ed-paper); color: var(--ed-ink); border-color: var(--ed-line); }
.ed-dark .ed-button-secondary { background: var(--ed-paper); color: var(--ed-ink); border-color: var(--ed-line); }
.ed-button:hover, .editorial-site .button:not(:disabled):hover, .ed-dark .ed-button-secondary:hover {
  color: var(--ed-paper);
  background: var(--ed-accent);
  border-color: var(--ed-accent);
}
.ed-button:active { background: #2445cf; color: var(--ed-paper); }
.ed-button span, .ed-arrow { transition: transform var(--ed-fast); }
.ed-button:hover span, a:hover .ed-arrow { transform: translateX(4px); }
.editorial-site .button:disabled { opacity: .66; cursor: wait; }

.ed-header { position: sticky; top: 0; z-index: 12; background: var(--ed-bg); border-bottom: 1px solid var(--ed-line); }
.ed-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.ed-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.ed-brand img { display: block; width: 158px; height: auto; }
.ed-header nav ul { margin: 0; padding: 0; list-style: none; }
.ed-header nav > ul { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 36px); }
.ed-header nav :is(a,summary) { min-height: 42px; display: flex; align-items: center; color: var(--ed-ink); font-size: .875rem; font-weight: 550; white-space: nowrap; cursor: pointer; }
.ed-header nav :is(a,summary):is(:hover,.ed-current,[aria-current]) { color: var(--ed-accent); }
.ed-header .ed-dropdown { padding: 0; border: 0; position: relative; }
.ed-header .ed-dropdown summary { gap: 6px; }
.ed-header .ed-dropdown summary::after { content: "⌄"; color: currentColor; font: inherit; }
.ed-header .ed-dropdown[open] summary::after { transform: rotate(180deg); }
.ed-header .ed-dropdown > ul { position: absolute; top: 100%; left: -12px; min-width: 248px; padding: 6px; border: 1px solid var(--ed-line); background: var(--ed-paper); box-shadow: 0 12px 32px #13182012; }
.ed-dropdown li a { padding-inline: 12px; }
.ed-menu-toggle { display: none; background: var(--ed-paper); border: 1px solid var(--ed-line); color: var(--ed-ink); border-radius: 4px; min-height: 44px; padding: 0 12px; cursor: pointer; }

.ed-hero { padding-block: clamp(42px, 6.5vw, 94px) clamp(38px, 5.5vw, 78px); }
.ed-hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4.8vw, 70px); }
.ed-hero .ed-label { margin: 0 0 18px; color: var(--ed-accent); }
.ed-hero h1 { margin: 0 0 20px; font-size: clamp(32px, 4.55vw, 66px); line-height: 1.04; text-wrap: balance; }
.ed-lead { font-size: clamp(17px, 2vw, 23px); line-height: 1.45; color: var(--ed-muted); max-width: 58ch; }
.ed-geo { border-top: 1px solid var(--ed-line); padding-top: 13px; margin: 30px 0 0; font-size: .875rem; color: var(--ed-muted); }
.editorial-home .home-scenarios { background: var(--ed-paper); border: 1px solid var(--ed-line); border-top: 3px solid var(--ed-accent); padding: clamp(16px, 2.5vw, 30px); }
.editorial-home .home-scenarios h2 { font-size: clamp(19px, 2vw, 26px); margin: 0 0 12px; }
.home-scenarios .journal-list a { display: block; position: relative; padding: 12px 24px 12px 0; line-height: 1.45; }
.home-scenarios .journal-list a::after { content: "↗"; position: absolute; top: 12px; right: 0; color: var(--ed-accent); }
.home-scenarios .journal-list span { display: block; margin-top: 4px; }
.home-work { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.home-work h3 { font-size: clamp(24px, 3.2vw, 40px); margin: 0 0 14px; }
.home-work-copy > p:not(.ed-label), .home-work figcaption { color: var(--ed-muted); }
.home-work figure { margin: 0; }
.home-work img { display: block; width: 100%; height: auto; }
.home-work figcaption { font-size: .785rem; margin-top: 7px; }
.home-work-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 26px 0; }
.home-work-facts > div { border-top: 1px solid var(--ed-line); padding-top: 10px; }
.home-work-facts dt { font-size: clamp(28px, 4vw, 45px); line-height: 1.1; }
.home-work-facts dd { margin: 4px 0 0; color: var(--ed-muted); font-size: .85rem; }

.ed-services { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ed-line); }
.ed-services li { border-top: 1px solid var(--ed-line); }
.ed-services a { display: grid; grid-template-columns: 36px minmax(205px, 1fr) minmax(0, 1.45fr) 28px; gap: 16px; align-items: baseline; padding: 22px 10px; transition: background var(--ed-fast); }
.ed-services a:hover { background: var(--ed-bg); color: var(--ed-ink); }
.editorial-site .ed-services :is(h2,h3) { font-size: var(--ed-h3); margin: 0; letter-spacing: -.035em; }
.ed-services small { margin: 0; }
.ed-services small { display: block; margin-top: 5px; color: var(--ed-muted); font-size: .82rem; }
.ed-arrow { display: inline-block; color: var(--ed-accent); font-size: 1.1rem; }
.ed-project-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 12px; }
.ed-project-grid.ed-project-grid-single { grid-template-columns: minmax(0, 720px); }
.works-page { padding-bottom: clamp(36px, 5vw, 72px); }
.works-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px; padding: clamp(24px, 4vw, 52px) 0 30px; }
.works-heading h1 { margin: 0; }
.works-heading > p { max-width: 45ch; color: var(--ed-muted); margin: 0 0 4px; }
.works-feature { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); gap: clamp(22px,4vw,56px); padding: clamp(18px,3vw,36px); background: var(--ed-paper); border: 1px solid var(--ed-line); align-items: center; }
.works-feature figure { margin: 0; min-width: 0; }
.works-feature + .works-feature { margin-top: 20px; }
.works-feature figure a { display: block; }
.works-feature img { display: block; width: 100%; height: auto; aspect-ratio: 64/45; object-fit: cover; }
.works-feature figcaption { margin-top: 8px; color: var(--ed-muted); font-size: .75rem; }
.works-details .ed-label { margin: 0 0 12px; }
.works-details h2 { font-size: clamp(25px,3vw,40px); line-height: 1.13; margin: 0 0 16px; }
.works-details h2 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.works-details > p:not(.ed-label) { color: var(--ed-muted); }
.works-scope { padding-left: 19px; font-size: .9375rem; margin: 18px 0; }
.works-scope li { margin: 6px 0; }
.works-details .works-tech { font-size: .8rem; border-top: 1px solid var(--ed-line); padding-top: 14px; margin-bottom: 22px; }
.works-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.works-bottom p { margin: 0; color: var(--ed-muted); }
.profile-page { padding-bottom: clamp(36px,5vw,72px); }
.profile-heading { padding: clamp(24px,4vw,52px) 0 32px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; align-items: end; }
.profile-heading h1 { margin: 0; font-size: clamp(34px,5vw,64px); }
.profile-heading > p { color: var(--ed-muted); max-width: 48ch; margin: 0 0 3px; }
.profile-intro { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: clamp(24px,5vw,72px); padding: clamp(20px,3.5vw,42px); background: var(--ed-paper); border: 1px solid var(--ed-line); }
.profile-intro p { max-width: 69ch; color: var(--ed-muted); }
.profile-intro a:not(.ed-button) { color: var(--ed-accent); text-decoration: underline; }
.profile-summary h2, .profile-section h2, .profile-example h2, .reading-row h2, .contact-layout h2, .contact-followup h2 { font-size: clamp(23px,2.8vw,34px); line-height: 1.16; margin: 0 0 16px; }
.profile-summary dl { margin: 0 0 24px; }
.profile-summary dl > div { border-top: 1px solid var(--ed-line); padding: 12px 0; }
.profile-summary dt { font-weight: 650; }
.profile-summary dd { color: var(--ed-muted); margin: 3px 0 0; font-size: .9375rem; }
.profile-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 40px; }
.profile-section { border-top: 1px solid var(--ed-line); margin-top: 32px; padding-top: 24px; }
.profile-section p, .profile-section li { color: var(--ed-muted); }
.profile-section ul { padding-left: 20px; }
.profile-section li { margin: 7px 0; }
.profile-example { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #edf0f2; padding: clamp(20px,3vw,32px); margin-top: 30px; }
.profile-example p { margin: 0; color: var(--ed-muted); max-width: 65ch; }
.profile-example .ed-button { flex: 0 0 auto; }
.reading-index { background: var(--ed-paper); border: 1px solid var(--ed-line); padding-inline: clamp(18px,3vw,36px); }
.reading-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; }
.reading-row + .reading-row { border-top: 1px solid var(--ed-line); }
.reading-row .ed-label { margin: 0 0 7px; }
.reading-row h2 { margin-bottom: 10px; }
.reading-row h2 a:hover { color: var(--ed-accent); }
.reading-row p { color: var(--ed-muted); max-width: 62ch; margin: 0; }
.reading-row .ed-button { flex: 0 0 auto; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px,5vw,72px); align-items: start; }
.contact-channel-list { display: grid; gap: 8px; }
.contact-channel-list a { position: relative; display: block; padding: 12px 40px 12px 16px; border: 1px solid var(--ed-line); background: var(--ed-paper); }
.contact-channel-list a:hover { border-color: var(--ed-accent); }
.contact-channel-list span { display: block; color: var(--ed-muted); font-size: .85rem; }
.contact-channel-list strong { font-size: clamp(17px,2vw,22px); overflow-wrap: anywhere; }
.contact-channel-list i { position: absolute; right: 16px; top: 22px; color: var(--ed-accent); font-style: normal; }
.contact-person { margin: 24px 0 16px; color: var(--ed-muted); font-size: .9375rem; }
.contact-details { margin: 0; }
.contact-details div { border-top: 1px solid var(--ed-line); padding: 12px 0; }
.contact-details dt { font-weight: 650; }
.contact-details dd { color: var(--ed-muted); margin: 4px 0 0; font-size: .9375rem; }
.contact-form-panel { padding: clamp(18px,3vw,30px); background: var(--ed-paper); border: 1px solid var(--ed-line); }
.contact-form-panel > p { color: var(--ed-muted); }
.contact-form-panel form { padding: 0; border: 0; border-radius: 0; }
.contact-form-panel form > label { display: block; margin: 14px 0; font-size: .9375rem; }
.contact-form-panel label > :is(input:not([type=checkbox]),textarea) { display: block; margin-top: 6px; font-size: 16px; }
.contact-form-panel label:has(input[type=checkbox]) { display: flex; align-items: start; gap: 9px; font-size: .8125rem; }
.contact-form-panel input[type=checkbox] { margin-top: 5px; accent-color: var(--ed-accent); }
.contact-followup { border-top: 1px solid var(--ed-line); margin-top: 30px; padding-top: 26px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.contact-followup p { color: var(--ed-muted); max-width: 62ch; }
@media (max-width: 780px) {
  .profile-heading, .profile-intro, .profile-columns, .contact-layout, .contact-followup { grid-template-columns: minmax(0,1fr); }
  .profile-heading { gap: 12px; }
  .profile-example, .reading-row { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 780px) {
  .works-heading, .works-feature { grid-template-columns: minmax(0,1fr); }
  .works-heading { gap: 12px; padding-bottom: 24px; }
  .works-bottom { align-items: flex-start; flex-direction: column; }
}
.ed-project { border: 1px solid var(--ed-line); background: var(--ed-paper); }
.ed-dark .ed-project { background: var(--ed-paper); border-color: var(--ed-line); }
.ed-project-feature { grid-row: span 2; }
.ed-project a { display: block; height: 100%; overflow: hidden; }
.ed-dark .ed-project a:hover { color: var(--ed-ink); }
.ed-project a:focus-visible { outline-offset: 2px; }
.ed-project img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; transition: transform 250ms ease; }
.ed-project .ed-image-caption { margin: 0; padding: 6px 22px 0; font-size: .75rem; }
.ed-dark .ed-image-caption { color: var(--ed-muted); }
.ed-project a:hover img { transform: scale(1.025); }
.ed-project-copy { position: relative; padding: 22px 50px 22px 22px; }
.ed-project-copy .ed-arrow { position: absolute; right: 20px; top: 22px; }
.ed-dark .ed-arrow { color: var(--ed-accent); }
.ed-project-copy p { color: var(--ed-muted); margin-bottom: 0; }
.ed-project-copy h3 { margin: 9px 0; }
.ed-dark .ed-project-copy p { color: var(--ed-muted); }
.ed-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
html:not(.ed-js) .ed-filters { display: none; }
.ed-filters button { background: transparent; color: inherit; border: 1px solid var(--ed-dark-line); cursor: pointer; min-height: 40px; padding: 6px 12px; border-radius: 4px; font-size: .875rem; }
.ed-filters button[aria-pressed=true] { background: var(--ed-paper); color: var(--ed-dark); }
.ed-filters button:hover { border-color: var(--ed-paper); }
.ed-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.ed-explorer { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); background: var(--ed-paper); border: 1px solid var(--ed-line); }
.ed-topology { height: 320px; display: grid; grid-template: repeat(3,1fr) / repeat(3,1fr); align-items: center; justify-items: center; position: relative; background-image: radial-gradient(var(--ed-line) 1px, transparent 1px); background-size: 17px 17px; }
.ed-topology svg { inset: 0; width: 100%; height: 100%; position: absolute; pointer-events: none; }
.ed-topology line { stroke: var(--ed-faint); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ed-topology line.ed-edge-active { stroke: var(--ed-accent); stroke-width: 2; }
.ed-topology a { grid-column: var(--col); grid-row: var(--row); z-index: 1; display: grid; place-items: center; min-height: 44px; max-width: calc(100% - 14px); padding: 6px 9px; border: 1px solid var(--ed-line); background: var(--ed-paper); text-align: center; font: .76rem/1.35 var(--ed-mono); }
.ed-topology a:is(:hover,.ed-node-active) { border-color: var(--ed-accent); color: var(--ed-accent); }
.ed-topology a.ed-node-related { border-color: var(--ed-accent); background: #eef1ff; }
.ed-inspect { border-left: 1px solid var(--ed-line); padding: 26px; }
.ed-inspect a { color: var(--ed-accent); text-decoration: underline; }
.ed-node-list { grid-column: 1 / -1; border: 0; border-top: 1px solid var(--ed-line); padding: 16px 20px; }
.ed-timeline { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; padding: 0; list-style: none; }
.ed-timeline li { border-top: 1px solid var(--ed-line); padding-block: 15px; }
.ed-timeline li h3 { margin: 8px 0; }
.ed-reading { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 18px; margin-block: 25px; }
.ed-reading article { border-top: 2px solid var(--ed-ink); padding-top: 17px; }
.ed-reading h3 span { color: var(--ed-accent); }
.ed-tech { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.ed-tech div { border-top: 1px solid var(--ed-line); padding-block: 15px; }
.ed-tech dt { font-weight: 650; }
.ed-tech dd { margin: 8px 0; color: var(--ed-muted); font: .875rem/1.6 var(--ed-mono); }
.ed-gallery-section { margin-top: var(--ed-section); }
.ed-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,245px),1fr)); gap: 18px; }
.ed-gallery figure { margin: 0; }
.ed-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.ed-gallery figcaption, .ed-form-policy { color: var(--ed-muted); margin-top: 8px; font-size: .875rem; }
.ed-form-policy a { text-decoration: underline; }
.gubakha-intro { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: center; gap: clamp(22px,4vw,54px); margin: 28px 0; }
.gubakha-case .gubakha-intro h1 { font-size: clamp(32px,4.25vw,58px); }
.gubakha-illustration { margin: 0; }
.gubakha-illustration img { display: block; width: 100%; height: auto; }
.gubakha-illustration figcaption { margin-top: 8px; color: var(--ed-muted); font-size: .875rem; }
.gubakha-facts { margin: 32px 0; }
.gubakha-jumps { margin: 0 0 32px; border-block: 1px solid var(--ed-line); }
.gubakha-jumps ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 14px 0; list-style: none; }
.gubakha-jumps .ed-button { gap: 10px; text-decoration: none; }
.gubakha-jumps .ed-button span { color: var(--ed-accent); }
.gubakha-jumps .ed-button:hover span { color: inherit; transform: translateY(2px); }
@media (max-width: 460px) {
  .gubakha-jumps ul { gap: 8px; }
  .gubakha-jumps .ed-button { padding-inline: 10px; gap: 6px; font-size: .8125rem; }
}
.gubakha-case .journal-body { max-width: 830px; }
.gubakha-case .journal-body > section + section { padding-top: clamp(22px, 3.5vw, 38px); border-top: 1px solid var(--ed-line); }
.gubakha-case .journal-body h2 { font-size: clamp(24px, 3.4vw, 38px); line-height: 1.15; margin: 0 0 16px; text-wrap: balance; }
.gubakha-case .journal-body h3 { font-size: clamp(18px, 2.25vw, 23px); line-height: 1.25; margin: 26px 0 10px; }
.gubakha-table { overflow-x: auto; margin: 16px 0 26px; }
.gubakha-table table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: .9375rem; line-height: 1.45; text-align: left; }
.gubakha-table :is(th,td) { padding: 10px 12px; border-bottom: 1px solid var(--ed-line); vertical-align: top; }
.gubakha-table thead { background: var(--ed-paper); }
.gubakha-table tbody th { font-weight: 550; }
.gubakha-diagram { padding: clamp(14px,3vw,24px); border: 1px solid var(--ed-line); background: var(--ed-paper); margin: 24px 0 32px; }
.gubakha-diagram figcaption { margin-bottom: 16px; }
.gubakha-diagram figcaption strong { display: block; font-size: 1.1rem; }
.gubakha-diagram span { display: block; color: var(--ed-muted); font-size: .875rem; line-height: 1.45; margin-top: 4px; }
.gubakha-diagram ol { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.gubakha-diagram li { background: var(--ed-bg); border: 1px solid var(--ed-line); border-inline-start: 2px solid var(--ed-accent); padding: 10px; min-width: 0; }
.gubakha-diagram-architecture ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
.gubakha-diagram-architecture li:first-child { grid-column: 1 / -1; }
.gubakha-diagram-radio ol { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.gubakha-diagram-radio li, .gubakha-diagram-flow li { position: relative; }
.gubakha-diagram-radio li:not(:last-child)::after { content: "→"; position: absolute; right: -18px; top: 8px; color: var(--ed-accent); }
.gubakha-diagram-flow ol { gap: 20px; }
.gubakha-diagram-flow li:not(:last-child)::after { content: "↓"; position: absolute; left: 12px; bottom: -23px; color: var(--ed-accent); }
@media (max-width: 780px) {
  .gubakha-intro { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 600px) {
  .gubakha-diagram-radio ol, .gubakha-diagram-architecture ol { grid-template-columns: minmax(0,1fr); }
  .gubakha-diagram-radio li:not(:last-child)::after { content: "↓"; right: auto; top: auto; left: 12px; bottom: -23px; }
}

.editorial-site .restored-content > .restore-section { border-bottom: 1px solid var(--ed-line); padding: clamp(30px,5vw,75px) 0; }
.editorial-site .restore-section > div { max-width: var(--ed-width); padding-inline: var(--ed-gap); margin-inline: auto; }
.editorial-site .restored-content > .restore-section:first-child, .ed-contact .restore-section { background: var(--ed-paper); }
.editorial-site .design-only .restore-section:first-child h1 { font-size: var(--ed-h1); max-width: 21ch; }
.editorial-site .restore-section :is(p,li) { max-width: 72ch; }
.editorial-site .restore-section .restore-grid.two { gap: clamp(18px,4vw,56px); }
.editorial-site .original-card { border-radius: 4px; }
.editorial-site .original-footer { background: #edf0f2; color: var(--ed-muted); padding-inline: max(var(--ed-gap), calc((100% - var(--ed-width))/2 + var(--ed-gap))); }
.editorial-site .original-footer :is(h3,h4,.original-footer-brand) { color: var(--ed-ink); }
.editorial-site .original-footer-brand img { display: block; width: 158px; max-width: 100%; height: auto; }
.editorial-site .original-footer a:hover { color: var(--ed-accent); }
.editorial-site .journal { padding-top: 26px; }
.editorial-site .journal h1 { max-width: 22ch; }
.editorial-site .journal-body { max-width: 74ch; }
.editorial-site .journal-photo img { aspect-ratio: 16/9; }
.ed-crumbs, .editorial-site .journal-crumbs { padding-block: 15px; font: .78rem/1.4 var(--ed-mono); color: var(--ed-muted); }
.ed-crumbs a:hover { text-decoration: underline; }
.ed-crumbs [aria-current] { color: var(--ed-ink); overflow-wrap: anywhere; }
.ed-crumbs a { text-decoration: underline; text-underline-offset: .2em; }
.ed-local-nav { border-bottom: 1px solid var(--ed-line); padding-block: 13px; }
.ed-local-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; }
.ed-local-nav a { display: inline-block; padding-block: 4px; font-size: .875rem; color: var(--ed-muted); }
.ed-local-nav a:hover { color: var(--ed-accent); text-decoration: underline; }
.ed-service-notes { display: grid; grid-template-columns: minmax(180px,1fr) minmax(0,1.85fr); gap: 20px; padding-block: clamp(30px,5vw,70px); border-bottom: 1px solid var(--ed-line); }
.ed-service-notes h2 { font-size: clamp(25px,3vw,39px); max-width: 15ch; margin: 0; }
.ed-service-notes p { max-width: 67ch; margin-bottom: 10px; }
.ed-service-notes .ed-label { margin-top: 12px; }
.ed-service-guide { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 20px 0; gap: 12px; }
.ed-service-guide > div { background: var(--ed-paper); border: 1px solid var(--ed-line); border-top: 2px solid var(--ed-accent); padding: 14px; }
.ed-service-guide dt { margin-bottom: 6px; font-weight: 650; }
.ed-service-guide dd { margin: 0; color: var(--ed-muted); font-size: .9375rem; }
.ed-crm-prices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 18px 0; }
.editorial-site .restore-section .ed-crm-prices p { margin: 0; background: var(--ed-bg); border: 1px solid var(--ed-line); padding: 12px; font-size: .875rem; }
.ed-crm-prices strong { display: block; color: var(--ed-ink); }
.restored-contact .restore-section:first-child .restore-grid.two > a { display: block; padding: 12px 14px; background: var(--ed-bg); border: 1px solid var(--ed-line); text-decoration: none; }
.restored-contact .restore-section:first-child .restore-grid.two > a:hover { border-color: var(--ed-accent); }
.restored-contact .restore-section:first-child .restore-grid.two > a > div:last-child { font-weight: 650; }
.editorial-site .journal .ed-local-nav { margin: 0 0 22px; padding-inline: 0; }
.ed-local-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.editorial-site .journal .ed-section .ed-wrap, .editorial-site .journal .ed-catalog { padding-inline: 0; }
.ed-catalog h2 { margin-top: 42px; }
.ed-contact { border-top: 1px solid var(--ed-line); }
.editorial-site .restore-section a.ed-button { color: var(--ed-paper); text-decoration: none; }
.editorial-site .restore-section a.ed-button-secondary { color: var(--ed-ink); }
.editorial-site .restore-section a.ed-button:hover { color: var(--ed-paper); }
.ed-contact input:not([type=checkbox]), .ed-contact textarea, .ed-contact-form input:not([type=checkbox]), .ed-contact-form textarea { font-size: 16px; }
.ed-contact-form { max-width: 620px; }
.ed-contact-form form > label { display: block; margin: 12px 0; }
.ed-contact-form form label > :is(input:not([type=checkbox]),textarea) { display: block; }
.editorial-site .journal-list { font-size: 1rem; }
.editorial-site .journal-list a { min-height: 44px; }
.ed-dropdown[open] > ul, .ed-menu-on .ed-header nav { animation: ed-appear var(--ed-fast) both; }
@keyframes ed-appear { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .ed-header-inner { gap: 10px; }
  .ed-header nav > ul { gap: 13px; }
}
@media (max-width: 780px) {
  .ed-header-inner { min-height: 62px; flex-wrap: wrap; }
  .ed-header .ed-button { margin-left: auto; order: 2; }
  .ed-menu-toggle { order: 3; }
  .ed-header nav { order: 4; width: 100%; }
  .ed-header nav > ul { display: block; }
  .ed-header .ed-dropdown > ul { position: static; border: 0; box-shadow: none; padding: 0; }
  .ed-js .ed-menu-toggle { display: inline-flex; align-items: center; }
  .ed-js .ed-header nav { display: none; }
  .ed-menu-on { overflow: hidden; }
  .ed-js .ed-menu-on .ed-header nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-height: min(390px, calc(100dvh - 63px));
    max-height: calc(100dvh - 63px);
    overflow: auto;
    overscroll-behavior: contain;
    background: var(--ed-paper);
    border-bottom: 1px solid var(--ed-line);
    padding: 14px var(--ed-gap) 24px;
  }
  .ed-header nav :is(a,summary) { min-height: 46px; }
  .ed-header nav > ul > li { border-bottom: 1px solid var(--ed-line); }
  .ed-hero-grid, .home-work { grid-template-columns: minmax(0,1fr); }
  .ed-geo { margin-top: 24px; }
  .ed-explorer { display: block; }
  .ed-topology, .ed-inspect { display: none; }
  .ed-node-list { border-top: 0; }
}
@media (max-width: 620px) {
  .ed-service-guide { grid-template-columns: minmax(0,1fr); }
  .ed-service-notes { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .ed-services a { grid-template-columns: 24px minmax(0,1fr) 20px; gap: 3px 10px; padding-inline: 0; }
  .ed-services a > span:nth-child(3) { grid-area: 2 / 2 / 3 / 4; }
  .ed-project-grid, .ed-timeline, .ed-reading, .ed-tech { grid-template-columns: minmax(0,1fr); }
  .ed-project-feature { grid-row: auto; }
  .ed-project-copy { padding: 17px 42px 17px 17px; }
  .ed-header .ed-brand img { width: clamp(94px, 29vw, 130px); height: auto; }
  .ed-header .ed-button { padding-inline: 7px; font-size: .72rem; gap: 4px; }
  .ed-menu-toggle { font-size: .78rem; padding-inline: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .editorial-site *, .editorial-site *::before, .editorial-site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.editorial-site :is(.works-heading, .profile-heading) { display: block; border-inline-start: 4px solid var(--ed-accent); padding-inline-start: clamp(14px, 2.5vw, 32px); }
.editorial-site :is(.works-heading, .profile-heading) > p { max-width: 62ch; margin-top: 14px; }
.editorial-site .ed-section.ed-dark, .editorial-site .ed-footer { background: #eae9e1; }
.ed-hero-grid { grid-template-columns: minmax(0, 1fr); align-items: start; border-inline-start: 6px solid var(--ed-accent); }
.ed-hero h1 { max-width: 19ch; font-size: clamp(34px, 7vw, 92px); text-wrap: initial; }
.ed-hero .home-scenarios { max-width: 740px; }
.case-editorial { padding-bottom: clamp(42px, 8vw, 100px); }
.case-reading { max-width: 920px; }
.case-intro { border-inline-start: 4px solid var(--ed-accent); padding-inline-start: clamp(14px, 3vw, 32px); margin-block: clamp(24px, 5vw, 66px) 32px; }
.case-intro h1 { margin-block: 0 16px; }
.case-reading figure { margin: 0 0 20px; }
.case-reading figure img { display: block; width: 100%; height: auto; border: 1px solid var(--ed-line); }
.case-reading figcaption { margin-top: 8px; color: var(--ed-muted); font-size: .85rem; }
.case-reading .ed-local-nav { padding-inline: 0; }
.case-reading .profile-section > p { max-width: 68ch; }
.case-reading .profile-section > p a { text-decoration: underline; text-underline-offset: .2em; }
