/* Мария Гейн — психолог · ИП «Территория Я». Brand: Я + Ψ monogram in a circle. */
:root {
  --peach: #FEEEE7;      /* logo ground */
  --peach-2: #F9E1D7;
  --peach-3: #F2CFC2;
  --coral: #C2554B;      /* warm red accent */
  --berry: #9E2A36;      /* figures, marks */
  --logo: #8A2B31;       /* her logo red */
  --wine-hi: #7A1C2C;    /* wine hover */
  --wine-2: #7D2333;     /* wine card */
  --wine-3: #8C2A3B;     /* wine card hover */
  --night-2: #1B0A0D;
  --night-3: #160709;
  --wine: #6B1826;       /* fields */
  --night: #2A0E13;      /* stage */
  --green: #1D3631;
  --ink: #1E1517;
  --ink-soft: #66494D;
  --on-dark: #FEEEE7;
  --on-dark-soft: #E2C6C0;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --t-display: clamp(56px, 8vw, 146px);
  --t-h2: clamp(36px, 4.1vw, 64px);
  --t-h3: clamp(23px, 1.9vw, 30px);
  --t-lead: clamp(20px, 1.75vw, 27px);
  --t-body: clamp(17px, 1.1vw, 18px);
  --t-small: 14px;

  --m: clamp(20px, 2.6vw, 40px);
  --pad: clamp(28px, 5.6vw, 104px);
  --gap-sec: clamp(96px, 11vw, 176px);
  --stage: 46vw;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --bar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
  margin: 0; background: var(--peach); color: var(--ink);
  font: 400 var(--t-body)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; font-feature-settings: "kern", "liga";
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--peach-3) var(--peach); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--peach); padding: 10px 16px; }

.h2 { font: 500 var(--t-h2)/1.04 var(--serif); letter-spacing: -.015em; }
.h3 { font: 500 var(--t-h3)/1.15 var(--serif); }
.ico { width: 22px; height: 22px; flex: none; }
.ico--arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .35s var(--ease); }

