/* ============================================================
   Евгения Герасимович — публичный сайт
   Тёплая золотистая палитра, шрифты Manrope + Alegreya + Caveat
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --bone:       oklch(96.5% 0.012 83);
  --bone-deep:  oklch(93%   0.018 80);
  --bone-warm:  oklch(90%   0.026 70);
  --ink:        oklch(26%   0.022 56);
  --ink-soft:   oklch(43%   0.02  55);
  --ink-faint:  oklch(58%   0.018 55);
  --amber:      oklch(70%   0.135 64);
  --amber-deep: oklch(58%   0.13  50);
  --clay:       oklch(52%   0.11  40);
  --rose:       oklch(80%   0.055 18);
  --sage:       oklch(60%   0.045 135);
  --line:       oklch(78%   0.022 70 / 0.55);
  --line-soft:  oklch(78%   0.022 70 / 0.3);

  --shadow-soft: 0 30px 70px -34px oklch(40% 0.06 50 / 0.32);
  --shadow-lift: 0 18px 40px -22px oklch(40% 0.07 50 / 0.42);

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Alegreya", Georgia, "Times New Roman", serif;
  --font-hand: "Caveat", cursive;

  --text-hero: clamp(2.9rem, 1.3rem + 7vw, 7.5rem);
  --text-display: clamp(2rem, 1.2rem + 3.4vw, 4rem);
  --text-h3: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  --text-lede: clamp(1.08rem, 1rem + 0.45vw, 1.4rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);

  --space-section: clamp(5rem, 3.5rem + 7vw, 11rem);
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 4rem);
  --maxw: 1320px;
  --radius: clamp(18px, 1.4vw, 34px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--amber-deep); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  background: var(--ink); color: var(--bone); padding: 0.6rem 1rem;
  border-radius: 8px; transform: translateY(-150%); transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- texture: film grain ---------- */
/* зерно: статичный fixed-слой без mix-blend (blend перерисовывался каждый кадр и убивал скролл) */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.04; will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

/* ---------- custom cursor (desktop pointer only) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  body.cur-none { cursor: none; }
  body.cur-none input, body.cur-none textarea, body.cur-none select, body.cur-none [contenteditable] { cursor: auto; }
  .cursor {
    display: block; position: fixed; top: 0; left: 0; z-index: 9998;
    pointer-events: none; opacity: 0; will-change: transform;
    transition: opacity 0.3s var(--ease);
  }
  .cursor.is-active { opacity: 1; }
  .cursor__dot {
    display: block; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
    background: var(--amber-deep); mix-blend-mode: multiply;
    transition: transform 0.32s var(--ease), background-color 0.32s var(--ease);
  }
  .cursor.is-hover .cursor__dot { transform: scale(4); background: oklch(58% 0.13 50 / 0.22); }
}

/* ---------- typography helpers ---------- */
.kicker {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--clay);
  display: inline-flex; align-items: center; gap: 0.7em;
}
.kicker::before { content: ""; width: 2rem; height: 1px; background: var(--clay); opacity: 0.6; }
.display { font-family: var(--font-sans); font-weight: 700; font-size: var(--text-display);
  line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.lede { font-size: var(--text-lede); color: var(--ink-soft); line-height: 1.55; text-wrap: pretty;
  max-width: 56ch; }
p { text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.95em 1.9em; border-radius: 100px; font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.01em; transition: transform 0.4s var(--ease), background-color 0.4s var(--ease),
    color 0.4s var(--ease), box-shadow 0.4s var(--ease); will-change: transform;
}
.btn--solid { background: var(--amber); color: oklch(22% 0.03 55); box-shadow: var(--shadow-lift); }
.btn--solid:hover { background: var(--amber-deep); color: var(--bone); transform: translateY(-2px); }
.btn--ghost { padding-inline: 0.4em; border-radius: 0; position: relative; box-shadow: none; }
.btn--ghost::after { content: ""; position: absolute; left: 0.4em; right: 0.4em; bottom: 0.55em;
  height: 1.5px; background: var(--ink); transform-origin: left; transition: transform 0.4s var(--ease); }
.btn--ghost:hover::after { transform: scaleX(0); transform-origin: right; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 1.5rem;
  padding: clamp(1rem, 0.6rem + 1vw, 1.6rem) var(--gutter);
  transition: background-color 0.4s var(--ease), backdrop-filter 0.4s, padding 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: oklch(96.5% 0.012 83 / 0.96);
  box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px -24px oklch(40% 0.05 50 / 0.4);
  padding-block: clamp(0.7rem, 0.5rem + 0.5vw, 1rem);
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; margin-right: auto; font-weight: 700;
  letter-spacing: -0.01em; }
.brand__mark { width: 26px; height: 26px; border-radius: 50%; flex: none;
  background:
    radial-gradient(circle at 50% 50%, var(--amber) 0 24%, transparent 26%),
    conic-gradient(from -45deg, var(--clay), var(--amber) 40%, transparent 55%);
  border: 1.5px solid var(--amber-deep); }
.brand__name { font-size: 1.02rem; }
.nav { display: none; }
.nav__link { position: relative; font-weight: 500; color: var(--ink-soft); padding: 0.3em 0;
  transition: color 0.3s; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--amber-deep); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease); }
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta { display: none; }

