/* PROЯВКА — «тёмная комната»: почти чёрный фон фотолаборатории, тёплое серебро отпечатка
   и красный свет лабораторного фонаря как единственный акцент.
   Движение — только transform, opacity и разовые clip-path, чтобы на телефоне ничего не дёргалось. */
:root {
  --bg: #0b0a09;
  --bg-2: #12110f;
  --bg-3: #1b1916;
  --line: rgba(236, 228, 214, .11);
  --line-2: rgba(236, 228, 214, .22);
  --paper: #ece4d6;
  --paper-2: #b4ab9d;
  --paper-3: #7d766b;
  --safe: #e5452b;
  --safe-hi: #ff6a4d;
  --safe-glow: rgba(229, 69, 43, .38);

  --f-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --f-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: var(--f-body);

  --wrap: 1360px;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --r: 3px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--paper); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* плёночное зерно поверх всего — статичное, прокрутку не нагружает */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
/* фото не «ловятся» мышью: Яндекс и другие браузеры не предлагают скачать картинку, клик получает обёртка */
main img, .lb img { pointer-events: none; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--safe); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--safe); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.mono { font-family: var(--f-body); font-size: 13px; font-variant-numeric: tabular-nums; }
.muted { color: var(--paper-2); }
.skip { position: absolute; left: -999px; top: 10px; z-index: 200; background: var(--paper); color: var(--bg); padding: 10px 14px; }
.skip:focus { left: 16px; }
.link { color: var(--paper); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: var(--safe); }

/* Заголовки: капитель с тонкими засечками + курсивная вставка строчными */
.eyebrow { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--f-mono); color: var(--paper-2); }
.eyebrow .num { color: var(--safe); }
.eyebrow .num::after { content: ""; display: inline-block; width: 32px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--line-2); }
h2 { margin-top: 20px; font: 300 clamp(40px, 5.4vw, 86px)/.95 var(--f-display); text-transform: uppercase; letter-spacing: .005em; }
h2 em, .hero-title em, .ch-title em { font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; color: var(--paper); }

/* ---------- кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--paper); color: var(--bg);
  font: 600 15px/1 var(--f-body); white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s var(--ease);
}
.btn:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 14px 36px -14px var(--safe-glow), 0 0 0 1px rgba(255,255,255,.2); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ghost, .btn-line { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(236, 228, 214, .08); box-shadow: inset 0 0 0 1px var(--paper-2); }
.btn-line:hover { background: var(--paper); color: var(--bg); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn.is-loading span::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.arrow-link { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1 var(--f-mono); color: var(--paper); }
.arrow-link i { position: relative; width: 44px; height: 1px; background: var(--paper-2); transition: width .45s var(--ease), background .3s; }
.arrow-link i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border: solid currentColor; border-width: 1px 1px 0 0; transform: rotate(45deg); }
.arrow-link:hover i { width: 64px; background: var(--safe); }

.text-link { justify-self: start; font-size: 15px; font-weight: 600; color: var(--paper); text-decoration: underline; text-decoration-color: var(--safe); text-decoration-thickness: 1px; text-underline-offset: 6px; transition: text-underline-offset .3s var(--ease), color .2s; }
.text-link:hover { color: #fff; text-underline-offset: 9px; }
.icon-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--paper); transition: background .2s, box-shadow .2s; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: rgba(236, 228, 214, .08); box-shadow: inset 0 0 0 1px var(--paper-2); }
.icon-btn:disabled { opacity: .3; pointer-events: none; }

/* ---------- шапка ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s; }
.top.is-solid { background: rgba(11, 10, 9, .8); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { display: inline-flex; align-items: baseline; font: 700 16px/1 var(--f-body); letter-spacing: .22em; }
.logo-ya { color: var(--safe); font: italic 500 24px/.6 var(--f-display); letter-spacing: 0; margin: 0 .16em 0 .02em; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { position: relative; padding: 6px 0; font: 500 12px/1 var(--f-mono); color: var(--paper-2); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--safe); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover, .nav a.is-here { color: var(--paper); }
.nav a:hover::after, .nav a.is-here::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--paper); transition: transform .4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 96px var(--gut) 40px; background: rgba(11, 10, 9, .97); animation: fadeIn .35s var(--ease); }
.menu-nav { display: grid; gap: 4px; }
.menu-nav a { display: flex; align-items: baseline; gap: 16px; font: 300 40px/1.15 var(--f-display); text-transform: uppercase; }
.menu-nav small { color: var(--safe); }
.menu .btn { align-self: flex-start; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- главный экран: окно фокуса ---------- */
.hero {
  --hh: max(100svh, 640px);
  --fw: clamp(180px, 17vw, 300px);   /* ширина окна */
  --ft: calc(var(--hh) * .1);        /* отступ окна сверху */
  --fh: calc(var(--hh) * .76);       /* высота окна */
  --pos: 76% 30%;                    /* где лицо — одинаково для фона и окна */
  position: relative; height: var(--hh); overflow: hidden; isolation: isolate; background: #000;
}
.hero-bg, .dev { position: absolute; inset: 0; background: #000 url(/proyavka/site/img/hero.jpg) var(--pos) / cover no-repeat; }
.hero-bg { background-image: url(/proyavka/site/img/hero-bw.webp?v=2); opacity: 0; transform: scale(1.05); transition: opacity 1.6s var(--ease), transform 5s var(--ease); }
.hero-cols { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-cols i { position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, rgba(236,228,214,.09) 20%, rgba(236,228,214,.09) 80%, transparent); transform: scaleY(0); transform-origin: top; transition: transform 2s var(--ease-io); }
.hero-cols i:nth-child(1) { left: 34%; } .hero-cols i:nth-child(2) { left: 52%; transition-delay: .15s; } .hero-cols i:nth-child(3) { left: 91%; transition-delay: .3s; }

.focus {
  position: absolute; left: 0; top: var(--ft); z-index: 2; width: var(--fw); height: var(--fh); overflow: hidden;
  transform: translate3d(calc(76vw - var(--fw) / 2), 0, 0); clip-path: inset(50% 0 50% 0); will-change: transform;
  transition: clip-path 1.3s var(--ease-io) .5s;
}
.focus::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(236, 228, 214, .6); pointer-events: none; }
.focus-img { position: absolute; left: 0; top: calc(var(--ft) * -1); width: var(--hw, 100vw); height: var(--hh); will-change: transform; transform: translate3d(calc((76vw - var(--fw) / 2) * -1), 0, 0); }
.dev { opacity: 0; }
.dev-neg { filter: invert(1) grayscale(1) contrast(1.15) brightness(.7); }
.dev-red { filter: grayscale(1) brightness(.62) contrast(1.2) sepia(1) saturate(7) hue-rotate(-32deg); }
.focus-tag { position: absolute; left: 10px; top: 10px; display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--paper); text-shadow: 0 1px 3px #000; }
.focus-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 10px var(--safe); }

