/* Hype House — дизайн-система.
   Идея: дом, где всё время идёт эфир. Монохром «кость / чернила», единственный
   цвет — красный огонёк ON AIR, и только там, где он что-то значит: запись,
   выход в эфир. Ноль скруглений, волосяные линии вместо рамок, узкий гротеск
   прописными, моно для меток и цифр. Фото — вспышка, а не граффити и стекло. */

/* ---------- шрифты ---------- */
@font-face {
  font-family: "Sofia XC";
  src: url("../fonts/hh-sofia.woff2") format("woff2");
  font-weight: 1 1000;
  font-display: swap;
}
@font-face {
  font-family: "Golos";
  src: url("../fonts/hh-golos.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/hh-plex-r.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/hh-plex-m.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* ---------- токены ---------- */
:root {
  --bone: #f2f0eb;
  --bone-2: #e9e6df;
  --ink: #0a0a0a;
  --ink-2: #34332f;
  --ink-3: #75736d;
  --ink-4: #a9a69f;
  --rule: rgba(10, 10, 10, .16);
  --rule-inv: rgba(242, 240, 235, .16);
  --red: #ff2e1f;

  --f-display: "Sofia XC", "Arial Narrow", sans-serif;
  --f-text: "Golos", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Plex Mono", ui-monospace, monospace;

  --gut: max(16px, 4vw);
  --shell: min(1560px, 100vw - var(--gut) * 2);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 64px;
}

/* ---------- сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font: 400 16px/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--ink); color: var(--bone); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.shell { width: var(--shell); margin-inline: auto; }

/* ---------- типографика ---------- */
.label {
  font: 500 11px/1.4 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.h1, .h2, .h3, .mast {
  font-family: var(--f-display);
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .86;
}
.h1 { font-size: clamp(3rem, 7.4vw, 8.4rem); }
.h2 { font-size: clamp(2.4rem, 4.6vw, 5rem); }
.h3 { font-size: clamp(1.7rem, 2.5vw, 2.7rem); line-height: .92; }
/* У кириллицы выше надстрочные: на .86 «Й» и «Ё» упираются в строку сверху. */
:lang(ru) .h1, :lang(uk) .h1, :lang(ru) .h2, :lang(uk) .h2, :lang(ru) .h3, :lang(uk) .h3 { line-height: .94; }
.lede { font-size: clamp(1.05rem, .55vw + .9rem, 1.32rem); line-height: 1.5; max-width: 46ch; }
.lede--mute { color: var(--ink-3); }

/* ---------- огонёк ON AIR ---------- */
.dot {
  display: inline-block;
  width: .62em; height: .62em;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.dot--blink { animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
@media (prefers-reduced-motion: reduce) { .dot--blink { animation: none; } }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 22px;
  font: 500 11.5px/1 var(--f-mono);
  letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn .dot { width: 7px; height: 7px; }
.btn--live { background: var(--ink); color: var(--bone); }
.btn--live:hover { background: var(--ink-2); }
.btn--bone { background: var(--bone); color: var(--ink); }
.btn--bone:hover { background: #fff; }
.btn--line { padding: 0; height: auto; gap: 14px; color: var(--ink); }
.btn--line span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 5px; transition: background-size .4s var(--ease); }
.btn--line:hover span { background-size: 0 1px; background-position: 100% 100%; }
.btn--line svg { transition: transform .4s var(--ease); }
.btn--line:hover svg { transform: translateX(5px); }

/* ---------- шапка ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  background: rgba(242, 240, 235, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--rule);
  transition: transform .45s var(--ease);
}
.nav--hidden { transform: translateY(-100%); }
.nav__bar { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__brand { display: block; }
.nav__brand img { height: 25px; width: auto; }
.nav__links { display: flex; gap: clamp(16px, 2.2vw, 34px); margin-left: auto; }
.nav__links a {
  font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--ease), color .2s;
}
.nav__links a:hover { color: var(--ink); background-size: 100% 1px; }
.nav__side { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; }
.lang button {
  font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em;
  color: var(--ink-4); padding: 8px 6px;
  transition: color .2s;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }
.nav__cta { height: 40px; padding: 0 18px; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 23px; }
.nav--open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav--open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 40;
  background: var(--bone);
  padding-top: calc(var(--nav-h) + 24px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.drawer--open { opacity: 1; visibility: visible; }
.drawer__in { display: grid; }
.drawer__in a {
  font: 820 clamp(2.6rem, 13vw, 4.2rem)/1 var(--f-display);
  text-transform: uppercase;
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--rule);
}

/* ---------- герой ---------- */
.hero { position: relative; height: 230vh; }
.hero__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  padding: calc(var(--nav-h) + clamp(14px, 2.4vh, 28px)) 0 clamp(16px, 2.6vh, 30px);
  display: flex;
}
.hero__grid {
  display: grid;
  /* Колонка жёстко по ширине сетки: иначе кадр с aspect-ratio на телефоне
     берёт ширину от растянутой высоты строки и распирает страницу. */
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: clamp(10px, 1.8vh, 20px);
  min-height: 0;
}
.hero__top { display: flex; justify-content: space-between; gap: 20px; }
.rec { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-variant-numeric: tabular-nums; }
.rec .dot { width: 8px; height: 8px; }

/* Имя набирается на всю ширину сетки: ширина «HYPE HOUSE» в этом шрифте —
   4.05 кегля вместе с трекингом, отсюда делитель. */
.mast {
  font-size: min(calc(var(--shell) / 4.06), 384px);
  line-height: .7;
  white-space: nowrap;
  margin-left: -.02em;
  padding-top: .04em;
}
.mast span { display: block; }

.hero__frame { position: relative; min-height: 0; }
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 58%;
  /* Края кадра растворяются в бумаге: жёсткий срез выдаёт вставку. */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent, #000 16%, #000 80%, transparent),
    linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent, #000 16%, #000 80%, transparent),
    linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
  mask-composite: intersect;
}

/* Метки видоискателя: не рамка, а четыре угла кадрирования. */
.vf { position: absolute; width: 18px; height: 18px; pointer-events: none; z-index: 2; }
.vf::before, .vf::after { content: ""; position: absolute; background: currentColor; }
.vf::before { width: 100%; height: 1.5px; }
.vf::after { width: 1.5px; height: 100%; }
.vf--tl { top: 10px; left: 10px; }
.vf--tr { top: 10px; right: 10px; transform: scaleX(-1); }
.vf--bl { bottom: 10px; left: 10px; transform: scaleY(-1); }
.vf--br { bottom: 10px; right: 10px; transform: scale(-1); }

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px 40px;
}
.hero__lines { position: relative; min-height: 3.1em; font-size: clamp(1.02rem, .5vw + .85rem, 1.3rem); line-height: 1.38; max-width: 40ch; }
.hero__line {
  position: absolute; left: 0; bottom: 0;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.hero__line[data-on] { opacity: 1; transform: none; }
.hero__stats { display: grid; grid-template-columns: repeat(3, auto); }
.hero__stats > div { padding: 0 clamp(16px, 2vw, 30px); box-shadow: -1px 0 0 var(--rule); }
.hero__stats > div:first-child { box-shadow: none; padding-left: 0; }
.hero__stats > div:last-child { padding-right: 0; }
.hero__stats dt { white-space: nowrap; }
.hero__stats dd { font: 820 clamp(2rem, 3.2vw, 3.3rem)/1 var(--f-display); margin-top: 8px; }
.hero__scroll { display: none; }

/* ---------- бегущая строка ---------- */
.ticker { background: var(--ink); color: var(--bone); overflow: hidden; padding: 16px 0; }
.ticker__track { display: flex; width: max-content; animation: slide 52s linear infinite; }
.ticker__track > div { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.ticker span { font: 820 clamp(1.4rem, 2.2vw, 2.1rem)/1 var(--f-display); text-transform: uppercase; white-space: nowrap; letter-spacing: .01em; }
.ticker .dot { width: 8px; height: 8px; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- секции ---------- */
.sec { padding: clamp(80px, 11vw, 170px) 0; }
.sec--tight { padding: clamp(30px, 4vw, 60px) 0; }
.sec--flush { padding-top: 0; }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 26px; margin-bottom: clamp(36px, 5vw, 80px); }
.head .label { margin-bottom: 22px; }
.head__sub { max-width: 36ch; }

/* манифест */
.man { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(30px, 5vw, 90px); align-items: end; }
.man__head .label { margin-bottom: 26px; }
.man__body { display: grid; gap: 22px; justify-items: start; }
.strike { position: relative; display: inline-block; color: var(--ink-4); }
.strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 46%;
  height: .07em; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s .25s var(--ease);
}
.strike[data-on]::after { transform: none; }
html:not(.js) .strike::after { transform: none; }

.plates { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(10px, 1.4vw, 24px); align-items: end; margin-top: clamp(60px, 8vw, 130px); }
.plate { overflow: hidden; background: var(--bone-2); aspect-ratio: 1; }
.plate--wide { aspect-ratio: 5 / 4; }
.plate img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.plate:hover img { transform: scale(1.03); }

/* цифры */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: 0 -1px 0 var(--rule), 0 1px 0 var(--rule); }
.stat { padding: clamp(26px, 3vw, 46px) clamp(14px, 2vw, 30px); box-shadow: -1px 0 0 var(--rule); }
.stat:first-child { box-shadow: none; padding-left: 0; }
.stat__n { font: 820 clamp(3.4rem, 8vw, 8.6rem)/.84 var(--f-display); font-variant-numeric: tabular-nums; margin-bottom: 16px; }

/* услуги: оглавление, а не плитка */
.index { box-shadow: 0 -1px 0 var(--rule); }
.row {
  position: relative;
  display: grid; grid-template-columns: 5fr 6fr; gap: 20px 40px; align-items: baseline;
  padding: clamp(20px, 2.2vw, 32px) 0;
  box-shadow: 0 1px 0 var(--rule);
  transition: color .35s var(--ease), padding .45s var(--ease);
}
.row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gut) * -.5);
  background: var(--ink);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease);
  z-index: -1;
}
.row h3 { font: 820 clamp(1.7rem, 2.8vw, 3rem)/.92 var(--f-display); text-transform: uppercase; display: flex; align-items: center; gap: 14px; }
.row h3::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; transform: scale(0); transition: transform .35s var(--ease); margin-left: -23px; }
.row p { color: var(--ink-3); max-width: 52ch; transition: color .35s var(--ease); }
.index { position: relative; z-index: 0; }
@media (hover: hover) {
  .row:hover { color: var(--bone); padding-left: 23px; }
  .row:hover::before { transform: none; }
  .row:hover h3::before { transform: none; }
  .row:hover p { color: rgba(242, 240, 235, .64); }
}