/* ---------- brand: her logo, the Я + Ψ monogram ---------- */
.mono {
  display: inline-block; flex: none; width: 48px; aspect-ratio: 1555 / 1429; background: currentColor;
  -webkit-mask: url(img/brand/mono.png) center / contain no-repeat; mask: url(img/brand/mono.png) center / contain no-repeat;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo__word {
  display: block; height: 15px; aspect-ratio: 2740 / 346; background: currentColor;
  -webkit-mask: url(img/brand/territoria-word.png) center / contain no-repeat; mask: url(img/brand/territoria-word.png) center / contain no-repeat;
}
.js .mono--draw { clip-path: circle(0% at 50% 50%); opacity: .2; transition: clip-path 1.6s cubic-bezier(.45, .05, .25, 1), opacity 1.2s ease; }
.js .mono--draw.is-drawn { clip-path: circle(72% at 50% 50%); opacity: 1; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px;
  font: 500 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--light { background: var(--peach); color: var(--night); }
.btn--light:hover { background: #fff; }
.btn--ink { background: var(--ink); color: var(--peach); }
.btn--ink:hover { background: var(--wine); }
.btn--wide { width: 100%; }
.link { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; transition: text-underline-offset .3s var(--ease), text-decoration-color .3s; }
.link:hover { text-underline-offset: 8px; text-decoration-color: var(--coral); }

.more { display: none; }

/* ---------- header ---------- */
.bar {
  position: absolute; z-index: 20; top: 0; left: var(--stage); right: 0;
  display: flex; align-items: center; gap: 24px; padding: 28px var(--m) 0 var(--pad);
  color: var(--on-dark);
}
.bar .logo { margin-right: auto; }
.bar .mono { width: 46px; }
.bar .logo__word { height: 17px; }
.bar__nav { display: flex; gap: 22px; }
.bar__nav a { white-space: nowrap; font-size: 15px; font-weight: 500; text-decoration: none; opacity: .85; position: relative; transition: opacity .2s; }
.bar__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.bar__nav a:hover { opacity: 1; }
.bar__nav a:hover::after { transform: scaleX(1); }
.bar__cta { min-height: 44px; padding: 0 22px; font-size: 15px; }
.bar__menu { display: none; }
.is-menu .bar { position: fixed; z-index: 40; }
.is-menu .bar__cta { display: none; }

/* menu (phone/tablet) */
.menu { position: fixed; z-index: 35; inset: 0; background: var(--night); color: var(--on-dark); padding: calc(var(--bar-h) + 28px) 24px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { font: 500 clamp(30px, 8.6vw, 44px)/1.2 var(--serif); text-decoration: none; padding: 7px 0; opacity: 0; transform: translateY(16px); animation: up .6s var(--ease) forwards; }
.menu__nav a:nth-child(2) { animation-delay: .04s; } .menu__nav a:nth-child(3) { animation-delay: .08s; } .menu__nav a:nth-child(4) { animation-delay: .12s; }
.menu__nav a:nth-child(5) { animation-delay: .16s; } .menu__nav a:nth-child(6) { animation-delay: .2s; } .menu__nav a:nth-child(7) { animation-delay: .24s; }
.menu__foot { margin-top: auto; padding-top: 32px; }
.menu__foot p { margin: 20px 0 0; color: var(--on-dark-soft); font-size: 16px; line-height: 1.7; }
.menu__foot a:not(.btn) { color: var(--on-dark); text-decoration: none; }

/* ---------- split stage ---------- */
.split { display: grid; grid-template-columns: var(--stage) 1fr; background: var(--night); }
.stage { position: relative; }
.stage__frame { position: sticky; top: 20px; height: calc(100svh - 40px); margin: 20px 0 20px 20px; overflow: hidden; background: var(--night-2); }
.stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.1s var(--ease), transform 6s var(--ease); }
.stage__img.is-on { opacity: 1; transform: scale(1); }
.stage__img[data-scene="portrait"] { object-position: 50% 18%; }
.stage__img[data-scene="full"] { object-position: 50% 30%; }
.stage__img[data-scene="kids"] { object-position: 68% 50%; }
.stage__img[data-scene="circle"] { object-position: 42% 50%; }

.col { background: var(--peach); min-width: 0; }
.col > section { padding: var(--gap-sec) var(--pad) 0; }
.col > section:last-child { padding-bottom: var(--gap-sec); }
.col .h2 { margin-bottom: 32px; }
.intro { max-width: 46ch; margin-bottom: 36px; color: var(--ink-soft); }

/* hero */
.hero { position: relative; background: var(--night); color: var(--on-dark); min-height: 100svh; padding: 0 !important; display: flex; flex-direction: column; justify-content: center; }
.hero__photo { display: none; }
.hero__text { padding: 120px var(--pad) 0; max-width: calc(560px + var(--pad)); margin-top: -10vh; }
.hero__lead { font: 400 clamp(28px, 2.5vw, 38px)/1.24 var(--serif); margin-bottom: 18px; letter-spacing: -.005em; }
.hero__sub { color: var(--on-dark-soft); max-width: 38ch; margin-bottom: 36px; }
.name { position: absolute; left: var(--pad); right: var(--m); bottom: 40px; font: 600 var(--t-display)/.95 var(--serif); letter-spacing: -.025em; white-space: nowrap; }
.name__in { display: block; transform-origin: left bottom; will-change: transform; }

/* about — a letter */
.letter { max-width: 600px; }
.letter .mono { width: 112px; margin: 0 0 36px; color: var(--logo); }
.letter p { line-height: 1.68; }
mark { background: var(--peach-3); color: inherit; padding: 0 .15em; border-radius: 3px; }
.letter__sign { font: italic 400 var(--t-h3)/1.2 var(--serif); margin-top: 40px; color: var(--berry); }
.letter__name { font-weight: 600; margin: 0; }
.letter__name span { display: block; font-weight: 400; font-size: var(--t-small); color: var(--ink-soft); margin-top: 4px; }

/* figures */
.figures__sub { margin: 88px 0 28px; }

/* services */
.svc { display: grid; gap: 14px; width: 100%; text-align: left; border: 0; border-radius: 0; padding: clamp(28px, 3vw, 44px); margin-bottom: 14px; transition: transform .45s var(--ease), background-color .3s; }
.svc--kids { background: var(--peach-2); }
.svc--adults { background: var(--wine); color: var(--on-dark); }
.svc:hover { transform: translateY(-4px); }
.svc--kids:hover { background: var(--peach-3); }
.svc--adults:hover { background: var(--wine-hi); }
.svc__title { font: 500 clamp(34px, 3.3vw, 52px)/1.02 var(--serif); letter-spacing: -.015em; }
.svc__text { max-width: 44ch; }
.svc__more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; margin-top: 4px; }
.svc:hover .ico--arrow { transform: translateX(6px); }

/* requests */
.reqlist { list-style: none; margin: 0 0 36px; padding: 0; columns: 2; column-gap: 40px; }
.reqlist li { break-inside: avoid; font-size: clamp(18px, 1.25vw, 20px); line-height: 1.35; padding: 0 0 14px 22px; position: relative; }
.reqlist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.note { max-width: 52ch; padding: 22px 24px; background: var(--peach-2); font-size: 16px; }
.note a { font-weight: 600; color: var(--berry); }

/* ---------- advantages ---------- */
.adv { background: var(--wine); color: var(--on-dark); padding: var(--gap-sec) var(--m); }
.adv__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 0 var(--m); }
.adv__title { position: sticky; top: 40px; align-self: start; font: 500 clamp(44px, 4.4vw, 76px)/1 var(--serif); letter-spacing: -.02em; padding-right: var(--m); overflow-wrap: break-word; }
.adv__rows { display: grid; gap: 60px; padding-top: 12px; }
.advrow { display: grid; gap: 12px; max-width: 46ch; }
.advrow:nth-child(even) { margin-left: clamp(0px, 8vw, 140px); }
.advrow h3 { font: 500 var(--t-h3)/1.15 var(--serif); }
.advrow h3::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); margin-bottom: 18px; }
.advrow p { margin: 0; color: var(--on-dark-soft); }

/* ---------- methods ---------- */
.methlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.methlist li { display: grid; gap: 8px; }
.methlist__name { font: 500 clamp(32px, 3.4vw, 54px)/1.05 var(--serif); letter-spacing: -.015em; transition: color .3s, transform .45s var(--ease); }
.methlist__text { max-width: 48ch; color: var(--ink-soft); }

