/* B2 — «Личное и светлое», режиссура движения.
   Молочно-пудровая гамма, тёмная роза, глубина: наложенные арки, вращающаяся печать, бегущая строка,
   фото зала раскрывается при прокрутке, слова проявляются по мере чтения. */
:root {
  --milk: #fbf5f2;
  --powder: #f2dad6;
  --blush: #e9c3be;
  --sage: #dfe7de;
  --rose: #8f3a4f;
  --rose-deep: #5e2132;
  --ink: #2f2226;
  --muted: #6d5a5d;
  --white: #ffffff;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --lead: clamp(1.375rem, 1.1rem + 1vw, 2rem);
  --head: clamp(2.5rem, 1.5rem + 4vw, 5.25rem);
  --display: clamp(2.75rem, 1rem + 6.4vw, 7.5rem);

  --m: clamp(16px, 3.4vw, 56px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--milk); color: var(--ink); font-family: var(--sans); font-size: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
h3 { font-weight: 700; font-size: var(--body); line-height: 1.3; }
em, .it { font-family: var(--serif); font-style: italic; font-weight: 400; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
::selection { background: var(--rose); color: var(--white); }
.wrap { max-width: 1440px; margin-inline: auto; padding-left: max(var(--m), env(safe-area-inset-left, 0px)); padding-right: max(var(--m), env(safe-area-inset-right, 0px)); }

/* зерно поверх всей страницы — убирает «цифровую» плоскость */
.grain { position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: 0.07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* кнопка: капсула, «магнитная» на компьютере */
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 30px; border-radius: 999px; border: 0;
  background: var(--rose); color: var(--white); font: 700 var(--body)/1 var(--sans); text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform 300ms var(--ease); will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rose-deep); transform: translateY(101%); border-radius: inherit; transition: transform 450ms var(--ease); }
.btn .arrow { display: inline-block; transition: transform 450ms var(--ease); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: translateY(0); }
  .btn:hover .arrow { transform: translateX(6px) rotate(-45deg); }
}
.btn--light { background: var(--white); color: var(--rose); }
.btn--light::before { background: var(--powder); }