/* каналы: закреплённая сцена, по скроллу горит один пункт */
.walk { position: relative; height: 330vh; background: var(--ink); color: var(--bone); }
.walk__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: var(--nav-h); }
.walk__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.walk .label { color: rgba(242, 240, 235, .45); margin-bottom: 30px; }
.walk__row { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 4px 0; }
.walk__row h3 {
  grid-column: 2;
  font: 820 clamp(2.4rem, 5vw, 5.4rem)/.9 var(--f-display); text-transform: uppercase;
  color: rgba(242, 240, 235, .2);
  transition: color .4s var(--ease);
}
.walk__row::before { content: ""; grid-row: 1; width: 10px; height: 10px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .35s var(--ease); }
.walk__row p {
  grid-column: 2;
  max-height: 0; overflow: hidden; opacity: 0;
  color: rgba(242, 240, 235, .62); max-width: 40ch;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .5s var(--ease);
}
.walk__row[data-on] h3 { color: var(--bone); }
.walk__row[data-on]::before { transform: none; }
.walk__row[data-on] p { max-height: 6em; opacity: 1; margin: 10px 0 14px; }
.walk__media { position: relative; aspect-ratio: 1; max-height: calc(100svh - var(--nav-h) - 80px); justify-self: end; width: 100%; overflow: hidden; color: var(--bone); }
.walk__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform .2s linear; }