/* ---------- price ---------- */
.price { padding-top: calc(var(--gap-sec) * .5); }
.price__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; padding: 0 var(--m) 44px; }
.price__head { font: italic 500 clamp(56px, 6.4vw, 108px)/.95 var(--serif); letter-spacing: -.02em; color: var(--berry); }
.price__note { margin: 0; color: var(--ink-soft); font-size: clamp(16px, 1.2vw, 19px); }
.price__fields { display: grid; grid-template-columns: 1fr 1fr; min-height: 64svh; }
.plan { display: flex; flex-direction: column; padding: clamp(32px, 3.6vw, 56px) var(--m); }
.plan--one { background: var(--peach-2); }
.plan--pack { background: var(--green); color: var(--on-dark); }
.plan__name { font: 500 clamp(36px, 4vw, 62px)/1 var(--serif); letter-spacing: -.015em; margin-bottom: 24px; }
.plan__text { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; max-width: 34ch; margin: 0; }
.plan__foot { margin-top: auto; padding-top: 56px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.plan__price { margin: 0; font: 500 clamp(52px, 5.6vw, 100px)/.85 var(--serif); letter-spacing: -.03em; font-variant-numeric: lining-nums; white-space: nowrap; }
.plan__price span { font-size: .4em; letter-spacing: 0; margin-left: 4px; }

/* ---------- club ---------- */
.club { padding: var(--gap-sec) 0; }
.club__head { padding: 0 var(--m); display: grid; grid-template-columns: 5fr 7fr; gap: 32px var(--m); align-items: start; }
.statement { font: 400 clamp(23px, 2vw, 32px)/1.3 var(--serif); max-width: 34ch; margin: 0; }
.club__facts { display: flex; flex-wrap: wrap; gap: 20px 56px; margin: 36px 0 0; }
.club__facts dt { font: 500 clamp(30px, 2.6vw, 42px)/1 var(--serif); color: var(--berry); }
.club__facts dd { margin: 8px 0 0; font-size: 15px; color: var(--ink-soft); max-width: 22ch; }
.drag { margin: 72px 0 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; }
.drag::-webkit-scrollbar { display: none; }
.drag.is-down { cursor: grabbing; scroll-snap-type: none; }
.drag__track { display: flex; gap: 12px; height: 66svh; min-height: 400px; max-height: 740px; padding: 0 var(--m); width: max-content; }
.m { margin: 0; flex: none; height: 100%; overflow: hidden; scroll-snap-align: start; scroll-margin-left: var(--m); }
.m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; user-select: none; -webkit-user-drag: none; }
.m:hover img { transform: scale(1.04); }
.m--tall { aspect-ratio: 3 / 4; }
.m--wide { aspect-ratio: 16 / 10; }
.m--pair { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 2 / 3; }
.drag__hint { display: flex; align-items: center; gap: 8px; margin: 0 var(--m) 64px; font-size: var(--t-small); color: var(--ink-soft); }
.club__body { padding: 0 var(--m); display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.acc summary { list-style: none; pointer-events: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc__title { display: block; font: 500 var(--t-h3)/1.15 var(--serif); margin-bottom: 14px; }
.acc p { font-size: 17px; }
.club__foot { margin: 56px var(--m) 0; padding: clamp(28px, 3vw, 44px); background: var(--peach-2); display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.club__hosts { margin: 0; max-width: 60ch; }

/* ---------- education ---------- */
.edu { background: var(--peach-2); padding: var(--gap-sec) var(--m); display: grid; grid-template-columns: 5fr 7fr; gap: 48px var(--m); }
.edu__side { position: sticky; top: 40px; align-self: start; }
.edu__side p { max-width: 36ch; margin: 28px 0 32px; color: var(--ink-soft); }
.diploma {
  width: 100%; display: grid; gap: 8px; text-align: left; border: 0; border-radius: 0; background: var(--wine); color: var(--on-dark);
  padding: clamp(28px, 3vw, 44px); margin-bottom: 24px; transition: transform .45s var(--ease), background-color .3s;
}
.diploma:hover { transform: translateY(-4px); background: var(--wine-hi); }
.diploma__kind { font-size: 15px; color: var(--on-dark-soft); }
.diploma__title { font: 500 clamp(28px, 2.6vw, 40px)/1.12 var(--serif); }
.diploma__meta { color: var(--on-dark-soft); }
.diploma__go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; margin-top: 12px; }
.diploma:hover .ico--arrow { transform: translateX(6px); }
.doclist { list-style: none; margin: 0; padding: 0; }
.doclist:not(.is-open) li:nth-child(n+6) { display: none; }
.edu .more { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; margin-top: 20px; border: 0; border-radius: 999px; background: var(--peach); font-weight: 500; transition: background-color .3s; }
.edu .more:hover { background: #fff; }
.edu .more::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.edu .more[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.doclist button { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: baseline; text-align: left; border: 0; background: transparent; padding: 20px; margin: 0 -20px; width: calc(100% + 40px); border-radius: 0; transition: background-color .3s; }
.doclist button:hover { background: var(--peach-3); }
.doclist__what { display: grid; gap: 6px; font-size: 15px; color: var(--ink-soft); }
.doclist__what b { font-weight: 500; font-size: clamp(17px, 1.2vw, 19px); line-height: 1.38; color: var(--ink); }
.doclist__when { font: 500 clamp(22px, 1.8vw, 28px)/1 var(--serif); color: var(--berry); font-variant-numeric: lining-nums; white-space: nowrap; }

/* ---------- reviews ---------- */
.reviews { padding: var(--gap-sec) var(--m); }
.reviews__top { display: grid; grid-template-columns: 5fr 7fr; gap: 32px var(--m); align-items: end; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.rating__num { margin: 0; font: 500 clamp(72px, 7.6vw, 124px)/.85 var(--serif); color: var(--berry); }
.rating__text { margin: 0; }
.featured { margin: 80px 0 0; display: grid; grid-template-columns: 5fr 7fr; gap: 0 var(--m); }
.featured blockquote { grid-column: 2; margin: 0; }
.featured p { font: 400 clamp(24px, 2.2vw, 34px)/1.32 var(--serif); max-width: 34ch; margin: 0; }
.featured p::before { content: "«"; } .featured p::after { content: "»"; }
.featured figcaption { grid-column: 2; margin-top: 24px; font-size: 15px; color: var(--ink-soft); }
.quotes { margin-top: 88px; columns: 3; column-gap: clamp(32px, 4vw, 64px); }
.q { break-inside: avoid; margin: 0 0 48px; }
.q blockquote { margin: 0; }
.q p { margin: 0; }
.q p::before { content: "«"; } .q p::after { content: "»"; }
.q figcaption { margin-top: 12px; font-size: var(--t-small); font-weight: 600; color: var(--ink-soft); }
.quotes__nav { display: none; }

/* ---------- contact ---------- */
.contact { background: var(--wine); color: var(--on-dark); padding: 48px 0 var(--gap-sec); overflow: hidden; }
.strip { overflow: hidden; }
.strip__run { display: flex; gap: 8px; width: max-content; animation: run 60s linear infinite; }
.strip img { height: 150px; width: auto; object-fit: cover; flex: none; }
.strip img:nth-child(3n+1) { aspect-ratio: 3 / 4; } .strip img:nth-child(3n+2) { aspect-ratio: 1; } .strip img:nth-child(3n) { aspect-ratio: 3 / 2; }
@keyframes run { to { transform: translateX(-50%); } }
.contact__in { padding: 88px var(--m) 0; }
.contact__title { max-width: 14ch; }
.contact__lead { max-width: 52ch; margin: 28px 0 48px; color: var(--on-dark-soft); }
.cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cell { display: grid; align-content: space-between; gap: 32px; min-height: 168px; padding: 28px; background: var(--wine-2); text-decoration: none; transition: background-color .3s, transform .45s var(--ease); }
.cell:hover { background: var(--wine-3); transform: translateY(-4px); }
.cell--main { background: var(--peach); color: var(--night); }
.cell--main:hover { background: #fff; }
.cell__k { font-size: 15px; font-weight: 500; opacity: .8; }
.cell__v { font: 500 clamp(22px, 1.9vw, 30px)/1.18 var(--serif); }
.map-route { display: flex; width: max-content; margin: 16px 0 0 auto; min-height: 58px; padding: 0 30px; }

/* ---------- footer ---------- */
.foot { position: relative; min-height: 100svh; color: var(--on-dark); display: flex; flex-direction: column; overflow: hidden; background: var(--night); }
.foot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: brightness(.48) saturate(.85); }
.foot__top { position: relative; display: flex; justify-content: space-between; gap: 32px; padding: 32px var(--m); }
.foot__top nav { display: flex; flex-wrap: wrap; gap: 10px 24px; max-width: 46ch; }
.foot__top a { text-decoration: none; }
.foot__top a:hover { text-decoration: underline; }
.foot__top p { margin: 0; text-align: right; }
.foot__brand { position: relative; margin-top: auto; padding: 0 var(--m); }
.foot__brand .mono { width: clamp(84px, 8vw, 132px); color: var(--on-dark); margin-bottom: 24px; }
.foot__legal { position: relative; padding: 24px var(--m) 28px; margin: 0; font-size: var(--t-small); color: var(--on-dark-soft); }

/* ---------- floating action (desktop) & dock (phone) ---------- */
.float-wa { position: fixed; z-index: 15; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 24px 0 20px; border-radius: 999px; background: var(--ink); color: var(--peach); font-weight: 500; text-decoration: none; transform: translateY(140%); transition: transform .5s var(--ease), background-color .3s; }
.float-wa.is-on { transform: none; }
.float-wa:hover { background: var(--wine); }
.dock { display: none; }

/* ---------- dialogs ---------- */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(28, 8, 12, .72); }
.dlg { width: min(720px, 100vw - 32px); max-height: min(88svh, 900px); background: var(--peach); overscroll-behavior: contain; }
.dlg[open] { animation: rise .5s var(--ease); }
.dlg[open]::backdrop { animation: fade .4s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } }
@keyframes fade { from { opacity: 0; } }
.dlg__in { padding: 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px); }
.dlg h2 { padding-top: clamp(28px, 4vw, 56px); }
.dlg h2 { font: 500 var(--t-h2)/1.02 var(--serif); letter-spacing: -.015em; padding-right: 56px; margin-bottom: 18px; }
.dlg h3 { font: 600 18px/1.3 var(--sans); margin: 30px 0 10px; }
.dlg__lead { font: 400 var(--t-lead)/1.35 var(--serif); }
.dlg__bar { position: sticky; top: 0; z-index: 3; height: 0; display: flex; justify-content: flex-end; }
.dlg__x { position: relative; top: 14px; right: -10px; flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--peach-2); display: grid; place-items: center; transition: background-color .2s, transform .3s var(--ease); }
.dlg__x:hover { background: var(--peach-3); transform: rotate(90deg); }
.dlg__x svg, .viewer__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.dlg__aside { margin-top: 24px; }
.dlg__aside a { color: var(--berry); font-weight: 600; }
.dlg__foot { margin-top: 36px; padding: 22px 24px; background: var(--peach-2); display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.dlg__foot p { margin: 0; line-height: 1.5; }
.dots { margin: 0; padding-left: 22px; }
.dots li { margin-bottom: 12px; }
.dots li::marker { color: var(--coral); }
.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--peach-2); border-radius: 999px; margin: 4px 0 8px; }
.seg button { border: 0; min-height: 46px; padding: 0 22px; border-radius: 999px; background: transparent; font-weight: 500; transition: background-color .3s, color .3s; }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--peach); }
.age:not([hidden]) { animation: rise .45s var(--ease); }

