/* Технострой Сколково — прототип пространственного сайта.
   Порядок файла: токены и база → навигация и кнопки → блоки в обычном потоке
   (телефон, «уменьшить движение», без скрипта) → пространственный режим
   (html.is-spatial, включает site.js на широких экранах). */

/* ---------- токены ---------- */
:root {
  --bg: #f4f4f2;
  --bg-2: #fbfbfa;
  --ink: #1b1b1a;
  --muted: #62625e;
  --line: rgba(27, 27, 26, 0.14);
  --lime: #95c11f;   /* цвет логотипа: крупные детали */
  --green: #46700f;  /* тот же тон темнее: цифры и акценты в тексте */
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --nav: 72px;
  --gut: clamp(20px, 5.2vw, 80px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}
@media (max-width: 639px) { :root { --nav: 60px; } }

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.defs { position: absolute; }
.nw { white-space: nowrap; }
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 4px;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- навигация ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.nav.is-solid { background: rgba(244, 244, 242, 0.95); box-shadow: 0 1px 0 var(--line); }
.nav__bar { height: 100%; padding: 0 var(--gut); display: flex; align-items: center; gap: 28px; }
.nav__logo { display: block; flex: none; }
.nav__logo img { height: 38px; width: auto; }
.nav__links { display: none; margin-left: auto; gap: 24px; font-size: 15px; font-weight: 500; }
.nav__links a { position: relative; padding: 8px 0; text-decoration: none; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__cta { margin-left: auto; }
.nav__progress { position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; overflow: hidden; }
.nav__progress span { display: block; height: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; }
@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .nav__cta { margin-left: 0; }
}
@media (max-width: 639px) { .nav__logo img { height: 32px; } }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 4px;
  font: 500 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.14s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 14px; height: 14px; flex: none; transition: transform 0.2s var(--ease-out); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--ghost { border-color: rgba(27, 27, 26, 0.3); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 17px; }
.nav .btn { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover::after { transform: scaleX(1); }
  .btn--primary:hover { background: var(--green); }
  .btn--ghost:hover { border-color: var(--ink); }
  .btn:hover svg { transform: translateX(3px); }
}

/* ---------- первый экран (обычный поток) ---------- */
.hero { position: relative; background: var(--bg); }
.hero__visual { position: relative; height: 62svh; min-height: 340px; overflow: hidden; }
.hero__portal { position: absolute; inset: 0; overflow: hidden; }
.hero__render { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 2400 / 3336; transform-origin: 0 0; }
.hero__render img { width: 100%; height: 100%; max-width: none; }
.hero__render--front { clip-path: url(#front-clip); }
.hero__word {
  position: absolute; left: 0; top: 24vw; width: 100%; text-align: center;
  font-weight: 650; font-size: 15.4vw; line-height: 0.8; letter-spacing: -0.045em;
  white-space: nowrap; color: var(--ink); pointer-events: none; user-select: none;
}
.hero__word span { display: inline-block; }
.hero__tag {
  position: absolute; right: 12px; bottom: 12px; padding: 6px 10px;
  background: var(--bg); border-radius: 2px; font-size: 13px; line-height: 1.2;
}
.hero__copy { display: grid; gap: 18px; max-width: 720px; padding: 28px var(--gut) 48px; }
h1 { font-weight: 500; font-size: clamp(28px, 8vw, 46px); line-height: 1.04; letter-spacing: -0.035em; }
.hero__lead { max-width: 46ch; }
.hero__fog, .hero__hint { display: none; }
@media (max-width: 639px) {
  /* телефон: заголовок и кнопка должны попадать в первый экран */
  .hero__visual { height: 46svh; }
  .hero__copy { gap: 16px; padding-top: 24px; padding-bottom: 40px; }
  .hero__lead { font-size: 16px; }
}

/* вход первого экрана: одноразово, на вложенных элементах, чтобы не спорить
   с transform, которым скрипт управляет на самих блоках */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise 0.7s var(--ease-out) both; }
  .hero__copy > :nth-child(1) { animation-delay: 0.14s; }
  .hero__copy > :nth-child(2) { animation-delay: 0.2s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.26s; }
  .hero__word span { animation: rise 0.9s var(--ease-out) 0.04s both; }
}

/* ---------- цифры (обычный поток) ---------- */
.facts { padding: clamp(72px, 12vw, 120px) var(--gut); background: var(--bg); scroll-margin-top: var(--nav); }
.facts h2 {
  margin-bottom: clamp(32px, 5vw, 56px);
  font-weight: 500; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -0.03em;
}
.facts__list { display: grid; grid-template-columns: 1fr; gap: 40px 24px; }
.fact__value { font-weight: 500; font-size: clamp(40px, 11vw, 84px); line-height: 1; letter-spacing: -0.045em; white-space: nowrap; }
.fact__value b { font-weight: 500; color: var(--green); font-variant-numeric: tabular-nums; }
.fact--xl .fact__value { font-size: clamp(54px, 15vw, 150px); }
.fact__label { margin-top: 12px; max-width: 26ch; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.35; }
@media (min-width: 560px) {
  .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
  .fact--xl { grid-column: 1 / -1; }
  .fact__value { font-size: clamp(40px, 7vw, 84px); }
  .fact--xl .fact__value { font-size: clamp(64px, 13vw, 150px); }
}

/* ---------- «Творческий квартал» (обычный поток) ---------- */
.project { padding: clamp(72px, 12vw, 120px) var(--gut); background: var(--bg-2); scroll-margin-top: var(--nav); }
.corridor { display: grid; grid-template-columns: 1fr; gap: 40px; }
.plane img { width: 100%; height: auto; border-radius: 2px; }
.eyebrow { margin-bottom: 14px; font-size: 14px; font-weight: 500; color: var(--green); }
.plane--title h2 { font-weight: 500; font-size: clamp(34px, 5vw, 72px); line-height: 1; letter-spacing: -0.04em; }
.plane__lead { margin-top: 20px; max-width: 44ch; font-size: clamp(17px, 1.35vw, 20px); }
.plane__value { font-weight: 500; font-size: clamp(40px, 6vw, 88px); line-height: 1; letter-spacing: -0.045em; color: var(--green); white-space: nowrap; }
.plane__value--text { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.035em; white-space: normal; }
.plane__label { margin-top: 14px; max-width: 32ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.4; }
@media (min-width: 640px) {
  .corridor { grid-template-columns: 1fr 1fr; gap: 56px 32px; align-items: center; }
  .plane--title, .plane--wide, .plane--final { grid-column: 1 / -1; }
}

/* ---------- объекты команды (обычный поток) ---------- */
.refs { padding: clamp(72px, 12vw, 120px) var(--gut); background: var(--bg); scroll-margin-top: var(--nav); }
.corridor--refs { align-items: start; }
.plane--card { overflow: hidden; background: #fff; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
.plane--card > img { aspect-ratio: 734 / 285; object-fit: cover; border-radius: 0; }
.card__body { display: grid; gap: 22px; padding: 22px 22px 26px; }
.card__text h3 { font-weight: 500; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; letter-spacing: -0.03em; }
.card__text p { margin-top: 10px; font-size: 16px; line-height: 1.5; }
.card__stats { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.card__stats li { display: grid; gap: 4px; }
.card__stats b { font-weight: 500; font-size: clamp(24px, 2.2vw, 32px); line-height: 1; letter-spacing: -0.03em; color: var(--green); white-space: nowrap; }
.card__stats span { font-size: 14px; color: var(--muted); }
.card__stats--text b { font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -0.02em; }

/* ---------- полный цикл (обычный поток) ---------- */
.cycle { display: grid; gap: 44px; padding: clamp(72px, 12vw, 120px) var(--gut); background: var(--bg-2); scroll-margin-top: var(--nav); }
.cycle__head h2 { font-weight: 500; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.04em; }
.cycle__lead { margin-top: 18px; max-width: 44ch; font-size: clamp(17px, 1.35vw, 20px); }
.tunnel__rays { display: none; }
.tunnel__frames { border-bottom: 1px solid var(--line); }
.frame { padding: 16px 0 18px; border-top: 1px solid var(--line); }
.frame__box { display: none; }
.frame__text { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 8px; align-items: baseline; }
.frame__num { grid-row: 1 / span 2; font-size: 15px; font-weight: 500; color: var(--green); font-variant-numeric: tabular-nums; }
.frame h3 { font-weight: 500; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.15; letter-spacing: -0.025em; }
.frame p { grid-column: 2; margin-top: 4px; font-size: 16px; color: var(--muted); }
.tunnel__outro { margin-top: 32px; max-width: 30ch; font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.025em; }
.through__label { margin-bottom: 14px; font-size: 14px; font-weight: 500; color: var(--green); }
.through ul { display: grid; }
.through li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.through b { font-weight: 500; font-size: 17px; }
.through span { font-size: 15px; color: var(--muted); }
@media (min-width: 640px) { .through ul { grid-template-columns: 1fr 1fr; column-gap: 32px; } }

/* ---------- команда: спокойный блок в любом режиме ---------- */
.team { padding: clamp(80px, 11vw, 140px) var(--gut) clamp(72px, 10vw, 120px); background: var(--bg-2); scroll-margin-top: var(--nav); }
.team__head h2 { max-width: 13ch; font-weight: 500; font-size: clamp(34px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.045em; }
.site-wall { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "a d" "b c"; gap: 8px; margin-top: clamp(32px, 5vw, 64px); }
.site-wall img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 2px; }
.site-wall__a { grid-area: a; aspect-ratio: 3 / 4; object-position: 50% 30%; }
.site-wall__d { grid-area: d; aspect-ratio: 3 / 4; }
.site-wall__b { grid-area: b; aspect-ratio: 16 / 9; }
.site-wall__c { grid-area: c; aspect-ratio: 16 / 9; }
@media (min-width: 760px) {
  .site-wall { grid-template-columns: 1.15fr 1.5fr 0.85fr; grid-template-rows: 1fr 1fr; grid-template-areas: "a b d" "a c d"; height: clamp(320px, 36vw, 520px); }
  .site-wall img { aspect-ratio: auto; }
}
.team__group { margin-top: clamp(56px, 7vw, 96px); padding-top: 18px; border-top: 1px solid var(--line); font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; }
.leaders { display: grid; gap: 40px 24px; margin-top: 32px; }
.leader { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 20px; align-items: start; }
.leader img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: 2px; }
.leader h4 { font-weight: 500; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -0.03em; }
.leader__role { margin-top: 8px; font-size: 17px; line-height: 1.35; color: var(--muted); }
.leader__years { margin-top: 12px; font-size: 16px; font-weight: 500; color: var(--green); }
.leader ul { display: grid; gap: 8px; margin-top: 18px; font-size: 16px; line-height: 1.5; }
.people { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
.person { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: start; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: 2px; background: #e9e9e6; }
.person h4 { font-weight: 500; font-size: 19px; line-height: 1.2; letter-spacing: -0.02em; }
.person p { margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--muted); }
@media (min-width: 640px) { .people { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (min-width: 760px) {
  .leaders { grid-template-columns: 1fr 1fr; }
  .leader { grid-template-columns: clamp(140px, 15vw, 220px) minmax(0, 1fr); gap: 28px; }
}
@media (min-width: 1000px) {
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
  .person { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; }
}

/* появление блоков при обычной прокрутке (классы ставит site.js) */
.is-flow.has-reveal [data-fact],
.is-flow.has-reveal [data-plane],
.is-flow.has-reveal [data-frame],
.has-reveal [data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.is-flow.has-reveal [data-fact].is-in,
.is-flow.has-reveal [data-plane].is-in,
.is-flow.has-reveal [data-frame].is-in,
.has-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.leaders .leader:nth-child(2) { transition-delay: 0.06s; }
@media (min-width: 1000px) {
  .people .person:nth-child(3n + 2) { transition-delay: 0.06s; }
  .people .person:nth-child(3n) { transition-delay: 0.12s; }
}

/* широкий экран без пространственного режима («уменьшить движение», нет скрипта) */
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: end; min-height: 100svh; }
  .hero__visual { order: 2; height: 100svh; }
  .hero__copy { order: 1; padding-bottom: clamp(64px, 12vh, 120px); }
  .hero__word { top: 12vw; font-size: 7.7vw; }
  h1 { font-size: clamp(36px, 3.7vw, 58px); }
  .hero__lead { font-size: 18px; }
  .cycle { grid-template-columns: 5fr 6fr; column-gap: 48px; }
  .cycle__head, .through { grid-column: 1; }
  .tunnel { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- контакты ---------- */
.contacts { position: relative; z-index: 1; padding: clamp(88px, 12vw, 150px) var(--gut) 40px; background: var(--bg); scroll-margin-top: var(--nav); }
.contacts__inner { display: grid; gap: 48px; }
.contacts h2 { font-weight: 500; font-size: clamp(40px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.045em; }
.contacts__lead p { margin: 22px 0 30px; max-width: 34ch; font-size: clamp(17px, 1.4vw, 20px); }
.contacts__list > div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.contacts__list > div:last-child { border-bottom: 1px solid var(--line); }
.contacts__list dt { font-size: 14px; color: var(--muted); }
.contacts__list dd { font-size: clamp(17px, 1.4vw, 20px); }
.contacts__list a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contacts__legal { margin-top: 72px; font-size: 14px; color: var(--muted); }
@media (min-width: 640px) {
  .contacts__list > div { grid-template-columns: minmax(140px, 220px) 1fr; gap: 16px; align-items: baseline; }
}
@media (min-width: 900px) {
  .contacts__inner { grid-template-columns: 5fr 6fr; gap: 24px; align-items: start; }
}

/* ==========================================================================
   Пространственный режим. Сцена закреплена на экране, блоки лежат слоями,
   положение, масштаб и прозрачность каждому элементу пишет site.js.
   ========================================================================== */
.is-spatial .stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--bg); }

.is-spatial .hero { position: absolute; inset: 0; display: block; min-height: 0; }
.is-spatial .hero__visual { position: absolute; inset: 0; z-index: 2; height: auto; min-height: 0; overflow: visible; pointer-events: none; }
.is-spatial .hero__render { width: auto; aspect-ratio: auto; }
.is-spatial .hero__word { top: 0; }
.is-spatial .hero__tag { right: var(--gut); bottom: 28px; }
.is-spatial .hero__copy {
  position: absolute; z-index: 1; left: var(--gut); bottom: clamp(88px, 13vh, 140px);
  width: min(42vw, 700px); max-width: none; padding: 0;
}
.is-spatial .hero__fog { display: block; position: absolute; inset: 0; z-index: 3; background: var(--bg); opacity: 0; pointer-events: none; }
.is-spatial .hero__hint {
  display: flex; align-items: center; gap: 12px;
  position: absolute; z-index: 4; left: var(--gut); bottom: 28px;
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.hero__hint span { width: 1px; height: 28px; background: var(--ink); transform-origin: top; animation: hint 1.9s var(--ease-in-out) infinite; }
@keyframes hint {
  0% { transform: scaleY(0); opacity: 1; }
  55% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.is-spatial .facts {
  position: absolute; inset: 0; z-index: 5; visibility: hidden; pointer-events: none;
  display: grid; grid-template-rows: auto 1fr;
  padding: calc(var(--nav) + 5vh) var(--gut) 8vh; background: none;
}
.is-spatial .facts h2 { margin-bottom: 0; }
.is-spatial .facts__list {
  grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto;
  gap: 11vh 24px; align-content: center; align-items: end;
}
.is-spatial .fact { grid-column: span 4; }
.is-spatial .fact--xl { grid-column: 1 / span 8; }
.is-spatial .fact:nth-child(2) { grid-column: 9 / span 4; }
.is-spatial .fact__value { font-size: clamp(38px, 4.7vw, 82px); }
.is-spatial .fact--xl .fact__value { font-size: clamp(72px, 11.4vw, 190px); }
.is-spatial .fact--xl .fact__label { font-size: clamp(17px, 1.5vw, 22px); }

.is-spatial .project { position: absolute; inset: 0; z-index: 6; visibility: hidden; pointer-events: none; padding: 0; background: none; }
.is-spatial .corridor { position: absolute; inset: 0; display: block; }
.is-spatial .plane { position: absolute; left: 50%; top: 50%; width: var(--w); opacity: 0; transform: translate(-50%, -50%); }
.is-spatial .plane--title { --w: min(42vw, 600px); }
.is-spatial .plane--fact { --w: min(34vw, 480px); }
.is-spatial .plane--img { --w: min(40vw, 600px); }
.is-spatial .plane--tall { --w: min(25vw, 370px); }
.is-spatial .plane--final { --w: min(78vw, calc((100vh - 190px) * 1.587)); }
.is-spatial .plane--img img { box-shadow: 0 30px 60px -32px rgba(27, 27, 26, 0.38); }

/* сцена 2: объекты команды */
.is-spatial .refs { position: absolute; inset: 0; padding: 0; background: none; }
.is-spatial .plane--card { --w: min(52vw, 760px); box-shadow: 0 0 0 1px var(--line), 0 34px 70px -36px rgba(27, 27, 26, 0.4); }
.is-spatial .card__body { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 36px; padding: 26px 30px 30px; }
.is-spatial .card__stats { flex-direction: column; flex-wrap: nowrap; gap: 16px; min-width: 150px; }

/* сцена 3: полный цикл */
.is-spatial .cycle { position: absolute; inset: 0; display: block; padding: 0; background: none; }
.is-spatial .cycle__head { position: absolute; left: var(--gut); top: calc(var(--nav) + 6vh); width: min(28vw, 380px); }
.is-spatial .cycle__head h2 { font-size: clamp(28px, 2.7vw, 40px); }
.is-spatial .cycle__lead { font-size: 16px; }
.is-spatial .through { position: absolute; left: var(--gut); bottom: 7vh; width: min(28vw, 380px); }
.is-spatial .through ul { grid-template-columns: 1fr; }
.is-spatial .through li { padding: 10px 0; }
.is-spatial .tunnel { position: absolute; inset: 0; pointer-events: none; }
.is-spatial .tunnel__rays { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.tunnel__rays line { stroke: var(--ink); stroke-opacity: 0.2; stroke-width: 1; }
.is-spatial .tunnel__frames { border: 0; }
.is-spatial .frame {
  position: absolute; left: var(--cx); top: var(--cy); width: var(--fw); height: var(--fh);
  padding: 0; border: 0; opacity: 0; transform: translate(-50%, -50%);
}
.is-spatial .frame__box { display: block; position: absolute; inset: 0; border: 1.5px solid var(--ink); }
.is-spatial .frame__text { position: absolute; left: 9%; right: 9%; top: 50%; display: block; transform: translateY(-50%); }
.is-spatial .frame__num { display: block; margin-bottom: 16px; font-size: 16px; }
.is-spatial .frame h3 { font-size: clamp(32px, 4.2vw, 66px); line-height: 1; letter-spacing: -0.04em; }
.is-spatial .frame p { margin-top: 14px; font-size: clamp(17px, 1.5vw, 22px); color: var(--ink); }
.is-spatial .tunnel__outro {
  position: absolute; left: var(--cx); top: var(--cy); width: calc(var(--fw) * 0.86); max-width: none;
  margin: 0; opacity: 0; transform: translate(-50%, -50%);
  font-size: clamp(24px, 2.7vw, 42px); line-height: 1.1; letter-spacing: -0.035em;
}
@media (max-height: 700px) { .is-spatial .cycle__lead { display: none; } }
@media (max-height: 640px) { .is-spatial .through span { display: none; } }