/* кейсы */
.cases { display: grid; gap: clamp(60px, 8vw, 130px); }
.case { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(26px, 4vw, 70px); align-items: end; }
.case--flip .case__img { order: 2; }
.case__img { position: relative; overflow: hidden; aspect-ratio: 5 / 4; background: var(--bone-2); }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.case:hover .case__img img { transform: scale(1.03); }
.case__body { display: grid; gap: 22px; padding-bottom: 4px; }
.case__res { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; box-shadow: 0 -1px 0 var(--rule); }
.case__res > div { padding: 18px 12px 0; box-shadow: -1px 0 0 var(--rule); }
.case__res > div:first-child { box-shadow: none; padding-left: 0; }
.case__res dd { font: 820 clamp(2rem, 3vw, 3.2rem)/1 var(--f-display); margin-bottom: 10px; }

/* вертикали */
.verts { margin-top: 24px; font: 820 clamp(2rem, 4.4vw, 4.6rem)/.98 var(--f-display); text-transform: uppercase; color: var(--ink-4); }
.verts span { transition: color .25s; }
.verts span:not(:last-child)::after { content: " /"; color: var(--rule); }
.verts span:hover { color: var(--ink); }

/* процесс */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(30px, 4vw, 60px); box-shadow: 0 -1px 0 var(--rule); }
.step { padding: 22px clamp(12px, 1.4vw, 22px) 0; box-shadow: -1px 0 0 var(--rule); display: grid; align-content: start; gap: 12px; }
.step:first-child { box-shadow: none; padding-left: 0; }
.step__n { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; color: var(--ink-3); margin-bottom: 20px; }
.step h3 { font: 820 clamp(1.4rem, 1.8vw, 1.9rem)/.95 var(--f-display); text-transform: uppercase; }
.step p:last-child { color: var(--ink-3); font-size: .95rem; }