@media (min-width: 1024px) {
  .nav { display: flex; gap: 1.8rem; }
  .header__cta { display: inline-flex; padding: 0.7em 1.4em; }
}

/* burger + mobile menu */
.burger { width: 44px; height: 44px; display: inline-flex; flex-direction: column; gap: 6px;
  align-items: center; justify-content: center; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: transform 0.35s var(--ease), opacity 0.3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 1024px) { .burger { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bone-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.mobile-menu a { font-family: var(--font-serif); font-style: italic; font-size: 2rem; color: var(--ink); }
.mobile-menu .btn { margin-top: 1rem; font-family: var(--font-sans); font-style: normal; }

/* ---------- layout primitives ---------- */
.section { padding-block: var(--space-section); padding-inline: var(--gutter); }
main > .section { max-width: var(--maxw); margin-inline: auto; }
:where(section[id], [id].section) { scroll-margin-top: 5.5rem; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr; align-content: center; gap: clamp(2rem, 5vw, 3rem);
  padding-top: clamp(6rem, 14vh, 9rem); padding-bottom: clamp(3rem, 8vh, 5rem);
  max-width: var(--maxw); margin-inline: auto;
}
.hero__kicker { color: var(--clay); }
.hero__title {
  font-family: var(--font-sans); font-weight: 800; font-size: var(--text-hero);
  line-height: 0.95; letter-spacing: -0.035em; margin-top: 1.1rem; color: var(--ink);
}
.hero__tagline { font-size: clamp(1.3rem, 1rem + 1.6vw, 2.2rem); color: var(--clay); margin-top: 1.3rem;
  line-height: 1.25; max-width: 18ch; }
.hero__subtitle { font-size: var(--text-lede); color: var(--ink-soft); margin-top: 1rem; max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; }

/* вход героя чистым CSS — рисуется сразу, не ждёт JS */
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero__kicker { animation: heroIn 0.85s var(--ease) 0.05s backwards; }
.hero__title { animation: heroIn 0.9s var(--ease) 0.14s backwards; }
.hero__tagline { animation: heroIn 0.9s var(--ease) 0.26s backwards; }
.hero__subtitle { animation: heroIn 0.85s var(--ease) 0.36s backwards; }
.hero__actions { animation: heroIn 0.85s var(--ease) 0.46s backwards; }
.hero__media-wrap { animation: heroFade 1.1s var(--ease) 0.1s backwards; }

.hero__visual { position: relative; }
.hero__media-wrap {
  position: relative; border-radius: 220px 220px 28px 28px / 260px 260px 28px 28px;
  overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4 / 5; max-height: 78vh;
}
.hero__media { width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__signature {
  position: absolute; left: 1.2rem; bottom: 1rem; font-family: var(--font-hand); color: var(--bone);
  font-size: 2.6rem; line-height: 1; text-shadow: 0 2px 18px oklch(20% 0.05 50 / 0.6);
}
.hero__edge {
  position: absolute; top: 50%; right: -0.5rem; transform: rotate(90deg); transform-origin: right;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint);
  white-space: nowrap; display: none;
}
.hero__scroll { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--ink-faint); border-radius: 14px; display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 3px;
  background: var(--clay); transform: translateX(-50%); animation: scrollcue 1.8s var(--ease) infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 14px); } 100% { opacity: 0; } }

