/* Korposh Menu — landing. Direction: "the sentence is the layout". Mobile-first. */

:root {
  /* Бренд */
  --bg: #0B0B0B;
  --surface: #151515;
  --surface-2: #1E1E1E;
  --accent: #F5BE2A;
  --accent-strong: #FFCC45;
  --ink: #F5F1E8;
  --muted: #B3ADA3;
  --on-accent: #0B0B0B;

  /* Розміри шрифту: п'ять кроків */
  --s-display: clamp(52px, 9.5vw, 150px);
  --s-h2: clamp(36px, 5.2vw, 80px);
  --s-lead: clamp(22px, 2.1vw, 30px);
  --s-body: 18px;
  --s-small: 15px;

  --m: clamp(16px, 3vw, 40px);
  --gap-section: clamp(112px, 12vw, 200px);
  --r: 20px;
  --pill: 999px;
  --header-h: 64px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--s-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
[data-theme="accent"] :focus-visible { outline-color: var(--on-accent); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--m);
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  border-radius: var(--pill);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { padding: 0 var(--m); }

/* ---------- Теми розділів (колір за розділом) ---------- */
[data-theme="dark"]    { background: var(--bg); color: var(--ink); }
[data-theme="surface"] { background: var(--surface); color: var(--ink); }
[data-theme="accent"]  { background: var(--accent); color: var(--on-accent); }

/* ---------- Типографіка ---------- */
.h2 {
  font-size: var(--s-h2);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.lead {
  font-size: var(--s-lead);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--pill);
  font: inherit;
  font-size: var(--s-body);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: var(--s-small); }
.btn--wide { min-width: 250px; }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--dark { background: var(--bg); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: var(--accent-strong); }
  .btn--dark:hover { background: #2A2A2A; }
}

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color 300ms ease, color 300ms ease;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
  padding: 0 var(--m);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-right: auto;
  font-weight: 900;
  font-size: 17px;
  text-decoration: none;
}
.brand img { border-radius: 50%; }

.nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  flex-direction: column;
  padding: 8px var(--m) 24px;
  background: inherit;
  background-color: var(--bg);
  color: var(--ink);
}
.header[data-theme="accent"] .nav { background-color: var(--accent); color: var(--on-accent); }
.header[data-theme="surface"] .nav { background-color: var(--surface); }
.nav.is-open { display: flex; }
.nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: var(--s-lead);
  font-weight: 800;
  text-decoration: none;
}

.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 0 6px;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: var(--s-small);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}

.header[data-theme="accent"] .header__cta { background: var(--bg); color: var(--ink); }

@media (max-width: 420px) {
  .brand span { display: none; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 4px;
    padding: 0;
    background: none !important;
    color: inherit;
  }
  .nav a {
    min-height: 44px;
    padding: 0 12px;
    font-size: var(--s-small);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 0.3em;
    transition: text-decoration-color var(--t-hover) ease;
  }
  .nav a:hover { text-decoration-color: currentColor; }
}