/* калькулятор */
.calc { display: grid; grid-template-columns: 5fr 6fr; background: var(--bone-2); }
.calc__controls { display: grid; gap: 34px; align-content: start; padding: clamp(24px, 3.4vw, 56px); }
.field { display: grid; gap: 14px; }
.field__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field__val { font: 820 clamp(2rem, 3vw, 3rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--p, 30%), var(--ink-4) var(--p, 30%)); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--ink-4); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; background: var(--ink); border: 0; border-radius: 0; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; background: var(--ink); border: 0; border-radius: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button {
  height: 38px; padding: 0 14px;
  font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); background: rgba(10, 10, 10, .05);
  transition: background .25s, color .25s;
}
.seg button:hover { background: rgba(10, 10, 10, .1); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; background: var(--bone); margin: 8px; }
.cell { padding: clamp(20px, 2.6vw, 40px); display: grid; align-content: space-between; gap: 30px; min-height: 170px; box-shadow: inset 1px 0 0 var(--rule), inset 0 1px 0 var(--rule); }
.cell:nth-child(-n+2) { box-shadow: inset 1px 0 0 var(--rule); }
.cell:nth-child(odd) { box-shadow: inset 0 1px 0 var(--rule); }
.cell:first-child { box-shadow: none; }
.cell__n { font: 820 clamp(2.6rem, 4.6vw, 5rem)/.9 var(--f-display); font-variant-numeric: tabular-nums; }
.cell--ink { background: var(--ink); color: var(--bone); box-shadow: none !important; }
.cell--ink .label { color: rgba(242, 240, 235, .5); }

/* события */
.events { margin-top: 22px; box-shadow: 0 -1px 0 var(--rule); }
.event { display: grid; grid-template-columns: 1fr 14ch 18ch; gap: 20px; align-items: baseline; padding: 20px 0; box-shadow: 0 1px 0 var(--rule); }
.event h3 { font: 820 clamp(1.8rem, 3vw, 3rem)/1 var(--f-display); text-transform: uppercase; }
.event .label:last-child { text-align: right; color: var(--ink); }