/* viewer */
.viewer { width: 100vw; height: 100svh; max-width: none; max-height: none; background: var(--night-3); color: var(--on-dark); }
.viewer[open] { display: grid; grid-template-columns: 72px 1fr 72px; grid-template-rows: 1fr auto; align-items: center; animation: fade .3s ease; }
.viewer__fig { grid-column: 2; grid-row: 1; margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 16px; padding: 56px 0 8px; min-height: 0; }
.viewer__img { max-height: 100%; max-width: 100%; margin: 0 auto; object-fit: contain; min-height: 0; transition: opacity .25s; }
.viewer__img.is-loading { opacity: 0; }
.viewer__cap { text-align: center; max-width: 60ch; margin: 0 auto; font-size: 15px; color: var(--on-dark-soft); }
.viewer__x { position: absolute; top: 16px; right: 16px; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(254, 238, 231, .12); color: var(--on-dark); display: grid; place-items: center; z-index: 2; }
.viewer__nav { grid-row: 1; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(254, 238, 231, .12); color: var(--on-dark); display: grid; place-items: center; justify-self: center; transition: background-color .2s; }
.viewer__nav:hover, .viewer__x:hover { background: rgba(254, 238, 231, .24); }
.viewer__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.viewer__nav--prev { grid-column: 1; } .viewer__nav--next { grid-column: 3; }
.viewer__count { grid-column: 1 / -1; grid-row: 2; text-align: center; margin: 0 0 20px; font-size: var(--t-small); color: var(--on-dark-soft); }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__lead, .js .hero__sub, .js .hero__btn { opacity: 0; transform: translateY(18px); animation: up .8s var(--ease) forwards; }
.js .hero__lead { animation-delay: .15s; } .js .hero__sub { animation-delay: .27s; } .js .hero__btn { animation-delay: .38s; }
.js .name__in { opacity: 0; animation: word .9s var(--ease) forwards; }
@keyframes up { to { opacity: 1; transform: none; } }
@keyframes word { from { opacity: 0; transform: translateY(16%); } to { opacity: 1; transform: none; } }

