@font-face {
  font-family: "Institute Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://mayakspace.ru/fonts/Inter-400-normal-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Institute Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://mayakspace.ru/fonts/Inter-400-normal-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Institute Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://mayakspace.ru/fonts/Inter-500-normal-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Institute Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://mayakspace.ru/fonts/Inter-500-normal-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Institute Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://mayakspace.ru/fonts/Inter-600-normal-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Institute Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://mayakspace.ru/fonts/Inter-600-normal-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Institute PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://mayakspace.ru/fonts/PTSerif-700-normal-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Institute PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://mayakspace.ru/fonts/PTSerif-700-normal-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f3eee5;
  --paper-soft: #f8f4ed;
  --ink: #1b1c18;
  --muted: #6b675f;
  --line: rgba(27, 28, 24, .13);
  --gold: #b89558;
  --green: #143824;
  --dark: #151a16;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --reading: 960px;
  --strip: 165px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-soft);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
img { display: block; width: 100%; }
a { color: inherit; }

/* Шапка остаётся доступной во время чтения длинной статьи. */
.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  min-height: 96px;
  padding: 20px clamp(24px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f8f4ed;
  background: rgba(23, 39, 28, 0);
  border-bottom: 1px solid transparent;
  transition: min-height .22s ease, padding .22s ease, background .22s ease, border-color .22s ease, backdrop-filter .22s ease;
}
.site-header__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-header.is-scrolled {
  min-height: 62px;
  padding: 7px clamp(18px, 3.2vw, 46px);
  background: rgba(23, 39, 28, .92);
  border-bottom-color: rgba(229, 201, 141, .22);
  box-shadow: 0 12px 34px rgba(8, 20, 12, .16);
  backdrop-filter: blur(12px);
}
.site-header.is-scrolled .site-header__inner { gap: 20px; }
.site-header__cta {
  width: auto;
  max-width: 284px;
  flex: none;
}
.site-header .site-header__cta { margin: 0; }
.site-header.is-scrolled .institute-sign__mark {
  width: 40px;
  height: 40px;
}
.site-header.is-scrolled .institute-sign__divider {
  height: 34px;
  margin: 0 12px;
}
.site-header.is-scrolled .institute-sign__name {
  gap: 2px;
  font-size: 9px;
  letter-spacing: .12em;
}
.site-header.is-scrolled .site-header__cta {
  min-height: 38px;
  padding: 8px 18px;
  font-size: 13px;
}
#application-form { scroll-margin-top: 76px; }
.brand { text-decoration: none; }
.institute-sign {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  color: #f8f4ed;
}
.institute-sign__mark {
  width: 62px;
  height: 62px;
  flex: none;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 .7px #fff) drop-shadow(0 0 .7px #fff);
  opacity: 1;
}
.institute-sign__divider {
  width: 1px;
  height: 58px;
  margin: 0 18px;
  background: rgba(248, 244, 237, .78);
}
.institute-sign__name {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #f8f4ed;
  font: 700 12px/1.08 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.story { position: relative; }
.hero-section { background: var(--paper-soft); }
.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: start;
  color: white;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,14,11,.9) 0%, rgba(10,14,11,.69) 36%, rgba(10,14,11,.15) 70%, rgba(10,14,11,.03) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 164px 72px 34px;
}
.hero-kicker {
  margin: 0 0 16px;
  color: #d8b979;
  font: 600 13px/1.2 "Institute Inter", var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .24);
}
.hero h1 span { display: block; }
.hero-deck {
  max-width: 900px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(248, 244, 237, .42);
}
.hero-deck p {
  max-width: 750px;
  margin: 0;
  color: rgba(248, 244, 237, .92);
  font-family: "Institute Inter", var(--sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: .004em;
  text-wrap: balance;
}
.hero-monologue-open {
  position: relative;
  max-width: 900px;
  margin-top: 42px;
  padding: 34px 0 0 58px;
  border-top: 1px solid rgba(248, 244, 237, .42);
}
.hero-monologue-open__quote {
  position: absolute;
  top: 25px;
  left: 0;
  color: #d8b979;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
}
.hero-monologue-open p {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.42;
  letter-spacing: -.006em;
}
.hero-monologue-open p span { display: block; }

/* Единая ось чтения. */
.monologue-frame,
.reading-copy,
.editorial-copy,
.split-copy,
.stacked-copy,
.overlay-copy,
.finale-copy {
  width: min(var(--reading), calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 52px;
}
.monologue-frame {
  min-height: 500px;
  display: flex;
  align-items: center;
}
.monologue {
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0 40px;
}
.monologue--continuation { padding-top: 0; }
.monologue p,
.editorial-copy p,
.split-copy p,
.stacked-copy p,
.overlay-copy p,
.finale-copy p,
.reading-copy p,
.copy-columns p,
.editorial-columns p {
  margin: 0 0 16px;
}
.statement,
.monologue .statement,
.editorial-copy .statement,
.split-copy .statement,
.stacked-copy .statement,
.overlay-copy .statement {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.statement--heading,
.reading-copy .statement--heading {
  margin-top: 28px;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}
.monologue__quote {
  position: absolute;
  color: rgba(184, 149, 88, .72);
  font-family: var(--serif);
  font-size: 62px;
  font-weight: 400;
  line-height: 1;
}
#block-06 .overlay-copy { position: relative; padding-bottom: 84px; }
#block-06 .monologue__quote--close { right: 2px; bottom: 26px; }
#block-02 .section-number,
#block-03 .section-number,
#block-04 .section-number,
#block-05 .section-number,
#block-06 .section-number { display: none; }

.section-number,
.project-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: .075em;
  text-transform: uppercase;
}

/* Все изображения после первого экрана — одинаковые переходные полосы. */
.editorial-section,
.split,
.stacked,
.overlay,
.finale {
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper-soft);
  color: var(--ink);
}
.editorial-section--soft,
.stacked { background: var(--paper-soft); }
.section-frame,
.editorial-grid {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.editorial-copy,
.split-copy,
.stacked-copy,
.overlay-copy,
.finale-copy { order: 2; }
.editorial-copy,
.split-copy,
.stacked-copy,
.overlay-copy {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.editorial-media,
.split-media,
.stacked-media {
  order: 1;
  width: 100%;
  height: var(--strip);
  min-height: 0;
  margin: 0;
  overflow: hidden;
}
.editorial-media img,
.split-media img,
.stacked-media img {
  height: 100%;
  object-fit: cover;
}
.overlay > .overlay-image,
.finale > .overlay-image {
  position: relative;
  inset: auto;
  order: 1;
  width: 100%;
  height: var(--strip);
  object-fit: cover;
}
.overlay-shade,
.finale-shade { display: none; }
.copy-columns,
.editorial-columns {
  display: block;
  max-width: none;
}
.text-panel {
  background: var(--paper-soft);
  color: var(--ink);
}
.transition-strip {
  width: 100%;
  height: var(--strip);
  margin: 0;
  overflow: hidden;
  background: var(--paper-soft);
}
.transition-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reading-screen {
  background: var(--paper-soft);
  color: var(--ink);
}
.reading-screen .reading-copy {
  min-height: 500px;
  padding-top: 48px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.reading-screen .reading-copy.monologue {
  width: min(var(--reading), calc(100% - 48px));
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}
.reading-screen .reading-copy p {
  margin-bottom: 12px;
  line-height: 1.55;
}
#screen-07 .screen-07-lead {
  font-size: 20px;
}
.reading-screen--monologue-close .reading-copy {
  position: relative;
  padding-bottom: 56px;
}
.reading-screen--monologue-close .monologue__quote--close {
  right: 2px;
  bottom: 12px;
}
#block-09 .split-copy,
#block-15 .stacked-copy { order: 1; }
#block-09 .split-media,
#block-15 .stacked-media { order: 2; }
.text-panel .split-copy,
.text-panel .stacked-copy {
  padding-top: 30px;
  padding-bottom: 32px;
}
.text-panel .split-copy p,
.text-panel .stacked-copy p {
  margin-bottom: 12px;
  line-height: 1.55;
}
.system-laws {
  margin: 0 0 16px;
  padding-left: 22px;
}
.system-laws li { margin: 0 0 8px; }

/* Отдельная граница между внутренним монологом и авторским разбором. */
.editorial-turn {
  background: #e7dece;
  border-top: 1px solid rgba(20, 56, 36, .12);
  border-bottom: 1px solid rgba(20, 56, 36, .12);
}
.editorial-turn .reading-copy { padding-top: 76px; padding-bottom: 76px; }
.editorial-turn p {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.38;
}

/* Финал — самостоятельный образ следующего пространства, без карточки и кнопки-коробки. */
.finale {
  min-height: 100svh;
  overflow: hidden;
  justify-content: center;
  background: #29382c;
  color: #f8f4ed;
}
.finale > .overlay-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.finale-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: linear-gradient(90deg, rgba(21, 38, 27, .94) 0%, rgba(21, 38, 27, .86) 43%, rgba(21, 38, 27, .48) 71%, rgba(21, 38, 27, .18) 100%);
}
.finale-copy {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 64px));
  padding-top: 42px;
  padding-bottom: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: 56px;
  align-items: center;
}
.finale-content { min-width: 0; }
.finale h2 {
  max-width: 690px;
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.finale .section-number { color: #d8b979; }
.finale .project-label {
  margin-bottom: 20px;
  color: #e5c98d;
  font-weight: 600;
  letter-spacing: .095em;
}
.finale-lead {
  max-width: 820px;
  margin-bottom: 18px !important;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.38;
}
.finale-body {
  max-width: 840px;
  margin: 0 0 14px;
}
.finale-body p { margin: 0 0 10px; }
.finale-quote {
  position: relative;
  margin: 16px 0 4px;
  padding: 13px 18px 14px 22px;
  border-left: 2px solid #e5c98d;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(229, 201, 141, .13), rgba(229, 201, 141, .035));
}
.finale-quote::before {
  content: "“";
  position: absolute;
  top: 3px;
  left: 7px;
  color: rgba(229, 201, 141, .52);
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
}
.finale-quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.4;
}
.finale-action {
  max-width: 840px;
  margin: 0 !important;
  padding: 0;
  border: 0;
  color: #f8f4ed;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.48;
}
.finale--meaning .finale-shade {
  background: linear-gradient(90deg, rgba(16, 35, 23, .95) 0%, rgba(16, 35, 23, .78) 57%, rgba(16, 35, 23, .38) 100%);
}
.finale--meaning {
  min-height: auto;
}
.finale--action .overlay-image { object-position: 66% center; }
.finale--action .finale-shade {
  background: linear-gradient(90deg, rgba(16, 35, 23, .95) 0%, rgba(16, 35, 23, .74) 55%, rgba(16, 35, 23, .42) 100%);
}
.finale-copy--meaning {
  width: min(930px, calc(100% - 64px));
  padding-top: 82px;
  padding-bottom: 84px;
  grid-template-columns: 1fr;
  gap: 0;
}
.finale-copy--meaning .finale-content { width: 100%; }
.finale-copy--meaning h2 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: 36px;
}
.finale-copy--meaning .project-label { margin-bottom: 20px; }
.finale-copy--meaning .finale-lead {
  max-width: 760px;
  margin-bottom: 18px !important;
  font-size: 21px;
}
.finale-copy--meaning .finale-quote {
  max-width: 900px;
  margin: 24px 0 0;
  padding: 13px 18px 14px 22px;
}
.finale-copy--meaning .finale-quote::before {
  top: 3px;
  left: 7px;
  font-size: 32px;
}
.finale-copy--meaning .finale-quote p {
  font-size: 19px;
  line-height: 1.4;
}
.finale-action-card {
  max-width: 690px;
  margin-top: 0;
  padding-left: 30px;
  border-left: 2px solid #e5c98d;
}
.finale-action-card .finale-action {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.48;
}
.finale-copy--action {
  width: min(930px, calc(100% - 64px));
  grid-template-columns: minmax(0, 1fr) minmax(360px, 390px);
  gap: 52px;
  align-items: center;
}
.cta-button {
  display: inline-flex;
  min-height: 48px;
  margin-top: 22px;
  padding: 12px 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(229, 201, 141, .86);
  border-radius: 999px;
  background: rgba(20, 45, 30, .26);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
  color: #f8f4ed;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .025em;
}
.contact-form {
  padding: 26px;
  border: 1px solid rgba(229, 201, 141, .5);
  border-radius: 20px;
  background: rgba(20, 45, 30, .58);
  box-shadow: 0 24px 70px rgba(5, 16, 9, .24), inset 0 0 0 1px rgba(255, 255, 255, .04);
  backdrop-filter: blur(10px);
}
.contact-form__title {
  margin: 0 0 18px !important;
  color: #f8f4ed;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
}
.contact-field {
  display: block;
  margin-bottom: 12px;
}
.contact-field span {
  display: block;
  margin-bottom: 5px;
  color: rgba(248, 244, 237, .82);
  font-size: 13px;
  font-weight: 600;
}
.contact-field input {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(248, 244, 237, .3);
  border-radius: 10px;
  background: rgba(248, 244, 237, .1);
  color: #fff;
  font: inherit;
}
.contact-field input::placeholder { color: rgba(248, 244, 237, .5); }
.contact-field input:focus {
  border-color: #e5c98d;
  outline: 2px solid rgba(229, 201, 141, .22);
  outline-offset: 1px;
}
.contact-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0 0;
  color: rgba(248, 244, 237, .78);
  font-size: 12px;
  line-height: 1.35;
}
.contact-consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #e5c98d;
}
.contact-form .cta-button {
  width: 100%;
  margin-top: 18px;
  cursor: pointer;
}
.contact-consent a { color: inherit; text-underline-offset: 3px; }
.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.contact-form__status {
  margin: 14px 0 0 !important;
  color: #f8f4ed;
  font-size: 13px;
  line-height: 1.45;
}
.contact-form__status[data-state="error"] { color: #f2c7b7; }
.contact-form__status[data-state="success"] { color: #e5c98d; }

.institute-footer {
  padding: 44px 0 56px;
  border-top: 1px solid rgba(229, 201, 141, .25);
  background: #17271c;
  color: rgba(248, 244, 237, .66);
  font: 400 13.5px/1.8 var(--sans);
}
.institute-footer,
.institute-footer * { box-sizing: border-box; }
.institute-footer__wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 36px;
}
.institute-footer__brand {
  display: block;
  width: calc((100% - 32px) / 2);
  margin-bottom: 12px;
  color: #f8f4ed;
  text-decoration: none;
}
.institute-footer__lines {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 32px;
}
.institute-footer__left,
.institute-footer__right { min-width: 0; }
.institute-footer__line {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}
.institute-footer__right { text-align: right; }
.institute-footer a {
  color: inherit;
  text-decoration-color: rgba(248, 244, 237, .28);
  text-underline-offset: 3px;
}
.institute-footer a:hover,
.institute-footer a:focus-visible { color: #e5c98d; }
.institute-sign--footer .institute-sign__mark {
  width: 42px;
  height: 42px;
  filter: brightness(0) invert(1);
}
.institute-sign--footer .institute-sign__divider {
  height: 40px;
  margin: 0 14px;
  background: currentColor;
  opacity: .48;
}
.institute-sign--footer .institute-sign__name {
  color: inherit;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .13em;
}

.document-viewer {
  width: min(1180px, calc(100% - 32px));
  height: min(860px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(229, 201, 141, .48);
  border-radius: 18px;
  background: #f8f4ed;
  box-shadow: 0 28px 90px rgba(6, 15, 9, .45);
}
.document-viewer::backdrop { background: rgba(8, 19, 12, .72); }
.document-viewer__bar {
  min-height: 64px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(27, 28, 24, .12);
  background: #17271c;
  color: #f8f4ed;
}
.document-viewer__back {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(229, 201, 141, .78);
  border-radius: 50%;
  background: transparent;
  color: #f8f4ed;
  font: 400 22px/1 var(--sans);
  cursor: pointer;
}
.document-viewer__back:hover,
.document-viewer__back:focus-visible {
  background: rgba(229, 201, 141, .12);
  color: #e5c98d;
  outline: 1px solid #e5c98d;
  outline-offset: 3px;
}
.document-viewer__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.document-viewer__frame {
  width: 100%;
  height: calc(100% - 64px);
  display: block;
  border: 0;
  background: #f8f4ed;
}
.cta-button:hover,
.cta-button:focus-visible {
  background: rgba(229, 201, 141, .12);
  color: #e5c98d;
  outline: 1px solid rgba(229, 201, 141, .88);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  :root { --strip: 150px; }
  .site-header { padding: 14px 24px; }
  .site-header__inner { gap: 20px; }
  .site-header__cta {
    max-width: 260px;
    padding-right: 18px;
    padding-left: 18px;
    font-size: 13px;
  }
  .hero { min-height: 680px; }
  .hero-copy { padding: 156px 24px 34px; }
  .hero h1 { font-size: 34px; max-width: 680px; }
  .hero-deck { margin-top: 36px; }
  .hero-monologue-open { margin-top: 42px; }
  .editorial-copy,
  .split-copy,
  .stacked-copy,
  .overlay-copy {
    min-height: 0;
    justify-content: flex-start;
  }
  .reading-screen .reading-copy {
    min-height: 0;
    justify-content: flex-start;
  }
  .finale { min-height: 100svh; }
  .finale--meaning { min-height: auto; }
  .finale-copy {
    width: min(var(--reading), calc(100% - 48px));
    padding-top: 50px;
    padding-bottom: 58px;
    display: block;
  }
  .finale-copy--meaning { width: min(var(--reading), calc(100% - 48px)); }
  .finale-action-card { max-width: none; }
  .contact-form { margin-top: 32px; }
  .institute-footer__wrap { padding: 0 24px; }
}

@media (max-width: 700px) {
  .institute-footer__brand { width: 100%; }
  .institute-footer__lines { display: block; }
  .institute-footer__right {
    margin-top: 24px;
    text-align: left;
  }
}

@media (max-width: 520px) {
  :root { --strip: 128px; }
  body { font-size: 16px; }
  .site-header {
    min-height: 156px;
    padding: 14px 18px;
  }
  .site-header__inner {
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
  }
  .site-header__cta {
    width: auto;
    min-height: 42px;
    max-width: 238px;
    margin-left: auto;
    padding: 8px 16px;
    font-size: 12px;
  }
  .site-header.is-scrolled {
    min-height: 56px;
    padding: 7px 12px;
  }
  .site-header.is-scrolled .site-header__inner {
    flex-wrap: nowrap;
    align-content: center;
    gap: 10px;
  }
  .site-header.is-scrolled .institute-sign__mark {
    width: 36px;
    height: 36px;
  }
  .site-header.is-scrolled .institute-sign__divider,
  .site-header.is-scrolled .institute-sign__name { display: none; }
  .site-header.is-scrolled .site-header__cta {
    width: auto;
    min-height: 38px;
    max-width: 200px;
    margin-left: auto;
    padding: 7px 13px;
    font-size: 11.5px;
  }
  .institute-sign__mark { width: 48px; height: 48px; }
  .institute-sign__divider { height: 42px; margin: 0 13px; }
  .institute-sign__name { font-size: 10px; letter-spacing: .12em; }
  .institute-sign--footer .institute-sign__mark { width: 37px; height: 37px; }
  .institute-sign--footer .institute-sign__divider {
    height: 30px;
    margin-right: 12px;
    margin-left: 12px;
  }
  .institute-sign--footer .institute-sign__name {
    font-size: 9px;
    letter-spacing: .115em;
  }
  .hero { min-height: 700px; }
  .hero-copy { padding: 206px 18px 44px; }
  .hero-kicker { margin-bottom: 13px; font-size: 11px; }
  .hero h1 { max-width: 350px; font-size: 28px; line-height: 1.13; }
  .hero-deck { margin-top: 26px; padding-top: 20px; }
  .hero-deck p { max-width: 340px; font-size: 18px; line-height: 1.5; }
  .hero-monologue-open {
    margin-top: 30px;
    padding: 27px 0 0 38px;
  }
  .hero-monologue-open__quote { top: 20px; font-size: 48px; }
  .hero-monologue-open p { font-size: 17px; line-height: 1.42; }
  .monologue-frame,
  .reading-copy,
  .editorial-copy,
  .split-copy,
  .stacked-copy,
  .overlay-copy,
  .finale-copy {
    width: calc(100% - 36px);
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .monologue { padding: 0 24px; }
  .monologue__quote { font-size: 50px; }
  #block-06 .overlay-copy { padding-bottom: 70px; }
  #block-06 .monologue__quote--close { right: -1px; bottom: 20px; }
  .statement,
  .monologue .statement,
  .editorial-copy .statement,
  .split-copy .statement,
  .stacked-copy .statement,
  .overlay-copy .statement,
  .editorial-turn p { font-size: 19px; }
  .statement--heading,
  .reading-copy .statement--heading { font-size: 21px; }
  #screen-07 .screen-07-lead { font-size: 19px; }
  .editorial-turn .reading-copy { padding-top: 58px; padding-bottom: 58px; }
  .finale { min-height: 100svh; }
  .finale--meaning { min-height: auto; }
  .finale-shade {
    background: linear-gradient(180deg, rgba(21, 38, 27, .94) 0%, rgba(21, 38, 27, .86) 68%, rgba(21, 38, 27, .72) 100%);
  }
  .finale-copy {
    width: min(var(--reading), calc(100% - 48px));
    padding-top: 50px;
    padding-bottom: 58px;
    display: block;
  }
  .finale h2 { font-size: 30px; }
  .finale-lead { font-size: 20px; }
  .finale-action { font-size: 17px; }
  .finale-copy--meaning .project-label { margin-bottom: 20px; }
  .finale-copy--meaning .finale-lead {
    margin-bottom: 18px !important;
    font-size: 20px;
  }
  .finale-copy--meaning .finale-quote {
    margin-top: 16px;
    padding: 13px 18px 14px 22px;
  }
  .finale-copy--meaning .finale-quote p { font-size: 19px; }
  .finale-copy--meaning {
    padding-top: 54px;
    padding-bottom: 58px;
  }
  .finale-copy--action {
    padding-top: 30px;
    padding-bottom: 35px;
  }
  .finale-action-card {
    margin-top: 0;
    padding-left: 22px;
  }
  .finale-action-card .finale-action {
    font-size: 19px;
    line-height: 1.42;
  }
  .cta-button { width: 100%; font-size: 15px; }
  .site-header__cta { width: auto; font-size: 12px; }
  .site-header.is-scrolled .site-header__cta { width: auto; font-size: 11.5px; }
  #application-form { scroll-margin-top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header { transition: none; }
}

/* Весь внутренний диалог: единая тёплая цитата без изменения основной сетки. */
:is(#screen-01, #screen-02, #screen-03, #screen-04, #screen-05, #screen-06) {
  background: #f8f3ea;
}
:is(#screen-01, #screen-02, #screen-03, #screen-04, #screen-05, #screen-06) .reading-copy {
  position: relative;
  isolation: isolate;
}
:is(#screen-01, #screen-02, #screen-03, #screen-04, #screen-05, #screen-06) .reading-copy::before {
  content: "";
  position: absolute;
  inset: 24px -24px;
  z-index: -1;
  border-left: 2px solid #b8964a;
  background: linear-gradient(90deg, rgba(231, 217, 193, .72), rgba(248, 243, 234, .96));
}
#screen-01 .monologue__quote--open {
  top: 18px;
  left: -18px;
  color: rgba(184, 150, 74, .78);
  font-size: 44px;
}
#screen-06 .monologue__quote--close {
  display: block;
  right: -18px;
  bottom: 8px;
  color: rgba(184, 150, 74, .78);
  font-size: 44px;
}

@media (max-width: 700px) {
  :is(#screen-01, #screen-02, #screen-03, #screen-04, #screen-05, #screen-06) .reading-copy::before {
    right: -18px;
    left: -18px;
  }
  #screen-01 .monologue__quote--open { left: -12px; }
  #screen-06 .monologue__quote--close { right: -12px; }
}