/* ---------- верх ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: max(18px, env(safe-area-inset-top, 0px)) max(var(--m), env(safe-area-inset-right, 0px)) 18px max(var(--m), env(safe-area-inset-left, 0px));
  transition: transform 500ms var(--ease), background-color 300ms ease; }
.nav.scrolled { background: rgba(251, 245, 242, 0.92); }
.nav.hide { transform: translateY(-110%); }
.nav .brand { font-weight: 700; font-size: var(--small); text-decoration: none; }
.nav .links { display: flex; gap: 28px; font-size: var(--small); }
.nav .links a { text-decoration: none; position: relative; }
.nav .links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 400ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .nav .links a:hover::after { transform: scaleX(1); transform-origin: left; } }
.nav .btn { min-height: 46px; padding: 0 22px; font-size: var(--small); }

/* ---------- обложка ---------- */
.hero { position: relative; min-height: 100svh; padding-top: clamp(110px, 12vw, 160px); padding-bottom: clamp(48px, 6vw, 96px); display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.hero h1 { font-size: var(--display); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 .line:last-child > span { font-style: italic; color: var(--rose); }
.hero .quote { margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: var(--lead); color: var(--ink); }
.hero .facts { margin-top: 36px; display: grid; grid-template-columns: auto auto; gap: 18px 40px; justify-content: start; }
.hero .facts dt { font-size: var(--small); color: var(--muted); }
.hero .facts dd { font-weight: 700; font-size: var(--body); }
.hero .cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero .count { font-size: var(--small); color: var(--muted); }

.stack { position: relative; aspect-ratio: 4 / 5.6; width: 100%; max-width: 560px; justify-self: end; }
.arch { position: absolute; overflow: hidden; border-radius: 999px 999px 28px 28px; background: var(--powder); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch.main { inset: 0 0 17% 14%; }
.arch.main img { object-position: 42% 25%; transform: scale(1.12); }
.arch.second { width: 42%; aspect-ratio: 3 / 4; left: 0; bottom: 0; border: 8px solid var(--milk); border-radius: 999px 999px 22px 22px; }
.arch.second img { object-position: 50% 18%; }
.arch-cap { position: absolute; left: 46%; right: 0; bottom: 0; font-size: var(--small); line-height: 1.35; }
.arch-cap strong { display: block; font-size: var(--body); }
.seal { position: absolute; top: -4%; left: 2%; width: clamp(110px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%; background: var(--rose); color: var(--white); display: grid; place-items: center; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal text { font: 700 11px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; fill: var(--white); }
.seal .date { font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 1vw, 2rem); line-height: 1; text-align: center; }
.seal .date small { display: block; font-family: var(--sans); font-size: 0.8125rem; margin-top: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- бегущая строка ---------- */
.marquee { background: var(--rose); color: var(--white); overflow: hidden; padding-block: clamp(18px, 2.4vw, 30px); }
.marquee .track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: var(--lead); white-space: nowrap; padding-right: 1.2em; }
.marquee span i { display: inline-block; width: 0.32em; height: 0.32em; margin: 0 0.1em 0 1.2em; border-radius: 50%; background: var(--blush); vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- узнаёте себя ---------- */
.voices { padding-block: clamp(96px, 11vw, 176px); }
.voices-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.voices-head { position: sticky; top: 120px; }
.voices-head h2 { font-size: var(--head); }
.voices-head p { margin-top: 24px; font-size: var(--lead); line-height: 1.35; font-family: var(--serif); }
.voices-head .hint { margin-top: 24px; font-family: var(--sans); font-size: var(--small); color: var(--muted); }
.voice-list { list-style: none; padding: 0; display: grid; gap: 20px; }
.voice { background: var(--white); border-radius: 28px; padding: clamp(24px, 3vw, 40px); transition: background-color 400ms ease, transform 400ms var(--ease); }
.voice blockquote { font-family: var(--serif); font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.375rem); line-height: 1.2; }
.voice p { margin-top: 14px; color: var(--muted); }
.voice.is-mine { background: var(--rose); color: var(--white); }
.voice.is-mine p { color: var(--powder); }
.mine { display: none; margin-top: 20px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: inherit; font: 700 var(--small)/1 var(--sans); cursor: pointer; touch-action: manipulation; transition: background-color 300ms ease, color 300ms ease, transform 200ms var(--ease); }
.js .mine { display: inline-flex; align-items: center; gap: 8px; }
.mine:active { transform: scale(0.96); }
.voice.is-mine .mine { background: var(--white); color: var(--rose); border-color: var(--white); }
.composer { display: none; margin-top: 20px; background: var(--ink); color: var(--white); border-radius: 28px; padding: clamp(24px, 3vw, 40px); }
.js .composer { display: block; }
.composer h3 { font-weight: 700; }
.composer output { display: block; margin-top: 12px; font-family: var(--serif); font-size: var(--lead); line-height: 1.35; white-space: pre-line; }
.composer .btn { margin-top: 24px; }
.composer .status { margin-top: 12px; min-height: 1.4em; font-size: var(--small); color: var(--blush); }

/* ---------- слова проявляются ---------- */
.okay { background: var(--powder); padding-block: clamp(110px, 13vw, 200px); }
.okay p { font-family: var(--serif); font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.75rem); line-height: 1.18; letter-spacing: -0.01em; max-width: 30ch; }
.okay .w { opacity: 0.16; transition: opacity 200ms linear; }
.okay strong { font-weight: 500; font-style: italic; color: var(--rose); }

/* ---------- зал раскрывается ---------- */
.place { padding-top: clamp(96px, 11vw, 176px); }
.place-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.place-head h2 { font-size: var(--head); }
.place-head p { max-width: 46ch; }
.reveal { margin-top: clamp(48px, 6vw, 88px); height: clamp(420px, 70vw, 860px); position: relative; }
.reveal .frame { position: sticky; top: 0; height: min(100svh, 860px); overflow: hidden; border-radius: 999px 999px 32px 32px; margin-inline: auto; width: min(560px, 100%); }
.reveal img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transform: scale(1.15); }
.reveal .label { position: absolute; left: 24px; bottom: 24px; background: var(--white); border-radius: 999px; padding: 10px 18px; font-size: var(--small); font-weight: 700; }
.gains { padding-block: clamp(64px, 8vw, 128px) clamp(96px, 11vw, 176px); }
.gains-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.gains-grid li { border-top: 0; }
.gains-grid .ico { width: 54px; height: 54px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--rose); }
.gains-grid h3 { margin-top: 20px; font-family: var(--serif); font-weight: 500; font-size: clamp(1.375rem, 1.1rem + 0.7vw, 1.75rem); line-height: 1.15; }
.gains-grid p { margin-top: 10px; color: var(--muted); }
.table-line { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; background: var(--sage); border-radius: 999px; padding: 18px 18px 18px 32px; }
.table-line p { flex: 1 1 320px; }
.table-line strong { font-weight: 700; }

/* ---------- Анна ---------- */
.host { background: var(--white); padding-block: clamp(96px, 11vw, 176px); position: relative; overflow: hidden; }
.host-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.ring { position: relative; width: min(460px, 100%); aspect-ratio: 1; justify-self: center; }
.ring .ph { position: absolute; inset: 12%; border-radius: 50%; overflow: hidden; }
.ring .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 22%; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.ring text { font-family: var(--serif); font-style: italic; font-size: 19px; fill: var(--rose); letter-spacing: 0.04em; }
.host h2 { font-size: var(--head); }
.host .story { margin-top: 28px; display: grid; gap: 1em; max-width: 60ch; }
.figs { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.figs strong { display: block; font-family: var(--serif); font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4.5rem); line-height: 1; color: var(--rose); font-variant-numeric: tabular-nums; }
.figs span { display: block; margin-top: 8px; font-size: var(--small); color: var(--muted); line-height: 1.35; }
.host .role { margin-top: 28px; font-size: var(--small); color: var(--muted); }

/* ---------- гостья ---------- */
.guest { background: var(--rose-deep); color: var(--white); padding-block: clamp(96px, 11vw, 176px); overflow: hidden; }
/* имя начинается от поля, движение только влево и небольшое */
.guest .bigname { padding-left: max(var(--m), env(safe-area-inset-left, 0px)); font-family: var(--serif); font-size: clamp(3rem, 1rem + 9vw, 10rem); line-height: 0.95; letter-spacing: -0.03em; white-space: nowrap; will-change: transform; }
.guest .bigname em { color: var(--blush); }
.guest-grid { margin-top: clamp(48px, 6vw, 96px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.guest .portrait { border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 3 / 4; }
.guest .portrait img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 20%; }
.guest .hook { font-family: var(--serif); font-style: italic; font-size: clamp(1.75rem, 1.2rem + 2vw, 3.25rem); line-height: 1.12; color: var(--blush); }
.guest .role-line { margin-top: 24px; font-size: var(--lead); line-height: 1.35; }
.guest .story { margin-top: 24px; display: grid; gap: 1em; color: #f1dfe1; max-width: 58ch; }
.guest .figs strong { color: var(--white); }
.guest .figs span { color: var(--blush); }

/* ---------- как пройдёт ---------- */
.plan { padding-block: clamp(96px, 11vw, 176px); }
.plan h2 { font-size: var(--head); max-width: 14ch; }
.path { margin-top: clamp(48px, 6vw, 88px); position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); list-style: none; padding: 0; }
.path svg.line { position: absolute; left: 0; right: 0; top: 27px; width: 100%; height: 4px; overflow: visible; }
.path li { position: relative; padding-top: 80px; }
.path .dot { position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--rose); color: var(--white); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 1.5rem; }
.path h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.375rem, 1.1rem + 0.7vw, 1.75rem); line-height: 1.2; }
.path p { margin-top: 8px; color: var(--muted); }

