:root {
  --paper: #f4f5f3;
  --white: #fff;
  --ink: #111315;
  --muted: #676b70;
  --line: #cdd0cf;
  --line-dark: #aeb2b2;
  --blue: #174fda;
  --blue-dark: #0d35a4;
  --measure: 1680px;
  --pad: clamp(20px, 3vw, 58px);
  --section: clamp(72px, 9vw, 148px);
  --sans: Arial, Helvetica, sans-serif;
  --mono: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  color: white;
  background: var(--blue);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.shell { width: min(100%, var(--measure)); margin-inline: auto; padding-inline: var(--pad); }

.site-header {
  position: relative;
  z-index: 20;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 245, 243, .96);
}

.header-inner {
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.brand { display: block; width: max-content; color: var(--ink); font-family: var(--sans); line-height: 1; }
.brand-mark { display: block; width: 136px; height: auto; }
.decor-ru, .decor-logo-ru { display: none; }
html[data-decor-language="en"] .decor-ru,
html[data-decor-language="en"] .decor-logo-ru { display: none; }
html[data-decor-language="en"] .decor-en { display: inline; }
html[data-decor-language="en"] .decor-logo-en { display: block; }
html[data-decor-language="ru"] .decor-en,
html[data-decor-language="ru"] .decor-logo-en { display: none; }
html[data-decor-language="ru"] .decor-ru { display: inline; }
html[data-decor-language="ru"] .decor-logo-ru { display: block; }

.main-nav { display: flex; align-items: center; gap: clamp(28px, 4vw, 72px); }

.main-nav a {
  position: relative;
  padding-block: 18px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.main-nav a::after, .arrow-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.main-nav a:hover::after, .main-nav a[aria-current="page"]::after, .arrow-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-button span, .menu-button::before {
  content: "";
  display: block;
  width: 25px;
  height: 1px;
  margin: 7px auto;
  background: var(--ink);
  transition: transform .2s ease;
}

.eyebrow, .label, .meta, .tag, .field-label {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.eyebrow { color: var(--blue); }

.home-intro { padding-block: clamp(54px, 6vw, 96px); }
.intro-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(540px, .95fr); gap: clamp(54px, 6vw, 108px); align-items: stretch; }
.intro-copy { align-self: center; }
.intro-topline { display: flex; justify-content: space-between; gap: 24px; margin-bottom: clamp(44px, 5vw, 76px); }
.home-intro h1 { max-width: 760px; margin: 0; font-size: clamp(46px, 4.6vw, 76px); line-height: .98; letter-spacing: -.05em; font-weight: 650; }
.home-intro h1 span { display: block; color: var(--muted); font-weight: 350; }
.intro-bottom { display: grid; justify-items: start; gap: 34px; margin-top: clamp(38px, 4vw, 64px); }
.intro-bottom p { margin: 0; color: #36393c; font-size: clamp(18px, 1.5vw, 24px); }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px;
  border: 1px solid var(--blue);
  color: #fff;
  background: var(--blue);
  font: 11px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.button:hover { background: var(--blue-dark); transform: translateY(-2px); }
.button:disabled { cursor: wait; opacity: .6; }
.button.secondary { color: var(--blue); background: transparent; }
.button.secondary:hover { color: white; background: var(--blue); }

.formula { color: #42464a; font: 11px/1.4 var(--mono); letter-spacing: .055em; }

.section { padding-block: var(--section); border-top: 1px solid var(--line); }
.section-tight { padding-block: clamp(50px, 6vw, 90px); }

.situations-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(50px, 8vw, 130px); align-items: start; }
.situations-layout h2 { max-width: 520px; margin: 18px 0 0; font-size: clamp(32px, 3.2vw, 52px); line-height: 1.04; letter-spacing: -.035em; font-weight: 560; }
.situation-list { margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.situation-list li { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 1.5vw, 24px); line-height: 1.3; }
.situation-list .label { padding-top: 5px; color: var(--blue); }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(34px, 4vw, 66px); }
.section-heading h2, .page-hero h1 { margin: 0; font-size: clamp(32px, 3.2vw, 52px); line-height: 1.04; letter-spacing: -.035em; font-weight: 560; }
.section-heading p { max-width: 690px; margin: 0; color: var(--muted); font-size: 18px; }

.arrow-link { position: relative; padding: 8px 0 12px; color: var(--blue); font: 11px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.arrow-link::after { bottom: 5px; }

.competence-intro { max-width: 960px; margin: 0 0 54px; font-size: clamp(21px, 2vw, 31px); line-height: 1.3; }
.competence-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.competence { padding: 24px clamp(26px, 3vw, 52px) 0 0; border-right: 1px solid var(--line); }
.competence + .competence { padding-left: clamp(26px, 3vw, 52px); }
.competence:last-child { border-right: 0; }
.competence-head { display: flex; justify-content: space-between; margin-bottom: 42px; color: var(--blue); }
.competence-copy { min-height: 110px; margin: 0 0 28px; padding-right: 18px; color: var(--muted); }
.plain-list { padding: 0; margin: 0; list-style: none; }
.plain-list li { padding: 11px 0; border-bottom: 1px solid var(--line); }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.project-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); background: var(--white); transition: border-color .2s ease, transform .2s ease; }
.project-card:hover { border-color: var(--ink); transform: translateY(-4px); }
.card-topline { display: flex; justify-content: space-between; gap: 12px; padding: 15px 16px; }
.card-image-wrap { overflow: hidden; margin-inline: 12px; aspect-ratio: 3.25; background: #d9dcda; }
.project-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform .4s ease; }
.project-card:hover img { transform: scale(1.025); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 22px 16px 18px; }
.card-body h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.05; }
.card-body p { margin: 0 0 28px; color: var(--muted); font-size: 14px; }
.card-status { margin-top: auto; color: var(--muted); }

