/* Шрифты */
@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Цвета и размеры */
:root {
  --ink: #141611;
  --paper: #f1f0e9;
  --lime: #dbff73;
  --muted: #b4b7ab;
  --line: #3c4034;
  --gutter: clamp(22px, 4.2vw, 84px);
  --font: Manrope, Arial, sans-serif;
  --chapter-progress: 0;
}

/* Базовые стили */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
  cursor: pointer;
}

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

button:focus-visible,
a:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

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

[hidden] {
  display: none !important;
}

/* Доступность */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 15px;
  top: -100px;
  z-index: 100;
  color: var(--ink);
  background: var(--lime);
  padding: 15px;
}

.skip-link:focus {
  top: 15px;
}

/* Подписи */
.tiny-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 600;
  line-height: 1.5;
}

/* Шапка и меню */
.site-header {
  height: 108px;
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1;
  white-space: nowrap;
}

.logo-o {
  width: 18px;
  height: 19px;
  border: 5px solid currentColor;
  border-radius: 50%;
  margin: 5px 1px 0 2px;
  transform: rotate(-24deg) scaleX(1.1);
}

.wordmark sup {
  font-size: 14px;
  align-self: start;
  letter-spacing: 0;
  margin: 0 0 0 5px;
}

.header-descriptor {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin-left: 5%;
  color: var(--muted);
}

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 33px;
}

.main-nav a {
  font-size: 12px;
  padding: 12px 0;
}

.main-nav a span {
  font-size: 9px;
  color: #9ba08f;
  margin-right: 9px;
}

.main-nav a:hover {
  color: var(--lime);
}

.header-contact {
  margin-left: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 13px 0;
  border-bottom: 1px solid var(--lime);
  color: var(--lime);
  font-size: 14px;
  font-weight: 650;
}

.header-contact > span {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s;
}

.header-contact:hover > span {
  transform: rotate(90deg);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

/* Первый экран */
.hero {
  padding: 34px var(--gutter) 36px;
  overflow: hidden;
}

.hero-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  font-size: 10px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hero-edition {
  text-align: right;
}

.hero-composition {
  position: relative;
  height: clamp(450px, 47vw, 820px);
  margin-top: 37px;
  isolation: isolate;
}

h1,
.hero-outline {
  position: absolute;
  top: 0;
  left: -0.013em;
  margin: 0;
  font-size: clamp(130px, 21.5vw, 405px);
  font-weight: 750;
  line-height: 0.81;
  letter-spacing: -0.075em;
}

h1 {
  z-index: 1;
}

h1 > span,
.hero-outline > span {
  display: block;
}

.first-line {
  margin-top: 0.065em;
  color: var(--lime);
}

.title-dot {
  letter-spacing: -0.15em;
}

.hero-outline {
  z-index: 4;
  pointer-events: none;
  color: transparent;
  -webkit-text-stroke: 1px rgb(241 240 233 / 54%);
}

.hero-outline .first-line {
  color: transparent;
  -webkit-text-stroke-color: rgb(219 255 115 / 70%);
}

.sculpture {
  position: absolute;
  z-index: 3;
  width: 48vw;
  max-width: 920px;
  top: -11%;
  right: -2.5vw;
  will-change: transform;
  perspective: 1000px;
}

.sculpture-float {
  animation: sculpture-turn 13s ease-in-out infinite;
}

.sculpture img {
  width: 100%;
  filter: drop-shadow(0 34px 26px rgb(0 0 0 / 25%));
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes sculpture-turn {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-12deg);
  }

  50% {
    transform: translate3d(-18px, -22px, 0) rotate(7deg);
  }
}