@media (min-width: 880px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
  .hero__edge, .hero__scroll { display: block; }
}

/* ---------- MANIFESTO ---------- */
.manifesto { display: grid; gap: 1.4rem; }
.manifesto__heading { max-width: 22ch; }
.manifesto__body { display: grid; gap: 1.1rem; margin-top: 0.5rem; max-width: 62ch; }
.pullquote { margin-top: clamp(2rem, 5vw, 4rem); }
.pullquote p { font-size: clamp(1.6rem, 1.1rem + 2.6vw, 3.2rem); line-height: 1.18; color: var(--ink);
  max-width: 20ch; }
.manifesto { position: relative; }
.manifesto::before {
  content: ""; position: absolute; right: clamp(0px, 2vw, 3rem); top: 10%; width: clamp(180px, 26vw, 340px);
  aspect-ratio: 1; border-radius: 50%; z-index: -1; opacity: 0.5;
  background: radial-gradient(circle at 40% 35%, oklch(82% 0.09 70 / 0.7), transparent 65%);
  filter: blur(8px);
}

/* ---------- CYCLES ---------- */
.cycles { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.cycles__text { display: grid; gap: 1.2rem; }
.cycles .lede { max-width: 50ch; }
.stages { display: grid; gap: 0; margin-top: 1rem; border-top: 1px solid var(--line); }
.stage { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.stage__num { font-family: var(--font-serif); font-style: italic; color: var(--amber-deep); font-size: 1.3rem; }
.stage__name { font-weight: 600; font-size: 1.15rem; }
.stage__note { color: var(--ink-faint); font-size: 0.92rem; }
@media (min-width: 880px) { .cycles { grid-template-columns: 0.85fr 1fr; } }

/* ---------- CONSCIOUSNESS — уровни списком ---------- */
.cons { background: linear-gradient(180deg, var(--bone), var(--bone-deep) 50%, var(--bone)); }
.cons__head { max-width: 60ch; display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.cons__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.crow { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 5vw, 4rem); align-items: baseline;
  padding: clamp(1.6rem, 3.5vw, 2.8rem) 0; border-bottom: 1px solid var(--line); transition: padding-left 0.5s var(--ease); }
.crow__num { font-family: var(--font-serif); font-style: italic; color: var(--amber-deep);
  font-size: clamp(2.4rem, 2rem + 3vw, 5rem); line-height: 0.85; }
.crow__name { font-size: clamp(1.8rem, 1.3rem + 2vw, 3.2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.crow__desc { color: var(--ink-soft); margin-top: 0.6rem; max-width: 52ch; font-size: var(--text-lede); }
@media (hover: hover) { .crow:hover { padding-left: clamp(0.5rem, 2vw, 1.5rem); } }

/* ---------- PRACTICES ---------- */
.practices__head { max-width: 58ch; display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.practice-list { display: grid; gap: clamp(3rem, 6vw, 6rem); }
.practice { display: grid; gap: clamp(1.4rem, 4vw, 3rem); align-items: center; }
.practice__media { position: relative; }
.practice__index { position: absolute; top: -0.7rem; left: -0.4rem; font-family: var(--font-serif);
  font-style: italic; font-size: clamp(2.4rem, 6vw, 5rem); color: var(--bone);
  text-shadow: 0 2px 24px oklch(20% 0.05 50 / 0.45); }
.practice__title { font-size: var(--text-h3); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; }
.practice__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin-top: 0.8rem; color: var(--clay);
  font-weight: 600; font-size: 0.9rem; }
.practice__meta li { display: inline-flex; align-items: center; gap: 0.5rem; }
.practice__meta li + li::before { content: "·"; margin-right: 0.7rem; color: var(--ink-faint); }
.practice__desc { margin-top: 1rem; color: var(--ink-soft); max-width: 52ch; }
.practice__bullets { display: grid; gap: 0.55rem; margin-top: 1.2rem; }
.practice__bullets li { position: relative; padding-left: 1.6rem; color: var(--ink); }
.practice__bullets li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px oklch(70% 0.135 64 / 0.18); }
.practice__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 1.8rem; }
.price { display: inline-flex; align-items: baseline; gap: 0.35rem; }
.price__num { font-size: 1.9rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.price__cur { font-size: 0.85rem; font-weight: 600; color: var(--ink-faint); letter-spacing: 0.05em; }

@media (min-width: 860px) {
  .practice { grid-template-columns: 1fr 1fr; }
  .practice:nth-child(even) .practice__media { order: 2; }
}

.more-games { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line); display: grid; gap: 1.4rem; }
.more-games__heading { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); color: var(--ink); }
.more-games__list { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.more-games__list li { padding: 0.6em 1.2em; border: 1px solid var(--line); border-radius: 100px;
  font-weight: 500; color: var(--ink-soft); transition: border-color 0.3s, color 0.3s, background-color 0.3s; }
.more-games__list li:hover { border-color: var(--amber); color: var(--ink); background: oklch(70% 0.135 64 / 0.08); }

/* ---------- MARQUEE ---------- */
.marquee { overflow: hidden; padding-block: clamp(2rem, 4vw, 3.4rem); border-block: 1px solid var(--line-soft);
  margin-block: clamp(2rem, 5vw, 4rem); }
.marquee__track { display: inline-flex; align-items: center; gap: 1.6rem; white-space: nowrap;
  will-change: transform; animation: marquee 38s linear infinite; }
.marquee__item { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 1rem + 2vw, 2.6rem);
  color: var(--ink); }
.marquee__dot { color: var(--amber); font-size: 0.9rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- ABOUT ---------- */
.about { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.about__text { display: grid; gap: 1.1rem; }
.about__p { color: var(--ink-soft); max-width: 56ch; }
.about__quote { font-size: clamp(1.4rem, 1rem + 1.8vw, 2.2rem); color: var(--clay); line-height: 1.25;
  margin-block: 0.8rem; max-width: 24ch; }
.credentials { display: grid; gap: 0.7rem; margin-top: 0.8rem; }
.credentials li { position: relative; padding-left: 1.7rem; color: var(--ink); }
.credentials li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 10px; height: 10px;
  border: 1.5px solid var(--amber-deep); border-radius: 50%; }
.about__media { position: relative; display: grid; }
.about__img-1 { width: 78%; }
.about__img-2 { width: 52%; position: relative; margin-top: -22%; margin-left: auto; z-index: 2; border: 6px solid var(--bone); }
@media (min-width: 880px) { .about { grid-template-columns: 0.9fr 1.1fr; } .about__media { position: sticky; top: 6rem; } }

/* ---------- PHILOSOPHY ---------- */
.philosophy { text-align: center; display: grid; gap: 2rem; place-items: center;
  background: linear-gradient(180deg, transparent, oklch(90% 0.03 70 / 0.5), transparent); }
.philosophy__quote { max-width: min(92vw, 760px); }
.philosophy__quote p { font-size: clamp(1.6rem, 1rem + 2.4vw, 3.3rem); line-height: 1.2; color: var(--ink);
  letter-spacing: -0.015em; text-wrap: balance; }
.philosophy__author { display: block; margin-top: 1.4rem; font-family: var(--font-hand); font-style: normal;
  font-size: 2rem; color: var(--clay); }
.philosophy__secondary { max-width: 46ch; color: var(--ink-soft); font-size: var(--text-lede); }

/* ---------- CONTACT ---------- */
.contact__inner { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.contact__intro { display: grid; gap: 1.2rem; align-content: start; }
.contact__channels { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.6rem; }
.channel { padding: 0.85em 1.6em; border-radius: 100px; font-weight: 600; border: 1.5px solid var(--ink);
  transition: background-color 0.35s var(--ease), color 0.35s, border-color 0.35s, transform 0.35s var(--ease); }
.channel:hover { transform: translateY(-2px); background: var(--ink); color: var(--bone); }
.channel--telegram:hover { background: var(--amber-deep); border-color: var(--amber-deep); }
.contact__form { display: grid; gap: 1.1rem; background: var(--bone-deep); padding: clamp(1.5rem, 4vw, 2.6rem);
  border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.01em; }
.field .opt { font-weight: 400; color: var(--ink-faint); }
.field input, .field textarea { font: inherit; padding: 0.85em 1em; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bone); color: var(--ink); transition: border-color 0.3s, box-shadow 0.3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 4px oklch(70% 0.135 64 / 0.16); }
.contact__form .btn { justify-self: start; }
.form-note { font-size: 0.85rem; color: var(--ink-faint); }
.form-status { font-size: 0.95rem; font-weight: 600; color: var(--sage); }
.form-status.err { color: var(--clay); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 880px) { .contact__inner { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- FOOTER ---------- */
.site-footer { padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2.5rem; background: var(--ink); color: var(--bone-deep);
  margin-top: clamp(3rem, 6vw, 6rem); }
.site-footer__top { max-width: var(--maxw); margin-inline: auto; display: grid; gap: 1rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid oklch(80% 0.02 70 / 0.18); }
.footer-brand { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; }
.footer-tagline { font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); color: var(--amber); max-width: 30ch; }
.site-footer__bottom { max-width: var(--maxw); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center; padding-top: 2rem; font-size: 0.9rem;
  color: oklch(80% 0.02 70 / 0.7); }
.to-top { font-weight: 600; color: var(--bone); transition: color 0.3s; }
.to-top:hover { color: var(--amber); }

/* ---------- shared media frame ---------- */
.frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--clay), var(--amber)); will-change: transform; }