/* ---------- tablet ---------- */
@media (max-width: 1340px) {
  .bar__nav { display: none; }
  .bar__menu { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px; border: 0; background: none; font-weight: 500; font-size: 16px; }
}
@media (max-width: 1180px) {
  .club__body { grid-template-columns: 1fr 1fr; }
  .quotes { columns: 2; }
}
.bar__burger { position: relative; width: 22px; height: 2px; background: currentColor; transition: background-color .2s; }
.bar__burger::before, .bar__burger::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.bar__burger::before { top: -7px; } .bar__burger::after { top: 7px; }
.is-menu .bar__burger { background: transparent; }
.is-menu .bar__burger::before { transform: translateY(7px) rotate(45deg); }
.is-menu .bar__burger::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- phone: its own composition ---------- */
@media (max-width: 820px) {
  :root { --m: 20px; --pad: 20px; --gap-sec: 72px; --bar-h: 64px; --t-body: 17px; }

  .bar { position: sticky; top: 0; left: 0; right: 0; height: var(--bar-h); padding: 0 12px 0 20px; gap: 12px; background: var(--peach); color: var(--ink); z-index: 40; transition: background-color .3s, color .3s; }
  .is-menu .bar { background: var(--night); color: var(--on-dark); }
  .bar .mono { width: 38px; }
  .logo__word { height: 15px; }
  .bar__cta { display: none; }
  .bar__menu { min-height: 48px; padding: 0 10px; }

  .split { display: block; background: var(--peach); }
  .stage { display: none; }
  .col > section { padding: var(--gap-sec) var(--m) 0; }
  .col .h2 { margin-bottom: 24px; }

  .hero { min-height: 0; height: calc(100svh - var(--bar-h)); min-height: 560px; max-height: 920px; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 !important; overflow: hidden; }
  .hero__photo { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
  .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 8, 12, .94) 0%, rgba(26, 8, 12, .84) 32%, rgba(26, 8, 12, 0) 64%); pointer-events: none; }
  .name { order: 1; position: relative; z-index: 2; left: auto; right: auto; bottom: auto; padding: 0 20px; font-size: clamp(48px, 14.6vw, 72px); line-height: .98; white-space: normal; }
  .hero__text { order: 2; position: relative; z-index: 2; padding: 16px 20px calc(24px + env(safe-area-inset-bottom) * 0); margin: 0; max-width: none; }
  .hero__lead { font-size: 20px; line-height: 1.32; margin-bottom: 22px; max-width: 26ch; }
  .hero__sub { display: block; font-size: 15px; margin: -8px 0 18px; color: var(--on-dark-soft); max-width: 34ch; }
  .hero__btn { width: 100%; }

  .letter .mono { width: 88px; margin-bottom: 24px; }
  .letter__sign { margin-top: 28px; }
  .figures__sub { margin-top: 64px; }

  .svc { padding: 26px 22px; }
  .svc__title { font-size: 32px; }

  .reqlist { columns: 1; margin-bottom: 8px; }
  .reqlist:not(.is-open) li:nth-child(n+7) { display: none; }
  .more { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; margin: 4px 0 28px; border: 0; border-radius: 999px; background: var(--peach-2); font-weight: 500; }
  .more::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
  .more[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }

  .adv__grid, .methods, .club__head, .edu, .reviews__top, .featured { grid-template-columns: 1fr; }
  .adv { padding-top: var(--gap-sec); }
  .adv__title { position: static; max-width: none; font-size: 40px; }
  .advrow:nth-child(even) { margin-left: 0; }
  .adv__rows { gap: 40px; padding-top: 36px; }
  .advrow h3::before { margin-bottom: 14px; }

  .methlist { gap: 28px; }

  .price__top { padding-bottom: 28px; }
  .price__head { font-size: 48px; }
  .price__fields { grid-template-columns: 1fr; min-height: 0; }
  .plan { padding: 32px 20px; }
  .plan__name { font-size: 34px; }
  .plan__text { font-size: 16px; }
  .plan__foot { padding-top: 32px; grid-template-columns: 1fr; gap: 20px; }
  .plan__price { font-size: 64px; }
  .plan__foot .btn { width: 100%; }

  .club__facts { gap: 18px 28px; margin-top: 28px; }
  .drag { margin: 44px 0 12px; }
  .drag__track { height: 46svh; min-height: 300px; gap: 8px; }
  .m--tall { aspect-ratio: auto; width: 74vw; }
  .m--pair { aspect-ratio: auto; width: 64vw; gap: 8px; }
  .m--wide { aspect-ratio: auto; width: 88vw; height: 66%; align-self: center; }
  .drag__hint { margin-bottom: 40px; }
  .club__body { grid-template-columns: 1fr; gap: 8px; }
  .acc { background: var(--peach-2); }
  .acc summary { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; min-height: 64px; }
  .acc__title { margin: 0; font-size: 22px; }
  .acc summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease); }
  .acc[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  .acc p { padding: 0 20px; font-size: 16px; }
  .acc p:last-child { padding-bottom: 6px; }
  .club__foot { margin-top: 32px; padding: 24px 20px; }
  .club__foot .btn { width: 100%; }

  .edu { gap: 28px; }
  .edu__side { position: static; }
  .edu__side p { margin: 20px 0 0; }
  .edu__side .btn { display: none; }
  .doclist:not(.is-open) li:nth-child(n+6) { display: none; }
  .doclist button { grid-template-columns: 1fr; gap: 8px; padding: 16px 20px; }
  .doclist__when { order: -1; font-size: 22px; }

  .featured { margin-top: 44px; }
  .featured blockquote, .featured figcaption { grid-column: 1; }
  .featured p { font-size: 22px; max-width: none; }
  .quotes { columns: auto; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 48px calc(var(--m) * -1) 0; padding: 0 var(--m); scrollbar-width: none; overscroll-behavior-x: contain; }
  .quotes::-webkit-scrollbar { display: none; }
  .q { flex: 0 0 84%; margin: 0; padding: 24px 22px; background: var(--peach-2); scroll-snap-align: center; display: flex; flex-direction: column; justify-content: space-between; }
  .quotes__nav { display: flex; align-items: center; gap: 16px; margin-top: 20px; font-size: var(--t-small); color: var(--ink-soft); }
  .quotes__bar { flex: 1; height: 3px; background: var(--peach-3); border-radius: 3px; overflow: hidden; }
  .quotes__bar span { display: block; height: 100%; width: calc(100% / 6); background: var(--berry); border-radius: 3px; transition: transform .3s var(--ease); }

  .strip img { height: 104px; }
  .contact__in { padding-top: 56px; }
  .contact__title { font-size: 40px; }
  .contact__lead { margin: 20px 0 32px; }
  .cells { grid-template-columns: 1fr; }
  .cell { min-height: 0; padding: 22px; gap: 10px; }

  .foot { min-height: 0; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .foot__img { object-position: 30% 70%; }
  .foot__top { flex-direction: column; gap: 20px; padding-top: 40px; }
  .foot__top p { text-align: left; }
  .foot__brand { margin-top: 120px; }
  .foot__brand .mono { width: 80px; }

  .float-wa { display: none; }
  .dock {
    display: grid; grid-template-columns: 1fr auto; gap: 8px; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--peach);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock .btn { min-height: 54px; }
  .dock__call { background: var(--peach-2); color: var(--ink); padding: 0 20px; }
  .dock__call .ico { width: 20px; height: 20px; }

  .dlg { width: 100vw; max-width: 100vw; max-height: 92svh; margin: auto 0 0; }
  .dlg[open] { animation: sheet .5s var(--ease); }
  .dlg h2 { font-size: 34px; }
  .dlg__foot .btn { width: 100%; }
  .viewer[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto auto; }
  .viewer__fig { grid-column: 1 / -1; padding: 72px 12px 8px; }
  .viewer__nav { grid-row: 2; margin: 8px 0 4px; }
  .viewer__nav--prev { grid-column: 1; } .viewer__nav--next { grid-column: 2; }
  .viewer__count { grid-row: 3; }
}
@keyframes sheet { from { transform: translateY(100%); } }
@media (max-width: 820px) { .edu .more { background: var(--peach); } }

/* narrow phones (iPhone SE and similar) */
@media (max-width: 370px) {
  .bar { padding: 0 6px 0 16px; gap: 6px; }
  .bar .mono { width: 34px; }
  .logo { gap: 8px; }
  .logo__word { height: 12px; }
  .bar__menu { padding: 0 8px; }
  .bar__menu-word { display: none; }
  .dock__label { display: none; }
  .dock__call { width: 54px; padding: 0; }
  .name { font-size: 15vw; }
  .hero__lead { font-size: 18px; }
  .h2 { font-size: 32px; }
  .plan__price { font-size: 54px; }
  .seg button { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .hero__lead, .js .hero__sub, .js .hero__btn, .js .name__in, .menu__nav a { opacity: 1; transform: none; }
  .js .mono--draw { clip-path: none; opacity: 1; }
  .strip__run { animation: none; }
}

/* phone: tighter rhythm so the page reads in fewer screens */
@media (max-width: 820px) {
  .adv__rows { gap: 28px; padding-top: 28px; }
  .advrow h3 { font-size: 22px; }
  .advrow h3::before { width: 8px; height: 8px; margin-bottom: 10px; }
  .figures__sub { margin: 48px 0 20px; }
  .club__facts { margin-top: 20px; }
  .drag { margin: 32px 0 8px; }
  .drag__hint { margin-bottom: 28px; }
  .diploma { padding: 24px 22px; margin-bottom: 12px; }
  .doclist button { padding: 12px 20px; }
  .reviews .featured { margin-top: 32px; }
  .quotes { margin-top: 32px; }
  .contact { padding-top: 32px; }
  .strip img { height: 80px; }
  .contact__in { padding-top: 40px; }
  .methlist { gap: 22px; }
}

@media (max-width: 1100px) and (min-width: 821px) {
  .plan__foot { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .map-route { width: 100%; margin: 8px 0 0; }
}

/* ---------- practice in numbers: 2×2 figures + timeline ---------- */
.stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: var(--peach-2); padding: clamp(22px, 2.2vw, 32px); display: grid; align-content: start; gap: 14px; }
.stat dt { font: 500 clamp(44px, 4.2vw, 68px)/.9 var(--serif); color: var(--berry); font-variant-numeric: lining-nums; white-space: nowrap; letter-spacing: -.02em; }
.stat dd { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.45; }
.stat dd b { display: block; color: var(--ink); font-size: clamp(17px, 1.2vw, 19px); font-weight: 600; margin-bottom: 4px; }
.figures__sub { margin: 72px 0 28px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 32px 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 26px; bottom: 6px; width: 2px; background: var(--peach-3); }
.timeline__year { display: block; font: 500 clamp(24px, 2vw, 30px)/1 var(--serif); color: var(--berry); margin-bottom: 8px; font-variant-numeric: lining-nums; }
.timeline p { margin: 0; max-width: 46ch; }
@media (max-width: 820px) {
  .stats { gap: 8px; }
  .stat { padding: 18px 16px; gap: 10px; }
  .stat dt { font-size: 38px; }
  .stat dd { font-size: 14px; }
  .stat dd b { font-size: 16px; }
  .figures__sub { margin: 48px 0 22px; }
  .timeline li { padding: 0 0 24px 30px; }
}
@media (max-width: 370px) {
  .stat dt { font-size: 32px; }
  .stat { padding: 16px 14px; }
}

/* logo in her brand red wherever it sits on a light ground */
@media (max-width: 820px) {
  .bar .logo { color: var(--logo); }
  .is-menu .bar .logo { color: inherit; }
}

/* ---------- methods: accent heading + four tiles ---------- */
.h-accent { font: italic 500 clamp(56px, 6.4vw, 108px)/.95 var(--serif); letter-spacing: -.02em; color: var(--berry); }
.methods { display: block; padding: var(--gap-sec) var(--m) calc(var(--gap-sec) * .45); }
.methods__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; margin-bottom: 44px; }
.methods__note { margin: 0; color: var(--ink-soft); font-size: clamp(16px, 1.2vw, 19px); }
.methlist { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.methlist li { background: var(--peach-2); padding: clamp(24px, 2.4vw, 36px); gap: 14px; align-content: start; transition: background-color .3s, transform .45s var(--ease); }
.methlist li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); margin-bottom: 6px; }
.methlist li:hover { background: var(--peach-3); transform: translateY(-4px); }
.methlist__name { font-size: clamp(26px, 2.1vw, 34px); line-height: 1.1; color: var(--ink); }
.methlist li:hover .methlist__name { transform: none; color: var(--ink); }
.methlist__text { font-size: 16px; line-height: 1.5; }
@media (max-width: 1180px) { .methlist { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) {
  .methods { padding: var(--gap-sec) var(--m) 56px; }
  .methods__top { margin-bottom: 24px; }
  .h-accent { font-size: 48px; }
  .methlist { grid-template-columns: 1fr; gap: 8px; }
  .methlist li { padding: 20px; gap: 8px; }
  .methlist li::before { width: 10px; height: 10px; margin-bottom: 2px; }
  .methods .methlist__name { font-size: 26px; }
}

/* ---------- footer: her full logo lockup ---------- */
.foot__brand { position: relative; margin: auto 0 0; padding: 0 var(--m) 8px; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--on-dark); }
.foot__brand .mono { width: clamp(120px, 11vw, 180px); margin: 0 0 clamp(20px, 2vw, 32px); color: var(--on-dark); }
.foot__word, .foot__tag { display: block; background: currentColor; }
.foot__word { width: min(860px, 82vw); aspect-ratio: 1400 / 155; -webkit-mask: url(img/brand/territoria.png) center / contain no-repeat; mask: url(img/brand/territoria.png) center / contain no-repeat; }
.foot__tag { width: min(820px, 80vw); aspect-ratio: 1400 / 73; margin-top: clamp(16px, 1.6vw, 26px); -webkit-mask: url(img/brand/tagline.png) center / contain no-repeat; mask: url(img/brand/tagline.png) center / contain no-repeat; }
.foot__legal { text-align: center; padding-top: 40px; }
@media (max-width: 820px) {
  .foot__brand { margin-top: 96px; }
  .foot__brand .mono { width: 96px; margin-bottom: 18px; }
  .foot__word { width: 88vw; }
  .foot__tag { width: 86vw; margin-top: 12px; }
  .foot__legal { padding-top: 32px; }
}
.foot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 8, 12, .9) 0%, rgba(26, 8, 12, .62) 45%, rgba(26, 8, 12, .25) 100%); pointer-events: none; }
.foot__top, .foot__brand, .foot__legal { z-index: 1; }