.object-caption {
  position: absolute;
  z-index: 5;
  top: 70%;
  right: 4%;
  display: flex;
  align-items: start;
  gap: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.caption-cross {
  font-size: 40px;
  line-height: 0.65;
  color: var(--lime);
  font-weight: 300;
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-top: -32px;
  position: relative;
  z-index: 5;
}

.hero-foot-left > .tiny-label {
  font-size: 9px;
  color: #afb49f;
}

.hero-foot-left p {
  margin: 14px 0 0;
  font-size: clamp(20px, 2.1vw, 33px);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.hero-foot-right {
  display: flex;
  align-items: end;
  gap: 65px;
}

.hero-foot-right p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.hero-foot-right strong {
  font-weight: 550;
  color: var(--paper);
}

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 9px;
  letter-spacing: 0.07em;
}

.scroll-cue > span:first-child {
  width: 48px;
  height: 64px;
  border: 1px solid #646c55;
  border-radius: 30px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--lime);
  transition: background 0.25s;
}

.scroll-cue:hover > span:first-child {
  background: #323c22;
}

/* Манифест */
.manifesto {
  position: relative;
  padding: 45px var(--gutter) 95px;
  margin-top: 30px;
  background: var(--paper);
  color: var(--ink);
}

.manifesto-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.small-cross {
  font-size: 45px;
  line-height: 0.65;
  font-weight: 300;
}

.manifesto h2 {
  font-size: clamp(50px, 7.6vw, 132px);
  line-height: 1.04;
  letter-spacing: -0.073em;
  font-weight: 550;
  margin: 75px 0 0;
}

.strike-word {
  color: #96988e;
  position: relative;
}

.strike-word::after {
  content: "";
  position: absolute;
  height: 0.055em;
  background: #41483a;
  top: 57%;
  left: -0.07em;
  right: -0.07em;
  transform: rotate(-6deg);
}