/* ---------- hero atmosphere (мышь-параллакс) ---------- */
.hero__atmos { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: clip; }
/* атмосфера — только справа, за фото; сильно размыта, чтобы не читалась кругами */
.blob { position: absolute; border-radius: 50%; filter: blur(85px); opacity: 0.42; will-change: transform; }
.blob--1 { width: 46vw; max-width: 640px; aspect-ratio: 1; top: -8%; right: -8%;
  background: radial-gradient(circle at 50% 50%, oklch(82% 0.1 72 / 0.95), transparent 70%); }
.blob--2 { width: 26vw; max-width: 380px; aspect-ratio: 1; bottom: -10%; right: 12%; opacity: 0.3;
  background: radial-gradient(circle at 50% 50%, oklch(80% 0.075 24 / 0.85), transparent 68%); }

/* ---------- сильный параллакс: картинка крупнее рамки, едет внутри ---------- */
picture.frame { position: relative; display: block; }
.cycles__media .frame { aspect-ratio: 4 / 5; }
.practice__media .frame { aspect-ratio: 4 / 3; }
.about__img-1 { aspect-ratio: 4 / 5; }
.about__img-2 { aspect-ratio: 1 / 1; }
picture.frame > img { position: absolute; left: 0; right: 0; top: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; }
picture.frame > img[data-parallax] { top: -11%; bottom: auto; height: 122%; will-change: transform; }

/* ---------- reveal animation states (only when JS active) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal].is-in { opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-split] .word { display: inline-block; opacity: 0; transform: translateY(0.5em); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal].is-in,
  .js [data-split] .word { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee__track { animation: none !important; }
  .hero__scroll span { animation: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.05ms !important; }
}