/* ---------- цена ---------- */
.price { padding-bottom: clamp(96px, 11vw, 176px); }
.price-card { position: relative; overflow: hidden; background: var(--rose); color: var(--white); border-radius: 40px; padding: clamp(32px, 5vw, 80px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.price-card .sum { font-family: var(--serif); font-size: clamp(4rem, 2rem + 8vw, 10rem); line-height: 0.9; letter-spacing: -0.03em; white-space: nowrap; }
.price-card .sum-note { margin-top: 16px; font-size: var(--lead); font-family: var(--serif); font-style: italic; color: var(--blush); }
.price-card dl { display: grid; gap: 18px; }
.price-card dt { font-size: var(--small); color: var(--blush); }
.price-card dd { font-weight: 700; }
.price-card .btn { margin-top: 32px; }
.price-card .orb { position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%; right: -180px; top: -220px; background: var(--rose-deep); opacity: 0.55; pointer-events: none; }

/* ---------- вопросы ---------- */
.faq { padding-bottom: clamp(96px, 11vw, 176px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); }
.faq h2 { font-size: var(--head); }
.qa { display: grid; gap: 14px; }
.qa details { background: var(--white); border-radius: 24px; padding: 6px 28px; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 72px; font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem); touch-action: manipulation; }
.qa summary::-webkit-details-marker { display: none; }
.qa .pm { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--powder); position: relative; transition: transform 400ms var(--ease), background-color 300ms ease; }
.qa .pm::before, .qa .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--rose); transform: translate(-50%, -50%); }
.qa .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa details[open] .pm { transform: rotate(135deg); background: var(--rose); }
.qa details[open] .pm::before, .qa details[open] .pm::after { background: var(--white); }
.qa details p { padding: 0 0 22px; color: var(--muted); max-width: 52ch; }