.is-developing .hero-bg, .is-developed .hero-bg { opacity: 1; transform: none; }
.is-developing .hero-cols i, .is-developed .hero-cols i { transform: none; }
.is-developing .focus, .is-developed .focus { clip-path: inset(0); }
.is-developing .dev-neg { animation: devIn 1s var(--ease) .5s forwards; }
.is-developing .dev-red { animation: devIn 1.2s var(--ease) 1.4s forwards; }
.is-developing .dev-pos { animation: devIn 1.6s var(--ease-io) 2.3s forwards; }
.is-developed .dev-pos { opacity: 1; }
.is-developed .dev-neg, .is-developed .dev-red { display: none; }
@keyframes devIn { to { opacity: 1; } }

/* огромное слово поперёк кадра: над окном инвертируется, как негатив */
.hero-word {
  position: absolute; left: 50%; bottom: calc(var(--hh) * .085); z-index: 3; transform: translateX(-50%);
  font: 300 clamp(84px, 19.5vw, 340px)/.78 var(--f-display); letter-spacing: .04em; white-space: nowrap;
  color: #e9e1d3; mix-blend-mode: difference; pointer-events: none; user-select: none;
}
.hero-word span { font-style: italic; font-weight: 400; margin: 0 -.02em; }
.js .hero-word { opacity: 0; letter-spacing: .14em; transition: opacity 1.6s var(--ease) 2.8s, letter-spacing 2.2s var(--ease) 2.6s; }
.is-developing .hero-word, .is-developed .hero-word { opacity: 1; letter-spacing: .04em; }

.hero-in { position: absolute; z-index: 4; left: 0; right: 0; top: calc(var(--hh) * .2); }
.hero-title { max-width: 9.5em; margin: 26px 0 24px; font: 300 clamp(38px, 4.4vw, 74px)/.98 var(--f-display); text-transform: uppercase; }
.lead { max-width: 30ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--paper-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 12px var(--safe-glow); animation: rec 2.4s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .35; } }
.js .hero-line { opacity: 0; transform: translateY(24px); }
.is-developing .hero-line, .is-developed .hero-line { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.is-developing .hero-in .hero-line:nth-child(1) { transition-delay: 1.9s; }
.is-developing .hero-in .hero-line:nth-child(2) { transition-delay: 2.05s; }
.is-developing .hero-in .hero-line:nth-child(3) { transition-delay: 2.2s; }
.is-developing .hero-in .hero-line:nth-child(4) { transition-delay: 2.35s; }

.hero-meta { position: absolute; z-index: 4; left: 0; right: 0; bottom: 18px; display: flex; justify-content: space-between; align-items: center; color: var(--paper-3); font-size: 10px; }
/* ---------- секции ---------- */
.section { padding: clamp(96px, 12vw, 176px) 0 0; }
.head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 960px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; max-width: none; }