/* ---------- Перший екран ---------- */
.hero {
  --seam: 46vh;
  --seam: 46svh;
  position: relative;
  height: max(112vh, 720px);
  height: max(112svh, 720px);
  overflow: hidden;
}
.hero__field {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: var(--seam);
  background: var(--accent);
}
.hero__title {
  --cut: 1.16em;
  position: absolute;
  left: var(--m); right: var(--m);
  top: calc(var(--seam) - var(--cut));
  font-size: min(13vw, 200px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-align: center;
}
.hero__copy { display: block; }
.hero__copy--top {
  position: relative;
  color: var(--accent);
  clip-path: inset(0 0 calc(100% - var(--cut)) 0);
}
.hero__copy--bottom {
  position: absolute;
  inset: 0;
  color: var(--on-accent);
  clip-path: inset(var(--cut) 0 0 0);
}
.hero__line { display: block; white-space: nowrap; }

/* Слот у реченні: живий рядок меню */
.slot {
  position: relative;
  display: inline-block;
  width: 2.6em;
  height: 0.72em;
  margin-left: 0.08em;
  vertical-align: baseline;
  overflow: hidden;
  border-radius: 0.12em;
  background: var(--ink);
  color: var(--on-accent);
  letter-spacing: 0;
  text-align: left;
}
.slot--ghost { visibility: hidden; }
.slot__img {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0.72em;
  height: 100%;
  object-fit: cover;
  object-position: 50% 78%;
}
.slot__text {
  position: absolute;
  left: 0.84em; right: 0.1em; top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.03em;
}
.slot__dish {
  font-size: max(14px, 0.17em);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: opacity 260ms ease, transform 420ms var(--ease-out);
}
.slot__meta {
  font-size: max(13px, 0.12em);
  font-weight: 600;
  line-height: 1.2;
  color: #4A463F;
  white-space: nowrap;
}
.slot.is-swapping .slot__dish { opacity: 0; transform: translateY(0.12em); }

.hero__foot {
  position: absolute;
  left: var(--m); right: var(--m);
  bottom: calc(12vh + 40px);
  bottom: calc(12svh + 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: var(--on-accent);
  text-align: center;
}
.hero__lead {
  max-width: 30ch;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

@media (min-width: 768px) {
  .hero { --seam: 50vh; --seam: 50svh; }
  .hero__foot { bottom: calc(12vh + 56px); bottom: calc(12svh + 56px); gap: 24px; }
  .hero__lead { max-width: 44ch; font-size: 20px; }
}

/* ---------- Паперове меню ---------- */
.intro { padding: var(--gap-section) 0; }
.statement {
  max-width: 42ch;
  margin-top: 40px;
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.thumb {
  display: inline-block;
  width: 1.15em;
  height: 0.85em;
  margin: 0 0.12em;
  vertical-align: -0.1em;
  overflow: hidden;
  border-radius: 0.14em;
  background: var(--surface);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.pains {
  display: grid;
  gap: 40px;
  margin-top: 72px;
}
.pains p { margin-top: 12px; max-width: 32ch; }
@media (min-width: 640px) {
  .pains { grid-template-columns: repeat(2, 1fr); column-gap: 32px; row-gap: 56px; }
}
@media (min-width: 1100px) {
  .pains { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Що ви отримуєте ---------- */
.features { padding: var(--gap-section) 0; }
.features__title { margin-bottom: 72px; }
.row {
  display: grid;
  gap: 24px;
}
.row + .row { margin-top: 72px; }
.row__text p { margin-top: 12px; max-width: 36ch; }
.row__media figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--s-small);
}
.frame {
  overflow: hidden;
  border-radius: var(--r);
  background: var(--surface-2);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--3x2 { aspect-ratio: 3 / 2; }
.frame--1x1 { aspect-ratio: 1 / 1; }
.row__media--a { width: 70%; justify-self: end; }
.row__media--c { width: 85%; }
.row__media--d { width: min(62%, 300px); justify-self: end; }
.row__media--phone { justify-self: center; width: 100%; max-width: 340px; }

/* Одна страва трьома мовами (фрагмент інтерфейсу) */
.langs {
  overflow: hidden;
  background: var(--bg);
  border-radius: var(--r);
}
.langs__photo { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 55%; }
.langs__list { display: grid; gap: 6px; padding: 12px; }
.langs__list li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface);
  border-radius: 14px;
  color: var(--muted);
  font-size: var(--s-small);
  line-height: 1.35;
}
.langs__list b { display: block; color: var(--ink); font-weight: 700; }
.langs__code { color: var(--accent); font-weight: 800; }
.langs__price { color: var(--accent); font-weight: 800; white-space: nowrap; }

@media (min-width: 900px) {
  .features__title { margin-left: 33.333%; margin-bottom: 120px; }
  .row {
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    align-items: start;
  }
  .row + .row { margin-top: 120px; }
  .row__text { grid-column: 5 / span 4; }
  .row__media { grid-column: 9 / -1; justify-self: end; }
  .row__media--a { width: 260px; }
  .row__media--b { width: 100%; max-width: 440px; }
  .row__media--c { width: 100%; max-width: 380px; }
  .row__media--d { width: 240px; }
  .row__media--phone { width: 340px; max-width: none; }
}

/* QR-табличка (намальована) */
.qr-card {
  padding: 24px;
  background: var(--ink);
  color: var(--on-accent);
  border-radius: var(--r);
}
.qr-card svg { width: 100%; height: auto; border-radius: 6px; }
.qr-card__label { margin-top: 14px; font-size: var(--s-small); font-weight: 700; text-align: center; }

/* ---------- Демо-телефон (фрагмент інтерфейсу) ---------- */
.phone {
  padding: 10px;
  background: #222;
  border-radius: 40px;
}
.phone__screen {
  min-height: 440px;
  padding: 28px 16px 20px;
  background: var(--bg);
  color: var(--ink);
  border-radius: 31px;
}
.dm-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.dm-name { font-size: 22px; font-weight: 900; line-height: 1.1; }
.dm-sub { margin-top: 4px; color: var(--muted); font-size: 13px; }
.dm-lang {
  display: flex;
  padding: 3px;
  background: var(--surface);
  border-radius: var(--pill);
}
.dm-lang button,
.dm-cats button {
  min-height: 44px;
  border: 0;
  border-radius: var(--pill);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.dm-lang button:active, .dm-cats button:active { transform: scale(0.95); }
.dm-lang button { min-width: 44px; padding: 0 6px; background: transparent; color: var(--muted); }
.dm-lang button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }

.dm-cats { display: flex; gap: 6px; margin: 18px 0 14px; }
.dm-cats button { padding: 0 14px; background: var(--surface); color: var(--muted); white-space: nowrap; }
.dm-cats button[aria-pressed="true"] { background: var(--ink); color: var(--on-accent); }
@media (hover: hover) and (pointer: fine) {
  .dm-lang button:hover, .dm-cats button:hover { color: var(--ink); }
  .dm-lang button[aria-pressed="true"]:hover, .dm-cats button[aria-pressed="true"]:hover { color: var(--on-accent); }
}

.dm-list { display: grid; gap: 8px; }
.dm-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px;
  background: var(--surface);
  border-radius: 16px;
  animation: dm-in 360ms var(--ease-out) both;
}
.dm-item--text { grid-template-columns: 1fr auto; padding: 14px; }
.dm-photo { width: 60px; height: 60px; object-fit: cover; border-radius: 10px; }
.dm-dish { font-size: 15px; font-weight: 700; line-height: 1.25; }
.dm-desc { margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.dm-price { color: var(--accent); font-size: 15px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
@keyframes dm-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Як це працює ---------- */
.how { padding: var(--gap-section) 0; }
.stairs { display: grid; gap: 44px; margin-top: 64px; }
.stairs li { margin-left: calc(var(--i, 0) * 4vw); }
.stairs__line {
  font-size: clamp(30px, 4.4vw, 68px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.stairs p { margin-top: 12px; max-width: 40ch; font-weight: 500; }
.stairs li:nth-child(1) { --i: 0; }
.stairs li:nth-child(2) { --i: 1; }
.stairs li:nth-child(3) { --i: 2; }
.stairs li:nth-child(4) { --i: 3; }
.stairs li:nth-child(5) { --i: 4; }
@media (min-width: 900px) {
  .stairs { gap: 56px; margin-top: 88px; }
  .stairs li { margin-left: calc(var(--i, 0) * 8.333%); }
}

/* ---------- Про мене ---------- */
.about { padding: 10px 10px 0; }
.about__panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 20px 0;
  background: var(--surface);
  border-radius: var(--r);
}
.about__title {
  font-size: clamp(36px, 8.5vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
}
.about__text { display: grid; gap: 32px; }
.about__text > div { max-width: 40ch; }
.about__sub { font-size: var(--s-lead); font-weight: 800; line-height: 1.2; }
.about__text p { margin-top: 10px; color: var(--muted); }
.about__text .btn { justify-self: start; }

/* Фото в арці: форма купола клоша з логотипа */
.about__photo {
  align-self: center;
  width: 86vw;
  max-width: 520px;
  margin-bottom: -27vw;             /* нижню чверть обрізає край панелі */
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  background: var(--surface-2);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

@media (min-width: 900px) {
  .about { padding: 20px 20px 0; }
  .about__panel {
    display: block;
    min-height: min(100vh, 860px);
    min-height: min(100svh, 860px);
    padding: 56px;
  }
  .about__title { font-size: clamp(40px, 4.4vw, 64px); white-space: nowrap; }
  .about__text {
    position: absolute;
    top: 56px;
    left: 63%;
    width: min(340px, calc(37% - 56px));
    gap: 64px;
  }
  .about__photo {
    position: absolute;
    left: 56px;
    bottom: calc(38vw * -0.25);     /* панель обрізає нижню п'яту частину */
    width: 38vw;
    max-width: none;
    margin: 0;
  }
}

/* ---------- Тарифи ---------- */
.pricing { padding: var(--gap-section) 0; min-height: 80vh; }
.price-line {
  font-size: clamp(40px, 10.6vw, 132px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.price-line__break { display: block; }
.price-block {
  display: inline-block;
  padding: 0 0.15em;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 0.1em;
  white-space: nowrap;
}
.pricing__foot {
  display: grid;
  gap: 24px;
  margin-top: 56px;
}
.pricing__includes { max-width: 52ch; font-size: 19px; }
.pricing__foot .btn { justify-self: start; }
@media (min-width: 900px) {
  .price-line { font-size: min(8.6vw, 132px); }
  .pricing__foot {
    grid-template-columns: repeat(12, 1fr);
    align-items: end;
    margin-top: 64px;
  }
  .pricing__includes { grid-column: 1 / span 7; font-size: 20px; }
  .pricing__foot .btn { grid-column: 10 / -1; justify-self: end; }
}

.soon {
  display: grid;
  gap: 16px;
  margin-top: 96px;
}
.soon__plan {
  padding: 32px 28px;
  background: var(--surface);
  border-radius: var(--r);
  color: var(--muted);
}
.soon__plan .lead { color: var(--ink); }
.soon__status { margin-top: 6px; font-size: var(--s-small); font-weight: 700; }
.soon__price { margin: 18px 0 10px; color: var(--ink); font-weight: 700; }
.soon__note { margin-top: 18px; color: var(--ink); font-weight: 500; }
@media (min-width: 768px) {
  .soon { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ---------- Питання ---------- */
.faq { padding: var(--gap-section) 0; }
.faq__list { margin-top: 56px; display: grid; gap: 8px; }
.faq details {
  margin: 0 calc(var(--m) * -1);
  padding: 0 var(--m);
  border-radius: 0;
  transition: background-color var(--t-ui) ease;
}
.faq details[open] { background: var(--bg); }
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 18px 48px 18px 0;
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--t-ui) var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(5px) rotate(-135deg); }
@media (hover: hover) and (pointer: fine) {
  .faq summary:hover { color: var(--accent); }
}
.faq details p { max-width: 52ch; padding-bottom: 24px; color: var(--ink); }

@media (min-width: 900px) {
  .faq__list { margin: 80px 0 0 33.333%; gap: 16px; }
  .faq details { margin: 0 -24px; padding: 0 24px; border-radius: var(--r); }
}

/* ---------- Заклик ---------- */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: max(100vh, 680px);
  min-height: max(100svh, 680px);
  padding: 0 var(--m);
  text-align: center;
}
.cta__title {
  position: absolute;
  inset: 0;
  pointer-events: none;
  font-size: min(12vw, 168px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}
.cta__line { position: absolute; left: var(--m); right: var(--m); white-space: nowrap; }
.cta__line--top { top: calc(var(--header-h) + 32px); }
.cta__line--bottom { bottom: 24px; }
.cta__middle { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.cta__actions .btn { width: min(320px, 82vw); }
.cta__or { color: var(--muted); font-size: var(--s-body); }
.cta__note { max-width: 40ch; color: var(--muted); font-size: var(--s-body); }
@media (min-width: 768px) {
  .cta__title { font-size: min(11vw, 168px); }
  .cta__actions { flex-direction: row; justify-content: center; gap: 28px; }
  .cta__actions .btn { width: auto; }
}

/* ---------- Футер ---------- */
.footer { min-height: 90vh; min-height: 90svh; display: flex; }
.footer__inner {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  padding-top: 40px;
  padding-bottom: 32px;
}
.footer__top {
  display: grid;
  gap: 12px;
  font-size: var(--s-small);
}
.footer__top p { max-width: 40ch; }
.footer__totop { justify-self: start; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.footer__contact {
  display: block;
  font-size: 12vw;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.footer__contact:hover { text-decoration: underline; text-decoration-thickness: 0.05em; text-underline-offset: 0.08em; }
.footer__meta {
  display: grid;
  gap: 16px;
  font-size: var(--s-small);
}
.footer__links { display: flex; gap: 20px; font-weight: 700; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
.credits a { text-underline-offset: 0.15em; }
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 4fr 3fr 1fr; align-items: start; }
  .footer__totop { justify-self: end; }
  .footer__contact { font-size: 7.6vw; white-space: nowrap; }
  .footer__meta { grid-template-columns: 1fr 3fr 1fr; align-items: start; gap: 32px; }
  .footer__meta > :last-child { text-align: right; }
}

/* ---------- Рух ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title, .js .hero__foot {
    animation: rise 1000ms var(--ease-expo) both;
  }
  .js .hero__foot { animation-delay: 220ms; }
  .js .hero__field { animation: field-in 1100ms var(--ease-expo) both; transform-origin: 50% 100%; }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-expo);
    transition-delay: var(--d, 0ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .frame--drift img { animation: drift 16s var(--ease-soft) infinite alternate; }
  .thumb img { transition: transform 600ms var(--ease-out); }
  .statement.is-in .thumb img { animation: thumb-in 900ms var(--ease-expo) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(32px); } }
@keyframes field-in { from { transform: scaleY(0.82); } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.09) translateX(-2%); } }
@keyframes thumb-in { from { transform: scale(1.35); } }

@media (prefers-reduced-motion: reduce) {
  .dm-item { animation: none; }
}