/* ---------- подвал ---------- */
.foot { background: var(--ink); color: var(--white); padding-block: clamp(96px, 11vw, 176px) max(32px, env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.foot .big { font-family: var(--serif); font-size: clamp(2.75rem, 1rem + 7vw, 8.5rem); line-height: 0.98; letter-spacing: -0.03em; }
.foot .big em { color: var(--blush); }
.foot .row { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.foot .motto { font-family: var(--serif); font-style: italic; font-size: var(--lead); max-width: 30ch; color: var(--blush); }
.foot .meta { margin-top: clamp(56px, 7vw, 96px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: var(--small); color: #c9b9bc; }

/* ---------- состояния движения (ставит скрипт; без скрипта всё видно) ---------- */
.anim main > section:not(.hero) .rise, .anim main > section.rise, .anim footer .rise { opacity: 0; transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  .grain, .seal svg, .ring svg, .marquee .track { animation: none; }
  .anim .rise { opacity: 1 !important; transform: none !important; }
  .okay .w { opacity: 1; }
}

/* ---------- планшет ---------- */
@media (max-width: 1024px) {
  .nav .links { display: none; }
  .hero-grid, .voices-grid, .host-grid, .guest-grid, .faq-grid, .place-head, .price-card { grid-template-columns: minmax(0, 1fr); }
  .stack { justify-self: start; max-width: 520px; }
  .voices-head { position: static; }
  .gains-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .path svg.line { display: none; }
  .ring { justify-self: start; width: min(380px, 100%); }
  .guest .portrait { max-width: 460px; }
}

/* ---------- телефон ---------- */
@media (max-width: 640px) {
  .nav .btn { display: none; }
  .hero { padding-top: 96px; min-height: 0; }
  .hero .facts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hero .cta .btn { width: 100%; justify-content: center; }
  .stack { margin-top: 8px; }
  .seal { width: 104px; top: -2%; }
  .arch-cap { left: 46%; }
  .voice { border-radius: 22px; }
  .gains-grid, .path { grid-template-columns: minmax(0, 1fr); }
  .table-line { border-radius: 28px; padding: 22px; }
  .table-line .btn { width: 100%; justify-content: center; }
  .reveal { height: auto; }
  .reveal .frame { position: relative; height: 72svh; border-radius: 999px 999px 24px 24px; }
  .figs { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .price-card { border-radius: 28px; }
  .price-card .btn { width: 100%; justify-content: center; }
  .qa details { padding: 4px 20px; }
}

.price-card > div { position: relative; z-index: 1; }
.price-card .orb { z-index: 0; }

.path li::before { content: ""; position: absolute; top: 27px; left: 64px; right: -8px; height: 2px; background: var(--blush); transform-origin: left; transform: scaleX(var(--line, 1)); }
.path li:last-child::before { display: none; }
@media (max-width: 1024px) { .path li::before { display: none; } }

@media (max-width: 640px) { .guest .bigname { white-space: normal; transform: none !important; } }

/* гостья без фото (15 декабря): типографская арка с названием её пространства */
.arch.emblem { background: var(--rose-deep); color: var(--white); display: grid; place-items: center; }
.arch.emblem span { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 0.9rem + 1vw, 1.875rem); letter-spacing: 0.04em; }
.guest .emblem-big { background: var(--powder); color: var(--rose-deep); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 18px; padding: 32px; }
.guest .emblem-big span { font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 1.6rem + 4vw, 5.5rem); line-height: 1; }
.guest .emblem-big small { font-size: var(--small); max-width: 24ch; color: var(--muted); }


/* ===== проход 17.11: без арок, на обложке только Анна ===== */
.stack { aspect-ratio: auto; max-width: 540px; }
.hero-photo { position: relative; margin: 0; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 5; background: var(--powder); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 28%; transform: scale(1.08); }
.photo-cap { margin-top: 14px; font-size: var(--small); color: var(--muted); }
.photo-cap strong { display: block; color: var(--ink); font-size: var(--body); }
.seal { top: -42px; left: -42px; }
.reveal .frame { border-radius: 6px; }
.guest .portrait { border-radius: 6px; }
.host-photo { margin: 0; width: 100%; max-width: 460px; justify-self: start; }
.host-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 42% 25%; border-radius: 6px; }
.host-photo figcaption { margin-top: 20px; font-family: var(--serif); font-style: italic; font-size: var(--lead); color: var(--rose); line-height: 1.25; }
@media (max-width: 640px) {
  .seal { top: -28px; left: auto; right: -6px; }
  .stack { margin-top: 24px; }
}

/* проход 17.11: читаемость и ритм */
:root { --muted: #5b474b; }
.place-head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.place-head p { max-width: 56ch; font-size: var(--lead); line-height: 1.4; font-family: var(--serif); }
.gains-grid p, .path p, .voice p, .host .story, .guest .story { font-size: var(--body); }
.gains-grid p { color: var(--ink); opacity: 0.82; }
.path { margin-top: clamp(40px, 4vw, 64px); }
.plan { padding-bottom: clamp(64px, 7vw, 112px); }

/* телефон: фото Анны сразу под названием проекта, кнопка всегда под рукой */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .stack { order: -1; margin: 0 0 28px; max-width: none; }
  .hero-grid > div:first-child { order: 0; }
  .hero-photo { aspect-ratio: 5 / 4; }
  .hero-photo img { object-position: 45% 22%; }
  .photo-cap { display: none; }
  .seal { width: 92px; top: auto; bottom: -24px; right: 12px; left: auto; }
  .hero { padding-top: 76px; }
  .mobile-cta { display: flex; justify-content: center; position: fixed; z-index: 45; left: 12px; right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom, 0px)); min-height: 54px; transform: translateY(160%); transition: transform 500ms var(--ease); }
  .mobile-cta.show { transform: none; }
  .foot { padding-bottom: 96px; }
}

/* ===== правки владельца 17.11 ===== */
.hero .quote { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); line-height: 1.35; max-width: 34ch; }
.hero-photo img { object-position: 50% 16%; }
/* факты первого экрана: у каждого своя иконка и своя плашка */
.hero .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 640px; }
.hero .facts .fact { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; background: var(--white); border-radius: 18px; padding: 16px; }
.hero .facts .ficon { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--powder); display: grid; place-items: center; }
.hero .facts .ficon svg { width: 22px; height: 22px; fill: none; stroke: var(--rose); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero .facts dt { align-self: end; }
/* кнопка написать Анне вместо шаблона сообщения */
.write { margin-top: 20px; background: var(--ink); color: var(--white); border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; justify-items: start; }
.write p { font-family: var(--serif); font-size: var(--lead); line-height: 1.3; }
.write .btn { background: var(--white); color: var(--rose); }
.write .btn::before { background: var(--powder); }
/* «Вы не одна»: зал приглушённым фоном, главное — что вы получите */
.place { position: relative; overflow: hidden; padding-bottom: 0; }
.place-bg { position: absolute; inset: 0; z-index: 0; }
.place-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.12; filter: grayscale(0.3); }
.place > .wrap { position: relative; z-index: 1; }
.gains-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); line-height: 1.1; margin-bottom: clamp(28px, 3vw, 48px); }
.gains-grid li { background: rgba(255, 255, 255, 0.85); border-radius: 22px; padding: clamp(20px, 2vw, 28px); }
.gains-grid h3 { margin-top: 0; }
/* гостья: подпись слева над именем */
.guest-label { font-size: var(--small); font-weight: 700; letter-spacing: 0.04em; color: var(--blush); margin-bottom: 18px; }
@media (max-width: 640px) {
  .hero .facts { grid-template-columns: minmax(0, 1fr); }
}