/* ---------- «что я снимаю»: раскрывающиеся плашки ----------
   Рамка неподвижна, меняется только доля ширины у плашек. Фото внутри не масштабируется —
   его ширина равна раскрытой плашке, поэтому оно «открывается шторкой», а не растягивается. */
.acc-hint { color: var(--paper-3); }
.acc { --open: 8; display: flex; gap: clamp(8px, 1vw, 14px); height: clamp(420px, 64svh, 660px); margin-bottom: clamp(72px, 9vw, 140px); }
.acc-item { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 26px; background: var(--bg-3); isolation: isolate; transition: flex-grow .9s var(--ease); }
.acc-item.is-open { flex-grow: var(--open); }
.acc-item img { position: absolute; top: 0; left: 50%; width: var(--accw, 900px); max-width: none; height: 100%; object-fit: cover; object-position: var(--fp, 50% 50%); transform: translateX(-50%) scale(1.04); transition: transform 1.4s var(--ease); z-index: -2; }
.acc-item.is-open img { transform: translateX(-50%); }
.acc-item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,5,4,.85) 0%, rgba(5,5,4,.25) 45%, rgba(5,5,4,.35) 100%); transition: opacity .9s var(--ease); }
.acc-item:not(.is-open)::after { background: rgba(5,5,4,.58); }
.acc-v {
  position: absolute; left: 50%; bottom: 26px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg);
  font: 400 22px/1 var(--f-display); letter-spacing: .02em; color: var(--paper); white-space: nowrap;
  transition: opacity .4s var(--ease) .35s;
}
.acc-item.is-open .acc-v { opacity: 0; transition-delay: 0s; }
.acc-h { position: absolute; left: clamp(20px, 2.4vw, 36px); right: 20px; bottom: clamp(20px, 2.4vw, 34px); display: grid; gap: 8px; opacity: 0; transform: translateY(14px); transition: opacity .35s var(--ease), transform .35s var(--ease); white-space: nowrap; }
.acc-item.is-open .acc-h { opacity: 1; transform: none; transition: opacity .7s var(--ease) .45s, transform .7s var(--ease) .45s; }
.acc-h small { color: var(--safe-hi); }
.acc-h b { font: 300 clamp(40px, 5vw, 76px)/.9 var(--f-display); text-transform: uppercase; }
.acc-h em { font: italic 400 clamp(18px, 1.6vw, 24px)/1.2 var(--f-display); color: var(--paper-2); }
.acc-item:focus-visible { outline-offset: -3px; }

.chapter { padding-top: clamp(64px, 8vw, 128px); }
.chapter:first-child { padding-top: 0; }
.ch-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.ch-num { display: flex; align-items: center; gap: 14px; color: var(--safe); margin-bottom: 14px; }
.ch-num::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line-2); }
.ch-title { font: 300 clamp(64px, 10vw, 168px)/.8 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; }
.ch-side { display: grid; gap: 18px; padding-bottom: 8px; }
.ch-sub { font: italic 400 clamp(24px, 2.2vw, 32px)/1.15 var(--f-display); }
.ch-text { color: var(--paper-2); max-width: 46ch; }

