@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  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+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/golos-cyrillic.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/golos-latin.woff2") format("woff2");
  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+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: dark;
  --bg: #141819;
  --surface: #191e1f;
  --text: #f0eee8;
  --secondary: #b4bbb7;
  --muted: #929b97;
  --accent: #bd9a7a;
  --line: #343c3c;
  --line-soft: #282f30;
  --heading: Manrope, Arial, sans-serif;
  --body: "Golos Text", Arial, sans-serif;
  --gutter: clamp(22px, 4.1vw, 72px);
  --width: 1320px;
  --header-height: 78px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a,
button,
summary {
  outline-offset: 6px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
}
p,
h1,
h2,
h3,
figure,
dl,
dd {
  margin: 0;
}
svg {
  display: block;
  max-width: 100%;
}
em {
  font-style: normal;
  color: var(--secondary);
}
[hidden] {
  display: none !important;
}
.container {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--width);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  transform: translateY(-160%);
  padding: 12px 20px;
  background: var(--text);
  color: var(--bg);
  z-index: 100;
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
}
.header-inner {
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
  font: 700 23px/1 var(--heading);
  letter-spacing: -0.045em;
}
.brand svg {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
}
.brand-rule {
  stroke-width: 0.8;
}
.brand-tld {
  color: var(--muted);
  font-weight: 400;
}
.desktop-nav {
  display: flex;
  gap: 36px;
  margin-left: auto;
  margin-right: clamp(20px, 7vw, 110px);
}
.desktop-nav a {
  font-size: 15px;
  color: var(--secondary);
  padding-block: 12px;
  transition: color 0.18s;
}
.desktop-nav a[aria-current="location"],
.header-contact[aria-current="location"],
.mobile-nav a[aria-current="location"] {
  color: var(--accent);
}
.desktop-nav a:active,
.header-contact:active,
.mobile-nav a:active {
  color: var(--accent);
}
.desktop-nav a:hover {
  color: var(--text);
}
.header-contact {
  font-size: 15px;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-block: 10px;
}
.header-contact:hover {
  color: var(--accent);
}
.menu-toggle {
  display: none;
}
.mobile-nav {
  padding-block: 12px 24px;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  color: var(--text);
  font-size: 17px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 65px);
  align-items: center;
  padding-block: 64px 68px;
}
.hero-experience {
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 16px;
}
h1 {
  font: 500 clamp(64px, 6.45vw, 97px) / 1.07 var(--heading);
  letter-spacing: -0.055em;
}
.hero-role {
  font: 500 clamp(25px, 2.4vw, 35px) / 1.35 var(--body);
  margin-top: 16px;
  letter-spacing: -0.025em;
}
.hero-specialization {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  max-width: 530px;
  margin-top: 20px;
}
.hero-description {
  max-width: 530px;
  margin-top: 15px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--secondary);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 29px;
  margin-top: 30px;
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}
.button-primary {
  background: var(--accent);
  color: var(--bg);
}
.button-primary:hover {
  background: #d3b698;
}
.button span[aria-hidden] {
  font-size: 20px;
  line-height: 1;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 7px;
  transition: text-decoration-color 0.18s;
}
.text-link:hover {
  text-decoration-color: var(--accent);
}
.engineering-figure {
  width: 100%;
  max-width: 480px;
  justify-self: end;
}
.engineering-map {
  display: block;
  object-fit: contain;
  width: 100%;
  height: auto;
  overflow: visible;
}
.map-plate {
  fill: var(--bg);
  stroke: #56615e;
  stroke-width: 0.9;
  stroke-linejoin: round;
}
.map-route {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.map-node {
  fill: var(--bg);
  stroke: var(--accent);
  stroke-width: 1.4;
}
.map-hub {
  fill: var(--accent);
}
.engineering-figure figcaption {
  max-width: 340px;
  margin: 16px auto 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.section {
  padding-block: 64px 72px;
  border-top: 1px solid var(--line);
}
h2 {
  font: 500 clamp(32px, 3.3vw, 46px) / 1.2 var(--heading);
  letter-spacing: -0.04em;
}
.section-caption {
  font-size: 16px;
  font-weight: 500;
  color: var(--accent);
}
.about-layout {
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 50px;
  align-items: start;
}
.about-layout > .section-caption {
  padding-top: 7px;
}
.about-content h2 {
  max-width: 650px;
  font-size: clamp(30px, 3vw, 42px);
}
.large-copy {
  max-width: 710px;
  font-size: 18px;
  line-height: 1.75;
  margin-top: 23px;
}
.secondary-copy {
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.8;
}
.about-content > .secondary-copy {
  max-width: 670px;
  margin-top: 14px;
}
.practice {
  position: relative;
}
.anchor-alias {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 45px;
  margin-bottom: 36px;
}
.section-heading > p {
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.7;
  max-width: 340px;
}
.practice-row {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(0, 1.9fr);
  column-gap: 65px;
  padding-block: 29px 28px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.practice-row:last-child {
  border-bottom: 1px solid var(--line);
}
.practice-row h3 {
  font: 500 clamp(23px, 2.1vw, 29px) / 1.35 var(--body);
  letter-spacing: -0.02em;
}
.practice-detail > p {
  font-size: 16px;
  line-height: 1.75;
  max-width: 680px;
  color: var(--secondary);
}
.practice-detail details {
  margin-top: 15px;
  max-width: 680px;
}
.practice-detail summary {
  list-style: none;
  font-size: 15px;
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.practice-detail summary::-webkit-details-marker {
  display: none;
}
.stack-preview {
  color: var(--text);
  line-height: 1.65;
}
.disclosure-action {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
}
.disclosure-action svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  transition: transform 0.2s;
}
.disclosure-open {
  display: none;
}
.practice-detail details[open] .disclosure-open {
  display: inline;
}
.practice-detail details[open] .disclosure-closed {
  display: none;
}
.practice-detail summary:hover,
.practice-detail details[open] summary {
  border-color: var(--line);
}
.practice-detail details[open] .disclosure-action svg {
  transform: rotate(180deg);
}
.technology-list {
  padding: 20px 0 2px;
}
/* Lists stay open and editorial: no badges, boxes or tag backgrounds. */
.technology-group + .technology-group {
  margin-top: 24px;
}
.technology-group h4 {
  margin: 0 0 12px;
  font: 500 15px/1.5 var(--body);
  color: var(--text);
}
.technology-items {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  column-gap: 28px;
  row-gap: 9px;
  padding: 0;
  margin: 0;
}
.technology-items li {
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.65;
  min-width: 0;
  overflow-wrap: anywhere;
}
.technology-wide {
  grid-column: 1 / -1;
}
.technology-note {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.project-section {
  background: var(--surface);
  padding-block: 65px 75px;
  border-block: 1px solid var(--line);
}
.project-section .section-caption {
  margin-bottom: 35px;
}
.project-layout {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(45px, 8vw, 120px);
  align-items: start;
}
.project-copy h2 {
  font-size: clamp(68px, 6.9vw, 98px);
  line-height: 1.03;
  letter-spacing: -0.055em;
}
.project-copy h2 em {
  color: var(--accent);
}
.project-description {
  font-size: 21px;
  line-height: 1.6;
  max-width: 440px;
  margin-top: 26px;
}
.project-copy > .secondary-copy {
  font-size: 16px;
  max-width: 430px;
  margin-top: 17px;
}
.project-button {
  margin-top: 28px;
}
.project-study {
  padding-top: 7px;
}
.project-facts h3,
.project-evolution h3 {
  font: 500 23px/1.4 var(--body);
  letter-spacing: -0.015em;
}
.project-facts dl {
  margin-top: 24px;
}
.project-facts dl > div + div {
  margin-top: 25px;
}
.project-facts dt {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 7px;
}
.project-facts dd {
  font-size: 16px;
  color: var(--secondary);
  line-height: 1.75;
  max-width: 440px;
}
.project-evolution {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.project-evolution h3 {
  font-size: 18px;
}
.evolution-route {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  list-style: none;
  padding: 0;
  margin: 23px 0 0;
}
.evolution-route li {
  padding-left: 17px;
  border-left: 2px solid var(--line);
}
.evolution-route li:last-child {
  border-color: var(--accent);
}
.evolution-route li > span {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.evolution-route p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.6;
}
.project-preview {
  margin-bottom: 28px;
}
.project-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.project-preview figcaption {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 12px;
}
.contact {
  border-top: 0;
  padding-block: 64px 70px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact h2 {
  font-size: clamp(33px, 3.4vw, 48px);
}
.contact-layout > div > .secondary-copy {
  margin-top: 23px;
  font-size: 16px;
}
.contact-link {
  display: grid;
  grid-template-columns: 1fr 25px;
  gap: 7px 12px;
  border-bottom: 1px solid var(--line);
  padding: 23px 0 24px;
  transition: border-color 0.2s;
}
.contact-link:first-child {
  padding-top: 0;
}
.contact-label {
  color: var(--muted);
  grid-column: 1/-1;
  font-size: 14px;
}
.contact-value {
  font: 500 clamp(22px, 2.2vw, 30px) / 1.5 var(--body);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.email-link .contact-value {
  grid-column: 1/-1;
}
.contact-arrow {
  font: 24px/1.5 var(--body);
  color: var(--accent);
  transition: transform 0.2s;
}
.contact-link:hover {
  border-color: var(--accent);
}
.contact-link:hover .contact-arrow {
  transform: translate(2px, -2px);
}
.contact-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 20px;
  max-width: 440px;
  line-height: 1.75;
}
.copy-email {
  border: 0;
  background: none;
  padding: 10px 0;
  margin-top: 9px;
  color: var(--secondary);
  min-height: 44px;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
}
.copy-email:hover {
  color: var(--accent);
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 14px;
}
.footer-name {
  font-size: 15px;
}
.footer-top {
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-top:hover {
  color: var(--accent);
}
.copyright {
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .hero-layout {
    gap: 30px;
    padding-block: 52px 58px;
  }
  .hero-role {
    font-size: 28px;
  }
  .hero-specialization {
    font-size: 17px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-actions {
    gap: 23px;
  }
  .button {
    padding-inline: 18px;
  }
  .engineering-figure figcaption {
    font-size: 14px;
    max-width: 280px;
  }
  .about-layout {
    gap: 35px;
    grid-template-columns: 0.6fr 2fr;
  }
  .practice-row {
    column-gap: 40px;
    grid-template-columns: minmax(210px, 1fr) minmax(0, 1.8fr);
  }
  .section-heading > p {
    max-width: 290px;
    font-size: 15px;
  }
  .project-layout {
    gap: 55px;
  }
  .project-facts h3 {
    font-size: 21px;
  }
  .contact-layout {
    gap: 50px;
  }
}
@media (max-width: 850px) {
  .header-inner {
    height: 82px;
    gap: 25px;
  }
  .desktop-nav {
    gap: 24px;
    margin-right: 10px;
  }
  .desktop-nav a,
  .header-contact {
    font-size: 14px;
  }
  .hero-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 20px;
  }
  h1 {
    font-size: 64px;
  }
  .hero-role {
    font-size: 25px;
  }
  .hero-specialization,
  .hero-description {
    font-size: 16px;
  }
  .hero-actions {
    gap: 20px;
  }
  .button {
    font-size: 14px;
    padding-inline: 16px;
  }
  .text-link {
    font-size: 14px;
  }
  .engineering-figure figcaption {
    max-width: 240px;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-layout > .section-caption {
    padding-top: 0;
  }
  .about-content h2 {
    max-width: 570px;
    font-size: 36px;
  }
  .about-content > .large-copy {
    max-width: 650px;
  }
  .about-content > .secondary-copy {
    max-width: 650px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    max-width: 480px;
    margin-top: 17px;
  }
  .practice-row {
    grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.5fr);
    column-gap: 30px;
  }
  .practice-row h3 {
    font-size: 23px;
  }
  .practice-detail summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding-block: 5px 7px;
  }
  .disclosure-action {
    min-height: 36px;
  }
  .project-layout {
    gap: 35px;
  }
  .project-copy h2 {
    font-size: 64px;
  }
  .project-description {
    font-size: 19px;
  }
  .evolution-route {
    gap: 20px;
  }
  .evolution-route li > span {
    font-size: 21px;
  }
  .contact-layout {
    gap: 35px;
  }
  .contact h2 {
    font-size: 34px;
  }
  .contact-value {
    font-size: 23px;
  }
}
@media (max-width: 650px) {
  :root {
    --gutter: 22px;
    --header-height: 72px;
  }
  .header-inner {
    height: var(--header-height);
    gap: 20px;
  }
  .brand {
    font-size: 21px;
    gap: 10px;
  }
  .brand svg {
    width: 29px;
    height: 29px;
  }
  .desktop-nav {
    display: none;
  }
  .header-contact {
    margin-left: auto;
    font-size: 14px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--line);
    padding: 10px;
  }
  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .menu-icon {
    width: 17px;
    height: 10px;
    border-top: 1px solid var(--text);
    border-bottom: 1px solid var(--text);
    position: relative;
  }
  .menu-toggle[aria-expanded="true"] .menu-icon {
    height: 0;
    border-bottom: 0;
    transform: rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] .menu-icon::after {
    content: "";
    position: absolute;
    inset: -1px 0 0;
    border-top: 1px solid var(--text);
    transform: rotate(90deg);
  }
  html:not(.js) .menu-toggle {
    display: none;
  }
  html:not(.js) .mobile-nav[hidden] {
    display: block !important;
  }
  .js .mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: var(--gutter);
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 37px 43px;
  }
  .hero-experience {
    font-size: 15px;
    margin-bottom: 13px;
  }
  h1 {
    font-size: clamp(56px, 12vw, 74px);
    letter-spacing: -0.05em;
  }
  .hero-role {
    font-size: clamp(24px, 5.5vw, 29px);
    margin-top: 14px;
    max-width: 430px;
    line-height: 1.4;
  }
  .hero-specialization {
    font-size: 17px;
    margin-top: 19px;
    max-width: 420px;
  }
  .hero-description {
    font-size: 16px;
    margin-top: 14px;
    max-width: 440px;
  }
  .hero-actions {
    gap: 25px;
    margin-top: 26px;
  }
  .button {
    min-height: 50px;
    font-size: 14px;
    padding-inline: 18px;
  }
  .text-link {
    font-size: 14px;
  }
  .engineering-figure {
    max-width: 380px;
    justify-self: center;
  }
  .engineering-map {
    max-height: 295px;
  }
  .engineering-figure figcaption {
    max-width: 310px;
    font-size: 14px;
    margin-top: 12px;
  }
  .section {
    padding-block: 43px 49px;
  }
  .section-caption {
    font-size: 15px;
  }
  .about-layout {
    gap: 17px;
  }
  .about-content h2 {
    font-size: clamp(29px, 7vw, 38px);
  }
  .large-copy {
    font-size: 17px;
    line-height: 1.75;
    margin-top: 20px;
  }
  .about-content > .secondary-copy {
    font-size: 16px;
    line-height: 1.75;
    margin-top: 14px;
  }
  h2 {
    font-size: clamp(29px, 7.2vw, 38px);
    letter-spacing: -0.035em;
  }
  .section-heading {
    margin-bottom: 27px;
  }
  .section-heading > p {
    font-size: 16px;
    margin-top: 16px;
    max-width: 400px;
  }
  .practice-row {
    grid-template-columns: 1fr;
    row-gap: 14px;
    padding-block: 24px 25px;
  }
  .practice-row h3 {
    font-size: 25px;
    line-height: 1.3;
  }
  .practice-row h3 br {
    display: none;
  }
  .practice-detail > p {
    font-size: 16px;
    line-height: 1.75;
  }
  .practice-detail details {
    margin-top: 13px;
  }
  .practice-detail summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-block: 0 4px;
  }
  .stack-preview {
    font-size: 15px;
    line-height: 1.75;
  }
  .disclosure-action {
    min-height: 44px;
    font-size: 14px;
    gap: 8px;
  }
  .technology-list {
    padding-top: 18px;
  }
  .project-section {
    padding-block: 43px 48px;
  }
  .project-section .section-caption {
    margin-bottom: 25px;
  }
  .project-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .project-copy h2 {
    font-size: clamp(67px, 17.5vw, 88px);
  }
  .project-description {
    font-size: 20px;
    margin-top: 24px;
    max-width: 380px;
  }
  .project-copy > .secondary-copy {
    font-size: 16px;
    margin-top: 16px;
    max-width: 420px;
  }
  .project-button {
    margin-top: 25px;
    gap: 24px;
  }
  .project-study {
    padding-top: 0;
  }
  .project-facts h3 {
    font-size: 23px;
  }
  .project-facts dl {
    margin-top: 20px;
  }
  .project-facts dl > div + div {
    margin-top: 22px;
  }
  .project-facts dt,
  .project-facts dd {
    font-size: 16px;
  }
  .project-evolution {
    margin-top: 27px;
    padding-top: 23px;
  }
  .evolution-route {
    gap: 20px;
  }
  .evolution-route li > span {
    font-size: 23px;
  }
  .evolution-route p {
    font-size: 14px;
  }
  .contact {
    padding-block: 44px 43px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact h2 {
    font-size: clamp(30px, 7.5vw, 40px);
  }
  .contact-layout > div > .secondary-copy {
    margin-top: 18px;
    font-size: 16px;
  }
  .contact-value {
    font-size: clamp(23px, 6vw, 30px);
  }
  .contact-note {
    font-size: 14px;
  }
  .site-footer {
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-block: 18px 22px;
  }
  .footer-name {
    font-size: 14px;
  }
  .footer-top {
    margin-left: auto;
    font-size: 14px;
  }
  .copyright {
    width: 100%;
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  :root {
    --gutter: 18px;
  }
  .header-inner {
    gap: 14px;
  }
  .brand {
    font-size: 19px;
    gap: 8px;
  }
  .header-contact {
    font-size: 13px;
  }
  .hero-actions {
    gap: 16px;
  }
  .button {
    padding-inline: 14px;
    font-size: 13px;
  }
  .text-link {
    font-size: 13px;
  }
  .hero-role {
    font-size: 24px;
  }
  .evolution-route {
    gap: 15px;
  }
  .evolution-route li {
    padding-left: 12px;
  }
  .evolution-route li > span {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header {
    position: static;
  }
  body {
    background: white;
    color: #111;
    font-size: 11pt;
  }
  header,
  .hero-actions,
  .engineering-figure,
  .copy-email,
  .skip-link,
  .footer-top {
    display: none !important;
  }
  .container {
    width: 100%;
    max-width: none;
  }
  .section,
  .project-section {
    padding-block: 22px;
    background: none;
    border-color: #aaa;
  }
  .hero-layout {
    display: block;
    padding-block: 20px;
  }
  h1 {
    font-size: 42pt;
  }
  .hero-description {
    max-width: none;
  }
  .hero-experience,
  .hero-specialization,
  .hero-description,
  .secondary-copy,
  .practice-detail > p,
  .stack-preview,
  .technology-items li,
  .technology-group h4,
  .project-facts dd,
  .contact-label,
  .contact-note,
  .copyright {
    color: #333;
  }
  .project-layout {
    gap: 25px;
  }
  .project-copy h2 {
    font-size: 42pt;
  }
  .practice-row {
    break-inside: avoid;
  }
  .project-button {
    background: none;
    border-color: #777;
    color: #111;
  }
  .site-footer {
    padding-block: 15px;
  }
}

.copy-status {
  display: block;
  min-height: 1.7em;
  max-width: 440px;
  margin-top: 7px;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.7;
}
.copy-email:disabled {
  cursor: wait;
  opacity: 0.7;
}

#practice .practice-row:last-child {
  border-bottom: none;
}

@media (max-width: 720px) {
  .practice-row h3 {
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: -0.01em;
  }

  .practice-row h3 br {
    display: block;
  }
}


/* bornik-motion v1 — ненавязчивые движения без дополнительных библиотек. */
.back-to-top {
  position: fixed;
  right: clamp(16px, 3.5vw, 42px);
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 18;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #5e6460;
  background: #202625;
  color: var(--text);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  border-radius: 2px;
  transition: background-color .2s, border-color .2s;
}
.back-to-top:hover,
.back-to-top:focus-visible {
  background: #303634;
  border-color: var(--accent);
}
.back-to-top svg { pointer-events: none; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .button-primary,
  .project-button {
    transition: background-color .2s, transform .24s ease, box-shadow .24s ease;
  }
  .button-primary:hover,
  .project-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .13);
  }
  .practice-row h3 { transition: color .22s ease; }
  .practice-row:hover h3 { color: #dec2a8; }
  .engineering-map { transition: transform .42s cubic-bezier(.2,.7,.2,1); }
  .engineering-figure:hover .engineering-map { transform: translateY(-3px); }
  .back-to-top:hover svg { transform: translateY(-2px); transition: transform .2s; }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes bornik-intro {
    from { opacity: 0; transform: translate3d(0, 14px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
  }
  @keyframes bornik-mobile-menu {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes bornik-back-top {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .motion-on .hero-experience { animation: bornik-intro .55s .02s both cubic-bezier(.2,.65,.2,1); }
  .motion-on #hero-title { animation: bornik-intro .6s .10s both cubic-bezier(.2,.65,.2,1); }
  .motion-on .hero-role { animation: bornik-intro .58s .17s both cubic-bezier(.2,.65,.2,1); }
  .motion-on .hero-specialization { animation: bornik-intro .58s .22s both cubic-bezier(.2,.65,.2,1); }
  .motion-on .hero-description { animation: bornik-intro .58s .29s both cubic-bezier(.2,.65,.2,1); }
  .motion-on .hero-actions { animation: bornik-intro .58s .35s both cubic-bezier(.2,.65,.2,1); }
  .motion-on .engineering-figure { animation: bornik-intro .75s .22s both cubic-bezier(.2,.65,.2,1); }
  .motion-on .reveal-target {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity .64s ease, transform .64s cubic-bezier(.2,.65,.2,1);
  }
  .motion-on .reveal-target.reveal-pending {
    opacity: 0;
    transform: translate3d(0, 15px, 0);
  }
  .motion-on .mobile-nav:not([hidden]) {
    animation: bornik-mobile-menu .2s ease both;
  }
  .motion-on .back-to-top:not([hidden]) {
    animation: bornik-back-top .23s ease both;
  }
  .desktop-nav a { position: relative; }
  .desktop-nav a::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
  }
  .desktop-nav a:hover::after,
  .desktop-nav a[aria-current="location"]::after,
  .desktop-nav a:focus-visible::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .engineering-map,
  .button-primary,
  .project-button,
  .back-to-top svg { transition: none; }
}

@media print {
  .motion-on .reveal-target.reveal-pending {
    opacity: 1 !important;
    transform: none !important;
  }
  .back-to-top { display: none !important; }
}

/* Stable practice visibility: prevent content disappearing while scrolling.
   Section headings and other regions retain their gentle reveal effects. */
.motion-on #practice .practice-row,
.motion-on #practice .practice-row.reveal-pending {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* bornik.ru visibility/scroll reliability fix — 2026-11-25.
   Content must NEVER depend on scroll observers to remain visible. */
html { overflow-y: auto; }
body { overflow-y: visible; }
main, #practice, #practice .practice-list, #projects, #contact {
  height: auto;
  max-height: none;
  overflow: visible;
}
.motion-on .reveal-target,
.motion-on .reveal-target.reveal-pending,
#practice .practice-row,
#projects, #contact,
#projects .project-copy,
#projects .project-facts,
#projects .project-evolution,
#contact .contact-layout {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