/* плашки фактов: одна сетка, подписи и значения на одних линиях */
.hero .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; max-width: 640px; }
.hero .facts .fact { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px; align-items: start; align-content: start; padding: 18px 20px; }
.hero .facts .ficon { grid-row: 1 / span 2; align-self: start; }
.hero .facts dt { align-self: start; font-size: var(--small); line-height: 1.2; padding-top: 2px; }
.hero .facts dd { font-size: var(--body); font-weight: 700; line-height: 1.3; }
.hero .facts dd small { display: block; margin-top: 4px; font-weight: 500; font-size: var(--small); color: var(--muted); }
.hero-photo { aspect-ratio: 4 / 5; }
.hero-photo img { object-position: 50% 30%; transform: scale(1.02); }
@media (max-width: 640px) { .hero .facts { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; } .hero-photo img { object-position: 50% 15%; } }

@media (max-width: 640px) {
  .write .btn { width: 100%; justify-content: center; font-size: var(--small); padding: 0 18px; white-space: nowrap; }
  .foot { padding-bottom: max(32px, env(safe-area-inset-bottom, 0px)); }
}

.hero-photo img { object-position: 50% 20%; }
.host-photo img { object-position: 50% 20%; }
@media (max-width: 640px) { .hero-photo img { object-position: 50% 12%; } }

/* фото Анны показывается целиком, без подрезки: кадр уже 4:5, ни масштаба, ни сдвига */
.hero-photo { aspect-ratio: 4 / 5 !important; }
.hero-photo img, .host-photo img { object-position: 50% 0% !important; transform: none !important; }
@media (max-width: 640px) { .hero-photo { aspect-ratio: 4 / 5 !important; } }