/* ---------- crisis line: a real, tappable button ---------- */
.note__call { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--berry); color: var(--peach) !important; font-weight: 600; text-decoration: none; transition: background-color .3s; }
.note__call:hover { background: var(--wine); }
.note__call .ico { width: 18px; height: 18px; }
.note { display: flex; flex-direction: column; align-items: flex-start; }

/* reduced motion: keep the stage photo change as a soft crossfade only */
@media (prefers-reduced-motion: reduce) {
  .stage__img { transition: opacity .6s ease !important; transform: none !important; }
}
/* laptops: keep logo, four links and the button inside the right column */
@media (min-width: 1341px) and (max-width: 1480px) {
  .bar { padding-left: 40px; gap: 18px; }
  .bar__nav { gap: 18px; }
}

/* phone: heights fixed once per load, so the address bar showing/hiding never resizes anything */
@media (max-width: 820px) {
  /* hero size depends only on the phone's width, never on browser bars, so it cannot jump */
  .hero { height: clamp(540px, 152vw, 720px); min-height: 0; max-height: none; }
  /* no load motion in the phone hero: text is simply there */
  .js .hero__lead, .js .hero__sub, .js .hero__btn, .js .name__in { opacity: 1; transform: none; animation: none; }
  .drag__track { height: calc(var(--vh, 1svh) * 46); }
  .dlg { max-height: calc(var(--vh, 1svh) * 92); }
  /* calmer entrances while scrolling: fade only, no sliding */
  .js .reveal { transform: none; transition: opacity .6s ease; }
  .stage__img { transition: none; }
}