/* фото в портфолио: при появлении «проявляются» — кадр протягивается сверху вниз сквозь красный свет */
.ph { position: relative; margin: 0; overflow: hidden; background: var(--bg-3); border-radius: var(--r); }
.ph-btn { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: none; }
@media (pointer: coarse) { .ph-btn { cursor: pointer; } }
.ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.8s var(--ease); }
.ph::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, var(--safe), #3a0904); mix-blend-mode: multiply; opacity: .92; transition: opacity 1.6s var(--ease) .35s; }
.js .ph { clip-path: inset(0 0 100% 0); transition: clip-path 1.25s var(--ease-io); }
.js .ph.in { clip-path: inset(0); }
.ph.in::after { opacity: 0; }
.ph.in img { transform: scale(1); }
.ph:hover img { transform: scale(1.035); }
.ph-num { position: absolute; z-index: 2; left: 14px; top: 12px; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; color: var(--paper); text-shadow: 0 1px 3px rgba(0,0,0,.8); pointer-events: none; }
.ph-cap { position: absolute; z-index: 2; inset: auto 0 0; padding: 60px 18px 16px; background: linear-gradient(0deg, rgba(5,5,4,.82), rgba(5,5,4,0)); pointer-events: none; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ph:hover .ph-cap, .ph:focus-within .ph-cap { opacity: 1; transform: none; }
@media (hover: none) { .ph-cap { opacity: 1; transform: none; } }
.ph-cap b { display: block; font: 400 26px/1 var(--f-display); text-transform: uppercase; }
.ph-cap small { display: block; margin-top: 6px; font: 500 11px/1.3 var(--f-mono); letter-spacing: .06em; color: var(--paper-2); }

/* Портрет — мозаика: большая вертикаль + две горизонтальные; ниже цитата и пара со сдвигом */
.trio { display: grid; grid-template-columns: 1fr 1.125fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1.42; }
.trio .big { grid-row: span 2; }
.pair { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: 14px; align-items: start; }
.pair .quote-tile { grid-column: 1 / 5; align-self: center; padding: clamp(20px, 3vw, 44px) clamp(8px, 2vw, 32px) 0 0; }
.pair .ph:nth-of-type(1) { grid-column: 5 / 9; aspect-ratio: 3 / 4; }
.pair .ph:nth-of-type(2) { grid-column: 9 / 13; aspect-ratio: 3 / 4; margin-top: 22%; }
.quote-tile blockquote { margin: 0; font: italic 400 clamp(26px, 2.6vw, 40px)/1.15 var(--f-display); }
.quote-by { margin-top: 22px; color: var(--paper-3); font-size: 14px; }

/* Панорама на всю ширину экрана с лёгким параллаксом */
.pano { position: relative; margin-top: clamp(14px, 3vw, 48px); aspect-ratio: 21 / 9; min-height: 300px; border-radius: 0; }
.ph.pano img { position: absolute; left: 0; top: -5%; height: 110%; transform: translate3d(0, var(--py, 0px), 0); transition: none; }
.pano .ph-cap { opacity: 1; transform: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 120px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) clamp(20px, 3vw, 40px); }
.pano .ph-cap b { font-size: clamp(40px, 6vw, 96px); font-weight: 300; line-height: .85; }
.pano .ph-cap small { text-align: right; }

/* Свадьба — плёнка дня: колёсиком вниз, кадры едут вбок */
.reel { position: relative; margin-top: clamp(64px, 8vw, 128px); }
.reel-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.reel-track { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); width: max-content; padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); will-change: transform; }
.reel-intro { flex: none; width: min(600px, 82vw); }
.reel-intro .ch-title { font-size: clamp(56px, 6.4vw, 112px); white-space: nowrap; }
.reel-intro .ch-side { margin-top: 28px; }
.reel-item { flex: none; display: grid; gap: 14px; }
.reel-item:nth-child(even) { transform: translateY(-5svh); }
.reel-item:nth-child(odd) { transform: translateY(4svh); }
.reel-time { display: flex; align-items: center; gap: 12px; color: var(--safe-hi); }
.reel-time { color: var(--paper-2); font-size: 14px; }
.reel-clock { font: 300 34px/1 var(--f-display); color: var(--safe-hi); font-variant-numeric: lining-nums; }
.reel-item .ph { height: min(58svh, 620px); aspect-ratio: var(--ar); }
.reel-item .ph-cap { display: none; }
.reel-name { display: flex; align-items: baseline; gap: 14px; }
.reel-name b { font: 400 26px/1 var(--f-display); text-transform: uppercase; }
.reel-name small { color: var(--paper-3); font: 500 11px/1.3 var(--f-mono); letter-spacing: .06em; }
.reel-end { flex: none; width: min(440px, 80vw); display: grid; gap: 26px; }
.reel-end p { font: italic 300 clamp(36px, 3.6vw, 56px)/1.05 var(--f-display); }
.reel-bar { position: absolute; left: 0; right: 0; bottom: max(28px, 4svh); display: flex; align-items: center; gap: 20px; }
.reel-bar .line { position: relative; flex: 1; height: 1px; background: var(--line-2); }
.reel-bar .line i { position: absolute; inset: 0; background: var(--safe); transform-origin: left; transform: scaleX(var(--p, 0)); }
.reel-bar .mono { color: var(--paper-3); }
/* на телефоне и планшете — обычное листание пальцем */
.reel.native { height: auto !important; }
.reel.native .reel-pin { position: static; height: auto; overflow: visible; }
.reel.native .reel-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding-block: 6svh 10px; scrollbar-width: none; transform: none !important; }
.reel.native .reel-track::-webkit-scrollbar { display: none; }
.reel.native .reel-item, .reel.native .reel-intro, .reel.native .reel-end { scroll-snap-align: start; }
.reel.native .reel-bar { position: static; margin: 18px var(--gut) 0; }

