:root {
  --paper: #ffffff;
  --paper-light: #ffffff;
  --ink: #0b0d10;
  --graphite: #07090b;
  --panel: #0e1115;
  --muted: #687078;
  --white: #ffffff;
  --line-dark: rgba(11, 13, 16, 0.18);
  --line-light: rgba(255, 255, 255, 0.18);
  --page: min(1380px, calc(100% - 96px));
  --display: "Arial Narrow", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

body {
  background: var(--ink);
  color: var(--ink);
}
.mobile-only { display: none; }

button,
input {
  font-family: var(--sans);
}

.site-header {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(7,9,11,.94), rgba(7,9,11,.72) 72%, transparent);
}

.site-header.scrolled {
  border-color: rgba(255,255,255,.14);
  background: rgba(7,9,11,.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 80px;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
}

.wordmark img { width: 205px; }
.main-nav { color: rgba(255,255,255,.72); font-size: 13px; gap: 34px; }
.main-nav a::after { bottom: -11px; background: var(--green); }
.lab-nav::before { background: var(--purple); box-shadow: none; }
.command-trigger { display: none; }
.header-contact {
  min-height: 48px;
  padding: 0 23px;
  gap: 34px;
  border-color: rgba(255,255,255,.52);
  background: transparent;
  color: #fff;
  font-size: 12px;
}
.header-contact:hover { border-color: #fff; background: #fff; color: var(--ink); }

.scroll-axis { right: 20px; top: 98px; bottom: 24px; }
.scroll-axis-line { background: rgba(255,255,255,.16); mix-blend-mode: difference; }
.scroll-axis-label { color: rgba(255,255,255,.65); mix-blend-mode: difference; }

.button {
  min-height: 58px;
  padding: 0 28px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: -.01em;
}
.button-dark { border-color: var(--green); background: transparent; color: #fff; }
.button-dark:hover { border-color: var(--green); background: var(--green); color: var(--ink); }
.button-light { border-color: var(--ink); background: transparent; }
.button-light:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.button-gradient { border: 1px solid var(--purple); background: transparent; }
.button-gradient:hover { border-color: #fff; background: #fff; color: var(--ink); box-shadow: none; }
.text-link { padding-bottom: 7px; border-bottom: 2px solid var(--blue); color: #fff; font-size: 13px; }
.text-link span { margin-left: 24px; color: var(--blue); }

.eyebrow { color: #697078; font-size: 9px; }
.eyebrow i { width: 22px; height: 2px; background: var(--green); }
.eyebrow-light { color: rgba(255,255,255,.6); }

/* Hero */
.hero {
  min-height: 760px;
  height: calc(100svh - 108px);
  background: radial-gradient(circle at 42% 48%, #11151a 0, #0b0d10 40%, #07090b 78%);
  color: #fff;
}

.hero-grid {
  z-index: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, #000, #000 52%, transparent 72%);
}

.portrait-stage {
  z-index: 1;
  inset: 0 0 0 60%;
  clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
  background: #fff;
  border-left: 1px solid rgba(255,255,255,.85);
}

.portrait-stage::before {
  content: "";
  position: absolute;
  z-index: 6;
  inset: 0 auto 0 17%;
  width: 1px;
  background: rgba(11,13,16,.5);
  transform: skewX(-9.5deg);
  transform-origin: top;
  pointer-events: none;
}

.portrait-stage > img,
.portrait-engineer > img {
  object-position: 49% 10%;
}

/* The exact face alignment matrix is calculated in site-v2.js for each viewport. */
.portrait-engineer > img {
  transform-origin: 0 0;
  will-change: transform;
}

.portrait-tint,
.xray-grid { display: none; }
.portrait-engineer { filter: saturate(.84) contrast(1.06); }
.portrait-engineer p { background: rgba(7,9,11,.82); color: #fff; }
.portrait-coordinates { top: 132px; right: 5.5vw; color: #111; }
.portrait-badge { display: none; }
.xray-hint { display: none; }

.hero-copy {
  z-index: 4;
  top: 49%;
  left: max(48px, calc((100% - min(1380px, calc(100% - 96px))) / 2));
  width: min(760px, 57vw);
  padding: 0;
  transform: translateY(-47%);
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(56px, 5.9vw, 94px);
  font-weight: 820;
  line-height: .93;
  letter-spacing: -.065em;
}

.hero h1 em {
  color: transparent;
  font-style: normal;
  font-weight: 680;
  -webkit-text-stroke: 1.25px rgba(255,255,255,.88);
}

.hero-lead {
  max-width: 690px;
  margin-top: 36px;
  padding-left: 25px;
  border-left: 2px solid var(--green);
  color: rgba(255,255,255,.76);
  font-size: 17px;
  line-height: 1.62;
}

.hero-actions { margin-top: 34px; gap: 42px; }

.hero-signal {
  position: absolute;
  z-index: 5;
  left: 0;
  bottom: 0;
  width: 60%;
  height: 155px;
  padding-left: max(48px, calc((100vw - min(1380px, calc(100vw - 96px))) / 2));
  border-top: 1px solid rgba(255,255,255,.16);
  background: rgba(7,9,11,.72);
}

.hero-signal svg { position: absolute; left: 0; bottom: 0; width: 78%; height: 125px; overflow: visible; }
.hero-signal path { fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.hero-signal .signal-grid { stroke: rgba(255,255,255,.2); stroke-dasharray: 2 7; }
.hero-signal .signal-green { stroke: var(--green); }
.hero-signal .signal-blue { stroke: var(--blue); }
.hero-signal .signal-purple { stroke: var(--purple); }
.hero-signal .signal-red { stroke: var(--red); }
.hero-signal circle { fill: var(--green); }
.hero-signal rect { fill: var(--ink); stroke: var(--purple); stroke-width: 2; }
.hero-signal a {
  position: absolute;
  right: 34px;
  top: 28px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 7px 30px;
  align-items: center;
  color: #fff;
}
.hero-signal a span { color: var(--green); font: 8px/1 var(--mono); }
.hero-signal a strong { grid-column: 1; font-size: 24px; }
.hero-signal a i { grid-column: 2; grid-row: 1 / span 2; font-size: 24px; font-style: normal; }

/* About */
.about {
  min-height: 900px;
  grid-template-columns: minmax(0, 60%) minmax(0, 40%);
  grid-template-areas: "copy photo";
  background: #fff;
}
.about::after {
  content: "01 / ПОДХОД   —   СИСТЕМНЫЙ ВЗГЛЯД НА ИНЖЕНЕРНУЮ ИНФРАСТРУКТУРУ";
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: 0;
  height: 108px;
  padding-left: max(48px, calc((100vw - min(1380px, calc(100vw - 96px))) / 2));
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.14);
  background: var(--graphite);
  color: rgba(255,255,255,.62);
  font: 8px/1 var(--mono);
  letter-spacing: .13em;
}
.about::after { content: none; display: none; }
.about-bridge {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  min-height: 108px;
  display: grid;
  grid-template-columns: minmax(200px, .46fr) minmax(360px, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: 0 max(6vw, 40px);
  color: var(--paper);
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(255,255,255,.08) 24% calc(24% + 1px), transparent calc(24% + 1px)),
    var(--ink);
}
.about-bridge strong {
  font: 800 clamp(24px, 2.5vw, 38px)/1 var(--display);
  letter-spacing: -.04em;
}
.about-bridge p {
  max-width: 620px;
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 14px;
  line-height: 1.5;
}
.about-bridge span {
  color: var(--green);
  font: 700 12px/1 var(--mono);
  letter-spacing: .16em;
}
.about-photo { grid-area: photo; min-height: 900px; border-left: 1px solid var(--line-dark); }
.about-photo img { object-position: 50% 32%; }
.about-photo::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 -1px;
  width: 18%;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.about-photo p { display: none; }
.about-photo-cut { background: none; }
.about-copy {
  grid-area: copy;
  padding: 132px 6vw 110px max(48px, calc((100vw - min(1380px, calc(100vw - 96px))) / 2));
}
.about h2,
.system h2,
.expertise h2,
.company h2,
.journal h2,
.lab h2,
.contact h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.055em;
}
.about h2 { max-width: 820px; margin: 28px 0 0; font-size: clamp(52px, 5.2vw, 84px); line-height: .98; }
.about-intro { max-width: 600px; margin-top: 34px; padding-left: 24px; border-left: 2px solid var(--green); font-size: 17px; line-height: 1.65; }
.about blockquote { display: none; }
.principles { max-width: 700px; margin-top: 44px; display: block; border-top: 1px solid var(--line-dark); }
.principles article {
  min-height: 90px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 52px minmax(190px, .7fr) 1fr;
  gap: 20px;
  align-items: baseline;
  border-bottom: 1px solid var(--line-dark);
  transition: padding-left .35s var(--ease-out), border-color .35s;
}
.principles article:hover { padding-left: 16px; border-color: var(--green); }
.principles span { color: var(--green); font-size: 10px; }
.principles h3 { margin: 0; font-size: 17px; }
.principles p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* System */
.system { min-height: 790px; padding: 112px 0 120px; background: var(--graphite); color: #fff; }
.system-grid {
  opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  mask-image: linear-gradient(#000, transparent 90%);
}
.system-head { width: var(--page); margin-inline: auto; display: grid; grid-template-columns: 1.15fr .55fr; align-items: end; gap: 80px; }
.system-head .eyebrow { grid-column: 1 / -1; }
.system h2 { margin: 24px 0 0; font-size: clamp(48px, 4.8vw, 76px); line-height: .98; }
.system-head > p:last-child { margin: 0 0 8px; color: rgba(255,255,255,.58); font-size: 15px; line-height: 1.65; }
.system-map {
  position: relative;
  width: var(--page);
  height: auto;
  min-height: 300px;
  margin: 82px auto 0;
  padding-top: 36px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}
.system-map::before { content: ""; position: absolute; left: 0; right: 0; top: 47px; height: 1px; background: linear-gradient(90deg, var(--green), var(--blue) 32%, var(--purple) 62%, var(--red) 83%, rgba(255,255,255,.5)); }
.system-path { display: none; }
.system-node {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  min-height: 230px;
  padding: 42px 34px 20px 0;
  border: 0;
  border-right: 1px dashed rgba(255,255,255,.14);
  background: transparent;
  box-shadow: none;
  opacity: .34;
  transform: translateY(12px);
  transition: opacity .5s, transform .5s var(--ease-out);
}
.system-node:last-child { border-right: 0; padding-right: 0; }
.system-node::before { content: ""; position: absolute; left: 0; top: 5px; width: 11px; height: 11px; border: 2px solid currentColor; background: var(--graphite); }
.system-node.active { opacity: 1; transform: none; }
.system-node.active { box-shadow: none; }
.system-node span { color: currentColor; font: 11px/1 var(--mono); }
.system-node b { margin-top: 30px; display: block; color: #fff; font-size: 21px; }
.system-node p { max-width: 190px; margin-top: 12px; color: rgba(255,255,255,.52); font-size: 13px; line-height: 1.55; }
.node-white { color: #fff; }

/* Expertise */
.expertise { min-height: 960px; padding: 118px 0 0; background: #080a0d; color: #fff; }
.expertise-head { width: var(--page); margin-inline: auto; align-items: end; }
.expertise h2 { margin: 26px 0 0; font-size: clamp(52px, 5vw, 80px); line-height: .96; }
.expertise-head > p { color: rgba(255,255,255,.56); font-size: 15px; line-height: 1.65; }
.expertise-layout { width: var(--page); min-height: 610px; margin: 70px auto 0; grid-template-columns: 44% 56%; border-top: 1px solid var(--line-light); }
.expertise-tabs { padding: 0 58px 0 0; display: flex; flex-direction: column; background: transparent; }
.expertise-tab {
  min-height: 172px;
  padding: 25px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: transparent;
  color: rgba(255,255,255,.48);
  text-align: left;
  transition: color .25s, padding-left .35s var(--ease-out);
}
.expertise-tab::before { left: 0; right: auto; top: 63px; width: min(310px, 62%); height: 1px; background: currentColor; opacity: .72; }
.expertise-tab::after { content: ""; position: absolute; left: min(310px, 62%); top: 58px; width: 9px; height: 9px; border: 2px solid currentColor; background: #080a0d; }
.expertise-tab:hover,
.expertise-tab.active { padding-left: 13px; color: #fff; }
.expertise-tab.active { border-color: rgba(255,255,255,.16); background: transparent; }
.expertise-tab span { color: currentColor; font-size: 9px; }
.expertise-tab strong { margin-top: 30px; font-size: clamp(22px, 2vw, 31px); line-height: 1.02; }
.expertise-tab small {
  position: static;
  left: auto;
  bottom: auto;
  display: block;
  margin-top: 11px;
  color: rgba(255,255,255,.48);
  font-size: 11px;
}
.expertise-visual { min-height: 610px; clip-path: polygon(16% 0,100% 0,100% 100%,0 100%); border: 1px solid rgba(255,255,255,.45); }
.expertise-visual img { filter: saturate(.88) contrast(1.06); object-position: center 22%; }
.expertise-tint { display: none; }
.expertise-caption { right: 0; bottom: 0; max-width: 510px; padding: 23px 28px; border: 0; border-left: 2px solid var(--green); background: rgba(7,9,11,.9); }

/* Business */
.company { padding: 118px 0 112px; background: #fff; }
.company-head { width: var(--page); margin-inline: auto; display: grid; grid-template-columns: 1.15fr .7fr; gap: 70px; align-items: end; }
.company-head .eyebrow { grid-column: 1 / -1; }
.company h2 { margin: 25px 0 0; font-size: clamp(56px, 5.5vw, 88px); line-height: .9; }
.company-head > p:last-child { margin-bottom: 4px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.company-card { width: var(--page); height: 610px; margin: 78px auto 0; overflow: hidden; border: 1px solid var(--line-dark); background: #fff; }
.company-card::after { content: ""; position: absolute; z-index: 2; inset: 0 auto 0 47%; width: 16%; background: #fff; clip-path: polygon(0 0, 100% 0, 0 100%); }
.company-card > img { width: 58%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(.9) contrast(1.04); }
.company-shade { display: none; }
.company-card-copy { left: 59%; right: 6%; top: 50%; bottom: auto; z-index: 3; max-width: 510px; transform: translateY(-50%); color: var(--ink); }
.company-card-copy > span { color: var(--red); }
.company-card-copy h3 { margin-top: 25px; font-family: var(--display); font-size: clamp(48px, 4.2vw, 72px); line-height: .93; letter-spacing: -.055em; }
.company-card-copy p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.company-card-copy .button { margin-top: 27px; }
.process { width: var(--page); margin: 72px auto 0; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 0; }
.process article { min-height: 170px; padding: 24px 36px 0 0; border-right: 1px dashed var(--line-dark); }
.process article:last-child { border-right: 0; }
.process span { font-size: 11px; }
.process b { margin-top: 30px; font-size: 18px; }
.process p { color: var(--muted); }

/* Blog */
.journal { padding: 112px 0; background: #fff; }
.journal-grid { opacity: .22; }
.journal-head,
.journal-feed { width: var(--page); margin-inline: auto; }
.journal h2 { margin-top: 25px; font-size: clamp(58px, 6vw, 96px); line-height: .9; }
.journal-intro { border-left: 1px dashed var(--line-dark); }
.journal-intro > span { color: var(--red); }
.journal-feed { margin-top: 72px; grid-template-columns: minmax(0, 1.7fr) minmax(300px, .65fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.journal-empty,
.journal-post-card,
.telegram-card { min-height: 250px; border: 0; border-right: 1px dashed var(--line-dark); background: transparent; }
.telegram-card { border-right: 0; }
.journal-empty::before { width: 2px; background: var(--red); }
.journal .button-dark { border-color: var(--green); color: var(--ink); }
.journal .button-dark:hover { background: var(--green); }
.journal-empty { color: var(--ink); }
.journal-empty h3 { color: var(--ink); }
.telegram-card { color: var(--ink); }
.telegram-mark { color: var(--blue); }
.telegram-card small { color: var(--muted); }
.telegram-card strong { color: var(--ink); }
.telegram-card b { color: var(--muted); }

/* Lab */
.lab { min-height: 820px; padding: 0; grid-template-columns: 58% 42%; background: var(--graphite); }
.lab-copy { order: 1; z-index: 3; padding: 130px 6vw 110px max(48px, calc((100vw - min(1380px, calc(100vw - 96px))) / 2)); }
.lab-photo { order: 2; min-height: 820px; clip-path: polygon(18% 0,100% 0,100% 100%,0 100%); background: #fff; }
.lab-photo img { object-position: center 24%; filter: none; }
.lab-photo-shade { display: none; }
.lab-grid { opacity: .35; background-size: 72px 72px; mask-image: linear-gradient(90deg,#000,transparent 70%); }
.lab h2 { margin-top: 29px; font-size: clamp(56px, 5.6vw, 88px); line-height: .92; }
.lab h2::after { content: ""; display: inline-block; width: .13em; height: .13em; margin-left: .08em; background: var(--purple); }
.lab-copy > p:not(.eyebrow) { max-width: 620px; color: rgba(255,255,255,.58); font-size: 16px; line-height: 1.66; }
.lab-status { max-width: 630px; margin-top: 38px; padding-bottom: 20px; border-bottom: 2px solid; border-image: linear-gradient(90deg,var(--green),var(--blue),var(--purple),var(--red)) 1; }
.lab-status span { color: var(--green); }
.lab-copy .button { margin-top: 34px; }

/* Contact + footer */
.contact { min-height: 560px; padding: 110px max(48px, calc((100vw - min(1380px, calc(100vw - 96px))) / 2)); align-items: stretch; background: #fff; text-align: left; }
.contact-grid { opacity: .22; }
.contact .eyebrow { width: var(--page); margin-inline: auto; }
.contact h2 { width: var(--page); margin: 42px auto 0; font-size: clamp(54px, 5.6vw, 90px); line-height: .92; }
.contact > p:not(.eyebrow) { width: var(--page); margin: 27px auto 0; color: var(--muted); }
.contact-line { width: var(--page); margin: 52px auto 0; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.contact-line > a { width: max-content; padding: 0 0 9px; border: 0; border-bottom: 1px solid var(--line-dark); font-size: clamp(38px, 4.6vw, 74px); font-weight: 750; letter-spacing: -.045em; }
.contact-line > button { margin-bottom: 12px; padding: 0 0 7px; border: 0; border-bottom: 2px solid var(--red); background: transparent; font-size: 12px; font-weight: 700; }
.site-footer { min-height: 145px; padding-inline: max(48px, calc((100vw - min(1380px, calc(100vw - 96px))) / 2)); border-color: rgba(255,255,255,.14); background: var(--graphite); color: #fff; }
.site-footer img { filter: none; }
.site-footer p { color: rgba(255,255,255,.58); }
.site-footer div { color: rgba(255,255,255,.62); }

/* Command surface */
.command { border-color: rgba(255,255,255,.2); background: #0c0f13; color: #fff; }
.command-search { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.04); }
.command-search input { color: #fff; }
.command-item { border-color: rgba(255,255,255,.12); color: #fff; }
.command-item:hover,
.command-item:focus-visible { background: #fff; color: var(--ink); }

@media (max-width: 1160px) {
  :root { --page: calc(100% - 56px); }
  .header-inner { grid-template-columns: 180px 1fr auto; gap: 20px; }
  .wordmark img { width: 168px; }
  .main-nav { gap: 20px; font-size: 11px; }
  .hero-copy { left: 5vw; width: 60vw; }
  .hero h1 { font-size: clamp(54px, 6.2vw, 78px); }
  .portrait-stage { inset: 0 0 0 56%; }
  .hero-signal { width: 58%; padding-left: 5vw; }
  .about-copy,
  .lab-copy { padding-left: 5vw; }
  .contact,
  .site-footer { padding-inline: 28px; }
}

@media (max-width: 900px) {
  :root { --page: calc(100% - 44px); }
  .scroll-axis { display: none; }
  .header-inner { min-height: 72px; display: flex; justify-content: space-between; }
  .wordmark img { width: 150px; }
  .main-nav,
  .header-contact { display: none; }
  .menu-toggle { display: block; width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.45); color: #fff; }
  .mobile-menu { color: var(--ink); }

  .hero { min-height: 720px; height: 100svh; }
  .portrait-stage { inset: 0 -10% 0 44%; clip-path: polygon(23% 0,100% 0,100% 100%,0 100%); opacity: .96; }
  .portrait-stage > img,
  .portrait-engineer > img { object-position: 52% 10%; }
  .portrait-coordinates,
  .xray-hint { display: none; }
  .hero-copy { top: 48%; left: 22px; width: calc(100% - 44px); transform: translateY(-38%); }
  .hero h1 { width: 100%; font-size: clamp(46px, 12vw, 66px); line-height: .93; text-shadow: 0 2px 22px rgba(0,0,0,.45); }
  .hero-lead { max-width: 82%; margin-top: 25px; padding-left: 17px; font-size: 14px; }
  .hero-actions { margin-top: 25px; gap: 25px; }
  .button { min-height: 54px; padding-inline: 20px; }
  .hero-signal { width: 100%; height: 100px; padding-left: 22px; }
  .hero-signal svg { width: 76%; height: 92px; }
  .hero-signal a { right: 22px; top: 20px; }

  .about { display: flex; flex-direction: column; }
  .about-copy { order: 1; padding: 158px 22px 70px; }
  .about-photo { order: 2; min-height: 620px; }
  .about h2 { font-size: clamp(45px, 10vw, 66px); }
  .principles article { grid-template-columns: 42px 1fr; }
  .principles p { grid-column: 2; }

  .system { padding: 90px 0; }
  .system-head { display: block; }
  .system-head > p:last-child { margin-top: 24px; }
  .system-map { margin-top: 52px; padding: 0; display: block; }
  .system-map::before { left: 5px; top: 0; bottom: 0; right: auto; width: 1px; height: auto; background: linear-gradient(var(--green),var(--blue),var(--purple),var(--red),#fff); }
  .system-node { min-height: 150px; padding: 0 0 34px 45px; border-right: 0; }
  .system-node::before { left: 0; top: 1px; }
  .system-node b { margin-top: 17px; }

  .expertise { padding-top: 90px; }
  .expertise-head { display: block; }
  .expertise-head > p { margin-top: 24px; }
  .expertise-layout { display: block; margin-top: 46px; }
  .expertise-tabs { padding-right: 0; }
  .expertise-tab,
  .expertise-tab:last-child { width: 100%; min-height: 180px; }
  .expertise-visual { min-height: 650px; clip-path: polygon(12% 0,100% 0,100% 100%,0 100%); }

  .company { padding: 90px 0; }
  .company-head { display: block; }
  .company-head > p:last-child { margin-top: 24px; }
  .company-card { height: 820px; }
  .company-card > img { width: 100%; height: 54%; }
  .company-card::after { display: none; }
  .company-card-copy { left: 28px; right: 28px; top: 61%; transform: none; }
  .company-card-copy h3 { font-size: clamp(46px, 9vw, 68px); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process article { border-bottom: 1px solid var(--line-dark); }

  .journal { padding: 90px 0; }
  .journal-head { display: block; }
  .journal-intro { margin-top: 36px; padding-left: 22px; }
  .journal-feed { grid-template-columns: 1fr; }
  .journal-empty,
  .journal-post-card,
  .telegram-card { border-right: 0; border-bottom: 1px dashed var(--line-dark); }

  .lab { display: flex; flex-direction: column; }
  .lab-copy { order: 1; padding: 90px 22px 70px; }
  .lab-photo { order: 2; min-height: 620px; }

  .contact { padding: 90px 22px; }
  .contact-line { grid-template-columns: 1fr; }
  .contact-line > a { font-size: clamp(28px, 7vw, 48px); }
  .site-footer { padding: 34px 22px; grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 560px) {
  :root { --page: calc(100% - 36px); }
  .header-inner { width: calc(100% - 36px); }
  .hero { min-height: 780px; }
  .portrait-stage { inset: 0 -28% 0 39%; opacity: .88; }
  .portrait-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,9,11,.95), transparent 52%); pointer-events: none; }
  .hero-copy { top: 43%; left: 18px; width: calc(100% - 36px); transform: translateY(-28%); }
  .portrait-stage { height: auto; }
  .hero h1 { font-size: clamp(38px, 10.2vw, 42px); }
  .hero h1 em { display: block; max-width: 260px; }
  .mobile-only { display: initial; }
  .hero-lead { max-width: 95%; font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: min(270px, 100%); }
  .hero-signal a strong { font-size: 18px; }
  .hero-signal a i { display: none; }
  .about-copy,
  .lab-copy { padding-inline: 18px; }
  .about::after { content: none; display: none; }
  .about-bridge {
    min-height: 128px;
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 0 18px;
  }
  .about-bridge p { display: none; }
  .about h2,
  .system h2,
  .expertise h2,
  .company h2,
  .journal h2,
  .lab h2,
  .contact h2 { font-size: clamp(42px, 12vw, 58px); }
  .principles article { grid-template-columns: 34px 1fr; gap: 12px; }
  .about-photo,
  .lab-photo { min-height: 510px; }
  .expertise-tab strong { font-size: 23px; }
  .expertise-visual { min-height: 510px; }
  .company-card { height: 760px; }
  .company-card-copy { left: 20px; right: 20px; }
  .process { grid-template-columns: 1fr; }
  .process article { min-height: 135px; border-right: 0; }
  .journal-actions { flex-direction: column; align-items: flex-start; }
  .contact { padding-inline: 18px; }
  .contact-line > a { font-size: clamp(25px, 7.3vw, 38px); }
}

@media (prefers-reduced-motion: reduce) {
  .principles article,
  .expertise-tab,
  .system-node { transition: none; }
}