/* ---------- «Территория Я»: the cabinet ---------- */
.cabinet { background: var(--peach-2); display: grid; grid-template-columns: 5fr 7fr; gap: 0 clamp(32px, 5vw, 96px); align-items: center; padding: clamp(72px, 8vw, 128px) var(--m); }
.cabinet__photo { margin: 0; position: relative; }
.cabinet__photo img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 50% 62%; }
.cabinet__photo figcaption { margin-top: 12px; font-size: var(--t-small); color: var(--ink-soft); }
.cabinet__text { max-width: 640px; }
.cabinet__title { font: italic 500 clamp(40px, 4.4vw, 72px)/1 var(--serif); letter-spacing: -.02em; color: var(--berry); margin-bottom: 18px; }
.cabinet__lead { font: 400 var(--t-lead)/1.35 var(--serif); margin-bottom: 24px; }
.cabinet__sub { font: 600 18px/1.3 var(--sans); margin: 32px 0 14px; }
.cabinet__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.cabinet__list li { position: relative; padding: 14px 18px 14px 44px; background: var(--peach); }
.cabinet__list li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.cabinet__vitya { font-weight: 600; }
.cabinet__sign { display: flex; align-items: center; gap: 14px; margin: 32px 0 0; font: italic 500 var(--t-h3)/1.2 var(--serif); color: var(--berry); }
.cabinet__sign .mono { width: 52px; color: var(--logo); }
@media (max-width: 820px) {
  .cabinet { grid-template-columns: 1fr; padding: var(--gap-sec) var(--m); gap: 28px; }
  .cabinet__photo img { aspect-ratio: 4 / 5; }
  .cabinet__title { font-size: 38px; }
  .cabinet__list li { padding: 12px 16px 12px 40px; font-size: 16px; }
  .cabinet__list li::before { left: 16px; top: 19px; }
  .cabinet__sign { font-size: 22px; }
  .cabinet__sign .mono { width: 44px; }
}