/* контакт */
.contact { background: var(--ink); color: var(--bone); padding: clamp(80px, 10vw, 160px) 0 clamp(60px, 7vw, 110px); }
.contact .label { color: rgba(242, 240, 235, .45); }
.contact__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 110px); }
.contact .h1 { margin-top: 26px; font-size: clamp(2.8rem, 5.6vw, 6.4rem); }
.chan { margin-top: clamp(30px, 4vw, 60px); box-shadow: 0 -1px 0 var(--rule-inv); }
.chan a { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; box-shadow: 0 1px 0 var(--rule-inv); transition: padding .35s var(--ease); }
.chan a > span { display: grid; gap: 4px; }
.chan strong { font: 820 1.6rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.chan a:hover { padding-left: 10px; }
.form { display: grid; gap: 26px; align-content: start; padding-top: 6px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.inp { display: grid; gap: 10px; }
.inp > span { font: 500 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(242, 240, 235, .45); }
.inp input, .inp select, .inp textarea {
  width: 100%; font: 400 1.05rem/1.4 var(--f-text); color: var(--bone);
  background: transparent; border: 0; border-bottom: 1px solid rgba(242, 240, 235, .22); border-radius: 0;
  padding: 8px 0 12px; outline: none; transition: border-color .25s;
}
.inp select { -webkit-appearance: none; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23F2F0EB' stroke-width='1.3' fill='none'/%3E%3C/svg%3E") right 2px center no-repeat; }
.inp select option { background: #161616; }
.inp textarea { resize: vertical; min-height: 90px; }
.inp input::placeholder, .inp textarea::placeholder { color: rgba(242, 240, 235, .28); }
.inp input:focus, .inp select:focus, .inp textarea:focus { border-color: var(--bone); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 6px; }
.form__note { font-size: .9rem; color: rgba(242, 240, 235, .55); }

/* подвал */
.foot { background: var(--ink); color: rgba(242, 240, 235, .6); padding-bottom: 28px; }
.foot .label { color: rgba(242, 240, 235, .38); }
.foot__top { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr; gap: 40px; padding: 60px 0; box-shadow: 0 -1px 0 var(--rule-inv); }
.foot__blurb { max-width: 30ch; color: var(--bone); }
.foot h4 { margin-bottom: 16px; }
.foot li { margin: 8px 0; }
.foot a { transition: color .2s; }
.foot a:hover { color: var(--bone); }
.foot__word { width: 100%; height: auto; opacity: .96; }
.foot__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; }
.foot__bottom span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.foot__bottom .dot { width: 7px; height: 7px; }

/* ---------- появление ---------- */
.js .rise { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rise[data-on] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rise { opacity: 1; transform: none; transition: none; } }

/* ---------- планшет ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__side { margin-left: auto; }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .step:nth-child(4) { box-shadow: none; padding-left: 0; }
  .foot__top { grid-template-columns: 1fr 1fr; }
}

/* ---------- телефон: отдельная раскладка, не сжатая десктопная ---------- */
@media (max-width: 760px) {
  :root { --nav-h: 58px; }
  .nav__cta { display: none; }
  .lang button { padding: 8px 5px; }
  .hero { height: auto; }
  .hero__stage { position: relative; height: auto; padding-bottom: 56px; }
  .hero__grid { grid-template-rows: auto auto auto auto; align-content: start; gap: 22px; }
  .hero__top { flex-direction: column; gap: 10px; }
  .hero__frame { aspect-ratio: 4 / 3.4; margin-inline: calc(var(--gut) * -1); }
  .hero__video { object-position: 46% 60%; }
  .hero__lines { min-height: 0; }
  .hero__line { position: static; display: none; transform: none; }
  .hero__line[data-on] { display: block; }
  .hero__stats > div { padding: 0 10px; }
  .hero__stats dt { white-space: normal; font-size: 9.5px; }
  .hero__stats dd { font-size: 1.9rem; }
  .man, .walk__grid, .case, .calc, .contact__grid { grid-template-columns: 1fr; }
  .plates { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { box-shadow: 0 -1px 0 var(--rule); padding-left: 0; }
  .stat:nth-child(4) { box-shadow: -1px 0 0 var(--rule), 0 -1px 0 var(--rule); }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .walk { height: auto; }
  .walk__stage { position: relative; height: auto; padding: 90px 0; }
  .walk__row { padding: 10px 0; box-shadow: 0 1px 0 var(--rule-inv); }
  .walk__row h3 { color: var(--bone); font-size: 2.6rem; }
  .walk__row::before { transform: none; }
  .walk__row p { max-height: none; opacity: 1; margin: 8px 0 4px; }
  .walk__media { order: -1; max-height: none; }
  .walk__media img { transform: none; }
  .case--flip .case__img { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { box-shadow: 0 1px 0 var(--rule); padding: 18px 0; }
  .step:first-child { box-shadow: 0 1px 0 var(--rule); }
  .step__n { margin-bottom: 4px; }
  .calc__out { margin: 0; }
  .event { grid-template-columns: 1fr auto; }
  .event .label:nth-child(2) { grid-row: 2; }
  .event .label:last-child { grid-row: 2; }
  .form__row { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; gap: 30px; }
  .foot__bottom { flex-direction: column; }
}