.underline-word {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.underline-word::after {
  content: "";
  z-index: -1;
  position: absolute;
  height: 0.18em;
  bottom: 0.05em;
  left: 0;
  right: 0;
  background: #c7e866;
  transform: rotate(-2deg);
}

.manifesto-aside {
  position: absolute;
  right: var(--gutter);
  bottom: 108px;
  max-width: 310px;
}

.manifesto-aside p {
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: -0.02em;
}

.manifesto-signature {
  display: inline-block;
  margin-top: 20px;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.055em;
}

/* Принцип работы */
.principle-track {
  background: var(--lime);
  color: var(--ink);
  height: 255vh;
  height: 255svh;
  position: relative;
}

.principle-stage {
  height: 100vh;
  height: 100svh;
  min-height: 660px;
  max-height: 1200px;
  position: sticky;
  top: 0;
  overflow: hidden;
  padding: 40px var(--gutter) 34px;
  display: flex;
  flex-direction: column;
}

.stage-top,
.stage-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.stage-count {
  position: absolute;
  right: var(--gutter);
  top: 22%;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.stage-count > span:first-child {
  font-size: 75px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.085em;
}

.stage-count > span:last-child {
  font-size: 14px;
}

.chapters {
  position: relative;
  flex: 1;
  margin-top: 50px;
}

.chapter {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition:
    opacity 0.5s,
    transform 0.65s cubic-bezier(0.16, 0.8, 0.25, 1),
    visibility 0.5s;
}

.chapter.is-active {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.chapter-label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.chapter h2 {
  font-size: clamp(100px, 13.4vw, 235px);
  letter-spacing: -0.078em;
  font-weight: 750;
  line-height: 0.83;
  margin: 32px 0 27px;
}

.chapter h2 > span {
  color: #8dab3b;
}

.chapter p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.capital-flow {
  position: absolute;
  right: 11%;
  top: 39%;
  bottom: 18%;
  width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.flow-start,
.flow-end {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.flow-rail {
  width: 1px;
  flex: 1;
  background: rgb(20 22 17 / 28%);
  position: relative;
}

.flow-token {
  display: block;
  position: absolute;
  width: 48px;
  height: 48px;
  background: var(--ink);
  border-radius: 50%;
  left: -23px;
  top: calc(var(--chapter-progress) * (100% - 48px));
  transition: top 0.15s linear;
}

.flow-token::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--lime);
  left: 19px;
  top: 19px;
}

.stage-bottom {
  border-top: 1px solid rgb(20 22 17 / 30%);
  padding-top: 24px;
  font-size: 10px;
  letter-spacing: 0.03em;
}

.stage-progress {
  display: flex;
  gap: 6px;
}

.stage-progress button {
  position: relative;
  width: 45px;
  height: 30px;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 3px solid rgb(20 22 17 / 20%);
  font-size: 10px;
  transition: border-color 0.3s;
}

.stage-progress button.is-active {
  border-color: var(--ink);
}

/* Модели оплаты */
.outcomes {
  padding: 43px var(--gutter) 90px;
  background: var(--ink);
}

.section-topline {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.outcomes .section-topline {
  color: var(--muted);
}

.outcomes-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin: 70px 0 65px;
}

.outcomes-heading h2 {
  font-size: clamp(45px, 5.6vw, 96px);
  font-weight: 550;
  line-height: 1.05;
  letter-spacing: -0.065em;
  margin: 0;
}

.outcomes-heading h2 > span {
  color: #969d88;
}

.outcomes-heading > p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 3% 0 0;
  color: #b7bcac;
}

.outcome-workbench {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 9%;
  align-items: center;
}

.outcome-options {
  display: flex;
  flex-direction: column;
}

.outcome-options button {
  display: flex;
  align-items: center;
  gap: 25px;
  color: #a6ad99;
  background: transparent;
  border: 0;
  border-top: 1px solid #444b39;
  text-align: left;
  padding: 34px 0;
  transition: color 0.3s;
}

.outcome-options button:last-child {
  border-bottom: 1px solid #444b39;
}

.outcome-options button[aria-selected="true"] {
  color: var(--lime);
}

.outcome-options button:hover {
  color: var(--paper);
}

.option-number {
  font-size: 11px;
  align-self: start;
  padding-top: 10px;
}

.option-name {
  font-size: clamp(37px, 4.8vw, 84px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 1;
}

.option-plus {
  font-size: 42px;
  font-weight: 300;
  margin-left: auto;
  transition: transform 0.4s;
}

[aria-selected="true"] .option-plus {
  transform: rotate(45deg);
}

.receipt-machine {
  position: relative;
  padding: 18px 20px 30px;
  margin: 0 auto;
  width: 100%;
  max-width: 440px;
}

.machine-slot {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 35px;
  border: 1px solid #424a34;
  border-bottom: 2px solid #66774a;
  background: #080b06;
  box-shadow: inset 0 5px 10px black;
  border-radius: 2px;
}

.outcome-panel {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  min-height: 470px;
  padding: 29px 27px 22px;
  transform: rotate(2deg);
  transform-origin: top center;
  box-shadow: 8px 22px 35px rgb(0 0 0 / 24%);
  animation: print-receipt 0.65s cubic-bezier(0.16, 0.8, 0.25, 1) both;
}

.outcome-panel::after {
  content: "";
  position: absolute;
  height: 10px;
  left: 0;
  right: 0;
  bottom: -9px;
  background:
    linear-gradient(135deg, var(--paper) 25%, transparent 25%) -6px 0 / 12px 12px,
    linear-gradient(225deg, var(--paper) 25%, transparent 25%) -6px 0 / 12px 12px;
}

@keyframes print-receipt {
  from {
    opacity: 0.2;
    transform: translateY(-35px) rotate(-2deg);
    clip-path: inset(0 0 50% 0);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(2deg);
    clip-path: inset(0 0 -15px 0);
  }
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.receipt-stamp {
  display: inline-block;
  position: relative;
  margin: 48px 0 26px 2px;
  padding: 10px 40px 10px 12px;
  color: #435728;
  border: 2px solid #435728;
  font-size: 29px;
  font-weight: 750;
  line-height: 0.95;
  letter-spacing: -0.05em;
  transform: rotate(-6deg);
}

.receipt-stamp > span {
  position: absolute;
  right: 11px;
  top: 13px;
  font-size: 22px;
}

.receipt-copy {
  font-size: 14px;
  line-height: 1.65;
  min-height: 48px;
}

.receipt-rule {
  border-top: 1px dashed #9da48e;
  margin: 28px 0 20px;
}

.receipt-details {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

.receipt-details > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 9px 0;
}

.receipt-details dt {
  color: #68715b;
}

.receipt-details dd {
  text-align: right;
  margin: 0;
  font-weight: 650;
}

.receipt-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 27px;
  font-size: 7px;
  font-weight: 600;
}

.receipt-bars {
  width: 80px;
  height: 27px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 1px,
    transparent 1px 3px,
    var(--ink) 3px 5px,
    transparent 5px 8px,
    var(--ink) 8px 9px,
    transparent 9px 12px
  );
}

.machine-caption {
  display: block;
  font-size: 8px;
  letter-spacing: 0.04em;
  color: #a3aa95;
  text-align: center;
  margin-top: 35px;
}

/* Софт и клиенты */
.ecosystem {
  background: var(--paper);
  color: var(--ink);
  padding: 43px var(--gutter) 0;
  overflow: hidden;
}

.ecosystem h2 {
  font-size: clamp(50px, 6.2vw, 108px);
  letter-spacing: -0.065em;
  font-weight: 550;
  line-height: 1.03;
  margin: 83px 0 42px;
}

.download-word {
  position: relative;
  display: inline-block;
  padding-right: 0.72em;
}

.download-word svg {
  position: absolute;
  width: 0.6em;
  height: 0.6em;
  right: 0;
  top: 0.22em;
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linejoin: round;
}

.software-types {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.software-types span {
  padding: 10px 23px;
  border: 1px solid #9b9e8e;
  border-radius: 40px;
  font-size: 14px;
}

.clients-intro {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 98px;
  padding-bottom: 24px;
  border-bottom: 1px solid #bcbeb0;
}

.client-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.client-wall > span {
  font-size: clamp(24px, 3.1vw, 50px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.055em;
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #bcbeb0;
  border-right: 1px solid #bcbeb0;
}

.client-wall > span:nth-child(3n) {
  border-right: 0;
}

.client-wall > span:nth-child(4),
.client-wall > .client-name-long {
  font-size: clamp(18px, 2.2vw, 35px);
  text-align: center;
}

.market-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 43px 0;
}

.market-row p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 23px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.market-row p > span {
  color: #7c826b;
}

.market-row .market-asterisk {
  font-size: 44px;
  color: var(--ink);
  margin-left: 10px;
}

/* Контакты */
.contact {
  padding: 43px var(--gutter) 0;
  background: var(--lime);
  color: var(--ink);
  overflow: hidden;
}

.contact h2 {
  margin: 80px 0 45px -0.013em;
  font-size: clamp(110px, 22vw, 410px);
  line-height: 0.81;
  font-weight: 750;
  letter-spacing: -0.075em;
}

.contact h2 > span {
  display: block;
  margin-top: 0.03em;
}

.contact-period {
  color: #849c49;
}

.contact-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  padding: 0 0 45px;
}

.contact-bottom p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.contact-cta {
  display: flex;
  gap: 45px;
  align-items: center;
  border-bottom: 2px solid var(--ink);
  padding: 14px 0;
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.03em;
}

.contact-cta > span {
  font-size: 34px;
  line-height: 1;
  transition: transform 0.3s;
}

.contact-cta:hover > span {
  transform: rotate(90deg);
}

.email-line {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 25px 0;
  border-top: 1px solid rgb(20 22 17 / 35%);
  position: relative;
}

.email-line > a {
  font-size: clamp(21px, 3.4vw, 58px);
  line-height: 1.4;
  font-weight: 550;
  letter-spacing: -0.05em;
}

.copy-email {
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 12px 0 12px 15px;
  margin-left: auto;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.copy-email > span {
  font-size: 26px;
  font-weight: 300;
}

.copy-status {
  position: absolute;
  right: 0;
  bottom: 5px;
  font-size: 11px;
}

/* Подвал */
.site-footer {
  display: flex;
  align-items: center;
  gap: 45px;
  padding: 32px var(--gutter) 47px;
}

.site-footer .wordmark {
  font-size: 28px;
}

.site-footer > span,
.site-footer > a:last-child {
  font-size: 9px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.footer-copyright {
  margin-left: auto;
}

.site-footer > a:last-child {
  color: var(--paper);
}

.site-footer > a:last-child span {
  margin-left: 20px;
  font-size: 19px;
}

/* Управление анимацией */
.motion-control {
  position: fixed;
  bottom: 15px;
  right: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #5f6c47;
  border-radius: 3px;
  padding: 9px 12px;
  color: var(--lime);
  background: var(--ink);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.motion-icon {
  width: 6px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.motion-control[aria-pressed="true"] .motion-icon {
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-left: 6px solid currentColor;
  border-right: 0;
}

.motion-paused .sculpture-float {
  animation-play-state: paused;
}

/* Большие экраны */
@media (min-width: 1800px) {
  .hero-composition {
    height: 790px;
  }
}

/* Планшеты */
@media (max-width: 1100px) {
  .header-descriptor {
    display: none;
  }

  .header-contact {
    margin-left: 10px;
  }

  .hero-composition {
    height: 50vw;
  }

  .hero-foot {
    margin-top: 0;
  }

  .hero-foot-right {
    gap: 30px;
  }

  .manifesto-aside {
    max-width: 250px;
    bottom: 95px;
  }

  .manifesto-aside p {
    font-size: 14px;
  }

  .manifesto h2 {
    font-size: 8vw;
  }

  .principle-stage {
    min-height: 620px;
  }

  .stage-count {
    top: 25%;
  }

  .chapter h2 {
    font-size: 13vw;
  }

  .capital-flow {
    right: 6%;
  }

  .outcome-workbench {
    gap: 5%;
  }

  .outcome-options button {
    gap: 16px;
  }

  .option-name {
    font-size: 5vw;
  }

  .option-plus {
    font-size: 30px;
  }

  .receipt-machine {
    padding-left: 10px;
    padding-right: 10px;
  }

  .outcome-panel {
    padding: 25px 22px;
  }

  .receipt-stamp {
    font-size: 26px;
  }
}

/* Телефоны */
@media (max-width: 760px) {
  .site-header {
    height: 84px;
    gap: 20px;
  }

  .wordmark {
    font-size: 28px;
  }

  .logo-o {
    height: 17px;
    width: 16px;
    border-width: 4px;
  }

  .main-nav {
    display: none;
  }

  .header-contact {
    margin-left: auto;
    font-size: 12px;
    gap: 20px;
    padding: 8px 0;
  }

  .header-contact > span {
    font-size: 21px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 25px;
    height: 44px;
    border: 0;
    padding: 0;
    background: none;
    color: var(--paper);
  }

  .menu-toggle span {
    width: 24px;
    height: 1px;
    background: currentColor;
    transition: transform 0.25s;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: absolute;
    top: 83px;
    left: 0;
    right: 0;
    padding: 32px var(--gutter);
    border-bottom: 1px solid var(--line);
    background: var(--ink);
    font-size: 22px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-meta {
    font-size: 9px;
  }

  .hero-edition {
    max-width: 140px;
  }

  .hero-composition {
    height: 68vw;
    min-height: 270px;
    margin-top: 35px;
  }

  h1,
  .hero-outline {
    font-size: 22.6vw;
    line-height: 0.84;
    letter-spacing: -0.075em;
  }

  .sculpture {
    width: 69vw;
    top: -2%;
    right: -20vw;
  }

  .object-caption {
    top: 81%;
    right: 0;
    font-size: 8px;
    gap: 9px;
  }

  .caption-cross {
    font-size: 25px;
  }

  .hero-foot {
    display: block;
  }

  .hero-foot-left > .tiny-label {
    font-size: 8px;
  }

  .hero-foot-left p {
    font-size: 24px;
    margin-top: 12px;
  }

  .hero-foot-right {
    margin-top: 27px;
    justify-content: space-between;
    gap: 25px;
    align-items: center;
  }

  .hero-foot-right p {
    font-size: 13px;
  }

  .scroll-cue {
    gap: 8px;
    font-size: 7px;
  }

  .scroll-cue > span:first-child {
    height: 44px;
    width: 33px;
    font-size: 19px;
  }

  .tiny-label {
    font-size: 9px;
  }

  .manifesto {
    margin-top: 0;
    padding: 30px var(--gutter) 45px;
  }

  .small-cross {
    font-size: 33px;
  }

  .manifesto h2 {
    margin-top: 48px;
    font-size: 10.5vw;
    line-height: 1.08;
  }

  .manifesto-aside {
    position: static;
    margin: 35px 0 0 auto;
    max-width: 270px;
  }

  .manifesto-aside p {
    font-size: 15px;
  }

  .manifesto-signature {
    font-size: 21px;
    margin-top: 4px;
  }

  .principle-track {
    height: 225svh;
  }

  .principle-stage {
    min-height: 600px;
    max-height: 900px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .stage-top {
    align-items: start;
  }

  .stage-top > span:last-child {
    max-width: 80px;
    text-align: right;
  }

  .stage-count {
    right: var(--gutter);
    top: auto;
    bottom: 140px;
  }

  .stage-count > span:first-child {
    font-size: 58px;
  }

  .chapters {
    margin-top: 60px;
  }

  .chapter-label {
    font-size: 9px;
    letter-spacing: 0.02em;
  }

  .chapter h2 {
    font-size: 18.5vw;
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .chapter p {
    font-size: 14px;
    line-height: 1.7;
  }

  .capital-flow {
    flex-direction: row;
    width: auto;
    height: 38px;
    left: var(--gutter);
    right: var(--gutter);
    top: auto;
    bottom: 87px;
    gap: 12px;
  }

  .flow-start,
  .flow-end {
    font-size: 8px;
  }

  .flow-rail {
    width: auto;
    height: 1px;
  }

  .flow-token {
    width: 28px;
    height: 28px;
    top: -14px;
    left: calc(var(--chapter-progress) * (100% - 28px));
    transition-property: left;
  }

  .flow-token::before {
    width: 6px;
    height: 6px;
    left: 11px;
    top: 11px;
  }

  .stage-bottom {
    font-size: 7px;
    line-height: 1.6;
    padding-top: 17px;
    gap: 20px;
  }

  .stage-bottom > span {
    max-width: 225px;
  }

  .stage-progress {
    gap: 3px;
  }

  .stage-progress button {
    width: 25px;
    height: 32px;
    border-width: 2px;
    font-size: 9px;
  }

  .outcomes {
    padding-top: 30px;
    padding-bottom: 55px;
  }

  .section-topline > span:last-child {
    text-align: right;
    max-width: 150px;
  }

  .outcomes-heading {
    display: block;
    margin: 50px 0 40px;
  }

  .outcomes-heading h2 {
    font-size: 10vw;
  }

  .outcomes-heading p {
    font-size: 15px;
    margin: 23px 0 0;
  }

  .outcome-workbench {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .outcome-options button {
    padding: 24px 0;
    gap: 20px;
  }

  .option-name {
    font-size: 11.5vw;
  }

  .option-number {
    font-size: 10px;
    padding-top: 5px;
  }

  .option-plus {
    font-size: 36px;
  }

  .receipt-machine {
    max-width: 380px;
    width: calc(100% - 10px);
  }

  .outcome-panel {
    min-height: 440px;
    padding: 25px 22px;
  }

  .receipt-stamp {
    font-size: 26px;
    margin-top: 38px;
  }

  .receipt-header {
    font-size: 9px;
  }

  .receipt-copy {
    font-size: 13px;
  }

  .receipt-details {
    font-size: 11px;
  }

  .receipt-bottom {
    font-size: 6px;
  }

  .machine-caption {
    font-size: 7px;
  }

  .ecosystem {
    padding-top: 30px;
  }

  .ecosystem h2 {
    font-size: 9.3vw;
    margin: 55px 0 30px;
  }

  .software-types {
    gap: 7px;
  }

  .software-types span {
    font-size: 11px;
    padding: 8px 14px;
  }

  .clients-intro {
    margin-top: 58px;
    padding-bottom: 22px;
  }

  .clients-intro > span:first-child {
    max-width: 170px;
  }

  .clients-intro > span:last-child {
    text-align: right;
  }

  .client-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-wall > span {
    min-height: 90px;
    font-size: 7vw;
  }

  .client-wall > span:nth-child(3n) {
    border-right: 1px solid #bcbeb0;
  }

  .client-wall > span:nth-child(2n) {
    border-right: 0;
  }

  .client-wall > span:nth-child(4),
  .client-wall > .client-name-long {
    font-size: 4.6vw;
  }

  .market-row {
    display: block;
    padding: 28px 0;
  }

  .market-row p {
    font-size: 16px;
    gap: 9px;
    margin-top: 15px;
  }

  .market-row .market-asterisk {
    font-size: 30px;
    margin-left: auto;
  }

  .contact {
    padding-top: 30px;
  }

  .contact h2 {
    font-size: 24vw;
    margin-top: 55px;
    margin-bottom: 35px;
  }

  .contact-bottom {
    display: block;
    padding-bottom: 30px;
  }

  .contact-bottom p {
    font-size: 14px;
  }

  .contact-cta {
    margin-top: 22px;
    font-size: 18px;
    justify-content: space-between;
    gap: 20px;
  }

  .contact-cta > span {
    font-size: 29px;
  }

  .email-line {
    padding: 20px 0 28px;
    gap: 12px;
  }

  .email-line > a {
    font-size: 5.2vw;
  }

  .copy-email {
    font-size: 8px;
    gap: 10px;
    padding-left: 0;
  }

  .copy-email > span {
    display: none;
  }

  .copy-status {
    font-size: 10px;
  }

  .site-footer {
    padding: 28px var(--gutter) 60px;
    gap: 20px;
    flex-wrap: wrap;
  }

  .site-footer .wordmark {
    font-size: 26px;
  }

  .site-footer > a:last-child {
    font-size: 8px;
    margin-left: auto;
  }

  .site-footer > a:last-child span {
    margin-left: 8px;
  }

  .motion-control {
    padding: 8px 9px;
    font-size: 7px;
    right: 12px;
    bottom: 12px;
  }
}

/* Узкие экраны */
@media (max-width: 370px) {
  .site-header {
    gap: 15px;
  }

  .wordmark {
    font-size: 25px;
  }

  .header-contact {
    font-size: 11px;
    gap: 10px;
  }

  .hero-edition {
    max-width: 115px;
    font-size: 8px;
  }

  .hero-composition {
    min-height: 245px;
  }

  .object-caption {
    top: 80%;
  }

  .receipt-stamp {
    font-size: 22px;
  }

  .receipt-header {
    font-size: 8px;
  }
}

/* Уменьшение анимации */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .principle-track {
    height: auto;
  }

  .principle-stage {
    position: static;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .chapters {
    margin: 40px 0;
  }

  .chapter {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 65px;
  }

  .chapter:first-child {
    margin-top: 0;
  }

  .stage-count,
  .capital-flow,
  .stage-progress {
    display: none;
  }

  .chapter h2 {
    font-size: clamp(60px, 10vw, 160px);
  }
}

.page-hidden .sculpture-float,
.hero-offscreen .sculpture-float {
  animation-play-state: paused;
}

.sculpture {
  transition: transform 0.45s cubic-bezier(0.16, 0.65, 0.3, 1);
}

@media (max-height: 650px) and (min-width: 761px) {
  .principle-track {
    height: 260vh;
  }

  .principle-stage {
    min-height: 520px;
  }

  .chapters {
    margin-top: 24px;
  }

  .chapter h2 {
    font-size: 10vw;
    margin-top: 18px;
    margin-bottom: 18px;
  }

  .chapter p {
    font-size: 14px;
  }
}

/* Фокус вкладок */
.outcome-panel:focus-visible {
  outline-offset: -5px;
}

@media (min-width: 761px) and (max-width: 900px) {
  .site-header {
    gap: 20px;
  }

  .main-nav {
    gap: 20px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .header-contact {
    gap: 25px;
    font-size: 12px;
  }
}

/* Низкие экраны */
@media (max-height: 740px) {
  .principle-track {
    height: auto;
  }

  .principle-stage {
    position: static;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .chapters {
    margin: 40px 0;
  }

  .chapter {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 65px;
  }

  .chapter:first-child {
    margin-top: 0;
  }

  .chapter h2 {
    font-size: clamp(64px, 11vw, 180px);
  }

  .stage-count,
  .capital-flow,
  .stage-progress {
    display: none;
  }
}

/* Положение скульптуры */
@media (min-width: 761px) {
  .object-caption {
    top: 51%;
    right: 8%;
    padding: 8px 10px;
    background: rgb(20 22 17 / 88%);
  }
}

@media (max-width: 760px) {
  .sculpture {
    width: 66vw;
    top: -12%;
    right: -15vw;
  }

  .object-caption {
    top: 84%;
    padding: 5px 7px;
    background: rgb(20 22 17 / 88%);
  }
}

/* Кнопка анимации */
.motion-control {
  width: 34px;
  height: 34px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

.motion-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Кириллица */
h1,
.hero-outline {
  font-size: clamp(90px, 15.1vw, 285px);
  line-height: 0.92;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.hero-composition {
  height: clamp(360px, 40vw, 760px);
}

.chapter h2 {
  font-size: clamp(78px, 10.5vw, 184px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.option-name {
  font-size: clamp(26px, 3.5vw, 62px);
  letter-spacing: -0.055em;
}

.receipt-stamp {
  font-size: 24px;
  line-height: 1.05;
}

.receipt-header > span:last-child {
  flex-shrink: 0;
}

.receipt-bars {
  flex-shrink: 0;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .receipt-stamp {
    font-size: 20px;
    padding-right: 31px;
    padding-left: 8px;
  }

  .receipt-stamp > span {
    right: 7px;
    font-size: 18px;
  }
}

@media (max-width: 760px) {
  h1,
  .hero-outline {
    font-size: 15.4vw;
    line-height: 1;
  }

  .hero-composition {
    height: 59vw;
    min-height: 230px;
  }

  .hero-edition {
    max-width: 148px;
    font-size: 8px;
  }

  .hero-meta {
    gap: 18px;
  }

  .chapter h2 {
    font-size: 14vw;
    line-height: 1;
  }

  .option-name {
    font-size: 8.7vw;
  }

  .receipt-stamp {
    font-size: 24px;
  }

  .contact-cta {
    font-size: 17px;
  }

  .email-line {
    flex-wrap: wrap;
  }

  .copy-email {
    font-size: 8px;
  }
}

@media (max-width: 370px) {
  .hero-edition {
    max-width: 126px;
    font-size: 7px;
  }

  .receipt-stamp {
    font-size: 21px;
    padding-right: 34px;
    padding-left: 9px;
  }
}