/* ---------- free help (replaces the single 112 note) ---------- */
.help { margin-top: 8px; padding: clamp(22px, 2.4vw, 32px); background: var(--peach-2); }
.help__title { font: 500 var(--t-h3)/1.2 var(--serif); margin-bottom: 10px; }
.help__lead { font-size: 16px; color: var(--ink-soft); margin-bottom: 18px; max-width: 52ch; }
.help__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.help__line { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px 12px; min-height: 56px; padding: 10px 16px; background: var(--peach); text-decoration: none; transition: background-color .3s, transform .3s var(--ease); }
.help__line:hover { background: #fff; transform: translateX(4px); }
.help__line .ico { width: 18px; height: 18px; color: var(--berry); }
.help__num { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.help__what { font-size: 14px; line-height: 1.35; color: var(--ink-soft); }
.help__line--sos { background: var(--berry); color: var(--peach); }
.help__line--sos .ico, .help__line--sos .help__what { color: var(--peach); }
.help__line--sos:hover { background: var(--wine); }
@media (max-width: 820px) {
  .help__line { grid-template-columns: auto 1fr; }
  .help__what { grid-column: 2; }
}
@media (min-width: 821px) {
  .cabinet { align-items: start; }
  .cabinet__photo { position: sticky; top: 40px; }
}

/* desktop first screen: her logo red instead of near-black */
@media (min-width: 821px) {
  .split, .hero { background: var(--logo); }
  .hero__sub { color: #F3DAD3; }
}

/* menu overlay and its bar in her logo red, not near-black */
.menu, .is-menu .bar { background: var(--logo); }

/* desktop: the portrait fills the whole left side and stays still */
@media (min-width: 821px) {
  .stage__frame { top: 0; height: 100vh; height: 100svh; margin: 0; }
  .stage__img[data-scene="portrait"] { transform: none; transition: opacity 1.1s var(--ease); }
  /* a bigger logo that sits in proportion to the headline */
  .bar { padding-top: 32px; }
  .bar .logo { gap: 14px; }
  .bar .mono { width: clamp(60px, 4.6vw, 76px); }
  .bar .logo__word { height: clamp(22px, 1.7vw, 28px); }
}

/* desktop menu: fills the right column edge to edge, text aligned with the logo */
@media (min-width: 821px) {
  .menu { left: var(--stage); padding: 140px var(--m) 40px var(--pad); }
  .menu__nav a { font-size: clamp(34px, 3.4vw, 52px); padding: 6px 0; }
  .menu__foot .btn { align-self: flex-start; width: auto; padding: 0 32px; }
  .menu__foot { display: flex; flex-direction: column; }
}