.formats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.format { min-height: 260px; padding: 24px 26px 0 0; border-right: 1px solid var(--line); }
.format + .format { padding-left: 26px; }
.format:last-child { border-right: 0; }
.format .label { color: var(--blue); }
.format h3 { margin: 50px 0 14px; font-size: 19px; line-height: 1.15; }
.format p { margin: 0; color: var(--muted); font-size: 14px; }

.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--white); }
.editorial-cell { padding: clamp(28px, 3vw, 48px); border-right: 1px solid var(--line); }
.editorial-cell:last-child { border-right: 0; }
.editorial-cell h2 { margin: 0 0 30px; font: 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.editorial-cell p { color: var(--muted); }
.founder { display: grid; grid-template-columns: 154px 1fr; gap: 24px; align-items: start; }
.founder-contact { display: grid; justify-items: center; gap: 7px; width: 154px; }
.founder-qr { display: block; width: 154px; background: white; }
.founder-qr img { display: block; width: 100%; height: auto; }
.founder-vcard-link { color: var(--muted); font: 10px/1.3 var(--mono); letter-spacing: .02em; text-decoration: underline; text-underline-offset: 2px; }
.founder-vcard-link:hover { color: var(--blue); }
.founder h3 { margin: 0 0 5px; font-size: 20px; }
.founder p { margin: 4px 0 0; font-size: 14px; }

.journal-list { border-top: 1px solid var(--line); }
.journal-row { display: grid; grid-template-columns: 90px 72px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.journal-row:hover .journal-title { color: var(--blue); }
.journal-title { font-size: 15px; transition: color .2s ease; }

.intro-activity { min-width: 0; padding: clamp(28px, 3vw, 48px); color: white; background: var(--ink); }
.intro-activity .section-heading { margin-bottom: 28px; }
.intro-activity .section-heading h2 { margin-top: 12px; font-size: clamp(28px, 2.5vw, 42px); }
.intro-activity .arrow-link, .intro-activity .eyebrow { color: #6e98ff; }
.activity-list { border-top: 1px solid #4b5054; }
.activity-row { display: grid; grid-template-columns: 90px 80px minmax(0, 1fr) 22px; gap: 14px; align-items: start; padding: 21px 0; border-bottom: 1px solid #34383b; }
.activity-row .meta, .activity-row .tag { padding-top: 4px; color: #969b9e; }
.activity-content { display: grid; gap: 7px; }
.activity-content strong { font-size: clamp(17px, 1.25vw, 21px); line-height: 1.15; font-weight: 520; transition: color .2s ease; }
.activity-content small { max-width: 900px; color: #aeb3b8; font-size: 14px; line-height: 1.45; }
.activity-arrow { color: #6e98ff; font-size: 22px; transition: transform .2s ease; }
.activity-row:hover .activity-content strong { color: #8babff; }
.activity-row:hover .activity-arrow { transform: translate(3px, -3px); }

.contact-band { padding-block: clamp(70px, 8vw, 120px); color: white; background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 10vw, 170px); }
.contact-band h2 { max-width: 650px; margin: 20px 0 28px; font-size: clamp(38px, 4vw, 62px); line-height: 1.01; letter-spacing: -.04em; font-weight: 520; }
.contact-band p { max-width: 620px; color: #aeb3b8; font-size: 17px; }
.contact-band .eyebrow, .contact-band a { color: #6e98ff; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field-label { display: block; margin-bottom: 9px; color: #9ea4a8; }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #545a5e;
  border-radius: 0;
  outline: none;
  color: white;
  background: transparent;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: #6e98ff; }
.field input[aria-invalid="true"] { border-color: #ff7d7d; }
.attachment-picker { display: inline-flex; padding: 10px 14px; border: 1px solid #697075; color: inherit; font-size: 14px; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.attachment-picker:hover { border-color: #8babff; color: #8babff; }
.attachment-input { position: absolute; width: 1px !important; height: 1px; min-height: 0 !important; padding: 0 !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.field-hint { display: block; margin-top: 7px; color: #858b8f; font-size: 12px; }
.field-hint.is-error { color: #ff9a9a; }
.attachment-previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.attachment-card { position: relative; min-width: 0; border: 1px solid #4f5559; background: #202427; }
.attachment-thumb { display: block; width: 100%; height: 112px; padding: 0; border: 0; overflow: hidden; background: #171a1c; cursor: zoom-in; }
.attachment-thumb img { width: 100%; height: 100%; object-fit: cover; }
.attachment-file-icon { display: grid; height: 112px; place-items: center; color: #8babff; background: #171a1c; font: 12px/1 var(--mono); letter-spacing: .08em; }
.attachment-card-copy { display: grid; gap: 4px; padding: 10px 34px 10px 10px; }
.attachment-card-name { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.attachment-card-meta { color: #858b8f; font-size: 11px; }
.attachment-progress { display: block; height: 3px; overflow: hidden; background: #3a3f42; }
.attachment-progress > span { display: block; height: 100%; background: #8babff; transition: width .15s linear; }
.attachment-progress.is-uploaded > span { background: #71bd92; }
.attachment-progress.is-error > span { width: 100% !important; background: #e26d5f; }
.attachment-remove { position: absolute; right: 7px; bottom: 7px; width: 25px; height: 25px; padding: 0; border: 0; color: #aeb3b8; background: transparent; font-size: 21px; line-height: 1; cursor: pointer; }
.attachment-remove:hover { color: #8babff; }
.attachment-remove:disabled { opacity: .45; cursor: default; }
.attachment-dialog { position: fixed; z-index: 100; inset: 0; display: grid; padding: 24px; place-items: center; background: rgba(10, 12, 13, .9); }
.attachment-dialog[hidden] { display: none; }
.attachment-dialog-panel { width: min(1100px, 100%); }
.attachment-dialog-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 0 0 12px; color: white; }
.attachment-dialog-close { width: 38px; height: 38px; border: 1px solid #646a6e; color: white; background: #202427; font-size: 25px; cursor: pointer; }
.attachment-dialog-stage { position: relative; display: grid; min-height: min(75vh, 760px); place-items: center; background: #111315; }
.attachment-dialog-stage img { max-width: 100%; max-height: 75vh; object-fit: contain; }
.attachment-dialog-nav { position: absolute; z-index: 1; top: 50%; width: 44px; height: 54px; border: 1px solid #646a6e; color: white; background: rgba(22, 25, 27, .8); font-size: 34px; line-height: 1; transform: translateY(-50%); cursor: pointer; }
.attachment-dialog-prev { left: 12px; }
.attachment-dialog-next { right: 12px; }
.attachment-dialog-nav[hidden] { display: none; }
.attachment-dialog-open { overflow: hidden; }
.consent { display: flex; grid-column: 1 / -1; gap: 10px; align-items: flex-start; color: #9ea4a8; font-size: 12px; }
.consent input { margin-top: 3px; accent-color: var(--blue); }
.consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: #8babff; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.captcha-container, .captcha-notice { grid-column: 1 / -1; }
.captcha-container:empty { display: none; }
.captcha-notice { margin: -12px 0 0 !important; color: #aeb3b8; font-size: 11px !important; line-height: 1.5; }
.captcha-notice a { color: inherit; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 2px; }
.captcha-notice a:hover { color: white; }
.light-form .captcha-notice { color: var(--muted); }
.light-form .captcha-notice a:hover { color: var(--ink); }
.form-actions { display: flex; grid-column: 1 / -1; gap: 18px; align-items: center; }
.form-status { min-height: 20px; margin: 0 !important; font-size: 12px !important; }

.site-footer { position: relative; padding-block: 34px; border-top: 1px solid #34383b; color: #babec1; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: end; }
.footer-brand .brand { color: white; }
.footer-brand .brand-mark { width: 94px; filter: brightness(0) invert(1); }
.footer-meta { font: 10px/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px 28px; font: 11px/1 var(--mono); text-transform: uppercase; }
.footer-links a:hover { color: white; }
.deploy-commit { position: absolute; right: 10px; bottom: 9px; color: #676b70; font: 9px/1 var(--mono); letter-spacing: .04em; }

.page-hero { padding-block: clamp(68px, 8vw, 120px); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: .35fr 1fr; gap: clamp(40px, 7vw, 110px); }
.page-hero h1 { max-width: 1000px; font-size: clamp(44px, 5vw, 78px); }
.page-hero p { max-width: 720px; margin: 34px 0 0; color: var(--muted); font-size: clamp(18px, 1.7vw, 26px); }
.page-code { padding-top: 10px; color: var(--blue); }
.legal-layout { max-width: 980px; }
.legal-document { max-width: 900px; }

.listing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.listing-grid .card-image-wrap { aspect-ratio: 3.5; }
.listing-grid .card-body { min-height: 240px; }
.listing-grid .card-body h3 { font-size: clamp(26px, 2.5vw, 42px); }
.listing-grid .card-body p { max-width: 650px; font-size: 16px; }

.service-layout { display: grid; grid-template-columns: .4fr 1fr; gap: clamp(50px, 9vw, 150px); }
.service-layout aside { position: sticky; top: 120px; align-self: start; }
.service-layout aside p { max-width: 320px; color: var(--muted); }
.service-copy { max-width: 820px; }
.service-copy > section { padding-bottom: 42px; margin-bottom: 42px; border-bottom: 1px solid var(--line); }
.service-copy h2, .related-links h2 { margin: 0 0 18px; font-size: clamp(24px, 2.2vw, 36px); }
.service-copy p { color: var(--muted); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; }
.related-links ul { margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.related-links li { border-bottom: 1px solid var(--line); }
.related-links a { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; }
.related-links a:hover { color: var(--blue); }

.dev-list { border-top: 1px solid var(--ink); }
.dev-row { display: grid; grid-template-columns: 120px 1fr 1.5fr 150px; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.dev-row h2 { margin: 0; font-size: clamp(24px, 2.4vw, 38px); line-height: 1; }
.dev-row p { margin: 0; color: var(--muted); }
.dev-row:hover h2 { color: var(--blue); }
.dev-row:hover .arrow-link::after { transform: scaleX(1); }

.detail-hero { padding-block: clamp(50px, 6vw, 94px); }
.breadcrumbs { margin-bottom: clamp(34px, 4vw, 58px); color: var(--muted); font: 11px/1.45 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: flex; gap: 8px; min-width: 0; }
.breadcrumbs li + li::before { content: "→"; color: var(--blue); }
.breadcrumbs a { color: var(--ink); }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs [aria-current="page"] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-topline { display: flex; justify-content: space-between; margin-bottom: 70px; }
.detail-title-grid { display: grid; grid-template-columns: 1fr .48fr; gap: 80px; align-items: end; }
.detail-title-grid h1 { margin: 0; font-size: clamp(44px, 6vw, 88px); line-height: .95; letter-spacing: -.05em; font-weight: 560; }
.detail-lead { margin: 0; color: var(--muted); font-size: clamp(18px, 1.8vw, 27px); }
.detail-image { width: 100%; height: auto; image-rendering: auto; }
.detail-image.is-cropped { aspect-ratio: 12 / 5; object-fit: cover; object-position: 50% 54%; }
.detail-layout { display: grid; grid-template-columns: .36fr 1fr; gap: clamp(50px, 9vw, 150px); }
.fact-list { position: sticky; top: 24px; align-self: start; border-top: 1px solid var(--ink); }
.fact { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fact > .label { display: block; margin-bottom: 5px; color: var(--muted); }
.detail-copy { max-width: 850px; }
.detail-download { margin: 58px 0; padding: 30px; border: 1px solid var(--line); background: var(--white); }
.detail-download .label { color: var(--blue); }
.detail-download h2 { margin: 18px 0 12px; }
.detail-download p { margin: 0 0 24px; color: var(--muted); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 18px 36px; }
.detail-section { padding-bottom: 60px; }
.detail-section h2 { margin: 0 0 20px; font-size: clamp(28px, 3vw, 46px); letter-spacing: -.035em; }
.detail-section p { margin: 0; color: #3f4346; font-size: 18px; line-height: 1.65; }
.detail-narrative p + p { margin-top: 26px; }
.detail-narrative a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.product-body p { margin-bottom: 22px; }
.product-body ul { margin: 0 0 26px; padding-left: 22px; }
.product-body li { padding: 4px 0; }
.detail-gallery { margin: 10px 0 64px; }
.detail-gallery h2 { margin: 0 0 26px; font-size: clamp(28px, 3vw, 46px); letter-spacing: -.035em; }
.detail-gallery figure { margin: 0 0 30px; }
.detail-gallery img { width: 100%; height: auto; border: 1px solid var(--line); background: var(--white); }
.detail-gallery figcaption { margin-top: 9px; color: var(--muted); font: 11px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; }

.article-layout { display: grid; grid-template-columns: 240px minmax(0, 800px); gap: clamp(40px, 8vw, 120px); }
.article-meta { color: var(--muted); }
.article-body h2 { margin: 0 0 20px; padding-top: 55px; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.035em; }
.article-body h2:first-child { padding-top: 0; }
.article-body h3 { margin: 34px 0 14px; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.025em; }
.article-body p, .article-body li { color: #3d4144; font-size: 18px; line-height: 1.72; }
.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul { padding-left: 22px; }
.article-body li { padding: 5px 0; }
.article-body figure { margin: 34px 0; }
.article-body figure img { width: 100%; height: auto; border: 1px solid var(--line); background: var(--white); }
.article-body pre { margin: 26px 0; padding: 22px; overflow-x: auto; color: #edf0f2; background: var(--ink); }
.article-body pre code { font: 13px/1.65 var(--mono); }
.article-downloads { margin-top: 66px; padding-top: 34px; border-top: 1px solid var(--ink); }
.article-downloads > .label { color: var(--blue); }
.article-downloads > h2 { padding-top: 18px; }
.release-download-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.release-download-list.is-single { grid-template-columns: minmax(0, 1fr); }
.release-download { display: flex; min-width: 0; flex-direction: column; padding: 24px; border: 1px solid var(--line); background: var(--white); }
.release-download .label { color: var(--blue); }
.release-download h3 { margin: 24px 0 10px; font-size: 24px; line-height: 1.15; }
.release-download p { margin: 0 0 24px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.release-download .button { align-self: flex-start; }
.release-checksum { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); }
.release-checksum span { display: block; margin-bottom: 7px; font: 10px/1 var(--mono); letter-spacing: .07em; }
.release-checksum code { display: block; overflow-wrap: anywhere; color: var(--ink); font: 10px/1.5 var(--mono); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 130px); }
.big-copy { margin: 0; font-size: clamp(26px, 3vw, 48px); line-height: 1.22; letter-spacing: -.035em; }
.about-copy p { margin: 0 0 25px; color: var(--muted); font-size: 18px; }
.note { padding: 22px; border-left: 2px solid var(--blue); color: var(--muted); background: #ebecea; }

.contact-page-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(60px, 10vw, 170px); }
.contact-page-list { border-top: 1px solid var(--ink); }
.contact-line { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-line a { display: block; margin-top: 9px; font-size: 24px; }
.light-form .field input, .light-form .field textarea { border-color: var(--line-dark); color: var(--ink); }
.light-form .attachment-card { border-color: var(--line-dark); background: white; }
.light-form .attachment-thumb, .light-form .attachment-file-icon { background: #e9e9e6; }
.light-form .attachment-progress { background: #d3d5d4; }
.light-form .field-label { color: var(--muted); }
.light-form .field-hint.is-error { color: #b42318; }
.light-form .consent { color: var(--muted); }
.light-form .form-status { color: var(--muted); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal][data-visible="true"] { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .intro-layout { grid-template-columns: 1fr; }
  .intro-copy { max-width: 900px; }
  .home-intro h1 { max-width: 1000px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formats-grid { grid-template-columns: repeat(2, 1fr); }
  .format:nth-child(2) { border-right: 0; }
  .format:nth-child(n+3) { padding-top: 40px; border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .site-header, .header-inner { min-height: 88px; }
  .brand-mark { width: 118px; }
  .menu-button { display: block; justify-self: end; }
  .main-nav {
    display: none;
    position: fixed;
    inset: 88px 0 0;
    padding: 30px var(--pad) 60px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
  }
  .main-nav[data-open] { display: flex; }
  .main-nav a { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .menu-button[aria-expanded="true"] span { transform: translateY(-4px) rotate(-45deg); }
  .menu-button[aria-expanded="true"]::before { transform: translateY(4px) rotate(45deg); }
  .page-hero-grid, .detail-title-grid, .detail-layout, .contact-grid, .contact-page-grid, .about-grid, .situations-layout, .service-layout { grid-template-columns: 1fr; }
  .service-layout aside { position: static; }
  .detail-title-grid { gap: 35px; }
  .detail-topline { margin-bottom: 45px; }
  .fact-list { position: static; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .dev-row { grid-template-columns: 90px 1fr; }
  .dev-row p, .dev-row .arrow-link { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-row: 2; }
  .footer-links { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; align-items: flex-end; }
}

@media (max-width: 680px) {
  :root { --pad: 18px; --section: 70px; }
  .home-intro { padding-block: 52px 68px; }
  .intro-topline { align-items: flex-start; flex-direction: column; margin-bottom: 52px; }
  .home-intro h1 { font-size: clamp(42px, 13vw, 62px); }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .competence-grid, .project-grid, .formats-grid, .listing-grid, .editorial-grid { grid-template-columns: 1fr; }
  .competence, .competence + .competence, .format, .format + .format { padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .format:nth-child(n) { border-top: 0; }
  .competence-head { margin-bottom: 20px; }
  .competence-copy { min-height: 0; }
  .card-image-wrap, .listing-grid .card-image-wrap { aspect-ratio: 2.7; }
  .editorial-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .editorial-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
  .editorial-cell:last-child { grid-column: auto; border-top: 0; border-bottom: 0; }
  .journal-row { grid-template-columns: 78px 54px 1fr; gap: 8px; }
  .activity-row { grid-template-columns: 82px minmax(0, 1fr) 22px; gap: 10px; padding: 21px 0; }
  .activity-row .tag { grid-column: 2; }
  .activity-content { grid-column: 1 / 3; margin-top: 7px; }
  .activity-arrow { grid-column: 3; grid-row: 2; }
  .activity-content small { font-size: 13px; }
  .contact-form { grid-template-columns: 1fr; }
  .attachment-previews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-wide, .consent, .form-actions { grid-column: auto; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .dev-row { grid-template-columns: 1fr; gap: 14px; }
  .dev-row p, .dev-row .arrow-link { grid-column: auto; }
  .article-layout, .article-body { width: 100%; min-width: 0; }
  .article-body { overflow-wrap: anywhere; }
  .article-body figure { width: 100%; max-width: 100%; margin: 24px 0; overflow: hidden; }
  .article-body pre { width: 100%; max-width: 100%; padding: 17px; }
  .release-download-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta, .footer-links { grid-column: auto; grid-row: auto; }
  .footer-links { align-items: flex-start; margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