/* Семья — арки разной высоты, пара со смещением, панорама */
.arches { display: grid; grid-template-columns: 1fr 1.22fr 1fr; gap: clamp(16px, 3vw, 48px); align-items: end; }
.arch { display: grid; gap: 18px; }
.arch .ph { aspect-ratio: 3 / 4.3; border-radius: 999px 999px var(--r) var(--r); }
.arch:nth-child(2) .ph { aspect-ratio: 3 / 4.5; }
.arch-cap { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: baseline; }
.arch-cap .mono { color: var(--safe); grid-row: span 2; }
.arch-cap b { font: 400 26px/1 var(--f-display); text-transform: uppercase; }
.arch-cap small { color: var(--paper-3); font: 500 11px/1.3 var(--f-mono); }
.arch .ph-cap { display: none; }
.duo { display: grid; grid-template-columns: 7fr 5fr; gap: 14px; margin-top: clamp(14px, 3vw, 48px); align-items: start; }
.duo .ph { aspect-ratio: 3 / 2; }
.duo .ph:nth-child(2) { margin-top: 18%; }

.more { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.more .ph { aspect-ratio: var(--ar); }

.skel-spread { display: grid; grid-template-columns: 1fr 1.125fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1.42; }
.skel-spread i { border-radius: var(--r); background: linear-gradient(100deg, var(--bg-2) 30%, var(--bg-3) 50%, var(--bg-2) 70%) 0 0 / 300% 100%; animation: skel 1.6s linear infinite; }
.skel-spread i:first-child { grid-row: span 2; }
@keyframes skel { to { background-position: -150% 0; } }

/* курсор-видоискатель над фото */
.viewfinder {
  position: fixed; left: 0; top: 0; z-index: 80; width: 112px; height: 112px; margin: -56px 0 0 -56px; pointer-events: none;
  display: grid; place-items: center; opacity: 0; transform: translate3d(-200px, -200px, 0); transition: opacity .2s;
  background:
    linear-gradient(var(--paper), var(--paper)) 0 0 / 16px 1px, linear-gradient(var(--paper), var(--paper)) 0 0 / 1px 16px,
    linear-gradient(var(--paper), var(--paper)) 100% 0 / 16px 1px, linear-gradient(var(--paper), var(--paper)) 100% 0 / 1px 16px,
    linear-gradient(var(--paper), var(--paper)) 0 100% / 16px 1px, linear-gradient(var(--paper), var(--paper)) 0 100% / 1px 16px,
    linear-gradient(var(--paper), var(--paper)) 100% 100% / 16px 1px, linear-gradient(var(--paper), var(--paper)) 100% 100% / 1px 16px;
  background-repeat: no-repeat; mix-blend-mode: difference;
}
.viewfinder span { font: 600 11px/1 var(--f-body); color: var(--paper); }
.viewfinder.on { opacity: 1; }
@media (pointer: coarse) { .viewfinder { display: none; } }

/* ---------- обо мне ---------- */
.about-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.about-photo { margin: 0; }
.print { padding: 14px 14px 56px; background: #e9e2d4; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); transform: rotate(-1.6deg); transition: transform 1s var(--ease); }
.about-photo:hover .print { transform: rotate(0); }
.print img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about-photo figcaption { margin-top: 22px; color: var(--paper-3); }
.prose { display: grid; gap: 18px; margin: 30px 0 0; max-width: 56ch; color: var(--paper-2); font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 46px 0 0; padding-top: 30px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dt { color: var(--paper-3); font-size: 11px; }
.stats dd { margin: 0; font: 300 clamp(36px, 3.6vw, 56px)/1 var(--f-display); }

/* ---------- шаги ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { position: relative; padding: 34px 28px 10px 0; display: grid; gap: 12px; align-content: start; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-n { font: italic 300 72px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px var(--paper-3); transition: color .5s, -webkit-text-stroke-color .5s; }
.step:hover .step-n { color: var(--safe); -webkit-text-stroke-color: var(--safe); }
.step-when { color: var(--safe-hi); }
.step h3 { font: 400 32px/1.05 var(--f-display); text-transform: uppercase; }
.step p:last-child { color: var(--paper-2); font-size: 15px; }

/* ---------- цены: арки, пилюли, нумерация ---------- */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.seg button, .seg label span { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px; border-radius: 999px; color: var(--paper-2); font: 500 12px/1 var(--f-mono); transition: background .3s var(--ease), color .3s; cursor: pointer; }
.seg button[aria-selected="true"], .seg input:checked + span { background: var(--paper); color: var(--bg); }
.seg button:hover, .seg label:hover span { color: var(--paper); }
.seg button[aria-selected="true"]:hover, .seg input:checked + span:hover { color: var(--bg); }
.seg label { display: flex; }
.seg input, .pills input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:focus-visible + span, .pills input:focus-visible + span { outline: 2px solid var(--safe); outline-offset: 2px; }

.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.pack { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px 28px 28px; background: var(--bg-2); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s; }
.pack:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.pack.is-featured { box-shadow: inset 0 0 0 1px rgba(229,69,43,.5); }
.pack-top { display: flex; justify-content: space-between; align-items: center; }
.pack-num { display: flex; align-items: center; gap: 10px; color: var(--paper-2); }
.pack-num::after { content: ""; width: 28px; height: 1px; background: var(--line-2); }
.pack-tag { position: absolute; top: -13px; left: 28px; padding: 7px 12px; border-radius: 999px; background: var(--safe); color: #fff; font: 600 12px/1 var(--f-body); }
.pack h3 { font: 300 48px/1 var(--f-display); text-transform: uppercase; margin-top: 6px; }
.pack-meta { color: var(--paper-3); }
.pack-sum { color: var(--paper-2); font-size: 15px; }
.pack ul { list-style: none; margin: 0; padding: 16px 0 0; display: grid; gap: 9px; border-top: 1px solid var(--line); font-size: 14px; }
.pack li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.pack li::before { content: ""; width: 10px; height: 1px; margin-top: 11px; background: var(--safe); }
.pack-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-pill { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--paper-2); font: 400 26px/1 var(--f-display); white-space: nowrap; }
.note { margin-top: 26px; color: var(--paper-3); font-size: 14px; }
.swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } }

/* ---------- календарь ---------- */
.cal-nav { display: flex; gap: 8px; }
.cal { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 4vw, 56px); }
.month h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 300 36px/1 var(--f-display); text-transform: uppercase; margin-bottom: 18px; }
.month-free { font: 500 13px/1 var(--f-body); color: var(--paper-3); text-transform: none; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dow { padding: 6px 0 10px; text-align: center; font: 500 11px/1 var(--f-mono); color: var(--paper-3); }
.day { position: relative; aspect-ratio: 1 / .86; display: grid; place-items: center; border-radius: var(--r); font: 500 15px/1 var(--f-body); color: var(--paper); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, box-shadow .25s, color .25s, transform .3s var(--ease); }
.day.we { font-weight: 700; }
.day:not(:disabled):hover { background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--paper-2); transform: translateY(-2px); }
.day:disabled { cursor: default; background: transparent; box-shadow: none; color: var(--paper-3); }
.day.past { opacity: .35; }
.day.busy::after { content: ""; position: absolute; left: 30%; right: 30%; top: 50%; height: 1px; background: var(--safe); transform: rotate(-35deg); opacity: .8; }
.day.pick { background: var(--safe); color: #fff; box-shadow: 0 10px 30px -8px var(--safe-glow); }
.day.pick:hover { background: var(--safe-hi); }
.day.today::before { content: ""; position: absolute; bottom: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--paper-2); }
.day.blank { visibility: hidden; }
.cal-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 26px; }
.legend { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; color: var(--paper-3); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 3px; }
.lg-free { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.lg-busy { background: linear-gradient(-35deg, transparent 46%, var(--safe) 46% 54%, transparent 54%); box-shadow: inset 0 0 0 1px var(--line); }
.lg-pick { background: var(--safe); }
.cal-pick { display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 20px; border-radius: 999px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2); animation: swap .4s var(--ease); }
.cal-pick b { font-weight: 600; }

/* ---------- отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.review { display: flex; flex-direction: column; gap: 24px; padding: clamp(28px, 3vw, 44px); background: var(--bg-2); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.review:nth-child(even) { transform: translateY(40px); }
.review blockquote { margin: 0; font: italic 400 clamp(22px, 2vw, 28px)/1.3 var(--f-display); }
/* большие красные кавычки: открывающая — над текстом, закрывающая — под ним справа; у каждой своё место, на буквы не заходят */
.review blockquote::before, .quote-tile blockquote::before,
.review blockquote::after, .quote-tile blockquote::after { display: block; font: italic 400 64px/.62 var(--f-display); color: var(--safe); }
.review blockquote::before, .quote-tile blockquote::before { content: "«"; margin-bottom: 14px; }
.review blockquote::after, .quote-tile blockquote::after { content: "»"; margin-top: 6px; text-align: right; }
.review footer { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.review footer b { font-weight: 600; }
.review footer .mono { color: var(--paper-3); }

/* ---------- вопросы ---------- */
.faq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 26px 56px 26px 0; cursor: pointer; list-style: none; font: 400 clamp(22px, 2vw, 28px)/1.2 var(--f-display); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--paper-2); transition: transform .4s var(--ease), background .2s; }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq summary:hover { color: #fff; }
.faq summary:hover::after, .faq summary:hover::before { background: var(--safe); }
.faq details p { padding: 0 56px 28px 0; color: var(--paper-2); max-width: 64ch; }
.faq details[open] p { animation: swap .45s var(--ease); }

/* ---------- заявка ---------- */
.book { padding-bottom: clamp(88px, 12vw, 160px); }
.book-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.book-side { position: sticky; top: 110px; }
.book-steps { list-style: none; counter-reset: s; margin: 38px 0 28px; padding: 0; display: grid; border-top: 1px solid var(--line); }
.book-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; padding: 18px 0; border-bottom: 1px solid var(--line); }
.book-steps li::before { content: "0" counter(s); grid-row: span 2; font: 500 12px/1.9 var(--f-mono); color: var(--safe); }
.book-steps b { font: 400 26px/1.15 var(--f-display); text-transform: uppercase; }
.book-steps span { color: var(--paper-2); font-size: 14px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.form { display: grid; gap: 20px; padding: clamp(24px, 3.4vw, 44px); background: var(--bg-2); border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line), 0 50px 100px -50px rgba(0,0,0,.9); }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field legend, .label { padding: 0; margin-bottom: 8px; font: 500 11px/1 var(--f-mono); color: var(--paper-3); }
.label { margin-bottom: 0; }
.label i { text-transform: none; letter-spacing: 0; font-style: normal; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input:not([type=radio]):not([type=checkbox]), select, textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--r); border: 0; background: var(--bg); color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 16px; transition: box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b4ab9d' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--paper-3); }
input:hover, select:hover, textarea:hover { box-shadow: inset 0 0 0 1px var(--paper-3); }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--paper); background: #0e0d0b; }
input[type=date]::-webkit-calendar-picker-indicator { filter: invert(.8); cursor: pointer; }
.is-bad input, .is-bad select, .is-bad .seg { box-shadow: inset 0 0 0 1px var(--safe-hi) !important; }
.seg-wide { display: grid; grid-template-columns: repeat(3, 1fr); }
.seg-wide label span { width: 100%; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { display: flex; }
.pills span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: var(--paper-2); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.pills label:hover span { color: var(--paper); box-shadow: inset 0 0 0 1px var(--paper-3); }
.pills input:checked + span { background: rgba(229,69,43,.14); color: var(--paper); box-shadow: inset 0 0 0 1px var(--safe); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--paper-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; border-radius: 5px; -webkit-appearance: none; appearance: none; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--bg); cursor: pointer; transition: background .2s, box-shadow .2s; display: grid; place-items: center; }
.check input:checked { background: var(--safe); box-shadow: none; }
.check input:checked::after { content: ""; width: 10px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.is-bad.check input { box-shadow: inset 0 0 0 1px var(--safe-hi); }
.err { color: var(--safe-hi); font-size: 13px; }
.err:empty { display: none; }
.err-form { text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { justify-items: start; gap: 18px; padding-block: clamp(48px, 6vw, 80px); outline: none; animation: swap .6s var(--ease); }
.form-done h3 { font: 300 clamp(36px, 4vw, 56px)/1 var(--f-display); text-transform: uppercase; }
.done-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 40px var(--safe-glow); position: relative; }
.done-mark::after { content: ""; position: absolute; left: 19px; top: 21px; width: 18px; height: 9px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* ---------- подвал ---------- */
.foot { padding: 40px 0 32px; border-top: 1px solid var(--line); overflow: hidden; }
.foot-word { font: 300 clamp(72px, 19vw, 320px)/.8 var(--f-display); letter-spacing: .03em; color: var(--bg-3); white-space: nowrap; margin: 10px 0 40px -.03em; user-select: none; }
.foot-word span { color: rgba(229, 69, 43, .55); font-style: italic; font-weight: 400; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--paper-2); }
.foot-nav a:hover, .foot-nav .link:hover { color: var(--paper); }
.foot-nav .link { color: var(--paper-2); text-decoration: none; }
.demo-note { margin-top: 22px; color: var(--paper-3); font-size: 11px; }
.float-cta { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); display: none; box-shadow: 0 20px 40px -10px rgba(0,0,0,.8); transform: translateY(140%); transition: transform .5s var(--ease); }
.float-cta.on { transform: none; }

/* ---------- просмотр фото ---------- */
dialog { padding: 0; border: 0; color: var(--paper); }
dialog::backdrop { background: rgba(5, 5, 4, .95); }
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; background: transparent; overflow: hidden; }
.lb[open] { display: grid; grid-template-rows: 1fr auto; animation: fadeIn .35s var(--ease); }
.lb-stage { position: relative; display: grid; place-items: center; padding: 72px 90px 12px; min-height: 0; touch-action: pan-y; }
.lb-stage img { max-width: calc(100vw - 180px); max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; box-shadow: 0 40px 100px -30px #000; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.lb-stage img.out { opacity: 0; transform: scale(.985); }
.lb-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 32px; flex-wrap: wrap; padding: 16px 90px max(22px, env(safe-area-inset-bottom)); }
.lb-cap { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.lb-cap b { font: 400 28px/1.1 var(--f-display); text-transform: uppercase; }
.lb-cap .mono { color: var(--safe-hi); }
.lb-exif { color: var(--paper-3); }
.lb-close { position: absolute; top: 16px; right: 16px; }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -24px; background: rgba(11,10,9,.5); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.policy { width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); background: var(--bg-2); border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); }
.policy[open] { animation: swap .4s var(--ease); }
.policy-in { position: relative; padding: clamp(28px, 4vw, 48px); display: grid; gap: 12px; color: var(--paper-2); }
.policy h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 48px 8px 0; color: var(--paper); }
.policy h3 { font: 600 15px/1.3 var(--f-body); color: var(--paper); margin-top: 10px; }
.policy-close { position: absolute; top: 16px; right: 16px; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .packs { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav, .top-cta { display: none; }
  .burger { display: block; }
  .ch-head { grid-template-columns: 1fr; }
  .about-in, .faq-in, .book-in { grid-template-columns: 1fr; }
  .about-photo { max-width: 480px; }
  .book-side { position: static; }
  .cal { grid-template-columns: 1fr; }
  .cal .month + .month { display: none; }
  .reviews { grid-template-columns: 1fr; }
  .review:nth-child(even) { transform: none; }
  .float-cta { display: inline-flex; }
  .pair .quote-tile { grid-column: 1 / -1; padding: 0 0 12px; }
  .pair .ph:nth-of-type(1) { grid-column: 1 / 7; }
  .pair .ph:nth-of-type(2) { grid-column: 7 / 13; }
}
@media (max-width: 760px) {
  .hero { --hh: max(100svh, 620px); --fw: 40vw; --ft: calc(var(--hh) * .1); --fh: calc(var(--hh) * .42); --pos: 50% 20%; }
  .hero-bg { background-image: url(/proyavka/site/img/hero-s-bw.webp?v=2); }
  .dev { background-image: url(/proyavka/site/img/hero-s.jpg); }
  .hero-cols i:nth-child(1) { left: 12%; } .hero-cols i:nth-child(2) { left: 50%; } .hero-cols i:nth-child(3) { left: 88%; }
  /* слово целиком в ширину экрана: при 23vw буквы P и A уходили за края */
  .hero-word { bottom: auto; top: calc(var(--hh) * .45); font-size: 19vw; }
  .hero-in { top: auto; bottom: 52px; }
  .hero-in .eyebrow { display: none; }
  .hero-title { margin: 0 0 12px; font-size: clamp(32px, 9.4vw, 46px); }
  .lead { font-size: 14px; line-height: 1.5; max-width: none; }
  .hero-cta { margin-top: 20px; flex-wrap: nowrap; gap: 8px; }
  .hero-cta .btn { flex: 1; min-height: 48px; padding: 0 12px; font-size: 14px; }
  .hero-meta { display: none; }
  .trio { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; aspect-ratio: auto; gap: 10px; }
  .trio .big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; }
  .trio .ph:not(.big) { aspect-ratio: 1; }
  .pair { gap: 10px; }
  .acc { height: 480px; gap: 6px; }
  .acc-item { border-radius: 18px; }
  .acc-v { font-size: 17px; bottom: 18px; }
  /* «Женственность» — самое длинное название: кегль от ширины экрана, чтобы влезало в открытую плашку */
  .acc-h b { font-size: min(38px, 5vw); }
  .acc-hint { display: none; }
  .arches { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .arch:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .arch-cap b { font-size: 20px; }
  .duo { grid-template-columns: 1fr; gap: 10px; }
  .duo .ph:nth-child(2) { margin-top: 0; width: 82%; margin-left: auto; }
  .pano { aspect-ratio: 4 / 3; }
  .pano .ph-cap { flex-direction: column; align-items: flex-start; }
  .pano .ph-cap b { font-size: min(40px, 7.6vw); }
  .pano .ph-cap small { text-align: left; }
  .reel-item .ph { height: 52svh; max-height: 440px; }
  .packs { grid-template-columns: 1fr; }
  .head-row { align-items: flex-start; }
  .head-row .seg { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
  .row2 { grid-template-columns: 1fr; }
  .lb-stage { padding: 64px 0 8px; }
  .lb-stage img { max-width: 100vw; max-height: calc(100dvh - 190px); }
  .lb-bar { padding-inline: 20px; }
  .lb-prev, .lb-next { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step { padding-right: 0; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 0; }
  .step:nth-child(n+3) { margin-top: 0; }
  .stats { gap: 24px 16px; }
  .legend { gap: 14px; }
  .cal-pick { width: 100%; justify-content: space-between; }
  .pack-foot { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .hero-line, .js .hero-word { opacity: 1; transform: none; }
  .js .ph { clip-path: none; }
  .ph::after { display: none; }
}
